/* ═══════════════════════════════════════════════════════════════════
   AllieAdvisor marketing site — shared stylesheet
   Design system: matches the app (frontend/src/lib/constants.ts)
   BLUE #2b6cb0 · GOLD #c9962b · DARK #2d3748 · GREEN #38807b
   Cream/warm-white surfaces, Inter body, Outfit wordmark only,
   8px spacing grid, warm professional — never dark-mode dev-tool.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --blue: #2b6cb0;
  --gold: #c9962b;
  --dark: #2d3748;
  --green: #38807b;
  --red: #c53030;
  --gray: #718096;
  --cream: #f6f2ea;
  --warm-cream: #efe9dd;
  --warm-border: #d3c9b5;
  --link: #1a73e8;
  --hero-mid: #36485a;
  --hero-end: #2f4055;
  --avatar-ring: #a0b8d0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--link); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ── Wordmark (Outfit — the only place Outfit appears) ── */
.wordmark {
  font-family: 'Outfit', 'Inter', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.wordmark .wm-allie   { font-weight: 400; color: var(--blue); }
.wordmark .wm-advisor { font-weight: 800; color: var(--dark); }
.wordmark .wm-plus    { font-weight: 800; color: var(--gold); margin-left: -0.06em; position: relative; top: 0.08em; font-size: 0.95em; }
.wordmark.on-dark .wm-allie   { color: #7ba3cc; }
.wordmark.on-dark .wm-advisor { color: #fff; }

/* ── Nav ── */
.nav {
  background: #fffdfa;
  border-bottom: 1px solid var(--warm-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav .wordmark { font-size: 24px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease;
}
.nav-links a.nav-link:hover { color: var(--dark); }
.nav-links a.nav-link.active { color: var(--dark); font-weight: 600; border-bottom-color: var(--gold); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-sm { font-size: 13px; padding: 9px 18px; border-radius: 8px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #d4a72c 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(201,150,43,.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,150,43,.35); }
.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 12px rgba(43,108,176,.25);
}
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(43,108,176,.3); }
.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 2px 12px rgba(56,128,123,.25);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(56,128,123,.3); }
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-outline {
  background: #fff;
  color: var(--dark);
  border: 1px solid var(--warm-border);
}
.btn-outline:hover { border-color: var(--gray); }
.btn .arrow { font-weight: 400; }

/* ── Hero band (echoes the app landing gradient) ── */
.hero {
  background: linear-gradient(180deg, var(--dark) 0%, var(--hero-mid) 55%, var(--hero-end) 100%);
  color: #fff;
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -100px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,150,43,.16), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero .eyebrow { color: #e3c982; }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-top: 16px;
  max-width: 21ch;
}
.hero h1 .accent { color: #e3c982; }
.hero .sub {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  margin-top: 20px;
  max-width: 58ch;
  line-height: 1.65;
}
.hero .cta-row { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.65); }

/* Allie intro row inside hero */
.allie-intro { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }

/* ── Allie avatar + speech bubble (echoes AllieAvatar / AllieBubble) ── */
.allie-avatar {
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--avatar-ring);
  width: 48px;
  height: 48px;
}
.allie-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.15);
}
.allie-avatar.lg { width: 88px; height: 88px; border-width: 3px; }

.allie-row { display: flex; gap: 14px; align-items: flex-start; }
.allie-bubble {
  background: #fff;
  border: 1px solid var(--warm-border);
  border-radius: 4px 16px 16px 16px;
  padding: 16px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark);
  max-width: 620px;
}
.allie-bubble .who { font-size: 11px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }

/* ── Sections ── */
section.block { padding: 80px 0; }
section.block.tight { padding: 56px 0; }
section.alt { background: #f1ece1; border-top: 1px solid var(--warm-border); border-bottom: 1px solid var(--warm-border); }
section.warm { background: var(--warm-cream); border-top: 1px solid var(--warm-border); border-bottom: 1px solid var(--warm-border); }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #a87c20;
}
h2.lead {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 12px;
  max-width: 26ch;
}
.body-lg { font-size: 17px; color: #3b4859; max-width: 62ch; margin-top: 16px; }
.center { text-align: center; }
.center h2.lead, .center .body-lg { margin-left: auto; margin-right: auto; }

/* ── Cards ── */
.card {
  background: #fff;
  border: 1px solid var(--warm-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(45,55,72,.05), 0 6px 18px rgba(45,55,72,.07);
}

/* Two-audience split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.split .card { display: flex; flex-direction: column; border-top: 3px solid var(--warm-border); transition: transform .15s ease, box-shadow .15s ease; }
.split .card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.09); }
.split .card.owner  { border-top-color: var(--gold); }
.split .card.agent  { border-top-color: var(--blue); }
.split .card h3 { font-size: 21px; font-weight: 600; }
.split .card .tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.split .card.owner .tag { color: #a87c20; }
.split .card.agent .tag { color: var(--blue); }
.split .card p { font-size: 15px; color: #3b4859; margin-top: 10px; }
.split .card ul { margin: 16px 0 24px 0; padding: 0; list-style: none; }
.split .card ul li { font-size: 14px; color: var(--dark); padding: 6px 0 6px 26px; position: relative; }
.split .card ul li::before { content: "✓"; position: absolute; left: 2px; font-weight: 700; }
.split .card.owner ul li::before { color: var(--gold); }
.split .card.agent ul li::before { color: var(--blue); }
.split .card .btn { margin-top: auto; align-self: flex-start; }

/* Feature grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.feature {
  background: #fff;
  border: 1px solid var(--warm-border);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 1px 3px rgba(45,55,72,.05), 0 4px 14px rgba(45,55,72,.06);
}
.feature h4 { font-size: 16px; font-weight: 600; color: var(--dark); }
.feature p { font-size: 14px; color: #3b4859; margin-top: 8px; line-height: 1.6; }
.feature .chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.chip.blue  { background: rgba(43,108,176,.12);  color: var(--blue); }
.chip.gold  { background: rgba(201,150,43,.16);  color: #a87c20; }
.chip.green { background: rgba(56,128,123,.14);  color: var(--green); }
.chip.gray  { background: rgba(113,128,150,.15); color: #5a6678; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.step {
  background: #fff;
  border: 1px solid var(--warm-border);
  border-radius: 14px;
  padding: 26px;
  position: relative;
  box-shadow: 0 1px 3px rgba(45,55,72,.05), 0 4px 14px rgba(45,55,72,.06);
}
.step .num {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  margin-bottom: 14px;
}
.step.gold-steps .num  { background: var(--gold); }
.step.blue-steps .num  { background: var(--blue); }
.step.green-steps .num { background: var(--green); }
.step h4 { font-size: 16px; font-weight: 600; color: var(--dark); }
.step p { font-size: 14px; color: #3b4859; margin-top: 6px; }
.steps-label { font-size: 14px; font-weight: 600; color: var(--gray); margin-top: 40px; text-transform: uppercase; letter-spacing: .1em; }

/* Honesty / memory duo */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.duo .card h3 { font-size: 20px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.duo .card p { font-size: 15px; color: #3b4859; margin-top: 12px; }
.duo .card ul { margin-top: 14px; padding-left: 0; list-style: none; }
.duo .card ul li { font-size: 14px; color: var(--dark); padding: 5px 0 5px 24px; position: relative; }
.duo .card ul li::before { content: "—"; position: absolute; left: 0; color: var(--gold); font-weight: 600; }

/* ── Trust band ── */
.trust {
  background: linear-gradient(180deg, var(--dark) 0%, var(--hero-end) 100%);
  color: #fff;
  padding: 56px 0;
}
.trust h3 { font-size: 22px; font-weight: 600; }
.trust .items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.trust .item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 18px 20px;
}
.trust .item h5 { font-size: 14px; font-weight: 600; color: #fff; }
.trust .item p { font-size: 12.5px; color: rgba(255,255,255,.7); margin-top: 6px; line-height: 1.55; }
.trust .fine { margin-top: 22px; font-size: 12px; color: rgba(255,255,255,.55); max-width: 90ch; line-height: 1.6; }

/* ── Navy statement band — one decisive dark break per page ── */
.navy-band {
  background: linear-gradient(155deg, var(--dark) 0%, var(--hero-mid) 100%);
  color: #fff;
  padding: 68px 0;
  position: relative;
  overflow: hidden;
}
.navy-band::after {
  content: "";
  position: absolute;
  right: -120px; top: -90px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227,201,130,.14), transparent 70%);
  pointer-events: none;
}
.navy-band .nb-inner { position: relative; z-index: 1; }
.navy-band .eyebrow { color: #e3c982; }
.navy-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin-top: 12px; max-width: 26ch; }
.navy-band .nb-sub { font-size: 16px; color: rgba(255,255,255,.82); margin-top: 14px; max-width: 62ch; line-height: 1.6; }
.navy-band.center .nb-sub, .navy-band.center h2, .navy-band .center .nb-sub, .navy-band .center h2 { margin-left: auto; margin-right: auto; }
.navy-band .nb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.navy-band .nb-grid.cols3 { grid-template-columns: repeat(3, 1fr); }
.navy-band .nb-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 24px 26px;
}
.navy-band .nb-card h4 { font-size: 17px; font-weight: 600; color: #fff; }
.navy-band .nb-card p { font-size: 14px; color: rgba(255,255,255,.78); margin-top: 8px; line-height: 1.6; }
.navy-band .nb-card .stamp { margin-bottom: 14px; }
.navy-band .di { background: rgba(255,255,255,.09); }
.navy-band .di svg .st { stroke: #ccd8e6; }
.navy-band .di svg .ac { stroke: #e3c982; }
.navy-band .di svg .af { fill: #e3c982; }
.navy-band .chip.gold  { background: rgba(227,201,130,.16); color: #e3c982; }
.navy-band .chip.blue  { background: rgba(123,163,204,.18); color: #a9c4e0; }
.navy-band .chip.green { background: rgba(120,190,150,.16); color: #8fd0aa; }
.navy-band .chip.gray  { background: rgba(204,216,230,.15); color: #ccd8e6; }
/* Thread-flow ladder, rendered on the navy band */
.navy-band .thread-flow .tnode h5 { color: #fff; }
.navy-band .thread-flow .tnode p { color: rgba(255,255,255,.78); }
.navy-band .thread-flow .tnode .t-num { color: #e3c982; }
.navy-band .thread-flow .tnode::after { border-color: var(--dark); }
.navy-band .thread-flow .tnode.now::after { box-shadow: 0 0 0 2px var(--dark), 0 0 0 4px var(--gold); }
.navy-band .nb-guarantee {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  padding: 26px 28px;
  margin-top: 40px;
  max-width: 760px;
}
.navy-band .nb-guarantee p { color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.6; }
.navy-band .nb-guarantee p strong { color: #fff; }
.navy-band .nb-guarantee .nb-terms { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 12px; }
@media (max-width: 900px) {
  .navy-band .nb-grid, .navy-band .nb-grid.cols3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .navy-band { padding: 48px 0; }
}

/* ── CTA band ── */
.cta-band { padding: 72px 0; text-align: center; }
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -.01em; }
.cta-band p { font-size: 16px; color: #3b4859; margin-top: 12px; }
.cta-band .cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* ── Prose (about page) ── */
.prose { max-width: 720px; }
.prose p { font-size: 16px; color: #3d4a5c; margin-top: 18px; line-height: 1.75; }
.prose p strong { color: var(--dark); }
.prose h3 { font-size: 20px; font-weight: 600; margin-top: 40px; }

/* ── Footer ── */
footer {
  background: #fffdfa;
  border-top: 1px solid var(--warm-border);
  padding: 56px 0 40px;
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid .wordmark { font-size: 22px; }
.foot-blurb { font-size: 13px; color: var(--gray); margin-top: 12px; max-width: 34ch; line-height: 1.6; }
.foot-col h6 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--gray); margin-bottom: 14px; }
.foot-col a { display: block; font-size: 14px; color: var(--dark); text-decoration: none; padding: 4px 0; }
.foot-col a:hover { color: var(--blue); }
.foot-legal {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--warm-border);
  font-size: 11.5px;
  color: var(--gray);
  line-height: 1.7;
}
.foot-legal a { color: var(--gray); }

/* ── "What happens next" strip ── */
.next-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 4px 0 8px;
}
ol.next-strip {
  list-style: none;
  counter-reset: nstep;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 0 24px;
  padding: 12px 16px;
  background: var(--warm-cream);
  border: 1px solid var(--warm-border);
  border-radius: 10px;
}
ol.next-strip li {
  counter-increment: nstep;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}
ol.next-strip li::before {
  content: counter(nstep);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--gold);
}
ol.next-strip.blue li::before { background: var(--blue); }
ol.next-strip li:not(:last-child)::after {
  content: "→";
  color: var(--gray);
  font-weight: 400;
  margin-left: 6px;
}
ol.next-strip.standalone {
  justify-content: center;
  max-width: 940px;
  margin: 0 auto;
  padding: 16px 22px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(45,55,72,.05), 0 6px 18px rgba(45,55,72,.08);
}
ol.next-strip.standalone li { font-size: 14px; }

/* ── FAQ (native <details>, no JS) ── */
.faq-list { margin-top: 36px; max-width: 780px; }
details.faq {
  background: #fff;
  border: 1px solid var(--warm-border);
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(45,55,72,.05), 0 4px 14px rgba(45,55,72,.06);
}
details.faq summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  padding: 18px 52px 18px 22px;
  list-style: none;
  position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--gold);
}
details.faq[open] summary::after { content: "−"; }
details.faq .faq-a {
  padding: 0 22px 20px;
  font-size: 15px;
  color: #3b4859;
  line-height: 1.65;
  max-width: 68ch;
}
details.faq .faq-a p + p { margin-top: 10px; }

/* ── Old way vs with Allie comparison table ── */
table.compare {
  width: 100%;
  margin-top: 40px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--warm-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(45,55,72,.05), 0 6px 18px rgba(45,55,72,.07);
}
table.compare th, table.compare td {
  padding: 16px 22px;
  text-align: left;
  vertical-align: top;
  font-size: 14.5px;
  line-height: 1.55;
}
table.compare thead th {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-bottom: 1px solid var(--warm-border);
  background: var(--warm-cream);
}
table.compare thead th.old-col { color: var(--gray); }
table.compare thead th.new-col { color: #a87c20; }
table.compare tbody th {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  width: 20%;
}
table.compare tbody td.old-col { color: #525f70; width: 40%; }
table.compare tbody td.new-col { color: var(--dark); background: rgba(201,150,43,.08); width: 40%; }
table.compare tbody tr + tr th,
table.compare tbody tr + tr td { border-top: 1px solid var(--warm-border); }

/* ── Partner band (home, under the two doors) ── */
.partner-band {
  background: var(--warm-cream);
  border-top: 1px solid var(--warm-border);
  border-bottom: 1px solid var(--warm-border);
  padding: 30px 0;
}
.partner-band .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  flex-wrap: wrap;
  text-align: center;
}
.partner-band .q {
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
}
.partner-band .q .soft { font-weight: 400; color: #3b4859; }
.partner-band a.partner-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  border-bottom: 2px solid rgba(56,128,123,.35);
  padding-bottom: 1px;
  transition: border-color .15s ease;
}
.partner-band a.partner-link:hover { border-bottom-color: var(--green); }

/* ═══════════════════════════════════════════════════════════════════
   v3 BRAND DEVICE KIT
   1 memory thread · 2 source stamp · 3 oversized numerals ·
   4 Allie's note · 5 duotone icons · 6 honest empty state ·
   7 product frames · 8 evidence callouts
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1 · The memory thread — signature device ── */
/* Barely-visible thread-line woven into every navy hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='860' height='560' viewBox='0 0 860 560' fill='none'%3E%3Cpath d='M30 545 C 150 470, 110 360, 250 330 S 470 290, 505 185 S 690 95, 835 55' stroke='%23e3c982' stroke-opacity='.14' stroke-width='1.5'/%3E%3Ccircle cx='250' cy='330' r='3' fill='%23e3c982' fill-opacity='.28'/%3E%3Ccircle cx='505' cy='185' r='3' fill='%23e3c982' fill-opacity='.28'/%3E%3Ccircle cx='835' cy='55' r='3.5' fill='%23e3c982' fill-opacity='.32'/%3E%3Ccircle cx='30' cy='545' r='2.5' fill='%23e3c982' fill-opacity='.22'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -30px bottom -20px;
  pointer-events: none;
}

/* Horizontal thread timeline — labeled nodes on a thin gold line */
.thread-flow { display: flex; margin-top: 48px; }
.thread-flow .tnode { flex: 1; position: relative; text-align: center; padding: 26px 12px 0; }
.thread-flow .tnode::before {
  content: "";
  position: absolute;
  top: 5px; left: 0; right: 0;
  height: 1.5px;
  background: var(--gold);
  opacity: .45;
}
.thread-flow .tnode:first-child::before { left: 50%; }
.thread-flow .tnode:last-child::before { right: 50%; }
.thread-flow .tnode::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #fdfaf4;
  box-shadow: 0 0 0 1.5px var(--gold);
}
.thread-flow .tnode .t-num {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #a87c20;
}
.thread-flow .tnode h5 { font-size: 15px; font-weight: 600; color: var(--dark); margin-top: 6px; }
.thread-flow .tnode p { font-size: 12.5px; color: #3b4859; line-height: 1.55; margin: 5px auto 0; max-width: 24ch; }
.thread-flow .tnode.now::after { width: 13px; height: 13px; top: -1px; }

/* Emphasis node — the psychological commitment moment (partners handoff) */
.thread-flow .tnode.key::after {
  width: 18px; height: 18px; top: -3.5px;
  background: var(--gold);
  box-shadow: 0 0 0 2px #fdfaf4, 0 0 0 4px var(--gold), 0 4px 12px rgba(201,150,43,.4);
}
.thread-flow .tnode.key .t-num { color: #8a6416; font-size: 12px; }
.thread-flow .tnode.key h5 { font-size: 17px; color: var(--dark); font-weight: 700; }
.thread-flow .tnode.key p { color: #3b4859; }
/* On navy bands, the key node must lighten too (specificity beats the base .key rules) */
.navy-band .thread-flow .tnode.key h5 { color: #fff; }
.navy-band .thread-flow .tnode.key p { color: rgba(255,255,255,.85); }
.navy-band .thread-flow .tnode.key .t-num { color: #e3c982; }

/* Vertical thread tick — connects a section moment to the one above */
.thread-tick {
  width: 1.5px; height: 44px;
  margin: 0 auto 20px;
  background: linear-gradient(180deg, rgba(201,150,43,0), var(--gold));
  position: relative;
}
.thread-tick::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── 2 · The source stamp — honesty as a hallmark ── */
.stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  line-height: 1.4;
  color: #a87c20;
  border: 1px solid rgba(201,150,43,.5);
  border-radius: 6px;
  padding: 5px 11px;
  background: rgba(201,150,43,.06);
  white-space: nowrap;
}
.stamp::before {
  content: "";
  flex-shrink: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1.5px solid #a87c20;
}
.stamp.tilt { /* tilt retired — read as crooked, not stamped (owner call) */ }
.stamp.on-dark { color: #e3c982; border-color: rgba(227,201,130,.45); background: rgba(227,201,130,.08); }
.stamp.on-dark::before { border-color: #e3c982; }

/* ── 3 · Oversized honest numerals — one visual event per section ── */
.big-moment { display: flex; align-items: center; gap: 44px; margin-top: 44px; flex-wrap: wrap; }
.big-num {
  font-weight: 700;
  font-size: clamp(88px, 9vw, 136px);
  line-height: .9;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.big-num.gold { color: var(--gold); }
.big-num.navy { color: var(--dark); }
.big-num .big-unit { font-size: .28em; font-weight: 600; letter-spacing: 0; color: var(--gray); margin-left: 6px; }
.big-side { max-width: 44ch; }
.big-side h3 { font-size: 20px; font-weight: 600; }
.big-side p { font-size: 15px; color: #3b4859; margin-top: 8px; line-height: 1.65; }
.big-side .stamp { margin-top: 16px; }

/* ── 4 · Allie's note — a product-UI fragment, not a cartoon bubble ── */
.allie-note {
  background: #fff;
  border: 1px solid var(--warm-border);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  max-width: 580px;
  box-shadow: 0 1px 3px rgba(45,55,72,.05), 0 6px 18px rgba(45,55,72,.08);
  overflow: hidden;
}
.allie-note .an-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-bottom: 1px solid #f0ebdf;
  background: #fffdf9;
}
.allie-note .an-head .allie-avatar { width: 26px; height: 26px; border-width: 1.5px; }
.allie-note .an-name { font-size: 13px; font-weight: 600; color: var(--dark); }
.allie-note .an-context { font-size: 11.5px; color: var(--gray); margin-left: auto; text-align: right; }
.allie-note .an-body { padding: 15px 18px; font-size: 14.5px; line-height: 1.62; color: var(--dark); }
.allie-note .an-src {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px 11px;
  font-size: 11px;
  letter-spacing: .03em;
  color: var(--gray);
  border-top: 1px dashed var(--warm-border);
}
.allie-note .an-src::before {
  content: "";
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.allie-note.center-note { margin: 40px auto 0; }

/* ── 5 · Duotone icons — navy stroke, gold accent, one voice ── */
.di {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43,108,176,.07);
  margin-bottom: 14px;
  flex-shrink: 0;
}
.di svg { width: 22px; height: 22px; overflow: visible; }
.di svg .st { fill: none; stroke: #3a4a61; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.di svg .ac { fill: none; stroke: var(--gold); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.di svg .af { fill: var(--gold); stroke: none; }
.trust .di { background: rgba(255,255,255,.09); }
.trust .di svg .st { stroke: #ccd8e6; }
.trust .di svg .ac { stroke: #e3c982; }
.trust .di svg .af { fill: #e3c982; }

/* ── 6 · Honest empty state — the boldest visual we have ── */
.ui-empty {
  background: #fff;
  border: 1px solid var(--warm-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(45,55,72,.06), 0 12px 30px rgba(45,55,72,.09);
  max-width: 460px;
}
.ui-empty .ue-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--warm-cream);
  border-bottom: 1px solid var(--warm-border);
}
.ui-empty .ue-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d8cfbd; display: block; }
.ui-empty .ue-bar .ue-title {
  margin-left: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
  font-style: normal;
}
.ui-empty .ue-body { padding: 38px 30px 34px; text-align: center; }
.ui-empty .ue-mark {
  width: 46px; height: 46px;
  margin: 0 auto 16px;
  border: 1.5px dashed rgba(201,150,43,.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a87c20;
  font-size: 18px;
  font-weight: 600;
}
.ui-empty h5 { font-size: 17px; font-weight: 600; color: var(--dark); line-height: 1.4; }
.ui-empty .ue-sub { font-size: 14px; color: var(--gray); margin-top: 8px; }
.ui-empty .ue-foot {
  padding: 12px 18px;
  border-top: 1px dashed var(--warm-border);
  font-size: 11.5px;
  color: var(--gray);
  text-align: center;
}

/* ── 7 · Product frames — the app, shown as evidence ── */
.shot {
  background: #fff;
  border: 1px solid var(--warm-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(45,55,72,.08), 0 22px 50px rgba(45,55,72,.17);
}
.shot .shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #212a38;
}
.shot .shot-bar i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.shot .shot-bar i:nth-child(1) { background: #d98a80; }
.shot .shot-bar i:nth-child(2) { background: #dcbb7a; }
.shot .shot-bar i:nth-child(3) { background: #83b892; }
.shot .shot-bar .shot-url {
  margin-left: 10px;
  font-size: 11px;
  color: #8b9cb3;
  letter-spacing: .03em;
  font-style: normal;
}
.shot img, .shot picture img { width: 100%; height: auto; display: block; }

/* Uniform screenshot heights inside side-by-side pairs: each frame crops to a
   16/10 window (top-anchored so app headers stay visible); the lightbox shows
   the full uncropped shot on click. Solo/hero shots keep natural height. */
.shot-duo .shot img, .shot-duo .shot picture img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.shot .shot-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-top: 1px solid var(--warm-border);
}
.shot .shot-cap .cap-text { font-size: 13px; color: #3b4859; }
.shot .shot-cap .cap-text strong { color: var(--dark); font-weight: 600; }
.shot-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; align-items: start; }
/* Home: give the two product shots ~12% more presence by breaking past the wrap */
.shot-duo.showcase { width: calc(100% + 120px); margin-left: -60px; margin-right: -60px; gap: 28px; }
.shot-hero { margin-top: 40px; }

/* ── 8 · Evidence split + callout rows (agents) ── */
.evidence-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; margin-top: 44px; align-items: start; }
.callouts { display: grid; gap: 16px; }
.callouts.cols3 { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--warm-border);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 1px 3px rgba(45,55,72,.05), 0 4px 14px rgba(45,55,72,.06);
}
.callout .di { margin-bottom: 0; }
.callout h4 { font-size: 15.5px; font-weight: 600; color: var(--dark); }
.callout p { font-size: 13.5px; color: #3b4859; margin-top: 5px; line-height: 1.6; }

/* ── Launch badge (hero eyebrow companion) ── */
.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #2d3748;
  background: linear-gradient(135deg, rgba(201,150,43,.22), rgba(201,150,43,.12));
  border: 1px solid rgba(201,150,43,.55);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.launch-badge::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,150,43,.25);
}
.hero .launch-badge { color: #f4e6c4; background: rgba(227,201,130,.12); border-color: rgba(227,201,130,.5); }
.hero .launch-badge::before { background: #e3c982; box-shadow: 0 0 0 3px rgba(227,201,130,.2); }

/* ── Pre-launch signup form (v3 device kit — card + thread accent) ── */
.signup-section { padding: 80px 0; }
.signup-shell { max-width: 620px; margin: 0 auto; }
.signup-intro { text-align: center; margin-bottom: 28px; }
.signup-card {
  background: #fff;
  border: 1px solid var(--warm-border);
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(45,55,72,.06), 0 14px 34px rgba(45,55,72,.1);
}
.signup-card .su-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: #fffdf9;
  border-bottom: 1px solid #f0ebdf;
}
.signup-card .su-head .allie-avatar { width: 34px; height: 34px; border-width: 2px; }
.signup-card .su-name { font-size: 14px; font-weight: 600; color: var(--dark); }
.signup-card .su-context { font-size: 12px; color: var(--gray); }
.signup-card .su-body { padding: 22px 26px 23px; }

.su-field-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray);
  margin: 15px 0 7px;
}
.su-form > *:first-child .su-field-label,
.su-body > .su-field-label:first-child { margin-top: 4px; }

.su-input {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--dark);
  background: #fff;
  border: 1px solid var(--warm-border);
  border-radius: 9px;
  padding: 11px 13px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.su-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,150,43,.15);
}
select.su-input { appearance: none; cursor: pointer; background-image: none; }

.su-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.su-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.su-chip {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dark);
  background: #fff;
  border: 1px solid var(--warm-border);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease, transform .1s ease;
}
.su-chip:hover { border-color: var(--gray); transform: translateY(-1px); }
.su-chip.active {
  color: #fff;
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
}

.su-submit { width: 100%; justify-content: center; margin-top: 21px; }
.su-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray);
  margin-top: 12px;
}
.su-privacy::before {
  content: "";
  flex-shrink: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
}

.su-status { font-size: 13.5px; margin-top: 12px; line-height: 1.5; }
.su-status.err { color: var(--red); }
.su-status a { color: var(--blue); font-weight: 600; }

/* Honeypot — kept in the DOM/tab-order-excluded but off-screen for humans. */
.su-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Success state */
.signup-card.su-done .su-body { text-align: center; padding: 34px 30px 32px; }
.su-done-check svg { width: 46px; height: 46px; margin: 0 auto 6px; }
.su-done-h { font-size: 20px; font-weight: 600; color: var(--dark); }
.su-done-p { font-size: 15px; color: #3b4859; margin-top: 10px; line-height: 1.6; max-width: 44ch; margin-left: auto; margin-right: auto; }
.su-src {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: .03em;
  color: var(--gray);
}
.su-src::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ── Reveal on scroll: RETIRED (owner call — the fade-in read as blur/lag).
   Content renders instantly; the .reveal class is inert. ── */
.reveal { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE — desktop-first, hardened for real phones
   Breakpoints: 900 (tablet), 768 (small tablet / large phone), 600 (phone)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Tablet ── */
@media (max-width: 900px) {
  .split, .duo, .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .trust .items { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .shot-duo, .evidence-split, .callouts.cols3 { grid-template-columns: 1fr; }
  /* Home showcase breakout collapses back inside the wrap on stacked layouts */
  .shot-duo.showcase { width: 100%; margin-left: 0; margin-right: 0; gap: 24px; }
  .big-moment { gap: 24px; }
}

/* ── Small tablet / large phone: nav wraps to two tidy rows ── */
@media (max-width: 820px) {
  .nav-inner { flex-wrap: wrap; height: auto; row-gap: 0; padding-top: 10px; padding-bottom: 10px; }
  .nav .wordmark { flex: 0 0 auto; }
  .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--warm-border);
    justify-content: flex-start;
  }
  /* Keep the primary CTA up on the top row, pinned right */
  .nav-links .btn { order: -1; margin-left: auto; }
}

/* ── Phone ── */
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }

  .grid-3, .steps, .trust .items { grid-template-columns: 1fr; }
  .su-two { grid-template-columns: 1fr; }

  /* Heroes: tighter padding, full-width CTAs */
  .hero { padding: 56px 0 60px; }
  .hero h1 { max-width: none; }
  .hero .sub { font-size: 16px; max-width: none; }
  .hero .cta-row { flex-direction: column; align-items: stretch; }
  .hero .cta-row .btn { justify-content: center; }
  .allie-avatar.lg { width: 68px; height: 68px; }
  .allie-intro .wordmark { font-size: 26px !important; }

  /* Section rhythm */
  section.block { padding: 52px 0; }
  section.block.tight { padding: 40px 0; }
  .cta-band { padding: 52px 0; }
  .cta-band .cta-row { flex-direction: column; align-items: stretch; }
  .cta-band .cta-row .btn { justify-content: center; }
  .trust { padding: 44px 0; }

  /* Oversized numerals scale down so they never crowd their copy */
  .big-moment { flex-direction: column; align-items: flex-start; gap: 16px; }
  .big-num { font-size: clamp(64px, 20vw, 92px); }
  .big-side { max-width: none; }

  /* Cards & features: a touch less padding on phones */
  .card { padding: 24px; }
  .feature, .step, .callout { padding: 20px; }
  .split .card { padding: 24px; }

  /* Product screenshots go full-bleed edge to edge — feels like the app */
  .shot-duo, .shot-hero { width: 100vw; margin-left: 50%; transform: translateX(-50%); border-radius: 0; }
  .shot { border-radius: 0; border-left: none; border-right: none; }
  .shot-duo { gap: 0; row-gap: 20px; }
  /* Re-inset any inline-styled figure margins */
  .shot-duo .shot { margin: 0 !important; }

  /* Comparison table: horizontal scroll rather than crushed columns */
  table.compare { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: normal; }
  table.compare th, table.compare td { padding: 12px 14px; font-size: 13px; }
  table.compare tbody th { width: auto; min-width: 96px; }
  table.compare tbody td.old-col, table.compare tbody td.new-col { min-width: 200px; }

  /* Signup: chips wrap (already flex-wrap), form sits full-width */
  .signup-shell { max-width: none; }
  .signup-card .su-body { padding: 20px 18px 22px; }

  /* Partner band stacks and centers cleanly */
  .partner-band .inner { flex-direction: column; gap: 12px; }

  /* Next-strip: let steps stack instead of forcing arrows to wrap awkwardly */
  ol.next-strip.standalone { padding: 14px 16px; }

  /* Footer to a single column */
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Evidence callouts icon + text keep side-by-side but tighter */
  .callout { gap: 12px; }

  /* Vertical thread collapse — nodes stack on a single gold rail */
  .thread-flow { flex-direction: column; align-items: flex-start; margin-top: 32px; }
  .thread-flow .tnode { text-align: left; padding: 4px 0 22px 26px; width: 100%; }
  .thread-flow .tnode::before { top: 8px; bottom: -8px; left: 5px; right: auto; width: 1.5px; height: auto; }
  .thread-flow .tnode:first-child::before { left: 5px; top: 8px; }
  .thread-flow .tnode:last-child::before { display: none; }
  .thread-flow .tnode::after { left: 5px; top: 4px; transform: none; }
  .thread-flow .tnode p { margin-left: 0; max-width: none; }
  /* Emphasis node keeps its dominance in the vertical rail */
  .thread-flow .tnode.key::after { left: 2px; top: 2px; }
}

/* ── Very narrow (≤380px): shrink hero headline one more notch ── */
@media (max-width: 380px) {
  .hero h1 { font-size: clamp(28px, 8.5vw, 34px); }
  .btn { padding: 12px 20px; font-size: 14px; }
}

/* Product screenshot lightbox */
.shot img {
  cursor: zoom-in;
}

.screenshot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  background: rgba(14, 25, 30, 0.88);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.screenshot-lightbox[hidden] {
  display: none;
}

.screenshot-lightbox__image {
  display: block;
  max-width: 92vw;
  max-height: 92vh;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.screenshot-lightbox__close {
  position: fixed;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(20, 30, 34, 0.72);
  color: #fff;
  font: 300 28px/34px Arial, sans-serif;
  cursor: pointer;
}

.screenshot-lightbox__close:hover,
.screenshot-lightbox__close:focus-visible {
  background: rgba(20, 30, 34, 0.95);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.signup-card .su-def {
  font-size: 13.5px; line-height: 1.6; color: #5a6a7e;
  background: #f6f2e9; border: 1px solid #e8e0cf; border-radius: 10px;
  padding: 12px 14px; margin-bottom: 4px;
}
