/* grobot Labs homepage. Self-contained: does not load styles.css.
   Palette is lifted from the logo: orange g, green r, blue gear, navy bot. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper: #f3eee3;
  --paper-2: #e9e2d2;
  --ink: #16264d;
  --ink-soft: #4b5878;
  --navy: #0b1627;
  --blue: #0e74b7;
  --orange: #e87a54;
  --orange-d: #cf5f38;
  --green: #7dc244;
  --rule: rgba(22, 38, 77, 0.16);
  --disp: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --serif: 'Instrument Serif', Georgia, serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-size-adjust: 100%; }
body {
  font-family: var(--disp); font-variation-settings: 'wdth' 100; font-size: 18px; line-height: 1.5;
  color: var(--ink); background: var(--paper); overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }
.wrap { width: min(1320px, 100% - 48px); margin-inline: auto; }

/* ---------- shared type ---------- */
.fig, .eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.fig i, .eyebrow i { font-style: normal; color: var(--orange); }
.fig::before { content: ''; width: 34px; height: 2px; background: var(--ink); }
.fig-light { color: #9fb2cc; } .fig-light::before { background: var(--orange); }
.h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: .98; letter-spacing: -0.035em; font-weight: 750;
  font-variation-settings: 'wdth' 86; max-width: 17ch; text-wrap: balance;
}
.h2 em { color: var(--orange-d); font-size: 1.04em; }
.h2-light { color: var(--paper); } .h2-light em { color: var(--orange); }
.h2-sm { font-size: clamp(1.8rem, 3vw, 2.8rem); max-width: 16ch; }
.h2-xl { font-size: clamp(2.4rem, 5vw, 5rem); max-width: 14ch; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.45; color: var(--ink-soft); max-width: 46ch; margin-top: 24px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 1.02rem; line-height: 1;
  padding: 18px 26px; border-radius: 10px; border: 2px solid var(--ink); white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn .arr { transition: transform .25s var(--ease); display: inline-block; }
.btn:hover .arr { transform: translateX(4px); }
.btn-orange { background: var(--orange); color: var(--ink); box-shadow: 0 5px 0 var(--ink); }
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn-orange:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-line:hover .arr { transform: translateY(3px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--orange); color: var(--ink); }
.btn-sm { padding: 12px 18px; font-size: .92rem; }
.btn-block { width: 100%; justify-content: center; }

.rv {  transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .rv:not(.in) { opacity: 0; transform: translateY(26px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 76px; padding: 0 clamp(20px, 3vw, 48px);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .3s, box-shadow .3s, height .3s;
}
.nav.scrolled { background: rgba(243, 238, 227, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--rule); height: 62px; }
.nav-logo img { height: 40px; width: auto; transition: height .3s; }
.nav.scrolled .nav-logo img { height: 32px; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); font-size: .95rem; font-weight: 550; }
.nav-links a:not(.btn) { position: relative; padding: 6px 0; }
.nav-links a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 16px; } .nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; padding: 108px clamp(20px, 3vw, 48px) 56px;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 64px); align-items: center;
  background:
    linear-gradient(var(--rule) 1px, transparent 1px) 0 0 / 100% 76px,
    var(--paper);
  background-size: 100% 76px, auto;
  overflow: clip;
}
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--paper) 0%, rgba(243,238,227,.86) 38%, rgba(243,238,227,0) 60%); z-index: 0; }
.hero-copy, .stage { position: relative; z-index: 1; }
.eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(125,194,68,.6); animation: ping 2.2s infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 10px rgba(125,194,68,0); } }
.hero-h1 {
  font-size: clamp(3.1rem, 6.9vw, 7.4rem); line-height: .88; letter-spacing: -0.045em; font-weight: 800;
  font-variation-settings: 'wdth' 80; margin-bottom: 30px;
}
.hero-h1 .line { display: block; overflow: hidden; padding: .04em 0 .1em; margin-bottom: -.06em; }
.hero-h1 .line-in { display: block; }
.js .hero-h1 .line-in { transform: translateY(112%); }
.hero-h1 em { color: var(--orange-d); font-size: 1.06em; padding-right: .04em; }

.js .hero-h1 .line-in.up { transform: none; transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.hero-sub { font-size: clamp(1.02rem, 1.3vw, 1.22rem); line-height: 1.45; color: var(--ink-soft); max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 26px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.hero-facts b { color: var(--ink); font-weight: 600; }
.hero-sub, .hero-cta, .hero-facts, .eyebrow { animation: rise .8s var(--ease) both; }
.hero-sub { animation-delay: .35s; } .hero-cta { animation-delay: .5s; } .hero-facts { animation-delay: .65s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* stage */
.stage { container-type: inline-size; aspect-ratio: 1 / .84; width: 100%; max-width: 860px; justify-self: end; }
.gear { position: absolute; overflow: visible; will-change: transform; }
.gear-body { fill: currentColor; fill-rule: evenodd; }
.gear-ring { fill: none; stroke: currentColor; stroke-width: 13; }
.gear-a { color: var(--blue); width: 86cqw; left: 7cqw; top: -1cqw; }
.gear-b { color: var(--orange); width: 25cqw; right: -9cqw; top: -5cqw; }
.gear-c { color: var(--green); width: 19cqw; left: -6cqw; bottom: 0; }

.tags { position: absolute; inset: 0; z-index: 3; }
.tag {
  position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 1.1cqw;
  font-family: var(--mono); font-size: max(11px, 2.15cqw); font-weight: 500; white-space: nowrap;
  background: #fffdf7; color: var(--ink); border: 2px solid var(--ink); border-radius: .6cqw 2.4cqw 2.4cqw .6cqw;
  padding: 1.2cqw 1.8cqw 1.2cqw 1.4cqw; box-shadow: .5cqw .6cqw 0 rgba(22,38,77,.9); opacity: 0;
}
.tag i { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); }
.tag b { background: var(--ink); color: #fffdf7; padding: .3cqw .9cqw; border-radius: 6px; font-weight: 600; }

.meter {
  position: absolute; left: 0; top: 0; z-index: 4; display: flex; background: var(--ink); color: var(--paper);
  border-radius: 1.2cqw; overflow: hidden; font-family: var(--mono); box-shadow: 0 1.4cqw 3cqw -1cqw rgba(11,22,39,.5);
  opacity: 0; transform: translateY(-10px); transition: opacity .4s, transform .4s var(--ease), left .9s var(--ease), top .9s var(--ease);
}
.meter.on { opacity: 1; transform: none; }
.meter-cell { padding: 1.3cqw 2cqw 1.1cqw; min-width: 15cqw; }
.meter-cell + .meter-cell { border-left: 1px solid rgba(255,255,255,.16); }
.meter small { display: block; font-size: max(9px, 1.2cqw); letter-spacing: .14em; text-transform: uppercase; color: #9fb2cc; }
.meter b { display: block; font-size: max(18px, 3.6cqw); font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; transition: color .3s; }
.meter.hot b { color: var(--orange); } .meter.done b { color: var(--green); }
.meter b.tick { animation: tick .18s; }
@keyframes tick { from { transform: translateY(-22%); opacity: .4; } }

.rail {
  position: absolute; left: 6cqw; right: 6cqw; bottom: 1.5cqw; z-index: 4; display: flex; justify-content: space-between;
  opacity: 0; transition: opacity .6s .2s;
}
.rail.on { opacity: 1; }
.rail::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--ink); opacity: .25; }
.rail li { position: relative; }
.rail button {
  font-family: var(--mono); font-size: max(10px, 1.45cqw); letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  padding: .7cqw 1.6cqw; border-radius: 8px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.rail li.on button { background: var(--ink); color: var(--paper); transform: translateY(-3px); }

/* ---------- Command Center window (mirrors app.grobotlab.com) ---------- */
.cc {
  font-family: Inter, system-ui, sans-serif; font-size: 1.39cqw; line-height: 1.35; color: #e8edf5; background: #0d1a2e;
  border-radius: 1.2em; overflow: hidden; border: 1px solid #22395c; text-align: left;
  box-shadow: 0 3.5em 7em -2.5em rgba(11, 22, 39, .7), 0 0 0 .5em rgba(11, 22, 39, .08);
}
#heroCC { position: absolute; left: 0; right: 0; top: 13cqw; z-index: 2; opacity: 0; transform-origin: 50% 46%; }
.cc-bar { height: 2.7em; display: flex; align-items: center; gap: 1em; padding: 0 1.1em; background: #081120; }
.cc-dots { display: flex; gap: .5em; } .cc-dots i { width: .85em; height: .85em; border-radius: 50%; background: #2a3f61; }
.cc-dots i:first-child { background: #e87a54; } .cc-dots i:nth-child(2) { background: #f5c542; } .cc-dots i:nth-child(3) { background: #7dc244; }
.cc-url { font-size: .95em; color: #7a92b2; background: #0f1d33; padding: .3em 1.2em; border-radius: 99px; }
.cc-nav { height: 3.7em; display: flex; align-items: center; gap: .2em; padding: 0 1.3em; background: #0b1729; border-bottom: 1px solid rgba(122,146,178,.14); }
.cc-logo { height: 2em; width: auto; margin-right: 1em; }
.cc-mi { font-size: 1.08em; font-weight: 500; color: #9fb2cc; padding: 1.02em .75em; border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; }
.cc-mi.on { color: #fff; border-bottom-color: #e87a54; }
.cc-right { margin-left: auto; display: flex; align-items: center; gap: .9em; }
.cc-plan { font-size: .9em; font-weight: 600; color: #7dc244; background: rgba(125,194,68,.12); border: 1px solid rgba(125,194,68,.45); border-radius: .4em; padding: .25em .8em; }
.cc-av { width: 2.2em; height: 2.2em; border-radius: 50%; background: linear-gradient(135deg,#3a9be0,#7dc244); font-size: .9em; font-weight: 700; display: grid; place-items: center; }
.cc-body { position: relative; height: 37em; }
.cc.mini { container-type: normal; font-size: 1.62cqw; width: 100%; }
.cc.mini .cc-body { height: 34em; }

.sc { position: absolute; inset: 0; padding: 1.5em 1.8em; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.sc.on { opacity: 1; visibility: visible; }
.sc-h { display: flex; align-items: baseline; gap: 1em; margin-bottom: 1.1em; }
.sc-h b { font-size: 1.75em; font-weight: 700; letter-spacing: -.01em; }
.sc-h span { font-size: 1.02em; color: #7a92b2; }
.sc-h .pill { margin-left: auto; }
.pill { font-size: .92em; font-weight: 600; border-radius: 99px; padding: .25em .9em; background: rgba(58,155,224,.14); color: #6db8ee; white-space: nowrap; }
.pill.g { background: rgba(125,194,68,.14); color: #8fd457; } .pill.o { background: rgba(232,122,84,.16); color: #f09a7a; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; margin-bottom: 1.1em; }
.kpi, .card { background: #13243f; border: 1px solid rgba(122,146,178,.16); border-radius: .8em; }
.kpi { padding: .8em 1.1em; position: relative; }
.kpi small { display: block; font-size: .92em; color: #7a92b2; }
.kpi b { font-size: 1.65em; font-weight: 700; }
.kpi .swap { position: relative; display: inline-block; }
.kpi .v-old { position: absolute; left: 0; top: 0; opacity: 0; }
.ez { color: #c79bff; }

/* find */
.tbl { border: 1px solid rgba(122,146,178,.16); border-radius: .8em; overflow: hidden; }
.tr { display: grid; grid-template-columns: 3.2em 1.15fr 1.5fr 1.75fr 3.6em; align-items: center; gap: .6em; padding: .78em 1.1em; font-size: 1.05em; border-top: 1px solid rgba(122,146,178,.12); }
.tr:first-child { border-top: 0; background: #0f1e36; color: #7a92b2; font-size: .9em; text-transform: uppercase; letter-spacing: .06em; padding-block: .6em; }
.av { width: 2.3em; height: 2.3em; border-radius: 50%; border: 1.5px solid #3a9be0; color: #6db8ee; background: #0f1e36; font-size: .82em; font-weight: 700; display: grid; place-items: center; }
.tr .mut { color: #9fb2cc; }
.tr .em { position: relative; color: #cfe0f5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr .em .ok { color: #8fd457; font-weight: 600; margin-left: .4em; }
.skel { position: absolute; inset: 15% 12% 15% 0; border-radius: .4em; opacity: 0; background: linear-gradient(90deg, #1b3052 25%, #2c4a78 50%, #1b3052 75%) 0 0 / 200% 100%; }
.grade { width: 2.1em; height: 2.1em; border-radius: .5em; display: grid; place-items: center; font-weight: 700; background: rgba(125,194,68,.16); color: #8fd457; justify-self: end; }
.grade.b { background: rgba(58,155,224,.14); color: #6db8ee; } .grade.c { background: rgba(245,197,66,.14); color: #f5c542; }
.tr.hero-row { background: rgba(232,122,84,.07); box-shadow: inset 3px 0 0 #e87a54; }
.play .skel { animation: skel 1.7s linear both; }
.play .hero-row .val { animation: fadeIn .4s 1.6s both; }
.play .hero-row .grade { animation: pop .5s 2s cubic-bezier(.3,1.6,.5,1) both; }
.play .tr { animation: rowIn .45s var(--ease) both; animation-delay: calc(var(--i) * .08s); }
@keyframes skel { 0% { opacity: 1; background-position: 100% 0; } 88% { opacity: 1; } 100% { opacity: 0; background-position: -100% 0; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } }
@keyframes rowIn { from { opacity: 0; transform: translateY(.8em); } }

/* reach */
.reach { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.2em; }
.flow { position: relative; padding-left: .2em; }
.node { display: flex; align-items: center; gap: 1em; padding: .85em 1.1em; margin-bottom: 1.5em; position: relative; }
.node:last-child { margin-bottom: 0; }
.node:not(:last-child)::after { content: ''; position: absolute; left: 2.35em; top: 100%; width: 2px; height: 1.5em; background: #3a9be0; transform-origin: top; }
.ico { width: 2.5em; height: 2.5em; border-radius: .6em; display: grid; place-items: center; font-weight: 700; font-size: 1em; background: rgba(58,155,224,.16); color: #6db8ee; flex-shrink: 0; }
.ico.o { background: rgba(232,122,84,.16); color: #f09a7a; } .ico.w { background: rgba(122,146,178,.14); color: #9fb2cc; }
.node b { font-size: 1.12em; font-weight: 600; display: block; } .node small { font-size: .95em; color: #7a92b2; }
.node .ck { margin-left: auto; width: 1.7em; height: 1.7em; border-radius: 50%; background: #7dc244; color: #0d1a2e; font-weight: 800; font-size: .95em; display: grid; place-items: center; }
.node .ck.run { background: none; border: 2px solid #e87a54; border-top-color: transparent; animation: spin 1s linear infinite; }
/* ---- floStudio scene: the real editor is a node canvas (palette, dotted canvas, tinted nodes, animated edges) ---- */
.fs { position: absolute; inset: 0; display: flex; flex-direction: column; background: #0b1627; }
.fs-bar { height: 3.5em; flex: none; display: flex; align-items: center; gap: .9em; padding: 0 1.1em; background: #172a48; border-bottom: 1px solid #2d466a; }
.fs-bar b { font-size: 1.3em; font-weight: 600; white-space: nowrap; }
.fs-back { color: #8ea2bf; font-size: 1.2em; padding-right: .8em; border-right: 1px solid #2d466a; }
.fs-live { font-size: .88em; font-weight: 600; color: #8fd457; background: rgba(125,194,68,.14); border: 1px solid rgba(125,194,68,.3); border-radius: .45em; padding: .15em .6em; }
.fs-meta, .fs-saved { font-size: .92em; color: #7a92b2; white-space: nowrap; }
.fs-sp { flex: 1; }
.fs-auto { font-size: .9em; font-weight: 600; color: #f09a7a; background: rgba(232,122,84,.1); border-radius: .45em; padding: .35em .7em; white-space: nowrap; }
.fs-btn { font-size: .95em; font-weight: 600; color: #facc15; border: 1px solid rgba(234,179,8,.4); background: rgba(234,179,8,.1); border-radius: .45em; padding: .35em .9em; }
.fs-main { flex: 1; min-height: 0; display: flex; }
.fs-pal { width: 13.5em; flex: none; background: #172a48; border-right: 1px solid #2d466a; padding: .9em .8em; overflow: hidden; }
.fs-pal > b { font-size: 1.05em; font-weight: 600; display: block; }
.fs-search { display: block; margin: .6em 0 .2em; font-size: .9em; color: #7a92b2; background: #0f1f3a; border: 1px solid #2d466a; border-radius: .5em; padding: .4em .7em; }
.fs-grp { display: flex; justify-content: space-between; font-size: .72em; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #7a92b2; margin: 1.1em 0 .35em; }
.fs-grp i { font-style: normal; }
.fs-it { display: flex; align-items: center; gap: .6em; font-size: .95em; font-weight: 500; padding: .3em .3em; white-space: nowrap; }
.fs-it svg, .fs-n svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.fs-it svg { color: var(--c); }
.fs-canvas { position: relative; flex: 1; min-width: 0; overflow: hidden; background: radial-gradient(circle, #263d61 1px, transparent 1.3px) 0 0 / 1.5em 1.5em, #0b1627; }
.fs-edges { position: absolute; inset: 0; width: 100%; height: 100%; }
.fs-edges path { fill: none; stroke: #3a9be0; stroke-width: 2; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; animation: fsDash .6s linear infinite; }
@keyframes fsDash { to { stroke-dashoffset: -10; } }
@keyframes fsFade { from { opacity: 0; } }
.fs-n { --c: #3a9be0; --t: rgba(14,116,183,.14); position: absolute; left: var(--x); top: var(--y); translate: -50% 0; width: 15.5em; padding: .6em .8em; border-radius: .85em; border: 2px solid color-mix(in srgb, var(--c) 40%, transparent); background: linear-gradient(var(--t), var(--t)), #0d1a2e; box-shadow: 0 1px 4px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.2); }
.fs-n.fs-o { --c: #e87a54; --t: rgba(232,122,84,.12); } .fs-n.fs-g { --c: #7dc244; --t: rgba(125,194,68,.14); } .fs-n.fs-p { --c: #a78bfa; --t: rgba(167,139,250,.14); }
.fs-n b { display: flex; align-items: center; gap: .5em; font-size: 1.02em; font-weight: 600; white-space: nowrap; }
.fs-n b svg { color: var(--c); }
.fs-n small { display: block; font-size: .88em; color: #7a92b2; margin-top: .15em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-n::before, .fs-n::after, .fs-h { content: ''; position: absolute; left: 50%; width: .75em; height: .75em; margin-left: -.375em; border-radius: 50%; background: #7a92b2; border: 2px solid #172a48; box-sizing: border-box; }
.fs-n::before { top: -.45em; } .fs-n::after, .fs-h { bottom: -.45em; }
.fs-n.fs-trig::before, .fs-n.fs-cond::after { display: none; }
.fs-h { background: #e87a54; }
.fs-n em { font-family: inherit; position: absolute; top: calc(100% + .55em); translate: -50% 0; font-style: normal; font-size: .74em; color: #8ea2bf; background: #0b1627; padding: 0 .4em; border-radius: .3em; white-space: nowrap; }
.fs-n.fs-sel { box-shadow: 0 0 0 2px #0b1627, 0 0 0 4px #e87a54; }
.fs-act { position: absolute; top: -.85em; right: -.7em; display: flex; align-items: center; gap: .3em; font-size: .8em; font-weight: 600; color: #fff; background: #e87a54; border-radius: .5em; padding: .12em .5em; }
.fs-act svg { width: 1em; height: 1em; }
.fs-ctl { position: absolute; left: .9em; bottom: .9em; display: flex; flex-direction: column; background: #172a48; border: 1px solid #2d466a; border-radius: .45em; overflow: hidden; }
.fs-ctl i { font-style: normal; width: 1.9em; height: 1.8em; display: grid; place-items: center; color: #8ea2bf; font-size: .95em; }
.fs-ctl i + i { border-top: 1px solid #2d466a; }
.play .fs-n { animation: rowIn .45s var(--ease) both; animation-delay: calc(var(--i) * .45s); }
.play .fs-edges path { animation: fsDash .6s linear infinite, fsFade .4s both; animation-delay: 0s, calc(var(--i) * .45s - .1s); }
.play .fs-act { animation: pop .4s cubic-bezier(.3,1.6,.5,1) 2.1s both; }
@media (max-width: 760px) { .fs-pal, .fs-meta, .fs-saved { display: none; } .fs-n { width: 14em; } }
.side .kpi { margin-bottom: .8em; }
.bar { height: .5em; border-radius: 99px; background: #0f1e36; margin-top: .6em; overflow: hidden; } .bar i { display: block; height: 100%; border-radius: inherit; background: #3a9be0; }
.play .node { animation: rowIn .45s var(--ease) both; animation-delay: calc(var(--i) * .5s); }
.play .node::after { animation: growY .3s both; animation-delay: calc(var(--i) * .5s + .3s); }
.play .node .ck:not(.run) { animation: pop .4s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(var(--i) * .5s + .45s); }
.play .bar i { animation: growX 1.4s .3s var(--ease) both; }
@keyframes growY { from { transform: scaleY(0); } }
@keyframes growX { from { width: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* reply */
.reply { display: grid; grid-template-columns: 15em 1fr; gap: 1.1em; height: 100%; }
.inbox { display: flex; flex-direction: column; gap: .6em; }
.conv { display: flex; gap: .8em; align-items: center; padding: .8em .9em; border-radius: .8em; border: 1px solid transparent; }
.conv.on { background: #13243f; border-color: rgba(122,146,178,.16); }
.conv b { font-size: 1.02em; display: block; } .conv small { font-size: .9em; color: #7a92b2; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 9em; }
.conv .dot { margin-left: auto; width: .7em; height: .7em; border-radius: 50%; background: #e87a54; flex-shrink: 0; }
.thread { display: flex; flex-direction: column; gap: .8em; min-width: 0; }
.bub { max-width: 82%; padding: .85em 1.1em; border-radius: 1em; font-size: 1.06em; line-height: 1.4; }
.bub small { display: block; font-size: .82em; color: #7a92b2; margin-bottom: .2em; }
.bub.out { align-self: flex-end; background: #1b4f7e; border-bottom-right-radius: .25em; } .bub.out small { color: #a9cdea; }
.bub.in { align-self: flex-start; background: #13243f; border: 1px solid rgba(122,146,178,.16); border-bottom-left-radius: .25em; }
.ezra { margin-top: auto; border: 1px solid rgba(199,155,255,.4); background: rgba(199,155,255,.06); border-radius: .9em; padding: .9em 1.1em; }
.ezra-h { display: flex; align-items: center; gap: .6em; font-size: .95em; color: #c79bff; font-weight: 600; margin-bottom: .5em; }
.ezra-h .send { margin-left: auto; background: #e87a54; color: #0d1a2e; font-weight: 700; border-radius: .5em; padding: .35em 1.1em; }
.type { display: block; font-size: 1.06em; white-space: nowrap; overflow: hidden; }
.play .bub.in { animation: bubIn .5s .5s cubic-bezier(.3,1.4,.5,1) both; transform-origin: 0 100%; }
.play .conv .dot { animation: pop .4s .5s both; }
.play .ezra { animation: rowIn .45s 1.2s var(--ease) both; }
.play .type { animation: typing 1s steps(40) both; } .play .t1 { animation-delay: 1.6s; } .play .t2 { animation-delay: 2.6s; }
.play .send { animation: nudge .5s 3.7s both; }
@keyframes bubIn { from { opacity: 0; transform: scale(.6); } }
@keyframes typing { from { width: 0; } to { width: 100%; } }
@keyframes nudge { 40% { transform: scale(1.18); box-shadow: 0 0 0 .5em rgba(232,122,84,.25); } }

/* close */
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; }
.col { background: #0f1e36; border-radius: .8em; padding: .7em; min-height: 17em; }
.col-h { display: flex; justify-content: space-between; font-size: .95em; font-weight: 600; color: #9fb2cc; padding: .1em .3em .7em; }
.col-h span { color: #7a92b2; font-weight: 500; }
.col.won { box-shadow: inset 0 2px 0 #7dc244; } .col.won .col-h { color: #8fd457; }
.deal { background: #13243f; border: 1px solid rgba(122,146,178,.2); border-radius: .6em; padding: .7em .8em; margin-bottom: .6em; }
.deal b { font-size: 1.02em; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .deal small { font-size: .95em; color: #8fd457; font-weight: 600; }
.deal.mv { border-color: #e87a54; box-shadow: 0 .8em 1.6em -.6em rgba(0,0,0,.6); position: relative; z-index: 2; }
.play .deal.mv { animation: dealMove 1.2s .7s cubic-bezier(.6,0,.2,1) both; }
.play .col.won { animation: wonFlash .8s 1.8s both; }
.play .v-old { animation: fadeOut .3s 1.9s both; } .play .v-new { animation: fadeIn .3s 2s both; }
.play .kpi.win { animation: kpiWin .6s 2s both; }
@keyframes dealMove { 0% { transform: translateX(calc(-100% - 2.2em)); } 45% { transform: translateX(calc(-55% - 1.1em)) translateY(-1.2em) rotate(4deg); } 100% { transform: none; } }
@keyframes wonFlash { 30% { background: rgba(125,194,68,.2); } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes kpiWin { 30% { border-color: #7dc244; transform: scale(1.05); } }

/* sign */
.sign { display: grid; grid-template-columns: 1fr 15em; gap: 1.3em; height: 100%; }
.paper { background: #fbfaf6; color: #1b2a4a; border-radius: .6em; padding: 1.6em 1.9em; position: relative; overflow: hidden; }
.paper h4 { font-size: 1.3em; font-weight: 700; } .paper p { font-size: .9em; color: #6b7892; margin: .2em 0 1em; }
.paper .ln { height: .55em; border-radius: 99px; background: #e3e1d9; margin-bottom: .75em; } .paper .ln.s { width: 62%; }
.sigbox { margin-top: 1.2em; border-top: 1.5px solid #1b2a4a; padding-top: .4em; width: 60%; position: relative; }
.sigbox small { font-size: .82em; color: #6b7892; }
.sig { position: absolute; left: 0; top: 0; transform: translateY(-86%); width: 85%; height: auto; overflow: visible; }
.sig path { fill: none; stroke: #1d3b7a; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; }
.seal { position: absolute; right: 1.4em; bottom: 1.6em; border: .22em solid #5fa32b; color: #5fa32b; font-weight: 800; letter-spacing: .12em; font-size: 1.3em; padding: .25em .7em; border-radius: .35em; transform: rotate(-10deg); }
.steps { display: flex; flex-direction: column; gap: .7em; }
.stp { display: flex; align-items: center; gap: .8em; padding: .8em 1em; font-size: 1.04em; }
.stp small { display: block; font-size: .88em; color: #7a92b2; }
.stp .ck { width: 1.7em; height: 1.7em; border-radius: 50%; background: #7dc244; color: #0d1a2e; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.play .sig path { animation: draw 1.3s 1s ease-in-out both; }
.play .seal { animation: slam .45s 2.5s cubic-bezier(.3,1.5,.5,1) both; }
.play .stp { animation: rowIn .4s both; } .play .stp:nth-child(1) { animation-delay: .2s; } .play .stp:nth-child(2) { animation-delay: .8s; } .play .stp:nth-child(3) { animation-delay: 2.6s; } .play .stp:nth-child(4) { animation-delay: 3s; }
@keyframes draw { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
@keyframes slam { from { opacity: 0; transform: rotate(-10deg) scale(2.6); } }

/* ---------- client belt ---------- */
.belt { background: var(--ink); color: var(--paper); display: flex; align-items: stretch; border-block: 2px solid var(--ink); }
.belt-label { flex-shrink: 0; background: var(--orange); color: var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; padding: 0 22px; }
.belt-win { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60px, #000 calc(100% - 60px), transparent); mask-image: linear-gradient(90deg, transparent, #000 60px, #000 calc(100% - 60px), transparent); }
.belt-track { display: flex; width: max-content; animation: belt 60s linear infinite; }
.belt-track:hover { animation-play-state: paused; }
.belt-track a { padding: 20px 0; font-size: 1.25rem; font-weight: 650; font-variation-settings: 'wdth' 84; white-space: nowrap; display: flex; align-items: center; transition: color .2s; }
.belt-track a::after { content: ''; width: 9px; height: 9px; margin: 0 28px; background: var(--green); transform: rotate(45deg); }
.belt-track a:hover { color: var(--orange); }
@keyframes belt { to { transform: translateX(-50%); } }

/* ---------- stack / receipt ---------- */
.stack { padding: clamp(80px, 11vw, 160px) 0; }
.stack-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.pains { margin-top: 44px; border-top: 2px solid var(--ink); }
.pains li { display: grid; grid-template-columns: 54px 1fr; padding: 20px 0; border-bottom: 1px solid var(--rule); font-size: 1.08rem; color: var(--ink-soft); }
.pains span { font-family: var(--mono); font-size: 13px; color: var(--orange-d); padding-top: 4px; }
.pains b { color: var(--ink); font-weight: 700; }
.receipt-wrap { position: sticky; top: 100px; display: flex; justify-content: center; padding-top: 10px; }
.receipt { position: relative; width: min(390px, 100%); transform: rotate(2.2deg); filter: drop-shadow(0 26px 30px rgba(22,38,77,.22)); }
.receipt-in {
  background: #fffdf8; font-family: var(--mono); font-size: 14px; color: #1d2433; padding: 30px 26px 44px;
  clip-path: inset(0 0 100% 0);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at 50% 100%, transparent 25%, #000 0) bottom / 18px 12px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from 135deg at 50% 0, #000 25%, transparent 0) bottom / 18px 12px repeat-x;
}
.receipt.print .receipt-in { clip-path: inset(0); transition: clip-path 2.6s steps(26); }
.r-head { text-align: center; font-weight: 600; letter-spacing: .16em; padding-bottom: 16px; border-bottom: 1.5px dashed #1d2433; }
.r-head span { font-weight: 400; letter-spacing: .04em; font-size: 12px; color: #6a7183; }
.r-lines li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dotted #c9c4b6; }
.r-lines b { font-weight: 500; }
.r-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 10px; font-weight: 600; border-bottom: 1.5px dashed #1d2433; }
.r-total b { font-size: 26px; }
.r-foot { text-align: center; padding-top: 14px; font-size: 12.5px; letter-spacing: .04em; }
.r-fine { text-align: center; font-size: 10.5px; color: #8a8f9c; margin-top: 10px; line-height: 1.4; }
.stamp {
  position: absolute; left: 50%; top: 47%; translate: -50% -50%; rotate: -12deg; text-align: center; white-space: nowrap;
  border: 5px solid var(--orange-d); color: var(--orange-d); padding: 12px 22px 10px; border-radius: 12px;
  background: rgba(255,253,248,.9); font-family: var(--disp); opacity: 0; scale: 2.4;
}
.stamp b { display: block; font-size: 2.5rem; line-height: 1; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; font-variation-settings: 'wdth' 80; }
.stamp small { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.receipt.stamped .stamp { opacity: 1; scale: 1; transition: scale .35s cubic-bezier(.3,1.5,.5,1), opacity .15s; }
.receipt.stamped .r-lines, .receipt.stamped .r-total { opacity: .45; transition: opacity .4s .2s; }
.receipt.stamped { animation: thud .35s; }
@keyframes thud { 30% { transform: rotate(2.2deg) translateY(6px) scale(.985); } }

/* ---------- the line ---------- */
.lineup { background: var(--navy); color: var(--paper); height: 480vh; position: relative; }
.lineup-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; padding-top: 92px; }
.lineup-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-shrink: 0; }
.lineup-head .h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); max-width: none; }
.lineup-head .fig { margin-bottom: 12px; }
.lineup-steps { display: flex; gap: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.lineup-steps li { padding: 8px 14px; border: 1.5px solid rgba(243,238,227,.25); border-radius: 8px; color: #9fb2cc; transition: all .3s; }
.lineup-steps li.on { background: var(--orange); border-color: var(--orange); color: var(--navy); font-weight: 600; }
.lineup-steps li.past { border-color: var(--green); color: var(--green); }
.lineup-track { flex: 1; display: flex; align-items: center; gap: 8vw; padding: 0 max(24px, calc((100vw - 1320px) / 2)); will-change: transform; min-height: 0; }
.station { flex: 0 0 min(1180px, 86vw); display: grid; grid-template-columns: .72fr 1fr; gap: clamp(24px, 4vw, 70px); align-items: center; opacity: .25; transition: opacity .5s; }
.station.on { opacity: 1; }
.st-n { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--orange); }
.station h3 { font-size: clamp(3.4rem, 7vw, 7rem); line-height: .86; letter-spacing: -.05em; font-weight: 800; font-variation-settings: 'wdth' 78; margin: 6px 0 16px; }
.st-prod { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }
.st-prod i { font-style: normal; color: #7a92b2; }
.st-copy p { color: #b9c6da; font-size: clamp(1rem, 1.2vw, 1.14rem); max-width: 40ch; }
.st-copy .st-note { margin-top: 16px; padding-left: 16px; border-left: 2px solid var(--orange); color: #8ea2bf; font-size: .96rem; }
.st-app { container-type: inline-size; }
.conveyor { flex-shrink: 0; height: 118px; position: relative; }
.conveyor-belt { position: absolute; left: 0; right: 0; bottom: 30px; height: 16px; border-block: 2px solid #2a4168; background: repeating-linear-gradient(90deg, #2a4168 0 3px, transparent 3px 46px) 0 0 / 46px 100%; }
.rider { position: absolute; left: 0; right: 0; bottom: 46px; display: flex; align-items: flex-end; justify-content: center; gap: 14px; }
.rider-bot { width: 54px; overflow: visible; animation: bob .5s ease-in-out infinite alternate; }
.rider-bot .eye { animation: blink 4s infinite; transform-origin: center; transform-box: fill-box; }
@keyframes bob { to { transform: translateY(-3px) rotate(2deg); } }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
.rider-label { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; background: var(--paper); color: var(--ink); padding: 7px 12px; border-radius: 10px 10px 10px 2px; margin-bottom: 26px; white-space: nowrap; }
.rider-label.flip { animation: tick .3s; }

/* ---------- demo ---------- */
.demo { padding: clamp(80px, 10vw, 150px) 0 clamp(50px, 6vw, 90px); background: var(--paper-2); position: relative; }
.demo-head { display: grid; grid-template-columns: auto 1fr; column-gap: 60px; align-items: end; }
.demo-head .fig { grid-column: 1 / -1; }
.demo-head .lede { margin: 0 0 6px; }
.demo-frame { width: min(1280px, 100% - 24px); margin: 34px auto 0; background: var(--navy); border-radius: 26px; border: 2px solid var(--ink); box-shadow: 0 10px 0 var(--ink); overflow: hidden; }
.demo-frame iframe { display: block; width: 100%; height: 820px; border: 0; }

/* ---------- who ---------- */
.who { padding: clamp(80px, 11vw, 160px) 0; }
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.door {
  position: relative; display: flex; flex-direction: column; min-height: 400px; padding: 30px 28px 28px; border: 2px solid var(--ink);
  border-radius: 150px 150px 14px 14px; background: #fffdf8; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .7s var(--ease);
}
.door::before { content: ''; position: absolute; inset: auto 0 0 0; height: 0; background: var(--c); transition: height .5s var(--ease); z-index: 0; }
.door > * { position: relative; z-index: 1; }
.door-o { --c: var(--orange); } .door-g { --c: var(--green); } .door-b { --c: #6db8ee; }
.door:hover { transform: translateY(-8px); box-shadow: 0 8px 0 var(--ink); }
.door:hover::before { height: 100%; }
.door-k { width: 62px; height: 62px; border-radius: 50%; background: var(--c); border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 1.5rem; margin: 0 auto 56px; transition: background .3s; }
.door:hover .door-k { background: #fffdf8; }
.door h3 { font-size: 2rem; line-height: 1; letter-spacing: -.03em; font-weight: 750; font-variation-settings: 'wdth' 84; margin-bottom: 14px; }
.door p { color: var(--ink-soft); font-size: 1.02rem; transition: color .3s; }
.door:hover p { color: var(--ink); }
.door-meta { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-top: auto; padding-top: 26px; }
.door-go { font-weight: 700; margin-top: 10px; padding-top: 14px; border-top: 2px solid var(--ink); }
.chain { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px; margin-top: 44px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.chain span { border: 1.5px dashed var(--ink-soft); border-radius: 8px; padding: 8px 16px; }
.chain i { font-style: normal; color: var(--orange-d); font-size: 18px; }

/* ---------- proof ---------- */
.proof { background: var(--ink); color: var(--paper); padding: clamp(80px, 11vw, 160px) 0; }
.results { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 60px; border-block: 2px solid rgba(243,238,227,.3); }
.result { padding: 40px 30px 34px; border-left: 1px solid rgba(243,238,227,.18); transition: background .3s, color .3s, opacity .7s var(--ease), transform .7s var(--ease); }
.result:first-child { border-left: 0; }
.result b { display: block; font-size: clamp(3.4rem, 7.4vw, 7.4rem); line-height: .9; letter-spacing: -.05em; font-weight: 800; font-variation-settings: 'wdth' 78; color: var(--orange); white-space: nowrap; }
.result b i { font-style: normal; font-size: .6em; color: var(--green); vertical-align: .12em; }
.result p { margin: 18px 0 22px; color: #c2cde0; max-width: 24ch; }
.result span { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.result:hover { background: var(--orange); } .result:hover b, .result:hover p, .result:hover b i { color: var(--ink); }
.result:hover span { color: var(--ink); }
.quotes { columns: 2; column-gap: 24px; margin-top: 70px; }
.quote { position: relative; break-inside: avoid; border: 1px solid rgba(243,238,227,.16); border-radius: 14px; padding: 30px 30px 26px 34px; margin-bottom: 24px; background: rgba(243,238,227,.04); }
.quote::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 26px; width: 3px; border-radius: 2px; background: var(--orange); }
.quote blockquote { font-size: clamp(1.02rem, 1.25vw, 1.14rem); font-weight: 450; line-height: 1.6; letter-spacing: 0; color: #dfe6f1; text-wrap: pretty; }
.quote figcaption { margin-top: 18px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.tp { margin-top: 26px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: #c2cde0; }
.tp a { text-decoration: underline; text-underline-offset: 4px; } .tp a:hover { color: var(--orange); }
.tp i { font-style: normal; color: var(--orange); margin: 0 8px; } .tp-stars { color: var(--green); letter-spacing: .1em; margin-right: 8px; }

/* ---------- reading ---------- */
.reading { padding: clamp(70px, 9vw, 130px) 0; }
.reading-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 100px); }
.reads { border-top: 2px solid var(--ink); }
.reads li > a:only-child, .reads li:not(.reads-more) a { display: grid; grid-template-columns: 90px 1fr; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 650; letter-spacing: -.015em; line-height: 1.2; transition: padding .3s var(--ease), color .2s; }
.reads li:not(.reads-more) a:hover { padding-left: 14px; color: var(--orange-d); }
.reads span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.reads-more { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 24px; }
.reads-more a { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; border: 1.5px solid var(--ink); border-radius: 8px; padding: 9px 16px; transition: background .2s, color .2s; }
.reads-more a:hover { background: var(--ink); color: var(--paper); }

/* ---------- contact ---------- */
.contact { position: relative; background: var(--orange); padding: clamp(80px, 10vw, 150px) 0; overflow: clip; border-top: 2px solid var(--ink); }
.contact-gear { color: var(--orange-d); width: min(900px, 90vw); left: -260px; bottom: -380px; opacity: .55; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.contact .fig { color: var(--ink); } .contact .h2 em { color: #fffdf8; } .contact .lede { color: var(--ink); }
.contact-facts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.contact-facts li { border: 1.5px solid var(--ink); border-radius: 8px; padding: 8px 14px; }
.form { background: #fffdf8; border: 2px solid var(--ink); border-radius: 22px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 10px 0 var(--ink); display: grid; gap: 16px; }
.form h3 { font-size: 1.7rem; letter-spacing: -.03em; font-variation-settings: 'wdth' 84; font-weight: 750; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; }
.form label span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.form label i { text-transform: none; letter-spacing: 0; }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 10px; padding: 13px 14px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; background: #fff; }
.form textarea { resize: vertical; }
.form-note { font-size: .9rem; color: var(--ink-soft); text-align: center; min-height: 1.4em; }
.form-note a { text-decoration: underline; }
.form-note.ok { color: #3f7d16; font-weight: 600; } .form-note.err { color: #b3261e; font-weight: 600; }
.btn[disabled] { opacity: .7; pointer-events: none; }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: #b9c6da; padding: 70px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-logo { display: inline-block; }
.foot-logo img { height: 52px; width: auto; }
.foot-brand p { margin-top: 18px; max-width: 30ch; font-size: .98rem; }
.foot-col h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; font-weight: 500; }
.foot-col a { display: block; padding: 5px 0; font-size: .98rem; } .foot-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-base { width: min(1320px, 100% - 48px); margin: 50px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--mono); font-size: 12px; color: #7a92b2; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; gap: 40px; }
  .hero::after { background: linear-gradient(180deg, var(--paper) 30%, rgba(243,238,227,0) 60%); }
  .stage { justify-self: center; max-width: 720px; }
  .hero-h1 { font-size: clamp(3rem, 12vw, 6.4rem); }
  .stack-grid, .reading-grid, .contact-grid { grid-template-columns: 1fr; }
  .receipt-wrap { position: static; }
  .demo-head { grid-template-columns: 1fr; row-gap: 10px; }
  .doors { grid-template-columns: 1fr; } .door { min-height: 0; border-radius: 26px; } .door-k { margin: 0 0 22px; }
  .results { grid-template-columns: 1fr; } .result { border-left: 0; border-top: 1px solid rgba(243,238,227,.18); } .result:first-child { border-top: 0; }
  .quotes { columns: 1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  /* the line unpins and stacks */
  .lineup { height: auto; } .lineup-pin { position: static; height: auto; padding: 80px 0; overflow: visible; }
  .lineup-head { flex-direction: column; align-items: flex-start; } .lineup-steps { display: none; }
  .lineup-track { flex-direction: column; gap: 70px; padding: 50px 24px 0; transform: none !important; }
  .station { flex: none; width: 100%; grid-template-columns: 1fr; opacity: 1; }
  .conveyor { display: none; }
  .cc.mini { font-size: 1.9cqw; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 0; background: var(--paper); flex-direction: column; justify-content: center; gap: 26px; font-size: 1.5rem; font-weight: 700; transform: translateY(-100%); transition: transform .5s var(--ease); z-index: -1; }
  .nav-links.open { transform: none; }
  .belt-label { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .demo-frame { border-radius: 16px; } .demo-frame iframe { height: 760px; }
  .cc-mi:not(.on):nth-child(n+5) { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .btn { padding: 16px 20px; }
  .cc, .cc.mini { font-size: 2.2cqw; }
  .cc-body, .cc.mini .cc-body { height: 34em; }
  .reads li:not(.reads-more) a { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .rv { opacity: 1; transform: none; }
  .belt-track { animation: none; }
}
.contact .fig i { color: #fffdf8; }

/* ---------- small-screen corrections ---------- */
@media (max-width: 1040px) {
  /* headline, then the machine, then the pitch: the sequence stays in the first screen */
  .hero { gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > * { position: relative; z-index: 1; }
  .eyebrow { order: 1; } .hero-h1 { order: 2; margin-bottom: 18px; } .stage { order: 3; margin-bottom: 34px; }
  .hero-sub { order: 4; } .hero-cta { order: 5; } .hero-facts { order: 6; }
  .hero::after { display: none; }
}
@media (max-width: 820px) {
  .nav.scrolled { backdrop-filter: none; background: var(--paper); }
  .nav-links { visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; height: 100dvh; }
  .nav-links.open { visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
}
@media (max-width: 560px) {
  .hero { padding-top: 96px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .1em; margin-bottom: 14px; }
  .stage { aspect-ratio: 1 / 1.13; }
  #heroCC { top: 17cqw; }
  .gear-a { top: 12cqw; }
  .tag { font-size: 3cqw; border-width: 1.5px; }
  .meter-cell { min-width: 24cqw; padding: 2cqw 3cqw; }
  .rail { left: 0; right: 0; } .rail button { padding: 1.2cqw 2.4cqw; }
  .receipt-in { font-size: 13px; }
}


/* ================= round two: conversion + finish ================= */
/* paper grain, so flat colour reads as print rather than as a screen fill */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .15 0 0 0 0 .3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--orange); color: var(--ink); }

.hero-price { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--ink-soft); margin: -12px 0 22px; animation: rise .8s .6s var(--ease) both; }
.hero-price b { color: var(--ink); font-weight: 600; background: linear-gradient(transparent 62%, rgba(125,194,68,.55) 0); padding: 0 2px; }
.tag b { margin-left: .4cqw; }

/* the cursor that works the app in the hero */
.cc-cursor {
  position: absolute; left: 0; top: 0; z-index: 5; width: 1.9em; height: 1.9em; margin: -.2em 0 0 -.2em; opacity: 0; pointer-events: none;
  transition: transform .6s cubic-bezier(.5,.1,.2,1), opacity .3s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 9-6.5 1.6L9.5 19z' fill='%23fff' stroke='%230b1627' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0 / contain no-repeat;
}
.cc-cursor.on { opacity: 1; }
.cc-cursor::after { content: ''; position: absolute; left: -.3em; top: -.3em; width: 1.4em; height: 1.4em; border-radius: 50%; border: 2px solid #e87a54; opacity: 0; }
.cc-cursor.click::after { animation: clickRing .5s ease-out; }
@keyframes clickRing { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(1.6); } }

/* receipt: longer ledger */
.receipt { width: min(410px, 100%); }
.receipt-in { font-size: 13.5px; padding-top: 26px; }
.r-lines li { padding: 7px 0; }
.r-lines i { font-style: normal; color: #8a8f9c; font-size: 12px; }
.r-fine { font-size: 11.5px; color: #5d6474; }
.receipt-wrap { flex-direction: column; align-items: center; gap: 26px; }
.receipt-link { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid var(--orange); padding-bottom: 3px; transition: color .2s; }
.receipt-link:hover { color: var(--orange-d); }
.receipt.print .receipt-in { transition-duration: 2.9s; transition-timing-function: steps(30); }

/* the line: one record collecting facts as it rides */
.lineup-steps li { padding: 0; border: 0; }
.lineup-steps button { font: inherit; letter-spacing: inherit; text-transform: inherit; padding: 8px 14px; border: 1.5px solid rgba(243,238,227,.25); border-radius: 8px; color: #9fb2cc; transition: all .3s; }
.lineup-steps button:hover { border-color: var(--paper); color: var(--paper); }
.lineup-steps li.on { background: none; } .lineup-steps li.on button { background: var(--orange); border-color: var(--orange); color: var(--navy); font-weight: 600; }
.lineup-steps li.past button { border-color: var(--green); color: var(--green); }
.lineup-steps li.past button::before { content: '\2713  '; }
.record { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; font-family: var(--mono); font-size: 12.5px; white-space: nowrap; }
.record-k { color: #7a92b2; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; margin-right: 4px; }
.chip { padding: 7px 12px; border-radius: 8px; background: var(--paper); color: var(--ink); max-width: 0; padding-inline: 0; opacity: 0; overflow: hidden; margin-left: -8px; transition: max-width .5s var(--ease), padding .5s var(--ease), opacity .3s, margin .5s var(--ease), background .4s; }
.chip.on { max-width: 240px; padding-inline: 12px; opacity: 1; margin-left: 0; }
.chip[data-at]:last-of-type.on, .chip[data-at="3"].on { background: var(--green); }
.chip[data-at="2"].on { background: #ffd9c9; }
.station { transform: scale(.94); transition: opacity .5s, transform .6s var(--ease); }
.station.on { transform: none; }
.station h3 { position: relative; }
.st-app .cc { box-shadow: 0 3em 6em -2em rgba(0,0,0,.8), 0 0 0 1px #2a4168; }
.conveyor::before, .conveyor::after { content: ''; position: absolute; bottom: 18px; width: 40px; height: 40px; border-radius: 50%; border: 6px solid #2a4168; background: var(--navy); z-index: 1; }
.conveyor::before { left: -12px; } .conveyor::after { right: -12px; }

/* demo follow-up */
.demo-next { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 30px; margin-top: 54px; }
.demo-next p { font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 650; letter-spacing: -.02em; }
.demo-next em { color: var(--orange-d); font-size: 1.1em; }

/* price */
.price { padding: clamp(80px, 11vw, 160px) 0; background: var(--paper-2); border-block: 2px solid var(--ink); }
.price-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.price-alt { margin-top: 44px; border-top: 2px solid var(--ink); }
.price-alt > div { padding: 20px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; }
.price-alt b { font-weight: 700; } .price-alt p { color: var(--ink-soft); font-size: 1.02rem; }
.ticket { position: relative; background: #fffdf8; border: 2px solid var(--ink); border-radius: 22px; padding: clamp(26px, 3vw, 40px); box-shadow: 0 10px 0 var(--ink); rotate: -1.2deg; }
.ticket::before, .ticket::after { content: ''; position: absolute; top: 148px; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--ink); }
.ticket::before { left: -15px; clip-path: inset(0 0 0 50%); } .ticket::after { right: -15px; clip-path: inset(0 50% 0 0); }
.ticket-k { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; display: flex; justify-content: space-between; }
.ticket-k span { color: var(--ink-soft); font-weight: 400; }
.ticket-p { display: flex; align-items: flex-end; gap: 14px; padding: 6px 0 26px; margin-bottom: 26px; border-bottom: 2px dashed var(--ink); }
.ticket-p b { font-size: clamp(4.4rem, 8vw, 7rem); line-height: .86; letter-spacing: -.05em; font-weight: 800; font-variation-settings: 'wdth' 78; }
.ticket-p span { font-family: var(--mono); font-size: 13px; line-height: 1.4; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); padding-bottom: 8px; }
.ticket li { padding: 8px 0 8px 30px; position: relative; font-size: 1.04rem; border-bottom: 1px solid var(--rule); }
.ticket li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); rotate: -45deg; }
.ticket-n { font-size: .92rem; color: var(--ink-soft); margin: 18px 0 22px; }

/* faq */
.faq { padding: clamp(70px, 9vw, 130px) 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 100px); }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 650; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 500; font-size: 1.3rem; line-height: 1; transition: rotate .3s var(--ease), background .2s; }
.faq details[open] summary::after { rotate: 45deg; background: var(--orange); }
.faq summary:hover { color: var(--orange-d); }
.faq details p { color: var(--ink-soft); max-width: 62ch; padding: 0 0 24px; font-size: 1.06rem; }
.reading { padding-top: 0; }

/* dock */
.dock {
  position: fixed; left: 50%; bottom: 18px; z-index: 95; translate: -50% 140%; display: flex; align-items: center; gap: 18px; white-space: nowrap;
  background: var(--ink); color: var(--paper); border-radius: 14px; padding: 8px 8px 8px 24px; font-size: .95rem;
  box-shadow: 0 14px 34px -10px rgba(11,22,39,.6); transition: translate .5s var(--ease);
}
.dock.on { translate: -50% 0; }
.dock b { font-weight: 700; margin-right: 8px; }
.dock-link { text-decoration: underline; text-underline-offset: 4px; }
.dock .btn { border-color: var(--orange); box-shadow: none; }
.dock .btn:hover { transform: none; background: #fffdf8; border-color: #fffdf8; }

@media (max-width: 1040px) {
  .price-grid, .faq-grid { grid-template-columns: 1fr; }
  .price-alt > div { grid-template-columns: 1fr; gap: 4px; }
  .ticket { rotate: 0deg; }
  .station { transform: none; }
}
@media (max-width: 640px) {
  .dock { left: 12px; right: 12px; translate: 0 140%; justify-content: space-between; padding-left: 18px; }
  .dock.on { translate: 0 0; }
  .dock span b, .dock-link { display: none; }
  .hero-price { margin-top: 0; }
  body::before { display: none; }
}

/* ---------- buttons: rounded rectangles, as in Command Center (no pills) ---------- */
.btn { border-radius: 10px; }
.btn-sm { border-radius: 8px; }
.rail button, .lineup-steps button, .reads-more a, .contact-facts li, .chain span { border-radius: 8px; }
.dock { border-radius: 14px; padding: 8px 8px 8px 20px; }

/* ---------- tablet + phone corrections, round two ---------- */
.r-lines li { gap: 10px; } .r-lines b { flex-shrink: 0; }
.dock span { min-width: 0; overflow: hidden; text-overflow: ellipsis; } .dock .btn { flex-shrink: 0; }
@media (max-width: 1040px) {
  .hero-price { order: 6; margin: 4px 0 18px; } .hero-facts { order: 7; }
  .ticket { max-width: 560px; }
  .receipt-wrap { padding-top: 30px; }
}
@media (min-width: 641px) and (max-width: 1040px) {
  /* tablet: two-up where a single column would waste the width */
  .doors { grid-template-columns: repeat(3, 1fr); gap: 14px; } .door { padding: 24px 20px; border-radius: 22px; } .door h3 { font-size: 1.5rem; }
  .results { grid-template-columns: repeat(3, 1fr); } .result { border-top: 0; border-left: 1px solid rgba(243,238,227,.18); padding: 28px 18px; } .result:first-child { border-left: 0; }
  .quotes { columns: 2; }
  .station { grid-template-columns: .8fr 1fr; align-items: center; }
  .lineup-track { gap: 90px; }
  .price-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dock { gap: 10px; padding: 7px 7px 7px 14px; }
  .dock span { font-size: .8rem; }
  .dock .btn { padding: 12px 12px; font-size: .86rem; min-height: 44px; }
  .faq summary { padding: 18px 0; }
  .demo-next { margin-top: 34px; text-align: center; }
}

/* industry picker under the three doors */
.indpick { margin-top: 44px; border-top: 2px solid var(--ink); padding-top: 22px; display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: start; }
.indpick-k { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding-top: 10px; }
.indpick ul { display: flex; flex-wrap: wrap; gap: 10px; }
.indpick a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 8px; font-weight: 600; font-size: .98rem; background: #fffdf8; transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.indpick a:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); box-shadow: 0 3px 0 var(--orange); }
.indpick a.indpick-all { background: var(--orange); }
@media (max-width: 820px) { .indpick { grid-template-columns: 1fr; gap: 10px; } }

/* receipt lines: tool name with the job it does underneath */
.r-lines li { align-items: baseline; }
.r-lines span { display: flex; flex-direction: column; font-weight: 500; }
.r-lines i { font-style: normal; font-weight: 400; color: #8a8f9c; font-size: 11.5px; letter-spacing: .02em; }


/* ================= Spark vs Enterprise: the license dial ================= */
.nav-ent { font-weight: 650; }
.hero-price a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--orange); }
.hero-price a:hover { color: var(--orange-d); }
.demo-next-ent { flex-basis: 100%; text-align: center; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--orange); margin-top: -4px; }
.demo-next-ent:hover { color: var(--orange-d); }

.price-grid { align-items: start; }
.dial { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 30px; align-items: center; margin-top: 40px; padding: 26px; background: #fffdf8; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 0 7px 0 var(--ink); }
.dial-face { position: relative; width: 190px; aspect-ratio: 1; display: grid; place-items: center; }
.gear.dial-gear { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--blue); transition: transform .7s cubic-bezier(.3, 1.5, .5, 1), color .4s; }
.dial.is-ent .dial-gear { color: var(--orange); }
.dial-read { position: relative; width: 44%; aspect-ratio: 1; border-radius: 50%; background: #fffdf8; border: 2px solid var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dial-read output { font-size: 2.3rem; line-height: .9; font-weight: 800; letter-spacing: -.05em; font-variation-settings: 'wdth' 80; font-variant-numeric: tabular-nums; }
.dial-read span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }
.dial-ctl { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; gap: 12px; align-items: center; }
.dial-b { width: 46px; height: 46px; border-radius: 10px; border: 2px solid var(--ink); background: var(--paper); font-size: 1.5rem; font-weight: 600; line-height: 1; box-shadow: 0 3px 0 var(--ink); transition: transform .15s, box-shadow .15s, background .2s; }
.dial-b:hover { background: var(--orange); } .dial-b:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }
#dialRange { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; --fill: 0%; }
#dialRange::-webkit-slider-runnable-track { height: 12px; border-radius: 6px; border: 2px solid var(--ink); background: linear-gradient(90deg, var(--green) 0 33.3%, var(--orange) 33.3% 100%); }
#dialRange::-moz-range-track { height: 8px; border-radius: 6px; border: 2px solid var(--ink); background: linear-gradient(90deg, var(--green) 0 33.3%, var(--orange) 33.3% 100%); }
#dialRange::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 8px; background: var(--ink); border: 2px solid var(--ink); box-shadow: 0 0 0 4px #fffdf8; }
#dialRange::-moz-range-thumb { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); border: 2px solid var(--ink); }
#dialRange:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 8px; }
.dial-scale { display: grid; grid-template-columns: 4fr 5fr; gap: 10px; margin-top: 14px; }
.dial-scale li { font-size: .92rem; color: var(--ink-soft); padding: 10px 12px; border-radius: 8px; border: 1.5px dashed var(--rule); transition: background .3s, border-color .3s, color .3s; line-height: 1.3; }
.dial-scale b { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 2px; }
.dial-scale li.on { border-style: solid; border-color: var(--ink); color: var(--ink); background: rgba(125, 194, 68, .28); }
.dial-scale li.on[data-zone="ent"] { background: rgba(232, 122, 84, .3); }

.ticket { position: sticky; top: 96px; transition: background .4s, color .4s, rotate .4s; }
.ticket-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: -8px 0 20px; padding: 12px 14px; border-radius: 8px; background: var(--paper-2); }
.ticket-sum b { font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.ticket.is-ent { background: var(--navy); color: var(--paper); rotate: 1.2deg; }
.ticket.is-ent .ticket-k span, .ticket.is-ent .ticket-p span, .ticket.is-ent .ticket-n { color: #9fb2cc; }
.ticket.is-ent .ticket-p { border-bottom-color: #3a527c; }
.ticket.is-ent .ticket-p b { color: var(--orange); font-size: clamp(3rem, 5.4vw, 4.6rem); }
.ticket.is-ent .ticket-sum { background: #13243f; }
.ticket.is-ent li { border-bottom-color: rgba(255, 255, 255, .12); }
.ticket.is-ent .btn-orange { box-shadow: 0 5px 0 #fffdf8; border-color: #fffdf8; }
.ticket.flip { animation: tflip .55s cubic-bezier(.3, 1.3, .5, 1); }
@keyframes tflip { 0% { transform: perspective(900px) rotateY(0); } 45% { transform: perspective(900px) rotateY(88deg); } 55% { transform: perspective(900px) rotateY(-88deg); } 100% { transform: perspective(900px) rotateY(0); } }

.contact-solo { margin-top: 26px; font-size: 1rem; color: var(--ink); }
.contact-solo a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.form select { appearance: auto; }

@media (max-width: 1040px) { .ticket { position: relative; top: 0; } }
@media (max-width: 560px) {
  .dial { grid-template-columns: 1fr; justify-items: center; padding: 22px 18px; gap: 20px; }
  .dial-face { width: 170px; } .dial-side { width: 100%; }
  .dial-scale { grid-template-columns: 1fr; }
  .nav-ent { order: 9; }
}


/* ================= the engine: the original hub animation, redrawn around the logo gear ================= */
.engine { background: var(--navy); color: var(--paper); padding: clamp(80px, 10vw, 150px) 0 clamp(50px, 6vw, 90px); }
.engine + .lineup .lineup-pin { border-top: 1px solid #1c2e4d; }
.engine-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 6vw, 110px); align-items: end; margin-bottom: clamp(20px, 3vw, 40px); }
.lede-light { color: #b9c6da; }
.hub { position: relative; width: 100%; aspect-ratio: 1000 / 620; max-width: 1120px; margin-inline: auto; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-ring { fill: none; stroke: #1b2d4b; stroke-width: 1; }
.hub-ticks { fill: none; stroke: #263c5f; stroke-width: 7; stroke-dasharray: 1.2 16.602; }
.hub-halo { fill: url(#hubHalo); }
.hub-track { fill: none; stroke: #22385a; stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.hub-flow { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; opacity: 0; transition: opacity .5s; }
.hub-spoke.run .hub-flow, .hub-spoke.lit .hub-flow { opacity: .85; }
.hub-spoke.now .hub-flow { opacity: 1; animation: hubFlow .7s linear infinite; }
@keyframes hubFlow { to { stroke-dashoffset: -9; } }
.hub-comet { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 14 120; stroke-dashoffset: 16; opacity: 0; filter: drop-shadow(0 0 5px currentColor); }
.hub-spoke.run .hub-comet { animation: hubComet 1.05s cubic-bezier(.5, 0, .2, 1) forwards; }
@keyframes hubComet { 0% { stroke-dashoffset: 16; opacity: 1; } 92% { opacity: 1; } 100% { stroke-dashoffset: -102; opacity: 0; } }

.hub-core { position: absolute; left: 50%; top: 50%; width: 20%; aspect-ratio: 1; translate: -50% -50%; display: grid; place-items: center; }
.gear.hub-gear { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--blue); filter: drop-shadow(0 10px 22px rgba(3, 10, 22, .55)); }
.hub-gear .gear-hole { fill: #0a1424; }
.hub-gear .gear-lip { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1.5; }
.hub-gear .gear-bore { fill: none; stroke: #0a5385; stroke-width: 3; }
.hub-read { position: relative; width: 44%; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hub-read small { font-family: var(--mono); font-size: clamp(6.5px, .62vw, 8.5px); letter-spacing: .14em; text-transform: uppercase; color: #7f95b5; }
.hub-read b { font-size: clamp(.95rem, 1.75vw, 1.55rem); font-weight: 800; letter-spacing: -.03em; font-variation-settings: 'wdth' 82; color: #fff; line-height: 1.05; margin-top: 2px; }
.hub-read b.tick { animation: tick .25s; }
.hub-read i { font-family: var(--mono); font-style: normal; font-size: clamp(6.5px, .62vw, 8.5px); letter-spacing: .08em; color: var(--hc, #3a9be0); margin-top: 3px; transition: color .3s; white-space: nowrap; }

.hub-nodes { position: absolute; inset: 0; }
.hub-node { --s: clamp(50px, 5.6vw, 64px); position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); translate: -50% -50%; }
.hub-ico { position: relative; width: 100%; height: 100%; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(180deg, #14243f, #0e1b31); border: 1.5px solid #2a4168; color: #7088a8; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 8px 18px rgba(3, 10, 22, .5); transition: background .4s, border-color .4s, color .4s, transform .5s cubic-bezier(.3, 1.6, .5, 1), box-shadow .4s; }
.hub-ico svg { width: 44%; height: 44%; fill: none; stroke: currentColor; stroke-width: 1.800; stroke-linecap: round; stroke-linejoin: round; }
.hub-lab { position: absolute; left: 50%; translate: -50% 0; width: 190px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hub-up .hub-lab { bottom: calc(100% + 12px); }
.hub-dn .hub-lab { top: calc(100% + 12px); }
.hub-node b { font-size: 1.08rem; font-weight: 750; letter-spacing: -.02em; color: #a9b9d0; transition: color .4s; }
.hub-node small { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; color: #6f86a6; margin-top: 3px; }
.hub-b { --c: #3a9be0; } .hub-o { --c: #e87a54; } .hub-g { --c: #7dc244; }
.hub-node.lit .hub-ico { border-color: var(--c); color: var(--c); background: color-mix(in srgb, var(--c) 13%, #0e1b31); }
.hub-node.lit b { color: #fff; }
.hub-node.now .hub-ico { background: var(--c); border-color: var(--c); color: var(--navy); transform: scale(1.1); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 20%, transparent), 0 10px 26px color-mix(in srgb, var(--c) 30%, transparent); }
.hub-node.now .hub-ico::after { content: ''; position: absolute; inset: -2px; border-radius: 15px; border: 2px solid var(--c); animation: hubPing 1.1s ease-out 1; opacity: 0; pointer-events: none; }
@keyframes hubPing { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }
.hub-chip { position: absolute; translate: -50% -50%; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; white-space: nowrap; padding: 4px 9px; border-radius: 6px; color: #5d7494; background: var(--navy); border: 1px solid #263c5f; transition: color .4s, border-color .4s, background .4s; }
.hub-chip.lit { color: var(--c); border-color: color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 10%, var(--navy)); }
.hub-chip.now { color: var(--navy); background: var(--c); border-color: var(--c); font-weight: 600; }

@media (max-width: 1040px) { .engine-head { grid-template-columns: 1fr; gap: 16px; } .hub { margin-top: 30px; } }
@media (max-width: 760px) {
  /* the wheel becomes a day-ordered list under the gear; the story stays the same */
  .hub { aspect-ratio: auto; margin-top: 0; }
  .hub-lines, .hub-chip { display: none; }
  .hub-core { position: relative; left: auto; top: auto; translate: none; width: 160px; margin: 6px auto 26px; }
  .hub-read small, .hub-read i { font-size: 7px; } .hub-read b { font-size: 1.15rem; }
  .hub-nodes { position: static; display: grid; gap: 10px; }
  .hub-node { --s: 48px; position: relative; left: auto; top: auto; translate: none; width: auto; height: auto; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; column-gap: 14px; align-items: center; padding: 12px 14px; border: 1.5px solid #22395c; border-radius: 12px; background: #0f1d33; transition: border-color .4s; }
  .hub-node.lit { border-color: color-mix(in srgb, var(--c) 45%, #22395c); }
  .hub-ico { width: 48px; height: 48px; box-shadow: none; }
  .hub-node.now .hub-ico { transform: none; }
  .hub-lab, .hub-up .hub-lab, .hub-dn .hub-lab { position: static; translate: none; width: auto; align-items: flex-start; text-align: left; }
  .hub-node::after { content: attr(data-day); font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--c); white-space: nowrap; }
}

/* the receipt stamp starts oversized and rotated; keep it from widening the page on phones */
.stack { overflow-x: clip; }

/* ---- the team view under the dial: the receipt multiplied by seats, plus the buyer's own time estimate ---- */
.versus { margin-top: 26px; padding: 22px 24px 20px; background: #fffdf8; border: 2px solid var(--ink); border-radius: 14px; font-variant-numeric: tabular-nums; }
.versus-k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink); display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: space-between; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.versus-k span { color: var(--ink-soft); font-weight: 500; }
.versus-rows { margin: 0; }
.versus-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 13px 0; border-bottom: 1px dashed var(--rule); }
.versus-rows dt { font-weight: 600; color: var(--ink); min-width: 0; }
.versus-rows dd { margin: 0; font-family: var(--mono); font-weight: 600; font-size: 1.05rem; white-space: nowrap; color: var(--ink); }
.versus-in { display: block; margin-top: 6px; font-weight: 400; font-size: .95rem; color: var(--ink-soft); line-height: 2; }
.versus-in input { width: 58px; padding: 4px 6px; font: 600 .95rem var(--mono); color: var(--ink); text-align: center; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 6px; }
.versus-in input:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }
.versus-cc dt, .versus-cc dd { color: var(--blue); }
.versus-cc dd::before { content: '\2212\00a0'; }
.versus.is-ent .versus-cc dd::before { content: none; }
.versus-out { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; }
.versus-out span { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.versus-out b { font-family: var(--disp); font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--orange-d); white-space: nowrap; }
.versus-out b::after { content: ' / month'; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--ink-soft); }
.versus-fine { margin-top: 10px; font-size: .86rem; line-height: 1.45; color: var(--ink-soft); }
.price-grid > *, .price-copy > * { min-width: 0; }
.versus { max-width: 100%; }
.versus-in > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
@media (max-width: 560px) {
  .versus { padding: 18px 16px 16px; }
  /* each label on one line, with its amount underneath */
  .versus-rows > div { flex-direction: column; align-items: stretch; gap: 3px; padding: 12px 0; }
  .versus-rows dt { font-size: .94rem; letter-spacing: -.01em; }
  .versus-rows dd { font-size: 1.2rem; }
  .versus-in { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 10px 0 6px; line-height: 1.3; }
  .versus-in input { width: 64px; min-height: 40px; font-size: 16px; }
  .versus-out { flex-direction: column; gap: 6px; }
  .versus-out b { font-size: 2rem; }
}
