/* Flip Profit HQ — mobile-first, no framework. */
:root {
  --ink: #0b1b2b;
  --ink-2: #26384a;
  --muted: #536476;      /* 5.9:1 on white */
  --line: #e1e8ef;
  --line-2: #cfd9e3;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --bg-tint: #eef6f3;
  --brand: #047857;      /* white text on it: 5.5:1 */
  --brand-dark: #065f46;
  --brand-bright: #34d399;
  --accent: #0b1b2b;
  --pos: #047857;
  --neg: #b42318;        /* 6.5:1 on white */
  --focus: #2563eb;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 27, 43, .06), 0 8px 24px rgba(11, 27, 43, .06);
  --shadow-lg: 0 2px 4px rgba(11, 27, 43, .06), 0 20px 48px rgba(11, 27, 43, .12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--bg); }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
.num, .result-big, .compare-profit, .lines dd, .price .amount, .receipt { font-variant-numeric: tabular-nums; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 780px; }
@media (min-width: 768px) { .container { padding: 0 28px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .65em 1.15em; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-accent { background: var(--ink); color: #fff; }
.btn-accent:hover { background: #1b3147; color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { font-size: 1.05rem; padding: .8em 1.4em; min-height: 52px; }
.btn-sm { min-height: 38px; padding: .45em 1em; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-pair { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-pair .btn { flex: 1 1 180px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo:hover { color: var(--ink); }
.logo b { color: var(--brand); }
.logo-light, .logo-light:hover { color: #fff; }
.logo-light b { color: var(--brand-bright); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-2); background: #fff; border-radius: 10px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 8px 16px 16px; display: grid; gap: 2px; }
.site-nav a:not(.btn) { display: block; padding: 12px 8px; color: var(--ink); text-decoration: none; font-weight: 550; border-radius: 8px; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { background: var(--bg-soft); }
.site-nav .btn { margin-top: 8px; width: 100%; }
@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; align-items: center; gap: 4px; padding: 0; }
  .site-nav a:not(.btn) { padding: 8px 12px; font-size: .97rem; }
  .site-nav .btn { margin: 0 0 0 8px; width: auto; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-head { max-width: 720px; margin: 0 0 36px; }
.section-sub { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 64px; background:
  radial-gradient(900px 400px at 85% -10%, rgba(16, 185, 129, .12), transparent 60%),
  linear-gradient(var(--bg-soft), #fff); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 88px 0 96px; } .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.hero h1 em { font-style: normal; color: var(--brand); background: linear-gradient(transparent 70%, rgba(52, 211, 153, .3) 70%); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-ctas .btn { flex: 1 1 220px; }
@media (min-width: 600px) { .hero-ctas .btn { flex: 0 0 auto; } }
.trust-strip { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .92rem; }
.trust-strip li { display: inline-flex; align-items: center; gap: 7px; }
.trust-strip li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--bg-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23047857' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.receipt { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 22px; max-width: 420px; margin: 0 auto; position: relative; }
.receipt::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -8px; height: 8px; background: radial-gradient(circle at 6px 0, transparent 6px, #fff 6.5px) 0 0/12px 8px repeat-x; filter: drop-shadow(0 2px 1px rgba(11, 27, 43, .05)); }
.receipt-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px dashed var(--line-2); }
.receipt-head span { color: var(--muted); }
.receipt-head strong { font-size: 1.6rem; }
.receipt-lines { list-style: none; margin: 0; padding: 10px 0; }
.receipt-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .95rem; color: var(--ink-2); }
.receipt-total { display: flex; justify-content: space-between; align-items: center; background: var(--bg-tint); border-radius: 12px; padding: 12px 14px; font-weight: 700; }
.receipt-total strong { font-size: 1.6rem; }
.receipt-note { margin: 12px 0 0; font-size: .8rem; color: var(--muted); }
.pos { color: var(--pos); }
.neg { color: var(--neg); }
.zero { color: var(--muted); }

/* ---------- Problem ---------- */
.problem { background: #fff; }
.problem .narrow p { font-size: 1.08rem; color: var(--ink-2); }
.pain-grid { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .pain-grid { grid-template-columns: repeat(3, 1fr); } }
.pain-grid li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pain-grid h3 { font-size: 1.05rem; }
.pain-grid p { color: var(--muted); margin: 0; }

/* ---------- Features ---------- */
.features { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 16px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } .feature-grid .feature:first-child { grid-column: span 1; } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature-icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; background: var(--bg-tint); color: var(--brand); margin-bottom: 12px; }
.feature p { color: var(--muted); margin: 0; }
.two-col { display: grid; gap: 16px; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--ink); color: #e6edf3; border-radius: var(--radius); padding: 26px; }
.panel h3 { color: #fff; }
.panel-quiet { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.panel-quiet h3 { color: var(--ink); }
.steps { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.checks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--bg-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23047857' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }

/* ---------- Sheet preview ---------- */
.sheet-mock { margin: 0; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.sheet-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: .85rem; }
.sheet-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.sheet-bar b { margin-left: 8px; font-weight: 600; color: var(--ink-2); }
.sheet-scroll, .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sheet { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .9rem; }
.sheet th, .sheet td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.sheet thead th { background: #fafcfd; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 650; }
.sheet .num { text-align: right; }
.sheet tfoot th, .sheet tfoot td { background: var(--bg-tint); font-weight: 700; border-bottom: 0; }
.chip { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.sheet-mock figcaption { padding: 10px 14px; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- Calculator links ---------- */
.calcs { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calc-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .calc-links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .calc-links { grid-template-columns: repeat(3, 1fr); } }
.calc-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 600; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.calc-links a:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--ink); }
.calc-links a span:last-child { color: var(--brand); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 20px; max-width: 900px; }
@media (min-width: 800px) { .price-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.price-card { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--brand); }
.price { margin: 4px 0 12px; color: var(--muted); }
.price .amount { font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.price .or { margin: 0 6px; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-dark); background: var(--bg-tint); border-radius: 999px; padding: 4px 10px; margin: 0 0 12px; }
.terms { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; font-size: .92rem; color: var(--ink-2); }
.terms summary { cursor: pointer; font-weight: 650; color: var(--ink); min-height: 32px; display: flex; align-items: center; }
.terms ul { padding-left: 1.1em; margin: 10px 0 0; display: grid; gap: 8px; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 650; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-list details p { color: var(--ink-2); padding: 0 0 18px; margin: 0; }

/* ---------- Waitlist ---------- */
.waitlist { background: var(--ink); color: #e6edf3; }
.waitlist h2 { color: #fff; }
.waitlist a { color: var(--brand-bright); }
.prelaunch-note { background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .35); border-radius: 10px; padding: 10px 14px; color: #d1fae5; }
.waitlist-form { margin-top: 24px; display: grid; gap: 18px; }
.waitlist-form .field label, .waitlist-form legend { color: #fff; }
.waitlist-form input[type="email"], .waitlist-form textarea { background: #fff; }
.waitlist .btn-accent { background: var(--brand-bright); color: var(--ink); }
.waitlist .btn-accent:hover { background: #6ee7b7; color: var(--ink); }
.check-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; min-height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; cursor: pointer; font-weight: 550; }
.pill:has(input:checked) { background: rgba(52, 211, 153, .18); border-color: var(--brand-bright); }
.pill input { width: 18px; height: 18px; accent-color: var(--brand-bright); }
.consent { font-size: .85rem; color: #aebccb; margin: 0; }
.form-status { margin: 0; min-height: 1.5em; font-weight: 600; }
.form-status.is-success { color: var(--brand-bright); }
.form-status.is-error { color: #fca5a5; }
.form-status.is-info { color: #bfdbfe; }
.opt { font-weight: 400; color: #aebccb; }
.req { color: var(--brand-bright); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Forms (shared) ---------- */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 700; padding: 0; margin-bottom: 10px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .95rem; }
input[type="text"], input[type="email"], select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 11px 12px; min-height: 46px; transition: border-color .15s, box-shadow .15s; }
select { appearance: none; -webkit-appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23536476' stroke-width='1.6'/%3E%3C/svg%3E") right 12px center/12px no-repeat; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(4, 120, 87, .2); }
.hint { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.money-input { position: relative; }
.money-input span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.money-input input { padding-left: 26px; font-variant-numeric: tabular-nums; }
.field-check { gap: 4px; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 600; font-size: .95rem; min-height: 28px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--brand); }
.check input:disabled + span { color: var(--muted); }
.field-check .hint { padding-left: 30px; }

/* ---------- Calculator pages ---------- */
.calc-hero, .page-hero { padding: 28px 0 28px; background: linear-gradient(var(--bg-soft), #fff); border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .calc-hero, .page-hero { padding: 48px 0 40px; } }
.calc-hero h1, .page-hero h1 { font-size: clamp(1.9rem, 5vw, 2.75rem); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.asof { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; margin: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(4, 120, 87, .15); }

.card { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow); }
.calc-layout { display: grid; gap: 20px; padding-top: 24px; padding-bottom: 48px; align-items: start; }
@media (min-width: 940px) { .calc-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding-top: 36px; } .calc-side { position: sticky; top: 84px; } }
.calc-form { padding: 20px; display: grid; gap: 24px; }
@media (min-width: 600px) { .calc-form { padding: 26px; } }
.field-grid { display: grid; gap: 16px; }
@media (min-width: 600px) { .field-grid { grid-template-columns: 1fr 1fr; } .field-grid .field-check, .field-grid .field:has(select) { grid-column: 1 / -1; } }
.calc-form fieldset + fieldset { border-top: 1px solid var(--line); padding-top: 20px; }

.results { padding: 22px; }
@media (min-width: 600px) { .results { padding: 26px; } }
.result-head { padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.result-kicker { margin: 0 0 4px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.result-big { margin: 0; font-size: clamp(2.3rem, 8vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.result-sub { margin: 8px 0 0; color: var(--ink-2); font-size: .95rem; }
.lines { margin: 0; }
.line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 8px 0; border-bottom: 1px solid #f0f3f6; }
.line dt { display: grid; gap: 1px; color: var(--ink-2); }
.line dd { margin: 0; white-space: nowrap; font-weight: 600; }
.line-detail { font-size: .78rem; color: var(--muted); line-height: 1.35; }
.line.fee dd { color: var(--neg); }
.line.muted dt, .line.muted dd { color: var(--muted); font-weight: 400; }
.line.subtotal { border-bottom: 0; }
.line.subtotal dt { font-weight: 650; color: var(--ink); }
.line.strong { background: var(--bg-soft); border-radius: 10px; padding: 10px 12px; margin: 4px -12px; border-bottom: 0; }
.line.strong dt, .line.strong dd { font-weight: 750; color: var(--ink); }
.line.total { background: var(--bg-tint); }
.line.total dd { font-size: 1.15rem; }
.line-group { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: 16px 0 4px; }
.result-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }

.calc-cta { margin-top: 16px; background: var(--ink); color: #dfe7ee; border-radius: 18px; padding: 22px; }
.calc-cta p:first-child { color: #fff; font-size: 1.05rem; margin-bottom: .4em; }
.calc-cta strong { color: #fff; }
.calc-cta .btn-accent { background: var(--brand-bright); color: var(--ink); }
.calc-cta .btn-accent:hover { background: #6ee7b7; color: var(--ink); }

.prose { padding: 16px 0 8px; font-size: 1.04rem; }
.prose h2 { margin-top: 1.2em; }
.prose h3 { margin-top: 1.6em; font-size: 1.2rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; margin: 0 0 1em; }
.asof-note { font-size: .88rem; color: var(--muted) !important; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 28px; }
.rate-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .9rem; margin: 8px 0 18px; font-variant-numeric: tabular-nums; }
.rate-table caption { text-align: left; font-size: .85rem; color: var(--muted); padding-bottom: 8px; }
.rate-table th, .rate-table td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: right; }
.rate-table th[scope="row"], .rate-table thead th:first-child { text-align: left; }
.rate-table thead th { font-size: .78rem; color: var(--muted); font-weight: 650; line-height: 1.3; vertical-align: bottom; }
.rate-table tbody tr:nth-child(odd) { background: #fafcfd; }
.calc-faq { padding: 24px 0; }
.calc-faq h2 { font-size: 1.5rem; }
.related { padding: 8px 0 64px; }
.related-h { font-size: 1.1rem; }
.related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.related a { display: inline-flex; min-height: 40px; align-items: center; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 550; font-size: .93rem; }
.related a:hover { border-color: var(--brand); color: var(--brand-dark); }

/* ---------- Comparison ---------- */
.compare-layout { padding-top: 24px; padding-bottom: 48px; display: grid; gap: 20px; }
@media (min-width: 768px) { .field-grid-6 { grid-template-columns: repeat(3, 1fr); } .field-grid-6 .field:has(select) { grid-column: auto; } }
.compare-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .compare-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .compare-grid { grid-template-columns: repeat(5, 1fr); } }
.compare-card { background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.compare-card.is-best { border: 2px solid var(--brand); }
.compare-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.compare-top h3 { margin: 0; font-size: 1.05rem; }
.compare-top .badge { margin: 0; }
.compare-profit { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 6px; }
.bar { height: 6px; background: var(--bg-soft); border-radius: 99px; overflow: hidden; margin-bottom: 10px; }
.bar-fill { display: block; height: 100%; border-radius: 99px; background: var(--brand); transition: width .2s; }
.bar-fill.neg { background: var(--neg); }
.lines.compact .line { padding: 6px 0; font-size: .9rem; }
.lines.compact .line.strong { margin: 4px -8px; padding: 8px; }
.compare-note { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Legal / 404 ---------- */
.legal { padding-bottom: 64px; }
.notfound { padding: 80px 0 96px; }

/* ---------- Footer ---------- */
.site-footer { background: #08141f; color: #aebccb; padding: 56px 0 28px; font-size: .93rem; }
.site-footer a { color: #dbe4ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-brand p { margin: 12px 0 0; }
.footer-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid #1c2d3d; font-size: .8rem; color: #93a4b5; }
.footer-legal p { max-width: 90ch; }

