/* ==========================================================================
   AiTS Express — design system
   Palette, type and component styles derived from the approved brand designs.
   Dark, AI-native, navy + premium gold + signal teal.
   ========================================================================== */

:root {
  /* surfaces */
  --bg: #0A0A0F;
  --surface: #121218;
  --surface-2: #0C0C12;
  --surface-3: #161922;
  --surface-raise: #15151D;
  --panel: #13131C;

  /* borders */
  --border: #1F1F28;
  --border-2: #26262F;
  --border-3: #1A1A23;
  --border-strong: #313749;
  --border-accent: #2A3144;

  /* brand */
  --navy: #1B375E;
  --navy-ink: #0E2038;
  --gold: #C2A363;
  --gold-hi: #D8BC7E;
  --gold-text: #DCBE86;
  --gold-soft: #E8D6A6;
  --teal: #2DD4BF;
  --teal-hi: #5EEAD4;
  --green: #34D399;
  --danger: #F87171;
  --warn: #FBBF24;

  /* text */
  --text: #F5F6FA;
  --text-2: #D8D9E0;
  --text-3: #A0A3B1;
  --muted: #7C7F8D;
  --muted-2: #787B89; /* WCAG AA: 4.70:1 on --bg (was #6B6E7C, 3.90:1) */
  --faint: #4A4A58;

  /* radii */
  --r-sm: 9px;
  --r: 12px;
  --r-md: 14px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-3xl: 28px;

  --maxw: 1200px;
  --gold-grad: linear-gradient(180deg, #D8BC7E, #C2A363);

  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-ink);
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* Visually hidden but available to assistive tech */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.narrow { max-width: 820px; }
.mid { max-width: 1000px; }

/* Section rhythm */
.section { padding-top: 104px; }
.section--sm { padding-top: 72px; }
.section--lg { padding-top: 0; padding-bottom: 0; }
.section-last { padding-bottom: 110px; }

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}
.kicker--teal { color: var(--teal); }
.mono { font-family: var(--font-mono); }

.h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.h2 { font-size: clamp(30px, 4.4vw, 38px); line-height: 1.1; font-weight: 600; }
.h3 { font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.lede { font-size: 18px; line-height: 1.6; color: var(--text-3); }
.muted { color: var(--text-3); }
.faint { color: var(--muted-2); }

.text-gradient {
  background: linear-gradient(100deg, #FFFFFF, #E8D2A0 58%, #8FE9DC);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-gradient--gold {
  background: linear-gradient(100deg, #DCBE86, #2DD4BF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--r);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, background 160ms, border-color 160ms, box-shadow 160ms;
  white-space: nowrap;
}
.btn:focus-visible { outline-offset: 3px; }

.btn-gold {
  color: var(--navy-ink);
  background: var(--gold-grad);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 10px 30px rgba(194,163,99,0.42);
}
.btn-gold:hover { transform: translateY(-1px); }

.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-color: var(--border-2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

.btn-ghost--strong { border-color: var(--border-strong); }

.btn-sm { font-size: 14px; padding: 10px 18px; }
.btn-lg { font-size: 16px; padding: 15px 28px; border-radius: var(--r-md); }
.btn-block { display: flex; width: 100%; justify-content: center; }

.btn .arrow { transition: transform 160ms; }
.btn:hover .arrow { transform: translateX(3px); }

/* magnetic wrapper target uses JS to set transform */
.magnetic { will-change: transform; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--gold-text);
  text-decoration: none; width: fit-content;
  transition: gap 160ms;
}
.link-arrow:hover { gap: 12px; }

/* --------------------------------------------------------------------------
   Badges / pills
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border: 1px solid var(--border-2);
  border-radius: 999px; background: rgba(255,255,255,0.02);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--text-3); text-transform: uppercase;
}
.badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 8px var(--teal);
}
.beta {
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.08em; color: var(--teal);
  border: 1px solid rgba(45,212,191,0.4); padding: 2px 7px; border-radius: 6px;
}
.tag {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-3);
  background: var(--surface-2); border: 1px solid var(--border-2);
  padding: 5px 10px; border-radius: 7px;
}
.tag--gold { color: var(--gold-soft); background: rgba(194,163,99,0.10); border-color: rgba(194,163,99,0.25); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
}
.card--deep { background: var(--surface-2); }
.card-hover { transition: border-color 240ms, transform 240ms; }
.card-hover:hover { border-color: var(--border-strong); transform: translateY(-3px); }

/* ambient glow blob */
.glow {
  position: absolute; pointer-events: none; border-radius: 50%;
  filter: blur(2px);
}
.dotgrid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* --------------------------------------------------------------------------
   Site navigation
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 60;
  transform: translateZ(0);
}
.nav__bar {
  background: rgba(10,10,15,0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(38,38,47,0);
  transition: background-color 240ms cubic-bezier(.4,0,.2,1), border-color 240ms, padding 240ms;
}
.nav.is-scrolled .nav__bar {
  background: rgba(10,10,15,0.72);
  border-bottom-color: var(--border-2);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 17px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: padding 240ms cubic-bezier(.4,0,.2,1);
}
.nav.is-scrolled .nav__inner { padding-top: 11px; padding-bottom: 11px; }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-link {
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--text-3); padding: 9px 13px; border-radius: var(--r-sm);
  text-decoration: none; background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
  transition: color 160ms, background 160ms;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--text); }
.nav-link .caret { font-size: 9px; opacity: 0.7; transition: transform 200ms; }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }

.nav__signin {
  font-size: 14px; font-weight: 500; color: var(--text);
  padding: 9px 14px; border-radius: var(--r); text-decoration: none;
  transition: background 160ms;
}
.nav__signin:hover { background: var(--border-3); }

.has-menu { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; width: 300px;
  background: var(--border-3); border: 1px solid var(--border-2);
  border-radius: var(--r-lg); padding: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 160ms, transform 160ms, visibility 160ms;
}
.dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-menu:hover .dropdown, .has-menu.is-open .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 11px 12px; border-radius: 10px;
  text-decoration: none; transition: background 140ms;
}
.dropdown a:hover { background: #23232E; }
.dropdown .d-title { font-size: 13.5px; font-weight: 600; color: var(--text); display:flex; align-items:center; gap:6px; }
.dropdown .d-desc { font-size: 12px; color: var(--muted-2); margin-top: 2px; }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 220ms, opacity 200ms; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  display: none;
  background: var(--bg); border-bottom: 1px solid var(--border-2);
  padding: 16px 24px 28px; flex-direction: column; gap: 4px;
}
.drawer.is-open { display: flex; }
.drawer a.d-row {
  font-size: 16px; font-weight: 500; color: var(--text);
  padding: 13px 8px; text-decoration: none; border-bottom: 1px solid var(--border-3);
}
.drawer__cta { display: flex; gap: 10px; margin-top: 16px; }
.drawer__cta a { flex: 1; text-align: center; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero__glow {
  position: absolute; top: -180px; left: 50%; width: 900px; height: 680px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(194,163,99,0.18) 0%, rgba(45,212,191,0.05) 38%, transparent 64%);
  pointer-events: none;
  animation: floatGlow 14s ease-in-out infinite;
}
.hero__mask {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.hero__spot {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  left: var(--mx, 60%); top: var(--my, 20%); transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(194,163,99,0.10), transparent 60%);
  pointer-events: none; transition: left 300ms ease, top 300ms ease;
}
.hero__inner {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: 96px 24px 80px; display: flex; gap: 56px; align-items: center; flex-wrap: wrap;
}
.hero__copy { flex: 1; min-width: 340px; }
.hero__visual { flex: 1; min-width: 380px; max-width: 580px; }
.hero h1, .hero-title { font-size: clamp(40px, 6vw, 60px); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 22px; max-width: 600px; }
.hero-title { font-family: var(--font-display); }
.hero .lede { margin: 0 0 32px; max-width: 520px; }

.hero-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted-2); }
.hero-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: #3A3A48; }

.cta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* A/B headline toggle */
.ab-toggle {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 30px;
  padding: 4px; border: 1px solid var(--border); border-radius: 10px;
  background: rgba(255,255,255,0.015);
}
.ab-toggle .lbl { font-family: var(--font-mono); font-size: 10px; color: var(--faint); padding: 0 8px; letter-spacing: 0.08em; }
.ab-toggle button {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  padding: 5px 11px; border-radius: 7px; cursor: pointer; border: none;
  background: transparent; color: var(--muted-2); transition: all 160ms;
}
.ab-toggle button[aria-pressed="true"] { background: var(--gold); color: var(--navy-ink); }

/* --------------------------------------------------------------------------
   Problem strip
   -------------------------------------------------------------------------- */
.problem {
  border-top: 1px solid #14141B; border-bottom: 1px solid #14141B; background: var(--surface-2);
}
.problem p {
  font-family: var(--font-display); font-size: clamp(22px, 3.4vw, 28px); line-height: 1.45;
  font-weight: 500; letter-spacing: -0.01em; color: var(--text-2);
}

/* --------------------------------------------------------------------------
   Bento pillars
   -------------------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento .b-3 { grid-column: span 3; }
.bento .b-2 { grid-column: span 2; }
.bento .b-6 { grid-column: span 6; }
.bento .card { display: flex; flex-direction: column; }
.bento h3 { margin: 0 0 8px; }
.bento p { font-size: 15px; line-height: 1.55; color: var(--text-3); margin: 0 0 22px; }
.bento .b-foot { font-family: var(--font-mono); font-size: 12px; color: var(--teal); margin-top: 16px; }
.bento .b-foot--muted { color: var(--muted-2); }

.scorebox { margin-top: auto; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.scorerow { display: flex; align-items: center; gap: 11px; }
.scorerow .idx { font-family: var(--font-mono); font-size: 11px; color: var(--faint); width: 12px; }
.scorerow .av { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 11px; font-weight: 600; }
.scorerow .bar { flex: 1; height: 5px; border-radius: 3px; }
.scorerow .val { font-family: var(--font-mono); font-size: 13px; font-weight: 600; }

.tile-grid { margin-top: auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.tile { aspect-ratio: 1; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.tile--new { background: rgba(45,212,191,0.08); border-color: rgba(45,212,191,0.4); display: flex; align-items: center; justify-content: center; }
.tile--new span { font-family: var(--font-mono); font-size: 9px; color: var(--teal); }

.budget-bar { position: relative; height: 8px; border-radius: 5px; background: #23232E; overflow: hidden; }
.budget-bar > span { display:block; height: 100%; border-radius: 5px; background: var(--gold); }

/* --------------------------------------------------------------------------
   Security band / grid
   -------------------------------------------------------------------------- */
.sec-band { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-2xl); padding: 52px 40px; position: relative; overflow: hidden; }
.sec-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 14px; }
.sec-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 22px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.sec-item .ic { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.ic--gold { background: rgba(194,163,99,0.10); }
.ic--teal { background: rgba(45,212,191,0.10); }
.sec-item span.t { font-size: 13px; color: var(--text-2); line-height: 1.35; }

.sec-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 16px; }
.sec-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.sec-card .ic { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.sec-card h3 { font-size: 18px; margin: 0 0 8px; }
.sec-card p { font-size: 14px; line-height: 1.55; color: var(--text-3); margin: 0; }

/* --------------------------------------------------------------------------
   ROI calculator
   -------------------------------------------------------------------------- */
.roi { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; }
.roi__inputs { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-xl); padding: 28px; }
.roi__field { margin-bottom: 26px; }
.roi__field:last-child { margin-bottom: 0; }
.roi__field .row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 11px; }
.roi__field .row .lab { font-size: 14px; color: var(--text-3); }
.roi__field .row .val { font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: var(--text); }
.roi__out { position: relative; background: linear-gradient(180deg,#16161F,#0E1016); border: 1px solid var(--border-accent); border-radius: var(--r-xl); padding: 28px; overflow: hidden; }
.roi__big { font-family: var(--font-mono); font-size: clamp(40px,8vw,54px); font-weight: 600; color: var(--text); line-height: 1; letter-spacing: -0.02em; }
.roi__money { font-family: var(--font-mono); font-size: 34px; font-weight: 600; color: var(--teal); line-height: 1; letter-spacing: -0.01em; }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 5px; border-radius: 5px;
  background: #23232E; accent-color: var(--gold); cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); border: 2px solid #1a140a; cursor: pointer;
  box-shadow: 0 2px 8px rgba(194,163,99,0.5);
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); border: 2px solid #1a140a; cursor: pointer;
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: border-color 200ms, background 200ms; }
.faq__item.is-open { background: var(--surface-3); border-color: var(--border-strong); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; cursor: pointer; padding: 22px 24px; text-align: left;
  font-family: var(--font-body); font-size: 16.5px; font-weight: 600; color: var(--text); line-height: 1.4;
}
.faq__icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px;
  background: var(--border-3); color: var(--muted-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all 200ms;
}
.faq__item.is-open .faq__icon { background: rgba(194,163,99,0.18); color: var(--gold-text); transform: rotate(45deg); }
.faq__a { padding: 0 24px 24px; font-size: 15px; line-height: 1.65; color: var(--text-3); max-width: 760px; }
.faq__a[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.bill-toggle {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 34px;
  padding: 5px; border: 1px solid var(--border-2); border-radius: 13px; background: rgba(255,255,255,0.015);
}
.bill-toggle button {
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  padding: 9px 18px; border-radius: var(--r-sm); cursor: pointer; border: none;
  background: transparent; color: var(--text-3); transition: all 160ms;
}
.bill-toggle button[aria-pressed="true"] { background: var(--gold); color: var(--navy-ink); }
.bill-save {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; color: var(--teal);
  background: rgba(45,212,191,0.10); border: 1px solid rgba(45,212,191,0.3);
  padding: 4px 9px; border-radius: 7px; margin: 0 6px 0 2px;
}

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px,1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px 24px; display: flex; flex-direction: column; }
.plan.is-popular { background: linear-gradient(180deg,#15161F,#0F0F15); border-color: rgba(194,163,99,0.45); box-shadow: 0 24px 60px rgba(194,163,99,0.18); }
.plan__pop {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--navy-ink); background: var(--gold-grad); padding: 4px 12px; border-radius: 999px;
  text-transform: uppercase; white-space: nowrap; box-shadow: 0 6px 16px rgba(194,163,99,0.4);
}
.plan__name { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.plan__blurb { font-size: 13px; line-height: 1.5; color: var(--muted); margin-bottom: 22px; min-height: 54px; }
.plan__price { display: flex; align-items: baseline; gap: 3px; }
.plan__price .amt { font-family: var(--font-mono); font-size: 36px; font-weight: 600; letter-spacing: -0.01em; }
.plan__price .per { font-size: 14px; color: var(--text-3); }
.plan__price .from { font-size: 14px; color: var(--text-3); margin-right: 3px; }
.plan__bill { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); margin: 6px 0 22px; }
.plan__feats { display: flex; flex-direction: column; gap: 11px; margin-top: auto; }
.feat { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.4; color: var(--text-2); }
.feat .ck { flex-shrink: 0; width: 17px; height: 17px; border-radius: 50%; background: rgba(45,212,191,0.15); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; margin-top: 1px; }
.feat--lead { color: var(--text-3); }
.feat--lead .ck { background: rgba(160,163,177,0.12); color: var(--text-3); }

.enterprise { margin-top: 16px; background: linear-gradient(120deg,#121218,#13131C); border: 1px solid var(--border-2); border-radius: var(--r-xl); padding: 32px 30px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Compare table
   -------------------------------------------------------------------------- */
.cmp-wrap { overflow-x: auto; padding-bottom: 4px; }
.cmp { position: relative; min-width: 680px; }
.cmp__hl { position: absolute; top: 0; bottom: 0; left: 46%; width: 27%; background: linear-gradient(180deg, rgba(194,163,99,0.12), rgba(194,163,99,0.04)); border: 1px solid rgba(194,163,99,0.35); border-radius: 18px; box-shadow: 0 0 60px rgba(194,163,99,0.12); pointer-events: none; }
.cmp__head, .cmp__row { position: relative; display: grid; grid-template-columns: 46% 27% 27%; }
.cmp__head { align-items: end; padding: 22px 0 18px; }
.cmp__row { align-items: center; border-top: 1px solid var(--border-3); padding: 20px 0; }
.cmp__row .nm { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; margin-bottom: 3px; }
.cmp__row .ds { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.cmp .cell { display: flex; justify-content: center; }
.ck-yes { width: 28px; height: 28px; border-radius: 50%; background: rgba(45,212,191,0.16); display: flex; align-items: center; justify-content: center; color: var(--teal); font-size: 14px; font-weight: 700; }
.ck-yes--mut { background: rgba(160,163,177,0.12); color: var(--text-3); }
.ck-no { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-2); display: flex; align-items: center; justify-content: center; color: var(--faint); font-size: 15px; line-height: 1; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { position: relative; background: linear-gradient(135deg,#15192A,#0D0F16); border: 1px solid var(--border-accent); border-radius: var(--r-3xl); padding: 72px 40px; text-align: center; overflow: hidden; }
.cta-band__glow { position: absolute; left: 50%; top: -100px; width: 700px; height: 400px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(194,163,99,0.22), rgba(45,212,191,0.06) 45%, transparent 68%); pointer-events: none; }
.cta-band h2 { font-size: clamp(34px,5vw,46px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 14px; max-width: 680px; margin-left: auto; margin-right: auto; }
.cta-band p { font-size: 18px; color: var(--text-3); margin: 0 0 36px; }
.cta-band .cta-row { justify-content: center; }

/* --------------------------------------------------------------------------
   Steps (feature pages)
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 16px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.step .n { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--gold); width: 34px; height: 34px; border-radius: 10px; background: rgba(194,163,99,0.10); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.step h3 { font-size: 17px; margin-bottom: 7px; }
.step p { font-size: 14px; line-height: 1.55; color: var(--text-3); }
.diff-banner { margin-top: 28px; padding: 22px 26px; background: rgba(45,212,191,0.05); border: 1px solid rgba(45,212,191,0.2); border-radius: var(--r-lg); display: flex; align-items: center; gap: 14px; }
.diff-banner .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); flex-shrink: 0; }
.diff-banner span { font-family: var(--font-display); font-size: 17px; font-weight: 500; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.field { display: block; margin-bottom: 18px; }
.field > .lab { display: block; font-size: 13px; font-weight: 500; color: var(--text-3); margin-bottom: 8px; }
.input, .textarea {
  width: 100%; box-sizing: border-box; background: var(--surface);
  border: 1px solid var(--border-2); border-radius: var(--r);
  padding: 13px 15px; color: var(--text);
  font-family: var(--font-body); font-size: 15px; outline: none;
  transition: border-color 160ms, box-shadow 160ms;
}
.textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.input::placeholder, .textarea::placeholder { color: #5A5A6A; }
.input:focus, .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,163,99,0.2); }
.input.is-error, .textarea.is-error { border-color: var(--danger); }
.field-error { display: block; margin-top: 7px; font-size: 12.5px; color: var(--danger); }

.alert { border-radius: var(--r); padding: 14px 16px; font-size: 14px; margin-bottom: 22px; border: 1px solid; }
.alert--ok { background: rgba(45,212,191,0.07); border-color: rgba(45,212,191,0.32); color: var(--teal-hi); }
.alert--err { background: rgba(248,113,113,0.07); border-color: rgba(248,113,113,0.3); color: #FCA5A5; }

/* auth value panels */
.auth-grid { position: relative; max-width: 1080px; margin: 0 auto; padding: 64px 24px 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 48px; align-items: center; }
.value-panel { background: linear-gradient(160deg,#13121C,#0E0E14); border: 1px solid var(--border-2); border-radius: 22px; padding: 34px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--bg); border-top: 1px solid var(--border-3); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 72px 24px 40px; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px 32px; align-items: start; }
.footer__col .h { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted-2); text-transform: uppercase; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14px; color: var(--text-3); text-decoration: none; padding: 6px 0; transition: color 140ms; }
.footer__col a:hover { color: var(--text); }
.footer__status { margin-top: 22px; display: flex; align-items: center; gap: 8px; }
.footer__status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.footer__status span { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); letter-spacing: 0.04em; }
.newsletter { margin-top: 56px; padding: 24px; background: var(--surface); border: 1px solid var(--border-3); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.newsletter__form { display: flex; gap: 8px; flex: 1; min-width: 260px; max-width: 420px; }
.newsletter__form input { flex: 1; background: var(--bg); border: 1px solid var(--border-2); border-radius: 11px; padding: 11px 14px; color: var(--text); font-family: var(--font-body); font-size: 14px; outline: none; }
.newsletter__form input:focus { border-color: var(--gold); }
.newsletter__form button { background: var(--border-3); border: 1px solid var(--border-2); border-radius: 11px; padding: 11px 18px; color: var(--text); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background 140ms; }
.newsletter__form button:hover { background: #23232E; }
.footer__bottom { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border-3); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted-2); }
.footer__bottom .mono { font-family: var(--font-mono); font-size: 11px; color: var(--faint); letter-spacing: 0.08em; }
.footer__bottom a { color: inherit; text-decoration: none; }
.footer__bottom a:hover { text-decoration: underline; }

.mini-footer { border-top: 1px solid var(--border-3); }
.mini-footer .container { padding-top: 24px; padding-bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted-2); }
.mini-footer .mono { font-family: var(--font-mono); font-size: 11px; color: var(--faint); }
.mini-footer a { color: inherit; text-decoration: none; }
.mini-footer a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Prose (legal pages)
   -------------------------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; font-weight: 600; margin: 40px 0 12px; }
.prose h3 { font-size: 18px; font-weight: 600; margin: 28px 0 8px; }
.prose p, .prose li { font-size: 15.5px; line-height: 1.7; color: var(--text-3); }
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 20px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--gold-text); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--text); }
.prose .meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }

/* --------------------------------------------------------------------------
   Mock app window (hero pipeline / score demo)
   -------------------------------------------------------------------------- */
.window { position: relative; background: linear-gradient(180deg,#15151D 0%,#0E1016 100%); border: 1px solid var(--border-2); border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 1px 0 rgba(255,255,255,0.05) inset; }
.window__chrome { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.015); }
.window__dots { display: flex; gap: 7px; }
.window__dots span { width: 11px; height: 11px; border-radius: 50%; background: #2B2B36; }
.window__url { flex: 1; text-align: center; font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }

.pl-row { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 13px; border: 1px solid var(--border); margin-bottom: 8px; background: rgba(255,255,255,0.012); transition: background 300ms; }
.pl-row.is-top { background: rgba(45,212,191,0.05); border-color: rgba(45,212,191,0.22); }
.pl-row .rk { font-family: var(--font-mono); font-size: 12px; color: var(--faint); width: 16px; text-align: center; flex-shrink: 0; }
.pl-row .av { flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.pl-row .who { flex: 1; min-width: 0; }
.pl-row .nm { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-row .rs { font-size: 12.5px; color: #7C7F8D; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.pl-row .sc { flex-shrink: 0; width: 96px; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.pl-row .scv { display: flex; align-items: baseline; gap: 2px; }
.pl-row .scv b { font-family: var(--font-mono); font-size: 18px; font-weight: 600; line-height: 1; }
.pl-row .scv i { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); font-style: normal; }
.pl-row .track { width: 100%; height: 5px; border-radius: 3px; background: #23232E; overflow: hidden; }
.pl-row .track > span { display: block; height: 100%; border-radius: 3px; transition: width 500ms cubic-bezier(.2,.7,.2,1); }
.pl-row .exp { flex-shrink: 0; width: 16px; text-align: center; color: var(--faint); font-size: 11px; transition: transform 200ms; }

/* score demo specifics */
.sd-roles { display: flex; gap: 6px; flex-wrap: wrap; }
.sd-role { font-family: var(--font-body); font-size: 13px; font-weight: 500; padding: 7px 13px; border-radius: var(--r-sm); cursor: pointer; transition: all 160ms; background: #161922; border: 1px solid var(--border-2); color: var(--text-3); }
.sd-role[aria-pressed="true"] { background: rgba(194,163,99,0.16); border-color: rgba(194,163,99,0.4); color: var(--gold-soft); }
.sd-detail { padding: 0 15px 15px 63px; display: flex; flex-direction: column; gap: 7px; }
.sd-why { display: flex; align-items: center; gap: 9px; }
.sd-why .sg { width: 16px; height: 16px; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.sd-why .sg--p { background: rgba(45,212,191,0.16); color: var(--teal); }
.sd-why .sg--g { background: rgba(251,191,36,0.14); color: var(--warn); }
.sd-why span.tx { font-size: 13px; color: var(--text-3); }

/* --------------------------------------------------------------------------
   Spinner
   -------------------------------------------------------------------------- */
.spinner { display: inline-block; border-radius: 50%; border: 3px solid rgba(194,163,99,0.25); border-top-color: var(--gold); animation: spin 0.8s linear infinite; }

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes floatGlow { 0%,100% { transform: translateX(-50%) translateY(0) scale(1); } 50% { transform: translateX(-50%) translateY(-18px) scale(1.04); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hpScan { 0% { transform: translateY(-10%); opacity: 0; } 12% { opacity: 0.9; } 88% { opacity: 0.9; } 100% { transform: translateY(2400%); opacity: 0; } }
@keyframes pop { 0% { transform: scale(0.6); } 60% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; }
.reveal.in { animation: reveal 0.6s cubic-bezier(.2,.7,.2,1) forwards; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .nav__menu, .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .section { padding-top: 80px; }
  .bento { grid-template-columns: 1fr; }
  .bento .b-3, .bento .b-2, .bento .b-6 { grid-column: span 1; }
  .hero__inner { padding-top: 72px; }
  .cmp { min-width: 560px; }
}
@media (max-width: 720px) {
  /* Keep the hero visual and mock window inside the viewport on phones */
  .hero__visual { min-width: 100%; max-width: 100%; }
  .hero h1, .hero-title { font-size: clamp(32px, 8.4vw, 46px); }
  .pl-row .sc { width: 78px; }
  .pl-row { gap: 10px; padding: 12px 12px; }
}
@media (max-width: 640px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .cta-band { padding: 48px 24px; }
  .sec-band { padding: 36px 22px; }
  .newsletter { flex-direction: column; align-items: stretch; }
  .newsletter__form { max-width: none; }
}
@media (max-width: 460px) {
  .footer__top { grid-template-columns: 1fr; }
}

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