:root {
  color-scheme: dark;
  --bg: #0b0b0c;
  --panel: #101113;
  --panel-2: #1b1b1e;
  --panel-active: #1d1b18;
  --card: #141416;
  --border: #2a2a2e;
  --border-strong: #37373d;
  --text: #f2f0ea;
  --muted: #a8a39a;
  --muted-2: #7e7469;
  --accent: #d8bd79;
  --accent-hover: #ead49a;
  --accent-soft: rgba(216, 189, 121, .12);
  --positive: #7fb892;
  --warning: #d99a3a;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 6px 18px rgba(0, 0, 0, .28);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.48; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--border); background: rgba(11, 11, 12, .94); backdrop-filter: blur(14px); }
.header-inner { width: min(1180px, calc(100% - 48px)); min-height: 72px; margin-inline: auto; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(216, 189, 121, .48); border-radius: var(--radius-sm); background: var(--panel-active); color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.brand > span:last-child { display: grid; }
.brand strong { font-size: .87rem; letter-spacing: .04em; }
.brand small { margin-top: 1px; color: var(--muted-2); font-size: .61rem; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--muted); font-size: .79rem; font-weight: 600; transition: color 150ms ease; }
.site-nav a:hover { color: var(--text); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 0 17px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--panel-2); color: var(--text); font-size: .82rem; font-weight: 700; letter-spacing: .01em; transition: background 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease; }
.button:hover { border-color: var(--muted-2); background: #202023; }
.button-primary { border-color: var(--accent); background: transparent; color: var(--accent-hover); }
.button-primary:hover { border-color: var(--accent-hover); background: rgba(216, 189, 121, .08); color: var(--text); box-shadow: 0 0 0 3px rgba(216, 189, 121, .18); }
.button-small { min-height: 38px; padding-inline: 14px; font-size: .77rem; }
.button span { color: var(--accent); }

.hero { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 62px; min-height: 690px; padding-block: 96px; }
.eyebrow { color: var(--muted-2); font-size: .67rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); vertical-align: 1px; }
.hero h1 { max-width: 620px; margin-top: 20px; font-size: clamp(3rem, 5.6vw, 5.2rem); font-weight: 650; letter-spacing: -.048em; line-height: .98; }
.hero-lede { max-width: 570px; margin-top: 27px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-note { margin-top: 19px; color: var(--muted-2); font-size: .72rem; }

.terminal-frame { overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--panel); box-shadow: 0 28px 80px rgba(0, 0, 0, .42); transform: perspective(1200px) rotateY(-2deg); transform-origin: center right; }
.terminal-bar { min-height: 59px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 18px; border-bottom: 1px solid var(--border); }
.terminal-bar > div { display: grid; gap: 2px; color: var(--muted-2); font-size: 9px; }
.terminal-brand { color: var(--text); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.live-state { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.live-state i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--positive); }
.terminal-body { min-height: 402px; display: grid; grid-template-columns: 112px 1fr; }
.terminal-nav { display: flex; flex-direction: column; gap: 3px; padding: 17px 9px; border-right: 1px solid var(--border); }
.terminal-nav span { padding: 8px 9px; border: 1px solid transparent; border-radius: 4px; color: var(--muted-2); font-size: 9px; }
.terminal-nav .active { border-color: rgba(216, 189, 121, .3); border-left: 2px solid var(--accent); background: var(--panel-active); color: var(--text); }
.terminal-content { min-width: 0; padding: 22px; }
.terminal-heading { display: grid; gap: 6px; margin-bottom: 13px; }
.terminal-heading span { color: var(--muted-2); font-size: 8px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.terminal-heading strong { font-size: 15px; }
.regime-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.regime-grid article { min-height: 106px; padding: 13px; border: 1px solid var(--border); border-top: 2px solid var(--border-strong); border-radius: var(--radius-md); background: var(--card); box-shadow: var(--shadow); }
.regime-grid small, .regime-grid span { display: block; color: var(--muted-2); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.regime-grid strong { display: block; margin: 16px 0 7px; font-size: 12px; }
.regime-grid strong.positive { color: var(--positive); }
.regime-grid strong.warning { color: var(--warning); }
.briefing-panel { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 13px; padding: 17px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); }
.briefing-panel div { display: grid; gap: 6px; }
.briefing-panel div span { color: var(--muted-2); font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.briefing-panel strong { font-size: 11px; font-weight: 600; }
.terminal-badge { white-space: nowrap; padding: 5px 8px; border-radius: 999px; background: rgba(126, 116, 105, .14); color: var(--muted-2); font-size: 8px; }
.signal-lines { display: grid; gap: 9px; margin-top: 17px; }
.signal-lines i { display: block; height: 6px; border-radius: 2px; background: #202023; }
.signal-lines i:nth-child(1) { width: 94%; }.signal-lines i:nth-child(2) { width: 72%; }.signal-lines i:nth-child(3) { width: 85%; }.signal-lines i:nth-child(4) { width: 56%; }

.proof-strip { border-block: 1px solid var(--border); background: var(--panel); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { min-height: 104px; display: grid; align-content: center; gap: 5px; padding: 20px 28px; border-right: 1px solid var(--border); }
.proof-grid div:first-child { border-left: 1px solid var(--border); }
.proof-grid strong { color: var(--text); font-size: 1.02rem; }
.proof-grid span { color: var(--muted-2); font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }

.content-section { padding-block: 116px; border-bottom: 1px solid var(--border); }
.section-intro { max-width: 690px; margin-bottom: 48px; }
.section-intro h2, .cta-section h2 { margin-top: 15px; font-size: clamp(2rem, 4vw, 3.65rem); font-weight: 650; letter-spacing: -.04em; line-height: 1.05; }
.section-intro > p:last-child { max-width: 650px; margin-top: 20px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature-card { min-height: 276px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow); }
.card-index { color: var(--muted-2); font-size: .63rem; font-weight: 700; letter-spacing: .12em; }
.feature-card h3 { margin-top: auto; font-size: 1.3rem; }
.feature-card p { max-width: 520px; margin-top: 10px; color: var(--muted); line-height: 1.65; }
.mini-regime { display: grid; grid-template-columns: 62px repeat(3, 1fr) auto; align-items: center; gap: 8px; margin-top: 25px; color: var(--muted-2); font-size: .67rem; }
.mini-regime i { height: 5px; border-radius: 2px; background: var(--positive); opacity: .35; }.mini-regime i:nth-of-type(2) { opacity: .62; }.mini-regime i:nth-of-type(3) { opacity: 1; }
.mini-regime strong { color: var(--positive); font-size: .68rem; }
.rate-row { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr; align-items: center; gap: 9px; margin-top: 25px; color: var(--muted-2); font-size: .66rem; }
.rate-row b { position: relative; height: 5px; overflow: hidden; border-radius: 2px; background: #252528; }
.rate-row b::after { position: absolute; inset: 0 auto 0 0; width: var(--rate); background: var(--accent); content: ""; }

.split-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.sticky-intro { position: sticky; top: 116px; margin-bottom: 0; }
.workflow-list { margin: 0; padding: 0; list-style: none; }
.workflow-list li { display: grid; grid-template-columns: 44px 1fr; gap: 22px; padding: 29px 0; border-bottom: 1px solid var(--border); }
.workflow-list li:first-child { padding-top: 0; }
.workflow-list > li > span { padding-top: 4px; color: var(--accent); font-size: .65rem; font-weight: 700; letter-spacing: .1em; }
.workflow-list h3 { font-size: 1.12rem; }
.workflow-list p { margin-top: 8px; color: var(--muted); line-height: 1.65; }

.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.coverage-grid article { min-height: 210px; padding: 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.coverage-grid span { color: var(--accent); font-size: .64rem; font-weight: 700; letter-spacing: .1em; }
.coverage-grid h3 { margin-top: 45px; font-size: 1.08rem; }
.coverage-grid p { margin-top: 9px; color: var(--muted); line-height: 1.62; }
.principles { border-bottom: 0; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.principle-grid article { min-height: 188px; padding: 25px; border-top: 2px solid var(--accent); border-radius: var(--radius-md); background: var(--card); box-shadow: var(--shadow); }
.principle-grid h3 { font-size: 1rem; }
.principle-grid p { margin-top: 35px; color: var(--muted); line-height: 1.65; }

.cta-section { margin-bottom: 92px; padding: 62px; border: 1px solid rgba(216, 189, 121, .36); border-radius: var(--radius-lg); background: var(--panel-active); text-align: center; }
.cta-section p:not(.eyebrow) { max-width: 570px; margin: 18px auto 26px; color: var(--muted); font-size: 1rem; }

.site-footer { border-top: 1px solid var(--border); background: var(--panel); }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr 1.4fr; gap: 48px; padding-block: 54px; }
.footer-brand { display: grid; align-content: start; gap: 5px; }
.footer-brand strong { font-size: .9rem; }.footer-brand span { color: var(--muted-2); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid h2 { margin-bottom: 4px; color: var(--muted-2); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a { color: var(--muted); font-size: .78rem; }.footer-grid a:hover { color: var(--text); }
.footer-disclaimer { max-width: 340px; color: var(--muted-2); font-size: .75rem; line-height: 1.65; }
.footer-bottom { min-height: 58px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); color: var(--muted-2); font-size: .69rem; }

/* Legal and information pages */
.legal-main { min-height: 70vh; }
.legal-hero { padding-block: 82px 48px; border-bottom: 1px solid var(--border); }
.legal-hero h1 { max-width: 820px; margin-top: 16px; font-size: clamp(2.5rem, 6vw, 4.8rem); letter-spacing: -.045em; line-height: 1; }
.legal-hero > p:last-child { max-width: 700px; margin-top: 22px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 80px; padding-block: 62px 100px; }
.legal-toc { position: sticky; top: 108px; align-self: start; display: grid; gap: 3px; padding: 10px 0; border-top: 1px solid var(--border); }
.legal-toc a { padding: 8px 10px; border-left: 2px solid transparent; color: var(--muted-2); font-size: .75rem; }.legal-toc a:hover { border-left-color: var(--accent); color: var(--text); }
.legal-copy { min-width: 0; }
.legal-meta { margin-bottom: 38px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); color: var(--muted); font-size: .77rem; }
.legal-copy section { scroll-margin-top: 100px; padding: 0 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--border); }
.legal-copy h2 { margin-bottom: 14px; font-size: 1.25rem; }
.legal-copy h3 { margin: 22px 0 8px; font-size: .95rem; }
.legal-copy p, .legal-copy li { color: var(--muted); line-height: 1.75; }
.legal-copy p + p { margin-top: 12px; }
.legal-copy ul { display: grid; gap: 8px; margin: 14px 0 0; padding-left: 19px; }
.legal-copy a { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.legal-callout { padding: 19px 21px; border-left: 3px solid var(--accent); background: var(--panel-active); }

@media (max-width: 980px) {
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 54px; padding-block: 74px; }
  .hero-copy { max-width: 720px; }
  .terminal-frame { width: min(720px, 100%); transform: none; }
  .split-section { grid-template-columns: 1fr; gap: 45px; }
  .sticky-intro { position: static; }
  .footer-grid { grid-template-columns: 1.3fr .7fr .7fr; }.footer-disclaimer { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .section-shell, .header-inner { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 64px; gap: 12px; }
  .brand small { display: none; }.button-small { padding-inline: 11px; }.button-small span { display: none; }
  .hero { min-height: auto; padding-block: 58px; }.hero h1 { font-size: clamp(2.65rem, 14vw, 4rem); }.hero-lede { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }.hero-actions .button { width: 100%; }
  .terminal-body { grid-template-columns: 1fr; }.terminal-nav { display: none; }.terminal-content { padding: 15px; }.terminal-bar { padding-inline: 14px; }
  .regime-grid { grid-template-columns: 1fr; }.regime-grid article { min-height: 82px; }.regime-grid strong { margin-top: 10px; }
  .briefing-panel { align-items: flex-start; flex-direction: column; }
  .proof-grid { grid-template-columns: 1fr 1fr; }.proof-grid div, .proof-grid div:first-child { min-height: 90px; border-left: 0; border-bottom: 1px solid var(--border); }.proof-grid div:nth-child(2n) { border-right: 0; }
  .content-section { padding-block: 76px; }.section-intro { margin-bottom: 34px; }
  .feature-grid, .coverage-grid, .principle-grid { grid-template-columns: 1fr; }.feature-card { min-height: 245px; }.coverage-grid article { min-height: 175px; }.coverage-grid h3 { margin-top: 28px; }
  .mini-regime, .rate-row { display: none; }
  .cta-section { width: calc(100% - 28px); margin-bottom: 60px; padding: 44px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }.footer-brand, .footer-disclaimer { grid-column: 1 / -1; }.footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; }
  .legal-hero { padding-block: 60px 38px; }.legal-layout { grid-template-columns: 1fr; gap: 32px; padding-block: 38px 70px; }.legal-toc { position: static; grid-template-columns: 1fr 1fr; }.legal-copy section { scroll-margin-top: 80px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
