:root {
  --font-display: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
  --font-ui: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #0b0d10;
  --surface: #111419;
  --surface-2: #171b21;
  --ink: #eef1f4;
  --muted: #a3acb6;
  --line: #30363f;
  --accent: #e0bb66;
  --accent-ink: #171208;
  --good: #7fb58e;
  --danger: #e07b72;
}

* { box-sizing: border-box; }
html { color-scheme: dark; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 16, .94);
  backdrop-filter: blur(12px);
}
.site-nav__inner,
.page,
.footer__inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.site-nav__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 2px;
  white-space: nowrap;
}
.brand__mark {
  width: 20px;
  height: 22px;
  clip-path: polygon(50% 0, 100% 100%, 68% 100%, 50% 58%, 32% 100%, 0 100%);
  background: var(--accent);
}
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.nav-links a[aria-current="page"], .nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta {
  margin-left: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 6px;
  padding: 0 16px;
}

.page { padding: 58px 0 80px; }
.page-head { max-width: 780px; margin-bottom: 42px; }
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
h1, h2, h3 { letter-spacing: 0; }
h1 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 700;
  line-height: 1.04;
  max-width: 800px;
}
h2 { margin: 40px 0 10px; font-family: var(--font-display); font-size: 27px; font-weight: 700; line-height: 1.2; }
h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
p { margin: 0 0 16px; }
.lede { color: var(--muted); font-size: 19px; max-width: 720px; }
.muted { color: var(--muted); }
.notice {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  color: var(--muted);
}
.notice strong { color: var(--ink); }
.section { padding: 28px 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.item {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  padding: 20px;
}
.item p:last-child { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 14px 0 0; }
.checklist li { position: relative; padding: 7px 0 7px 24px; color: var(--muted); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--good); }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
}
.button--primary { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.plan-price { margin: 10px 0 3px; font-family: var(--font-display); font-size: 34px; font-weight: 700; line-height: 1; color: var(--accent); }
.plan-price small { font: 600 13px/1.4 system-ui, sans-serif; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }
code { background: var(--surface-2); padding: 2px 5px; border-radius: 3px; }
.policy-meta { color: var(--muted); font-size: 14px; margin-top: 8px; }
.contact-line { font-size: 18px; font-weight: 700; }
.product-hero {
  min-height: min(720px, calc(100svh - 112px));
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background-color: #090b0e;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 8, 10, .97) 0%, rgba(7, 8, 10, .83) 38%, rgba(7, 8, 10, .34) 72%, rgba(7, 8, 10, .18) 100%), linear-gradient(0deg, rgba(7, 8, 10, .88) 0%, transparent 52%);
}
.product-hero--alpha { background-image: url('/brand/alpha-live.png'); }
.product-hero--alpha::before {
  background:
    linear-gradient(90deg, rgba(7, 8, 10, .97) 0%, rgba(7, 8, 10, .84) 38%, rgba(7, 8, 10, .34) 67%, rgba(7, 8, 10, .3) 100%),
    linear-gradient(270deg, rgba(7, 8, 10, 1) 0%, rgba(7, 8, 10, 1) 32%, rgba(7, 8, 10, .96) 42%, rgba(7, 8, 10, 0) 62%),
    linear-gradient(0deg, rgba(7, 8, 10, .9) 0%, transparent 52%);
}
.product-hero__inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 58px;
}
.product-hero__copy { max-width: 690px; }
.product-hero h1 {
  margin: 8px 0 12px;
  font-size: 76px;
  color: #fff;
  text-shadow: 0 3px 24px rgba(0, 0, 0, .8);
}
.hero-statement {
  margin: -2px 0 14px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.12;
}
.product-hero .lede { color: #d7dce1; max-width: 650px; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid rgba(224, 187, 102, .42);
  border-bottom: 1px solid rgba(224, 187, 102, .26);
}
.hero-proof__item {
  min-width: 0;
  padding: 15px 18px 15px 0;
}
.hero-proof__item + .hero-proof__item { border-left: 1px solid rgba(224, 187, 102, .24); padding-left: 18px; }
.hero-proof__value { display: block; color: var(--accent); font-family: var(--font-display); font-size: 23px; font-weight: 700; line-height: 1.1; }
.hero-proof__label { display: block; margin-top: 5px; color: #c1c8d0; font-size: 12px; line-height: 1.35; }
.section-head { max-width: 760px; margin-bottom: 22px; }
.section-head h2 { margin-top: 8px; }
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-metric { min-width: 0; padding: 22px 18px 22px 0; }
.proof-metric + .proof-metric { border-left: 1px solid var(--line); padding-left: 18px; }
.proof-metric__value { display: block; color: var(--accent); font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1; overflow-wrap: anywhere; }
.proof-metric__label { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.protocol { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: protocol; border-top: 1px solid var(--line); }
.protocol li { counter-increment: protocol; padding: 20px 20px 4px 0; color: var(--muted); }
.protocol li + li { border-left: 1px solid var(--line); padding-left: 20px; }
.protocol li::before { content: "0" counter(protocol); display: block; margin-bottom: 13px; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: 1.5px; }
.protocol strong { display: block; margin-bottom: 6px; color: var(--ink); }
.evidence-line { margin-top: 18px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.evidence-line code { color: var(--ink); }
.benchmark-band { padding: 26px 0 4px; border-top: 1px solid var(--accent); }
.benchmark-band h2 { margin-top: 0; }
.page-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-cta h2 { margin: 0 0 6px; }
.page-cta p { margin: 0; }
.footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer__inner { min-height: 96px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 0; }
.footer__inner nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .site-nav__inner { align-items: flex-start; padding: 12px 0; flex-wrap: wrap; gap: 8px; }
  .nav-links { width: 100%; margin-left: 0; overflow-x: auto; }
  .nav-links a { padding: 0 10px; white-space: nowrap; }
  .nav-links .nav-cta { margin-left: auto; }
  .page { padding-top: 38px; }
  h1 { font-size: 42px; }
  .grid, .grid--3 { grid-template-columns: 1fr; }
  .product-hero {
    min-height: min(720px, calc(100svh - 96px));
    background-position: 38% center;
  }
  .product-hero::before { background: linear-gradient(0deg, rgba(7, 8, 10, .98) 0%, rgba(7, 8, 10, .78) 58%, rgba(7, 8, 10, .4) 100%); }
  .product-hero--alpha::before {
    background:
      linear-gradient(0deg, rgba(7, 8, 10, .98) 0%, rgba(7, 8, 10, .82) 60%, rgba(7, 8, 10, .48) 100%),
      linear-gradient(270deg, rgba(7, 8, 10, 1) 0%, rgba(7, 8, 10, .96) 42%, transparent 76%);
  }
  .product-hero__inner { padding: 42px 0 38px; }
  .product-hero h1 { font-size: 54px; }
  .hero-statement { font-size: 25px; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof__item { padding: 11px 0; }
  .hero-proof__item + .hero-proof__item { border-left: 0; border-top: 1px solid rgba(224, 187, 102, .24); padding-left: 0; }
  .proof-strip, .protocol { grid-template-columns: 1fr 1fr; }
  .proof-metric:nth-child(3), .proof-metric:nth-child(4), .protocol li:nth-child(3), .protocol li:nth-child(4) { border-top: 1px solid var(--line); }
  .protocol li:nth-child(3) { border-left: 0; padding-left: 0; }
  .page-cta { grid-template-columns: 1fr; }
  .footer__inner nav { width: 100%; margin-left: 0; }
}

@media (max-width: 480px) {
  h1 { font-size: 36px; }
  .product-hero h1 { font-size: 48px; }
  .hero-statement { font-size: 22px; }
  .nav-links { overflow: visible; }
  .nav-links a { padding: 0 8px; }
  .nav-links a[href="/alpha"], .nav-links a[href="/pricing"], .nav-links a[href="/support"] { display: none; }
  .nav-links .nav-cta { margin-left: auto; padding: 0 11px; }
  .proof-strip, .protocol { grid-template-columns: 1fr; }
  .proof-metric + .proof-metric, .protocol li + li { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .hero-proof__value { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
