/* Investor Pilot marketing site
   Layout: navy hero and footer bands framing white / pale-blue content bands;
   one gold primary action per screen. Brand colours from the existing site. */
:root {
  --navy: #0b1f36;
  --navy-2: #13304f;
  --ink: #0f172a;
  --text: #3a4658;
  --muted: #64748b;
  --paper: #f4f7fb;
  --line: #dfe6ef;
  --white: #ffffff;
  --gold: #d09a40;
  --gold-hover: #e0ab52;
  --gold-ink: #8a5d14;      /* gold for text on white (AA) */
  --blue: #136cb8;
  --good: #15803d;
  --good-bg: #e8f6ec;
  --bad: #b42318;
  --bad-bg: #fdecea;
  --warn-bg: #fff4e5;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 31, 54, .06), 0 8px 24px rgba(11, 31, 54, .08);
  --wrap: 1160px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 17px/1.6 var(--font);
  font-feature-settings: "cv11", "ss01";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(56px, 8vw, 96px); }
.band--paper { background: var(--paper); }
.band--navy { background: var(--navy); color: #c9d4e3; }
.band--navy h1, .band--navy h2, .band--navy h3 { color: var(--white); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.section-head { max-width: 720px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; align-items: center; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.band--navy .eyebrow { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--text); max-width: 62ch; }
.band--navy .lead { color: #c9d4e3; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--gold); color: var(--navy); }
.btn--primary:hover { background: var(--gold-hover); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.band--navy .btn--ghost, .hero .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.band--navy .btn--ghost:hover, .hero .btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn--icon svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.reassure { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--muted); padding: 0; margin: 0; list-style: none; }
.reassure li { display: inline-flex; align-items: center; gap: 6px; }
.reassure li::before { content: ""; width: 14px; height: 14px; flex: none; background: currentColor; -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; color: var(--good); }
.hero .reassure, .band--navy .reassure { color: #b6c3d6; }
.hero .reassure li::before, .band--navy .reassure li::before { color: var(--gold); }
:root { --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.2 11.6 2.6 8l1.1-1.1 2.5 2.5 6-6L13.4 4.5z'/%3E%3C/svg%3E"); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--navy); z-index: 60; }
.nav { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.nav__logo img { width: 150px; }
.nav__links { display: flex; gap: 22px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav__links a { color: #d8e1ec; text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--white); }
.nav__links a[aria-current="page"] { box-shadow: 0 2px 0 var(--gold); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
/* Same size as the Start free button: 1px line plus 1px extra padding equals its 2px border */
.nav__login { background: transparent; color: var(--white); border: 1px solid var(--white); padding: 9px 17px; }
.nav__login:hover { background: rgba(255,255,255,.08); color: var(--white); }
.nav__toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; margin-left: auto; cursor: pointer; }
.nav__toggle svg { width: 26px; height: 26px; }
@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__links, .nav__actions { display: none; }
  .nav.is-open { flex-wrap: wrap; padding-bottom: 16px; }
  .nav.is-open .nav__links { display: flex; flex-direction: column; gap: 4px; width: 100%; order: 3; margin: 0; }
  .nav.is-open .nav__links a { display: block; padding: 10px 0; font-size: 1.05rem; }
  .nav.is-open .nav__actions { display: flex; width: 100%; order: 4; justify-content: space-between; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.12); }
}

/* Hero */
.hero { background: var(--navy); color: #c9d4e3; padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.hero__sub { font-size: 1.18rem; color: #c9d4e3; max-width: 34em; }
.hero__shot { position: relative; }
.hero__shot img { width: 100%; filter: drop-shadow(0 24px 48px rgba(0,0,0,.35)); }
.hero__caption { font-size: .8rem; color: #8ea0b8; margin-top: 8px; text-align: right; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); padding-block: 26px; }
.trust__inner { display: grid; justify-items: center; gap: 14px; text-align: center; }
.trust__label { font-size: .85rem; color: var(--muted); font-weight: 600; }
.trust .security-line { justify-content: center; }

/* Broker logo scroller. Two identical halves slide left by one half, then repeat. */
.marquee {
  width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex; width: max-content; list-style: none; margin: 0; padding: 0;
  animation: marquee var(--marquee-time, 36s) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { flex: none; display: flex; align-items: center; height: 56px; padding-inline: 32px; }
.marquee__track img { height: 36px; width: auto; }
@keyframes marquee { to { transform: translateX(-50%); } }
/* No movement for visitors who ask for less motion: show each logo once, centred */
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee__track .dup { display: none; }
}
.brokers { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; list-style: none; margin: 0; padding: 0; }
.brokers img { height: 36px; width: auto; }
.security-line { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0; padding: 0; font-size: .88rem; color: var(--ink); font-weight: 600; }
.security-line li { display: inline-flex; gap: 6px; align-items: center; }
.security-line svg { width: 16px; height: 16px; color: var(--good); flex: none; }

/* Questions comparison */
.qa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.qa__col { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.qa__col--tracker { background: var(--white); border: 1px solid var(--line); }
.qa__col--ip { background: var(--navy); color: #d3dde9; }
.qa__col--ip h3 { color: var(--white); }
.qa__col h3 { display: flex; align-items: center; gap: 10px; }
.qa__tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.qa__col--ip .qa__tag { background: var(--gold); color: var(--navy); }
.qa ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.qa li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.qa li strong { color: var(--ink); display: block; }
.qa__col--ip li strong { color: var(--white); }
.qa li span { font-size: .95rem; }
.qa li svg { width: 20px; height: 20px; margin-top: 3px; }
.qa__col--tracker svg { color: var(--muted); }
.qa__col--ip svg { color: var(--gold); }
.qa__note { font-size: .92rem; color: var(--muted); margin-top: 20px; max-width: 70ch; }
@media (max-width: 820px) { .qa { grid-template-columns: minmax(0, 1fr); } }

/* Product panels (HTML recreations of app screens) */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.panel__bar b { color: var(--ink); font-weight: 700; font-size: .85rem; }
.sample-tag { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); background: #fbf1df; padding: 2px 8px; border-radius: 999px; }
.panel__scroll { overflow-x: auto; }
table.strat { width: 100%; border-collapse: collapse; font-size: .86rem; font-variant-numeric: tabular-nums; min-width: 420px; }
.strat th, .strat td { padding: 10px 10px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.strat th:first-child, .strat td:first-child { text-align: left; }
.strat th { font-size: .75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.strat td:first-child { color: var(--ink); font-weight: 600; }
.strat .pos { color: var(--good); font-weight: 600; }
.strat .neg { color: var(--bad); font-weight: 600; }
.strat tr.total td { font-weight: 700; color: var(--ink); border-bottom: 0; }
.chip { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.chip--good { background: var(--good-bg); color: var(--good); }
.chip--bad { background: var(--bad-bg); color: var(--bad); }
.chip--warn { background: var(--warn-bg); color: #9a5b00; }

.regimes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 14px; }
.regime { border-radius: 8px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.regime--buy { background: var(--good-bg); }
.regime--mixed { background: var(--warn-bg); }
.regime small { font-size: .74rem; color: var(--muted); }
.regime b { color: var(--ink); font-size: .9rem; }
.regime strong { color: var(--ink); font-size: 1.15rem; }
@media (max-width: 480px) { .regimes { grid-template-columns: minmax(0, 1fr); } }

.goalbar { padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: .88rem; }
.goalbar__row { display: grid; grid-template-columns: 9.5em 1fr 4.5em; gap: 10px; align-items: center; }
.goalbar__track { height: 10px; background: var(--paper); border-radius: 99px; position: relative; overflow: hidden; }
.goalbar__fill { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--navy); }
.goalbar__fill--gold { background: var(--gold); }
.goalbar__val { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

.warnlist { list-style: none; margin: 0; padding: 6px 0; font-size: .88rem; }
.warnlist li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 16px; border-bottom: 1px solid var(--line); }
.warnlist li:last-child { border-bottom: 0; }
.warnlist b { color: var(--ink); }

/* Steps */
.steps { display: grid; gap: clamp(40px, 6vw, 72px); }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.step:nth-child(even) .step__text { order: 2; }
.step__text { display: flex; flex-direction: column; gap: 14px; }
.step--wide { grid-template-columns: minmax(0, 1fr); gap: 28px; }
/* Steps with an app screenshot: give the picture more room */
.step--shot { grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr); gap: 40px; }
.step--shot:nth-child(even) { grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); }
@media (max-width: 860px) { .step--shot, .step--shot:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.step__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
.step__cols p { margin: 0; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; }
/* Two screenshots: a main one with a smaller one overlapping its bottom-right corner */
.shot-pair { position: relative; margin: 0; padding: 0 0 13% 0; }
.shot-pair img { display: block; width: 100%; height: auto; }
.shot-pair__main, .shot-pair__over { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shot-pair__main { width: 90%; box-shadow: var(--shadow); }
.shot-pair__over { position: absolute; right: 0; bottom: 0; width: 34%; box-shadow: 0 18px 40px rgba(11, 29, 54, .28); }
@media (max-width: 760px) { .step__cols { grid-template-columns: minmax(0, 1fr); } }
.step__n { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 800; }
.step ul { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 860px) { .step { grid-template-columns: minmax(0, 1fr); gap: 24px; } .step:nth-child(even) .step__text { order: 0; } }

/* Pricing */
.price-controls { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: center; margin-bottom: 32px; }
.seg { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.band--paper .seg { background: var(--white); }
.seg button { border: 0; background: none; font: 600 .92rem var(--font); color: var(--text); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.seg .save { color: var(--good); font-weight: 700; font-size: .8rem; margin-left: 4px; }
.seg button[aria-pressed="true"] .save { color: var(--gold); }
.currency { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); }
.currency select { font: 600 .95rem var(--font); color: var(--ink); padding: 8px 32px 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364748b' stroke-width='1.6'/%3E%3C/svg%3E") right 10px center / 12px no-repeat; appearance: none; cursor: pointer; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.plan--featured { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.plan__badge { position: absolute; top: -12px; left: 28px; background: var(--gold); color: var(--navy); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.plan__name { font-size: 1.15rem; }
.plan__for { font-size: .93rem; color: var(--muted); min-height: 2.9em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; color: var(--ink); }
.plan__amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan__per { color: var(--muted); font-size: .92rem; }
.plan__bill { font-size: .85rem; color: var(--muted); min-height: 1.4em; margin-top: -10px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: .95rem; flex: 1; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.plan li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; background: var(--good); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }
.plan .btn { width: 100%; }
.price-foot { text-align: center; margin-top: 22px; font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; } .plan__for { min-height: 0; } }

table.compare { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: top; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { color: var(--ink); font-size: .95rem; }
.compare tbody th { font-weight: 500; color: var(--text); }
.compare .group td { background: var(--paper); font-weight: 700; color: var(--ink); text-align: left; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.yes { color: var(--good); font-weight: 700; }
.no { color: #a3afbf; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }

/* Cards: who it's for */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.card--primary { border-top: 4px solid var(--gold); }
.card p { font-size: .97rem; }
.card a.more { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--navy); }
.card a.more::after { content: " \2192"; color: var(--gold-ink); }
.card a.more:hover { color: var(--blue); }
@media (max-width: 900px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* Regime report capture */
.report { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.report__sample { background: var(--white); color: var(--text); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.3); padding: 22px; font-size: .9rem; display: flex; flex-direction: column; gap: 12px; }
.report__sample h4 { font-size: 1rem; }
.report__sample .meta { font-size: .75rem; color: var(--muted); }
.report__sample dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.report__sample dt { color: var(--muted); }
.report__sample dd { margin: 0; color: var(--ink); font-weight: 600; }
.report__status { background: var(--gold); color: var(--navy); border-radius: 8px; padding: 12px 16px; display: grid; gap: 2px; }
.report__status span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.report__status strong { font-size: 1.7rem; font-weight: 800; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; }
.report__status small { font-size: .8rem; }
.rules { display: grid; gap: 12px; padding: 0; list-style: none; }
.rules li { display: grid; grid-template-columns: 100px 1fr; gap: 14px; align-items: baseline; }
.rules b { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; text-align: center; }
.rules .open { background: #dff3e6; color: #1d6b3a; }
.rules .caution { background: #fbf1df; color: var(--gold-ink); }
.rules .protect { background: #fbe3df; color: #9b2c1c; }
@media (max-width: 480px) { .rules li { grid-template-columns: 1fr; gap: 4px; } .rules b { justify-self: start; } }
.signup { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.signup input[type="email"] { flex: 1 1 240px; min-height: 48px; padding: 10px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: var(--white); font: 400 1rem var(--font); }
.band--paper .signup input[type="email"], .page .signup input[type="email"] { border-color: var(--line); background: var(--white); color: var(--ink); }
.signup input::placeholder { color: #8ea0b8; }
.form-msg { font-size: .9rem; min-height: 1.4em; }
.form-msg.ok { color: #7ee2a8; }
.form-msg.err { color: #ffb4a8; }
.page .form-msg.ok { color: var(--good); }
.page .form-msg.err { color: var(--bad); }
.fine { font-size: .82rem; color: #8ea0b8; }
@media (max-width: 860px) { .report { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-ink); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 18px; display: flex; flex-direction: column; gap: 10px; }

/* Final CTA */
/* Closing call to action: photo behind a navy wash so the text stays readable */
.final {
  text-align: center;
  background-color: var(--navy);
  background-image:
    linear-gradient(180deg, rgba(11,31,54,.78) 0%, rgba(11,31,54,.70) 45%, rgba(11,31,54,.92) 100%),
    url("/assets/img/cta-bg-1536.jpg");
  background-image:
    linear-gradient(180deg, rgba(11,31,54,.78) 0%, rgba(11,31,54,.70) 45%, rgba(11,31,54,.92) 100%),
    image-set(url("/assets/img/cta-bg-1536.webp") type("image/webp"), url("/assets/img/cta-bg-1536.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
}
@media (max-width: 700px) {
  .final {
    background-image:
      linear-gradient(180deg, rgba(11,31,54,.82), rgba(11,31,54,.92)),
      url("/assets/img/cta-bg-900.webp");
  }
}

/* Counters (homepage only) */
.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  width: 100%; max-width: 900px; list-style: none; margin: 0 0 28px; padding: 0 0 36px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.stats li { display: grid; gap: 6px; justify-items: center; }
.stat__n { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat__label { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #c9d4e3; }
@media (max-width: 560px) { .stats { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
.final .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final .lead { margin-inline: auto; }

/* Inner pages */
.page-hero { background: var(--navy); padding-block: clamp(44px, 6vw, 72px); color: #c9d4e3; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 14px; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 22em; }
.page-hero p { max-width: 62ch; font-size: 1.1rem; }
.prose > * { max-width: 760px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; font-size: 1.55rem; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); margin-block: 1.4em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.aside { position: sticky; top: 96px; background: var(--paper); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr); } .aside { position: static; } }
.callout { border-left: 4px solid var(--gold); background: var(--paper); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; }

.persona { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-block: 56px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.persona:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 860px) { .persona { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; background: var(--good); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .feature-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-grid--3 { grid-template-columns: minmax(0, 1fr); } }
.feature { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: flex; flex-direction: column; gap: 10px; }
.feature p { font-size: .96rem; }
/* Legal pages (cookies, privacy, terms): one white sheet, each section a light card */
.legal { max-width: 900px; background: var(--white); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); display: flex; flex-direction: column; gap: 20px; font-size: .95rem; }
.legal p, .legal ul { margin: 0 0 .8em; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: .4em; }
.legal a { color: var(--gold-ink); }
.legal__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 10px; }
.legal__card h2 { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; margin: 0 0 12px; }
.legal__n { flex: none; width: 28px; height: 28px; border: 1.5px solid var(--gold); border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 600; color: var(--gold-ink); }
.back-link { color: var(--gold); font-weight: 600; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.back-link--dark { color: var(--gold-ink); }
.keep-reading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.feature > img { align-self: flex-start; width: auto; max-width: 100%; object-fit: contain; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.calc form { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field .hint { font-size: .82rem; color: var(--muted); }
.field input { min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: 500 1rem var(--font); color: var(--ink); font-variant-numeric: tabular-nums; }
.result { background: var(--navy); color: #c9d4e3; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.result__big { font-size: 3rem; font-weight: 800; color: var(--white); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.result__band { font-weight: 700; color: var(--gold); }
.result canvas { width: 100%; height: 180px; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }

.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; background: var(--white); }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--paper); }
.post-card div { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.post-card time { font-size: .82rem; color: var(--muted); }
.post-card:hover h3 { color: var(--blue); }

/* Demo modal */
dialog.demo { border: 0; padding: 0; background: #000; width: min(960px, 92vw); border-radius: 12px; }
dialog.demo::backdrop { background: rgba(5, 15, 28, .8); }
dialog.demo .ratio { aspect-ratio: 16 / 9; }
dialog.demo iframe { width: 100%; height: 100%; border: 0; display: block; }
dialog.demo button { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.6); color: #fff; border: 0; border-radius: 6px; padding: 6px 10px; cursor: pointer; font: 600 .9rem var(--font); }

/* Footer */
.site-footer { background: var(--navy); color: #a9b7ca; padding-block: 64px 32px; font-size: .93rem; }
.site-footer a { color: #d3dde9; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid ul.social { flex-direction: row; gap: 14px; }
.site-footer .social a { display: inline-flex; color: var(--gold); border-radius: 4px; }
.site-footer .social a:hover { color: var(--gold-hover); }
.social svg { width: 28px; height: 28px; fill: currentColor; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-grid h2 { font-size: .78rem; color: var(--white); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { width: 150px; }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 14px; font-size: .82rem; color: #8597ae; }
.footer-legal .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.site-footer .currency { color: #a9b7ca; }
.site-footer .currency select { background-color: var(--navy-2); color: var(--white); border-color: rgba(255,255,255,.15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a9b7ca' stroke-width='1.6'/%3E%3C/svg%3E"); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
