:root {
  color-scheme: dark;
  --bg: #071013;
  --panel: #0b151b;
  --panel-soft: #10202a;
  --line: #1d3541;
  --text: #e8f1f4;
  --muted: #93a9b1;
  --green: #48e5a4;
  --blue: #62a8ff;
  --amber: #f4bd4f;
  --rose: #ff6b79;
  --shadow: 0 26px 80px rgb(0 0 0 / 38%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgb(72 229 164 / 13%), transparent 28%),
    radial-gradient(circle at 82% 18%, rgb(98 168 255 / 14%), transparent 30%),
    linear-gradient(135deg, #05090c 0%, var(--bg) 52%, #091923 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid rgb(72 229 164 / 55%);
  outline-offset: 4px;
}

.page {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0 34px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
}

.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 0 28px rgb(72 229 164 / 14%);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--muted);
}

.nav a {
  padding: 8px 10px;
  border-radius: 8px;
}

.nav a:hover {
  color: var(--green);
  background: rgb(255 255 255 / 5%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 42px;
  align-items: center;
  padding: 70px 0 48px;
}

.kicker {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}

h1 {
  max-width: 760px;
  margin: 18px 0 20px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1;
  font-weight: 850;
}

h1 span {
  position: relative;
  display: inline-block;
  color: var(--green);
  text-shadow: 0 0 22px rgb(72 229 164 / 34%);
  isolation: isolate;
}

h1 span::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: .08em -.12em -.04em;
  border: 1px solid rgb(72 229 164 / 36%);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent, rgb(72 229 164 / 18%), transparent),
    repeating-linear-gradient(
      180deg,
      rgb(72 229 164 / 0%),
      rgb(72 229 164 / 0%) 5px,
      rgb(72 229 164 / 12%) 6px
    );
  animation: secure-scan 3.6s linear infinite;
}

h1 span::after {
  content: "";
  position: absolute;
  right: -.16em;
  bottom: .1em;
  width: .12em;
  height: .12em;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgb(72 229 164 / 85%);
}

@keyframes secure-scan {
  0% {
    background-position: -180px 0, 0 0;
  }

  100% {
    background-position: 180px 0, 0 0;
  }
}

.lead {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 760;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--green);
  background: var(--green);
  color: #03110c;
}

.button-secondary {
  background: rgb(255 255 255 / 4%);
  color: #d7e4e8;
}

.terminal {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(4 10 13 / 82%);
  box-shadow: var(--shadow), 0 0 40px rgb(98 168 255 / 8%);
  transform: perspective(900px) rotateY(-3deg);
}

.terminal-top {
  display: flex;
  height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #101b22;
  color: #78909a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #536773;
}

.dot:nth-child(1) {
  background: var(--rose);
}

.dot:nth-child(2) {
  background: var(--amber);
}

.dot:nth-child(3) {
  background: var(--green);
}

.terminal-title {
  margin-left: 8px;
}

pre {
  min-height: 282px;
  margin: 0;
  padding: 24px;
  color: #a8bac1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.green {
  color: var(--green);
}

.blue {
  color: var(--blue);
}

.muted {
  color: #647b84;
}

.sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 28px;
}

.item {
  min-height: 168px;
  padding: 20px;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 8px;
  background: linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 2%));
}

.icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: rgb(72 229 164 / 10%);
  color: var(--green);
  font-size: 18px;
  font-weight: 800;
}

.item h2 {
  margin: 16px 0 9px;
  font-size: 18px;
  line-height: 1.3;
}

.item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.ethics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 8%);
  color: #7f969e;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
}

.status {
  color: var(--green);
  white-space: nowrap;
}

@media (max-width: 820px) {
  .page {
    width: min(100% - 24px, 680px);
    padding-top: 18px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 46px 0 34px;
  }

  .terminal {
    transform: none;
  }

  .sections {
    grid-template-columns: 1fr;
  }

  .ethics {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }
}
