/* 3DNow shared component layer. Tokens are in tokens.css; page-only layout goes in /css/<page>.css (docs/DESIGN.md, "Components (as built)").
   Sections: 1 base · 2 backdrop · 3 layout · 4 type · 5 header · 6 footer · 7 buttons · 8 forms · 9 surfaces · 10 feedback · 11 data
   12 live status · 13 quote parts · 14 lists and timeline · 15 legacy page classes · 16 motion · 17 print */

/* ============ 1. Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  color: var(--text); font: 400 var(--fs-body)/1.6 var(--font-body);
  font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body > * { width: 100%; }
body > main, body > .grow { flex: 1 0 auto; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
p, ul, ol, dl, figure, blockquote { margin: 0 0 var(--space-4); }
a { color: inherit; }
hr { border: 0; height: 1px; background: var(--line); margin: var(--space-7) 0; }
::selection { background: rgba(255, 107, 26, .32); color: #fff; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: fixed; left: var(--space-4); top: var(--space-3); z-index: 100; transform: translateY(-160%);
  background: var(--signal); color: var(--on-signal); font-weight: 600; text-decoration: none;
  padding: 10px 16px; border-radius: var(--r-sm); transition: transform var(--dur-2) var(--ease);
}
.skip:focus, .skip:focus-visible { transform: none; }
#content { display: block; height: 0; outline: none; }

/* ============ 2. Backdrop: near-black, a faint blueprint grid and two blurred glows, fixed behind everything ============ */
body::before, body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; }
body::before {
  background-image:
    linear-gradient(rgba(148, 178, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 255, .055) 1px, transparent 1px),
    linear-gradient(rgba(148, 178, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 255, .03) 1px, transparent 1px);
  background-size: 192px 192px, 192px 192px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 85%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 85%);
}
body::after {
  z-index: -2;
  background:
    radial-gradient(48vmax 34vmax at 88% -8%, rgba(255, 107, 26, .17), transparent 70%),
    radial-gradient(56vmax 40vmax at -10% 22%, rgba(56, 98, 220, .14), transparent 70%),
    radial-gradient(40vmax 30vmax at 70% 110%, rgba(125, 211, 252, .05), transparent 70%);
}

/* ============ 3. Layout primitives ============ */
.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap { width: 100%; max-width: calc(960px + 2 * var(--gutter)); margin-inline: auto; padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(48px, 7vw, 96px); }
.wrap.prose { max-width: calc(760px + 2 * var(--gutter)); }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-tight { padding-block: clamp(32px, 5vw, 64px); }
.band { background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .01)); border-block: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: var(--stack, var(--space-4)); }
.stack > * { margin: 0; }
.stack-sm { --stack: var(--space-2); } .stack-lg { --stack: var(--space-6); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster, var(--space-3)); }
.split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); }
.grid { display: grid; gap: var(--grid-gap, var(--space-4)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 240px), 100%), 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.center { text-align: center; } .measure { max-width: 62ch; } .mx-auto { margin-inline: auto; }

/* ============ 4. Type ============ */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); font-weight: 600; text-wrap: balance; margin: 0 0 var(--space-3); }
h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.028em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -.012em; }
h4 { font-size: 1rem; line-height: 1.4; letter-spacing: -.005em; }
.display { font-size: var(--fs-hero); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.grad { background: linear-gradient(180deg, #fff 20%, #9fb0cc 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead, .strap { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); max-width: 60ch; text-wrap: pretty; }
.strap { margin: 0 0 var(--space-5); }
.small, small { font-size: var(--fs-small); }
.muted { color: var(--text-2); } .faint { color: var(--text-3); }
.num, .price, .mono, code, kbd, samp { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-feature-settings: "zero" 0; }
.num, .price { letter-spacing: -.01em; }
.mono { color: var(--signal-hi); font-weight: 500; }
code { font-size: .875em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: .12em .42em; color: var(--text); overflow-wrap: anywhere; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 var(--space-4);
  font: 500 var(--fs-mono-s)/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--signal); box-shadow: 0 0 10px var(--glow); flex: none; }
.eyebrow.plain::before { display: none; }
.label { font: 500 var(--fs-mono-s)/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.link, .prose a:not([class]) {
  color: var(--ice); text-decoration: underline; text-decoration-color: rgba(125, 211, 252, .35); text-decoration-thickness: 1px; text-underline-offset: 3px;
  cursor: pointer; transition: color var(--dur-1), text-decoration-color var(--dur-1);
}
.link:hover, .prose a:not([class]):hover { color: #B5E6FF; text-decoration-color: currentColor; }
.link-light, .go { color: var(--signal-hi); font-weight: 600; text-decoration: none; }
.link-light:hover { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }
.go::after { content: " \2192"; display: inline-block; transition: transform var(--dur-2) var(--ease); }
a:hover .go::after, .go:hover::after { transform: translateX(3px); }

/* Prose: legal pages, the FAQ, About */
.prose { color: var(--text-2); }
.prose > h1 { margin-bottom: var(--space-5); }
.prose h2 { margin: var(--space-8) 0 var(--space-4); padding-top: var(--space-5); border-top: 1px solid var(--line); font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }
.prose h3 { margin: var(--space-6) 0 var(--space-2); color: var(--text); }
.prose p, .prose li { max-width: 68ch; line-height: 1.7; }
.prose strong, .prose b { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 22px; margin-bottom: var(--space-2); }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 10px; height: 1px; background: var(--signal); }
.prose ol { counter-reset: li; }
.prose ol > li { counter-increment: li; padding-left: 32px; }
.prose ol > li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: .2em; font: 500 .75rem/1.6 var(--font-mono); color: var(--signal-hi); }
.prose .strap { color: var(--text-2); }

/* ============ 5. Header ============ */
.hdr { position: sticky; top: 0; z-index: 50; isolation: isolate; border-bottom: 1px solid transparent; transition: border-color var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease); }
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(5, 8, 15, .55); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
}
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr.is-scrolled::before { background: rgba(5, 8, 15, .78); }
.hdr-in { display: flex; align-items: center; gap: var(--space-5); max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); min-height: var(--hdr-h); }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px; flex: none; text-decoration: none; color: var(--text);
  font: 650 1.25rem/1 var(--font-head); letter-spacing: -.04em; border-radius: 6px;
}
.wordmark .mark { width: 26px; height: 26px; flex: none; filter: drop-shadow(0 0 10px rgba(255, 107, 26, .35)); transition: transform var(--dur-3) var(--ease); }
.wordmark:hover .mark { transform: rotate(-8deg) scale(1.05); }
.w-ink { color: var(--text); }
.w-signal { color: var(--signal); }
.hdr-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.hdr-nav a:not(.nav-cta) {
  position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--r-sm);
  color: var(--text-2); text-decoration: none; font-size: .9375rem; font-weight: 500; letter-spacing: -.005em;
  transition: color var(--dur-1), background-color var(--dur-1);
}
.hdr-nav a:not(.nav-cta):hover { color: var(--text); background: var(--surface); }
.hdr-nav a[aria-current="page"]:not(.nav-cta) { color: var(--text); }
.hdr-nav .nav-cta[aria-current="page"] { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 0 1px rgba(255, 107, 26, .4), 0 0 0 4px rgba(255, 107, 26, .14); }
.hdr-nav a[aria-current="page"]:not(.nav-cta)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1px; background: var(--signal); box-shadow: 0 0 8px var(--glow); }
.hdr-nav .nav-cta { margin-left: 10px; }
.hdr-nav .nav-cta, .hdr-nav .nav-cta:hover { color: var(--on-signal); }
.hdr-menu { display: none; }
@media (max-width: 860px) {
  .hdr-in { flex-wrap: wrap; gap: 0 var(--space-4); }
  /* No JS: the links stay visible as a wrapping row under the wordmark */
  .hdr-nav { order: 3; width: 100%; flex-wrap: wrap; margin: 0 0 10px -10px; }
  .hdr-nav a:not(.nav-cta) { padding: 0 10px; min-height: 40px; font-size: .9375rem; }
  .hdr-nav .nav-cta { margin-left: 4px; }
  /* JS: a menu button and a full-width sheet */
  .js .hdr-in { flex-wrap: nowrap; }
  .js .hdr-menu {
    display: inline-grid; place-items: center; margin-left: auto; width: 44px; height: 44px; padding: 0;
    background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); color: var(--text);
  }
  .hdr-menu .bars { position: relative; width: 18px; height: 12px; }
  .hdr-menu .bars::before, .hdr-menu .bars::after, .hdr-menu .bars span { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform var(--dur-2) var(--ease), opacity var(--dur-1); }
  .hdr-menu .bars::before { top: 0; } .hdr-menu .bars span { top: 5.25px; } .hdr-menu .bars::after { bottom: 0; }
  .hdr.is-open .hdr-menu .bars::before { transform: translateY(5.25px) rotate(45deg); }
  .hdr.is-open .hdr-menu .bars::after { transform: translateY(-5.25px) rotate(-45deg); }
  .hdr.is-open .hdr-menu .bars span { opacity: 0; }
  .js .hdr-nav {
    position: fixed; left: 0; right: 0; top: var(--hdr-top, var(--hdr-h)); height: calc(100dvh - var(--hdr-top, var(--hdr-h)));
    flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; width: auto; margin: 0; padding: var(--space-3) var(--gutter) var(--space-6);
    background: var(--bg); border-top: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), visibility 0s linear var(--dur-2);
  }
  .js .hdr.is-open .hdr-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .hdr-nav a:not(.nav-cta) { min-height: 60px; padding: 0 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.25rem; font-weight: 500; color: var(--text); letter-spacing: -.02em; }
  .js .hdr-nav a:not(.nav-cta)::before { content: attr(data-n); width: 40px; flex: none; font: 500 .75rem/1 var(--font-mono); color: var(--text-3); letter-spacing: .08em; }
  .js .hdr-nav a:not(.nav-cta):hover { background: none; color: var(--signal-hi); }
  .js .hdr-nav a[aria-current="page"]::after { display: none; }
  .js .hdr-nav a[aria-current="page"]:not(.nav-cta) { color: var(--signal-hi); }
  .js .hdr-nav .nav-cta { --b-h: 52px; margin: var(--space-6) 0 0; flex: none; font-size: 1.0625rem; }
  .js .hdr-nav .nav-cta:hover { color: var(--on-signal); }
  .hdr.is-open { border-bottom-color: var(--line); }
  .hdr.is-open::before { background: rgba(5, 8, 15, .97); }
}

/* Top strips: maintenance banner and the launch offer */
.banner { position: relative; z-index: 51; padding: 9px var(--gutter); text-align: center; font-size: var(--fs-small); font-weight: 500; color: var(--text); background: linear-gradient(90deg, rgba(251, 191, 36, .1), rgba(251, 191, 36, .2), rgba(251, 191, 36, .1)); border-bottom: 1px solid rgba(251, 191, 36, .35); }
.banner::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--wait); box-shadow: 0 0 8px var(--wait); vertical-align: 1px; }
.offer-strip { position: relative; z-index: 51; display: block; padding: 9px var(--gutter); text-align: center; font-size: var(--fs-small); color: var(--text); text-decoration: none; background: linear-gradient(90deg, rgba(255, 107, 26, .08), rgba(255, 107, 26, .22), rgba(255, 107, 26, .08)); border-bottom: 1px solid rgba(255, 107, 26, .4); transition: background-color var(--dur-2); }
.offer-strip b { color: var(--signal-hi); font-weight: 600; }
.offer-strip span { color: var(--text-2); }
.offer-strip:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* ============ 6. Footer ============ */
.foot { position: relative; margin-top: auto; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 16, 28, .6), rgba(5, 8, 15, .95)); color: var(--text-2); font-size: var(--fs-small); overflow: hidden; }
.foot::before { content: ""; position: absolute; left: 50%; top: -1px; width: min(640px, 80%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--signal), transparent); opacity: .7; }
.foot-in { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding: var(--space-8) var(--gutter) var(--space-5); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); gap: var(--space-7); }
.foot-brand p { margin: 0 0 var(--space-3); max-width: 38ch; }
.foot-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: var(--space-4) !important; font: 650 1.375rem/1 var(--font-head); letter-spacing: -.04em; color: var(--text); }
.foot-logo .mark { width: 26px; height: 26px; }
.foot-status { display: flex; gap: 10px; align-items: baseline; color: var(--text); }
.foot-status::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px rgba(52, 211, 153, .7); transform: translateY(-1px); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.foot-cols > div { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.foot-h { margin: 0 0 var(--space-3); font: 500 var(--fs-mono-s)/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.foot-cols a { display: inline-flex; align-items: center; min-height: 32px; color: var(--text-2); text-decoration: none; transition: color var(--dur-1); }
.foot-cols a:hover { color: var(--text); }
.foot-word {
  margin: var(--space-7) 0 0; font: 650 clamp(4.5rem, 21vw, 17rem)/.8 var(--font-head); letter-spacing: -.065em; text-align: center; user-select: none; pointer-events: none;
  background: linear-gradient(180deg, rgba(233, 238, 247, .14), rgba(233, 238, 247, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.foot-word span { padding-right: .06em; background: linear-gradient(180deg, rgba(255, 107, 26, .42), rgba(255, 107, 26, 0) 85%); -webkit-background-clip: text; background-clip: text; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line); color: var(--text-3); font: 400 var(--fs-mono-s)/1.6 var(--font-mono); letter-spacing: .02em; }
.foot-base p { margin: 0; }
@media (max-width: 760px) {
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .foot-in { padding-top: var(--space-7); }
}
@media (max-width: 420px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============ 7. Buttons ============ */
.btn, .btn-signal, .btn-ghost, .btn-quiet, .nav-cta, .sm-btn {
  --b-h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--b-h); padding: 0 22px; border-radius: var(--r-sm); border: 1px solid transparent;
  font: 600 .9375rem/1 var(--font-body); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer; user-select: none;
  transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease), filter var(--dur-2);
}
/* Primary: signal fill. .btn is the form button, .btn-signal the link button; they look the same. */
.btn, .btn-signal, .nav-cta {
  color: var(--on-signal); background: linear-gradient(180deg, var(--signal-hi), var(--signal) 55%, #F25E0E);
  border-color: rgba(255, 160, 110, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(120, 30, 0, .35), 0 0 0 1px rgba(255, 107, 26, .25), 0 10px 30px -10px var(--glow);
}
.btn:hover:not(:disabled), .btn-signal:hover, .nav-cta:hover {
  color: var(--on-signal); filter: brightness(1.06) saturate(1.05); transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -1px 0 rgba(120, 30, 0, .35), 0 0 0 1px rgba(255, 107, 26, .4), 0 14px 40px -10px rgba(255, 107, 26, .6);
}
.btn:active:not(:disabled), .btn-signal:active, .nav-cta:active { transform: translateY(0); filter: brightness(.96); }
/* Secondary: glass with a hairline */
.btn-ghost, .btn-quiet, .sm-btn {
  color: var(--text); background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border-color: var(--line-strong); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.btn-ghost:hover, .btn-quiet:hover:not(:disabled), .sm-btn:hover:not(:disabled) { color: var(--text); background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .28); }
.btn-quiet { background: transparent; border-color: transparent; box-shadow: none; color: var(--text-2); }
.btn-quiet:hover:not(:disabled) { color: var(--text); background: var(--surface); border-color: transparent; }
/* Legacy ".dark" variants were for light backgrounds; on ink they are the normal buttons */
.btn-signal.dark { color: var(--on-signal); }
.btn-ghost.dark { color: var(--text); }
/* Sizes */
.sm-btn, .btn-sm { --b-h: 36px; padding: 0 14px; font-size: .875rem; border-radius: 7px; }
.nav-cta { --b-h: 38px; padding: 0 16px; font-size: .875rem; }
.btn-lg { --b-h: 56px; padding: 0 30px; font-size: 1.0625rem; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }
.btn .arrow, .btn-signal .arrow, .btn-ghost .arrow { transition: transform var(--dur-2) var(--ease); }
.btn:hover .arrow, .btn-signal:hover .arrow, .btn-ghost:hover .arrow { transform: translateX(3px); }
/* Disabled and busy */
.btn:disabled, .sm-btn:disabled, .btn-quiet:disabled, [aria-disabled="true"].btn-signal, [aria-disabled="true"].btn-ghost {
  cursor: not-allowed; transform: none; filter: none; color: var(--text-3); background: var(--surface); border-color: var(--line); box-shadow: none;
}
.btn[aria-busy="true"] { color: transparent !important; pointer-events: none; }
.btn[aria-busy="true"]::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(20, 7, 0, .3); border-top-color: var(--on-signal); animation: spin .7s linear infinite; }
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-5); }
@media (max-width: 480px) { .btns > .btn, .btns > .btn-signal, .btns > .btn-ghost { flex: 1 1 100%; } }

/* ============ 8. Forms ============ */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):not([type="hidden"]), select, textarea {
  min-height: 44px; max-width: 100%; padding: 10px 12px; border-radius: var(--r-sm);
  color: var(--text); background: rgba(5, 8, 15, .55); border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35); transition: border-color var(--dur-1), box-shadow var(--dur-2), background-color var(--dur-1);
}
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
select { padding-right: 36px; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-size: 5px 5px, 5px 5px; background-position: calc(100% - 19px) 52%, calc(100% - 14px) 52%; background-repeat: no-repeat; }
input::placeholder, textarea::placeholder { color: var(--text-3); opacity: 1; }
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):hover, select:hover, textarea:hover { border-color: rgba(255, 255, 255, .26); }
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus, select:focus, textarea:focus { border-color: var(--signal); background-color: rgba(5, 8, 15, .8); box-shadow: 0 0 0 3px rgba(255, 107, 26, .18), inset 0 1px 2px rgba(0, 0, 0, .35); }
input[aria-invalid="true"], .is-invalid { border-color: var(--bad) !important; box-shadow: 0 0 0 3px rgba(248, 113, 113, .15) !important; }
input:disabled, select:disabled, textarea:disabled { opacity: .55; cursor: not-allowed; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--signal); cursor: pointer; }
label > input[type="checkbox"]:first-child, label > input[type="radio"]:first-child { display: inline-block; vertical-align: -3px; margin-right: 8px; }
.opt > input[type="radio"]:first-child, .opt > input[type="checkbox"]:first-child, .terms > input:first-child { margin-right: 0; }
input[type="file"] { max-width: 100%; color: var(--text-2); font-size: var(--fs-small); }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 12px; border-radius: 7px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); font: 600 .8125rem var(--font-body); cursor: pointer; }
input[type="number"].num, input.num { font-family: var(--font-mono); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
label { cursor: default; }
.field { display: grid; gap: 8px; max-width: 320px; margin: 0 0 var(--space-4); color: var(--text); font-size: var(--fs-small); font-weight: 500; letter-spacing: .005em; }
.field input, .field select, .field textarea { width: 100%; font-size: 1rem; font-weight: 400; letter-spacing: normal; }
.field.wide, .wide { max-width: 560px; }
.field.wide input[type="file"] { padding: 8px 0; border: 0; background: none; box-shadow: none; }
.field .helper, .field-hint { margin: 0; font-weight: 400; }
p > .field { margin: 0; }
.terms { position: relative; display: block; padding-left: 30px; margin: var(--space-4) 0; color: var(--text-2); font-size: var(--fs-small); line-height: 1.5; cursor: pointer; }
.terms > input { position: absolute; left: 0; top: 1px; }
.check { display: inline-flex; gap: 10px; align-items: center; cursor: pointer; }

/* Option cards: a radio or checkbox inside a <label class="opt"> */
.options { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
.options fieldset, .fieldset {
  display: grid; gap: var(--space-2); padding: var(--space-5); border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02)); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.options legend, .fieldset legend { float: left; width: 100%; margin: 0 0 var(--space-3); padding: 0; font: 500 var(--fs-mono-s)/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.options legend + * { clear: both; }
.opt {
  position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(5, 8, 15, .35); color: var(--text-2); line-height: 1.5;
  transition: border-color var(--dur-1), background-color var(--dur-2), box-shadow var(--dur-2);
}
.opt input { margin-top: 2px; }
.opt b { color: var(--text); font-weight: 600; margin-right: 4px; }
.opt em { font-style: normal; display: block; margin-top: 4px; }
.opt em:empty { display: none; }
.opt:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .03); }
.opt:has(input:checked) { border-color: rgba(255, 107, 26, .65); background: linear-gradient(180deg, rgba(255, 107, 26, .1), rgba(255, 107, 26, .04)); box-shadow: 0 0 0 1px rgba(255, 107, 26, .25), 0 8px 24px -14px var(--glow); color: var(--text); }
.opt:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 2px; }
.opt.off, .opt:has(input:disabled) { cursor: not-allowed; opacity: .55; background: transparent; }
.opt.off:hover { border-color: var(--line); }
.opt .num { color: var(--text); }
.options > .field, .options > .helper { margin-bottom: 0; }
@media (max-width: 600px) { .options fieldset, .fieldset { padding: var(--space-4); } .opt { padding: 12px 14px; gap: 12px; } }

/* Dropzone */
.drop {
  position: relative; display: grid; justify-items: center; gap: 6px; margin-top: var(--space-5); padding: clamp(40px, 7vw, 72px) var(--space-5); text-align: center;
  border-radius: var(--r-lg); border: 1px dashed rgba(255, 255, 255, .22); cursor: pointer;
  background: radial-gradient(60% 80% at 50% 0%, rgba(255, 107, 26, .08), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  transition: border-color var(--dur-2), background-color var(--dur-2), box-shadow var(--dur-2), transform var(--dur-2) var(--ease);
}
.drop::before {
  content: "\2191"; display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 10px; border-radius: 14px; border: 1px solid var(--line-strong);
  font: 500 1.375rem/1 var(--font-mono); color: var(--signal-hi); background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 24px -6px var(--glow);
}
.drop p, .drop p.helper { margin: 0; }
.drop p:first-of-type { font-size: 1.0625rem; color: var(--text); }
.drop:hover { border-color: rgba(255, 255, 255, .34); }
.drop.over, .drop:focus-visible { outline: none; border-color: var(--signal); border-style: solid; box-shadow: 0 0 0 4px rgba(255, 107, 26, .15), 0 20px 60px -20px var(--glow); background-color: rgba(255, 107, 26, .05); }
.drop.over { transform: scale(1.005); }

/* ============ 9. Surfaces ============ */
.panel, .card, .glass {
  position: relative; border-radius: var(--r); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 1px 0 rgba(0, 0, 0, .35), 0 24px 48px -32px rgba(0, 0, 0, .8);
}
.panel { padding: var(--space-5); }
.card { padding: var(--space-5); }
.glass { -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); background: rgba(15, 24, 41, .55); }
.card h3, .panel h3 { margin-bottom: var(--space-2); }
.card p, .panel p { color: var(--text-2); }
.card > :last-child, .panel > :last-child { margin-bottom: 0; }
.card-link, a.card, a.door { display: block; color: inherit; text-decoration: none; transition: transform var(--dur-2) var(--ease), border-color var(--dur-2), box-shadow var(--dur-2); }
.card-link:hover, a.card:hover, a.door:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 107, 26, .12); }
.panel-lg { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); }
.panel-signal { border-color: rgba(255, 107, 26, .35); background: radial-gradient(120% 120% at 100% 0%, rgba(255, 107, 26, .14), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) var(--space-5); padding: 12px var(--space-5); border-bottom: 1px solid var(--line); font: 500 var(--fs-mono-s)/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
/* Corner ticks: crop marks on any positioned box */
.corners::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none; border-radius: inherit; --c: rgba(255, 138, 71, .9); --l: 12px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) 1px, linear-gradient(var(--c), var(--c)) top left / 1px var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) 1px, linear-gradient(var(--c), var(--c)) top right / 1px var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) 1px, linear-gradient(var(--c), var(--c)) bottom left / 1px var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) 1px, linear-gradient(var(--c), var(--c)) bottom right / 1px var(--l);
  background-repeat: no-repeat;
}
.corners { border-radius: 2px; }
/* Pointer spotlight (ui.js sets --mx/--my). Uses ::after: do not combine with another ::after on the same element. */
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity var(--dur-2);
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 138, 71, .12), transparent 60%);
}
.spot:hover::after { opacity: 1; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: var(--space-4); }
.sec-white .card, .cards .card { height: 100%; }

/* Badges (text). .chip is a colour swatch, not a badge. */
.badge, .pill {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: var(--r-pill);
  font: 500 .6875rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line-strong);
}
.badge::before, .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
.badge.plain::before { display: none; }
.badge-signal { color: var(--signal-hi); background: rgba(255, 107, 26, .1); border-color: rgba(255, 107, 26, .35); }
.badge-good, .pill.delivered, .pill.dispatched, .pill.ready { color: var(--good); background: rgba(52, 211, 153, .08); border-color: rgba(52, 211, 153, .3); }
.badge-wait, .pill.queued, .pill.finishing, .pill.printed { color: var(--wait); background: rgba(251, 191, 36, .08); border-color: rgba(251, 191, 36, .3); }
.badge-bad { color: var(--bad); background: rgba(248, 113, 113, .08); border-color: rgba(248, 113, 113, .35); }
.badge-ice { color: var(--ice); background: rgba(125, 211, 252, .07); border-color: rgba(125, 211, 252, .3); }
/* ops.ejs fills .pill.printing and .pill.attention with --wait and --bad: give them dark text */
.pill.printing, .pill.attention { color: var(--bg); border-color: transparent; }
.pill.printing { background: var(--wait); } .pill.attention { background: var(--bad); }
.pill.printing::before { animation: blink 1.2s steps(2, start) infinite; }

/* Colour swatch chips (samples) */
.chip { display: inline-block; width: 18px; height: 18px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -6px 10px rgba(0, 0, 0, .18); vertical-align: middle; }
.chipline { display: inline-flex; align-items: center; gap: 8px; margin-right: 16px; }
.chipline .chip { width: 18px; height: 18px; }

/* ============ 10. Feedback ============ */
.helper { color: var(--text-3); font-size: var(--fs-small); line-height: 1.55; }
p.helper { margin: var(--space-2) 0 var(--space-3); }
.error { color: var(--bad); font-weight: 500; font-size: var(--fs-small); }
p.error { display: flex; gap: 10px; align-items: flex-start; margin: var(--space-3) 0; padding: 10px 14px; border-radius: var(--r-sm); background: rgba(248, 113, 113, .08); border: 1px solid rgba(248, 113, 113, .28); }
p.error:empty, .notice:empty, .offer-hint:empty { display: none; }
p.error::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--bad); color: var(--bg); font: 700 .75rem/1 var(--font-mono); }
.notice, .offer-hint, .callout {
  position: relative; margin: 0 0 var(--space-4); padding: 12px 16px 12px 18px; border-radius: var(--r-sm); color: var(--text); font-size: .9375rem; line-height: 1.55;
  background: linear-gradient(90deg, rgba(251, 191, 36, .1), rgba(251, 191, 36, .03)); border: 1px solid rgba(251, 191, 36, .25);
}
.notice::before, .offer-hint::before, .callout::before { content: ""; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--wait); box-shadow: 0 0 8px var(--wait); }
.offer-hint, .callout-signal { background: linear-gradient(90deg, rgba(255, 107, 26, .12), rgba(255, 107, 26, .03)); border-color: rgba(255, 107, 26, .3); }
.offer-hint::before, .callout-signal::before { background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.callout-good { background: linear-gradient(90deg, rgba(52, 211, 153, .1), rgba(52, 211, 153, .02)); border-color: rgba(52, 211, 153, .28); }
.callout-good::before { background: var(--good); box-shadow: 0 0 8px var(--good); }
.callout-bad { background: linear-gradient(90deg, rgba(248, 113, 113, .1), rgba(248, 113, 113, .02)); border-color: rgba(248, 113, 113, .3); }
.callout-bad::before { background: var(--bad); box-shadow: 0 0 8px var(--bad); }
.callout-info { background: linear-gradient(90deg, rgba(125, 211, 252, .08), rgba(125, 211, 252, .02)); border-color: rgba(125, 211, 252, .25); }
.callout-info::before { background: var(--ice); box-shadow: 0 0 8px var(--ice); }

/* Progress bar: .bar is the track; #bar or .bar-fill is the fill (set its width) */
.bar, .progress { position: relative; height: 4px; margin: var(--space-3) 0; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
#bar, .bar-fill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--signal-lo), var(--signal) 60%, var(--signal-hi)); box-shadow: 0 0 12px var(--glow); transition: width var(--dur-1) linear; }
.bar-lg { height: 8px; }
.spinner { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); border-top-color: var(--signal); animation: spin .7s linear infinite; vertical-align: -3px; }

/* ============ 11. Data: readouts, stats, tables, definition lists ============ */
.readouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 1px; padding: 0; margin: 0 0 var(--space-5); border-radius: var(--r); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.readout { display: grid; gap: 8px; align-content: start; margin: 0; padding: 18px 20px; background: var(--bg-1); }
.readouts .readout { background: linear-gradient(180deg, #0D1424, #0A101C); }
.readout dt, .readout .k, .stat .k { font: 500 var(--fs-mono-s)/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.readout dd, .readout .v, .stat .v { margin: 0; font: 500 clamp(1.375rem, 1.1rem + 1vw, 1.875rem)/1.1 var(--font-mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--text); }
.readout .v small, .readout dd small, .stat .v small { font-size: .55em; letter-spacing: 0; color: var(--text-3); margin-left: 3px; }
.readout .sub, .stat .sub { font-size: var(--fs-small); color: var(--text-3); }
.readout.signal .v, .readout.signal dd, .stat.signal .v { color: var(--signal-hi); text-shadow: 0 0 24px var(--glow); }
.stat { display: grid; gap: 6px; }
/* Facts list on the quote page: <dl class="facts"><div><dt><dd>... or bare dt/dd pairs */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: var(--space-4); margin: var(--space-5) 0 var(--space-2); }
.facts dt { font: 500 var(--fs-mono-s)/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.facts dd { margin: 6px 0 0; font: 500 1.375rem/1.2 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--text); }
.facts .price { color: var(--signal-hi); }
/* Key-value list */
.kv { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0; }
.kv dt, .kv dd { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.kv dt { color: var(--text-3); font-size: var(--fs-small); }
.kv dd { text-align: right; color: var(--text); }
.kv > :nth-last-child(-n+2) { border-bottom: 0; }
/* Tables */
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th { text-align: left; font: 500 var(--fs-mono-s)/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.table, .cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9375rem; }
.table th, .table td, .cmp th, .cmp td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th, .cmp thead th { background: rgba(255, 255, 255, .035); border-bottom-color: var(--line-strong); white-space: nowrap; }
.table tbody tr, .cmp tbody tr { transition: background-color var(--dur-1); }
.table tbody tr:hover, .cmp tbody tr:hover { background: rgba(255, 255, 255, .025); }
.cmp td:first-child, .cmp th[scope="row"] { color: var(--text); font-weight: 500; }
.cmp td { color: var(--text-2); }
.cmp { min-width: 640px; }
.tablewrap { overflow-x: auto; margin: 0 0 var(--space-5); border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)); -webkit-overflow-scrolling: touch; }
.tablewrap > table tr:last-child > * { border-bottom: 0; }
/* Price lines inside a panel (quote page: #lines) */
.panel table td { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.panel table td:last-child { text-align: right; color: var(--text); font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.panel table td.helper { font-family: var(--font-body); color: var(--text-3); }
.panel .sub td { border-bottom: 1px solid var(--line-strong); color: var(--text); padding-bottom: 12px; }
.total { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin: var(--space-4) 0 var(--space-2); font-size: 1rem; font-weight: 500; color: var(--text-2); }
.total .price, .total #total { font: 600 clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem)/1 var(--font-mono); letter-spacing: -.04em; color: var(--text); }
.was { margin-right: 8px; color: var(--text-3); font: 400 1rem var(--font-mono); text-decoration-color: rgba(248, 113, 113, .8); }
.price { font-weight: 500; }
.sum-line { display: flex; justify-content: space-between; gap: var(--space-3); padding: 8px 0; border-bottom: 1px dashed var(--line); }

/* ============ 12. Live status: the printer strip and the same-day capacity pill ============ */
/* Printer strip: partials/printer-status.ejs; status.js swaps live-ready|busy|offline and fills .live-label and .live-text */
.live {
  --live: var(--wait); --live-soft: rgba(251, 191, 36, .14);
  position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; max-width: 680px; margin: 0 0 var(--space-5); padding: 12px 18px 12px 16px;
  border-radius: var(--r); border: 1px solid var(--line); color: var(--text); text-decoration: none;
  background: linear-gradient(90deg, var(--live-soft), rgba(255, 255, 255, .025) 45%), rgba(10, 16, 28, .6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 40px -30px rgba(0, 0, 0, .9);
  transition: border-color var(--dur-2), background-color var(--dur-2), transform var(--dur-2) var(--ease);
}
.live-ready { --live: var(--good); --live-soft: rgba(52, 211, 153, .12); }
.live-busy { --live: var(--wait); --live-soft: rgba(251, 191, 36, .12); }
.live-offline { --live: var(--bad); --live-soft: rgba(248, 113, 113, .12); }
.live-body { display: flex; align-items: center; flex-wrap: wrap; gap: inherit; flex: 1 1 320px; min-width: 0; }
.live-dot { position: relative; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 20%, transparent), 0 0 12px var(--live); }
.live-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--live); opacity: 0; }
.live-ready .live-dot::after { animation: ping 2.2s var(--ease) infinite; }
.live-busy .live-dot::after { animation: ping 3.2s var(--ease) infinite; }
.live-label { font: 500 var(--fs-mono-s)/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--live); white-space: nowrap; }
/* The divider is the text's own left border, so a wrapped second line starts under the first line's text, not under the divider. */
.live-text { flex: 1 1 260px; font-weight: 500; color: var(--text); line-height: 1.45; padding-left: 14px; border-left: 1px solid var(--line-strong); text-wrap: balance; }
.live-go { margin-left: auto; color: var(--signal-hi); font-weight: 600; font-size: .9375rem; white-space: nowrap; transition: transform var(--dur-2) var(--ease); }
a.live:hover { border-color: rgba(255, 255, 255, .18); transform: translateY(-1px); }
a.live:hover .live-go { transform: translateX(3px); }
.live-hero { font-size: 1rem; }
.live-page { margin-top: var(--space-2); font-size: .9375rem; }
@media (max-width: 600px) {
  .live { padding: 12px 14px; gap: 6px 10px; }
  .live-text { flex-basis: 100%; padding-left: 0; border-left: 0; }
  .live-go { margin-left: 0; }
}
/* Capacity pill: <p class="cap cap-ok|cap-off"><span class="dot"></span>text</p>; status.js swaps the class and the last text node */
.cap {
  display: inline-flex; align-items: center; gap: 10px; min-height: 32px; margin: 0 0 var(--space-5); padding: 6px 14px 6px 12px; border-radius: var(--r-pill);
  font: 500 .8125rem/1.3 var(--font-mono); letter-spacing: .01em; color: var(--text-2);
  background: rgba(10, 16, 28, .7); border: 1px solid var(--line-strong); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.dot { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--wait); box-shadow: 0 0 10px rgba(251, 191, 36, .7); }
.cap-ok { color: var(--text); border-color: rgba(52, 211, 153, .3); }
.cap-ok .dot { background: var(--good); box-shadow: 0 0 10px rgba(52, 211, 153, .8); }
.cap-ok .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--good); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
.cap-off { border-color: rgba(251, 191, 36, .3); }

/* ============ 13. Quote page parts (shared because scripts build them) ============ */
.preview {
  position: relative; height: clamp(280px, 42vw, 420px); margin-top: var(--space-5); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  background:
    linear-gradient(rgba(148, 178, 255, .06) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(148, 178, 255, .06) 1px, transparent 1px) 0 0 / 24px 24px,
    radial-gradient(70% 70% at 50% 40%, #121c30, #070b14);
}
.preview canvas { display: block; width: 100%; height: 100%; }
.preview > .helper { margin: 0; }
.summary { margin: var(--space-4) 0 var(--space-1); font-weight: 500; color: var(--text); font-size: 1.0625rem; }
#delivery { display: grid; gap: var(--space-4); }
#delivery > h2 { margin-top: var(--space-6); }

/* ============ 14. Lists: steps, timeline, accordion ============ */
/* Numbered steps: <ol class="steps"><li><b class="num">1</b><h3>…</h3><p>…</p></li></ol> */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: var(--space-4); counter-reset: step; }
.steps > li { position: relative; padding: var(--space-5); border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.steps > li p { color: var(--text-2); margin: 0; }
.steps b, .step-n {
  display: inline-grid; place-items: center; min-width: 36px; height: 28px; padding: 0 8px; margin-bottom: var(--space-5); border-radius: 7px;
  font: 500 .8125rem/1 var(--font-mono); color: var(--signal-hi); background: rgba(255, 107, 26, .08); border: 1px solid rgba(255, 107, 26, .3);
}
.steps3 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
/* Tracking timeline: <ol class="tsteps"><li class="done|current|"><b>Label</b><span>detail</span></li></ol> */
.tsteps { list-style: none; margin: 0 0 var(--space-5); padding: 0; display: grid; }
.tsteps li { position: relative; display: grid; gap: 4px; padding: 0 0 var(--space-5) 36px; color: var(--text-3); }
.tsteps li::before { content: ""; position: absolute; left: 6px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--line-strong); z-index: 1; }
.tsteps li::after { content: ""; position: absolute; left: 11.5px; top: 18px; bottom: -2px; width: 1px; background: var(--line-strong); }
.tsteps li:last-child { padding-bottom: 0; }
.tsteps li:last-child::after { display: none; }
.tsteps li b { font-weight: 500; color: var(--text-2); }
.tsteps li span { font: 400 .8125rem/1.5 var(--font-mono); color: var(--text-3); }
.tsteps li.done b { color: var(--text); }
.tsteps li.done::before { background: var(--good); border-color: var(--good); box-shadow: inset 0 0 0 2.5px var(--bg), 0 0 10px rgba(52, 211, 153, .5); }
.tsteps li.done::after { background: linear-gradient(var(--good), rgba(52, 211, 153, .4)); }
.tsteps li.current::before { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 4px rgba(255, 107, 26, .18), 0 0 14px var(--signal); animation: glowpulse 2s var(--ease) infinite; }
.tsteps li.current b { color: var(--text); font-size: 1.125rem; font-weight: 600; }
.tsteps li.current span { color: var(--signal-hi); }
/* Accordion: <details class="acc"> or any bare <details> */
details { margin: 0; border-bottom: 1px solid var(--line); }
details > summary { position: relative; display: flex; align-items: center; gap: var(--space-3); min-height: 52px; padding: 14px 40px 14px 0; cursor: pointer; list-style: none; font-weight: 500; color: var(--text); transition: color var(--dur-1); }
details > summary::-webkit-details-marker { display: none; }
details > summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 6px; border: 1px solid var(--line-strong);
  background: linear-gradient(var(--text-2), var(--text-2)) center / 9px 1.5px no-repeat, linear-gradient(var(--text-2), var(--text-2)) center / 1.5px 9px no-repeat;
  transition: transform var(--dur-2) var(--ease), border-color var(--dur-2);
}
details[open] > summary::after { background: linear-gradient(var(--signal-hi), var(--signal-hi)) center / 9px 1.5px no-repeat; border-color: rgba(255, 107, 26, .5); }
details > summary:hover { color: var(--signal-hi); }
details > :not(summary) { color: var(--text-2); }
details[open] > summary { margin-bottom: var(--space-1); }
details[open] { padding-bottom: var(--space-4); }
.acc-group { border-top: 1px solid var(--line); }

/* ============ 15. Legacy page classes (home, track, samples, success): restyled so the old markup reads well ============ */
.hero { position: relative; }
.hero-in { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding: clamp(48px, 9vw, 120px) var(--gutter) clamp(48px, 7vw, 96px); }
.hero h1 { font-size: var(--fs-hero); line-height: 1; letter-spacing: -.045em; max-width: 16ch; margin: var(--space-2) 0 var(--space-5);
  background: linear-gradient(180deg, #fff 30%, #a9b7cf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin: 0 0 var(--space-6); }
.sec { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding: clamp(48px, 7vw, 96px) var(--gutter); }
.sec > h2, .sec-white > div > h2 { margin-bottom: var(--space-6); }
.sec h3 { margin-bottom: var(--space-2); }
.sec > .helper { margin-top: var(--space-5); }
.sec p { color: var(--text-2); }
.sec-white { max-width: none; background: linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, .008)); border-block: 1px solid var(--line); }
.sec-white > * { max-width: var(--maxw); margin-inline: auto; }
.doors, .promises, .mats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: var(--space-4); }
.door { padding: var(--space-5); border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .018)); color: var(--text); }
.door-soon { opacity: .6; }
.soon { color: var(--text-3); font-size: var(--fs-small); }
.promises > div { position: relative; padding: var(--space-5); border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)); }
.promises > div::before { content: ""; position: absolute; left: var(--space-5); top: -1px; width: 40px; height: 1px; background: var(--signal); box-shadow: 0 0 10px var(--signal); }
.promises > div p:last-child { margin-bottom: 0; }
.mats > div { padding: var(--space-5); border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.matline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font: 500 1.125rem/1.4 var(--font-mono); color: var(--text-3); }
.matline b { color: var(--text); font-weight: 500; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); }
.matline .helper { font-family: var(--font-body); }
.trust { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding: var(--space-6) var(--gutter) var(--space-7); text-align: center; color: var(--text-3); font: 400 .8125rem/1.6 var(--font-mono); letter-spacing: .02em; }
.trust p { margin: 0; }
.cta-band { padding: 0 var(--gutter) clamp(48px, 7vw, 96px); }
.cta-band > div {
  position: relative; max-width: var(--maxw); margin-inline: auto; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(255, 107, 26, .3); font-size: var(--fs-lead); color: var(--text);
  background: radial-gradient(80% 140% at 100% 0%, rgba(255, 107, 26, .2), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 80px -40px rgba(255, 107, 26, .35);
}
.cta-band p { margin: 0; max-width: 70ch; }
/* Tracking page */
.track { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-6); margin-top: var(--space-5); align-items: start; }
@media (max-width: 760px) { .track { grid-template-columns: minmax(0, 1fr); } }
.cam { width: 100%; max-width: 560px; margin-top: var(--space-4); border-radius: var(--r); border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); background: var(--bg-1); }
#side h3 { margin-bottom: var(--space-4); }
#side dl { display: grid; grid-template-columns: auto 1fr; margin: 0; }
#side dt, #side dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
#side dt { color: var(--text-3); font-size: var(--fs-small); }
#side dd { text-align: right; color: var(--text); }
#side dl > :nth-last-child(-n+2) { border-bottom: 0; }

/* ============ 16. Motion ============ */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-3) var(--ease) var(--d, 0s), transform var(--dur-3) var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
@keyframes glowpulse { 50% { box-shadow: 0 0 0 7px rgba(255, 107, 26, .08), 0 0 22px var(--signal); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .live-dot::after, .cap-ok .dot::after { display: none; }
}

/* ============ 17. Print ============ */
@media print {
  html, body { background: #fff !important; color: #000 !important; }
  body::before, body::after, .hdr, .skip, .banner, .offer-strip, .foot-word, .hdr-menu { display: none !important; }
  .panel, .card, .glass, .steps > li, .promises > div, .opt, .tablewrap { background: none !important; box-shadow: none !important; border-color: #bbb !important; }
  h1, h2, h3, h4, .hero h1, .grad, .foot-word { color: #000 !important; background: none !important; -webkit-text-fill-color: #000; }
  .lead, .strap, .muted, .helper, .prose, .foot, .foot-cols a, .sec p, .card p { color: #333 !important; }
  .foot { background: none !important; border-top: 1px solid #bbb; }
  a { color: #000 !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
