/* Seshat Link: piso WiFi that keeps honest time.
   The logo sets the palette: night navy, a gold arc (time), teal nodes (the network),
   and a gold seven-point star. System fonts only; nothing loads from other sites.
   Text pairs meet WCAG 2.2 AA; gold is never used for text on a light surface. */

:root {
  color-scheme: light dark;
  --navy: #121c40;
  --night: #0b1124;
  --gold: #ffc93c;
  --gold-deep: #e3a600;
  --teal: #52d9cc;

  --canvas: #f5f6fa;
  --surface: #ffffff;
  --inset: #eceff5;
  --line: #dde2ec;
  --text: #0f1733;
  --muted: #4f5874;          /* 7.0:1 on white */
  --accent: #00756a;         /* 5.6:1 on white */
  --accent-soft: #dcf2ee;
  --btn: #121c40;
  --on-btn: #ffffff;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wrap: min(1160px, calc(100% - 48px));
  --section: clamp(4.5rem, 10vw, 8rem);
  --radius: 22px;
  --scroll: rgb(18 28 64 / .28);      /* navy thumb on light pages */
  --scroll-hover: #00756a;
  --danger: #b42318;                 /* 6.5:1 on white */
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #070c1c;
    --surface: #111a3a;
    --inset: #1a2550;
    --line: #263364;
    --text: #f2f4fa;
    --muted: #a9b2cb;        /* 8.4:1 on #070c1c */
    --accent: #52d9cc;
    --accent-soft: #0f3640;
    --btn: #ffc93c;
    --on-btn: #121c40;
    --scroll: rgb(255 201 60 / .38);  /* gold thumb on night pages */
    --scroll-hover: #ffc93c;
    --danger: #ff8a80;               /* 7:1 on the dark surface */
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--canvas); color: var(--text);
  font: 400 1.0625rem / 1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 60; padding: .6rem 1rem; border-radius: 10px;
  background: var(--gold); color: var(--navy); font-weight: 650; text-decoration: none;
}
.skip-link:focus { top: .75rem; }
.wrap { width: var(--wrap); margin-inline: auto; }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

h1, h2 { font-family: var(--display); font-weight: 650; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 1.6rem + 4.6vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); }
h3 { font-family: var(--display); font-weight: 650; font-size: 1.1875rem; letter-spacing: -.015em; line-height: 1.3; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
p { text-wrap: pretty; }
.lede { font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); color: var(--muted); max-width: 34em; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 650; color: var(--muted); letter-spacing: .01em; margin-bottom: 1rem; }
.eyebrow .star { width: 14px; height: 14px; fill: var(--gold-deep); stroke: none; }
.muted { color: var(--muted); }

/* Buttons: 48px tall, one primary per view. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px; border: 0;
  font: 650 1rem / 1.2 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--btn); color: var(--on-btn); box-shadow: 0 6px 20px rgb(18 28 64 / .18); }
.btn-primary:hover { box-shadow: 0 10px 28px rgb(18 28 64 / .26); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #ffd666; }
.btn-ghost { color: var(--text); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.on-dark .btn-ghost { color: #f2f4fa; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .28); }
.on-dark .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .6); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font: 700 1.125rem / 1 var(--display); letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand sup { font-size: .55em; font-weight: 600; color: var(--muted); margin-left: 1px; }
.navlinks { display: flex; gap: 1.6rem; margin-left: auto; }
.navlinks a { color: var(--muted); text-decoration: none; font-size: .9375rem; font-weight: 550; }
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--text); }
.nav .btn { min-height: 40px; padding: .5rem 1rem; font-size: .9375rem; }
.menu { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; place-items: center; }
.menu .i { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .menu { display: grid; margin-left: auto; }
  .nav > .btn { display: none; }
  .navlinks {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    padding: .5rem 24px 1.25rem; background: var(--canvas); border-bottom: 1px solid var(--line);
    display: none;
  }
  .navlinks.open { display: flex; }
  .navlinks a { padding: .85rem 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .navlinks .btn { display: inline-flex; margin-top: 1rem; border: 0; color: var(--on-btn); }
}
@media (min-width: 861px) { .navlinks .btn { display: none; } }

/* ---------- Hero ---------- */
.on-dark { background: radial-gradient(90% 70% at 70% 30%, #1b2a63 0%, var(--navy) 55%, var(--night) 100%); color: #f2f4fa; }
.on-dark .lede, .on-dark .muted, .on-dark .eyebrow { color: #c3cbe0; }
.on-dark h1 em, .on-dark h2 em { color: var(--gold); }
.on-dark a:not(.btn) { color: var(--teal); }
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem); }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -60% 30%; height: 120%;
  background: radial-gradient(closest-side, rgb(82 217 204 / .16), transparent); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero .lede { margin-top: 1.4rem; }
.hero-note { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: 1.6rem; font-size: .9375rem; color: #c3cbe0; }
.hero-note li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-note .i { width: 18px; height: 18px; color: var(--teal); }

/* The phone: a quiet copy of the real customer page. */
.phone-stage { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; width: min(300px, 74vw); aspect-ratio: 9 / 19; border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #2a3567, #0b1124); box-shadow: 0 40px 80px rgb(0 0 0 / .45), inset 0 0 0 1.5px rgb(255 255 255 / .12);
}
.screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #070c1c;
  display: grid; grid-template-rows: auto 1fr auto; padding: 48px 20px 22px; text-align: center;
}
.island { position: absolute; top: 12px; left: 50%; translate: -50% 0; width: 92px; height: 28px; border-radius: 20px; background: #000; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 6px; color: #f5f6fa; font: 600 12px/1 var(--sans);
  transition: width .5s cubic-bezier(.2, .9, .2, 1); white-space: nowrap; overflow: hidden; }
.island span { opacity: 0; transition: opacity .25s; }
.island.say { width: 168px; }
.island.say span { opacity: 1; transition-delay: .2s; }
.island .coin { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); flex: none; }
.screen-top { display: flex; align-items: center; justify-content: space-between; color: #c3cbe0; font-size: 12px; font-weight: 600; }
.screen-top b { display: inline-flex; align-items: center; gap: 6px; color: #f2f4fa; }
.screen-top img { width: 18px; height: 18px; border-radius: 5px; }
.gauge { position: relative; align-self: center; width: 100%; margin-top: -8%; }
.gauge svg { width: 100%; height: auto; overflow: visible; }
.gauge .track { stroke: #1d2a57; }
.gauge .fill { stroke: url(#gold); transition: stroke-dashoffset .9s cubic-bezier(.2, .9, .2, 1); }
.gauge .node { fill: var(--teal); }
.gauge .wire { stroke: var(--teal); }
.gauge.heal .fill { filter: drop-shadow(0 0 10px rgb(255 201 60 / .8)); }
.readout { position: absolute; left: 0; right: 0; top: 47%; translate: 0 -50%; display: grid; justify-items: center; }
.readout .time { font: 650 38px/1 var(--round); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #f2f4fa; }
.readout small { margin-top: 6px; color: #a9b2cb; font-size: 12px; }
.screen-cta { display: grid; gap: 8px; }
.screen-cta span { display: block; padding: 13px; border-radius: 16px; font-weight: 650; font-size: 15px; }
.screen-cta .add { background: var(--teal); color: #07101f; }
.screen-cta .pause { background: #1a2550; color: #f2f4fa; }
.screen-legal { margin-top: 10px; font-size: 10px; color: #6f7a9c; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: .6rem; padding: .7rem .95rem; border-radius: 16px;
  background: rgb(17 26 58 / .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgb(0 0 0 / .35), inset 0 0 0 1px rgb(255 255 255 / .1); color: #f2f4fa; font-size: .875rem; font-weight: 600;
}
.float-card small { display: block; color: #a9b2cb; font-weight: 500; font-size: .75rem; }
.float-card .i { color: var(--gold); }
.float-card.f1 { top: 14%; left: -4%; }
.float-card.f2 { bottom: 16%; right: -6%; }
.float-card.f2 .i { color: var(--teal); }
@media (prefers-reduced-motion: no-preference) {
  .float-card { animation: drift 7s ease-in-out infinite; }
  .float-card.f2 { animation-delay: -3.5s; }
}
@keyframes drift { 50% { translate: 0 -8px; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone-stage { margin-top: 1rem; }
  .float-card.f1 { left: 0; }
  .float-card.f2 { right: 0; }
}

/* ---------- Proof strip ---------- */
.strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip li { display: flex; gap: .8rem; align-items: center; padding: 1.4rem 1rem; font-size: .9375rem; color: var(--muted); }
.strip li b { display: block; color: var(--text); font-size: 1rem; }
.strip .i { width: 26px; height: 26px; color: var(--accent); }
@media (max-width: 900px) { .strip ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .strip ul { grid-template-columns: 1fr; } .strip li { padding: 1rem 0; border-bottom: 1px solid var(--line); } .strip li:last-child { border: 0; } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head .lede { margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
  position: relative; padding: 1.75rem; border-radius: var(--radius); background: var(--surface);
  box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line);
}
.card h3 { margin-top: 1.1rem; }
.card p { margin-top: .5rem; color: var(--muted); }
.ficon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.ficon .i { width: 24px; height: 24px; }
.ficon.gold { background: rgb(255 201 60 / .18); color: #8a5a00; }
@media (prefers-color-scheme: dark) { .ficon.gold { color: var(--gold); } }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* How it works: three numbered steps along the gold arc. */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.5rem); counter-reset: s; }
.step { position: relative; padding-top: 4.5rem; }
.step::before {
  counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font: 700 1.375rem/1 var(--round);
  box-shadow: 0 0 0 6px var(--canvas), 0 0 0 7px var(--line);
}
.step::after { content: ""; position: absolute; top: 26px; left: 64px; right: -1.5rem; height: 2px; background: linear-gradient(90deg, var(--gold-deep), transparent); opacity: .5; }
.step:last-child::after { display: none; }
.step p { margin-top: .5rem; color: var(--muted); }
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 2.25rem; }
  .step { padding: 0 0 0 4.5rem; min-height: 52px; }
  .step::after { display: none; }
}

/* Split rows: copy beside a visual. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.flip { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.checks { display: grid; gap: .9rem; margin-top: 1.75rem; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: .75rem; align-items: start; }
.checks .i { width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.checks b { display: block; }
.checks span { color: var(--muted); }
.on-dark .checks .i { color: var(--teal); }
.on-dark .checks span { color: #c3cbe0; }

/* Operator panel mock. */
.panel { border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgb(18 28 64 / .1); overflow: hidden; }
.panel-top { display: flex; align-items: center; gap: .5rem; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); font-size: .875rem; font-weight: 650; }
.panel-top .live { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); font-size: .8125rem; }
.panel-top .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.kpis div { padding: 1.1rem 1.2rem; }
.kpis div + div { border-left: 1px solid var(--line); }
.kpis small { display: block; color: var(--muted); font-size: .8125rem; }
.kpis b { font: 650 1.6rem/1.2 var(--round); font-variant-numeric: tabular-nums; }
.ledger li { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; padding: .85rem 1.2rem; font-size: .9375rem; }
.ledger li + li { border-top: 1px solid var(--line); }
.ledger .coin { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgb(255 201 60 / .2); color: #8a5a00; font: 700 .8125rem/1 var(--round); }
@media (prefers-color-scheme: dark) { .ledger .coin { color: var(--gold); } }
.ledger small { display: block; color: var(--muted); font-size: .8125rem; }
.ledger .amt { font-weight: 650; font-variant-numeric: tabular-nums; }
.ledger .flag { color: #8a5100; }
@media (prefers-color-scheme: dark) { .ledger .flag { color: #ffc24d; } }

/* Protection: dark band with the star. */
.guard { position: relative; overflow: hidden; }
.guard .star-bg { position: absolute; right: -6%; top: -10%; width: 520px; height: 520px; fill: var(--gold); opacity: .06; pointer-events: none; }
.guard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgb(255 255 255 / .1); border-radius: var(--radius); overflow: hidden; }
.guard-grid li { padding: 1.75rem; background: #101a3d; }
.guard-grid .i { width: 26px; height: 26px; color: var(--gold); }
.guard-grid h3 { margin-top: 1rem; color: #f2f4fa; }
.guard-grid p { margin-top: .45rem; color: #c3cbe0; font-size: .9875rem; }
@media (max-width: 900px) { .guard-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .guard-grid { grid-template-columns: 1fr; } }

/* Desktop app: where it runs. */
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.platforms li { display: grid; gap: .35rem; padding: 1.4rem; border-radius: var(--radius); background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.platforms .i { width: 28px; height: 28px; color: var(--teal); }
.platforms b { margin-top: .5rem; font-size: 1.125rem; color: #f2f4fa; }
.platforms span { font-size: .875rem; color: #c3cbe0; }
.platforms span.now { color: var(--gold); font-weight: 600; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 2rem 1.75rem; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.plan.best { box-shadow: 0 0 0 2px var(--accent), 0 24px 50px rgb(0 117 106 / .12); }
.plan { position: relative; }
.plan .tag { position: absolute; top: -13px; left: 50%; translate: -50% 0; padding: .3rem .8rem; border-radius: 999px; background: var(--accent); color: var(--surface); font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.plan h3 { font-size: 1.25rem; margin: 0; }
.plan .save { margin-top: .5rem; font-size: .875rem; font-weight: 600; color: var(--accent); }
.plan .for { margin-top: .35rem; color: var(--muted); font-size: .9375rem; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: .35rem; margin-top: 1.25rem; }
.price b { font: 700 2.75rem/1 var(--round); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: .9375rem; }
.price.quote b { font-size: 1.75rem; }
.plan ul { display: grid; gap: .6rem; margin: 1.5rem 0 1.75rem; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; font-size: .9375rem; }
.plan li .i { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.plan .btn { margin-top: auto; width: 100%; }
.plan .fine { margin-top: .75rem; text-align: center; font-size: .8125rem; color: var(--muted); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.service { display: grid; grid-template-rows: auto auto 1fr auto; gap: .5rem; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.service h3 { margin-top: .6rem; }
.service p { color: var(--muted); font-size: .9375rem; }
.service a { font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; margin-top: .6rem; }
.service a .i { width: 16px; height: 16px; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }

.paysteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.paysteps li { padding: 1.5rem; border-radius: var(--radius); background: var(--inset); }
.paysteps b { display: block; margin-bottom: .3rem; }
.paysteps span { color: var(--muted); font-size: .9375rem; }
.paysteps .n { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: .8rem; border-radius: 50%; background: var(--navy); color: var(--gold); font: 700 .9375rem/1 var(--round); }
@media (max-width: 800px) { .paysteps { grid-template-columns: 1fr; } }
.methods { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.methods li { padding: .4rem .8rem; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: .875rem; font-weight: 600; color: var(--muted); }

.compare { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.compare caption { text-align: left; font-weight: 650; padding-bottom: .75rem; }
.compare th, .compare td { padding: .85rem .5rem; border-bottom: 1px solid var(--line); text-align: left; }
.compare thead th { color: var(--muted); font-weight: 600; font-size: .875rem; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 22%; }
.compare .yes { color: var(--accent); font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faqs details { border-bottom: 1px solid var(--line); }
.faqs summary {
  display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; cursor: pointer; list-style: none;
  font: 650 1.0625rem/1.4 var(--display);
}
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--muted); transition: rotate .2s; }
.faqs details[open] summary::after { rotate: 45deg; }
.faqs details p { padding: 0 0 1.25rem; color: var(--muted); max-width: 40em; }
.faqs .more { margin-top: 1.25rem; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: clamp(4.5rem, 10vw, 7.5rem) 0; }
.cta img { width: 84px; height: 84px; margin: 0 auto 1.5rem; border-radius: 20px; box-shadow: 0 20px 50px rgb(0 0 0 / .4); }
.cta .lede { margin: 1rem auto 0; }
.cta .actions { justify-content: center; }

/* ---------- Documents (FAQ, contact, privacy, terms) ---------- */
.document { padding: clamp(3rem, 7vw, 5rem) 0 var(--section); }
.document article { max-width: 46rem; }
.document h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); }
.document .lede { margin-top: 1rem; }
.document h2 { font-size: 1.5rem; letter-spacing: -.02em; margin-top: 2.75rem; }
.document h2 + p, .document p + p, .document ul + p, .document p + ul { margin-top: .9rem; }
.document article > p, .document article > ul:not(.topics) li { color: var(--muted); }
.document article > ul:not(.topics) { list-style: disc; padding-left: 1.25rem; display: grid; gap: .4rem; margin-top: .9rem; }
.document .updated { margin-top: .75rem; font-size: .9375rem; color: var(--muted); }
.page-head { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); text-align: center; }
.page-head .lede { margin: 1rem auto 0; }

.topics { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 2rem; }
.topics a { display: grid; gap: .25rem; padding: 1.25rem; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--text); }
.topics a:hover { box-shadow: 0 0 0 2px var(--accent); }
.topics span { color: var(--muted); font-size: .9375rem; }
@media (max-width: 600px) { .topics { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { padding: 3rem 0 2.5rem; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer h2 { font: 650 .875rem/1.4 var(--sans); letter-spacing: 0; color: var(--text); margin-bottom: .8rem; }
.footer ul { display: grid; gap: .5rem; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); text-decoration: underline; }
.footer .about p { margin-top: .9rem; max-width: 22rem; }
.footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .8125rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer .about { grid-column: 1 / -1; } }

/* Sections rise in as they arrive (only when the script runs and motion is allowed). */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .7s cubic-bezier(.2, .9, .2, 1); }
  .js .rise.in { opacity: 1; translate: 0 0; }
}

/* Small layout helpers (no inline styles: the security policy forbids them). */
[data-tone="raised"] { background: var(--surface); }
.note { margin-top: 1.25rem; }
.note.center { text-align: center; }
.spaced { margin-top: 2rem; }

/* ---------- Scrollbar: thin, in brand colours ---------- */
html { scrollbar-width: thin; scrollbar-color: var(--scroll) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--scroll); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: var(--scroll-hover); }

/* ---------- Forms (contact, newsletter) ---------- */
.form { display: grid; gap: 1rem; margin-top: 2rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: .4rem; font-size: .9375rem; font-weight: 600; }
.form label small { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea, .subscribe input, .select-btn {
  width: 100%; min-height: 46px; padding: .7rem .9rem; border: 0; border-radius: 12px;
  background: var(--canvas); color: var(--text); font: 400 1rem/1.4 var(--sans);
  box-shadow: inset 0 0 0 1px var(--line);
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible, .subscribe input:focus-visible {
  outline: none; box-shadow: inset 0 0 0 2px var(--accent);
}
.form .btn { justify-self: start; }
.form .fine, .subscribe .fine { font-size: .8125rem; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.newsletter { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.5rem 3rem; align-items: start; margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.newsletter h2 { font: 650 1.25rem/1.3 var(--display); letter-spacing: -.01em; color: var(--text); margin: 0 0 .35rem; }
.subscribe { display: grid; grid-template-columns: 1fr auto; gap: .6rem; }
.subscribe .fine { grid-column: 1 / -1; margin: 0; }
.subscribe .btn { min-height: 46px; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .subscribe { grid-template-columns: 1fr; } }

/* Brand dropdown (replaces the native select list; see site.js). */
.field { display: grid; gap: .4rem; }
.select { position: relative; }
.select-btn { display: flex; align-items: center; justify-content: space-between; gap: .75rem; cursor: pointer; user-select: none; -webkit-user-select: none; }
.select-btn::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-right: 2px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  rotate: 45deg; translate: 0 -3px; transition: rotate .2s ease, translate .2s ease;
}
.select-btn[aria-expanded="true"]::after { rotate: -135deg; translate: 0 2px; }
.select-btn:focus-visible, .select-btn[aria-expanded="true"] { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.select-list {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px);
  margin: 0; padding: .35rem; list-style: none; max-height: min(27rem, 60vh); overflow: auto;
  border-radius: 14px; background: var(--surface);
  box-shadow: 0 0 0 1px var(--line), 0 20px 44px rgb(7 12 28 / .22);
}
.select-list[hidden] { display: none; }
.select-list li { display: flex; align-items: center; gap: .6rem; padding: .62rem .75rem; border-radius: 10px; cursor: pointer; font-weight: 400; color: var(--text); }
.select-list li::before { content: ""; flex: none; width: 1rem; color: var(--accent); font-weight: 700; text-align: center; }
.select-list li[aria-selected="true"]::before { content: "✓"; }
.select-list li[aria-selected="true"] { font-weight: 600; }
.select-list li.active { background: var(--accent-soft); }
.native-hidden { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Form errors (site.js): text below the field, and a red outline on the field. */
.error { margin: 0; color: var(--danger); font-size: .875rem; font-weight: 600; }
.subscribe .error { grid-column: 1 / -1; }
.form [aria-invalid="true"], .subscribe [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--danger); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
