@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=Inter:wght@400;500;600;700&family=Lora:wght@500;600;700&display=swap');

:root {
  --ink: #17130f;
  --ink-2: #1f1a14;
  --panel: #291f16;
  --panel-2: #33271c;
  --paper: #faf6ec;
  --white: #fffdf7;
  --text: #f2ede2;
  --muted: #a89a82;
  --body: #4d493f;
  --blue: #5b84ac;
  --blue-2: #6d93b8;
  --mint: #88ad91;
  --amber: #d2a45f;
  --red: #c77872;
  --line: rgba(139, 122, 95, .22);
  --line-dark: rgba(120, 105, 75, .25);
  --shadow: 0 28px 80px rgba(39, 28, 17, .24);
  --font-display: Lora, Georgia, serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 22px;
  --radius-sm: 13px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(800px 480px at 80% -5%, rgba(91, 132, 172, .22), transparent 68%),
    radial-gradient(660px 520px at -8% 28%, rgba(136, 173, 145, .12), transparent 68%),
    var(--ink);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 10px; }
.skip:focus { left: 16px; z-index: 100; padding: 10px 14px; color: var(--ink); background: var(--white); border-radius: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(23, 19, 15, .9);
  backdrop-filter: blur(18px);
}
.nav { min-height: 76px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em; white-space: nowrap; }
.brand-mark { width: 38px; height: 38px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.brand em { color: var(--blue); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.nav-links > a, .nav-link {
  padding: 8px 10px;
  color: var(--muted);
  border-radius: 9px;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 650;
}
.nav-links > a:hover, .nav-links > a[aria-current="page"], .nav-link:hover { color: var(--text); background: rgba(91, 132, 172, .12); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.country { display: inline-flex; align-items: center; gap: 7px; height: 39px; padding: 0 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; font-weight: 700; }
.theme-toggle { display: grid; place-items: center; width: 39px; height: 39px; padding: 0; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: transparent; cursor: pointer; }
.theme-toggle:hover { background: rgba(112,184,255,.1); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; color: var(--text); background: var(--panel); cursor: pointer; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 47px;
  padding: 0 19px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: var(--panel);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 760;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #17130f; background: var(--blue); border-color: transparent; box-shadow: 0 12px 34px rgba(91, 132, 172, .24); }
.button-mint { color: #041b16; background: var(--mint); border-color: transparent; }
.button-ghost { background: transparent; }
.button-small { min-height: 39px; padding-inline: 14px; font-size: .78rem; }
.button-block { width: 100%; }

.eyebrow { color: var(--mint); text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 850; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(16, 35, 58, .58); font-size: .72rem; font-weight: 700; }
.kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px var(--mint); }
h1, h2, h3 { margin-top: 0; font-family: var(--font-display); line-height: 1.08; letter-spacing: -.035em; }
h1 { margin-bottom: 24px; font-size: clamp(2.85rem, 5.7vw, 5.2rem); max-width: 940px; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4.1vw, 3.55rem); }
h3 { margin-bottom: 10px; font-size: 1.15rem; letter-spacing: -.025em; }
.accent { color: var(--blue); }
.lead { max-width: 730px; color: var(--muted); font-size: 1.08rem; }
.page-hero { padding: 86px 0 58px; }
.page-hero h1 { max-width: 900px; }
.hero { display: grid; grid-template-columns: 1.04fr .96fr; gap: 54px; align-items: center; min-height: 670px; padding: 84px 0 68px; }
.hero-copy h1 { font-size: clamp(3.1rem, 5.65vw, 5.15rem); }
.parent-line { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 8px 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 9px; background: rgba(41,31,22,.62); text-decoration: none; font-family: var(--font-mono); font-size: .67rem; font-weight: 600; letter-spacing: .02em; }
.parent-line strong { color: var(--blue-2); font-family: var(--font-display); font-size: .83rem; letter-spacing: -.01em; }
.parent-line:hover { color: var(--text); border-color: rgba(91,132,172,.55); }
.parent-line b { color: var(--blue-2); font-family: var(--font-body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 30px 0 20px; }
.micro-proof { display: flex; flex-wrap: wrap; gap: 17px; color: var(--muted); font-size: .76rem; }
.micro-proof span::before { content: "✓"; margin-right: 6px; color: var(--mint); font-weight: 900; }

.product-stage { position: relative; }
.product-stage::before { content: ""; position: absolute; inset: -10% -12%; z-index: -1; background: radial-gradient(circle, rgba(112,184,255,.2), transparent 65%); filter: blur(20px); }
.app-window { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #1f1a14; box-shadow: var(--shadow); }
.app-window {
  color: #f7fbff;
  --text: #f7fbff;
  --muted: #a9b9ca;
  --blue: #6d93b8;
  --mint: #88ad91;
  --amber: #d2a45f;
  --line: rgba(139, 122, 95, .24);
}
.window-top { display: flex; align-items: center; gap: 6px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: #291f16; }
.window-top i { width: 8px; height: 8px; border-radius: 50%; background: #34506c; }
.window-top span { margin-left: 8px; color: #a89a82; font-size: .66rem; }
.app-nav { display: flex; gap: 15px; padding: 13px 18px; border-bottom: 1px solid var(--line); color: #ad9f88; font-size: .62rem; }
.app-nav b { color: var(--mint); }
.app-body { padding: 18px; }
.app-context { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 15px; color: #ad9f88; font-size: .62rem; }
.health { padding: 17px; border: 1px solid rgba(121,226,189,.25); border-radius: 15px; background: rgba(121,226,189,.06); }
.health-top { display: flex; justify-content: space-between; gap: 10px; }
.health strong { font-size: .88rem; }
.health span { color: var(--mint); font-size: .62rem; font-weight: 750; }
.progress { height: 6px; margin-top: 13px; overflow: hidden; border-radius: 99px; background: #3a2e23; }
.progress i { display: block; width: 88%; height: 100%; background: linear-gradient(90deg, var(--blue), var(--mint)); }
.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 11px; }
.app-stat { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #291f16; }
.app-stat b { display: block; font-size: 1.05rem; }
.app-stat small { color: #ad9f88; font-size: .57rem; }
.finding { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin-top: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: #261e17; font-size: .65rem; }
.finding-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.finding small { display: block; color: #ad9f88; }
.finding em { color: var(--blue); font-style: normal; font-weight: 750; }
.stage-note { position: absolute; right: -10px; bottom: -17px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--panel); font-size: .64rem; }

.trust-bar { border-block: 1px solid var(--line); background: rgba(31, 26, 20, .76); }
.trust-grid { min-height: 88px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: center; }
.trust-grid strong { display: block; font-size: .82rem; }
.trust-grid span { color: var(--muted); font-size: .66rem; }
.section { padding: 92px 0; }
.section-soft { color: var(--ink); background: var(--paper); }
.section-soft .eyebrow { color: #2f6b45; }
.section-soft .lead, .section-soft .muted { color: var(--body); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(16, 35, 58, .82); }
.section-soft .card { border-color: var(--line-dark); background: var(--white); box-shadow: 0 15px 46px rgba(70, 52, 30, .07); }
.card p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.section-soft .card p { color: var(--body); }
.icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 34px; border-radius: 12px; color: var(--blue); background: rgba(112,184,255,.1); font-weight: 850; }
.section-soft .icon { color: #436f99; background: #e9ece7; }
.number { color: var(--blue); font-size: .75rem; font-weight: 850; }
.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 52px; align-items: center; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; margin: 13px 0; padding-left: 27px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 900; }
.section-soft .check-list li { color: var(--body); }
.metric-band { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.metric { padding: 24px; border-right: 1px solid var(--line); background: rgba(16, 35, 58, .7); }
.metric:last-child { border: 0; }
.metric strong { display: block; font-size: 1.6rem; }
.metric span { color: var(--muted); font-size: .72rem; }

.evidence-flow { display: grid; gap: 9px; }
.flow-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 13px; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.flow-row b { font-size: .82rem; }
.flow-row p { margin: 2px 0 0; color: var(--muted); font-size: .7rem; }
.flow-row > span { color: var(--mint); font-size: .68rem; font-weight: 800; }
.flow-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: rgba(112,184,255,.1); color: var(--blue); }
.exchange-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.exchange { display: flex; align-items: center; gap: 11px; min-height: 68px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.section-soft .exchange { color: var(--text); }
.section-soft .flow-row { color: var(--text); }
.exchange i { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; color: var(--blue); background: rgba(112,184,255,.1); font-style: normal; font-size: .69rem; font-weight: 850; }
.exchange b { font-size: .82rem; }
.exchange small { display: block; color: var(--muted); font-size: .61rem; }
.status-live { color: var(--mint) !important; }
.status-map { color: var(--amber) !important; }
.status-next { color: #8fb1d1 !important; }
.exchange-logo { width: 35px; height: 35px; padding: 6px; object-fit: contain; border-radius: 10px; background: #fff; }
.status-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.status-pill { padding: 6px 10px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--body); background: #fff; font-size: .68rem; font-weight: 750; }
.resource-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.resource-card { display: flex; flex-direction: column; min-height: 230px; }
.resource-card .button { align-self: flex-start; margin-top: auto; }
.step-list { counter-reset: step; display: grid; gap: 14px; padding: 0; list-style: none; }
.step-list > li { counter-increment: step; position: relative; padding: 20px 20px 20px 66px; border: 1px solid var(--line); border-radius: 16px; background: rgba(16,35,58,.72); }
.step-list > li::before { content: counter(step); position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--ink); background: var(--mint); font-weight: 850; }
.step-list h3 { margin-bottom: 5px; }
.step-list p { margin: 0; color: var(--muted); font-size: .86rem; }
.external-note { font-size: .7rem; color: var(--muted); }
.section-soft .external-note { color: var(--body); }

html[data-theme="light"] body { color: #1c2b38; background: #faf6ec; }
html[data-theme="light"] body::before { background: radial-gradient(800px 480px at 80% -5%,rgba(91,132,172,.12),transparent 68%),radial-gradient(660px 520px at -8% 28%,rgba(47,107,69,.09),transparent 68%),#faf6ec; }
html[data-theme="light"] .site-header { border-color: var(--line-dark); background: rgba(250,246,236,.92); }
html[data-theme="light"] .brand-mark,
html[data-theme="light"] .menu-toggle { border-color: var(--line-dark); background: #fff; }
html[data-theme="light"] .nav-links > a,
html[data-theme="light"] .country,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .button-ghost { color: #4d493f; border-color: var(--line-dark); }
html[data-theme="light"] .nav-links > a:hover,
html[data-theme="light"] .nav-links > a[aria-current="page"] { color: #1c2b38; background: rgba(91,132,172,.11); }
html[data-theme="light"] .brand em,
html[data-theme="light"] .accent,
html[data-theme="light"] .number,
html[data-theme="light"] .price-tag,
html[data-theme="light"] .icon,
html[data-theme="light"] .flow-icon,
html[data-theme="light"] .prose a { color: #436f99; }
html[data-theme="light"] .eyebrow { color: #2f6b45; }
html[data-theme="light"] .status-live,
html[data-theme="light"] .flow-row > span { color: #0b6a4d !important; }
html[data-theme="light"] .status-map { color: #795000 !important; }
html[data-theme="light"] .status-next { color: #486a88 !important; }
html[data-theme="light"] .section-soft .exchange i { color: #436f99; }
html[data-theme="light"] .micro-proof span::before,
html[data-theme="light"] .check-list li::before { color: #0b6a4d; }
html[data-theme="light"] .card,
html[data-theme="light"] .exchange,
html[data-theme="light"] .flow-row,
html[data-theme="light"] .step-list > li { color: #1c2b38; border-color: var(--line-dark); background: rgba(255,253,247,.9); }
html[data-theme="light"] .card p,
html[data-theme="light"] .exchange small,
html[data-theme="light"] .flow-row p,
html[data-theme="light"] .step-list p,
html[data-theme="light"] .lead,
html[data-theme="light"] .muted,
html[data-theme="light"] .micro-proof,
html[data-theme="light"] .kicker,
html[data-theme="light"] .trust-grid span,
html[data-theme="light"] .metric span,
html[data-theme="light"] .price small,
html[data-theme="light"] .cta-panel p,
html[data-theme="light"] .prose p,
html[data-theme="light"] .prose li,
html[data-theme="light"] .check-list li,
html[data-theme="light"] .faq p,
html[data-theme="light"] .footer-brand p,
html[data-theme="light"] .footer-col a,
html[data-theme="light"] .legal { color: #6f6755; }
html[data-theme="light"] .trust-bar { border-color: var(--line-dark); background: rgba(255,253,247,.74); }
html[data-theme="light"] .metric { border-color: var(--line-dark); background: rgba(255,253,247,.78); }
html[data-theme="light"] footer { border-color: var(--line-dark); }
html[data-theme="light"] .demo-shell .eyebrow { color: var(--mint); }
html[data-theme="light"] .demo-shell .lead,
html[data-theme="light"] .demo-shell .card p,
html[data-theme="light"] .demo-shell .flow-row p,
html[data-theme="light"] .demo-shell .check-list li { color: var(--muted); }
html[data-theme="light"] .demo-shell .card,
html[data-theme="light"] .demo-shell .flow-row {
  color: var(--text);
  border-color: var(--line);
  background: var(--panel);
}
html[data-theme="light"] .demo-shell .flow-icon { color: var(--blue); }
html[data-theme="light"] .demo-shell .flow-row > span { color: var(--mint) !important; }
html[data-theme="light"] .demo-shell .button-ghost {
  color: var(--text);
  border-color: var(--line);
}
html[data-theme="light"] .prose .button-primary { color: #17130f; }
html[data-theme="light"] .notice,
.section-soft .notice {
  color: #6b4300;
  border-color: rgba(145, 88, 0, .3);
  background: #fff4d8;
}

/* Soft sections stay deliberately light in both themes. Their controls and
   supporting labels must therefore use light-surface colours even when the
   rest of the page is in dark mode. */
.section-soft .button-ghost { color: #4d493f; border-color: var(--line-dark); }
.section-soft .number,
.section-soft .price-tag { color: #436f99; }
.section-soft .price small,
.section-soft .faq p,
.section-soft .cta-panel p,
.section-soft .muted { color: #6f6755; }

.report-sheet { padding: 28px; color: #1c2b38; border-radius: 18px; background: #fffdf7; box-shadow: var(--shadow); }
.report-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 2px solid #ddd3bf; }
.report-head b { font-size: 1.12rem; }
.report-head small { color: #6f6755; }
.report-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin: 17px 0; }
.report-cell { padding: 13px; border-radius: 10px; background: #f3eee3; }
.report-cell strong { display: block; }
.report-cell span { color: #6f6755; font-size: .65rem; }
.report-line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #e3dac8; color: #4d493f; font-size: .72rem; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.featured { border-color: rgba(91,132,172,.65); box-shadow: 0 25px 70px rgba(91,132,172,.14); }
.price-tag { position: absolute; top: 16px; right: 16px; padding: 5px 8px; border-radius: 999px; color: var(--blue); background: rgba(112,184,255,.1); font-size: .61rem; font-weight: 850; }
.price { margin: 20px 0 2px; font-size: 2.2rem; font-weight: 850; letter-spacing: -.05em; }
.price small { color: var(--muted); font-size: .7rem; font-weight: 600; }
.price-card .button { margin-top: auto; }

.cta-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; padding: 46px; border: 1px solid rgba(91,132,172,.3); border-radius: 22px; background: linear-gradient(135deg, rgba(91,132,172,.17), rgba(136,173,145,.09)); }
.cta-panel p { color: var(--muted); }
.cta-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.notice { padding: 15px 17px; border: 1px solid rgba(255,202,114,.35); border-radius: 13px; color: #ffe0a8; background: rgba(255,202,114,.08); font-size: .82rem; }
.prose h2 { margin-top: 54px; font-size: 2rem; }
.prose h3 { margin-top: 30px; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--blue); }
.prose .button-primary { color: #17130f; }

.demo-shell {
  overflow: hidden;
  color: #f7fbff;
  border: 1px solid rgba(175, 202, 229, .18);
  border-radius: 26px;
  background: var(--ink-2);
  box-shadow: var(--shadow);
  --text: #f7fbff;
  --muted: #a9b9ca;
  --blue: #6d93b8;
  --mint: #88ad91;
  --amber: #d2a45f;
  --line: rgba(139, 122, 95, .22);
}
.demo-tabs { display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px; gap: 6px; border-bottom: 1px solid var(--line); }
.demo-tab { min-height: 46px; padding: 8px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; font-size: .74rem; font-weight: 760; cursor: pointer; }
.demo-tab[aria-selected="true"] { color: var(--ink); background: var(--mint); }
.demo-panel { display: none; min-height: 410px; padding: 27px; }
.demo-panel.active { display: block; }
.demo-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.demo-table { width: 100%; border-collapse: collapse; font-size: .72rem; }
.demo-table th, .demo-table td { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.demo-table th { color: var(--muted); font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; }
.demo-result { padding: 18px; border: 1px solid rgba(121,226,189,.28); border-radius: 15px; background: rgba(121,226,189,.06); }

.faq details { padding: 19px 0; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 760; }
.faq p { max-width: 820px; color: var(--muted); }

footer { padding: 54px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 28px; }
.footer-brand p { max-width: 390px; color: var(--muted); font-size: .78rem; }
.footer-col strong { font-size: .74rem; }
.footer-col a { display: block; margin: 9px 0; color: var(--muted); text-decoration: none; font-size: .73rem; }
.footer-col a:hover { color: var(--text); }
.legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .66rem; }

.origin-strip { display: grid; grid-template-columns: 1.25fr .75fr; gap: 46px; align-items: center; padding: 42px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(135deg, rgba(91,132,172,.13), rgba(136,173,145,.06)); }
.origin-strip h2 { margin-bottom: 14px; font-size: clamp(1.9rem, 3.2vw, 3rem); }
.origin-strip p { margin-bottom: 0; color: var(--muted); }
.company-facts { display: grid; gap: 10px; }
.company-fact { padding: 15px 17px; border: 1px solid var(--line); border-radius: 12px; background: rgba(41,31,22,.72); }
.company-fact strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 1rem; }
.company-fact span { color: var(--muted); font-size: .72rem; }
.founder-portrait { min-height: 100%; padding: 32px; color: var(--text); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(91,132,172,.13), rgba(41,31,22,.92)); }
.founder-portrait .eyebrow { color: #a7c9ae; }
.founder-portrait blockquote { margin: 32px 0 0; font-family: var(--font-display); font-size: clamp(1.45rem, 2.5vw, 2.15rem); line-height: 1.25; }
.founder-portrait cite { display: block; margin-top: 18px; color: var(--muted); font-family: var(--font-body); font-size: .76rem; font-style: normal; }
html[data-theme="light"] .origin-strip,
html[data-theme="light"] .founder-portrait { border-color: var(--line-dark); background: linear-gradient(145deg, rgba(91,132,172,.1), rgba(255,253,247,.88)); }
html[data-theme="light"] .parent-line { color: #6f6755; border-color: var(--line-dark); background: rgba(255,253,247,.86); box-shadow: 0 8px 24px rgba(70,52,30,.06); }
html[data-theme="light"] .parent-line strong,
html[data-theme="light"] .parent-line b { color: #436f99; }
html[data-theme="light"] .origin-strip p { color: #6f6755; }
html[data-theme="light"] .company-fact { color: #1c2b38; border-color: var(--line-dark); background: rgba(255,253,247,.86); }
html[data-theme="light"] .company-fact strong { color: #1c2b38; }
html[data-theme="light"] .company-fact span,
html[data-theme="light"] .founder-portrait cite { color: #6f6755; }
html[data-theme="light"] .founder-portrait { color: #1c2b38; }
html[data-theme="light"] .founder-portrait .eyebrow { color: #2f6b45; }

@media (max-width: 1040px) {
  .nav-links { position: fixed; inset: 76px 0 auto; display: none; margin: 0; padding: 16px 20px 20px; border-bottom: 1px solid var(--line); background: #1f1a14; }
  .nav-links.open { display: grid; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-actions { margin-left: auto; }
  .country { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .product-stage { max-width: 720px; }
  .grid-4, .exchange-grid, .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .wrap, .narrow { width: min(100% - 28px, var(--max)); }
  .brand span:last-child { display: none; }
  .nav-actions .button-ghost { display: none; }
  .hero, .page-hero { padding-top: 58px; }
  .hero-copy h1, h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .section { padding: 66px 0; }
  .grid-2, .grid-3, .grid-4, .split, .pricing-grid, .cta-panel, .demo-two, .resource-grid, .origin-strip { grid-template-columns: 1fr; }
  .trust-grid, .metric-band { grid-template-columns: 1fr 1fr; padding: 14px 0; }
  .metric { border-bottom: 1px solid var(--line); }
  .app-stats { grid-template-columns: 1fr; }
  .stage-note { position: static; display: inline-block; margin-top: 10px; }
  .demo-tabs { grid-template-columns: 1fr; }
  .demo-tab { min-height: 39px; }
  .cta-panel { padding: 29px 22px; }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
