@font-face { font-family: "Source Serif"; src: url("source-serif-4-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url("source-serif-4-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url("source-serif-4-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --navy-950: #040d1d;
  --navy-900: #071630;
  --navy-850: #0a1c3b;
  --navy-800: #0f2649;
  --navy-700: #1b3560;
  --brand: #011f44;
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --ink: #0d1b33;
  --ink-soft: #46546b;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(13, 27, 51, 0.14);
  --text-on-dark: #f5f3ee;
  --muted-on-dark: #aab5c8;
  --accent: #b9c8e2;
  --accent-warm: #d8c3a5;
  --positive: #7fb49a;
  --serif: "Source Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow { display: inline-flex; align-items: center; gap: 16px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 22px; }
.eyebrow::after { content: ""; width: 64px; height: 1px; background: currentColor; opacity: 0.7; }
.lead { font-size: 1.15rem; line-height: 1.65; }

/* Header */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; color: var(--text-on-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 52px; height: auto; }
.brand span { font-family: var(--serif); font-size: 1.55rem; letter-spacing: 0.01em; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { text-decoration: none; font-size: 0.95rem; color: var(--text-on-dark); opacity: 0.88; padding: 6px 0; border-bottom: 1px solid transparent; transition: opacity .2s, border-color .2s; }
.nav a:hover { opacity: 1; }
.nav a[aria-current="page"] { opacity: 1; border-bottom-color: currentColor; }
.nav a.btn-contact { background: #fff; color: var(--brand); opacity: 1; padding: 10px 22px; border-radius: 8px; border: 0; font-weight: 500; }
.nav a.btn-contact[aria-current="page"] { box-shadow: 0 0 0 2px var(--accent); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: inherit; border-radius: 8px; padding: 8px 12px; font: inherit; font-size: 0.9rem; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--text-on-dark); background: var(--navy-900); }
.hero-bg { position: absolute; inset: 0; background-color: var(--navy-900); background-image: linear-gradient(90deg, var(--navy-900) 0%, var(--navy-900) 30%, rgba(7, 22, 48, 0.55) 52%, rgba(7, 22, 48, 0) 70%), image-set(url("mountains.webp") type("image/webp"), url("mountains.jpg") type("image/jpeg")); background-repeat: no-repeat; background-size: auto, auto 100%; background-position: 0 0, right center; }
.hero .wrap { position: relative; }
.hero .hero-home { min-height: 760px; display: flex; flex-direction: column; justify-content: center; padding-top: 150px; padding-bottom: 90px; }
.hero-home .copy { max-width: 690px; }
.hero-home p.lead { color: var(--muted-on-dark); max-width: 600px; margin-bottom: 36px; }
.hero .hero-page { padding-top: 170px; padding-bottom: 80px; }
.hero-page h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); max-width: 760px; }
.hero-page p.lead { color: var(--muted-on-dark); max-width: 640px; margin: 0; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 8px; font-size: 1rem; font-weight: 500; text-decoration: none; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; cursor: pointer; font-family: var(--sans); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--paper); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.75); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }
.btn-row { display: flex; flex-wrap: wrap; gap: 18px; }

/* Pillars band */
.pillars { background: var(--navy-900); color: var(--text-on-dark); border-top: 1px solid var(--line-dark); }
.pillars .wrap { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 48px; padding-bottom: 56px; }
.pillar { display: grid; grid-template-columns: 40px 1fr; gap: 6px 22px; padding: 0 36px; border-left: 1px solid var(--line-dark); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar svg { width: 36px; height: 36px; stroke: currentColor; fill: none; stroke-width: 1.4; margin-top: 4px; }
.pillar h3 { margin: 0; font-size: 1.45rem; }
.pillar p { grid-column: 2; margin: 0; color: var(--muted-on-dark); font-size: 0.95rem; }

/* Sections */
.section { padding: 110px 0; }
.section-dark { background: var(--navy-900); color: var(--text-on-dark); }
.section-dark .muted, .section-dark p { color: var(--muted-on-dark); }
.section-dark h2, .section-dark h3 { color: var(--text-on-dark); }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.section-dark .section-head p { color: var(--muted-on-dark); }
.muted { color: var(--ink-soft); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

.card { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 32px; }
.section-dark .card { background: var(--navy-850); border-color: var(--line-dark); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

.step { border-top: 1px solid var(--line-light); padding-top: 22px; }
.section-dark .step { border-top-color: var(--line-dark); }
.step .num { font-family: var(--serif); font-size: 0.95rem; color: var(--ink-soft); letter-spacing: 0.12em; display: block; margin-bottom: 12px; }
.section-dark .step .num { color: var(--accent); }
.step h3 { font-size: 1.25rem; }
.step p { font-size: 0.96rem; color: var(--ink-soft); }
.section-dark .step p { color: var(--muted-on-dark); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; background: #fff; }
.compare > div { padding: 34px; }
.compare > div + div { border-left: 1px solid var(--line-light); background: var(--brand); color: var(--text-on-dark); }
.compare > div + div p, .compare > div + div li { color: var(--muted-on-dark); }
.compare h3 { font-size: 1.3rem; }
.compare ul { margin: 0; padding-left: 18px; }
.compare li { margin-bottom: 8px; }
.tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px; color: var(--ink-soft); }
.compare > div + div .tag { color: var(--accent); }

.quote { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; max-width: 900px; margin: 0; }
.quote-src { margin-top: 18px; font-size: 0.9rem; color: var(--muted-on-dark); }

.refs { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.refs li { border-left: 2px solid var(--accent-warm); padding: 2px 0 2px 18px; }
.refs .title { font-family: var(--serif); font-size: 1.12rem; display: block; }
.refs .meta { font-size: 0.9rem; color: var(--ink-soft); }

.cta-band { background: var(--brand); color: var(--text-on-dark); padding: 80px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; max-width: 640px; }

/* Team */
.member { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; }
.avatar { width: 120px; height: 120px; border-radius: 50%; background: var(--brand); color: var(--paper); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 2.2rem; }
.member .role { font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; display: block; }
.member ul { padding-left: 18px; margin: 0 0 16px; color: var(--ink-soft); }
.member ul li { margin-bottom: 4px; }
.link-inline { color: var(--brand); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.section-dark .link-inline { color: var(--accent); }

/* Roadmap */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 1px; background: var(--line-dark); }
.timeline li { position: relative; padding: 0 0 40px 48px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--accent); background: var(--navy-900); }
.timeline li.now::before { background: var(--accent); }
.timeline .when { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 6px; }
.timeline h3 { margin-bottom: 6px; }
.timeline p { margin: 0; }

.stat { border-top: 1px solid var(--line-light); padding-top: 20px; }
.stat .val { font-family: var(--serif); font-size: 2.6rem; line-height: 1; display: block; margin-bottom: 10px; color: var(--brand); }
.stat p { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 6px; }
.stat .src { font-size: 0.78rem; color: var(--ink-soft); opacity: 0.85; }

/* Contact */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.9rem; font-weight: 500; }
.field input, .field select, .field textarea { font: inherit; padding: 13px 14px; border-radius: 8px; border: 1px solid var(--line-light); background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.form-note { font-size: 0.85rem; color: var(--ink-soft); }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.contact-list span { display: block; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.contact-list a { font-family: var(--serif); font-size: 1.3rem; text-decoration: none; color: var(--brand); }

/* Legal / prose */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.6rem; margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin-bottom: 1em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.todo { background: #fff3cd; color: #6b4e00; padding: 1px 6px; border-radius: 4px; font-size: 0.92em; }

.notice { border: 1px solid var(--line-light); border-left: 3px solid var(--accent-warm); background: #fff; border-radius: 8px; padding: 18px 22px; font-size: 0.92rem; color: var(--ink-soft); }
.notice strong { color: var(--ink); }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--muted-on-dark); padding: 70px 0 40px; font-size: 0.9rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.site-footer .brand span { color: var(--text-on-dark); font-size: 1.35rem; }
.site-footer .brand img { width: 44px; }
.site-footer h4 { color: var(--text-on-dark); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: var(--muted-on-dark); }
.site-footer a:hover { color: var(--text-on-dark); }
.disclaimer { padding-top: 32px; font-size: 0.8rem; line-height: 1.7; color: #8592a8; }
.disclaimer p { margin-bottom: 10px; }

/* Responsive */
@media (max-width: 980px) {
  .nav { position: absolute; top: 80px; right: 24px; left: 24px; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-850); border: 1px solid var(--line-dark); border-radius: 12px; padding: 10px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-bottom: 0; }
  .nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.06); border-radius: 8px; }
  .nav a.btn-contact { margin-top: 6px; text-align: center; }
  .menu-toggle { display: inline-block; }
  .pillars .wrap { grid-template-columns: 1fr; gap: 28px; }
  .pillar { border-left: 0; padding: 0; }
  .grid-2, .grid-3, .grid-4, .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .compare { grid-template-columns: 1fr; }
  .compare > div + div { border-left: 0; border-top: 1px solid var(--line-light); }
  .section { padding: 80px 0; }
  .hero-bg { background-image: linear-gradient(180deg, rgba(7, 22, 48, 0.55) 0%, rgba(7, 22, 48, 0.88) 45%, var(--navy-900) 100%), image-set(url("mountains.webp") type("image/webp"), url("mountains.jpg") type("image/jpeg")); background-size: auto, auto 520px; background-position: 0 0, right top; }
  .hero .hero-home { min-height: 0; padding-top: 140px; padding-bottom: 80px; }
  .hero .hero-page { padding-top: 140px; padding-bottom: 64px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .brand span { font-size: 1.3rem; }
  .brand img { width: 44px; }
  .member { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .card, .compare > div { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.mt-56 { margin-top: 56px; }
.gap-sm { gap: 20px; }
.small { font-size: 0.85rem; }

/* Simulator */
.sim-section { padding-top: 64px; }
.sim-notice { margin-bottom: 32px; }
.sim { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
.sim-controls { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 26px; display: grid; gap: 24px; position: sticky; top: 24px; }
.seg { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg legend { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); padding: 0; margin-bottom: 10px; }
.seg-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 6px; background: var(--paper); padding: 4px; border-radius: 9px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; font-size: 0.86rem; padding: 9px 8px; border-radius: 7px; color: var(--ink-soft); transition: background .15s, color .15s; }
.seg input:checked + span { background: var(--brand); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.ctl { display: grid; gap: 8px; }
.ctl[hidden] { display: none; }
.ctl label { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.92rem; font-weight: 500; gap: 12px; }
.ctl output { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--brand); white-space: nowrap; }
.ctl small { font-size: 0.8rem; color: var(--ink-soft); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 0; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; background: var(--paper-2); border-radius: 2px; }
input[type=range]::-moz-range-track { height: 4px; background: var(--paper-2); border-radius: 2px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--brand); margin-top: -8px; }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--brand); }
.ctl-dark { margin-top: 28px; max-width: 420px; }
.ctl-dark label { color: var(--text-on-dark); }
.ctl-dark output { color: var(--accent); }
.ctl-dark input[type=range]::-webkit-slider-runnable-track { background: var(--navy-700); }
.ctl-dark input[type=range]::-moz-range-track { background: var(--navy-700); }
.ctl-dark input[type=range]::-webkit-slider-thumb { background: var(--accent); border-color: var(--navy-900); box-shadow: 0 0 0 1px var(--accent); }
.ctl-dark input[type=range]::-moz-range-thumb { background: var(--accent); border-color: var(--navy-900); box-shadow: 0 0 0 1px var(--accent); }

.kpis { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.kpi { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 6px; align-content: start; }
.kpi-main { background: var(--brand); border-color: var(--brand); color: var(--text-on-dark); }
.k-label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.kpi-main .k-label { color: var(--accent); }
.k-val { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; }
.k-sub { font-size: 0.84rem; color: var(--ink-soft); line-height: 1.4; }
.kpi-main .k-sub { color: var(--muted-on-dark); }

.chart-box { position: relative; margin: 0; background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 20px 20px 10px; }
.chart-box figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-bottom: 12px; }
.chart-title { font-family: var(--serif); font-size: 1.15rem; }
.legend { font-size: 0.82rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 14px; height: 10px; border-radius: 2px; }
.legend i + i, .legend .lg-bar { margin-left: 8px; }
.lg-line { background: rgba(1, 31, 68, 0.18); border-top: 2px solid var(--brand); }
.lg-bar { background: var(--accent-warm); }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.c-grid { stroke: rgba(13, 27, 51, 0.08); }
.c-axis { stroke: rgba(13, 27, 51, 0.35); }
.c-text { font-family: var(--sans); font-size: 11px; fill: #5b6880; }
.c-text-strong { fill: var(--brand); font-weight: 500; }
.c-bar { fill: var(--accent-warm); }
.c-line { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linejoin: round; }
.c-area { fill: rgba(1, 31, 68, 0.1); }
.c-zone { fill: rgba(216, 195, 165, 0.12); }
.c-mark { stroke: var(--brand); stroke-dasharray: 3 4; opacity: 0.6; }
.c-hover { stroke: rgba(13, 27, 51, 0.4); }
.chart-tip { position: absolute; top: 56px; transform: translateX(-50%); background: var(--navy-900); color: #fff; font-size: 0.82rem; padding: 7px 11px; border-radius: 6px; pointer-events: none; white-space: nowrap; margin-left: 20px; }
.warn { margin-top: 14px; font-size: 0.88rem; color: #7a4f00; background: #fff6e0; border: 1px solid #f0dca8; border-radius: 8px; padding: 12px 16px; }
.warn[hidden] { display: none; }
.shock-val { font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--text-on-dark) !important; margin-bottom: 18px; }
.section-dark .card h3 { font-size: 1rem; font-family: var(--sans); font-weight: 500; color: var(--muted-on-dark); margin-bottom: 4px; }
.section-dark .card .tag { color: var(--accent); }
.shock-note { margin-top: 28px; max-width: 820px; }
.assume { padding-left: 18px; margin: 0; color: var(--ink-soft); }
.assume li { margin-bottom: 12px; }
.assume strong { color: var(--ink); }

@media (max-width: 980px) {
  .sim { grid-template-columns: 1fr; }
  .sim-controls { position: static; }
  .kpis { grid-template-columns: 1fr; }
}
.h3 { font-size: 1.6rem; margin-bottom: 4px; }
