/* ═══════════════════════════════════════════════════════════════════════
   The Influence Insider — public site design system (Nov 2026 redesign)

   Structure and craft follow the Incirex marketing site: deep navy hero
   with a faint grid, a traced "decision path" visual, solid text colours
   for predictable contrast, Inter 800 headings, rounded 16px cards,
   uppercase kickers, tabbed explainers, navy bands and a gradient CTA.
   Brand stays The Influence Insider: navy + gold.
   Used by index, about, pricing, login and register. Member-area pages
   keep their own styles.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --navy:        #0D1B2A;   /* hero, bands                      */
  --navy-2:      #13253A;   /* strips, panels on navy           */
  --navy-deep:   #07101B;   /* footer                           */
  --panel:       #102236;   /* cards inside dark panels         */
  --brand:       #1B3A5C;   /* secondary blue: tabs, gradients  */
  --brand-hover: #15304D;

  --gold:        #C9A84C;   /* accent on dark, button fill      */
  --gold-hover:  #D8BA63;
  --gold-text:   #7E6216;   /* gold for text on white (5.6:1)   */
  --gold-soft:   #F8F1DF;   /* soft gold surface                */

  --green:       #5CCF9F;   /* "the decision" / success on dark */
  --green-text:  #1C7A55;

  /* Text on navy (solid colours, not white-at-opacity) */
  --text-1: #F1F5F9;        /* headings     ~16:1 */
  --text-2: #D5DEEA;        /* body         ~13:1 */
  --text-3: #A9B7C9;        /* meta, labels  ~8:1 */

  /* Text and lines on light */
  --ink:    #0F1B2D;
  --muted:  #4A5A70;
  --line:   #E3E8EF;
  --soft:   #F7F6F2;        /* warm off-white sections */
  --white:  #FFFFFF;

  --error:     #B42318;
  --error-bg:  #FDF3F2;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius:    16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --header-h:  100px;       /* announcement (36) + nav (64) */
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3 { text-wrap: balance; line-height: 1.25; }

:where(a, button, input, textarea, select, summary, label):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; 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: 1152px; margin: 0 auto; padding: 0 24px; }
.section   { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } }
.bg-soft  { background: var(--soft); }
.bg-white { background: var(--white); }
.bg-navy  { background: var(--navy); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, opacity .15s ease;
}
.btn-sm    { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: var(--radius-xs); }
.btn-block { display: flex; width: 100%; }
.btn-gold  { background: var(--gold); color: var(--navy); }
.btn-gold:hover  { background: var(--gold-hover); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: #E8EDF4; }
.btn-ghost { border: 1px solid rgba(255,255,255,.3); color: var(--white); }
.btn-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); }
.btn-brand { background: var(--brand); color: var(--white); }
.btn-brand:hover { background: var(--brand-hover); }
.btn-outline { border: 1px solid var(--line); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--brand); }
.btn[disabled] { opacity: .6; cursor: default; }

.link-gold { color: var(--gold); font-weight: 600; text-underline-offset: 4px; }

/* ── Header ────────────────────────────────────────────────────────────── */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; }
.announce {
  height: 36px; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 0 16px; background: var(--brand); color: var(--white);
  font-size: 12px; font-weight: 500; text-align: center;
}
.announce .tag { color: var(--text-2); }
.announce a { color: var(--gold); font-weight: 600; }
.announce .short { display: none; }
@media (max-width: 560px) { .announce .tag, .announce .long { display: none; } .announce .short { display: inline; } }

.nav-bar { background: rgba(13,27,42,.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.1); }
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; flex: none; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.03em; }
.logo-mark { flex: none; }
.logo .accent { color: var(--gold); }

.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 12px; border-radius: var(--radius-xs);
  color: var(--text-2); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"] { background: rgba(201,168,76,.12); color: var(--gold); }
.nav-actions { display: none; align-items: center; gap: 8px; }
.nav-signin { padding: 8px 14px; border-radius: var(--radius-xs); color: var(--text-1); font-size: 14px; font-weight: 600; text-decoration: none; }
.nav-signin:hover { background: rgba(255,255,255,.08); }

.nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-xs); color: var(--white); }
.nav-toggle .i-close { display: none; }
.site-header.open .nav-toggle .i-open  { display: none; }
.site-header.open .nav-toggle .i-close { display: block; }

.nav-mobile { display: none; border-top: 1px solid rgba(255,255,255,.1); padding: 12px 24px 20px; }
.site-header.open .nav-mobile { display: block; }
.nav-mobile a.m-link { display: block; padding: 12px; border-radius: var(--radius-xs); color: var(--text-1); font-weight: 500; text-decoration: none; }
.nav-mobile a.m-link:hover { background: rgba(255,255,255,.06); }
.nav-mobile .m-actions { display: grid; gap: 8px; margin-top: 12px; }

@media (min-width: 1000px) {
  .nav-links, .nav-actions { display: flex; }
  .nav-toggle, .nav-mobile, .site-header.open .nav-mobile { display: none; }
}

/* ── Section heads ─────────────────────────────────────────────────────── */
.kicker { margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.on-dark .kicker, .kicker.on-dark { color: var(--gold); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.on-dark .h2 { color: var(--text-1); }
.lead { margin-top: 16px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.on-dark .lead { color: var(--text-2); }
.footnote { margin-top: 16px; font-size: 14px; color: var(--muted); }
.on-dark .footnote { color: var(--text-3); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--navy); padding-top: calc(var(--header-h) + 56px); }
@media (min-width: 768px) { .hero { padding-top: calc(var(--header-h) + 72px); } }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg svg { width: 100%; height: 100%; }
.hero-bg .glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(201,168,76,.13), transparent 60%),
    radial-gradient(900px 600px at -10% 100%, rgba(27,58,92,.7), transparent 60%);
}
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; padding-bottom: 64px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.12fr); padding-bottom: 80px; } }

.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(201,168,76,.32); background: rgba(201,168,76,.1);
  color: var(--gold); font-size: 12px; font-weight: 600;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
  color: var(--text-1);
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .hero-sub { margin-top: 20px; max-width: 560px; font-size: 18px; line-height: 1.65; color: var(--text-2); }
.hero-cta { margin-top: 32px; display: grid; gap: 12px; }
@media (min-width: 560px) { .hero-cta { display: flex; flex-wrap: wrap; } }
.hero-meta { margin-top: 20px; font-size: 14px; color: var(--text-3); }

/* Smaller hero for inner pages */
.page-hero { position: relative; overflow: hidden; background: var(--navy); padding: calc(var(--header-h) + 56px) 0 64px; }
.page-hero .inner { position: relative; max-width: 760px; }
.page-hero.center .inner { margin: 0 auto; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; color: var(--text-1); }
.page-hero p.sub { margin-top: 18px; font-size: 18px; line-height: 1.65; color: var(--text-2); }

/* Chip strip under hero */
.chip-strip { position: relative; border-top: 1px solid rgba(255,255,255,.08); background: rgba(19,37,58,.85); padding: 20px 0; }
.chip-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip-strip .label { margin-right: 8px; font-size: 14px; color: var(--text-3); }
.chip { padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); color: var(--text-1); font-size: 14px; font-weight: 500; }

/* ── Hero visual: decision trace ───────────────────────────────────────── */
.trace-wrap { position: relative; }
.trace-wrap::before {
  content: ""; position: absolute; inset: -24px; border-radius: 28px;
  background: radial-gradient(closest-side, rgba(201,168,76,.14), transparent);
}
.trace-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12); background: rgba(14,29,46,.92);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}
.trace-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.1); background: #0B1828; }
.trace-head p { font-size: 14px; font-weight: 600; color: var(--text-1); }
.badge-gold { padding: 2px 10px; border-radius: 999px; background: rgba(201,168,76,.15); color: var(--gold); font-size: 12px; font-weight: 600; }
.trace-map { display: none; padding: 16px; }
.trace-map svg { width: 100%; height: auto; }
.trace-list { display: grid; gap: 8px; padding: 16px; }
@media (min-width: 640px) { .trace-map { display: block; } .trace-list { display: none; } }
.trace-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(201,168,76,.4); background: rgba(201,168,76,.05); font-size: 14px; }
.trace-list li b { color: var(--text-1); font-weight: 600; }
.trace-list li span { font-size: 12px; color: var(--text-3); }
.trace-list li.start { border-color: var(--gold); background: rgba(201,168,76,.12); }
.trace-list li.end { border-color: var(--green); background: rgba(92,207,159,.1); }
.trace-foot { display: grid; gap: 12px; padding: 16px; border-top: 1px solid rgba(255,255,255,.1); }
@media (min-width: 768px) { .trace-foot { grid-template-columns: 1.2fr 1fr; } }
.trace-box { padding: 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); }
.trace-box.accent { border-color: rgba(201,168,76,.3); background: rgba(201,168,76,.07); }
.trace-box .t { margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--gold); }
.trace-box .v { font-size: 14px; font-weight: 600; color: var(--text-1); }
.trace-box.accent .v { font-weight: 400; color: var(--text-2); }
.trace-legend { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--text-3); }
.trace-legend .keys { display: flex; flex-wrap: wrap; gap: 16px; }
.trace-legend .k { display: flex; align-items: center; gap: 6px; }
.sw { width: 10px; height: 10px; border-radius: 2px; border: 2px solid; }
.sw.gold { border-color: var(--gold); }
.sw.green { border-color: var(--green); }
.sw.line { width: 16px; height: 2px; border: 0; background: var(--gold); }

.trace-path { stroke-dasharray: 14 10; }
@keyframes ii-flow { to { stroke-dashoffset: -48; } }
@media (prefers-reduced-motion: no-preference) { .trace-path { animation: ii-flow 1.6s linear infinite; } }

/* ── Proof strip ───────────────────────────────────────────────────────── */
.proof { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 1024px) { .proof { grid-template-columns: minmax(0,2fr) minmax(0,1fr); } }
.proof-stats { display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.proof-stats > div { display: flex; flex-direction: column; justify-content: center; padding: 24px; }
.proof-stats > div:nth-child(even) { border-left: 1px solid var(--line); }
.proof-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
@media (min-width: 768px) {
  .proof-stats { grid-template-columns: repeat(4, 1fr); }
  .proof-stats > div:nth-child(n+3) { border-top: 0; }
  .proof-stats > div + div { border-left: 1px solid var(--line); }
}
.stat-v { font-size: clamp(1.75rem, 2.8vw, 2.25rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--brand); white-space: nowrap; }
.stat-l { margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.offer-card { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--gold-soft); }
.offer-card .kicker { margin-bottom: 4px; }
.offer-card p.body { font-weight: 600; color: var(--ink); }

/* ── Cards ─────────────────────────────────────────────────────────────── */
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card { height: 100%; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.icon-box { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: var(--radius-sm); background: #E7EDF5; color: var(--brand); }
.icon-box svg { width: 24px; height: 24px; }
.card h3 { font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.card p { margin-top: 8px; color: var(--muted); }
.card .num { font-size: 13px; font-weight: 700; color: var(--gold-text); margin-bottom: 6px; }

.dark-card { padding: 24px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); }
.dark-card .icon-box { width: 44px; height: 44px; margin-bottom: 16px; background: rgba(201,168,76,.15); color: var(--gold); }
.dark-card .icon-box svg { width: 20px; height: 20px; }
.dark-card h3 { font-size: 16px; font-weight: 600; color: var(--text-1); margin-bottom: 6px; }
.dark-card p { font-size: 14px; line-height: 1.6; color: var(--text-2); }

/* Tick list */
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--muted); line-height: 1.6; }
.ticks li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--green-text); }
.on-dark .ticks li { color: var(--text-2); }
.on-dark .ticks li svg { color: var(--gold); }

/* ── Tabs: How it works ────────────────────────────────────────────────── */
.how { display: grid; gap: 24px; }
@media (min-width: 1024px) { .how { grid-template-columns: minmax(0,5fr) minmax(0,7fr); } }
.how-steps { display: grid; gap: 12px; align-content: start; }
.how-step { padding: 20px; border-radius: var(--radius); border: 1px solid transparent; text-align: left; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.how-step:hover { border-color: var(--line); background: rgba(255,255,255,.7); }
.how-step .n { margin-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--muted); }
.how-step .t { font-size: 18px; font-weight: 600; color: var(--ink); }
.how-step .d { display: none; margin-top: 6px; color: var(--muted); line-height: 1.6; }
.how-step[aria-selected="true"] { border-color: var(--brand); background: var(--white); box-shadow: 0 14px 40px -22px rgba(15,27,45,.35); }
.how-step[aria-selected="true"] .n { color: var(--brand); }
.how-step[aria-selected="true"] .d { display: block; }

.app-panel { border-radius: var(--radius); background: linear-gradient(135deg, var(--navy), #152B45); padding: 20px; }
@media (min-width: 768px) { .app-panel { padding: 32px; } }
.app-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A3A52; }
.app-bar .url { margin-left: 8px; padding: 2px 10px; border-radius: 6px; background: rgba(255,255,255,.05); font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.app-panel [role="tabpanel"][hidden] { display: none; }
.app-panel .illus { margin-top: 16px; text-align: right; font-size: 12px; color: var(--text-3); }

.p-row { display: grid; gap: 10px; }
.p-box { padding: 16px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); }
.p-box.hl { border-color: rgba(201,168,76,.4); background: rgba(201,168,76,.08); }
.p-box .t { margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--gold); }
.p-box .v { font-size: 14px; font-weight: 600; color: var(--text-1); }
.p-box .m { margin-top: 4px; font-size: 12px; color: var(--text-3); }
.p-box .s { margin-top: 4px; font-size: 14px; color: var(--text-2); line-height: 1.55; }

.lesson-head { display: flex; align-items: center; gap: 14px; }
.play { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--navy); }
.bar { margin-top: 12px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--gold); border-radius: 99px; }

.p-steps { display: grid; gap: 10px; }
.p-steps li { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); font-size: 14px; color: var(--text-1); }
.p-steps .c { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 700; border: 1px solid rgba(255,255,255,.25); color: var(--text-3); }
.p-steps .c.done { border: 0; background: var(--gold); color: var(--navy); }

.post { display: flex; gap: 12px; }
.av { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 13px; font-weight: 700; }
.tagx { display: inline-block; margin-bottom: 4px; padding: 1px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; background: rgba(92,207,159,.15); color: var(--green); }

.search { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); font-size: 14px; color: var(--text-3); }
.search svg { width: 16px; height: 16px; }

/* ── Curriculum grid ───────────────────────────────────────────────────── */
.mod-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .mod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mod-grid { grid-template-columns: repeat(4, 1fr); } }
.mod { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .15s, box-shadow .15s, transform .15s; }
.mod:hover { border-color: #C9D3E0; box-shadow: 0 14px 40px -26px rgba(15,27,45,.4); transform: translateY(-2px); }
.mod .no { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mod h3 { flex: 1; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.mod .meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.status { padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status.open { background: #E3F5EC; color: var(--green-text); }
.status.soon { background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.mod.is-open { border-color: rgba(201,168,76,.55); background: linear-gradient(180deg, #FFFDF7, #fff); }

/* ── Why + comparison ──────────────────────────────────────────────────── */
.why { display: grid; gap: 24px; }
@media (min-width: 1024px) { .why { grid-template-columns: minmax(0,5fr) minmax(0,7fr); } }
.grad-card { padding: 32px; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand), var(--navy)); color: var(--text-2); }
@media (min-width: 768px) { .grad-card { padding: 36px; } }
.grad-card h3 { margin-bottom: 16px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--text-1); }
.grad-card p { margin-bottom: 24px; line-height: 1.65; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { position: relative; padding: 16px; text-align: center; }
.compare thead th { background: var(--soft); font-weight: 600; color: var(--ink); }
.compare thead th.us { background: var(--gold-soft); color: var(--gold-text); }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare tbody th { min-width: 190px; text-align: left; font-weight: 500; color: var(--ink); }
.compare td { color: var(--muted); }
.compare td.us { background: rgba(248,241,223,.6); font-weight: 600; color: var(--ink); }
.compare svg { width: 20px; height: 20px; margin: 0 auto; }
.compare .yes { color: var(--green-text); }
.compare .no  { color: var(--error); }

/* ── Role tabs ─────────────────────────────────────────────────────────── */
.role-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.role-tab { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 14px; font-weight: 600; transition: all .15s; }
.role-tab:hover { border-color: rgba(27,58,92,.4); color: var(--ink); }
.role-tab[aria-selected="true"] { border-color: var(--brand); background: var(--brand); color: var(--white); }
.role-panel { max-width: 1000px; margin: 0 auto; display: grid; gap: 32px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 20px 50px -30px rgba(15,27,45,.3); }
.role-panel[hidden] { display: none; }
@media (min-width: 768px) { .role-panel { grid-template-columns: 1fr 1.1fr; padding: 40px; } }
.role-panel h3 { margin-bottom: 12px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.role-panel p { margin-bottom: 24px; color: var(--muted); line-height: 1.65; }

/* ── Testimonials ──────────────────────────────────────────────────────── */
.quote { display: flex; flex-direction: column; gap: 16px; height: 100%; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.quote .stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }
.quote .result { align-self: flex-start; padding: 4px 10px; border-radius: 99px; background: #E3F5EC; color: var(--green-text); font-size: 12px; font-weight: 600; }
.quote blockquote { flex: 1; color: var(--ink); line-height: 1.65; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who b { display: block; font-size: 14px; color: var(--ink); }
.quote .who span { font-size: 13px; color: var(--muted); }

/* ── Pricing ───────────────────────────────────────────────────────────── */
.price-grid { display: grid; gap: 20px; max-width: 880px; margin: 0 auto; }
@media (min-width: 768px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
.price-grid.three { max-width: 1104px; }
@media (min-width: 768px) { .price-grid.three { grid-template-columns: 1fr; max-width: 520px; } }
@media (min-width: 1024px) { .price-grid.three { grid-template-columns: repeat(3, 1fr); max-width: 1104px; } }
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.price-card.featured { border: 2px solid var(--gold); box-shadow: 0 24px 60px -30px rgba(126,98,22,.45); }
.price-badge { align-self: flex-start; margin-bottom: 20px; padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.price-badge.gold { background: var(--gold); color: var(--navy); }
.price-badge.grey { background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.price { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.price small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price-note { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--gold-text); }
.price-card.standard .price-note { color: var(--muted); font-weight: 500; }
.price-card h3 { margin-top: 24px; font-size: 18px; font-weight: 700; color: var(--ink); }
.price-card .desc { margin-top: 6px; color: var(--muted); font-size: 15px; }
.price-card hr { margin: 24px 0; border: 0; border-top: 1px solid var(--line); }
.price-card .ticks { margin-bottom: 28px; flex: 1; align-content: start; }
.price-card .ticks li { color: var(--ink); font-size: 15px; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 1fr 2fr; gap: 64px; } }
.faq { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-item.open { background: #FBF7EC; }
.faq-q { display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; text-align: left; font-weight: 600; color: var(--ink); }
.faq-q svg { flex: none; width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 24px 20px; color: var(--muted); line-height: 1.65; }
.faq-item.open .faq-a { display: block; }

/* ── Final CTA + waitlist ──────────────────────────────────────────────── */
.cta-band { position: relative; overflow: hidden; display: grid; gap: 32px; align-items: center; padding: 40px; border-radius: 24px; background: linear-gradient(135deg, var(--brand), var(--navy)); }
@media (min-width: 768px) { .cta-band { padding: 56px; } }
@media (min-width: 1024px) { .cta-band { grid-template-columns: 1.3fr 1fr; } }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(201,168,76,.22), transparent); pointer-events: none; }
.cta-band h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--text-1); }
.cta-band .copy p.body { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.cta-band .actions { position: relative; z-index: 1; }
@media (min-width: 1024px) { .cta-band .actions.hero-cta { justify-content: flex-end; } }

.waitlist-form { display: grid; gap: 10px; }
.waitlist-form input {
  width: 100%; min-height: 48px; padding: 0 16px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06);
  color: var(--white); font: inherit; font-size: 16px;
}
.waitlist-form input::placeholder { color: var(--text-3); }
.waitlist-form input:focus { outline: none; border-color: var(--gold); }
.waitlist-form input.input-error { border-color: #F59E9E; }
.waitlist-error { font-size: 14px; color: #FCA5A5; }
.waitlist-error:empty { display: none; }
.waitlist-note { font-size: 13px; color: var(--text-3); }
.waitlist-success { display: none; padding: 16px; border-radius: var(--radius-sm); border: 1px solid rgba(92,207,159,.35); background: rgba(92,207,159,.1); color: var(--text-1); font-weight: 600; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { padding: 48px 0 40px; border-top: 1px solid rgba(255,255,255,.12); background: var(--navy-deep); }
.foot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-bottom: 48px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-brand { grid-column: span 2; }
@media (min-width: 768px) { .foot-brand { grid-column: auto; } }
.foot-brand p { margin-top: 12px; max-width: 320px; font-size: 14px; line-height: 1.65; color: var(--text-3); }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-xs); border: 1px solid rgba(255,255,255,.12); color: var(--text-2); }
.socials a:hover { color: var(--white); border-color: rgba(255,255,255,.3); }
.socials svg { width: 16px; height: 16px; }
.foot-col h4 { margin-bottom: 20px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.foot-col ul { display: grid; gap: 12px; }
.foot-col a { font-size: 14px; color: var(--text-2); text-decoration: none; }
.foot-col a:hover { color: var(--white); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: var(--text-3); }

/* ── About page ────────────────────────────────────────────────────────── */
.story { display: grid; gap: 40px; }
@media (min-width: 1024px) { .story { grid-template-columns: 1fr 1.4fr; gap: 64px; } }
.story .prose p { color: var(--muted); font-size: 18px; line-height: 1.75; }
.story .prose p + p { margin-top: 18px; }
.story .prose p:first-child { color: var(--ink); }
.pull { padding: 24px 28px; border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; background: var(--gold-soft); font-size: 20px; font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); }

/* ── Auth pages ────────────────────────────────────────────────────────── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 64px 16px; background: var(--navy); position: relative; overflow-x: hidden; }
.auth-page .hero-bg { position: fixed; }
.auth-shell { position: relative; width: 100%; max-width: 420px; }
.auth-shell.wide { max-width: 480px; }
.auth-brand { margin-bottom: 32px; text-align: center; }
.auth-brand .logo { justify-content: center; font-size: 20px; }
.auth-brand p { margin-top: 8px; font-size: 14px; color: var(--text-3); }
.auth-card { padding: 32px; border-radius: var(--radius); border: 1px solid rgba(201,168,76,.18); background: var(--panel); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.auth-card h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--white); }
.auth-card .auth-sub { margin: 6px 0 24px; font-size: 14px; color: var(--text-3); }
.form-group { margin-bottom: 16px; }
.form-group > label, .field-label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.input {
  width: 100%; min-height: 44px; padding: 0 14px; border-radius: var(--radius-xs);
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05);
  color: var(--white); font: inherit; font-size: 15px; transition: border-color .15s;
}
.input::placeholder { color: #7F8DA1; }
.input:focus { outline: none; border-color: var(--gold); }
.input.input-error { border-color: #F59E9E; }
.field-error { display: none; margin-top: 6px; font-size: 13px; color: #FCA5A5; }
.field-error.visible { display: block; }
.auth-error { margin-bottom: 16px; padding: 10px 14px; border-radius: var(--radius-xs); border: 1px solid rgba(239,68,68,.25); background: rgba(239,68,68,.12); color: #FCA5A5; font-size: 14px; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 20px; font-size: 14px; }
.check { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--gold); }
.form-group > label.check { margin: 0; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text-2); }
.check a, .auth-link { color: var(--gold); font-weight: 600; text-decoration: none; }
.check a:hover, .auth-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-switch { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); text-align: center; font-size: 14px; color: var(--text-2); }
.auth-back { margin-top: 24px; text-align: center; font-size: 13px; }
.auth-back a { color: var(--text-3); text-decoration: none; }
.auth-back a:hover { color: var(--white); }

.tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.tier-radio { position: absolute; opacity: 0; pointer-events: none; }
.tier-card { display: block; height: 100%; padding: 16px; border-radius: var(--radius-sm); border: 1.5px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); cursor: pointer; transition: border-color .15s, background-color .15s; }
.tier-card:hover { border-color: rgba(201,168,76,.5); }
.tier-radio:checked + .tier-card { border-color: var(--gold); background: rgba(201,168,76,.1); }
.tier-radio:focus-visible + .tier-card { outline: 2px solid var(--gold); outline-offset: 2px; }
.tier-card .tb { display: inline-block; min-height: 20px; margin-bottom: 8px; padding: 1px 8px; border-radius: 99px; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 700; }
.tier-card .tb.empty { visibility: hidden; }
.tier-card .tp { font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--white); }
.tier-card .tp small { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--text-3); }
.tier-card .tn { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--text-1); }
.tier-card .td { margin-top: 2px; font-size: 12px; line-height: 1.45; color: var(--text-3); }

/* ── Scroll reveal ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.visible { opacity: 1; transform: none; }
}

/* ── Free plan, referrals, register additions (Nov 2026) ───────────────── */
.price-note.muted { color: var(--muted); font-weight: 500; }
.link-brand { color: var(--brand); font-weight: 600; text-underline-offset: 3px; }
.dark-card .step-n { margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.tier-grid.three { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tier-grid.three .tier-card { padding: 14px 12px; }
.tier-grid.three .tier-card .tp { font-size: 22px; }
@media (max-width: 420px) { .tier-grid.three { grid-template-columns: 1fr; } }
.tier-help { margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--text-3); }
.ref-note { margin: -8px 0 20px; padding: 10px 14px; border-radius: var(--radius-xs); border: 1px solid rgba(92,207,159,.3); background: rgba(92,207,159,.1); color: var(--text-1); font-size: 14px; }
.ref-note[hidden] { display: none; }

/* ── Founding beta (Nov 2026) ──────────────────────────────────────────── */
.beta-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .beta-layout { grid-template-columns: 1fr 1.05fr; } }
.beta-form-card { padding: 32px; }
@media (min-width: 1024px) { .beta-form-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.bfield { display: grid; gap: 6px; margin-bottom: 16px; }
.bfield label { font-size: 14px; font-weight: 600; color: var(--ink); }
.bfield .opt { font-weight: 400; color: var(--muted); }
.binput { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-xs); font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
textarea.binput { resize: vertical; line-height: 1.55; }
.binput:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(27,58,92,.12); }
.bcheck { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: 14px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.bcheck input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.berror { min-height: 0; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--error); }
.berror:empty { display: none; }
.bdone { text-align: center; padding: 24px 8px; }
.bdone h3 { margin: 8px 0; font-size: 22px; color: var(--ink); }
.bdone p { color: var(--muted); line-height: 1.65; }
.bdone a { color: var(--brand); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.beta-strip { max-width: 1104px; margin: 0 auto 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--gold-soft); border: 1px solid rgba(201,168,76,.4); color: var(--ink); font-size: 15px; }
.faq-a a { color: var(--brand); font-weight: 600; }
.hero-lead { margin-bottom: 14px; font-size: 15px; font-weight: 600; letter-spacing: .01em; color: var(--text-3); }
.hero h1 { font-size: clamp(2.1rem, 3.5vw, 3rem); line-height: 1.08; }
/* Hero: align copy to the top of the visual instead of centring it */
@media (min-width: 768px) { .hero { padding-top: calc(var(--header-h) + 48px); } }
@media (min-width: 1024px) { .hero-grid { align-items: start; } .hero-grid > div:first-child { padding-top: 8px; } }
/* Hero spacing, tightened (Nov 2026) */
@media (min-width: 768px) { .hero { padding-top: calc(var(--header-h) + 32px); } }
.hero .pill { margin-bottom: 16px; }
.hero-lead { margin-bottom: 8px; }
@media (min-width: 1024px) { .hero .hero-sub { font-size: 17px; line-height: 1.6; margin-top: 16px; } .hero-cta { margin-top: 26px; } }

.hero-sub strong { color: var(--text-1); font-weight: 600; }
