/* Direction A — Day & Night. Mobile first. Scale rule: HUGE or tiny (11–15px). */

:root {
  --amber: #e3a06f;
  --ok-ink: #22594b;
  --warn-ink: #8f4219;
}

body { padding-bottom: 0; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 8px; font-size: 13px; text-decoration: none; }
.skip:focus { top: 10px; }

/* Shared micro-typography */
.tiny { font-size: 13px; line-height: 1.5; margin: 0; }
.strong { font: 700 15px/1.35 var(--font-body); margin: 0 0 6px; color: inherit; }
.kicker { margin: 0; }
.mono { font-family: var(--font-mono); }
.theme-day .chip-ok { color: var(--ok-ink); }
.theme-day .chip-warn { color: var(--warn-ink); }
.theme-day .chip { background: var(--panel); }
.theme-day .chip-ok { background: var(--accent-soft); }
.theme-day .chip-warn { background: var(--warn-soft); }
.chip { white-space: nowrap; }

.proof { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.proof li { font: 500 11px/1.4 var(--font-mono); letter-spacing: .03em; padding: 4px 10px; border: 1px solid var(--rule); border-radius: 999px; color: var(--fg-muted); }
.proof.proof-plain { gap: 6px 18px; }
.proof.proof-plain li { border: 0; border-radius: 0; padding: 0; }

.sec { position: relative; overflow: clip; padding-block: clamp(56px, 7.5vw, 112px); }
.sec > .wrap > .kicker { margin-bottom: 18px; }

/* Nav tweaks */
.site-nav .brands { min-height: 44px; }
.site-nav .mark-velo { width: 64px; }
.site-nav .mark-atlasiq { width: 68px; }
.site-nav .links a { padding: 12px 8px; margin-inline: -8px; }
.site-nav[data-theme="night"] .btn-ghost { color: var(--night-text); }
@media (min-width: 761px) {
  .site-nav .mark-velo { width: 78px; }
  .site-nav .mark-atlasiq { width: 82px; }
}
.mobile-cta[data-theme="night"] { background: color-mix(in srgb, var(--night-raised) 92%, transparent); color: var(--night-text); border: 1px solid var(--night-line); }
.mobile-cta[data-theme="night"] .btn-ghost { border-color: var(--night-line); }

/* ============ 2. VELO HERO ============ */
.hv { position: relative; overflow: clip; padding-block: 18px clamp(48px, 6vw, 96px); }
.hv-stage { --hs: min(43vw, 16rem); position: relative; display: grid; grid-template-columns: minmax(0, 1fr); max-width: 1560px; margin-inline: auto; padding-inline: var(--gutter); }
.hv-back { grid-area: auto; position: relative; z-index: 0; font-size: var(--hs); line-height: .84; white-space: nowrap; margin-left: -.035em; will-change: transform; }
.hv-back .ln { display: block; }
.hv-back .cut::after { top: 50%; }
.hv-cardwrap { position: relative; z-index: 2; margin-top: calc(var(--hs) * -.25); margin-bottom: 36px; }
.hv-copy { position: relative; z-index: 2; }
.hv-copy .kicker { margin-bottom: 10px; }
.hv-head { font: 700 15px/1.35 var(--font-body); margin: 0 0 6px; max-width: 34ch; }
.hv-sub { font-size: 14px; line-height: 1.5; color: var(--ink-muted); margin: 0; max-width: 42ch; }
.hv-cta { display: none; gap: 8px; margin-top: 20px; flex-wrap: wrap; }

/* Order board */
.ob { padding: 12px 14px 8px; }
.ob-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.ob-tabs { display: flex; gap: 6px; font: 500 11px/1 var(--font-mono); }
.ob-tabs span { padding: 5px 9px; border-radius: 999px; background: var(--inset); border: 1px solid var(--line); color: var(--ink-muted); }
.ob-tabs .w { background: var(--warn-soft); color: var(--warn-ink); border-color: transparent; }
.ob-rows { list-style: none; margin: 0; padding: 0; }
.ob-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "a b d" "c c c"; align-items: center; gap: 3px 8px; padding: 8px 6px; border-top: 1px solid var(--line); font-size: 13px; }
.ob-row:first-child { border-top: 0; }
.ob-row .id { grid-area: a; font: 500 12px/1 var(--font-mono); letter-spacing: .02em; }
.ob-row > .chip:nth-child(2) { grid-area: b; }
.ob-row .lane { grid-area: c; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob-row .lane i { font-style: normal; color: var(--ink-muted); padding: 0 2px; }
.ob-row > .chip:nth-child(4) { grid-area: d; justify-self: end; }
.ob-row.is-exc { background: var(--warn-soft); border-radius: 8px; border-top-color: transparent; box-shadow: inset 3px 0 0 var(--warn); }
.ob-row.is-exc + .ob-row, .ob-row:has(+ .is-exc) { border-top-color: transparent; }
.m-tl { background: var(--ink) !important; color: var(--paper) !important; border-color: transparent; }
.m-us { background: var(--accent-soft) !important; color: var(--ok-ink) !important; border-color: transparent; }
.m-ca { background: transparent !important; color: var(--ink) !important; border-color: var(--ink); }

/* Always On AI chip */
.hv-chip-px { position: absolute; right: 10px; top: -98px; z-index: 3; will-change: transform; }
.hv-chip { width: 206px; padding: 12px 14px; box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 28px 50px -18px rgba(27,26,23,.45); border-color: var(--ink); }
.hc-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.hv-chip ul { list-style: none; margin: 0; padding: 0; font: 400 11.5px/1.7 var(--font-mono); color: var(--ink-muted); }
.hv-chip li::before { content: "✓"; color: var(--accent); margin-right: 8px; }
.hv-chip li b { color: var(--ink); font-weight: 500; }
.pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(3.2); opacity: 0; } }

.hv-copy { margin-top: 0; }

@media (min-width: 880px) {
  .hv { padding-top: 28px; }
  .hv-stage { --hs: clamp(7rem, 1rem + 15vw, 19rem); grid-template-columns: minmax(260px, .78fr) minmax(0, 1.3fr); grid-template-areas: "back back" "copy card"; column-gap: clamp(28px, 5vw, 80px); }
  .hv-back { grid-area: back; }
  .hv-back .ln { display: inline; }
  .hv-cardwrap { grid-area: card; margin-top: calc(var(--hs) * -.3); margin-bottom: 70px; }
  .hv-copy { grid-area: copy; align-self: start; padding-top: 28px; }
  .hv-cta { display: flex; }
  .hv-chip-px { right: auto; top: auto; left: -64px; bottom: -92px; }
  .hv-chip { width: 236px; }
  .ob { padding: 16px 18px 10px; }
  .ob-row { grid-template-columns: 92px 70px minmax(0, 1fr) auto; grid-template-areas: "a b c d"; gap: 12px; padding: 12px 8px; font-size: 13.5px; }
}

/* ============ 3. MODES ============ */
.modes-grid { display: grid; gap: 36px; }
.modes-title .huge-velo { font-size: clamp(6rem, 2rem + 24vw, 12rem); margin-bottom: 18px; white-space: nowrap; }
.modes-title s { text-decoration-thickness: .055em; text-decoration-color: var(--accent); color: var(--ink-muted); }
.modes-title .tiny { max-width: 38ch; }
.modes-title .tiny.strong { font: 700 15px/1.35 var(--font-body); margin-bottom: 4px; }
.merge { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.m-src { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.src { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px; min-height: 64px; border: 1px solid var(--line); background: var(--panel); border-radius: 10px; font-size: 12.5px; line-height: 1.3; font-weight: 500; }
.m-svg { width: 100%; }
.m-svg path { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.m-svg.m-h { display: none; }
.m-svg.m-v { height: 72px; }
.m-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 16px; min-height: 56px; border-radius: 10px; background: var(--ink); color: var(--paper); }
.m-bar .kicker { color: var(--glow); }
.mb-id { font: 500 13px/1 var(--font-mono); letter-spacing: .03em; }
.mb-modes { display: flex; gap: 4px; flex-basis: 100%; }
.mb-modes i { font: 500 10.5px/1 var(--font-mono); font-style: normal; padding: 4px 7px; border: 1px solid rgba(246,245,242,.4); border-radius: 999px; }
@media (min-width: 880px) {
  .modes-grid { grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
  .merge { grid-template-columns: minmax(0, 1fr) 16% minmax(0, 1fr); align-items: center; }
  .modes-title .huge-velo { font-size: clamp(5rem, 1rem + 11.5vw, 12rem); }
  .m-src { grid-template-columns: 1fr; gap: 12px; }
  .src { flex-direction: row; align-items: center; height: 56px; min-height: 0; padding: 0 14px; gap: 10px; font-size: 13px; }
  .m-svg.m-h { display: block; height: 192px; }
  .m-svg.m-v { display: none; }
  .m-bar { padding: 14px 16px; }
}

/* ============ 4. NATIVE ============ */
.native-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin: 4px 0 36px; }
.native-head .huge-velo { font-size: 21vw; }
.native-lede { max-width: 40ch; }
.native-lede .tiny { color: var(--ink-muted); }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; display: block; }
.cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; }
.cmp tr { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.cmp tbody th { font: 500 11px/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); text-align: left; padding: 0 0 10px; }
.cmp td { font-size: 14px; line-height: 1.4; padding: 10px 0 0; }
.cmp td::before { content: attr(data-label); display: block; font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink-muted); }
.cmp td.c-velo { font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); margin-top: 10px; }
.cmp td.c-velo::before { color: var(--ok-ink); }
.cmp td.c-leg { color: var(--ink-muted); }
.cmp s { text-decoration-thickness: 1px; text-decoration-color: var(--ink-muted); }
.native-why { margin-top: 18px; max-width: 54ch; color: var(--ink-muted); }
@media (min-width: 880px) {
  .native-head { grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: clamp(32px, 6vw, 96px); margin-bottom: 56px; }
  .native-head .huge-velo { font-size: clamp(9rem, 1rem + 15vw, 18rem); }
  .native-lede { padding-bottom: 1.2vw; }
  .cmp { display: table; }
  .cmp thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: table-header-group; }
  .cmp tbody { display: table-row-group; }
  .cmp tr { display: table-row; background: none; border: 0; border-radius: 0; padding: 0; margin: 0; }
  .cmp th, .cmp td { display: table-cell; vertical-align: top; text-align: left; padding: 20px 24px; border-top: 1px solid var(--line); }
  .cmp thead th { border-top: 0; font: 500 11px/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); padding-block: 14px; }
  .cmp thead th.c-velo { color: var(--ink); background: var(--panel); border-radius: 14px 14px 0 0; border: 1px solid var(--line); border-bottom: 0; box-shadow: inset 0 3px 0 var(--accent); padding-top: 18px; }
  .cmp thead th.c-velo .dot { display: inline-block; color: var(--accent); margin-right: 8px; vertical-align: middle; }
  .cmp tbody th { width: 128px; padding: 20px 0; }
  .cmp td { font-size: 14px; padding: 20px 24px; margin: 0; }
  .cmp td::before { display: none; }
  .cmp td.c-leg { width: 36%; }
  .cmp td.c-velo { margin: 0; background: var(--panel); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-top-color: var(--line); }
  .cmp tbody tr:last-child td.c-velo { border-bottom: 1px solid var(--line); border-radius: 0 0 14px 14px; }
  .cmp tbody tr:first-child td.c-velo { border-top-color: transparent; }
  .cmp tbody tr:first-child th, .cmp tbody tr:first-child td.c-leg { border-top-color: var(--line); }
}

/* ============ 5. BENTO ============ */
.f-title { font: 700 15px/1.35 var(--font-body); margin: 0 0 28px; max-width: 40ch; }
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.tile { position: relative; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; overflow: hidden; }
.tile h3 { font: 600 15px/1.3 var(--font-body); margin: 0; max-width: 32ch; }
.tile > .kicker, .tile .kicker { margin: 0; }
.ov { font: 900 clamp(4.75rem, 25vw, 9rem)/.8 var(--font-velo); letter-spacing: -.045em; text-transform: uppercase; margin: 10px 0 6px; color: var(--ink); }
.ov-12 { display: flex; align-items: center; gap: .06em; }
.ov-12 i { display: block; position: relative; width: .62em; height: .06em; background: var(--accent); margin-inline: .04em; }
.ov-12 i::after { content: ""; position: absolute; right: 0; top: 50%; width: .2em; height: .2em; border-top: .06em solid var(--accent); border-right: .06em solid var(--accent); transform: translateY(-50%) rotate(45deg); transform-origin: center; }

/* Always On AI */
.t-ao { display: grid; gap: 22px; align-content: start; }
.t-ao-l { display: flex; flex-direction: column; gap: 10px; }
.feed { list-style: none; margin: 0; padding: 0; align-self: end; }
.feed li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.45; }
.feed li:first-child { border-top: 0; padding-top: 0; }
.feed time { font: 500 11px/1.8 var(--font-mono); color: var(--ink-muted); }
.feed b { font: 500 12px var(--font-mono); margin-right: 4px; }
.feed li.warn span { color: var(--ink); }
.feed li.warn time { color: var(--warn-ink); }
.feed li.warn::before { display: none; }
.feed li.warn { box-shadow: -14px 0 0 -11px var(--warn); }

/* Tender timeline */
.tl { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; }
.tl li { position: relative; padding: 0 0 18px 24px; color: var(--ink-muted); }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ""; position: absolute; left: 0; top: 4px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink-muted); background: var(--panel); }
.tl li::after { content: ""; position: absolute; left: 4px; top: 15px; bottom: -3px; width: 1px; background: var(--line); }
.tl li:last-child::after { display: none; }
.tl li.done { color: var(--ink); font-weight: 700; }
.tl li.done::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* Ledger */
.t-both { gap: 12px; }
.t-both-l { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 20px; align-items: center; }
.t-both-l .kicker { grid-column: 1 / -1; }
.t-both-l .ov { margin: 8px 0 0; }
.ledger { margin-top: auto; padding: 14px 16px; border-radius: 12px; background: var(--ink); color: var(--night-text); font: 400 11.5px/1.5 var(--font-mono); }
.ledger p { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 4px 10px; margin: 0; padding: 8px 0; border-top: 1px solid rgba(238,234,226,.14); }
.ledger p:first-child { border-top: 0; padding-top: 0; }
.ledger p:last-child { padding-bottom: 0; }
.ledger .k { color: var(--night-muted); letter-spacing: .08em; }
.ledger .amt { color: var(--glow); }
.ledger p:first-child .v { grid-column: 2 / -1; }

/* Fuel */
.fuel { display: grid; gap: 12px; margin-top: 4px; }
.fuel-old { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 1px dashed var(--ink-muted); border-radius: 10px; font: 400 12px/1.2 var(--font-mono); color: var(--ink-muted); }
.fuel-old s { text-decoration-thickness: 1px; }
.fuel dl { margin: 0; }
.fuel dl > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.fuel dt { color: var(--ink-muted); }
.fuel dd { margin: 0; font-weight: 700; text-align: right; }
.fuel dd .chip { font-weight: 500; }

/* Capacity bars */
.bars { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 14px; }
.bars li { font-size: 12.5px; line-height: 1.3; }
.bars em { display: block; font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .04em; font-style: normal; color: var(--warn-ink); margin-top: 2px; }
.bars i { position: relative; display: block; height: 6px; margin-top: 7px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--ink); border-radius: 3px; transform-origin: left; transform: scaleX(0); transition: transform 1000ms var(--ease) 250ms; }
.in .bars i::after, .bars.in i::after { transform: scaleX(1); }
.bars .tight i::after { background: var(--warn); }

/* Match & pay */
.match { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.mc { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--inset); display: grid; gap: 4px; }
.mc b { font: 500 12.5px/1 var(--font-mono); letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; }
.mx { position: relative; flex: 0 0 26px; height: 1px; background: var(--ink); }
.mx::before, .mx::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.mx::before { left: 0; transform: translateY(-50%) rotate(-45deg); }
.mx::after { right: 0; transform: translateY(-50%) rotate(135deg); }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 13px; }
.checks li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.pay-st { display: flex; justify-content: space-between; align-items: center; margin: auto 0 0; padding-top: 4px; }
.pay-st .amt { font: 500 12px var(--font-mono); color: var(--ink-muted); }

/* API connectors */
.parts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.parts li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; background: var(--inset); }
.parts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Humans / exceptions */
.t-hum { display: grid; gap: 18px; }
.t-hum-l .ov-wide { font-size: min(12.4vw, 11rem); margin: 14px 0 0; white-space: nowrap; }
.t-hum-t { display: grid; gap: 12px; }
.t-hum-r { display: flex; flex-direction: column; gap: 14px; }
.ticks { display: grid; grid-template-columns: repeat(40, minmax(0, 1fr)); gap: 3px; margin-top: 4px; }
.ticks i { height: 28px; border-radius: 1.5px; background: color-mix(in srgb, var(--ink) 20%, transparent); }
.ticks i.x { background: var(--warn); }
.ticks-key { display: flex; gap: 18px; flex-wrap: wrap; }
.ticks-key span { display: inline-flex; align-items: center; gap: 8px; }
.ticks-key i { width: 3px; height: 12px; border-radius: 1.5px; }
.ticks-key .k0 { background: color-mix(in srgb, var(--ink) 20%, transparent); }
.ticks-key .k1 { background: var(--warn); }

@media (min-width: 880px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
  .tile { padding: 26px; }
  .t-ao { grid-column: span 7; grid-template-columns: .9fr 1.1fr; }
  .t-tender { grid-column: span 5; }
  .t-both { grid-column: span 6; }
  .t-fuel { grid-column: span 6; }
  .t-cap, .t-pay, .t-api { grid-column: span 4; }
  .t-hum { grid-column: span 12; grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ov { font-size: clamp(5rem, 9vw, 9.5rem); }
  .t-hum-l .ov-wide { font-size: clamp(5rem, 9.6vw, 9.6rem); }
  .t-hum-r { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; align-items: end; }
}

/* ============ 6. HORIZON ============ */
.hz { --hzh: clamp(560px, 100svh, 860px); position: relative; overflow: clip; height: var(--hzh); background: linear-gradient(180deg, var(--paper) 0, var(--paper) 36%, #c4c1bb 43%, #5a5855 48%, #131211 51.5%, #131211 100%); color: var(--night-text); }
.hz-glow { position: absolute; left: 0; right: 0; top: 18%; height: 32%; background: radial-gradient(55% 100% at 50% 100%, rgba(95,184,159,.5), rgba(95,184,159,.14) 45%, transparent 72%); pointer-events: none; will-change: transform, opacity; }
.hz-line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--glow) 18%, #cfeee3 50%, var(--glow) 82%, transparent); box-shadow: 0 0 18px 1px rgba(95,184,159,.55); }
.hz-line::after { content: ""; position: absolute; left: 50%; top: 0; width: min(60%, 760px); height: 90px; transform: translateX(-50%); background: radial-gradient(50% 100% at 50% 0%, rgba(95,184,159,.18), transparent 80%); }
.hz-inner { position: absolute; inset: 0; }
.hz h2 { position: absolute; inset: 0; margin: 0; display: grid; grid-template-rows: 1fr 1fr; padding-inline: var(--gutter); max-width: 1560px; margin-inline: auto; }
.hz-a, .hz-b { display: block; }
.hz-a { align-self: end; padding-bottom: calc(var(--hzh) * .15); color: var(--ink); font-size: 11.4vw; line-height: .86; text-wrap: balance; }
.hz-b { align-self: start; padding-top: clamp(28px, 4vw, 56px); font: italic 400 14.5vw/.92 var(--font-atlas); letter-spacing: -.03em; color: var(--night-text); text-wrap: balance; }
.hz-note { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; text-align: center; color: var(--night-muted); }
@media (min-width: 880px) {
  .hz-a { font-size: clamp(3rem, 6.7vw, 8.5rem); }
  .hz-b { font-size: clamp(3.4rem, 8.4vw, 10.5rem); }
}

/* ============ 7. ATLAS HERO ============ */
.ha { position: relative; overflow: clip; padding-block: 8px clamp(80px, 9vw, 150px); }
.ha-glow { position: absolute; right: -10%; top: -34%; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(95,184,159,.2), transparent); pointer-events: none; }
.ha-stage { --hs: min(31vw, 13rem); position: relative; display: grid; grid-template-columns: minmax(0, 1fr); max-width: 1560px; margin-inline: auto; padding-inline: var(--gutter); }
.ha-back { position: relative; z-index: 0; font-size: var(--hs); line-height: .88; white-space: nowrap; margin-left: -.03em; will-change: transform; padding-top: 6px; }
.ha-back .ln { display: block; }
.ha-cardwrap { position: relative; z-index: 2; margin-top: calc(var(--hs) * -.24); margin-bottom: 40px; }
.ha-copy { position: relative; z-index: 2; }
.quill-wrap { position: relative; display: grid; place-items: center; width: 56px; height: 72px; margin: 0 0 6px -8px; }
.quill-wrap::before { content: ""; position: absolute; inset: -30px; background: radial-gradient(closest-side, rgba(95,184,159,.5), transparent); }
.quill-wrap .mark-quill { position: relative; width: 24px; color: var(--glow); }
.ha-copy .kicker { color: var(--glow); margin-bottom: 10px; }
.ha-head { font: 700 15px/1.35 var(--font-body); margin: 0 0 6px; }
.ha-sub { font-size: 14px; line-height: 1.5; color: var(--night-muted); margin: 0; max-width: 42ch; }
.ha-cta { display: none; gap: 8px; margin-top: 20px; flex-wrap: wrap; }

.rl { padding: 14px 14px 10px; }
.rl-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--night-line); font-size: 11.5px; color: var(--night-muted); }
.rl-run b { color: var(--glow); font-weight: 500; margin-right: 8px; }
.rl-body { padding-top: 8px; }
.rl-l { display: grid; grid-template-columns: 22px 62px minmax(0, 1fr); gap: 0 8px; margin: 0; padding: 5px 0; font: 400 11.5px/1.5 var(--font-mono); color: var(--night-text); }
.rl-l .n { color: #7d786f; }
.rl-l .v { color: var(--night-muted); letter-spacing: .04em; }
.rl-l .v.c { color: var(--glow); opacity: .85; }
.rl-l .v.g { color: var(--glow); font-weight: 500; }
.rl-l .v.w { color: var(--amber); font-weight: 500; }
.js .rl-l { opacity: 0; transform: translateY(6px); transition: opacity 380ms var(--ease), transform 380ms var(--ease); }
.js .rl-l.on { opacity: 1; transform: none; }
.rl-last { margin-top: 4px; border-top: 1px solid var(--night-line); padding-top: 9px; }
.rl-last.approved .v, .rl-last.approved .t { color: var(--glow); }
.rl-last.approved .t { font-weight: 500; }

.ha-front { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: -20px 0 0 14px; }
.approve { position: relative; padding-inline: 26px; box-shadow: 0 0 0 1px rgba(95,184,159,.5), 0 0 30px rgba(95,184,159,.5), 0 14px 30px -10px rgba(0,0,0,.6); }
.approve::after { content: ""; position: absolute; inset: -5px; border-radius: 999px; border: 1px solid var(--glow); opacity: 0; animation: ring 2.6s var(--ease) infinite; pointer-events: none; }
@keyframes ring { 0% { transform: scale(.96); opacity: .7; } 70%, 100% { transform: scale(1.18); opacity: 0; } }
.approve:disabled { cursor: default; background: var(--glow-soft); color: var(--glow); box-shadow: 0 0 0 1px rgba(95,184,159,.5); }
.approve:disabled::after { display: none; }
.ha-front .tiny { color: var(--night-muted); }

@media (min-width: 880px) {
  .ha { padding-top: 24px; }
  .ha-stage { --hs: clamp(7rem, 16.6vw, 22rem); grid-template-columns: minmax(0, 1.3fr) minmax(260px, .78fr); grid-template-areas: "back back" "card copy"; column-gap: clamp(28px, 5vw, 80px); }
  .ha-back { grid-area: back; }
  .ha-back .ln { display: inline; }
  .ha-cardwrap { grid-area: card; margin-top: calc(var(--hs) * -.4); margin-bottom: 64px; }
  .ha-copy { grid-area: copy; align-self: start; padding-top: 28px; }
  .ha-cta { display: flex; }
  .ha-front { position: absolute; left: 0; bottom: -48px; flex-direction: row; align-items: center; gap: 16px; margin: 0; }
  .rl { padding: 18px 20px 12px; }
  .rl-l { grid-template-columns: 26px 78px minmax(0, 1fr); font-size: 12.5px; padding: 6px 0; }
}

/* ============ 8. RAIL ============ */
.rail-grid { display: grid; gap: 32px; align-items: center; }
.bmap { position: relative; isolation: isolate; --dr: 5.5px; --br: 5.5px; }
.bmap-type { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; overflow-x: clip; pointer-events: none; user-select: none; padding-bottom: 2%; }
.bmap-type .huge-atlas { display: block; font-size: 21vw; line-height: .86; color: var(--night-text); opacity: .055; white-space: nowrap; }
.namap { position: relative; z-index: 1; display: block; width: 100%; height: auto; max-height: 82vh; overflow: visible; }
.namap path { fill: none; }
.na-coast { stroke: var(--glow); stroke-width: 1.5px; vector-effect: non-scaling-stroke; stroke-linejoin: round; opacity: .72; }
.na-lakes { stroke: var(--glow); stroke-width: 1px; vector-effect: non-scaling-stroke; opacity: .5; }
.na-border { stroke: var(--glow); stroke-width: .8px; vector-effect: non-scaling-stroke; stroke-dasharray: 4 3; opacity: .7; }
.rt-motion { fill: none; stroke: none; }
.rn { fill: var(--night-text); stroke: var(--night); stroke-width: 3px; paint-order: stroke; vector-effect: non-scaling-stroke; r: var(--dr); }
.beacon .bd { fill: #fff; stroke: var(--night); stroke-width: 3px; paint-order: stroke; vector-effect: non-scaling-stroke; r: var(--br); }
.beacon .bh { r: calc(var(--br) * 3.4); }
.beacon .bp { vector-effect: non-scaling-stroke; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .beacon .bp { display: none; } }
.rail-copy .kicker { color: var(--glow); margin-bottom: 14px; }
.rail-copy .tiny { color: var(--night-muted); max-width: 40ch; }
.rail-line { font: italic 400 15px/1.4 var(--font-atlas); color: var(--night-text); margin: 18px 0 0; }
@media (min-width: 880px) {
  .rail-grid { grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 120px); }
  .bmap { --dr: 4.5px; --br: 4.2px; }
  .bmap-type .huge-atlas { font-size: clamp(6rem, 11vw, 11rem); }
    }

/* ============ 9. TWIN ============ */
.twin-head, .gov-head, .where-head, .sec-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-bottom: 36px; }
.twin-head .huge-atlas { font-size: 30vw; }
.twin-head .ln, .where-head .ln { display: block; }
.twin-lede, .gov-lede, .where-lede, .sec-lede { max-width: 40ch; }
.twin-lede .tiny, .gov-lede .tiny, .where-lede .tiny, .sec-lede .tiny { color: var(--night-muted); }
.twin-grid { display: grid; gap: 12px; }
.persona, .builder { padding: 20px; }
.persona dl { margin: 0; }
.persona dl > div { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-top: 1px solid var(--night-line); font: 400 12.5px/1.6 var(--font-mono); }
.persona dl > div:first-child { border-top: 0; padding-top: 0; }
.persona dl > div:last-child { padding-bottom: 0; }
.persona dt { color: var(--night-muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding-top: 2px; }
.persona dd { margin: 0; }
.persona dl > div:first-child dd { color: var(--glow); }
.builder .kicker { color: var(--glow); margin-bottom: 6px; }
.skills { list-style: none; margin: 16px 0 0; padding: 0; }
.sw { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 52px; padding: 6px 2px; background: none; border: 0; border-top: 1px solid var(--night-line); color: var(--night-text); font: 500 13.5px/1.35 var(--font-body); text-align: left; cursor: pointer; }
.sw-k { position: relative; flex: none; width: 38px; height: 22px; border-radius: 999px; background: var(--night-line); transition: background-color 200ms var(--ease); }
.sw-k::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--night-text); transition: transform 200ms var(--ease); }
.sw[aria-checked="true"] .sw-k { background: var(--glow); }
.sw[aria-checked="true"] .sw-k::after { transform: translateX(16px); background: var(--night); }
.sw[aria-checked="false"] .sw-t { color: var(--night-muted); }
.b-note { margin-top: 12px; color: var(--night-muted); }
@media (min-width: 880px) {
  .twin-head { grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: clamp(32px, 6vw, 96px); margin-bottom: 56px; }
  .twin-head .huge-atlas { font-size: clamp(7rem, 1rem + 12.5vw, 15rem); }
  .twin-lede { padding-bottom: 1.4vw; }
  .twin-grid { grid-template-columns: 1.15fr 1fr; gap: 14px; }
  .persona, .builder { padding: 28px; }
}

/* ============ 10. GOVERNED ============ */
.gov-head .huge-atlas { font-size: 22vw; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.step { position: relative; padding: 22px; border: 1px solid var(--night-line); border-radius: var(--radius-lg); background: var(--night-surface); display: flex; flex-direction: column; gap: 10px; }
.step b { font: 800 15px/1 var(--font-velo); letter-spacing: .08em; }
.step .tiny { color: var(--night-muted); max-width: 30ch; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 32px; bottom: -15px; width: 1px; height: 14px; background: var(--glow); opacity: .6; }
.step-go { border-color: var(--glow); background: linear-gradient(180deg, rgba(95,184,159,.12), var(--night-surface)); box-shadow: 0 0 0 1px rgba(95,184,159,.3), 0 0 46px -4px rgba(95,184,159,.45); }
.step-go b { color: var(--glow); }
.step-go::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--glow); opacity: 0; animation: ring 3.2s var(--ease) infinite; pointer-events: none; }
@media (min-width: 880px) {
  .gov-head { grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: clamp(32px, 6vw, 96px); margin-bottom: 56px; }
  .gov-head .huge-atlas { font-size: clamp(8rem, 1rem + 15vw, 18rem); }
  .gov-lede { padding-bottom: 1.4vw; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .step { padding: 28px; min-height: 190px; }
  .step:not(:last-child)::after { left: auto; right: -41px; bottom: auto; top: 50%; width: 40px; height: 1px; }
}

/* ============ 11. WHERE ============ */
.where-head .huge-atlas { font-size: 30vw; }
.where-grid { display: grid; gap: 12px; }
.wc { padding: 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.wc-top { display: flex; align-items: center; gap: 10px; color: var(--glow); }
.wc-top .kicker { color: var(--night-muted); }
.gl { width: 22px; height: 22px; flex: none; }
.mail { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--night-line); border-radius: 12px; background: var(--night-raised); }
.mail-s { margin: 0; font: 700 13.5px/1.35 var(--font-body); }
.mail .tiny { color: var(--night-muted); }
.addon { margin-top: 8px; padding: 12px 14px; border-left: 2px solid var(--glow); background: rgba(95,184,159,.07); border-radius: 0 8px 8px 0; display: grid; gap: 4px; font-size: 13px; }
.addon p { margin: 0; }
.addon .kicker { color: var(--glow); }
.addon .tiny { color: var(--night-muted); }
.fake-btn { justify-self: start; margin-top: 8px; padding: 7px 14px; border-radius: 999px; background: var(--glow); color: var(--night); font: 500 12px/1 var(--font-body); }
.chat { display: flex; flex-direction: column; gap: 8px; }
.bub { margin: 0; max-width: 88%; padding: 9px 13px; border-radius: 14px; font-size: 13px; line-height: 1.45; }
.bub.me { align-self: flex-end; background: var(--night-raised); border-bottom-right-radius: 4px; }
.bub.bot { align-self: flex-start; border: 1px solid var(--night-line); border-bottom-left-radius: 4px; }
.bub.sys { border-color: rgba(227,160,111,.4); color: var(--amber); }
.sa { display: flex; flex-direction: column; }
.sa-box { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--night-line); border-radius: 12px; background: var(--night-raised); }
.sa-box b { font: 400 italic 22px/1 var(--font-atlas); }
.sa-box .tiny { color: var(--night-muted); }
.sa-velo { background: transparent; border-style: dashed; }
.sa-velo b { font: 900 15px/1 var(--font-velo); font-style: normal; letter-spacing: -.02em; text-transform: uppercase; }
.sa-link { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0; }
.sa-link i { width: 0; height: 14px; border-left: 1px dashed var(--glow); }
.sa-link .kicker { color: var(--glow); }
.wc > .tiny { color: var(--night-muted); margin-top: auto; }
@media (min-width: 880px) {
  .where-head { grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: clamp(32px, 6vw, 96px); margin-bottom: 56px; }
  .where-head .huge-atlas { font-size: clamp(7rem, 1rem + 12.5vw, 15rem); }
  .where-lede { padding-bottom: 1.4vw; }
  .where-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .wc { padding: 26px; }
}

/* ============ 12. SECURITY ============ */
.sec-sec { border-top: 1px solid var(--night-line); }
.sec-head .huge-atlas { font-size: 27vw; }
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.sec-list li { display: grid; gap: 6px; padding: 18px 0 22px; border-top: 1px solid var(--night-line); }
.sec-list b { font: 700 15px/1.3 var(--font-body); }
.sec-list .tiny { color: var(--night-muted); max-width: 32ch; }
.sec-list .kicker { color: var(--glow); }
@media (min-width: 880px) {
  .sec-head { grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: clamp(32px, 6vw, 96px); margin-bottom: 56px; }
  .sec-head .huge-atlas { font-size: clamp(8rem, 1rem + 15vw, 18rem); }
  .sec-lede { padding-bottom: 1.4vw; }
  .sec-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
}

/* ============ 13. CTA + FOOTER ============ */
.cta { position: relative; overflow: clip; padding-block: clamp(80px, 11vw, 168px) clamp(72px, 9vw, 130px); border-top: 1px solid var(--night-line); }
.cta-glow { position: absolute; left: 50%; bottom: -55%; width: 120%; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(95,184,159,.28), transparent 70%); pointer-events: none; }
.cta .wrap { position: relative; }
.cta .kicker { margin-bottom: 18px; }
.cta .huge-atlas { font-size: 33vw; }
.cta .ln { display: block; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; }
.cta-row .tiny { flex-basis: 100%; max-width: 44ch; color: var(--night-muted); margin-top: 12px; }
@media (min-width: 880px) {
  .cta .huge-atlas { font-size: clamp(8rem, 1rem + 19vw, 24rem); }
  .cta-row .tiny { flex-basis: auto; margin: 0 0 0 20px; }
}
.site-footer { border-top: 1px solid var(--night-line); }
.site-footer .wrap { align-items: flex-start; }
.ft-brand { display: grid; gap: 10px; }
.ft-brand .tiny { color: var(--night-muted); }
.ft-brand .mark-velo { width: 72px; }
.ft-brand .mark-atlasiq { width: 76px; }
.ft-note { display: grid; gap: 8px; max-width: 40ch; }
.ft-note .tiny { color: var(--night-muted); }
@media (max-width: 760px) { .site-footer { padding-bottom: 112px; } }

@media (prefers-reduced-motion: reduce) {
  .hv-back, .ha-back, .hv-chip-px, .hz-glow { transform: none !important; }
  .js .rl-l { opacity: 1; transform: none; }
  .bars i::after { transform: scaleX(1); transition: none; }
  .pulse::after, .approve::after, .step-go::before { animation: none; }
}
