:root {
  --bg: #0b1114;
  --panel: #121b1f;
  --panel-2: #172328;
  --ink: #f3f7f7;
  --muted: #9aacb2;
  --line: #2b3a40;
  --cyan: #69e1df;
  --coral: #ff7864;
  --paper: #eef3f2;
  --paper-ink: #122126;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Arial, Helvetica, ui-sans-serif, system-ui, sans-serif; font-size: 17px; line-height: 1.55; letter-spacing: 0; }
a { color: inherit; }
.wrap, .head-inner { width: min(var(--max), calc(100% - 44px)); margin-inline: auto; }
.skip { position: fixed; top: -60px; left: 16px; z-index: 40; padding: 10px 14px; background: var(--cyan); color: var(--paper-ink); }
.skip:focus { top: 12px; }
.site-head { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(11, 17, 20, .96); }
.head-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 900; text-transform: uppercase; }
.logo-scan { width: 30px; height: 30px; border: 2px solid var(--cyan); position: relative; }
.logo-scan::before, .logo-scan::after { content: ""; position: absolute; background: var(--coral); }
.logo-scan::before { width: 8px; height: 2px; right: -5px; top: 7px; }
.logo-scan::after { width: 2px; height: 8px; left: 7px; bottom: -5px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 700; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { color: var(--cyan); }
.btn { display: inline-flex; min-height: 48px; padding: 0 20px; align-items: center; justify-content: center; border: 1px solid var(--cyan); border-radius: 4px; color: #061112; background: var(--cyan); text-decoration: none; font-weight: 850; transition: transform .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); background: #9af1ef; }
.btn.coral { background: var(--coral); border-color: var(--coral); color: #180906; }
.btn.outline { background: transparent; color: var(--ink); }
.menu { display: none; }
.hero { min-height: 680px; display: grid; align-items: center; position: relative; overflow: hidden; background: var(--bg) url('/assets/hero-v2.webp') center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 11, 14, .98), rgba(5, 11, 14, .88) 40%, rgba(5, 11, 14, .12) 76%); }
.hero-copy { position: relative; width: min(720px, 62%); padding: 96px 0; }
.kicker { display: flex; align-items: center; gap: 10px; color: var(--cyan); font-size: 12px; text-transform: uppercase; font-weight: 850; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--coral); }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: 0; text-wrap: balance; }
h1 { margin-top: 22px; max-width: 13ch; font-size: clamp(50px, 6.6vw, 88px); }
h2 { font-size: clamp(36px, 4.3vw, 60px); }
h3 { font-size: 22px; }
.hero p { max-width: 610px; margin: 26px 0 0; color: #c4d0d3; font-size: 20px; }
.actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 34px; }
.actions small { color: var(--muted); }
.status-rail { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.status-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.status { padding: 24px; border-left: 1px solid var(--line); }
.status:last-child { border-right: 1px solid var(--line); }
.status b { display: block; color: var(--cyan); font-size: 12px; text-transform: uppercase; }
.status span { color: var(--muted); font-size: 14px; }
.section { padding: 100px 0; }
.section.paper { background: var(--paper); color: var(--paper-ink); }
.section.panel { background: var(--panel); }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 460px); gap: 64px; align-items: end; margin-bottom: 50px; }
.intro p { margin: 0; color: var(--muted); }
.paper .intro p { color: #53666b; }
.matrix { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--paper-ink); }
.matrix article { min-height: 230px; padding: 30px; border-right: 1px solid #b9c7c8; border-bottom: 1px solid #b9c7c8; }
.matrix article:nth-child(2n) { border-right: 0; }
.matrix b { color: #008b8a; font-size: 12px; }
.matrix h3 { margin-top: 44px; }
.matrix p { color: #53666b; }
.flow { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.flow-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.flow-list li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.flow-list b { color: var(--coral); }
.flow-list span { color: #c2cfd2; }
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.route { min-height: 190px; padding: 26px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); text-decoration: none; }
.route:hover { border-color: var(--cyan); }
.route p { color: var(--muted); }
.route .arrow { display: block; margin-top: 34px; color: var(--cyan); font-weight: 800; }
.callout { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--coral); color: #160b08; }
.callout-inner { min-height: 180px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.page-hero { padding: 92px 0 78px; background: var(--panel); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 16ch; }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 20px; }
.crumbs { margin-bottom: 26px; color: var(--muted); font-size: 13px; }
.crumbs a { color: var(--cyan); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; }
.copy h2 { margin: 58px 0 18px; font-size: clamp(30px, 3.2vw, 44px); }
.copy h2:first-child { margin-top: 0; }
.copy p, .copy li { color: #c2cfd2; }
.copy ul { padding-left: 22px; }
.toc { align-self: start; position: sticky; top: 24px; border-top: 2px solid var(--cyan); }
.toc a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.qa { border-top: 2px solid var(--cyan); }
.qa article { padding: 24px 0; border-bottom: 1px solid var(--line); }
.qa p { margin-bottom: 0; color: var(--muted); }
.footer { padding: 52px 0; background: #070c0e; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 36px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--ink); }
.fine { max-width: 560px; font-size: 13px; }
@media (max-width: 820px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; font-size: 22px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu nav { position: absolute; right: 0; top: 50px; width: min(280px, calc(100vw - 40px)); display: grid; padding: 12px; background: var(--panel-2); border: 1px solid var(--line); }
  .menu a { padding: 12px; text-decoration: none; font-weight: 700; }
  .hero { min-height: 700px; background-position: 63% center; align-items: end; }
  .hero::before { background: linear-gradient(180deg, rgba(5, 11, 14, .2), rgba(5, 11, 14, .99) 68%); }
  .hero-copy { width: 100%; padding: 240px 0 58px; }
  h1 { font-size: clamp(44px, 13vw, 66px); }
  .status-grid, .matrix, .routes { grid-template-columns: 1fr; }
  .status { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .matrix article, .matrix article:nth-child(2n) { border-right: 0; }
  .section { padding: 72px 0; }
  .intro, .flow, .article-grid { grid-template-columns: 1fr; gap: 34px; }
  .toc { position: static; }
  .callout-inner, .footer-inner { flex-direction: column; align-items: flex-start; padding-block: 42px; }
}
@media (max-width: 480px) {
  .wrap, .head-inner { width: calc(100% - 28px); }
  .actions .btn, .callout .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Dark graphite refresh */
:root {
  --bg: #080b0e;
  --panel: #0e1318;
  --panel-2: #151b21;
  --ink: #f1f5f7;
  --muted: #9ca8ae;
  --cyan: #56d6dc;
  --coral: #ff725f;
  --paper: #10151a;
  --paper-ink: #f1f5f7;
  --line: #29333a;
  --max: 1220px;
}
body { background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.site-head { background: #0b0f13; border-color: var(--line); }
.logo { color: #fff; }
.nav { color: #bdc7cc; }
.nav a:not(.btn):hover { color: #fff; }
.btn { border-color: #67dce1; border-radius: 6px; background: var(--cyan); color: #071012; }
.btn:hover { background: #76e1e5; box-shadow: 0 10px 28px rgba(86, 214, 220, .16); }
.btn.coral { border-color: #ff8a79; background: var(--coral); color: #120b09; }
.btn.outline { background: transparent; color: #e7ecef; border-color: #53616a; }
.hero { min-height: 650px; background-color: #080b0e; background-blend-mode: luminosity; }
.hero::before { background: rgba(5, 9, 12, .82); }
.hero-copy { width: min(880px, 76%); padding: 92px 0 96px; }
.kicker { color: #69dde1; }
h1, h2, h3 { line-height: 1.07; overflow-wrap: normal; word-break: normal; text-wrap: balance; }
h1 { max-width: 940px; font-size: 70px; }
h2 { font-size: 50px; }
h3 { font-size: 23px; line-height: 1.2; }
.hero p { max-width: 700px; color: #c2cbd0; }
.status-rail { border-color: var(--line); background: #11171c; }
.status { border-color: var(--line); }
.status b { color: #69dde1; }
.status span { color: #a6b1b7; }
.section, .section.paper, .section.panel { background: #0b0f13; color: var(--ink); }
.section.paper { background: #10151a; }
.section.panel { background: #080c0f; }
.intro p, .paper .intro p, .copy p, .copy li, .qa p { color: var(--muted); }
.matrix { border-color: var(--line); }
.matrix article { border-color: var(--line); background: #13191e; }
.matrix b { color: #61d5da; }
.matrix p { color: #9da9af; }
.flow-list { border-color: var(--line); }
.flow-list li { border-color: var(--line); }
.flow-list span { color: #bac4c9; }
.route { border-color: var(--line); background: #12181e; color: var(--ink); }
.route:hover { border-color: #58cfd5; }
.route p { color: #9da8ae; }
.callout { border-color: #64342f; background: #241310; color: var(--ink); }
.page-hero { background: #10161c; color: var(--ink); border-color: var(--line); }
.page-hero h1 { max-width: 940px; }
.page-hero p, .crumbs { color: var(--muted); }
.toc { border-color: #53cad0; }
.toc a, .qa article { border-color: var(--line); }
.footer { background: #040608; color: #8c989e; border-top: 1px solid #1d252b; }
.menu summary { border-color: #4c5961; color: #fff; }
.menu nav { background: #141b21; border-color: #354149; box-shadow: 0 16px 34px rgba(0,0,0,.38); }

@media (max-width: 820px) {
  .hero { min-height: 650px; background-position: 64% center; }
  .hero::before { background: rgba(5, 9, 12, .82); }
  .hero-copy { width: 100%; padding: 190px 0 56px; }
  h1 { max-width: 740px; font-size: 52px; }
  h2 { font-size: 42px; }
  .status, .status:last-child, .matrix article { border-color: var(--line); }
}
@media (max-width: 480px) {
  h1 { font-size: 41px; line-height: 1.09; }
  h2 { font-size: 34px; }
  .hero { min-height: 620px; }
  .hero-copy { padding-top: 170px; }
  .hero p, .page-hero p { font-size: 18px; }
}
.routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) { .routes { grid-template-columns: 1fr; } }
