/* Components — buttons, cards, chips, nav, footer, CTA band, forms */

/* ---------- Buttons (pills) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast), color var(--dur-fast),
              border-color var(--dur-fast), box-shadow var(--dur-fast);
  will-change: transform;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-deep); transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.theme-ink .btn-primary, .cta-band .btn-primary { background: #fff; color: var(--indigo); }
.theme-ink .btn-primary:hover, .cta-band .btn-primary:hover { background: var(--lilac); }

.btn-secondary { background: transparent; color: var(--text); border-color: var(--indigo); }
.btn-secondary:hover { background: var(--indigo-08); transform: translateY(-1px); }
.theme-ink .btn-secondary, .cta-band .btn-secondary { color: #fff; border-color: rgba(255,255,255,.4); }
.theme-ink .btn-secondary:hover, .cta-band .btn-secondary:hover { background: rgba(255,255,255,.08); }

.btn-ghost {
  background: none; border: 0; padding: 0;
  color: var(--hl); font-weight: 600; border-radius: var(--r-sm);
}
.btn-ghost .arrow { transition: transform var(--dur-fast) var(--ease-out); display: inline-block; }
.btn-ghost:hover .arrow { transform: translateX(4px); }

.btn--sm { padding: 11px 20px; font-size: var(--fs-small); }

/* ---------- Cards ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-rest);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast), border-color var(--dur-fast);
}
a.card { color: var(--text); display: block; }
a.card:hover { text-decoration: none; }
.card:hover, .card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--indigo-16);
}
.card--static:hover { transform: none; box-shadow: var(--shadow-rest); border-color: var(--card-border); }
.card--lilac { background: var(--lilac); border-color: transparent; }
.theme-ink .card--lilac { background: var(--card-bg); }

/* ---------- Icon chip (signature element) ---------- */
.chip {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--chip-bg);
  color: var(--chip-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-bottom: var(--sp-4);
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.chip svg { width: 22px; height: 22px; stroke-width: 1.75; }
.card:hover .chip { background: var(--indigo); color: #fff; }

/* ---------- Pills / tags ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--chip-bg);
  color: var(--chip-fg);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .04em;
  padding: 7px 14px;
  border-radius: var(--r-pill);
}

/* ---------- "Result:" bar (from official decks) ---------- */
.result-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4) var(--sp-6);
  background: var(--indigo-deep);
  color: #fff;
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-7);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
}
.result-bar strong { color: var(--lavender); font-weight: 800; margin-right: .4em; }
.result-bar .result-num {
  margin-left: auto;
  font-size: var(--fs-stat);
  font-weight: 800;
  line-height: 1;
}
@media (max-width: 719px) { .result-bar .result-num { margin-left: 0; } }

/* ---------- Stat tiles ---------- */
.stat { text-align: left; }
.stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-stat);
  font-weight: 800;
  line-height: 1;
  color: var(--hl);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--text-60); margin-top: var(--sp-2); font-size: var(--fs-small); }
.delta {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  vertical-align: middle;
}
.delta--up { background: rgba(55,194,106,.14); color: var(--success); }
.delta--lime { background: var(--lime); color: var(--ink); } /* max one per page */

/* ---------- Quote card ---------- */
.quote {
  background: var(--lilac);
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  position: relative;
}
.theme-ink .quote { background: var(--card-bg); }
.quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 5rem;
  line-height: 1;
  color: var(--indigo);
  display: block;
  height: .55em;
  margin-bottom: var(--sp-3);
}
.quote blockquote {
  margin: 0 0 var(--sp-4);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.4;
}
.quote figcaption { color: var(--text-60); font-size: var(--fs-small); }

/* ---------- Checklist bullets ---------- */
.list-check, .list-x { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.list-check li, .list-x li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.list-check li::before, .list-x li::before {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}
.list-check li::before { content: '\2713'; background: rgba(55,194,106,.14); color: var(--success); }
.list-x li::before { content: '\2715'; background: rgba(229,72,77,.10); color: var(--error); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--sp-4); }
.form-row { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-small); font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  width: 100%;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px var(--indigo-16);
}
.field .error-msg { color: var(--error); font-size: var(--fs-eyebrow); display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
.field.is-invalid .error-msg { display: block; }
.form-success {
  display: none;
  background: var(--lilac);
  border-radius: var(--r-lg);
  padding: var(--sp-7);
  text-align: center;
}
.form-success .tick {
  width: 56px; height: 56px;
  margin: 0 auto var(--sp-4);
  border-radius: 50%;
  background: rgba(55,194,106,.14);
  color: var(--success);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.form-wrap.is-done .form { display: none; }
.form-wrap.is-done .form-success { display: block; }
.form-alt { font-size: var(--fs-small); color: var(--text-60); margin-top: var(--sp-3); }

/* ---------- Header / nav (floating pill) ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: 14px;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  height: 64px;
  max-width: min(1160px, calc(100% - 32px));
  padding: 0 10px 0 22px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(13, 10, 43, .06);
  border-radius: var(--r-pill);
  box-shadow: 0 8px 24px rgba(13, 10, 43, .08);
  transition: height .25s var(--ease-out), box-shadow .25s, background-color .25s;
}
.site-header.is-scrolled .container {
  height: 56px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 32px rgba(13, 10, 43, .12);
}
@media (max-width: 1023px) {
  .site-header { padding-top: 10px; }
  .site-header .container { height: 56px; max-width: calc(100% - 24px); padding: 0 8px 0 18px; }
}

.logo { display: inline-flex; align-items: center; flex: none; }
.logo svg { height: 26px; width: auto; }

.nav-desktop { display: none; }
.nav-actions { display: none; }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; align-items: center; gap: var(--sp-2); margin-inline: auto; position: relative; }
  .nav-actions { display: flex; align-items: center; gap: var(--sp-4); }
}

/* Mega panels position against .nav-desktop (centered under the whole nav),
   not the individual item — item-centered panels clip the viewport edge. */
.nav-item { position: static; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-80);
  padding: 10px 14px;
  border-radius: var(--r-pill);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.nav-link:hover { color: var(--indigo); text-decoration: none; background: var(--indigo-08); }
.nav-link.is-active { color: var(--indigo); }
.nav-link .caret { transition: transform var(--dur-fast); width: 10px; height: 10px; }
.nav-item.is-open .nav-link .caret { transform: rotate(180deg); }

/* Mega dropdown */
.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  background: var(--surface);
  border: 1px solid var(--ink-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-hover);
  padding: var(--sp-5);
  display: grid;
  gap: var(--sp-2);
  width: max-content;
  max-width: min(92vw, 880px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility .2s;
}
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
/* Hover bridge across the 10px visual gap between trigger and panel — without it,
   the pointer leaves .nav-item mid-crossing and the menu flickers closed/open. */
.mega::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -16px; height: 16px;
}
.mega--cols { grid-template-columns: repeat(2, minmax(250px, 1fr)); }
.mega--promo { grid-template-columns: repeat(2, minmax(250px, 1fr)) 220px; }
.mega a {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  color: var(--text);
}
.mega a:hover { background: var(--bg); text-decoration: none; }
.mega a.is-active { background: var(--indigo-08); }
.mega .chip { width: 38px; height: 38px; margin: 0; }
.mega .chip svg { width: 19px; height: 19px; }
.mega .mega-name { display: block; font-weight: 600; font-size: var(--fs-small); line-height: 1.3; }
.mega .mega-desc { display: block; font-size: var(--fs-eyebrow); color: var(--text-60); line-height: 1.5; margin-top: 4px; }
.mega-promo {
  grid-row: 1 / span 10;
  grid-column: 3;
  background: var(--lilac);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--sp-2);
}
.mega-promo .mega-name { font-family: var(--font-display); }

/* Mobile menu */
.nav-burger {
  display: inline-flex;
  margin-left: auto;
  background: none; border: 0; cursor: pointer;
  color: var(--ink);
  padding: 10px;
  border-radius: var(--r-sm);
}
.nav-burger svg { width: 26px; height: 26px; }
@media (min-width: 1024px) { .nav-burger { display: none; } }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--ink);
  color: #F3F2FC;
  transform: translateX(100%);
  transition: transform .35s var(--ease-out);
  display: flex;
  flex-direction: column;
  padding: var(--sp-5) var(--gutter) var(--sp-7);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: none; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-7); }
.mobile-menu-top .logo svg { height: 24px; }
.mobile-menu-close { background: none; border: 0; color: inherit; cursor: pointer; padding: 10px; }
.mobile-menu-close svg { width: 26px; height: 26px; }
.mobile-menu nav { display: grid; gap: var(--sp-2); flex: 1; }
.mobile-menu .m-link, .mobile-menu .m-acc-btn {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #F3F2FC;
  background: none; border: 0; cursor: pointer;
  text-align: left;
  padding: var(--sp-3) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.mobile-menu .m-acc-btn .caret { width: 14px; height: 14px; transition: transform var(--dur-fast); }
.mobile-menu .m-acc.is-open .m-acc-btn .caret { transform: rotate(180deg); }
.mobile-menu .m-acc-panel {
  display: none;
  padding: 0 0 var(--sp-4) var(--sp-4);
}
.mobile-menu .m-acc.is-open .m-acc-panel { display: grid; gap: 2px; }
.mobile-menu .m-acc-panel a {
  color: rgba(243,242,252,.75);
  font-size: 1.05rem;
  padding: 8px 0;
}
.mobile-menu .m-acc-panel a.is-active { color: #fff; font-weight: 600; }
.mobile-menu .m-cta { margin-top: var(--sp-6); }
body.menu-open { overflow: hidden; }

/* Scroll progress hairline (home + whitepaper details) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: var(--indigo);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 70;
  pointer-events: none;
}

/* ---------- CTA band ---------- */
.cta-band-wrap { padding-block: var(--section-pad); }
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--indigo-deep);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 6vw, 5rem);
  text-align: center;
}
.cta-band h2 { color: #fff; max-width: 18em; margin-inline: auto; }
.cta-band h2 .hl { color: var(--lavender); }
.cta-band p { color: rgba(243,242,252,.72); max-width: 38em; margin: 0 auto var(--sp-6); }
.cta-band .cta-actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }
.cta-band .cta-glow {
  position: absolute;
  width: 60%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201,194,242,.28), transparent);
  top: -30%; right: -15%;
  pointer-events: none;
}
.cta-band .cta-route {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 40%;
  opacity: .5;
  pointer-events: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(243,242,252,.66);
  padding: var(--sp-10) 0 var(--sp-6);
  position: relative;
  overflow: hidden;
  font-size: var(--fs-small);
}
.footer-grid {
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; } }
.footer-brand .logo svg { height: 24px; }
.footer-brand .strap {
  font-family: var(--font-display);
  font-weight: 700;
  color: #F3F2FC;
  margin: var(--sp-4) 0 var(--sp-2);
}
.footer-col .footer-col-title {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(243,242,252,.45);
  line-height: 1.12; /* matches the h4 default it replaced */
  margin: 0 0 var(--sp-4);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(243,242,252,.66); }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  position: relative;
}
.footer-bottom a { color: rgba(243,242,252,.66); }
.footer-watermark {
  position: absolute;
  right: -40px; bottom: -30px;
  width: 380px;
  opacity: .06;
  pointer-events: none;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(94px + var(--sp-9)) 0 var(--sp-8); }
.page-hero .pill { margin-bottom: var(--sp-4); }
.hero-split {
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}
@media (min-width: 1024px) { .hero-split { grid-template-columns: 55fr 45fr; } }
.hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-6); }

/* ---------- Sticky how-it-works rail ---------- */
.steps { display: grid; gap: var(--sp-7); }
@media (min-width: 1024px) { .steps { grid-template-columns: 280px 1fr; align-items: start; } }
.steps-rail { display: none; }
@media (min-width: 1024px) {
  .steps-rail {
    display: block;
    position: sticky;
    top: 120px;
  }
  .steps-rail .rail-num {
    font-family: var(--font-display);
    font-size: var(--fs-stat);
    font-weight: 800;
    color: var(--indigo);
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  .steps-rail .rail-track {
    width: 3px; height: 180px;
    background: var(--lilac);
    border-radius: 2px;
    margin-top: var(--sp-5);
    overflow: hidden;
  }
  .steps-rail .rail-fill {
    width: 100%; height: 100%;
    background: var(--indigo);
    transform: scaleY(0);
    transform-origin: 0 0;
  }
}
.step {
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--ink-border);
  transition: opacity var(--dur-med);
}
.step:last-child { border-bottom: 0; }
.step-num {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--lilac);
  color: var(--indigo);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 1024px) {
  .steps-list .step.is-dim { opacity: .45; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: var(--sp-9);
  width: max-content;
  align-items: center;
  max-height: 28px; /* caps the row so a stale/failed .logo-img load can't balloon the strip */
  overflow: hidden;
  animation: marquee 35s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  opacity: .55;
  white-space: nowrap;
  transition: opacity var(--dur-fast);
  height: 28px;
  display: inline-flex;
  align-items: center;
}
.logo-word:hover { opacity: 1; }
.logo-img {
  height: 22px;
  max-height: 22px; /* belt-and-suspenders: caps size even if height is ever lost */
  width: auto;
  opacity: .6;
  filter: grayscale(1);
  mix-blend-mode: multiply; /* flattens baked-in white logo backgrounds into the strip */
  transition: opacity var(--dur-fast), filter var(--dur-fast);
}
.logo-img:hover { opacity: 1; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}
html.force-reduced-motion .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }

/* ---------- Prose (legal / articles) ---------- */
.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin-top: var(--sp-8); }
.prose h3 { font-size: 1.2rem; margin-top: var(--sp-6); }
.prose ul, .prose ol { padding-left: 1.4em; display: grid; gap: var(--sp-2); }
.prose table { border-collapse: collapse; width: 100%; font-size: var(--fs-small); }
.prose th, .prose td { border: 1px solid var(--ink-border); padding: 10px 14px; text-align: left; }
.prose th { background: var(--lilac); }
.article-body { max-width: 680px; margin-inline: auto; font-size: 1.125rem; }
.article-meta { display: flex; gap: var(--sp-4); align-items: center; color: var(--text-60); font-size: var(--fs-small); }

/* Anchor TOC (articles, desktop) */
.toc { display: none; }
@media (min-width: 1200px) {
  .toc {
    display: block;
    position: sticky;
    top: 120px;
    font-size: var(--fs-small);
  }
  .toc a { color: var(--text-60); display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--ink-border); }
  .toc a.is-active { color: var(--indigo); border-left-color: var(--indigo); }
  .toc a:hover { text-decoration: none; color: var(--indigo); }
}

/* FAQ (AEO) — on-page accordions + hub. Uses native <details> so answers are
   always in the DOM and crawlable whether open or closed. */
.faq-section .lead { max-width: 60ch; color: var(--text-60); }
.faq-list { display: grid; gap: var(--sp-3); max-width: 820px; }
.faq-item {
  border: 1px solid var(--ink-border);
  border-radius: var(--r-md);
  background: var(--card-bg);
  padding: 0 var(--sp-5);
}
.faq-item[open] { border-color: var(--indigo); box-shadow: var(--shadow-rest); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) 0; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.05rem; margin: 0; line-height: 1.35; }
.faq-mark { position: relative; flex: 0 0 18px; height: 18px; }
.faq-mark::before, .faq-mark::after {
  content: ""; position: absolute; background: var(--indigo);
  transition: transform var(--dur-fast) var(--ease-out);
}
.faq-mark::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-mark::after  { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-item[open] .faq-mark::after { transform: scaleY(0); }
.faq-answer { padding: 0 0 var(--sp-5); }
.faq-answer p { margin: 0; color: var(--text-80); max-width: 68ch; }
@media (prefers-reduced-motion: reduce) { .faq-mark::before, .faq-mark::after { transition: none; } }

/* FAQ hub page — topic sections + jump nav */
.faq-hub-nav { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-6); }
.faq-hub-nav a {
  font-size: var(--fs-small); padding: 6px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--ink-border); color: var(--text-80);
}
.faq-hub-nav a:hover { border-color: var(--indigo); color: var(--indigo); text-decoration: none; }
.faq-topic { scroll-margin-top: 110px; }
.faq-topic + .faq-topic { margin-top: var(--sp-9); }
.faq-topic h2 { margin-bottom: var(--sp-5); }

/* ---- Cookie consent (GA4-gated). Slim bottom bar, injected by main.js ---- */
.footer-bottom-links { display: flex; align-items: center; gap: 18px; }
.footer-cookie-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: var(--fs-small, .85rem);
  color: rgba(243,242,252,.55); text-decoration: underline; text-underline-offset: 2px;
}
.footer-cookie-btn:hover { color: #fff; }

.cookie-bar {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px;
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap;
  background: var(--ink, #0D0A2B); color: #F3F2FC;
  border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(13,10,43,.28);
  padding: 14px 18px;
  font-size: 13.5px; line-height: 1.45;
  transform: translateY(140%); transition: transform .3s ease;
}
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar p { margin: 0; flex: 1 1 300px; color: rgba(243,242,252,.82); }
.cookie-bar a { color: #C7C0F5; text-decoration: underline; }
.cookie-bar .cookie-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.cookie-bar button {
  font: 600 13px var(--font-body); cursor: pointer;
  padding: 8px 16px; border-radius: 8px; border: 1.5px solid transparent; white-space: nowrap;
}
.cookie-bar .cookie-accept { background: var(--indigo, #4A25E0); color: #fff; }
.cookie-bar .cookie-accept:hover { background: #5b39ea; }
.cookie-bar .cookie-decline { background: transparent; color: #F3F2FC; border-color: rgba(255,255,255,.32); }
.cookie-bar .cookie-decline:hover { border-color: #fff; }
@media (prefers-reduced-motion: reduce) { .cookie-bar { transition: none; } }
