:root {
  --ink: #0b1220;
  --ink-2: #172235;
  --paper: #f8f8f3;
  --surface: #ffffff;
  --surface-2: #f0f2ea;
  --line: #dce1d7;
  --muted: #637083;
  --muted-light: #aab5c6;
  --accent: #c8f36b;
  --accent-strong: #a8dc3f;
  --warm: #ff9466;
  --blue: #6ca8ff;
  --positive: #147a4d;
  --negative: #bb3d3d;
  --warning: #9c6516;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 10px 30px rgba(11, 18, 32, .07);
  --shadow: 0 24px 70px rgba(11, 18, 32, .12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow-left { max-width: 790px; margin-left: max(0px, calc((100% - var(--max)) / 2)); }
.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: fixed; left: 16px; top: 12px; z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 16px; border-radius: 8px;
  background: var(--accent); color: var(--ink); font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.top-note { background: var(--accent); color: var(--ink); font-size: .82rem; }
.top-note-inner { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.top-note a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(248, 248, 243, .93); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(11,18,32,.08); }
.nav-shell { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -.04em; font-size: 1.22rem; }
.brand img { border-radius: 10px; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: .92rem; font-weight: 720; }
.site-nav > a:not(.nav-cta) { color: #3d495b; }
.site-nav > a:not(.nav-cta):hover { color: var(--ink); }
.nav-cta { padding: 10px 16px; border-radius: 999px; background: var(--ink); color: white; }
.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

.section { padding: 96px 0; }
.section-dark { background: var(--ink); color: white; }
.section-tint { background: #eef1e8; }
.eyebrow, .mini-label, .step-kicker {
  display: inline-block;
  color: #526236;
  font-size: .76rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.04em; }
h1 { font-size: clamp(3rem, 7vw, 6.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: 1.28rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 19px;
  border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; font-size: .92rem; font-weight: 850;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: var(--accent-strong); }
.button-ghost { background: transparent; border-color: rgba(255,255,255,.22); color: white; }
.button-ghost:hover { border-color: rgba(255,255,255,.55); }
.button-light { background: white; color: var(--ink); }
.button-subtle { background: #edf0e8; border-color: #dce1d7; color: var(--ink); }
.button-subtle:hover { background: #e2e7db; }
.button-accent { background: var(--warm); color: var(--ink); }
.button-full { width: 100%; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: #516730; font-weight: 850; font-size: .91rem; }
.text-link span { transition: transform .15s ease; }
a:hover .text-link span, .text-link:hover span { transform: translateX(3px); }
.text-link.dark { color: var(--ink); }
.text-button { border: 0; background: transparent; color: var(--muted); font-weight: 800; cursor: pointer; padding: 6px; }
.text-button:hover { color: var(--ink); }

.hero { position: relative; overflow: hidden; padding: 88px 0 96px; }
.hero::before {
  content: ""; position: absolute; width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,243,107,.13), transparent 65%);
  right: -340px; top: -360px; pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 70px; align-items: center; }
.hero-copy h1 { margin: 18px 0 25px; max-width: 820px; }
.hero-copy h1 span { color: var(--accent); }
.hero-lede { max-width: 660px; color: #c5cfdd; font-size: 1.2rem; line-height: 1.62; }
.trust-row { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 28px; color: #9aa8bb; font-size: .83rem; }
.trust-row b { color: white; font-size: 1rem; margin-right: 5px; }
.hero-panel {
  border-radius: var(--radius-lg); padding: 28px;
  background: linear-gradient(145deg, #182438, #101a2b);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 34px 100px rgba(0,0,0,.33);
  transform: rotate(1deg);
}
.panel-topline { display: flex; justify-content: space-between; color: #9cabbd; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 850; }
.status-dot { display: inline-flex; align-items: center; gap: 7px; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(200,243,107,.1); }
.hero-number { padding: 42px 0 30px; }
.hero-number span { display: block; color: #aeb9c8; font-size: .9rem; }
.hero-number strong { display: block; color: white; font-size: clamp(3rem, 6vw, 5.2rem); letter-spacing: -.065em; line-height: 1; }
.hero-number small { color: var(--accent); font-weight: 800; }
.mini-waterfall { display: grid; gap: 12px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.mini-waterfall div { display: flex; justify-content: space-between; gap: 20px; color: #9faec1; font-size: .89rem; }
.mini-waterfall b { color: white; }
.panel-insight { margin-top: 20px; display: flex; gap: 10px; color: #c8d2df; font-size: .87rem; line-height: 1.45; }
.panel-insight span { color: var(--accent); font-weight: 900; }

.logo-strip { border-bottom: 1px solid var(--line); background: white; }
.logo-strip-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; color: #7a8492; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 850; }
.section-heading { margin-bottom: 42px; }
.section-heading h2 { margin: 12px 0 0; }
.split-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; }
.split-heading > p { margin: 0; color: var(--muted); font-size: 1.04rem; max-width: 500px; }
.card-grid { display: grid; gap: 18px; }
.calculator-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.calculator-card {
  position: relative; min-height: 290px; padding: 26px;
  display: flex; flex-direction: column;
  background: white; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
}
.calculator-card::after { content: ""; position: absolute; width: 100px; height: 100px; border-radius: 50%; background: var(--accent); filter: blur(45px); opacity: 0; right: -30px; top: -30px; transition: opacity .18s ease; }
.calculator-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: #cbd3c5; }
.calculator-card:hover::after { opacity: .24; }
.card-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--ink); color: var(--accent); font-weight: 900; font-size: .75rem; margin-bottom: 24px; }
.card-category { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 900; }
.calculator-card h3, .calculator-card h2 { margin: 8px 0 12px; font-size: 1.42rem; }
.calculator-card h2 { font-size: 1.5rem; }
.calculator-card p { color: var(--muted); font-size: .91rem; line-height: 1.58; }
.calculator-card .text-link { margin-top: auto; }
.process-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.lede-dark { color: var(--muted); font-size: 1.08rem; max-width: 480px; }
.process-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.process-list li { display: grid; grid-template-columns: 66px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid #d7ddd1; }
.process-list li:first-child { padding-top: 0; }
.process-list > li > span { font-size: .76rem; font-weight: 900; color: #7a874f; }
.process-list h3 { margin-bottom: 8px; }
.process-list p { color: var(--muted); margin: 0; }
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-visual { min-height: 450px; padding: 50px; display: grid; place-items: center; border-radius: var(--radius-lg); background: var(--ink); position: relative; overflow: hidden; }
.feature-visual::before { content: ""; position: absolute; width: 330px; height: 330px; border-radius: 50%; background: var(--accent); filter: blur(110px); opacity: .18; }
.formula-window { position: relative; width: min(100%, 500px); padding: 18px 24px 30px; border-radius: 16px; background: #111c2d; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.window-controls { display: flex; gap: 7px; margin-bottom: 28px; }
.window-controls span { width: 9px; height: 9px; border-radius: 50%; background: #435067; }
.formula-window code { color: #dbe6f4; font-family: "SFMono-Regular", Consolas, monospace; line-height: 1.9; font-size: clamp(.9rem, 2vw, 1.12rem); }
.feature-copy h2 { margin: 14px 0 22px; }
.feature-copy > p { color: var(--muted); font-size: 1.03rem; }
.check-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); font-size: .72rem; font-weight: 900; }
.cta-section { padding-top: 30px; }
.cta-card { padding: 55px; border-radius: var(--radius-lg); background: var(--ink); color: white; display: flex; justify-content: space-between; align-items: center; gap: 60px; }
.cta-card h2 { margin: 12px 0; font-size: clamp(2rem, 4vw, 3.4rem); max-width: 760px; }
.cta-card p { color: #b8c3d3; max-width: 750px; margin-bottom: 0; }
.cta-card .button { flex: 0 0 auto; }

.page-hero { padding: 82px 0; }
.compact-hero h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); margin: 14px 0 20px; }
.compact-hero p { color: #bac5d5; max-width: 730px; font-size: 1.12rem; }
.full-library { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.full-library .calculator-card { min-height: 260px; }
.library-note { margin-top: 70px; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; gap: 50px; background: #eef1e8; }
.library-note h2 { font-size: 2rem; margin: 10px 0 0; }
.library-note p { color: var(--muted); margin: 0; }

.calculator-hero { padding: 52px 0 40px; background: #eef1e8; border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .8rem; font-weight: 700; margin-bottom: 35px; }
.breadcrumbs a:hover { color: var(--ink); }
.calculator-title-row { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.calculator-title-row h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); margin: 13px 0 15px; }
.calculator-title-row p { max-width: 800px; color: var(--muted); font-size: 1.07rem; margin: 0; }
.verified-badge { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 13px; background: white; border: 1px solid var(--line); }
.verified-badge > span { width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font-weight: 900; }
.verified-badge b, .verified-badge small { display: block; }
.verified-badge b { font-size: .78rem; }
.verified-badge small { color: var(--muted); font-size: .69rem; }
.calculator-workspace { padding: 38px 0 58px; background: #eef1e8; }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr); gap: 22px; align-items: start; }
.input-panel, .result-panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(11,18,32,.045); }
.input-panel { padding: 26px; }
.result-panel { padding: 26px; position: sticky; top: 98px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.panel-heading h2 { font-size: 1.34rem; margin: 3px 0 0; }
.step-kicker { color: #6a7650; font-size: .67rem; }
.field-group { border: 0; margin: 0; padding: 0 0 25px; }
.field-group + .field-group { padding-top: 23px; border-top: 1px solid #e5e8e1; }
.field-group legend { width: 100%; margin-bottom: 13px; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 900; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-field label { display: block; margin-bottom: 6px; font-size: .79rem; line-height: 1.35; font-weight: 800; color: #394559; }
.form-field small { display: block; color: var(--muted); font-size: .69rem; line-height: 1.42; margin-top: 6px; }
.input-shell { position: relative; display: flex; align-items: stretch; }
.input-shell input, .input-shell select { width: 100%; min-height: 45px; padding: 10px 12px; color: var(--ink); background: #f9faf6; border: 1px solid #d9ded5; border-radius: 10px; outline: none; font-size: .88rem; font-weight: 700; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.input-shell select { appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, #526073 50%), linear-gradient(135deg, #526073 50%, transparent 50%); background-position: calc(100% - 16px) 19px, calc(100% - 11px) 19px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.input-shell input:focus, .input-shell select:focus { background: white; border-color: #879b5c; box-shadow: 0 0 0 4px rgba(168,220,63,.16); }
.input-shell:has(.prefix) input { padding-left: 35px; }
.input-shell:has(.suffix) input { padding-right: 44px; }
.input-affix { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .77rem; font-weight: 800; pointer-events: none; }
.input-affix.prefix { left: 12px; }
.input-affix.suffix { right: 12px; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 2px; }
.form-privacy { margin: 12px 0 0; color: #84909e; font-size: .69rem; text-align: center; }
.live-status { color: var(--muted); font-size: .72rem; font-weight: 800; }
.live-status.ready { color: var(--positive); }
.live-status.error { color: var(--negative); }
.primary-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.metric-card { min-width: 0; padding: 15px; border-radius: 13px; border: 1px solid #e1e5dc; background: #f8f9f5; }
.metric-card span { display: block; min-height: 34px; color: var(--muted); font-size: .68rem; line-height: 1.3; font-weight: 800; }
.metric-card strong { display: block; margin-top: 8px; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.05; letter-spacing: -.04em; overflow-wrap: anywhere; }
.metric-card.positive { background: #f0f8f2; border-color: #cfe6d5; }
.metric-card.positive strong { color: var(--positive); }
.metric-card.negative { background: #fff3f1; border-color: #f0d2cd; }
.metric-card.negative strong { color: var(--negative); }
.metric-card.loading { opacity: .65; }
.result-insight { margin: 16px 0 24px; padding: 14px 15px; border-radius: 12px; display: flex; gap: 10px; background: var(--ink); color: white; }
.result-insight span { color: var(--accent); font-weight: 900; }
.result-insight p { margin: 0; font-size: .82rem; line-height: 1.48; }
.secondary-block, .breakdown-block { padding: 20px 0; border-top: 1px solid #e5e8e1; }
.secondary-block h3, .breakdown-block h3 { font-size: .86rem; letter-spacing: -.015em; margin: 0 0 14px; }
.secondary-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.secondary-results div { min-width: 0; }
.secondary-results dt { color: var(--muted); font-size: .65rem; line-height: 1.25; min-height: 32px; }
.secondary-results dd { margin: 4px 0 0; font-size: .9rem; font-weight: 850; overflow-wrap: anywhere; }
.subheading-row { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.subheading-row > span { color: var(--muted); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.breakdown-results { display: grid; gap: 10px; }
.breakdown-row { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(90px, 1.25fr) auto; gap: 10px; align-items: center; font-size: .7rem; }
.breakdown-label { color: #4a5668; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.breakdown-track { height: 7px; border-radius: 999px; background: #edf0e9; overflow: hidden; }
.breakdown-bar { height: 100%; border-radius: inherit; background: #879b5c; min-width: 2px; }
.breakdown-bar.negative { background: var(--blue); }
.breakdown-value { font-weight: 850; font-variant-numeric: tabular-nums; }
.result-notes { display: grid; gap: 7px; }
.result-notes p { margin: 0; padding: 9px 11px; border-left: 3px solid #d2d8c9; background: #f7f8f4; color: var(--muted); font-size: .68rem; line-height: 1.45; }
.error-box { margin-bottom: 15px; padding: 12px; border-radius: 10px; background: #fff1ef; border: 1px solid #f0cbc5; color: var(--negative); font-size: .8rem; }
.report-upsell { margin-top: 22px; padding: 20px; border-radius: 15px; background: #182438; color: white; }
.report-upsell .mini-label { color: var(--accent); }
.report-upsell h3 { margin: 9px 0; font-size: 1.22rem; }
.report-upsell p { color: #b7c2d1; font-size: .79rem; line-height: 1.5; }
.report-upsell small { display: block; margin-top: 8px; text-align: center; color: #929fb1; font-size: .65rem; }
.ad-slot { margin-top: 22px; min-height: 120px; padding: 10px; border: 1px dashed #cbd1c6; text-align: center; }
.ad-slot > span { color: #9ba4af; font-size: .58rem; text-transform: uppercase; letter-spacing: .1em; }
.content-section { padding-top: 84px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 80px; align-items: start; }
.prose { max-width: 790px; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); margin: 58px 0 18px; }
.prose > .eyebrow + h2 { margin-top: 13px; }
.prose p, .prose li { color: #4f5d70; font-size: 1rem; line-height: 1.78; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 10px; }
.worked-example { margin: 32px 0; padding: 25px; border-radius: 14px; background: var(--ink); color: white; }
.worked-example span { color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-weight: 900; }
.worked-example p { color: #c3cddb; margin: 9px 0 0; }
.source-note { margin: 35px 0; padding: 22px; border: 1px solid #d3dacd; border-radius: 13px; background: #f0f3eb; }
.source-note b { display: block; margin-bottom: 6px; }
.source-note p { margin: 0 0 8px; font-size: .87rem; }
.source-note a { font-size: .82rem; font-weight: 850; color: #4f6727; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 850; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #6c7d49; font-size: 1.3rem; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { padding: 0 35px 20px 0; margin: 0; font-size: .92rem; }
.article-aside { display: grid; gap: 16px; }
.sticky-card { padding: 23px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: var(--shadow-sm); }
.article-aside .sticky-card:first-child, .report-aside .sticky-card:first-child { position: sticky; top: 105px; }
.sticky-card h3 { margin: 10px 0; }
.sticky-card p { color: var(--muted); font-size: .83rem; line-height: 1.6; }
.partner-card-small a { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 13px 0; border-bottom: 1px solid #e4e7e0; }
.partner-card-small a:last-of-type { border-bottom: 0; }
.partner-card-small b, .partner-card-small small { display: block; }
.partner-card-small small { color: var(--muted); font-size: .67rem; line-height: 1.35; margin-top: 3px; }
.disclosure-mini { margin: 13px 0 0 !important; font-size: .63rem !important; }
.related-grid { grid-template-columns: repeat(3, 1fr); }
.compact-card { min-height: 230px; }

.about-split { align-items: start; }
.principle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.principle-grid > div { padding: 22px; border-radius: 15px; background: white; border: 1px solid var(--line); }
.principle-grid b { color: #82945c; font-size: .72rem; }
.principle-grid h3 { margin: 14px 0 7px; }
.principle-grid p { color: var(--muted); font-size: .83rem; margin: 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.contact-card { align-self: start; padding: 36px; border-radius: var(--radius); background: var(--ink); color: white; }
.contact-card .mini-label { color: var(--accent); }
.contact-card h2 { font-size: clamp(1.4rem, 3vw, 2.3rem); margin: 15px 0; overflow-wrap: anywhere; }
.contact-card p { color: #bac5d3; }
.contact-copy h2 { font-size: 1.8rem; margin: 0 0 10px; }
.contact-copy h2:not(:first-child) { margin-top: 42px; }
.contact-copy p { color: var(--muted); }
.disclosure-banner { padding: 28px; border-radius: 16px; background: #eef1e8; border: 1px solid var(--line); margin-bottom: 25px; }
.disclosure-banner strong { display: block; margin-bottom: 5px; }
.disclosure-banner p { color: var(--muted); margin: 0; }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.partner-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; display: flex; flex-direction: column; min-height: 330px; }
.partner-mark { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--ink); color: var(--accent); font-weight: 900; font-size: 1.2rem; margin-bottom: 22px; }
.partner-card h2 { font-size: 1.55rem; margin: 9px 0 12px; }
.partner-card p { color: var(--muted); font-size: .86rem; }
.partner-card .button { margin-top: auto; }
.selection-policy { margin-top: 75px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.selection-policy h2 { margin-top: 10px; }
.selection-policy ol { padding-left: 22px; margin: 0; }
.selection-policy li { padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.selection-policy li b { color: var(--ink); }

.legal-hero small { color: #8391a5; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 85px; align-items: start; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-nav { position: sticky; top: 105px; display: grid; padding: 20px; border-radius: 14px; background: white; border: 1px solid var(--line); }
.legal-nav .mini-label { margin-bottom: 10px; }
.legal-nav a { padding: 9px 10px; border-radius: 8px; color: var(--muted); font-size: .83rem; font-weight: 750; }
.legal-nav a:hover, .legal-nav a[aria-current="page"] { background: #eef1e8; color: var(--ink); }
.warning-note { background: #fff7e9; border-color: #ead7ae; }

.status-page { min-height: 65vh; display: grid; place-items: center; padding: 80px 0; }
.status-card { max-width: 660px; margin: auto; padding: 48px; border-radius: var(--radius-lg); text-align: center; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.status-icon { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; background: #eef1e8; font-size: 1.3rem; font-weight: 900; }
.status-card.warning .status-icon { background: #fff4d8; color: var(--warning); }
.status-card.error .status-icon { background: #fff0ed; color: var(--negative); }
.status-card h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); margin: 12px 0 16px; }
.status-card p { color: var(--muted); }
.status-card .button { margin-top: 15px; }

.report-hero { padding: 70px 0; }
.report-hero-grid { display: grid; grid-template-columns: 1fr 250px; gap: 70px; align-items: center; }
.report-hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); margin: 14px 0 20px; }
.report-hero p { color: #bdc8d7; font-size: 1.08rem; max-width: 800px; }
.report-meta { display: flex; flex-wrap: wrap; gap: 18px; color: #8593a7; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.score-card { padding: 28px; border-radius: var(--radius); background: #172337; border: 1px solid rgba(255,255,255,.12); }
.score-number { color: var(--accent); font-size: 4rem; line-height: 1; font-weight: 900; letter-spacing: -.06em; }
.score-number small { font-size: .9rem; color: #8e9bae; }
.score-card b { display: block; margin: 12px 0 5px; }
.score-card p { font-size: .7rem; margin: 0; line-height: 1.45; }
.report-body { padding: 70px 0 100px; }
.report-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 70px; align-items: start; }
.report-section { padding-bottom: 65px; margin-bottom: 65px; border-bottom: 1px solid var(--line); }
.report-section:last-child { border-bottom: 0; }
.report-section-title { display: flex; align-items: center; gap: 17px; margin-bottom: 28px; }
.report-section-title > span { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: var(--accent); font-size: .73rem; font-weight: 900; }
.report-section-title small { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 850; }
.report-section-title h2 { font-size: 2.25rem; margin: 2px 0 0; }
.finding-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.finding-card { padding: 22px; border-radius: 14px; background: white; border: 1px solid var(--line); }
.finding-card > span { display: inline-block; padding: 4px 8px; border-radius: 999px; background: #edf0e8; color: #59664a; text-transform: uppercase; letter-spacing: .08em; font-size: .6rem; font-weight: 900; }
.finding-card.risk > span { background: #fff0ed; color: var(--negative); }
.finding-card.strength > span { background: #eaf7ed; color: var(--positive); }
.finding-card h3 { margin: 13px 0 8px; font-size: 1.1rem; }
.finding-card p { color: var(--muted); font-size: .82rem; margin: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: white; }
.sensitivity-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.sensitivity-table th, .sensitivity-table td { padding: 15px 17px; text-align: right; border-bottom: 1px solid #e8ebe4; font-variant-numeric: tabular-nums; }
.sensitivity-table th:first-child, .sensitivity-table td:first-child { text-align: left; }
.sensitivity-table th { color: var(--muted); background: #f5f6f2; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.sensitivity-table tbody tr:last-child td { border-bottom: 0; }
.sensitivity-table td small { display: block; color: var(--muted); margin-top: 3px; }
.sensitivity-table .positive { color: var(--positive); font-weight: 900; }
.sensitivity-table .negative { color: var(--negative); font-weight: 900; }
.table-note { color: var(--muted); font-size: .75rem; margin: 11px 0 0; }
.action-list { list-style: none; padding: 0; margin: 0; display: grid; }
.action-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.action-list li:first-child { padding-top: 0; }
.action-list > li > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); font-size: .72rem; font-weight: 900; }
.action-list h3 { margin-bottom: 7px; }
.action-list p { color: var(--muted); margin-bottom: 8px; }
.action-list small { color: #59677a; }
.input-review { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.input-review > div { padding: 13px; border-radius: 10px; background: white; border: 1px solid var(--line); min-width: 0; }
.input-review span { display: block; color: var(--muted); font-size: .63rem; line-height: 1.3; }
.input-review b { display: block; margin-top: 5px; font-size: .82rem; overflow-wrap: anywhere; }
.caveat-section ul { color: var(--muted); }
.report-aside { display: grid; gap: 15px; }
.report-aside .button + .button { margin-top: 9px; }

.site-footer { background: var(--ink); color: white; padding: 70px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 60px; }
.brand-footer { margin-bottom: 15px; }
.footer-brand p { color: #8997aa; font-size: .83rem; max-width: 330px; }
.footer-grid h2 { color: #8795a9; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 15px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid > div:not(.footer-brand) a { padding: 4px 0; color: #c2cbd7; font-size: .82rem; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 35px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.1); color: #77869a; font-size: .68rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr 400px; gap: 35px; }
  .calculator-grid { grid-template-columns: repeat(2, 1fr); }
  .calculator-layout { grid-template-columns: 1fr; }
  .result-panel { position: static; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 45px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .top-note-inner { min-height: 42px; }
  .top-note-inner a { display: none; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 14px; right: 14px; top: 68px; padding: 16px; border-radius: 14px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 3px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 12px; border-radius: 8px; }
  .nav-cta { text-align: center; margin-top: 5px; }
  .section { padding: 70px 0; }
  .hero { padding: 68px 0; }
  .hero-grid, .split-heading, .process-grid, .feature-split, .contact-grid, .selection-policy, .report-hero-grid, .report-layout, .legal-layout { grid-template-columns: 1fr; }
  .hero-panel { max-width: 560px; transform: none; }
  .logo-strip-inner { justify-content: flex-start; overflow-x: auto; min-height: 68px; }
  .logo-strip-inner span { flex: 0 0 auto; }
  .calculator-grid, .full-library { grid-template-columns: 1fr 1fr; }
  .process-grid, .feature-split, .contact-grid { gap: 45px; }
  .cta-card { padding: 38px; flex-direction: column; align-items: flex-start; }
  .calculator-title-row { align-items: flex-start; flex-direction: column; gap: 25px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { grid-template-columns: 1fr 1fr; }
  .article-aside .sticky-card:first-child, .report-aside .sticky-card:first-child { position: static; }
  .related-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .legal-nav { position: static; grid-template-columns: 1fr 1fr; }
  .legal-nav .mini-label { grid-column: 1 / -1; }
  .report-aside { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 560px) {
  h1 { font-size: 3.25rem; }
  .hero-lede { font-size: 1.03rem; }
  .trust-row { gap: 14px; flex-direction: column; }
  .calculator-grid, .full-library, .partner-grid, .principle-grid { grid-template-columns: 1fr; }
  .calculator-card { min-height: 250px; }
  .library-note { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
  .feature-visual { padding: 25px; min-height: 360px; }
  .cta-card { padding: 28px; }
  .input-panel, .result-panel { padding: 18px; }
  .field-grid { grid-template-columns: 1fr; }
  .form-actions { grid-template-columns: 1fr; }
  .primary-results { grid-template-columns: 1fr; }
  .metric-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
  .metric-card span { min-height: 0; }
  .metric-card strong { margin: 0; }
  .secondary-results { grid-template-columns: 1fr 1fr; }
  .article-aside, .report-aside { grid-template-columns: 1fr; }
  .article-layout { gap: 35px; }
  .finding-grid, .input-review { grid-template-columns: 1fr; }
  .report-section-title h2 { font-size: 1.85rem; }
  .legal-nav { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media print {
  .top-note, .site-header, .site-footer, .report-aside, .button, .skip-link { display: none !important; }
  body { background: white; color: black; }
  .report-hero { padding: 25px 0; background: white; color: black; border-bottom: 2px solid #111; }
  .report-hero p, .report-meta { color: #333; }
  .score-card { background: white; color: black; border: 2px solid #111; }
  .score-number { color: black; }
  .report-body { padding: 25px 0; }
  .report-layout { display: block; }
  .report-section { break-inside: avoid; padding-bottom: 25px; margin-bottom: 25px; }
  .finding-card, .table-wrap, .input-review > div { box-shadow: none; }
  @page { margin: 16mm; }
}
