:root {
  --bg: #F7F6F2; --bg-hero: #0D1117; --bg-alt: #EEEDE8; --bg-card: #E7E6E0;
  --bg-dark-section: #111820; --bg-dark-card: #1A2230;
  --ink: #1A1E2A; --ink-hero: #E8E7E2; --ink-soft: #3E4252;
  --muted: #6D7186; --muted-hero: #8B93A8; --border: #D4D3CC; --border-hero: rgba(255,255,255,0.08);
  --green: #1B5E4B; --green-light: #248A6E; --green-pale: #D4EBE3;
  --brass: #9E7E3A; --brass-light: #C9A44E; --white: #FFFFFF;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Avenir Next', Avenir, 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.serif { font-family: Charter, 'Bitstream Charter', 'Iowan Old Style', Georgia, serif; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 3px; border-radius: 3px; }
.skip-link { position: fixed; top: -80px; left: 1rem; z-index: 1000; padding: 0.65rem 1rem; background: var(--ink-hero); color: var(--bg-hero); border-radius: 0 0 5px 5px; font-size: 0.85rem; font-weight: 700; text-decoration: none; transition: top 0.15s; }
.skip-link:focus { top: 0; outline-color: var(--green-light); }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--bg-hero); border-bottom: 1px solid var(--border-hero); }
.nav-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; height: 56px; }
.nav-brand { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-hero); text-decoration: none; white-space: nowrap; }
.nav-brand span { color: var(--brass-light); }
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links a { color: var(--muted-hero); text-decoration: none; font-size: 0.82rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink-hero); }
.nav-cta { display: inline-block; padding: 0.4rem 1.1rem; background: var(--green-light); color: #fff !important; border-radius: 4px; font-size: 0.8rem; font-weight: 600; text-decoration: none; }
.nav-cta:hover { background: var(--green); }
.nav-toggle { display: none; border: 1px solid var(--border-hero); background: transparent; color: var(--ink-hero); border-radius: 4px; padding: 0.4rem 0.7rem; font: inherit; font-size: 0.78rem; font-weight: 600; cursor: pointer; }
@media (max-width: 760px) {
  .nav-inner { padding: 0 1rem; position: relative; }
  .nav-brand { font-size: 0.64rem; letter-spacing: 0.13em; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 58px; min-height: 36px; margin-left: auto; }
  .nav-links { display: none; position: absolute; top: 56px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 0.65rem 1rem 1rem; background: var(--bg-hero); border-top: 1px solid var(--border-hero); border-bottom: 1px solid var(--border-hero); box-shadow: 0 14px 30px rgba(0,0,0,0.28); }
  .nav-links.open { display: flex; }
  .nav-links li { display: block; width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 0.72rem 0.5rem; font-size: 0.9rem; }
  .nav-links .nav-cta { margin-top: 0.4rem; padding: 0.7rem 1rem; text-align: center; }
}

.hero { background: var(--bg-hero); color: var(--ink-hero); padding: 7rem 2rem 4.5rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%); }
.hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.crumb { font-size: 0.72rem; color: var(--muted-hero); margin-bottom: 1.5rem; letter-spacing: 0.02em; }
.crumb a { color: var(--muted-hero); text-decoration: none; }
.crumb a:hover { color: var(--ink-hero); }
.crumb .cur { color: var(--brass-light); }
.hero-eyebrow { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 1.1rem; }
.hero h1 { font-family: Charter, 'Bitstream Charter', 'Iowan Old Style', Georgia, serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; margin-bottom: 1.1rem; }
.hero-sub { font-size: clamp(1rem, 2.2vw, 1.15rem); color: var(--muted-hero); max-width: 60ch; line-height: 1.55; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.9rem; background: var(--green-light); color: #fff; border-radius: 5px; font-size: 0.98rem; font-weight: 600; text-decoration: none; transition: background 0.2s, transform 0.2s; }
.btn-primary:hover { background: #1D7A5E; transform: translateY(-1px); }
.btn-primary svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-ghost { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--ink-hero); text-decoration: none; font-size: 0.92rem; font-weight: 600; padding: 0.8rem 0.4rem; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.btn-ghost:hover { border-color: var(--brass-light); }
.hero-proof { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-hero); display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-proof > div { flex: 1 1 180px; }
.hero-proof-val { font-family: 'SF Mono', 'Cascadia Code', Consolas, monospace; font-size: clamp(0.92rem, 1.8vw, 1.12rem); font-weight: 700; color: var(--green-light); font-variant-numeric: tabular-nums; }
.hero-proof-label { font-size: 0.78rem; color: var(--muted-hero); margin-top: 0.1rem; }

.section { padding: 4.5rem 2rem; max-width: 1120px; margin: 0 auto; }
.section-tag { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green); margin-bottom: 0.6rem; }
.section h2 { font-family: Charter, 'Bitstream Charter', 'Iowan Old Style', Georgia, serif; font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; text-wrap: balance; margin-bottom: 0.75rem; max-width: 44ch; }
.section-lead { font-size: 1.05rem; color: var(--ink-soft); max-width: 60ch; margin-bottom: 2.5rem; line-height: 1.6; }

.prob-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.prob-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem 1.6rem; }
.prob-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.prob-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 640px) { .prob-grid { grid-template-columns: 1fr; } }

.dark { background: var(--bg-dark-section); color: var(--ink-hero); }
.dark .section-tag { color: var(--brass-light); }
.dark h2 { color: var(--ink-hero); }
.dark .section-lead { color: var(--muted-hero); }
.build-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 1rem; }
.build-card { background: var(--bg-dark-card); border: 1px solid var(--border-hero); border-radius: 10px; padding: 1.6rem 1.75rem; }
.build-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.45rem; color: var(--ink-hero); display: flex; align-items: center; gap: 0.6rem; }
.build-card h3 svg { width: 18px; height: 18px; stroke: var(--green-light); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.build-card p { font-size: 0.92rem; color: var(--muted-hero); line-height: 1.55; }
.build-card .human { display: block; margin-top: 0.6rem; font-size: 0.8rem; color: var(--brass-light); }
@media (max-width: 640px) { .build-grid { grid-template-columns: 1fr; } }

.integ { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.25rem 0 1rem; }
.integ span { font-size: 0.82rem; color: var(--ink-soft); background: var(--bg-alt); border: 1px solid var(--border); border-radius: 100px; padding: 0.3rem 0.85rem; }
.integ-note { font-size: 0.82rem; color: var(--muted); max-width: 64ch; line-height: 1.5; }

.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1rem; }
.ba-card { border-radius: 10px; padding: 1.6rem 1.75rem; border: 1px solid var(--border); }
.ba-card.before { background: var(--bg-alt); }
.ba-card.after { background: var(--green-pale); border-color: var(--green-light); }
.ba-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.9rem; }
.ba-card.before .ba-label { color: var(--muted); }
.ba-card.after .ba-label { color: var(--green); }
.ba-card ol { list-style: none; counter-reset: s; padding: 0; }
.ba-card li { position: relative; padding-left: 1.9rem; margin-bottom: 0.7rem; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.45; counter-increment: s; }
.ba-card li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 1.35rem; height: 1.35rem; border-radius: 50%; font-size: 0.72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.ba-card.before li::before { background: var(--bg-card); color: var(--muted); }
.ba-card.after li::before { background: var(--green); color: #fff; }
@media (max-width: 640px) { .ba-grid { grid-template-columns: 1fr; } }

.scenario { background: var(--green-pale); border: 1.5px solid var(--green-light); border-radius: 12px; padding: 2rem 2.1rem; }
.scenario-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 0.8rem; }
.scenario h3 { font-family: Charter, 'Bitstream Charter', 'Iowan Old Style', Georgia, serif; font-size: 1.35rem; font-weight: 700; margin-bottom: 1rem; }
.scenario-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.scenario-val { font-family: 'SF Mono', 'Cascadia Code', Consolas, monospace; font-size: 1.4rem; font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.scenario-vlabel { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.15rem; }
.scenario p { font-size: 0.98rem; color: var(--ink-soft); line-height: 1.6; }
.scenario-note { font-size: 0.78rem; color: var(--muted); font-style: italic; margin-top: 0.9rem; }

.context-proof {
  padding: 3rem 2rem;
  background: var(--green-pale);
  border-top: 1px solid var(--green-light);
  border-bottom: 1px solid var(--green-light);
}
.context-proof-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.context-proof-kicker {
  color: var(--green);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.context-proof h2 {
  font-family: Charter, 'Bitstream Charter', 'Iowan Old Style', Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.18;
  margin-bottom: 0.35rem;
}
.context-proof p { color: var(--ink-soft); font-size: 0.88rem; max-width: 60ch; }
.context-proof-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; flex: 0 0 auto; }
.context-proof-links a { color: var(--green); font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.context-proof-links .context-proof-primary {
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 5px;
  background: var(--green);
  color: #fff;
}
@media (max-width: 700px) {
  .context-proof-inner { align-items: flex-start; flex-direction: column; }
}

.kpi-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }
.kpi-list span { font-size: 0.86rem; color: var(--ink-soft); background: var(--bg-alt); border: 1px solid var(--border); border-radius: 6px; padding: 0.4rem 0.85rem; }
.kpi-note { font-size: 0.82rem; color: var(--muted); margin-top: 1rem; max-width: 64ch; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1rem; }
.step-num { font-family: 'SF Mono', 'Cascadia Code', Consolas, monospace; font-size: 0.7rem; font-weight: 700; color: var(--brass); letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.step h3 { font-family: Charter, 'Bitstream Charter', 'Iowan Old Style', Georgia, serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.35rem; }
.step p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; gap: 1.25rem; } }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; text-align: left; font-family: inherit; font-size: 0.98rem; font-weight: 600; color: var(--ink); position: relative; line-height: 1.4; }
.faq-q::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.2rem; color: var(--muted); font-weight: 400; }
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-q:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 3px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; max-width: 64ch; padding: 0 0 1.1rem; }

.final { background: var(--bg-dark-section); color: var(--ink-hero); padding: 4.5rem 2rem; text-align: center; }
.final h2 { font-family: Charter, 'Bitstream Charter', 'Iowan Old Style', Georgia, serif; font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 700; color: var(--ink-hero); margin-bottom: 0.75rem; }
.final p { font-size: 1rem; color: var(--muted-hero); max-width: 52ch; margin: 0 auto 1.75rem; }
.call-promise { max-width: 540px; margin: 0 auto 2rem; text-align: left; background: rgba(255,255,255,0.04); border: 1px solid var(--border-hero); border-radius: 10px; padding: 1.4rem 1.6rem; }
.call-promise-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 0.9rem; }
.call-promise ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.call-promise li { position: relative; padding-left: 1.6rem; font-size: 0.92rem; color: var(--ink-hero); line-height: 1.45; }
.call-promise li svg { position: absolute; left: 0; top: 3px; width: 15px; height: 15px; stroke: var(--green-light); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.call-promise-note { font-size: 0.82rem; color: var(--muted-hero); line-height: 1.55; margin: 0; }
.call-promise-note strong { color: var(--ink-hero); font-weight: 700; }
.final .btn-primary { font-size: 1.05rem; padding: 0.85rem 2.2rem; }

.footer { background: var(--bg-hero); color: var(--muted-hero); padding: 2.5rem 2rem; border-top: 1px solid var(--border-hero); text-align: center; }
.footer-brand { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-hero); margin-bottom: 0.6rem; }
.footer-brand span { color: var(--brass-light); }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; list-style: none; margin-bottom: 1rem; }
.footer-links a { color: var(--muted-hero); text-decoration: none; font-size: 0.82rem; }
.footer-copy { font-size: 0.75rem; }
.footer-copy a { color: var(--muted-hero); text-decoration: none; }

/* Hub pages */
.hub-intro { max-width: 62ch; }
.trade-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2rem; }
.trade-card { display: block; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 1.6rem 1.75rem; text-decoration: none; color: var(--ink); transition: border-color 0.15s, transform 0.1s, background 0.15s; }
.trade-card:hover { border-color: var(--green-light); background: var(--green-pale); transform: translateY(-2px); }
.trade-card h3 { font-family: Charter, 'Bitstream Charter', 'Iowan Old Style', Georgia, serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 0.4rem; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.trade-card h3 .arrow { color: var(--green); font-weight: 400; }
.trade-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.trade-card.soon { opacity: 0.6; pointer-events: none; }
.trade-card.soon h3 .arrow { color: var(--muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 640px) { .trade-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .faq-a { transition: none; } .trade-card:hover { transform: none; } }
