:root {
  color-scheme: dark;
  --color-deep-space: #000000;
  --color-ghost-white: #ffffff;
  --color-iron-slate: #a1a1a1;
  --color-halo-pale: #f4f0ff;
  --color-shadow-tint: #020202;
  --color-subtle-gray: #e5e5e5;
  --color-iridescent-glow: #bbdef2;
  --color-spectrum-flare: #d1aad7;
  --color-vivid-crimson: #ff6467;
  --color-goldenrod: #ffd600;
  --color-emerald-green: #72ce7b;
  --gradient-dark-rainbow-gradient: linear-gradient(to right bottom in oklab, rgb(154, 154, 154) 0%, rgb(26, 26, 26) 50%, rgb(106, 106, 106) 100%);
  --font-inter: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-aeonik: aeonik, Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-geist: geist, "SFMono-Regular", "Source Code Pro", Menlo, Consolas, monospace;
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --shadow-subtle: rgba(255, 255, 255, 0.1) 0 1px 1px 0 inset;
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--color-deep-space);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 74% 9%, rgba(187, 222, 242, 0.18), transparent 28rem),
    radial-gradient(circle at 12% 45%, rgba(209, 170, 215, 0.11), transparent 30rem),
    var(--color-deep-space);
  color: var(--color-ghost-white);
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 82%);
}

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

img,
video {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-aeonik);
  font-weight: 300;
  letter-spacing: -0.01em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 40px;
  background: rgba(0, 0, 0, 0.78);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--color-ghost-white);
  font-size: 18px;
  font-weight: 500;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--color-halo-pale);
  font-size: 15px;
  font-weight: 400;
}

.hero {
  position: relative;
  min-height: 680px;
  height: calc(84svh - 72px);
  max-height: 800px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line-soft);
  background: var(--color-deep-space);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 18%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 96px);
  opacity: 0.48;
}

.hero-video {
  position: absolute;
  top: 160px;
  right: max(32px, calc((100vw - var(--max)) / 2 - 76px));
  left: auto;
  bottom: auto;
  z-index: -1;
  width: min(560px, 43vw);
  height: min(350px, 38vw);
  object-fit: cover;
  object-position: center;
  opacity: 1;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--color-shadow-tint);
  box-shadow: var(--shadow-subtle);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.92) 48%, rgba(0, 0, 0, 0.5) 72%, rgba(0, 0, 0, 0.9) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.98) 100%);
}

.hero-content {
  width: min(760px, calc(100% - 48px));
  padding: 88px 0 64px;
  margin-left: max(32px, calc((100vw - var(--max)) / 2));
}

.eyebrow,
.section-kicker {
  margin-bottom: 32px;
  color: var(--color-iridescent-glow);
  font-family: var(--font-geist);
  font-size: 12px;
  line-height: 2;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.083em;
}

.hero h1 {
  margin-bottom: 24px;
  color: var(--color-ghost-white);
  font-size: clamp(72px, 9vw, 128px);
  line-height: 0.9;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 32px;
  color: var(--color-halo-pale);
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  color: var(--color-ghost-white);
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}

.button.primary {
  background: transparent;
  border-color: var(--color-ghost-white);
  box-shadow: var(--shadow-subtle);
}

.button.secondary {
  position: relative;
  color: var(--color-ghost-white);
  background: transparent;
}

.button.secondary::after {
  content: "->";
  margin-left: 10px;
  color: var(--color-iridescent-glow);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(680px, 100%);
  margin: 0 0 16px;
}

.hero-stats div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(2, 2, 2, 0.74);
  box-shadow: var(--shadow-subtle);
}

.hero-stats dt {
  margin-bottom: 8px;
  color: var(--color-iron-slate);
  font-family: var(--font-geist);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.083em;
}

.hero-stats dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--color-ghost-white);
  font-size: 16px;
  font-weight: 500;
}

.signal-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--color-subtle-gray);
  font-family: var(--font-geist);
  font-size: 12px;
  letter-spacing: 0.071em;
  text-transform: uppercase;
}

.signal-rail span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
}

.signal {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
}

.signal.green { background: var(--color-emerald-green); }
.signal.white { background: var(--color-ghost-white); }
.signal.crimson { background: var(--color-vivid-crimson); }

.section,
.install-band,
.privacy-band {
  position: relative;
  padding: 104px 0;
  background: var(--color-deep-space);
}

.section::before,
.install-band::before,
.privacy-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 30%);
}

.section-inner {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.install-band {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.install-grid,
.privacy-grid,
.tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 64px;
  align-items: center;
}

.install-band h2,
.privacy-band h2 {
  margin-bottom: 18px;
  color: var(--color-ghost-white);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.04;
}

.install-band p,
.privacy-band p,
.tools-copy {
  margin-bottom: 0;
  color: var(--color-iron-slate);
  font-size: 18px;
  line-height: 1.65;
}

.terminal {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(187, 222, 242, 0.08), transparent 32%),
    #020202;
  box-shadow: var(--shadow-subtle);
}

.terminal-top {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line-soft);
}

.terminal-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.terminal-top span:nth-child(1) { background: var(--color-vivid-crimson); }
.terminal-top span:nth-child(2) { background: var(--color-goldenrod); }
.terminal-top span:nth-child(3) { background: var(--color-emerald-green); }

pre {
  margin: 0;
  padding: 32px;
  overflow: auto;
}

code {
  color: var(--color-halo-pale);
  font-family: var(--font-geist);
  font-size: 16px;
  line-height: 1.5;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.section-heading h2,
.tools-grid h2 {
  margin-bottom: 18px;
  color: var(--color-ghost-white);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.05;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--color-iron-slate);
  font-size: 18px;
  line-height: 1.65;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  grid-auto-rows: minmax(280px, auto);
  gap: 16px;
}

.showcase-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--color-shadow-tint);
  box-shadow: var(--shadow-subtle);
}

.showcase-card.large {
  grid-row: span 2;
}

.showcase-card img {
  width: 100%;
  aspect-ratio: 640 / 527;
  object-fit: cover;
  border-bottom: 1px solid var(--line-soft);
  background: #050505;
  filter: saturate(0.86) contrast(1.1);
}

.showcase-card div {
  padding: 24px;
}

.showcase-card h3,
.feature-card h3 {
  margin-bottom: 10px;
  color: var(--color-ghost-white);
  font-size: 24px;
  line-height: 1.23;
}

.showcase-card p,
.feature-card p {
  margin-bottom: 0;
  color: var(--color-iron-slate);
}

.tools-section {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(90deg, rgba(187, 222, 242, 0.07), transparent 42%),
    var(--color-deep-space);
}

.tools-copy {
  max-width: 470px;
}

.tool-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tool-list li {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--color-subtle-gray);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-subtle);
}

.tool-list li:nth-child(4n + 1) { border-color: rgba(187, 222, 242, 0.26); }
.tool-list li:nth-child(4n + 2) { border-color: rgba(209, 170, 215, 0.22); }
.tool-list li:nth-child(4n + 3) { border-color: rgba(255, 255, 255, 0.18); }
.tool-list li:nth-child(4n) { border-color: rgba(114, 206, 123, 0.18); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    var(--color-shadow-tint);
  box-shadow: var(--shadow-subtle);
}

.feature-card::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: 24px;
  border-radius: 4px;
  background: var(--gradient-dark-rainbow-gradient);
}

.feature-card:nth-child(1)::before { background: linear-gradient(90deg, var(--color-iridescent-glow), transparent); }
.feature-card:nth-child(2)::before { background: linear-gradient(90deg, var(--color-spectrum-flare), transparent); }
.feature-card:nth-child(3)::before { background: linear-gradient(90deg, var(--color-emerald-green), transparent); }
.feature-card:nth-child(4)::before { background: linear-gradient(90deg, var(--color-goldenrod), transparent); }

.privacy-band {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 82% 38%, rgba(209, 170, 215, 0.13), transparent 28rem),
    var(--color-deep-space);
}

.privacy-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.faq-section {
  padding-bottom: 88px;
}

.faq-list {
  display: grid;
  gap: 8px;
}

details {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--color-shadow-tint);
  box-shadow: var(--shadow-subtle);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--color-ghost-white);
  font-weight: 500;
}

details p {
  margin: 0;
  padding: 0 20px 22px;
  color: var(--color-iron-slate);
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--color-iron-slate);
  background: var(--color-deep-space);
  font-size: 14px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 980px) {
  .hero {
    min-height: 700px;
    height: auto;
  }

  .hero-content {
    padding-top: 88px;
  }

  .install-grid,
  .privacy-grid,
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .showcase-grid,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .showcase-card.large {
    grid-row: span 1;
    grid-column: span 2;
  }

  .tool-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    height: auto;
    min-height: 64px;
    padding: 14px 16px;
    align-items: flex-start;
    gap: 16px;
  }

  .brand {
    font-size: 15px;
  }

  .brand img {
    width: 26px;
    height: 26px;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 12px;
  }

  .hero {
    min-height: 0;
  }

  .hero-video {
    display: none;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.84) 58%, rgba(0, 0, 0, 0.98) 100%);
  }

  .hero-content {
    width: min(calc(100% - 32px), 620px);
    margin: 0 auto;
    padding: 46px 0 40px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .eyebrow,
  .section-kicker {
    margin-bottom: 24px;
  }

  .hero-copy,
  .section-heading p,
  .install-band p,
  .privacy-band p,
  .tools-copy {
    font-size: 16px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-stats div {
    padding: 10px;
  }

  .hero-stats dt {
    margin-bottom: 5px;
    font-size: 10px;
  }

  .hero-stats dd {
    font-size: 12px;
    line-height: 1.35;
  }

  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .signal-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    font-size: 10px;
  }

  .signal-rail span {
    padding: 6px 8px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
  }

  .section,
  .install-band,
  .privacy-band {
    padding: 72px 0;
  }

  .section-inner {
    width: min(calc(100% - 32px), 640px);
  }

  .install-band h2,
  .privacy-band h2,
  .section-heading h2,
  .tools-grid h2 {
    font-size: 42px;
  }

  .showcase-grid,
  .feature-grid,
  .tool-list {
    grid-template-columns: 1fr;
  }

  .showcase-card.large {
    grid-column: span 1;
  }

  .feature-card {
    min-height: 0;
  }

  pre {
    padding: 20px;
  }

  code {
    font-size: 13px;
  }

  .footer-grid {
    flex-direction: column;
  }
}
