/* ACK inner pages - shares the home page's tokens, font and components (SEO window, Oct 2026) */
@font-face {
  font-family: "Archivo";
  src: url(/assets/archivo.woff2) format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  --navy-top: #36475D;
  --navy: #0B1F3A;
  --navy-deep: #081629;
  --red: #E3332E;
  --red-btn: #D62828;
  --red-deep: #B91D21;
  --mist: #A8B3C7;
  --ink: #FFFFFF;
  --line: rgba(255,255,255,0.12);
  --panel: rgba(255,255,255,0.06);
  --field: rgba(255,255,255,0.08);
  --field-focus: rgba(255,255,255,0.11);
  --field-line: rgba(255,255,255,0.22);
  --ph: rgba(255,255,255,0.55);
  --ack-tint: rgba(227,51,46,0.14);
  --bg-grad: linear-gradient(180deg, #36475D 0, #0B1F3A 70vh, #0B1F3A 100%);
  --gutter: clamp(20px, 5vw, 56px);
}
:root[data-theme="light"] {
  --navy-top: #F6F7FA;
  --navy: #FFFFFF;
  --navy-deep: #F1F3F7;
  --mist: #5B6578;
  --ink: #0B1F3A;
  --line: rgba(11,31,58,0.12);
  --panel: rgba(11,31,58,0.04);
  --field: #FFFFFF;
  --field-focus: #FFFFFF;
  --field-line: rgba(11,31,58,0.28);
  --ph: rgba(11,31,58,0.5);
  --ack-tint: rgba(227,51,46,0.08);
  --bg-grad: linear-gradient(180deg, #F6F7FA 0, #FFFFFF 60vh, #FFFFFF 100%);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--navy); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--bg-grad);
  font-family: "Archivo", Arial, Helvetica, sans-serif; font-weight: 400;
  -webkit-font-smoothing: antialiased; line-height: 1.55; overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a { color: var(--ink); text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- top bar ---------- */
.top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; padding-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.top-logo { display: inline-flex; flex: none; }
.top-logo .logo { display: block; width: 84px; height: auto; }
.top-nav { display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: 0.9375rem; font-weight: 600; }
.top-nav a { text-decoration: none; color: var(--mist); padding: 6px 0; }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: var(--ink); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.top-cta { display: inline-block; padding: 9px 14px; border-radius: 10px; background: var(--red-btn); color: #fff; font-weight: 700; font-size: 0.9375rem; text-decoration: none; white-space: nowrap; }
.top-cta:hover { background: var(--red-deep); color: #fff; }
.theme {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line);
}
.theme svg { width: 16px; height: 16px; }
.theme .t-light, :root[data-theme="light"] .theme .t-dark { display: none; }
:root[data-theme="light"] .theme .t-light { display: inline-flex; align-items: center; gap: 8px; }
.theme .t-dark { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 559px) {
  .top-nav { order: 3; width: 100%; }
  .theme .tl { display: none; }
}

/* ---------- article ---------- */
.crumbs { margin: 22px 0 12px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 0.875rem; color: var(--mist); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: var(--mist); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page { padding-top: clamp(20px, 4vh, 40px); padding-bottom: clamp(32px, 6vh, 64px); }
.page h1 { margin: 0; max-width: 24ch; font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.lead { margin: 1rem 0 0; max-width: 60ch; color: var(--mist); font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem); line-height: 1.5; text-wrap: pretty; }
.lead strong { color: var(--ink); font-weight: 600; }
.updated { margin: 14px 0 0; color: var(--mist); font-size: 0.8125rem; }
.block { margin-top: clamp(32px, 5vh, 52px); max-width: 820px; }
.block.wide { max-width: none; }
.block h2 { margin: 0 0 14px; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.block h3 { margin: 22px 0 8px; font-size: 1.125rem; font-weight: 700; }
.block p { margin: 0 0 14px; font-size: 1.0625rem; line-height: 1.6; text-wrap: pretty; }
.block p.muted, .muted { color: var(--mist); }
.block ul.ticks { margin: 0 0 14px; padding: 0; list-style: none; }
.block ul.ticks li { position: relative; padding: 6px 0 6px 22px; font-size: 1.0625rem; }
.block ul.ticks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; border-radius: 2px; background: var(--red); }
.src { color: var(--mist); font-size: 0.8125rem; line-height: 1.5; }
.src a { color: var(--mist); }
.note { color: var(--mist); font-size: 0.875rem; }

/* feature list (same look as the home page) */
.features { list-style: none; margin: 0; padding: 0; max-width: 880px; }
.features li { position: relative; margin-bottom: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.features li::before { content: ""; position: absolute; left: 14px; top: 14px; bottom: 14px; width: 4px; border-radius: 2px; background: var(--red); }
.features .f-row { display: grid; gap: 4px 28px; align-items: center; padding: 16px 44px 16px 34px; text-decoration: none; color: inherit; position: relative; }
.features a.f-row::after { content: "\2192"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--mist); font-weight: 700; }
.features a.f-row:hover .f-big { color: var(--red); }
.f-big { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.f-small { color: var(--mist); font-size: 1.0625rem; line-height: 1.5; }
@media (min-width: 700px) { .features .f-row { grid-template-columns: 372px minmax(0, 1fr); } .f-small { font-size: 1rem; } }

/* cards grid (hubs) */
.cards { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cards.three { grid-template-columns: 1fr 1fr 1fr; } }
.cards a { display: block; height: 100%; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: inherit; }
.cards a:hover { border-color: var(--red); }
.cards .c-t { display: block; font-size: 1.1875rem; font-weight: 700; line-height: 1.2; }
.cards .c-d { display: block; margin-top: 6px; color: var(--mist); font-size: 0.9375rem; }

/* tables */
.tbl-wrap { overflow-x: auto; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 12px; }
table.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 1rem; }
.tbl th, .tbl td { padding: 11px 14px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl thead th { color: var(--mist); font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; white-space: normal; vertical-align: bottom; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl .ack { background: var(--ack-tint); font-weight: 700; }
.tbl.left td, .tbl.left th { text-align: left; white-space: normal; }

/* FAQ (same as the home page) */
.qa { border-top: 1px solid var(--line); }
.qa:last-of-type { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.qa summary::-webkit-details-marker { display: none; }
.chev { flex: none; width: 22px; height: 22px; color: var(--mist); transition: transform .2s ease; }
.qa[open] .chev { transform: rotate(180deg); }
.qa p { margin: 0 0 20px; max-width: 70ch; color: var(--mist); font-size: 1.0625rem; line-height: 1.55; }
.qa p a { color: var(--ink); font-weight: 600; }

/* calculators */
.calc { margin-top: 24px; padding: clamp(18px, 3vw, 28px); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; max-width: 880px; }
.calc .row { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .calc .row.two { grid-template-columns: 1fr 1fr; } .calc .row.three { grid-template-columns: 1fr 1fr 1fr; } }
.calc label.fl { display: block; margin: 0 0 6px; font-size: 0.875rem; font-weight: 600; color: var(--mist); }
.calc input, .calc select {
  width: 100%; min-width: 0; font: inherit; font-size: 1.125rem; color: var(--ink); background: var(--field);
  border: 1.5px solid var(--field-line); border-radius: 12px; padding: 0.75em 0.9em; outline: none; font-variant-numeric: tabular-nums;
}
.calc select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mist) 50%), linear-gradient(135deg, var(--mist) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 2.4em; }
:root:not([data-theme="light"]) .calc select option { color: #0B1F3A; }
.calc input:focus, .calc select:focus { border-color: var(--red); background-color: var(--field-focus); }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 0.9em; top: 50%; transform: translateY(-50%); color: var(--mist); font-size: 1.125rem; pointer-events: none; }
.money input { padding-left: 1.8em; }
.pct { position: relative; }
.pct::after { content: "%"; position: absolute; right: 0.9em; top: 50%; transform: translateY(-50%); color: var(--mist); font-size: 1.125rem; pointer-events: none; }
.pct input { padding-right: 2em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--ink); background: transparent; border: 1.5px solid var(--field-line); border-radius: 999px; padding: 7px 14px; cursor: pointer; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--red); }
.chip[aria-pressed="true"] { background: var(--red-btn); border-color: var(--red-btn); color: #fff; }
.result { margin-top: 20px; }
.big-result { margin: 18px 0 0; font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); font-weight: 700; line-height: 1.25; }
.big-result .hl { color: var(--red); }
.kpis { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
@media (min-width: 640px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
.kpi { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.kpi .k { display: block; color: var(--mist); font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.kpi .v { display: block; margin-top: 4px; font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.kpi.ack { background: var(--ack-tint); border-color: transparent; }
.swap { font: inherit; font-weight: 700; font-size: 1.125rem; color: var(--ink); background: var(--panel); border: 1.5px solid var(--field-line); border-radius: 12px; padding: 0.7em 0.9em; cursor: pointer; align-self: end; }
.swap:hover { border-color: var(--red); }
.chart { display: block; width: 100%; height: auto; margin-top: 18px; }
.chart text { fill: var(--mist); font-size: 12px; font-family: inherit; }
.status { color: var(--mist); font-size: 0.875rem; margin: 10px 0 0; min-height: 1.3em; }

/* waitlist form + join section (same as the home page) */
.wl { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 560px; }
.wl input { width: 100%; min-width: 0; font: inherit; font-size: 1.0625rem; color: var(--ink); background: var(--field); border: 1.5px solid var(--field-line); border-radius: 12px; padding: 0.95em 1.05em; outline: none; transition: border-color .15s ease, background-color .15s ease; }
.wl input::placeholder { color: var(--ph); }
.wl input:focus { border-color: var(--red); background: var(--field-focus); }
.wl input[aria-invalid="true"] { border-color: #FF8A80; }
.wl-btn { width: 100%; font: inherit; font-size: 1.0625rem; font-weight: 700; color: #fff; background: var(--red-btn); border: 0; border-radius: 12px; padding: 0.95em 1.4em; cursor: pointer; box-shadow: 0 14px 34px -10px rgba(214,40,40,0.7); transition: background-color .15s ease, transform .15s ease; }
.wl-btn:hover { background: var(--red-deep); }
.wl-btn:active { transform: translateY(1px); }
.wl-btn[disabled] { opacity: .7; cursor: default; }
.wl-msg { grid-column: 1 / -1; margin: 0; min-height: 1.4em; font-size: 0.9375rem; color: var(--red); }
.wl-msg.ok { color: var(--mist); }
.wl-done { margin-top: 1.5rem; max-width: 560px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 8px; }
.wl-done h3 { margin: 0 0 .25rem; font-size: 1.25rem; font-weight: 700; }
.wl-done p { margin: 0 0 .75rem; color: var(--mist); }
@media (min-width: 560px) { .wl { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } .wl .wl-btn { grid-column: 1 / -1; } }
@media (min-width: 760px) { .wl { grid-template-columns: minmax(0, 1.4fr) minmax(150px, .8fr) auto; } .wl .wl-btn { grid-column: auto; width: auto; white-space: nowrap; } }
.join { background: var(--navy-deep); padding-top: clamp(40px, 7vh, 80px); padding-bottom: clamp(40px, 7vh, 80px); border-top: 1px solid var(--line); }
.join .inner { max-width: 720px; }
.join h2 { margin: 0 0 .4rem; font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.125rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.join .lead { margin: 0; max-width: none; font-size: 1.0625rem; }
.join .wl, .join .wl-done { max-width: none; }

/* footer */
.site-footer { padding-top: 28px; padding-bottom: max(24px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--mist); font-size: 0.8125rem; line-height: 1.5; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-bottom: 24px; }
@media (min-width: 760px) { .foot-nav { grid-template-columns: repeat(4, 1fr); } }
.foot-nav h2 { margin: 0 0 8px; font-size: 0.8125rem; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .05em; }
.foot-nav ul { margin: 0; padding: 0; list-style: none; }
.foot-nav li { margin: 0 0 6px; }
.foot-nav a { color: var(--mist); text-decoration: none; font-size: 0.875rem; }
.foot-nav a:hover { color: var(--ink); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.foot-base p { margin: 0; text-wrap: pretty; }
