/* HexLeads — shared styles. Tokens from BRAND.md §3–5. */
:root {
  --navy: #0D1220;
  --navy-2: #161D2E;
  --navy-3: #26314A;
  --off-white: #EEF2FA;
  --muted: #8E9AB5;
  --teal: #2EE6C5;
  --teal-dim: #1FB89D;
  --alert: #FF7A3D;

  --font-display: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;
  --font-serif: "Instrument Serif", Georgia, serif;

  --r-card: 12px;
  --r-pill: 999px;
  --r-input: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: 240ms;
  --glow: 0 0 0 1px var(--teal), 0 8px 30px -10px var(--teal);
  --gutter: 16px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--off-white); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--off-white); color: var(--navy); padding: 10px 14px; border-radius: var(--r-input); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* Grain overlay, 4% */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; }

/* Type */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: 42px; line-height: 1; letter-spacing: -.045em; }
h2 { font-size: 30px; line-height: 1.05; letter-spacing: -.04em; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
h1 em, h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--muted); padding-right: .04em; }
p { text-wrap: pretty; }
p { margin: 0; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted);
}
.lead { color: var(--muted); }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--r-pill);
  font: 600 16px/1 var(--font-body);
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: var(--teal-dim); transform: translateY(-2px); box-shadow: var(--glow); }
.btn-secondary { background: transparent; color: var(--off-white); border-color: var(--navy-3); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--glow); border-color: transparent; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 18, 32, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.nav.scrolled { border-bottom-color: var(--navy-3); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.04em; }
.brand svg { width: 34px; height: 34px; }
.nav-links { display: none; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; transition: color var(--dur) var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--off-white); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-login { display: none; text-decoration: none; color: var(--muted); font-weight: 500; }
.nav-login:hover { color: var(--off-white); }
.nav-cta { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--navy-3); border-radius: var(--r-input);
  color: var(--off-white); cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.menu-btn:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--navy-3); padding: 12px var(--gutter) 24px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { display: block; padding: 14px 0; text-decoration: none; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--navy-3); }
.mobile-menu .btn { width: 100%; margin-top: 20px; }

/* Minimal nav for ad landing pages */
.nav-min .nav-inner { height: 64px; }

/* Hero */
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; left: 50%; top: -260px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(46, 230, 197, .11), rgba(46, 230, 197, 0) 70%);
  pointer-events: none;
}
.hero-hex { position: absolute; z-index: -1; right: -120px; top: 40px; width: 420px; opacity: .5; pointer-events: none; }
.hero .eyebrow { margin-bottom: 20px; display: inline-flex; align-items: center; gap: 10px; }
.hero .eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--navy-3); }
.hero h1 { max-width: 12ch; }
.hero .sub { margin-top: 24px; max-width: 560px; font-size: 18px; color: var(--muted); }
.ctas { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.trust-row { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row span::before { content: ""; width: 6px; height: 6px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--muted); }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head .eyebrow { margin-bottom: 14px; display: block; }
.section-head p { margin-top: 16px; }
.band { background: var(--navy-2); border-top: 1px solid var(--navy-3); border-bottom: 1px solid var(--navy-3); }

/* Cards */
.card {
  background: var(--navy-2);
  border: 1px solid var(--navy-3);
  border-radius: var(--r-card);
  padding: 24px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card.hover:hover, a.card:hover { transform: translateY(-2px); box-shadow: var(--glow); border-color: transparent; }
.band .card { background: var(--navy); }

/* Product preview (pipeline mock) */
.preview { margin-top: 48px; border: 1px solid var(--navy-3); border-radius: var(--r-card); background: var(--navy-2); overflow: hidden; }
.preview-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--navy-3); }
.preview-bar .dots { display: flex; gap: 6px; }
.preview-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--navy-3); }
.pipeline { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 12px; padding: 16px; overflow-x: auto; scrollbar-width: thin; }
.pcol h4 { margin: 0 0 10px; display: flex; justify-content: space-between; font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lead-card { background: var(--navy); border: 1px solid var(--navy-3); border-radius: 10px; padding: 12px; margin-bottom: 10px; font-size: 14px; }
.lead-card b { display: block; font-weight: 600; }
.lead-card .src { display: flex; justify-content: space-between; margin-top: 6px; font: 400 12px/1.4 var(--font-mono); color: var(--muted); }
.lead-card .tag { display: inline-block; margin-top: 8px; font: 500 11px/1 var(--font-mono); padding: 4px 8px; border-radius: var(--r-pill); border: 1px solid var(--navy-3); color: var(--muted); }
.lead-card .tag.alert { border-color: rgba(255, 122, 61, .5); color: var(--alert); }
.preview-note { padding: 0 16px 14px; font-size: 12px; color: var(--muted); font-family: var(--font-mono); }

/* Sources strip */
.sources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.source { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--navy-3); border-radius: var(--r-card); font-weight: 500; font-size: 15px; }
.source svg { width: 20px; height: 20px; flex: none; color: var(--muted); }

/* Problem strip */
.problem-list { list-style: none; margin: 0; padding: 0; display: grid; }
.problem-list li { display: flex; align-items: flex-start; gap: 14px; padding: 24px 0; font-size: 18px; font-weight: 500; }
.problem-list li + li { border-top: 1px solid var(--navy-3); }
.x { flex: none; margin-top: 4px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--alert); color: var(--alert); display: grid; place-items: center; font: 500 12px/1 var(--font-mono); }
.problem-list small { display: block; color: var(--muted); font-size: 15px; font-weight: 400; margin-top: 2px; }

/* Features */
.features-grid { display: grid; gap: 16px; }
.feature .num { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .12em; }
.feature .icon { width: 44px; height: 44px; margin: 18px 0 20px; color: var(--off-white); }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); }
.feature ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; }
.feature li::before { content: "— "; color: var(--muted); }

/* Before / after */
.compare { display: grid; gap: 16px; }
.compare .card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare li { display: flex; gap: 12px; align-items: flex-start; }
.compare li i { flex: none; margin-top: 5px; width: 14px; height: 14px; }
.compare .before li i { border: 1px solid var(--alert); border-radius: 50%; }
.compare .after li i { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--off-white); }

/* Calculator */
.calc { display: grid; gap: 16px; }
.calc form { display: grid; gap: 20px; }
.field label, .field .label { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; margin-bottom: 8px; }
.field output { font-family: var(--font-mono); color: var(--off-white); }
.field small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--navy-3); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--navy-3); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--off-white); border: 4px solid var(--navy); box-shadow: 0 0 0 1px var(--muted); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--off-white); border: 4px solid var(--navy); box-shadow: 0 0 0 1px var(--muted); cursor: pointer; }
.calc-result { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.calc-result .big { font-family: var(--font-mono); font-weight: 500; font-size: 44px; line-height: 1; letter-spacing: -.03em; color: var(--teal); margin-top: 12px; word-break: break-all; }
.calc-result .per { color: var(--muted); margin-top: 8px; }
.calc-result .fine { font-size: 13px; color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { position: relative; padding-top: 28px; }
.step-num { font-family: var(--font-display); font-weight: 300; font-size: 56px; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--navy-3); margin-bottom: 16px; transition: -webkit-text-stroke-color var(--dur) var(--ease); }
.step:hover .step-num { -webkit-text-stroke-color: var(--muted); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); }

/* Audience split */
.split { display: grid; gap: 16px; }
.split .card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.split .card h3 { font-size: 24px; }
.split .card p { color: var(--muted); }
.split .card .go { margin-top: auto; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.split .card .go::after { content: "→"; transition: transform var(--dur) var(--ease); }
.split .card:hover .go::after { transform: translateX(4px); }

/* Pricing */
.billing { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--navy-3); border-radius: var(--r-pill); background: var(--navy-2); margin-bottom: 32px; }
.billing button { border: 0; background: transparent; color: var(--muted); font: 500 14px/1 var(--font-body); min-height: 40px; padding: 0 18px; border-radius: var(--r-pill); cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.billing button:hover { color: var(--off-white); }
.billing button[aria-pressed="true"] { background: var(--off-white); color: var(--navy); }
.billing .save { font-family: var(--font-mono); font-size: 11px; opacity: .8; margin-left: 4px; }
.pricing-grid { display: grid; gap: 16px; }
.tier { display: flex; flex-direction: column; padding: 28px; }
.tier:hover { transform: translateY(-2px); box-shadow: var(--glow); border-color: transparent; }
.tier.featured { border-color: var(--muted); position: relative; }
.tier .badge { position: absolute; top: -12px; left: 28px; background: var(--off-white); color: var(--navy); font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--r-pill); }
.tier h3 { font-size: 22px; }
.tier .for { color: var(--muted); margin-top: 6px; font-size: 15px; }
.price { margin: 24px 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.price .amount { font-family: var(--font-mono); font-size: 32px; font-weight: 500; letter-spacing: -.02em; }
.price .per { font-family: var(--font-mono); color: var(--muted); font-size: 14px; }
.ticks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; flex: 1; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.ticks li::before { content: ""; flex: none; margin-top: 7px; width: 8px; height: 8px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--muted); }
.tier .btn { width: 100%; }
.pricing-note { margin-top: 20px; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq-item { padding: 0; }
.faq-h { margin: 0; font: inherit; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; color: var(--off-white); font: 600 17px/1.4 var(--font-body); text-align: left; padding: 20px 22px; cursor: pointer; }
.faq-q .plus { flex: none; width: 14px; height: 14px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--muted); transition: transform var(--dur) var(--ease); }
.faq-q .plus::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .plus::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 22px; color: var(--muted); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* CTA box */
.cta-box { position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--navy-3); border-radius: var(--r-card); background: var(--navy-2); padding: 40px 24px; }
.cta-box::before { content: ""; position: absolute; z-index: -1; right: -200px; top: -200px; width: 600px; height: 600px; background: radial-gradient(closest-side, rgba(46, 230, 197, .09), transparent 70%); }
.cta-box h2 { max-width: 16ch; margin-top: 14px; }
.cta-box p { margin-top: 16px; color: var(--muted); max-width: 520px; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; }
.input, .select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--navy); color: var(--off-white);
  border: 1px solid var(--navy-3); border-radius: var(--r-input);
  font: 400 16px/1.3 var(--font-body);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder { color: #5E6A85; }
.input:hover, .select:hover { border-color: var(--muted); }
.input:focus, .select:focus { outline: none; border-color: var(--off-white); box-shadow: 0 0 0 3px rgba(238, 242, 250, .12); }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238E9AB5' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field .err { display: none; color: var(--alert); font-size: 13px; margin-top: 6px; }
.field.invalid .input, .field.invalid .select { border-color: var(--alert); }
.field.invalid .err { display: block; }
.check, .field label.check { display: flex; justify-content: flex-start; gap: 12px; align-items: flex-start; font-size: 14px; font-weight: 400; color: var(--muted); margin-bottom: 0; }
.check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--off-white); }
.check a { color: var(--off-white); }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-cards.plans { grid-template-columns: repeat(3, 1fr); }
.radio-cards.plans label { padding: 12px; }
.radio-cards label { position: relative; display: block; padding: 14px; border: 1px solid var(--navy-3); border-radius: var(--r-input); cursor: pointer; font-weight: 500; transition: border-color var(--dur) var(--ease); }
.radio-cards label small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.radio-cards input { position: absolute; opacity: 0; }
.radio-cards label:hover { border-color: var(--muted); }
.radio-cards input:checked + span { color: var(--off-white); }
.radio-cards label:has(input:checked) { border-color: var(--off-white); box-shadow: 0 0 0 1px var(--off-white) inset; }
.radio-cards label:has(input:focus-visible) { outline: 2px solid var(--off-white); outline-offset: 2px; }
.form-msg { display: none; padding: 14px 16px; border-radius: var(--r-input); font-size: 15px; }
.form-msg.show { display: block; }
.form-msg.error { border: 1px solid rgba(255, 122, 61, .5); color: var(--alert); }

/* Signup layout */
.signup { display: grid; gap: 32px; padding: 48px 0 72px; }
.signup-side h1 { font-size: 36px; }
.signup-side .ticks { margin-top: 28px; }
.signup-card { padding: 24px; }
.success { text-align: left; }
.success h2 { margin: 16px 0 12px; }

/* Legal */
.legal { padding: 48px 0 80px; }
.legal h1 { font-size: 36px; margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal .notice { margin: 24px 0; padding: 16px; border: 1px solid rgba(255, 122, 61, .5); border-radius: var(--r-card); color: var(--off-white); }

/* Footer */
footer { border-top: 1px solid var(--navy-3); padding: 48px 0 32px; }
.foot-grid { display: grid; gap: 32px; }
.foot-grid > div > p { color: var(--muted); max-width: 320px; margin-top: 14px; font-size: 15px; }
.foot-col h4 { margin: 0 0 12px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a { color: var(--muted); text-decoration: none; transition: color var(--dur) var(--ease); }
.foot-col a:hover { color: var(--off-white); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--navy-3); border-radius: 50%; color: var(--muted); transition: color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.socials a:hover { color: var(--off-white); transform: translateY(-2px); box-shadow: var(--glow); }
.socials svg { width: 16px; height: 16px; }
.foot-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--navy-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.foot-bottom a { color: var(--muted); }

/* Sticky mobile CTA (landing pages) */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(13, 18, 32, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--navy-3); transform: translateY(110%); transition: transform var(--dur) var(--ease); }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; }

/* Consent banner */
.consent { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px; max-width: 520px; padding: 18px; background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: var(--r-card); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .6); font-size: 14px; color: var(--muted); }
.consent[hidden] { display: none; }
.consent p a { color: var(--off-white); }
.consent .actions { display: flex; gap: 10px; margin-top: 14px; }
.consent .btn { min-height: 40px; font-size: 14px; flex: 1; }
.consent .btn-light { background: var(--off-white); color: var(--navy); }
.consent .btn-light:hover { transform: translateY(-2px); box-shadow: var(--glow); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 900ms var(--ease-out) var(--d, 0ms), transform 900ms var(--ease-out) var(--d, 0ms), filter 900ms var(--ease-out) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal.in.done { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ≥640 */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .ctas { flex-direction: row; }
  .sources { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid.five .feature:last-child { grid-column: span 2; }
  .problem-list li { padding: 28px 0; }
  .cta-box { padding: 56px 48px; }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .form .row { grid-template-columns: 1fr 1fr; }
  .compare, .split { grid-template-columns: 1fr 1fr; }
  .signup-card { padding: 32px; }
  .consent { left: 24px; bottom: 24px; }
  .sticky-cta { display: none; }
}

/* ≥960 */
@media (min-width: 960px) {
  body { font-size: 17px; }
  h1 { font-size: 68px; }
  h2 { font-size: 40px; }
  h3 { font-size: 23px; }
  .nav-links { display: flex; gap: 32px; }
  .nav-cta, .nav-login { display: inline-flex; }
  .menu-btn, .mobile-menu { display: none !important; }
  .hero { padding: 104px 0 96px; }
  .hero h1 { max-width: 15ch; }
  .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .hero-hex { width: 560px; right: -160px; top: -40px; }
  section { padding: 104px 0; }
  .problem-list { grid-template-columns: repeat(3, 1fr); }
  .problem-list li { padding: 36px 32px 36px 0; }
  .problem-list li + li { border-top: 0; border-left: 1px solid var(--navy-3); padding-left: 32px; }
  .sources { grid-template-columns: repeat(6, 1fr); }
  .source { flex-direction: column; align-items: flex-start; }
  .features-grid.five { grid-template-columns: repeat(6, 1fr); }
  .features-grid.five .feature { grid-column: span 2; }
  .features-grid.five .feature:nth-child(n+4) { grid-column: span 3; }
  .features-grid.three { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .step { border-top: 1px solid var(--navy-3); }
  .calc { grid-template-columns: 1.3fr 1fr; }
  .calc-result .big { font-size: 64px; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .cta-box { padding: 72px 64px; }
  .signup { grid-template-columns: 1fr 1fr; gap: 64px; padding: 80px 0 104px; align-items: start; }
  .signup-side h1 { font-size: 56px; }
  .signup-side { position: sticky; top: 112px; }
  .legal h1 { font-size: 48px; }
}

/* ≥1280 */
@media (min-width: 1280px) {
  body { font-size: 18px; }
  h1 { font-size: 84px; }
  h2 { font-size: 48px; }
  h3 { font-size: 26px; }
  .hero .sub { font-size: 20px; }
}

/* =========================================================
   Motion + depth layer
   ========================================================= */

/* Scroll progress line + hide-on-scroll nav */
.nav { transition: border-color var(--dur) var(--ease), transform 420ms var(--ease-out); }
.nav.nav-hide { transform: translateY(-100%); }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, rgba(238,242,250,0), var(--off-white)); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); opacity: .55; pointer-events: none; }

/* Hero chip */
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 28px; border: 1px solid var(--navy-3); border-radius: var(--r-pill); background: rgba(22, 29, 46, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 500 11.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.chip:hover { border-color: var(--muted); color: var(--off-white); }
.chip-dot { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(238, 242, 250, .08); }
.chip-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--off-white); animation: ping 2.2s var(--ease-out) infinite; }
.chip-arrow { transition: transform var(--dur) var(--ease); }
.chip:hover .chip-arrow { transform: translateX(3px); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(238, 242, 250, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(238, 242, 250, 0); } }

/* 3D canvas */
.hero-3d { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.6s var(--ease-out); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 72%, transparent 100%); }
.hero-3d canvas { display: block; width: 100% !important; height: 100% !important; }
.has-3d .hero-3d { opacity: 1; }
.hero-hex { transition: opacity 1s ease; }
.has-3d .hero-hex { opacity: 0; }
.hero:not(.hero-center) .hero-3d { opacity: 0; }
.hero:not(.hero-center).has-3d .hero-3d { opacity: .55; }

/* Centered hero (home) */
.hero-center { min-height: min(100svh, 1000px); display: flex; flex-direction: column; justify-content: center; padding: 96px 0 180px; text-align: center; }
.hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; transform: translate3d(0, calc(var(--p, 0) * -80px), 0); opacity: calc(1 - var(--p, 0) * 1.3); }
.hero-copy::before { content: ""; position: absolute; z-index: -1; inset: -12% -8%; background: radial-gradient(closest-side, rgba(13, 18, 32, .92), rgba(13, 18, 32, .6) 55%, rgba(13, 18, 32, 0)); pointer-events: none; }
.hero-center h1 { max-width: 13ch; margin-inline: auto; }
.hero-center .sub { margin-inline: auto; }
.hero-center .ctas { justify-content: center; align-items: center; }
.hero-center .trust-row { justify-content: center; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 22px; height: 36px; border: 1px solid var(--navy-3); border-radius: 12px; opacity: calc(1 - var(--p, 0) * 4); }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--muted); animation: cue 1.8s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70%, 100% { transform: translateY(12px); opacity: 0; } }

/* Product showcase rising out of the hero */
.showcase { position: relative; z-index: 2; margin-top: -140px; padding: 0 0 24px; perspective: 1800px; }
.tilt-stage { transform-origin: 50% 0; transform: rotateX(calc((1 - var(--p, 1)) * 26deg)) scale(calc(.9 + var(--p, 1) * .1)); will-change: transform; }
.showcase .preview { margin-top: 0; position: relative; box-shadow: 0 60px 140px -50px rgba(0, 0, 0, .9), 0 0 0 1px rgba(238, 242, 250, .03); }
.preview { position: relative; }
.preview::after { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(238, 242, 250, .45), transparent); pointer-events: none; }
.showcase .lead-card { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + 200ms); }
.showcase.live .lead-card, .no-js .showcase .lead-card { opacity: 1; transform: none; }

/* Split-word headings */
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .1em; margin: 0 -.06em -.1em; }
.split-w > span { display: inline-block; transform: translate3d(0, 110%, 0); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms); }
.split-in .split-w > span { transform: none; }

/* Spotlight + tilt cards */
.spot { position: relative; --mx: 50%; --my: 50%; transform-style: preserve-3d; }
.spot::before, .spot::after { content: ""; position: absolute; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); }
.spot::before { inset: 0; background: radial-gradient(480px circle at var(--mx) var(--my), rgba(238, 242, 250, .065), transparent 42%); }
.spot::after { inset: -1px; padding: 1px; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(238, 242, 250, .55), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* Featured tier: rotating border light */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.tier.featured { border-color: transparent; background: linear-gradient(var(--navy), var(--navy)) padding-box, conic-gradient(from var(--ang), var(--navy-3) 0deg, var(--navy-3) 200deg, rgba(238, 242, 250, .9) 260deg, var(--navy-3) 320deg) border-box; animation: spin-ang 7s linear infinite; }
@keyframes spin-ang { to { --ang: 360deg; } }

/* Steps progress line (ad pages) */
.steps[data-scroll] { position: relative; }
.steps[data-scroll] .step-num { transition: -webkit-text-stroke-color .5s var(--ease), color .5s var(--ease); }
.steps[data-scroll] .step.lit .step-num { -webkit-text-stroke-color: var(--off-white); }

/* Pinned scroll story (home: how it works) */
.story-inner { display: grid; gap: 40px; }
.story .section-head { margin-bottom: 24px; }
.story .steps { grid-template-columns: 1fr; gap: 0; }
.story .step { padding: 22px 0; border-top: 1px solid var(--navy-3); opacity: .38; transition: opacity .5s var(--ease); }
.story .step.lit { opacity: 1; }
.story .step-num { font: 500 12px/1 var(--font-mono); letter-spacing: .12em; color: var(--muted); -webkit-text-stroke: 0; margin-bottom: 10px; }
.story .step h3 { margin-bottom: 6px; }
.story-bar { height: 2px; background: var(--navy-3); border-radius: 2px; overflow: hidden; margin-top: 8px; }
.story-bar i { display: block; height: 100%; background: var(--off-white); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.phone { position: relative; width: 100%; max-width: 400px; margin: 0 auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 460px; background: var(--navy); border: 1px solid var(--navy-3); border-radius: 30px; box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(238, 242, 250, .06); }
.phone-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 8px 14px; margin-bottom: 4px; border-bottom: 1px solid var(--navy-3); font-size: 14px; }
.phone-top b { font-weight: 600; }
.phone-top .eyebrow { font-size: 11px; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.msg.show, .no-js .msg { opacity: 1; transform: none; }
.msg.in { align-self: flex-start; background: var(--navy-2); border: 1px solid var(--navy-3); border-bottom-left-radius: 6px; }
.msg.out { align-self: flex-end; background: var(--off-white); color: var(--navy); border-bottom-right-radius: 6px; }
.msg.sys { align-self: center; max-width: 100%; text-align: center; line-height: 1.4 !important; padding: 7px 12px; border: 1px dashed var(--navy-3); border-radius: var(--r-pill); font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.msg.sys.alert { color: var(--alert); border-color: rgba(255, 122, 61, .5); }
.msg.sys.ok { color: var(--off-white); border-style: solid; border-color: var(--muted); }
.phone-note { text-align: center; margin-top: 14px; font: 400 12px/1.4 var(--font-mono); color: var(--muted); }

/* CTA box hex */
.cta-hex { position: absolute; z-index: -1; right: -90px; bottom: -110px; width: 380px; opacity: .55; animation: slow-spin 60s linear infinite; pointer-events: none; }
@keyframes slow-spin { to { transform: rotate(360deg); } }

/* Footer wordmark */
.foot-word { margin-top: 48px; font: 600 clamp(64px, 19vw, 300px)/.8 var(--font-display); letter-spacing: -.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px var(--navy-3); user-select: none; pointer-events: none; white-space: nowrap; overflow: hidden; background: linear-gradient(180deg, rgba(38, 49, 74, .55), rgba(13, 18, 32, 0) 85%); -webkit-background-clip: text; background-clip: text; }

@media (min-width: 640px) {
  .hero-center .ctas { flex-direction: row; }
}
@media (min-width: 960px) {
  .hero-center { padding: 120px 0 220px; }
  .hero:not(.hero-center) .hero-3d { -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 70%); mask-image: linear-gradient(90deg, transparent 20%, #000 70%); }
  .hero:not(.hero-center).has-3d .hero-3d { opacity: .9; }
  .showcase { margin-top: -200px; }
  .story { height: 300vh; padding: 0; }
  .story-inner { position: sticky; top: 0; height: 100vh; grid-template-columns: 1fr 1fr; align-items: center; gap: 96px; }
  .phone { min-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .btn:hover, .card:hover, .menu-btn:hover, .socials a:hover { transform: none; }
  .tilt-stage, .hero-copy { transform: none !important; opacity: 1 !important; }
  .story { height: auto !important; padding: 72px 0 !important; }
  .story-inner { position: static !important; height: auto !important; }
  .msg, .showcase .lead-card { opacity: 1; transform: none; }
  .story .step { opacity: 1; }
}
