/* ==========================================================================
   Arc Chain · arc.ai
   Arc blue everywhere, white linework. The blue is the logo's own: #002dde.
   ========================================================================== */

:root {
  color-scheme: dark;
  --arc: #002dde;
  --arc-deep: #0021a8;
  --arc-bright: #3a66ff;
  --arc-pale: #9db5ff;
  --night: #002dde;
  --paper: #002dde;
  --white: #ffffff;
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.84);
  --ink-faint: rgba(255, 255, 255, 0.62);
  --on-night: #ffffff;
  --on-night-soft: rgba(255, 255, 255, 0.84);
  --on-night-faint: rgba(255, 255, 255, 0.62);
  --rule-paper: rgba(255, 255, 255, 0.26);
  --rule-night: rgba(255, 255, 255, 0.26);
  --line: rgba(255, 255, 255, 0.55);
  --field: rgba(0, 18, 120, 0.34);
  --scrim: rgba(0, 36, 180, 0.95);

  --f-display: "Sofia Sans Extra Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --f-inscr: var(--f-display);
  --f-body: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  --t-mega: clamp(5.2rem, 17vw, 16.5rem);
  --t-h2: clamp(3rem, 7.2vw, 6.8rem);
  --t-h3: clamp(1.9rem, 2.9vw, 2.8rem);
  --t-lead: clamp(1.1rem, 1.4vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-label: 0.7rem;

  --gutter: clamp(16px, 4.5vw, 56px);
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--on-night);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main, footer { overflow-x: clip; }
img, svg, canvas { max-width: 100%; }
[hidden] { display: none !important; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 300;
  line-height: 0.95;
  text-wrap: balance;
}
h1, h2 { font-weight: 250; text-transform: none; }
h2 { font-size: var(--t-h2); line-height: 0.9; }
h3 { font-size: var(--t-h3); line-height: 1; }
.mega { font-size: var(--t-mega); line-height: 0.82; font-weight: 200; }
.lead { font-size: var(--t-lead); line-height: 1.55; max-width: 38em; }
.eyebrow {
  font: 600 0.86rem var(--f-body);
  letter-spacing: 0.01em;
  text-transform: none;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 10px 16px;
  background: var(--white); color: var(--arc); font-weight: 600;
  transform: translateY(-160%); transition: transform 0.3s var(--ease);
}
.skip:focus { transform: none; }

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

svg use { fill: currentColor; }

/* ---------- buttons: sharp, small, tracked ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 24px;
  border: 0; border-radius: 0;
  font: 600 0.95rem var(--f-body); letter-spacing: 0.01em; text-transform: none;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn svg { width: 11px; height: 11px; flex: none; }
.btn-arch { background: var(--white); color: var(--arc); }
.btn-arch:hover { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px var(--white); }
.btn-line { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.btn-line:hover { background: var(--white); color: var(--arc); box-shadow: none; }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 0.68rem; background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.btn-small:hover { box-shadow: inset 0 0 0 1px var(--white); }
.btn-small[aria-pressed="true"] { background: var(--white); color: var(--arc); }
.btn-big { min-height: 58px; padding: 0 32px; font-size: 0.8rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- masthead: links left, the mark in the middle, actions right ---------- */
.masthead {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gutter) 12px;
  color: var(--white);
}
.masthead::before {
  content: ""; position: absolute; inset: 0 0 -26px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 45, 222, 0.97) 55%, rgba(0, 45, 222, 0));
}
.brand { grid-column: 2; grid-row: 1; display: block; line-height: 0; padding: 4px 0; }
.brand .wordmark { width: 60px; height: auto; fill: currentColor; }
.nav { grid-column: 1; grid-row: 1; display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav a { position: relative; text-decoration: none; font: 600 0.85rem var(--f-body); letter-spacing: 0.01em; text-transform: none; white-space: nowrap; opacity: 0.86; transition: opacity 0.3s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.mast-actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 10px; }
.progress-arch { width: 46px; height: 26px; overflow: visible; }
.progress-arch path { fill: none; stroke: currentColor; stroke-linecap: round; }
.pa-track { stroke-width: 2; opacity: 0.22; }
.pa-fill { stroke-width: 2.4; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.pa-ticks path { stroke-width: 1.6; opacity: 0.28; transition: opacity 0.4s; }
.pa-ticks path.on { opacity: 1; }
.sound, .gh, .dex {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 34px; padding: 0 12px;
  border: 0; border-radius: 0;
  font: 600 0.83rem var(--f-body); letter-spacing: 0.01em; text-transform: none;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.sound, .gh { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px var(--line); }
.sound:hover, .gh:hover { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px var(--white); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 13px; }
.eq i { width: 2px; height: 4px; background: currentColor; }
.eq i:nth-child(2) { height: 9px; } .eq i:nth-child(3) { height: 6px; } .eq i:nth-child(4) { height: 11px; }
.sound[aria-pressed="true"] .eq i { animation: eq 1.1s ease-in-out infinite; }
.sound[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: -0.3s; }
.sound[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: -0.6s; }
.sound[aria-pressed="true"] .eq i:nth-child(4) { animation-delay: -0.85s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 13px; } }
.gh svg, .dex svg { width: 10px; height: 10px; flex: none; }
.gh .gh-mark { width: 14px; height: 14px; }
/* GitHub pill with a live star count, as on multica.ai */
.gh-stars { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.gh-stars::before { content: ""; width: 1px; height: 12px; background: currentColor; opacity: 0.35; }
.dex { background: var(--white); color: var(--arc); }
.dex:hover { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px var(--white); }
.now-playing {
  position: absolute; right: var(--gutter); top: 100%;
  margin-top: -6px;
  font: 0.66rem var(--f-mono); letter-spacing: 0.08em; opacity: 0.75;
  pointer-events: none;
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--arc); color: var(--white); }
.hero-stage { position: relative; height: 270vh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.arcade { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 58% 40% at 50% 54%, rgba(0, 45, 222, 0.6), rgba(0, 45, 222, 0) 72%);
}
.hero-copy {
  position: absolute; inset: 0; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  padding: 96px var(--gutter) 72px;
  text-align: center;
  will-change: transform, opacity;
}
.hero-copy::before, .hero-prelude::before {
  content: ""; position: absolute; left: 50%; top: 52%; z-index: -1; pointer-events: none;
  width: min(1280px, 150vw); height: min(760px, 100svh);
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(0, 45, 222, 0.92), rgba(0, 45, 222, 0.78) 50%, rgba(0, 45, 222, 0) 100%);
}
.hero-copy .lead, .kpis, .prelude-small { text-shadow: 0 1px 14px var(--scrim), 0 0 2px var(--scrim); }
.hero-copy .mega { color: var(--white); }
.hero-copy .lead { color: rgba(255, 255, 255, 0.9); max-width: 34em; }
.hero-copy .cta-row { margin-top: 4px; }
.js .hero-copy > * { animation: rise-in 1.3s var(--ease) both; }
.js .hero-copy > .kpis { animation-delay: 0.95s; }
.js .hero-copy > .lead { animation-delay: 1.65s; }
.js .hero-copy > .cta-row { animation-delay: 1.85s; }
.js .hero-copy > .mega { animation: none; }
.js .mega .w { display: inline-block; animation: word-in 1.5s var(--ease) both; animation-delay: calc(1.15s + var(--i) * 0.16s); }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes word-in { from { opacity: 0; transform: translateY(0.35em); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* the network, in one line */
.kpis {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  margin: 0; padding: 0; list-style: none;
  font: 600 0.88rem var(--f-body); letter-spacing: 0.01em; text-transform: none; color: rgba(255, 255, 255, 0.86);
}
.kpis li { display: inline-flex; align-items: baseline; gap: 9px; padding: 2px 20px; }
.kpis li + li { border-left: 1px solid rgba(255, 255, 255, 0.45); }
.kpis b { font: 300 1.7rem/1 var(--f-display); letter-spacing: 0.02em; color: var(--white); }

.hero-prelude {
  position: absolute; inset: 0; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  padding: 0 var(--gutter);
  text-align: center; opacity: 0; pointer-events: none;
}
.prelude-big {
  font: 250 clamp(2.9rem, 7.4vw, 7rem)/0.9 var(--f-display); text-transform: none;
  max-width: 12em; text-wrap: balance; color: var(--white);
}
.prelude-small { max-width: 33em; color: rgba(255, 255, 255, 0.88); font-size: var(--t-lead); }
.hero-flash { position: absolute; inset: 0; background: var(--arc); opacity: 0; pointer-events: none; }

/* no script, or a request for less motion: the hero becomes a plain page */
html:not(.js) .hero-stage, .reduced .hero-stage { height: auto; }
html:not(.js) .hero-sticky, .reduced .hero-sticky { position: relative; height: auto; }
html:not(.js) .hero-copy, .reduced .hero-copy { position: relative; min-height: 100svh; }
html:not(.js) .hero-prelude, .reduced .hero-prelude { position: relative; opacity: 1; padding-block: 12vh 16vh; }
html:not(.js) .hero-flash, .reduced .hero-flash { display: none; }

/* ---------- history ---------- */
.history { position: relative; background: var(--arc); color: var(--white); }
.history-intro { display: grid; gap: 24px; padding-block: clamp(40px, 7vh, 80px) clamp(24px, 4vh, 56px); }
.history-intro .eyebrow { color: var(--on-night-soft); }
.history-intro h2 { max-width: 14em; }
.history-intro .lead { color: var(--ink-soft); }

.bays { list-style: none; margin: 0; padding: 0; }
.bay {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center;
  gap: clamp(32px, 5vw, 88px);
  max-width: 1360px; margin-inline: auto;
  padding: clamp(56px, 10vh, 120px) var(--gutter);
}
.bay:nth-child(even) { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }
.bay:nth-child(even) .bay-plate { order: 2; }
.bay-plate {
  margin: 0; justify-self: center; width: 100%; max-width: 660px;
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.7s var(--ease);
}
.bay-text { position: relative; z-index: 1; display: grid; gap: 18px; max-width: 34em; }
.bay-era { display: flex; flex-direction: column; gap: 8px; }
.inscr { font: 200 clamp(2.6rem, 4.8vw, 4.4rem)/0.9 var(--f-display); letter-spacing: 0.05em; color: var(--white); text-transform: none; }
.when { font: 600 0.88rem var(--f-body); letter-spacing: 0.01em; text-transform: none; color: var(--ink-faint); }
.bay h3 { color: var(--white); }
.bay p { color: var(--ink-soft); }
.echo {
  display: flex; gap: 14px; align-items: flex-start;
  padding-top: 18px; border-top: 1px solid var(--rule-paper);
  color: var(--white) !important; font-size: 0.98rem;
}
.echo .device { width: 28px; height: 28px; flex: none; color: var(--white); margin-top: 2px; }
.echo b { display: block; margin-bottom: 4px; font: 600 0.8rem var(--f-body); letter-spacing: 0.01em; text-transform: none; color: var(--white); }

.bay-night {
  max-width: none;
  padding-inline: max(var(--gutter), calc((100% - 1360px) / 2 + var(--gutter)));
  background: var(--arc-deep); color: var(--white);
  border-radius: 50% 50% 0 0 / clamp(48px, 9vw, 150px) clamp(48px, 9vw, 150px) 0 0;
  margin-top: clamp(20px, 4vh, 48px);
  padding-top: clamp(96px, 16vh, 190px);
}
.bay-night .when { color: var(--on-night-faint); }
.trusting { font: 250 clamp(2.2rem, 4.2vw, 3.6rem)/0.95 var(--f-display); text-transform: none; color: var(--white) !important; }

/* ---------- plates (line engravings drawn in code) ---------- */
.plate { width: 100%; height: auto; display: block; overflow: visible; color: var(--white); }
.plate .ln, .plate .ln-live { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.plate .w-frame { stroke-width: 1.7; }
.plate .w-main { stroke-width: 1.25; }
.plate .w-fine { stroke-width: 0.85; }
.plate .w-hair { stroke-width: 0.55; }
.plate .faint { opacity: 0.45; }
.plate .con { opacity: 0.55; }
.plate .fl { stroke: none; fill: currentColor; }
.plate .fl-key, .plate .fl-mask { fill: var(--arc); }
.plate-night .fl-key, .plate-night .fl-mask { fill: var(--arc-deep); }
.plate .fl-paper { fill: #0b3ae8; }
.plate .fl-wax { fill: currentColor; fill-opacity: 0.1; }
.plate .fl-star { fill: #ffffff; }
.plate .tx { fill: currentColor; stroke: none; }
.plate .key-num { font-family: var(--f-display); font-size: 24px; font-weight: 300; }
.plate .plate-label { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.03em; text-transform: none; }
.plate .mini-label { font-family: var(--f-display); font-size: 15px; opacity: 0.85; }
.plate .initial { font-family: var(--f-display); font-size: 32px; }
.plate .seal-text { font-family: var(--f-display); font-size: 8.6px; letter-spacing: 0.1em; }
.plate .award { font-family: var(--f-display); font-size: 14px; font-style: italic; }
.plate .screen-text { font-family: var(--f-mono); font-size: 13px; }
.plate .cursor { fill: currentColor; animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.plate .ball { fill: currentColor; }
.plate .packet { fill: currentColor; }
.plate .needle { stroke-width: 1.3; transform-origin: 300px 508px; animation: needle 9s ease-in-out infinite; }
@keyframes needle { 0% { transform: rotate(-62deg); } 50% { transform: rotate(40deg); } 100% { transform: rotate(-62deg); } }
.plate .leak { stroke: #ffffff; stroke-width: 2.2; filter: drop-shadow(0 0 5px #9db5ff); animation: leak 3.2s ease-in-out infinite; }
@keyframes leak { 50% { opacity: 0.45; } }
.plate .flow { fill: none; stroke: currentColor; stroke-width: 0.9; stroke-dasharray: 5 9; animation: flow 1.6s linear infinite; animation-play-state: paused; opacity: 0.8; }
.plate .flow.slow { animation-duration: 2.4s; }
.plate .flow-water { stroke-width: 1.4; stroke-dasharray: 10 8; }
.plate.live .flow, .shard.live .flow { animation-play-state: running; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.plate .fly { fill: currentColor; font-family: var(--f-display); font-size: var(--fs, 16px); opacity: 0; animation: fly 6.6s var(--ease) infinite; animation-delay: var(--fd, 0s); animation-play-state: paused; transform-box: fill-box; transform-origin: center; }
.plate.live .fly { animation-play-state: running; }
@keyframes fly {
  0% { opacity: 0; transform: translate(0, 0) rotate(0); }
  12% { opacity: 0.95; }
  75% { opacity: 0.6; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); }
}
.plate .puff { fill: none; stroke: currentColor; stroke-width: 0.8; opacity: 0; animation: puff 2.8s ease-out infinite; animation-delay: var(--pd, 0s); animation-play-state: paused; transform-box: fill-box; transform-origin: center; }
.plate.live .puff { animation-play-state: running; }
@keyframes puff { 0% { opacity: 0; transform: translate(0, 0) scale(0.4); } 20% { opacity: 0.8; } 100% { opacity: 0; transform: translate(-18px, -110px) scale(3.2); } }
.plate .seal-g { transform-box: fill-box; transform-origin: center; }
.plate.drawing .seal-g { animation: seal 1.2s var(--ease) 2.1s both; }
@keyframes seal { 0% { transform: scale(1.6); opacity: 0; } 60% { transform: scale(0.94); opacity: 1; } 100% { transform: scale(1); } }

/* the draw-on: every line is one unit long (pathLength = 1) */
.js .plate.pending .ln { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.js .plate.pending .fl, .js .plate.pending .tx, .js .plate.pending .fx, .js .plate.pending .ln-live,
.js .plate.pending .cursor, .js .plate.pending .ball, .js .plate.pending .packet, .js .plate.pending .flow { opacity: 0; }
.js .plate.drawing .ln {
  stroke-dasharray: 1 1; stroke-dashoffset: 0;
  transition: stroke-dashoffset var(--dur, 1.5s) cubic-bezier(0.55, 0.05, 0.25, 1) var(--delay, 0s);
}
.js .plate.drawing .fl, .js .plate.drawing .tx, .js .plate.drawing .fx, .js .plate.drawing .ln-live,
.js .plate.drawing .cursor, .js .plate.drawing .ball, .js .plate.drawing .packet, .js .plate.drawing .flow {
  transition: opacity 1.1s ease var(--delay, 1.6s);
}
.js .plate.drawn .ln { stroke-dasharray: none; transition: none; }

/* ---------- the choice ---------- */
.choice { position: relative; background: var(--night); color: var(--on-night); }
.choice::before, .blueprint::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 70%);
}
.choice-stage { position: relative; height: 230vh; }
.choice-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(14px, 3vh, 34px);
  padding-top: 64px; overflow: hidden;
}
.choice-head { display: grid; gap: 14px; justify-items: center; text-align: center; }
.choice-head .eyebrow { color: var(--on-night-soft); }
.morph-wrap { padding-inline: var(--gutter); }
.morph { display: block; width: 100%; max-width: 1200px; max-height: 50vh; height: auto; margin-inline: auto; color: var(--white); overflow: visible; }
.morph .m-ln { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.morph .m-strong { stroke-width: 2; }
.morph .m-mid { stroke-width: 1.3; }
.morph .m-hair { stroke-width: 0.7; opacity: 0.6; }
.morph .m-key { fill: var(--arc); }
.morph .m-glow { mix-blend-mode: screen; }
.morph .m-dot { fill: var(--white); filter: drop-shadow(0 0 4px #9db5ff); }
.morph-caption { text-align: center; padding-inline: var(--gutter); font: 300 clamp(1.5rem, 2.6vw, 2.3rem)/1.05 var(--f-display); color: var(--on-night-soft); }
html:not(.js) .choice-stage, .reduced .choice-stage { height: auto; }
html:not(.js) .choice-sticky, .reduced .choice-sticky { position: relative; height: auto; padding-block: clamp(96px, 14vh, 160px) 24px; }

.ledgers { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 40px); padding-block: 24px clamp(96px, 14vh, 170px); }
.ledger {
  padding: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 44px) 34px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.ledger h3 { text-align: center; font-size: clamp(2rem, 3.2vw, 2.9rem); text-transform: none; font-weight: 250; }
.ledger-sub { margin-top: 8px; text-align: center; font: 600 0.9rem var(--f-body); letter-spacing: 0.01em; text-transform: none; color: var(--on-night-faint); }
.ledger ul { list-style: none; margin: 26px 0 0; padding: 0; }
.ledger li { display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--rule-night); }
.ledger-rent { color: var(--on-night-soft); }
.ledger-rent li::before { content: ""; flex: none; width: 12px; height: 1.5px; background: currentColor; transform: translateY(-4px); opacity: 0.7; }
.ledger-own { background: var(--white); color: var(--arc); box-shadow: none; }
.ledger-own .ledger-sub { color: rgba(0, 45, 222, 0.72); }
.ledger-own li { border-top-color: rgba(0, 45, 222, 0.2); }
.ledger-own li::before { content: ""; flex: none; width: 7px; height: 7px; background: currentColor; transform: translateY(-2px); }

/* ---------- how it works ---------- */
.engine { position: relative; background: var(--paper); color: var(--ink); }
.engine-intro { display: grid; gap: 22px; padding-block: clamp(96px, 15vh, 180px) 36px; }
.engine-intro .eyebrow { color: var(--on-night-soft); }
.engine-intro h2 { max-width: 14em; }
.engine-intro .lead { color: var(--ink-soft); }
.sequence-note { font: 600 0.88rem var(--f-body); letter-spacing: 0.01em; text-transform: none; color: var(--white); }

.principle {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start;
  gap: clamp(28px, 5vw, 80px);
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(48px, 8vh, 96px) var(--gutter);
  border-top: 1px solid var(--rule-paper);
}
.principle-wide { grid-template-columns: minmax(0, 1fr); }
.principle-wide .p-text { max-width: 44em; }
.p-text { display: grid; gap: 16px; }
.p-text h3 { color: var(--ink); }
.p-text p { color: var(--ink-soft); max-width: 36em; }
.p-step { display: flex; align-items: center; gap: 12px; font: 600 0.88rem var(--f-body); letter-spacing: 0.01em; text-transform: none; color: var(--white); }
.p-step span {
  display: grid; place-items: center; width: 34px; height: 30px; padding-top: 4px;
  border: 1.5px solid currentColor; border-radius: 17px 17px 3px 3px;
  font-family: var(--f-display); font-size: 1.15rem; letter-spacing: 0;
}

.eng { margin-top: 4px; padding-top: 12px; border-top: 1px dashed var(--rule-paper); }
.eng summary {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer; list-style: none;
  font: 600 0.85rem var(--f-body); letter-spacing: 0.01em; text-transform: none; color: var(--white);
}
.eng summary::-webkit-details-marker { display: none; }
.eng summary::before {
  content: "+"; display: grid; place-items: center; width: 17px; height: 17px;
  border: 1px solid currentColor; border-radius: 0; font-size: 0.8rem; line-height: 1;
}
.eng[open] summary::before { content: "–"; }
.eng p { margin-top: 10px; font-family: var(--f-mono); font-size: 0.8rem; line-height: 1.7; color: var(--ink-soft); }
.eng a, .legend-link, .bp-facts a, .checkit-more a {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  font: 500 0.8rem var(--f-mono); color: var(--white); text-underline-offset: 3px;
}
.eng a svg, .legend-link svg, .bp-facts a svg, .checkit-more a svg, .footer-links svg { width: 10px; height: 10px; flex: none; }

/* demos */
.demo {
  display: grid; gap: 16px;
  padding: clamp(30px, 3.6vw, 44px) clamp(18px, 3vw, 36px) 26px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.demo-title { display: block; text-align: center; font: 300 1.6rem/1.05 var(--f-display); color: var(--ink); text-wrap: balance; }
.sum-inputs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; }
.sum-inputs label { font: 500 0.82rem var(--f-mono); color: var(--ink-faint); }
.sum-inputs input, #fp-input {
  font: 500 1rem var(--f-mono); color: var(--ink);
  background: var(--field); border: 1px solid var(--line); border-radius: 0;
}
.sum-inputs input { width: 5.4em; padding: 8px 10px; text-align: center; }
.sum-inputs input[aria-invalid="true"] { border-style: dashed; border-color: var(--white); }
.sum-block { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--rule-paper); }
.sum-kind { font: 600 0.9rem var(--f-body); letter-spacing: 0.01em; text-transform: none; color: var(--ink-faint); }
.sum-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; font: 0.92rem var(--f-mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.sum-out { font-weight: 500; }
.sum-verdict { font-weight: 600; font-size: 0.96rem; color: var(--ink); display: flex; gap: 8px; align-items: baseline; }
.sum-verdict::before { content: "="; font-family: var(--f-mono); color: var(--white); }
.sum-verdict.bad::before { content: "≠"; }
.sum-int { background: rgba(255, 255, 255, 0.08); border-top: 0; padding: 14px; box-shadow: inset 0 0 0 1px var(--rule-paper); }
.demo-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.sum-tally { font: 0.78rem var(--f-mono); color: var(--ink-faint); }
.demo-note { font-size: 0.8rem; color: var(--ink-faint); text-align: center; }

#fp-input { width: 100%; padding: 12px 14px; font-family: var(--f-body); font-size: 1rem; line-height: 1.45; resize: vertical; min-height: 64px; }
.fp-machines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fp-m {
  position: relative; display: grid; gap: 6px; align-content: start; text-align: center;
  padding: 30px 10px 12px;
  box-shadow: inset 0 0 0 1px var(--rule-paper);
  transition: box-shadow 0.3s, background-color 0.3s;
}
.fp-name { font: 600 0.9rem var(--f-body); letter-spacing: 0.01em; text-transform: none; color: var(--ink); }
.fp-copy { font-size: 0.78rem; line-height: 1.4; color: var(--ink-soft); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fp-copy mark { background: var(--white); color: var(--arc); padding: 0 2px; }
.fp-hash { font: 0.72rem/1.45 var(--f-mono); color: var(--white); overflow-wrap: anywhere; }
.fp-mark { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; }
.fp-mark::before { content: "✓"; font-size: 0.8rem; color: var(--white); }
.fp-m.bad { background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1.5px var(--white); }
.fp-m.bad .fp-hash { text-decoration: line-through; text-decoration-thickness: 1px; }
.fp-m.bad .fp-mark::before { content: "✕"; }
.fp-verdict { text-align: center; font-weight: 600; color: var(--ink); }
.fp-verdict.bad { text-decoration: underline; text-underline-offset: 5px; }
.demo-fp .demo-foot { justify-content: center; }

.shard-fig { margin: 0; }
.shard-scroll { overflow-x: auto; }
.shard { display: block; width: 100%; height: auto; min-width: 640px; color: var(--white); overflow: visible; }
.shard .sh-ln { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.shard .sh-fine { stroke-width: 0.9; }
.shard .sh-hair { fill: none; stroke: currentColor; stroke-width: 0.55; opacity: 0.6; }
.shard .flow { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-dasharray: 10 8; animation: flow 1.6s linear infinite; animation-play-state: paused; opacity: 0.7; }
.shard .sh-range { font: 500 12px var(--f-mono); fill: currentColor; letter-spacing: 0.04em; }
.shard .sh-end { font: 500 13px var(--f-mono); fill: currentColor; letter-spacing: 0.06em; text-transform: none; }
.shard .rep-box { fill: var(--paper); stroke: currentColor; stroke-width: 1.1; transition: fill 0.3s, opacity 0.3s; }
.shard .rep-line { fill: none; stroke: currentColor; stroke-width: 0.9; opacity: 0.55; }
.shard .rep.on .rep-box { fill: var(--white); }
.shard .rep.on .rep-line { stroke: var(--arc); opacity: 0.9; }
.shard .rep.off { opacity: 0.35; }
.shard .rep.off .rep-box { stroke-dasharray: 4 4; fill: none; }
.shard .sh-chk { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity 0.25s; }
.shard .sh-chk.on { opacity: 1; }
.shard .sh-tok { fill: var(--white); stroke: var(--arc); stroke-width: 2; filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.9)); }
.shard-fig figcaption { display: grid; gap: 8px; margin-top: 18px; }
.shard-answer { font: 300 clamp(1.5rem, 2.4vw, 1.9rem)/1.1 var(--f-display); color: var(--ink); min-height: 1.4em; }
.shard-answer b { margin-right: 12px; font: 600 0.83rem var(--f-body); letter-spacing: 0.01em; text-transform: none; color: var(--white); }
.shard-note { font-size: 0.86rem; color: var(--ink-faint); max-width: 52em; }

.receipt-fig { margin: 0; display: grid; justify-items: center; gap: 14px; }
.receipt { display: block; width: 100%; max-width: 380px; height: auto; overflow: visible; }   /* its shadow is an SVG filter on the paper (plates.js receipt()) */
.receipt-fig figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; font-size: 0.85rem; color: var(--ink-faint); }
.receipt .rc-paper { fill: var(--white); stroke: var(--arc); stroke-width: 1.2; }
.receipt .rc-title { font: 400 28px var(--f-display); letter-spacing: 0.02em; fill: var(--arc); }
.receipt .rc-sub { font: 600 11px var(--f-body); letter-spacing: 0.01em; fill: #5a73dd; }
.receipt .rc-rule { fill: none; stroke: var(--arc); stroke-width: 1; opacity: 0.4; }
.receipt .rc-k { font: 11.5px var(--f-mono); fill: #5a73dd; }
.receipt .rc-v { font: 500 11.5px var(--f-mono); fill: #00189a; }
.receipt .rc-row { opacity: 0.12; transition: opacity 0.5s; }
.receipt .rc-row.on { opacity: 1; }
.receipt .rc-seal { transform-box: fill-box; transform-origin: center; }
.receipt .rc-seal-o { fill: none; stroke: var(--arc); stroke-width: 1.2; stroke-dasharray: 3 3; }
.receipt .rc-seal-i, .receipt .rc-seal-d { fill: none; stroke: var(--white); stroke-width: 1.2; opacity: 0; }
.receipt .rc-seal.on .rc-seal-o { fill: var(--arc); stroke-dasharray: none; }
.receipt .rc-seal.on .rc-seal-i, .receipt .rc-seal.on .rc-seal-d { opacity: 1; }
.receipt .rc-seal.on { animation: stamp-in 0.45s var(--ease) both; }
@keyframes stamp-in { from { transform: scale(1.5); } to { transform: scale(1); } }
.receipt .rc-stamp { opacity: 0; transform-box: fill-box; transform-origin: center; transform: rotate(-12deg) scale(1.8); transition: opacity 0.2s, transform 0.5s cubic-bezier(0.3, 1.5, 0.5, 1); }
.receipt .rc-stamp.on { opacity: 0.92; transform: rotate(-12deg) scale(1); }
.receipt .rc-stamp-b { fill: none; stroke: var(--arc); stroke-width: 2; }
.receipt .rc-stamp-t { font: 400 38px var(--f-display); letter-spacing: 0.03em; fill: var(--arc); }

.honest { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; padding-block: 48px clamp(96px, 14vh, 170px); border-top: 1px solid var(--rule-paper); }
.honest-card {
  display: grid; gap: 16px; align-content: start; text-align: center;
  padding: clamp(44px, 5.4vw, 64px) clamp(22px, 4vw, 56px) 48px;
  background: var(--white); color: var(--arc);
}
.honest-card h3 { color: var(--arc); text-transform: none; font-weight: 250; font-size: clamp(2.2rem, 3.4vw, 3.2rem); }
.honest-card p { color: #00189a; font-size: 1.08rem; max-width: 30em; margin-inline: auto; }
.mini-cards { display: grid; gap: 18px; }
.mini { display: grid; gap: 10px; padding: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.mini h4 { font-size: 2rem; font-weight: 250; text-transform: none; color: var(--ink); }
.mini p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- the blueprint ---------- */
.blueprint {
  position: relative; color: var(--on-night);
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px) 0 0 / 160px 160px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px) 0 0 / 160px 160px,
    var(--arc);
}
.bp-head { position: relative; display: grid; gap: 20px; padding-block: clamp(96px, 15vh, 180px) 36px; }
.bp-head .eyebrow { color: var(--on-night-soft); }
.bp-head .lead { color: var(--on-night-soft); }
.bp-body { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.section-fig { margin: 0; }
.section-draw { display: block; width: 100%; height: auto; color: var(--white); overflow: visible; }
.section-draw .sec-ln { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; }
.section-draw .sec-strong { stroke-width: 1.8; }
.section-draw .sec-fine { stroke-width: 0.8; }
.section-draw .sec-hair { stroke-width: 0.5; opacity: 0.6; }
.section-draw .sec-ground { stroke-width: 2.6; }
.section-draw .sec-label { font: 500 15px var(--f-mono); fill: var(--white); letter-spacing: 0.01em; }
.section-draw .sec-cap { font: 13px var(--f-inscr); letter-spacing: 0.03em; fill: var(--on-night-soft); }
.section-draw .sec-small { font-size: 11px; }
.section-draw .tier { cursor: pointer; transition: opacity 0.35s; }
.section-draw .hl { fill: rgba(255, 255, 255, 0); transition: fill 0.35s; }
.section-draw .tier.on .hl { fill: rgba(255, 255, 255, 0.14); }
.section-draw.focus .tier:not(.on) { opacity: 0.38; }
.legend-title { margin-bottom: 12px; font: 600 0.9rem var(--f-body); letter-spacing: 0.01em; text-transform: none; color: var(--on-night-faint); }
.bp-legend ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bp-legend button {
  width: 100%; display: grid; gap: 4px; text-align: left; cursor: pointer;
  padding: 12px 14px; border: 0; background: transparent; color: var(--on-night);
  box-shadow: inset 0 0 0 1px var(--rule-night);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.bp-legend button code { font: 500 0.86rem var(--f-mono); color: var(--white); }
.bp-legend button span { font-size: 0.87rem; line-height: 1.45; color: var(--on-night-soft); }
.bp-legend button:hover, .bp-legend button.on { background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px var(--white); }
.legend-link { color: var(--white); margin-top: 14px; }

.bp-facts { display: grid; gap: 12px; max-width: 62em; color: var(--on-night-soft); font-size: 0.96rem; }
.bp-facts b { color: var(--white); font-weight: 600; }
.bp-facts a { color: var(--white); margin: 0 0 0 6px; }

/* ---------- the next industrial revolution ---------- */
.revolution {
  position: relative; overflow: hidden;
  padding-block: clamp(96px, 15vh, 180px) clamp(80px, 12vh, 140px);
  color: var(--white);
  background:
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 70%),
    var(--arc);
}
.rev-head { display: grid; gap: 20px; justify-items: center; text-align: center; }
.rev-head .eyebrow { color: var(--on-night-soft); }
.rev-head h2 { max-width: 13em; }
.rev-head .lead { color: rgba(255, 255, 255, 0.9); max-width: 34em; }
.climax-fig { max-width: 1400px; margin: clamp(28px, 6vh, 70px) auto 0; padding-inline: var(--gutter); }
.climax { display: block; width: 100%; height: auto; color: var(--white); overflow: visible; }
.climax .cx-ln { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.climax .cx-strong { stroke-width: 2.1; }
.climax .cx-hair { stroke-width: 0.6; opacity: 0.55; }
.climax .cx-icon { stroke-width: 1.3; }
.climax .cx-fill { fill: rgba(255, 255, 255, 0); transition: fill 1s; }
.climax .cx-num { font: 15px var(--f-display); fill: currentColor; }
.climax .cx-letter { font: 44px var(--f-display); fill: currentColor; }
.climax .era-arch { opacity: 0.32; transition: opacity 0.9s var(--ease), filter 0.9s; }
.climax .era-arch.lit { opacity: 1; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.55)); }
.climax .era-arch.lit .cx-fill { fill: rgba(255, 255, 255, 0.08); }
.climax .cx-draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(0.55, 0.05, 0.25, 1); }
.climax.arch-on .cx-draw { stroke-dashoffset: 0; }
.climax .keystone-g { opacity: 0; transform: translateY(-150px); transition: transform 1.1s cubic-bezier(0.3, 1.45, 0.5, 1), opacity 0.5s; }
.climax.set .keystone-g { opacity: 1; transform: none; }
.climax .cx-key { fill: var(--arc); }
.climax .cx-mark { color: var(--white); fill: var(--white); }
.climax .cx-rays { opacity: 0; transition: opacity 2.4s ease 0.3s; }
.climax.set .cx-rays { opacity: 1; }
.climax .cx-ray { fill: none; stroke: #ffffff; stroke-width: 0.8; opacity: 0.35; }
.rev-final {
  margin-top: clamp(24px, 5vh, 56px); text-align: center;
  font: 200 clamp(4.2rem, 14vw, 13rem)/0.84 var(--f-display); text-transform: none;
}

/* ---------- check it ---------- */
.checkit { position: relative; background: var(--paper); color: var(--ink); padding-block: clamp(110px, 16vh, 200px) clamp(90px, 13vh, 160px); text-align: center; }
/* (the thin outline arch that stood behind this section is gone: the book sits in its own engraved niche) */
.checkit-inner { position: relative; display: grid; gap: 26px; justify-items: center; }
.checkit h2 { max-width: 13em; }
.checkit .lead { color: var(--ink-soft); }
.checkit-more { color: var(--ink-faint); }
.checkit-more a { font-size: 0.86rem; }
.coda-line { margin-top: clamp(36px, 8vh, 90px); font: 250 clamp(2.4rem, 5vw, 4.4rem)/0.95 var(--f-display); text-transform: none; color: var(--white); }

/* ---------- footer ---------- */
.footer { background: var(--arc); color: var(--on-night-soft); border-top: 1px solid var(--rule-night); padding-block: 64px calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 28px 56px; align-items: start; }
.footer-brand .wordmark { width: 84px; height: auto; color: var(--white); fill: var(--white); display: block; }
.footer-brand p { margin-top: 14px; font: 600 0.8rem var(--f-body); letter-spacing: 0.01em; text-transform: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: flex-end; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--white); text-decoration: none; font: 600 0.88rem var(--f-body); letter-spacing: 0.01em; text-transform: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.score-notes { grid-column: 1 / -1; max-width: 48em; padding-top: 22px; border-top: 1px solid var(--rule-night); }
.score-notes summary { cursor: pointer; font: 600 0.93rem var(--f-body); letter-spacing: 0.01em; text-transform: none; color: var(--white); }
.score-notes p { margin-top: 12px; font-size: 0.92rem; }
.copyright { grid-column: 1 / -1; font: 0.76rem var(--f-mono); color: var(--on-night-faint); }

/* ---------- smaller screens ---------- */
@media (max-width: 980px) {
  .masthead { display: flex; }
  .mast-actions { margin-left: auto; }
  .nav { display: none; }
  .bay, .bay:nth-child(even), .principle, .honest, .bp-body { grid-template-columns: minmax(0, 1fr); }
  .bay:nth-child(even) .bay-plate { order: 0; }
  .bay-plate { max-width: 520px; }
}
@media (max-width: 720px) {
  .ledgers { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-links { justify-content: flex-start; }
  .progress-arch { display: none; }
  .dex-long { display: none; }
}
@media (max-width: 560px) {
  .masthead { gap: 10px; }
  .mast-actions { gap: 8px; }
  .gh, .dex, .sound { padding: 0 10px; }
  .gh-label { display: none; }
  .kpis li { padding: 2px 11px; }
  .sound-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sum-inputs input { width: 4.4em; padding: 8px 6px; }
  .fp-machines { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { gap: 14px; }
  .hero-copy .cta-row { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .checkit .cta-row { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .demo-foot { justify-content: center; }
}

/* ---------- less motion ---------- */
.reduced *, .reduced *::before, .reduced *::after {
  animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
  transition-duration: 0.001ms !important; transition-delay: 0s !important;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
.plate .news-head { font-family: var(--f-display); font-size: 9.5px; letter-spacing: 0.12em; }
.plate .news-date { font-family: var(--f-mono); font-size: 5.5px; }
.plate .news-line { font-family: var(--f-display); font-size: 8.6px; }
.plate .hash { font-family: var(--f-mono); font-size: 9px; }

/* ---------- v2 sections kept: benefits, speed, join ---------- */
/* ---------- what Arc Chain does for you ---------- */
.benefits {
  position: relative; overflow: hidden; color: var(--white);
  padding-block: clamp(96px, 14vh, 170px) 0;
  background: var(--arc);
}
.ben-head { display: grid; gap: 18px; justify-items: center; text-align: center; }
.ben-head .eyebrow { color: var(--on-night-soft); }
.ben-head h2 { max-width: 14em; }
.ben-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(40px, 7vh, 72px); }
.ben {
  position: relative; display: grid; gap: 12px; align-content: start; text-align: center;
  padding: 74px clamp(16px, 1.8vw, 26px) 30px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.ben-num { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); font: 200 2rem/1 var(--f-display); color: var(--white); }
.ben h3 { font-size: clamp(2.2rem, 3vw, 2.8rem); font-weight: 250; text-transform: none; }
.ben p { color: var(--on-night-soft); font-size: 0.98rem; }
.speed { position: relative; margin-top: clamp(64px, 10vh, 120px); height: clamp(440px, 72vh, 660px); overflow: hidden; }
.speed-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.speed-copy { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; padding-top: clamp(28px, 6vh, 64px); text-shadow: 0 2px 30px var(--scrim); }
.speed-kicker { font: 600 0.86rem var(--f-body); letter-spacing: 0.01em; text-transform: none; color: var(--on-night-soft); }
.speed-num { margin-top: 10px; font: 200 clamp(6rem, 22vw, 19rem)/0.8 var(--f-display); color: var(--white); }
.speed-label { margin-top: 14px; font: 600 clamp(0.86rem, 1.1vw, 1.03rem) var(--f-body); letter-spacing: 0.01em; text-transform: none; color: var(--white); }
.speed-sub { margin-top: 14px; max-width: 34em; padding-inline: var(--gutter); color: var(--on-night-soft); }

/* ---------- join the team or partner ---------- */
.join { position: relative; color: var(--white); padding-block: clamp(96px, 14vh, 170px); background: var(--arc); border-top: 1px solid var(--rule-night); }
.join-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.join-text { display: grid; gap: 18px; }
.join-text .eyebrow { color: var(--on-night-soft); }
.join-text .lead { color: rgba(255, 255, 255, 0.9); }
.join-direct { color: var(--on-night-soft); font-size: 0.95rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.addr { font: 500 0.95rem var(--f-mono); color: var(--white); user-select: all; }
.copy { min-height: 30px; padding: 0 12px; border: 0; cursor: pointer; font: 600 0.8rem var(--f-body); letter-spacing: 0.01em; text-transform: none; color: var(--arc); background: var(--white); }
.join-form {
  display: grid; gap: 18px; padding: clamp(72px, 9vw, 96px) clamp(20px, 3vw, 40px) clamp(24px, 3vw, 36px);
  border-radius: 50% 50% 0 0 / 110px 110px 0 0;
  box-shadow: inset 0 0 0 1px var(--line);
}
.join-kind { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.join-kind legend { width: 100%; margin-bottom: 10px; text-align: center; font: 600 0.9rem var(--f-body); letter-spacing: 0.01em; text-transform: none; color: var(--on-night-soft); }
.join-kind label { position: relative; cursor: pointer; }
.join-kind input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.join-kind span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; font: 600 0.83rem var(--f-body); letter-spacing: 0.01em; text-transform: none; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.25s, color 0.25s; }
.join-kind input:checked + span { background: var(--white); color: var(--arc); box-shadow: none; }
.join-kind input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 3px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font: 600 0.83rem var(--f-body); letter-spacing: 0.01em; text-transform: none; }
.field label small { font-size: inherit; color: var(--on-night-faint); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 0; border-radius: 0;
  font: 400 1rem var(--f-body); color: var(--white); background: var(--field);
  box-shadow: inset 0 0 0 1px var(--line);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--white); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #ffffff; background: rgba(255, 255, 255, 0.1); }
.join-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-status { font-size: 0.9rem; color: var(--on-night-soft); flex: 1 1 220px; }
.form-status.err { color: var(--white); font-weight: 600; }
.form-status.ok { color: var(--white); }

@media (max-width: 980px) {
  .ben-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .join-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .ben-grid { grid-template-columns: minmax(0, 1fr); }
  .ben { padding-top: 68px; }
}

.disclaimer { grid-column: 1 / -1; max-width: 62em; font-size: 0.78rem; line-height: 1.6; color: var(--on-night-faint); }
.disclaimer b { color: var(--on-night-soft); font-weight: 600; }

/* ---------- social buttons ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 40px; padding: 0 11px;
  color: var(--white); text-decoration: none;
  font: 600 0.83rem var(--f-body); letter-spacing: 0.01em; text-transform: none;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.socials a:hover { background: var(--white); color: var(--arc); box-shadow: none; }
.socials svg { width: 15px; height: 15px; flex: none; }
.socials:not(.socials-named) a { width: 40px; padding: 0; }
.join-social { display: grid; gap: 12px; margin-top: 8px; }
.join-social .eyebrow { color: var(--on-night-soft); }
.footer .socials { grid-column: 2; justify-content: flex-end; }

/* ---------- the viaduct band, drawn edge to edge ---------- */
.band { margin: 0; padding-top: clamp(84px, 12vh, 140px); }
.band-plate { display: block; width: 100%; height: clamp(240px, 40vw, 640px); }

/* ---------- consulting ---------- */
.c-hero { position: relative; padding-top: clamp(104px, 15vh, 160px); overflow: hidden; }
.c-hero-copy { display: grid; gap: 26px; justify-items: start; }
.c-hero-copy .eyebrow { color: var(--on-night-soft); }
.c-mega { font-size: clamp(3.6rem, 9.6vw, 9.8rem); line-height: 0.84; font-weight: 200; max-width: 11em; }
.c-hero-copy .lead { color: rgba(255, 255, 255, 0.9); }
.c-hero .cta-row { justify-content: flex-start; }
.band-hero { padding-top: clamp(28px, 4vh, 48px); }

.c-sec { padding-block: clamp(96px, 14vh, 170px); border-top: 1px solid var(--rule-night); }
.c-head { display: grid; gap: 22px; max-width: 62em; margin-bottom: clamp(40px, 7vh, 72px); }
.c-head .eyebrow { color: var(--on-night-soft); }
.c-num, .c-tag { font: 600 0.83rem var(--f-body); letter-spacing: 0.01em; text-transform: none; color: var(--ink-faint); }

.c-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.c-grid li { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 2.6vw, 34px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.c-grid h3 { font-size: clamp(1.9rem, 2.5vw, 2.4rem); font-weight: 250; text-transform: none; }
.c-grid p { color: var(--ink-soft); }
.c-cap { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.c-bridge { margin: 0 0 clamp(40px, 6vh, 64px); }

.c-phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.c-phases li {
  position: relative; display: grid; gap: 14px; align-content: start; text-align: center;
  padding: 92px clamp(16px, 1.8vw, 26px) 26px;
  border-radius: 50% 50% 0 0 / 80px 80px 0 0;
  box-shadow: inset 0 0 0 1px var(--line);
}
.c-phases .c-num { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); color: var(--white); }
.c-phases h3 { font-size: clamp(2.2rem, 3vw, 2.8rem); font-weight: 250; text-transform: none; }
.c-phases p { color: var(--ink-soft); }
.c-out { display: grid; gap: 4px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--rule-night); color: var(--white) !important; font-size: 0.95rem; }
.c-out b { font: 600 0.8rem var(--f-body); letter-spacing: 0.01em; text-transform: none; color: var(--ink-faint); }

.c-loop { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); margin-top: clamp(40px, 7vh, 72px); box-shadow: inset 0 0 0 1px var(--line); }
.c-loop-head { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 2.6vw, 34px); background: var(--white); color: var(--arc); }
.c-loop-head .eyebrow { color: rgba(0, 45, 222, 0.72); }
.c-loop-head h3 { color: var(--arc); font-size: clamp(2rem, 2.8vw, 2.6rem); font-weight: 250; text-transform: none; }
.c-loop-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.c-loop-steps li { display: grid; gap: 10px; align-content: start; padding: clamp(18px, 2vw, 28px); border-left: 1px solid var(--line); }
.c-loop-steps b { font: 250 clamp(1.8rem, 2.4vw, 2.3rem)/1 var(--f-display); text-transform: none; }
.c-loop-steps span { font-size: 0.92rem; color: var(--ink-soft); }

.c-record { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.c-record li { display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px 32px; align-items: baseline; padding-block: clamp(22px, 3.4vh, 34px); border-top: 1px solid var(--line); }
.c-record h3 { font-size: clamp(2.8rem, 5.6vw, 5.2rem); font-weight: 200; line-height: 0.86; text-transform: none; }
.c-record p:last-child { color: var(--ink-soft); }
.c-record a { color: var(--white); text-underline-offset: 4px; white-space: nowrap; }
.c-trust { display: grid; gap: 26px; margin-top: clamp(48px, 8vh, 88px); padding: clamp(28px, 4vw, 52px); background: var(--white); color: var(--arc); }
.c-trust h3 { color: var(--arc); max-width: 16em; font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 250; text-transform: none; }
.c-trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.c-trust li { display: grid; gap: 8px; align-content: start; padding-top: 14px; border-top: 1px solid rgba(0, 45, 222, 0.25); color: #00189a; }
.c-trust b { font: 600 0.83rem var(--f-body); letter-spacing: 0.01em; text-transform: none; color: var(--arc); }

.c-faq-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.c-faq-wrap .c-head { margin-bottom: 0; }
.c-faq { border-bottom: 1px solid var(--line); }
.c-faq details { border-top: 1px solid var(--line); }
.c-faq summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font: 300 clamp(1.5rem, 2.2vw, 1.95rem)/1.1 var(--f-display);
}
.c-faq summary::-webkit-details-marker { display: none; }
.c-faq summary::after { content: "+"; flex: none; font: 400 1rem var(--f-mono); }
.c-faq details[open] summary::after { content: "–"; }
.c-faq p { padding-bottom: 22px; max-width: 40em; color: var(--ink-soft); }
.c-contact .join-text .eyebrow { color: var(--on-night-soft); }
.c-contact h2 { font-size: clamp(2.6rem, 4.6vw, 4.4rem); }

@media (max-width: 980px) {
  .c-grid, .c-cap, .c-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-loop, .c-faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .c-loop-steps { grid-template-columns: minmax(0, 1fr); }
  .c-loop-steps li { border-left: 0; border-top: 1px solid var(--line); }
  .c-record li { grid-template-columns: minmax(0, 1fr); }
  .c-trust ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .footer .socials { grid-column: 1; justify-content: flex-start; }
}
@media (max-width: 560px) {
  .c-grid, .c-cap, .c-phases { grid-template-columns: minmax(0, 1fr); }
  .c-hero .cta-row { flex-direction: column; align-items: stretch; width: 100%; }
  .c-bridge { display: none; }
}
/* the contact forms' bot trap: a field people never see */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
/* on touch screens the masthead's small buttons get a tap area of about 46 px without changing how they look */
@media (pointer: coarse) {
  .masthead .brand, .masthead .menu-btn, .masthead .sound, .masthead .gh, .masthead .dex { position: relative; }
  .masthead .brand::after, .masthead .menu-btn::after, .masthead .sound::after, .masthead .gh::after, .masthead .dex::after { content: ""; position: absolute; left: -3px; right: -3px; top: -6px; bottom: -6px; }
}
