:root {
  color-scheme: light;
  --paper: #f4f2ec;
  --surface: #fbfaf7;
  --ink: #202a2a;
  --muted: #65706d;
  --line: #d8d9d1;
  --accent: #aebd61;
  --accent-soft: #e9ecdc;
  --warning: #f0e9d7;
  --danger: #9b473f;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #202827;
  --surface: #293230;
  --ink: #e8e9df;
  --muted: #aab4ad;
  --line: #46514c;
  --accent: #b9c879;
  --accent-soft: #374139;
  --warning: #3e3a2f;
  --danger: #e59b8e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.65 var(--sans); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.shell { width: min(calc(100% - 48px), 1180px); margin: 0 auto; }
.skip-link { position: fixed; z-index: 20; top: -60px; left: 12px; padding: 10px 14px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 10px; }

.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(12px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font: 11px var(--serif); letter-spacing: -.08em; }
.brand-name { display: block; font-size: 12px; font-weight: 750; letter-spacing: .15em; }
.brand-note { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.site-nav { display: flex; flex: 1; align-items: center; justify-content: center; gap: 2px; }
.nav-link { position: relative; padding: 9px 8px; color: var(--muted); font-size: 11px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-link:hover, .nav-link.is-active { color: var(--ink); background: var(--accent-soft); }
.nav-link.is-active::after { position: absolute; right: 9px; bottom: 3px; left: 9px; height: 1px; background: var(--accent); content: ""; }
.header-tools { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; }
.language-toggle, .theme-toggle, .menu-toggle { min-height: 35px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--ink); font-size: 10px; font-weight: 700; text-decoration: none; cursor: pointer; }
.theme-toggle { width: 36px; font-size: 14px; }
.menu-toggle { display: none; width: 38px; padding: 0; }
.menu-toggle span { width: 14px; height: 1px; background: currentColor; }
.menu-toggle span + span { margin-left: -14px; transform: translateY(5px); }
.language-toggle:hover, .theme-toggle:hover, .menu-toggle:hover { border-color: var(--ink); background: var(--accent-soft); }

.site-main { min-height: 62vh; }
.page-content { padding-top: 62px; padding-bottom: 82px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); align-items: center; gap: 58px; padding: 18px 0 14px; }
.eyebrow { margin: 0 0 16px; color: var(--muted); font: 600 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; }
.display-title, .page-title { max-width: 820px; margin: 0; font: 400 clamp(44px, 6vw, 76px)/.99 var(--serif); letter-spacing: -.05em; }
.display-title em { color: #78864b; font-style: normal; }
:root[data-theme="dark"] .display-title em { color: var(--accent); }
.intro { max-width: 660px; margin: 21px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 15px; border: 1px solid transparent; border-radius: 2px; font-size: 11px; font-weight: 700; text-decoration: none; transition: background-color .16s, color .16s, transform .16s; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: #394a40; color: #fff; }
.button-secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.button-secondary:hover { border-color: var(--ink); background: var(--accent-soft); }

.hero-art { position: relative; min-height: 242px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(90deg, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)), linear-gradient(0deg, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)), var(--surface); }
.orbit { position: absolute; top: 50%; left: 50%; width: 68%; height: 45%; border: 1px solid var(--muted); border-radius: 50%; transform: translate(-50%, -50%) rotate(-31deg) scaleY(.48); }
.orbit-two { width: 77%; border-color: var(--accent); transform: translate(-50%, -50%) rotate(31deg) scaleY(.47); }
.orbit-core { position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 24%, transparent); transform: translate(-50%, -50%); }
.art-caption { position: absolute; bottom: 12px; left: 14px; color: var(--muted); font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; }

.section-block { margin-top: 58px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.section-heading h2, .prose h2, .feature-note h2, .bottom-callout h2, .live-note h2, .contact-aside h2, .legal-item h2 { margin: 0; font: 400 28px/1.15 var(--serif); letter-spacing: -.025em; }
.period-label, .section-index { color: var(--muted); font: 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; text-align: right; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--surface); }
.metric-item { min-height: 112px; display: flex; flex-direction: column; justify-content: center; padding: 18px 20px; }
.metric-item + .metric-item { border-left: 1px solid var(--line); }
.metric-item strong { font: 400 34px/1.1 var(--serif); letter-spacing: -.035em; }
.metric-item span { margin-top: 9px; color: var(--muted); font-size: 10px; }
.performance-note, .fine-print { margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle { min-height: 170px; padding: 19px 20px 23px 0; }
.principle + .principle { padding-left: 20px; border-left: 1px solid var(--line); }
.item-index { display: block; margin-bottom: 18px; color: var(--muted); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.principle h3 { margin: 0 0 8px; font-size: 13px; }
.principle p, .roadmap-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.status-strip { display: flex; align-items: center; gap: 13px; margin-top: 31px; padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--accent-soft); }
.status-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); }
.status-strip div { flex: 1; }
.status-strip strong { display: block; font-size: 12px; }
.status-strip p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.status-strip > a { color: var(--ink); font-size: 18px; text-decoration: none; }

.page-intro { margin-bottom: 39px; }
.page-title { font-size: clamp(42px, 5vw, 62px); }
.split-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr); align-items: start; gap: 42px; }
.prose { max-width: 720px; }
.prose h2 { margin: 0 0 12px; }
.prose h2 + p { margin: 0 0 27px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.check-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 13px 0 13px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.check-list li::before { position: absolute; top: 19px; left: 1px; width: 8px; height: 1px; background: var(--accent); content: ""; }
.feature-note { padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.feature-note .item-index { margin-bottom: 23px; }
.feature-note h2 { margin-bottom: 11px; }
.feature-note p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.bottom-callout { margin-top: 34px; padding: 22px 25px; border-left: 3px solid var(--accent); background: var(--accent-soft); }
.bottom-callout h2 { margin: 0 0 6px; font: 400 22px var(--serif); }
.bottom-callout p { max-width: 820px; margin: 0; color: var(--muted); font-size: 12px; }

.results-block { margin-top: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.comparison-table th, .comparison-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: right; }
.comparison-table thead th { color: var(--muted); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.comparison-table th:first-child, .comparison-table td:first-child { text-align: left; }
.comparison-table tbody tr:last-child th, .comparison-table tbody tr:last-child td { border-bottom: 0; }
.comparison-table tbody th { font-weight: 600; }
.comparison-table tbody td:nth-child(2) { background: color-mix(in srgb, var(--accent-soft) 65%, transparent); }
.risk-panel { margin-top: 32px; padding: 27px 28px; border-left: 3px solid var(--danger); background: var(--warning); }
.risk-panel .eyebrow { margin-bottom: 14px; }
.risk-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 32px; }
.risk-value { color: var(--danger); font: 400 clamp(45px, 6vw, 64px)/1 var(--serif); }
.risk-layout h2 { max-width: 350px; margin: 8px 0 0; font: 400 23px/1.2 var(--serif); }
.risk-layout > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.live-note { display: flex; align-items: center; gap: 15px; margin-top: 23px; padding: 19px; border: 1px dashed var(--line); }
.live-mark { width: 27px; height: 27px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); }
.live-note h2 { font-size: 17px; }
.live-note p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }

.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.roadmap-item { position: relative; min-height: 215px; padding: 22px 20px 0 0; }
.roadmap-item + .roadmap-item { padding-left: 20px; border-left: 1px solid var(--line); }
.roadmap-step { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; color: var(--muted); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.roadmap-step i { width: 9px; height: 9px; border: 1px solid var(--accent); border-radius: 50%; }
.roadmap-item.is-current .roadmap-step i { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.roadmap-item h2 { margin: 0 0 8px; font: 400 22px var(--serif); }
.current-tag { display: inline-block; margin-top: 15px; padding: 4px 7px; background: var(--accent-soft); color: var(--ink); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.roadmap + .fine-print { margin-top: 20px; }

.about-banner { min-height: 150px; display: flex; align-items: center; justify-content: space-between; padding: 25px 30px; background: #172d3c; color: #f5f2e8; }
.about-banner > span:last-child { font-size: 11px; font-weight: 700; letter-spacing: .17em; }
.about-monogram { color: #ced59c; font: 400 54px var(--serif); letter-spacing: -.06em; }
.about-copy { margin-top: 34px; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 42px; }
.contact-aside { padding: 23px; border-left: 3px solid var(--accent); background: var(--accent-soft); }
.contact-aside h2 { margin-bottom: 11px; font-size: 23px; }
.contact-aside p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.contact-form { padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { font-size: 11px; font-weight: 700; }
.form-field label span { color: var(--danger); }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); color: var(--ink); }
.form-field input, .form-field select { min-height: 43px; }
.form-field textarea { min-height: 125px; resize: vertical; }
.submit-button { margin-top: 17px; cursor: pointer; }
.form-result { margin: 14px 0 0; color: #2e7452; font-size: 12px; }
.form-result.is-error { color: var(--danger); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.legal-list { border-top: 1px solid var(--line); }
.legal-item { display: grid; grid-template-columns: minmax(190px, .45fr) minmax(0, 1.55fr); gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.legal-item h2 { font-size: 21px; }
.legal-item p { max-width: 790px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.legal-callout { margin-top: 25px; padding: 16px 19px; border-left: 3px solid var(--accent); background: var(--accent-soft); color: var(--muted); font-size: 11px; }

.site-footer { padding: 24px 0 17px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { font-size: 10px; font-weight: 750; letter-spacing: .14em; text-decoration: none; }
.footer-main p, .footer-legal { margin: 0; color: var(--muted); font-size: 10px; text-decoration: none; }
.footer-disclaimer { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.6; }

@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; gap: 9px 15px; padding: 13px 0; }
  .site-nav { order: 3; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; }
  .nav-link { padding-inline: 9px; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 680px) {
  .shell { width: min(calc(100% - 34px), 520px); }
  .header-inner { min-height: 68px; flex-wrap: nowrap; padding: 0; }
  .brand-mark { width: 31px; height: 31px; }
  .brand-name { font-size: 11px; }
  .brand-note { font-size: 8px; }
  .header-tools { gap: 5px; }
  .language-toggle, .theme-toggle, .menu-toggle { min-height: 33px; padding: 0 8px; font-size: 9px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 4px; }
  .menu-toggle span + span { margin: 0; transform: none; }
  .site-nav { position: absolute; top: 67px; right: 0; left: 0; display: none; padding: 8px 17px 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .nav-link { padding: 11px 9px; font-size: 12px; }
  .nav-link.is-active::after { right: auto; bottom: 5px; left: 9px; width: 19px; }
  .page-content { padding-top: 43px; padding-bottom: 58px; }
  .hero-grid, .split-layout, .contact-layout, .risk-layout { grid-template-columns: 1fr; gap: 25px; }
  .display-title { font-size: clamp(44px, 13vw, 60px); }
  .page-title { font-size: clamp(40px, 11vw, 55px); }
  .intro { margin-top: 16px; font-size: 13px; }
  .hero-art { min-height: 180px; }
  .section-block { margin-top: 45px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .period-label, .section-index { text-align: left; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-item { min-height: 98px; padding: 15px; }
  .metric-item + .metric-item { border-left: 0; }
  .metric-item:nth-child(even) { border-left: 1px solid var(--line); }
  .metric-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .metric-item strong { font-size: 30px; }
  .principle-grid, .roadmap { grid-template-columns: 1fr; }
  .principle { min-height: auto; padding: 17px 0; }
  .principle + .principle, .roadmap-item + .roadmap-item { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .roadmap-item { min-height: auto; padding: 17px 0; }
  .roadmap-step { margin-bottom: 15px; }
  .risk-panel { padding: 21px 18px; }
  .risk-layout { gap: 16px; }
  .comparison-table { min-width: 550px; font-size: 11px; }
  .comparison-table th, .comparison-table td { padding: 11px 9px; }
  .about-banner { min-height: 120px; padding: 20px; }
  .about-monogram { font-size: 43px; }
  .contact-form { padding: 17px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .legal-item { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }
  .footer-main { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
