/* Base color tokens */
:root {
  --black: #000;
  --white: #fff;
  --gray50: #f6f6f6;
  --gray100: #eeeeee;
  --gray200: #e2e2e2;
  --gray300: #cbcbcb;
  --gray400: #afafaf;
  --gray500: #757575;
  --gray600: #545454;
  --gray700: #333333;
  --gray800: #1f1f1f;
  --gray900: #141414;
  --blue50: #eff3fe;
  --blue400: #276ef1;
  --blue600: #174291;
  --green50: #e6f2ed;
  --green400: #05944f;
  --green700: #10462d;
  --red50: #ffefed;
  --red400: #e11900;
  --red700: #870f00;
  --yellow50: #fffaf0;
  --yellow300: #ffc043;
  --yellow700: #674d1b;

  --display: 'Uber Move', 'UberMove', Inter, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --text: 'Uber Move Text', 'UberMoveText', Inter, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Uber Move Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 16px rgba(0, 0, 0, .12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .16);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--black);
  font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.r-muted { color: var(--gray500); }

i[data-icon] { display: inline-flex; flex: none; width: 1em; height: 1em; font-style: normal; }
i[data-icon] svg { width: 100%; height: 100%; }

/* ---------- Base components ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  font: 500 16px/1 var(--text); text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.btn i[data-icon] { font-size: 18px; }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--gray700); }
.btn-secondary { background: var(--gray100); color: var(--black); }
.btn-secondary:hover { background: var(--gray200); }

.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px;
  font: 500 14px/1 var(--text); white-space: nowrap;
}
.tag i[data-icon] { font-size: 14px; }
.tag-sm { height: 24px; padding: 0 10px; font-size: 12px; }
.tag-neutral { background: var(--gray100); color: var(--gray800); }
.tag-accent { background: var(--blue50); color: var(--blue600); }
.tag-positive { background: var(--green50); color: var(--green700); }
.tag-negative { background: var(--red50); color: var(--red700); }
.tag-warning { background: var(--yellow50); color: var(--yellow700); box-shadow: inset 0 0 0 1px #ffe3ac; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

.icon-tile {
  display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--gray100); font-size: 22px; color: var(--black);
}
.icon-tile-lg { width: 60px; height: 60px; border-radius: 16px; font-size: 28px; }

.eyebrow { font: 500 14px/1.2 var(--text); color: var(--blue400); letter-spacing: .01em; margin-bottom: 16px; display: block; }
.eyebrow-inv { color: #8fb1f7; }
h1 { font-size: clamp(42px, 5.4vw, 84px); line-height: .98; letter-spacing: -.035em; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.03em; max-width: 18ch; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .wi { display: inline-block; will-change: transform; }

.soft { background: var(--gray50); }
.dark { background: var(--black); color: var(--white); }

/* ---------- Chrome ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress-fill { display: block; height: 100%; background: var(--blue400); transform-origin: left; transform: scaleX(0); }


.cursor {
  position: fixed; left: 0; top: 0; z-index: 70; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--blue400); pointer-events: none; opacity: 0; display: grid; place-items: center;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s, opacity .3s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(39, 110, 241, .18); }
.cursor.is-label { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: var(--blue400); }
.cursor-label { font: 500 12px var(--text); color: var(--white); opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.tally-chip {
  position: fixed; left: 50%; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 18px; border-radius: 999px; background: var(--black); color: var(--white);
  font-size: 13px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .14);
  transform: translate(-50%, 160%); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease), opacity .3s, visibility 0s .5s;
}
.tally-chip.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .5s var(--ease), opacity .3s; }
.tally-chip i[data-icon] { font-size: 16px; }
.tally-bar { width: 96px; height: 4px; border-radius: 2px; background: var(--gray700); overflow: hidden; }
.tally-fill { display: block; height: 100%; background: var(--white); transform-origin: left; transform: scaleX(0); }

/* ---------- Paper ---------- */
.paper {
  position: relative; background: var(--white); color: var(--black); padding: 28px 28px 40px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) bottom / 18px 9px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) bottom / 18px 9px repeat-x;
}
.paper-shadow { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .14)) drop-shadow(0 2px 4px rgba(0, 0, 0, .08)); }
.r-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--black); }
.r-logo { font: 700 18px var(--display); letter-spacing: -.01em; }
.r-logo b { font-weight: 500; }
.r-title { margin-top: 18px; font: 700 44px/1 var(--display); letter-spacing: -.03em; }
.r-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; font-size: 14px; line-height: 1.35; }
.r-parties dt { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--gray500); margin-bottom: 4px; }
.r-parties dd { font-weight: 500; }
.r-parties dd span { color: var(--gray500); font-weight: 400; }
.r-rule { margin: 18px 0 6px; border-top: 1px dashed var(--gray300); }
.r-line { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font: 400 13px var(--mono); }
.r-line span:first-child { color: var(--gray500); }
.r-line span:last-child { text-align: right; }
.r-barcode { height: 40px; margin-top: 18px; background: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 4px, #000 4px 5px, transparent 5px 9px, #000 9px 12px, transparent 12px 14px); opacity: .9; }
.r-center { text-align: center; margin-top: 10px; font-size: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: clamp(24px, 4vh, 48px) 0; }
.hero-grid {
  display: grid; grid-template-columns: 6fr 5fr; grid-template-areas: "copy art" "facts facts";
  grid-template-rows: 1fr auto; column-gap: clamp(32px, 4vw, 64px); row-gap: clamp(24px, 4vh, 40px);
  min-height: min(820px, calc(100svh - 2 * clamp(24px, 4vh, 48px)));
}
.hero-copy { grid-area: copy; align-self: center; }
.hero-copy .tag-row { margin-bottom: clamp(20px, 3vh, 28px); }
.lede { margin-top: clamp(18px, 3vh, 28px); max-width: 52ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--gray700); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 4vh, 36px); }

.hero-art {
  grid-area: art; position: relative; overflow: hidden; border-radius: 32px; background: var(--gray50);
  display: flex; align-items: flex-start; justify-content: center; padding-top: clamp(28px, 6vh, 56px); min-height: 0;
}
.hero-art::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--gray200) 1.2px, transparent 1.2px); background-size: 22px 22px; }
.hero-device { position: relative; z-index: 2; width: min(400px, 84%); }
.printer { position: relative; z-index: 3; height: 30px; border-radius: 15px; background: var(--black); box-shadow: var(--shadow); }
.printer-slot { position: absolute; left: 22px; right: 22px; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--gray700); }
.printer-led { position: absolute; right: 12px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--green400); box-shadow: 0 0 8px var(--green400); }
.print-clip { position: relative; z-index: 2; margin: -14px -14px 0; padding: 0 30px 80px; overflow: hidden; }
.hero-receipt { padding-top: 32px; }
.hero-illicon { position: absolute; z-index: 4; width: clamp(150px, 15vw, 220px); left: -10px; bottom: 8px; }
.hero-hint { position: absolute; z-index: 4; right: 20px; bottom: 18px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); font-size: 12px; }
.hero-hint i[data-icon] { font-size: 14px; }
.shape { position: absolute; z-index: 1; pointer-events: none; }
.shape-a { width: 64px; height: 64px; border-radius: 50%; background: var(--blue400); right: 8%; top: 12%; }
.shape-b { width: 40px; height: 40px; background: var(--yellow300); right: 30%; bottom: 10%; transform: rotate(18deg); border-radius: 6px; }
.shape-c { width: 112px; height: 112px; border-radius: 50%; border: 14px solid var(--green400); left: -36px; top: 30%; }

.facts { grid-area: facts; display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 2px solid var(--black); }
.fact dt { font: 400 13px var(--text); color: var(--gray500); margin-bottom: 6px; }
.fact dd { font: 500 15px/1.35 var(--text); }

/* ---------- Ticker ---------- */
.ticker { background: var(--black); color: var(--white); overflow: hidden; padding: 22px 0; }
.ticker-track {
  display: flex; align-items: center; gap: 28px; width: max-content; white-space: nowrap;
  font: 700 clamp(28px, 3.6vw, 48px)/1 var(--display); letter-spacing: -.02em;
  animation: marquee 38s linear infinite;
}
.ticker-track i[data-icon] { font-size: .7em; color: var(--gray500); }
.ticker-track > * { transform: skewX(var(--skew, 0deg)); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Scene: one → many → one ---------- */
.scene { position: relative; }
.scene-stage { padding: clamp(88px, 10vw, 140px) 0; }
.scene-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.cap + .cap { margin-top: 40px; }
.cap .h2 { font-size: clamp(30px, 3.4vw, 48px); }
.cap p { margin-top: 18px; color: var(--gray600); max-width: 48ch; }
.scene-steps { display: none; gap: 6px; margin-top: 32px; }
.scene-steps span { width: 28px; height: 4px; border-radius: 2px; background: var(--gray200); overflow: hidden; position: relative; }
.scene-steps span::after { content: ''; position: absolute; inset: 0; background: var(--black); transform: scaleX(var(--s, 0)); transform-origin: left; }

.scene-viz { position: relative; aspect-ratio: 1 / .96; max-height: calc(100svh - 64px); border-radius: 28px; background: var(--gray50); overflow: hidden; }
.scene-viz::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--gray200) 1.2px, transparent 1.2px); background-size: 22px 22px; opacity: .9; }
.dash, .viz-counter, .viz-cursor { display: none; }
.dash {
  position: absolute; left: 50%; top: 50%; width: 46%; padding: 14px; border-radius: var(--radius); background: var(--white);
  box-shadow: var(--shadow); font-size: 13px; transform: translate(-50%, -50%);
}
.dash-top { display: flex; align-items: center; gap: 6px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--gray100); font-size: 14px; }
.dash-top i[data-icon] { font-size: 16px; }
.dash-name { color: var(--gray500); white-space: nowrap; }
.dash-row { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; color: var(--gray500); }
.dash-row span:last-child { color: var(--black); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.dash-row i[data-icon] { font-size: 12px; color: var(--gray500); }
.viz-counter { position: absolute; left: 18px; top: 18px; z-index: 5; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); font-size: 12px; }
.viz-counter b { font-size: 14px; }
.viz-cursor { position: absolute; left: 50%; top: 50%; z-index: 6; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 8px; border-radius: 999px; background: var(--black); color: var(--white); font: 500 12px var(--text); box-shadow: var(--shadow-lg); }
.viz-cursor i[data-icon] { font-size: 16px; }

.one {
  position: absolute; inset: 72px 8% 7%; z-index: 4; display: flex; flex-direction: column; padding: 18px; border-radius: 20px;
  background: var(--white); box-shadow: var(--shadow-lg);
}
.one-top { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--gray100); font-size: 15px; }
.one-top .tag { margin-left: auto; }
.one-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray100); flex: 1; }
.one-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--gray100); font-size: 18px; flex: none; }
.one-row div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.one-row b { font: 500 15px var(--text); }
.one-row div span { font-size: 13px; color: var(--gray500); }
.one-prog { margin-left: auto; font-size: 12px; color: var(--gray600); background: var(--gray50); padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.one-foot { padding-top: 12px; font-size: 11px; color: var(--gray500); text-align: center; }

.motion .scene-stage { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 32px 0; }
.motion .scene-captions { display: grid; grid-template-rows: auto auto auto; }
.motion .cap { grid-row: 2; grid-column: 1; margin: 0; }
.motion .scene-steps { display: flex; grid-row: 3; }
.motion .dash, .motion .viz-counter, .motion .viz-cursor { display: flex; }
.motion .dash { display: block; }

/* ---------- Numbers ---------- */
.numbers { position: relative; padding: clamp(96px, 12vw, 160px) 0; overflow: hidden; }
.why { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; padding-top: 20px; border-top: 1px solid var(--gray700); }
.why-item h3 { font-size: 20px; letter-spacing: -.01em; }
.why-item p { margin-top: 6px; color: var(--gray400); font-size: 15px; }
.dark .icon-tile { background: var(--gray800); color: var(--white); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; position: relative; z-index: 1; }
.stat { position: relative; padding: 32px; border-radius: var(--radius-lg); background: var(--gray900); box-shadow: inset 0 0 0 1px var(--gray800); transform-style: preserve-3d; }
.stat-ico { position: absolute; right: 28px; top: 28px; font-size: 24px; color: var(--gray500); }
.stat-n { font: 700 clamp(56px, 6.4vw, 96px)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat p:last-child { margin-top: 14px; color: var(--gray400); font-size: 15px; max-width: 30ch; }
.numbers-illicon { position: absolute; right: clamp(0px, 4vw, 60px); top: 60px; width: clamp(160px, 20vw, 280px); z-index: 0; opacity: .95; }

/* ---------- Process ---------- */
.process { padding: clamp(96px, 12vw, 140px) 0 clamp(64px, 8vw, 100px); }
.process-head { margin-bottom: 48px; }
.process-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step {
  padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--white); box-shadow: 0 0 0 1px var(--gray100), var(--shadow);
  transform-origin: 50% 0;
}
.step-top { display: flex; justify-content: space-between; align-items: flex-start; }
.step-n { font: 700 clamp(64px, 8vw, 120px)/.85 var(--display); letter-spacing: -.05em; color: var(--gray200); }
.step h3 { margin-top: 20px; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.025em; }
.step p { margin-top: 12px; color: var(--gray600); max-width: 52ch; }
.step .tag-row { margin-top: 20px; }

.receipt-wrap { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .12)) drop-shadow(0 2px 4px rgba(0, 0, 0, .06)); position: sticky; top: 24px; }
.receipt { overflow: hidden; padding-bottom: 84px; }
.r-sub { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; }
.r-sub b { font-size: 16px; }
.r-bar { height: 6px; margin-top: 10px; border-radius: 3px; background: var(--gray100); overflow: hidden; }
.r-bar-fill { display: block; height: 100%; background: var(--black); transform-origin: left; transform: scaleX(0); }
.r-items { list-style: none; margin: 16px 0 0; padding: 0; font-size: 13px; }
.r-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--gray300); }
.r-item span:last-child { font-weight: 500; white-space: nowrap; }
.r-pending { color: var(--gray400); }
.r-stamp {
  position: absolute; right: 26px; bottom: 26px; padding: 6px 12px; border: 2.5px solid var(--green400); border-radius: 6px;
  color: var(--green400); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; transform: rotate(-10deg);
}

.pinned .process-stage { height: 100vh; height: 100svh; display: flex; align-items: center; }
.pinned .process-grid { align-items: center; }
.pinned .stack { position: relative; display: block; height: min(460px, calc(100svh - 120px)); }
.pinned .step { position: absolute; inset: 0; }
.pinned .receipt-wrap { position: relative; top: 0; }

/* ---------- Jobs ---------- */
.jobs { padding: clamp(96px, 12vw, 140px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.jobs-illicon { width: clamp(140px, 16vw, 220px); margin-bottom: -24px; }
.jobs-table { margin-top: 48px; border-top: 2px solid var(--black); }
.job { display: grid; grid-template-columns: 64px 1.1fr 1.4fr 1.3fr; gap: 20px; align-items: center; padding: 18px 12px; border-bottom: 1px solid var(--gray100); border-radius: 12px; transition: background-color .2s; }
.job:not(.job-head):hover { background: var(--gray50); }
.job b { font: 500 17px/1.3 var(--text); }
.job span:nth-child(3), .job span:nth-child(4) { color: var(--gray600); font-size: 16px; }
.job-head { padding-top: 14px; padding-bottom: 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--gray500); border-radius: 0; }

/* ---------- Flows ---------- */
.flows { position: relative; padding: clamp(96px, 12vw, 140px) 0; overflow: hidden; }
.route { position: absolute; left: 0; top: 0; width: 120px; height: 100%; display: none; pointer-events: none; }
.route path { fill: none; }
.route-bg { stroke: var(--gray300); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.route-path { stroke: var(--black); stroke-width: 3; stroke-linecap: round; }
.route-puck { position: absolute; left: 0; top: 0; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: var(--black); color: var(--white); display: none; place-items: center; font-size: 18px; box-shadow: var(--shadow-lg); z-index: 2; }
@media (min-width: 1360px) { .route { display: block; } .motion .route-puck { display: grid; } }

.tabs {
  position: sticky; top: 0; z-index: 5; display: flex; gap: 28px; margin: 40px 0 8px; padding-top: 8px;
  background: var(--gray50); box-shadow: inset 0 -1px 0 var(--gray200); overflow-x: auto; scrollbar-width: none;
}
.tab { position: relative; padding: 12px 0 14px; text-decoration: none; font: 500 16px var(--text); color: var(--gray500); white-space: nowrap; transition: color .2s; }
.tab:hover, .tab.is-active { color: var(--black); }
.tab-ink { position: absolute; left: 0; bottom: 0; height: 3px; width: 100px; background: var(--black); border-radius: 2px; transform-origin: left; transition: transform .45s var(--ease), width .45s var(--ease); }

.flow { margin-top: 24px; padding: clamp(20px, 3vw, 36px); border-radius: 28px; background: var(--white); box-shadow: 0 0 0 1px var(--gray100); scroll-margin-top: 80px; }
.flow-head { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.flow-head h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.02em; }
.flow-track { display: flex; align-items: center; }
.fnode {
  position: relative; flex: 0 1 160px; min-width: 112px; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px;
  border-radius: var(--radius); background: var(--gray50); box-shadow: inset 0 0 0 1px var(--gray100); font: 500 14px/1.3 var(--text);
}
.fnode > i[data-icon] { font-size: 22px; }
.fnode-wide { flex-basis: 260px; }
.fnode-end { background: var(--black); color: var(--white); box-shadow: none; }
.fnode-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--gray300); color: var(--gray500); border-style: dashed; }
.fchips { display: flex; flex-wrap: wrap; gap: 4px; }
.fchips em { font: 400 11px/1 var(--text); font-style: normal; padding: 5px 7px; border-radius: 6px; background: var(--white); box-shadow: inset 0 0 0 1px var(--gray200); color: var(--gray700); }
.fline { flex: 1 1 24px; min-width: 18px; height: 2px; background: var(--black); transform-origin: left; transform: scaleX(var(--p, 1)); }
.fbranch { display: flex; flex-direction: column; gap: 8px; flex: 0 1 210px; position: relative; padding-left: 14px; }
.fbranch::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; border-left: 2px solid var(--black); border-radius: 2px; }
.fbranch .fnode { flex: none; flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; font-size: 13px; }
.fbranch .fnode > i[data-icon] { font-size: 18px; }
.for { font-size: 11px; color: var(--gray500); text-align: center; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Notes ---------- */
.notes-sec { padding: clamp(96px, 12vw, 140px) 0; background: var(--white); }
.notes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 48px; }
.note { grid-column: span 2; padding: 28px; border-radius: var(--radius-lg); background: var(--gray50); transform-style: preserve-3d; }
.note:nth-child(4), .note:nth-child(5) { grid-column: span 3; }
.note-mark { font-size: 14px; font-weight: 500; color: var(--blue400); }
.note h3 { margin-top: 12px; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.note p { margin-top: 10px; color: var(--gray600); font-size: 15px; }

/* ---------- Research ---------- */
.research { padding: clamp(96px, 12vw, 160px) 0; overflow: hidden; }
.quotes { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; align-items: start; }
.quote { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--radius-lg); background: var(--gray900); box-shadow: inset 0 0 0 1px var(--gray800); transform-style: preserve-3d; }
.quote .tag { align-self: flex-start; }
.quote blockquote { font: 500 clamp(19px, 1.7vw, 23px)/1.3 var(--display); letter-spacing: -.01em; }
.quote figcaption { display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--gray800); font-size: 14px; color: #8fb1f7; }
.quote:nth-child(2) { margin-top: 48px; }
.quote:nth-child(5) { margin-top: 48px; }
.research .after { margin-top: 48px; max-width: 62ch; color: var(--gray400); font-size: 18px; }

/* ---------- Terms ---------- */
.terms { padding: clamp(80px, 10vw, 120px) 0; }
.terms-stage { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.terms-stage::-webkit-scrollbar { display: none; }
.terms-track { display: flex; gap: 20px; width: max-content; padding: 8px max(clamp(20px, 4vw, 48px), calc((100vw - 1240px) / 2 + 48px)); }
.term {
  position: relative; flex: none; width: min(400px, 78vw); min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  padding: 32px; border-radius: 28px; background: var(--gray50); scroll-snap-align: start; transform-style: preserve-3d;
}
.term .icon-tile { position: absolute; left: 32px; top: 32px; background: var(--white); }
.term-n { position: absolute; right: 32px; top: 36px; font-size: 14px; color: var(--gray500); }
.term h3 { font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -.03em; line-height: 1.02; }
.term p { color: var(--gray600); }
.term-intro { background: transparent; justify-content: center; padding-left: 0; width: min(440px, 80vw); }
.term-intro .h2 { font-size: clamp(36px, 4.4vw, 60px); }
.term-thanks { background: var(--black); color: var(--white); }
.term-thanks p { color: var(--gray400); }
.term-thanks .illicon { position: absolute; right: 16px; top: 16px; width: 64%; }
.pinned-h .terms-stage { overflow: hidden; scroll-snap-type: none; }
.pinned-h .terms { padding: 0; }
.pinned-h .terms-stage { height: 100vh; display: flex; align-items: center; }

/* ---------- Total ---------- */
.total { position: relative; overflow: hidden; }
.total-stage { padding: clamp(96px, 12vw, 140px) 0; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.total-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.total-paper-wrap { position: relative; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5)); max-width: 460px; width: 100%; justify-self: center; }
.bill { padding-bottom: 44px; }
.bill-lines { list-style: none; margin: 14px 0 0; padding: 0; font-size: 14px; }
.bill-lines li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--gray300); }
.bill-designs { font-weight: 500; font-size: 16px; }
.redact { position: relative; display: inline-block; padding: 2px 4px; }
.redact-text { color: var(--gray400); }
.redact-bar { position: absolute; inset: -3px -8px; background: var(--black); border-radius: 2px; transform-origin: left; }
.bill-due { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; padding: 16px 0; border-top: 2px solid var(--black); border-bottom: 4px double var(--black); }
.bill-due span:first-child { font: 500 14px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.bill-amount { font: 700 clamp(22px, 2.4vw, 30px)/1.1 var(--display); letter-spacing: -.02em; text-align: right; }
.bill-terms { margin-top: 12px; font-size: 12px; line-height: 1.4; color: var(--gray600); }
.stamp {
  position: absolute; right: 20px; top: 108px; z-index: 3; padding: 10px 18px; border: 4px solid var(--red400); border-radius: 8px;
  color: var(--red400); font: 700 26px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; transform: rotate(-14deg);
  mix-blend-mode: multiply; opacity: .92;
}
.stamp::after { content: ''; position: absolute; inset: 3px; border: 1.5px solid var(--red400); border-radius: 4px; }

.stub {
  position: relative; display: block; width: 100%; margin-top: -1px; padding: 0; border: 0; background: none; cursor: grab; touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.stub:active { cursor: grabbing; }
.stub-perf { display: block; height: 2px; margin: 0 14px; background: repeating-linear-gradient(90deg, var(--gray300) 0 6px, transparent 6px 12px); }
.stub-body {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; background: var(--white); color: var(--gray600); font-size: 13px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) bottom / 18px 9px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) bottom / 18px 9px repeat-x;
}
.stub:focus-visible { outline: 2px solid var(--blue400); outline-offset: 4px; }
.stub-after { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 13px; color: var(--gray400); opacity: 0; visibility: hidden; transition: opacity .4s .2s, visibility 0s .2s; pointer-events: none; }
.torn .stub-after { opacity: 1; visibility: visible; }

.total-copy { position: relative; }
.total-copy > p { margin-top: 20px; color: var(--gray400); font-size: clamp(17px, 1.4vw, 20px); max-width: 48ch; }
.total-copy .h2 { max-width: 14ch; }


.illicon { pointer-events: none; user-select: none; }
:focus-visible { outline: 2px solid var(--blue400); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .notes, .quotes { grid-template-columns: 1fr 1fr; }
  .note:nth-child(n) { grid-column: auto; }
  .quote:nth-child(n) { margin-top: 0; }
}
@media (max-width: 900px) {
    .scene-grid, .process-grid, .total-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding: 28px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "facts" "art"; grid-template-rows: auto; min-height: 0; row-gap: 24px; }
  .facts { grid-template-columns: 1fr 1fr; justify-content: stretch; row-gap: 14px; }
  .hero-art { min-height: 460px; padding-top: 28px; }
  .hero-illicon { width: 140px; }
  .why, .stats { grid-template-columns: 1fr; }
  .numbers-illicon { position: relative; top: 0; right: 0; margin: 40px auto 0; }
  .receipt-wrap { position: relative; top: 0; }
  .flow-track { flex-direction: column; align-items: stretch; }
  .fnode, .fnode-wide, .fbranch { flex: none; }
  .fline { flex: none; width: 2px; height: 22px; min-width: 0; align-self: center; transform-origin: top; transform: scaleY(var(--p, 1)); }
  .fbranch { padding-left: 14px; }
  .job { grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 16px 4px; }
  .job .icon-tile { grid-row: span 3; align-self: start; }
  .job-head { display: none; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .jobs-illicon { align-self: flex-end; margin: -20px 0 -40px; }
  .total-copy { order: -1; }
  .motion .scene-stage { align-items: flex-start; padding-top: 24px; }
  .motion .scene-grid { gap: 20px; }
  .motion .cap .h2 { font-size: 26px; }
  .motion .cap p { font-size: 15px; margin-top: 10px; }
  .motion .scene-steps { margin-top: 16px; }
  .scene-viz { aspect-ratio: auto; height: min(52svh, 420px); }
  .motion .dash { width: 56%; padding: 10px; font-size: 11px; }
  .motion .dash-top { font-size: 12px; }
  .one { inset: 56px 5% 5%; padding: 14px; }
  .one-row { padding: 6px 0; }
  .one-ico { width: 30px; height: 30px; font-size: 15px; }
  .one-row b { font-size: 14px; }
  .one-row div span { font-size: 12px; }
}
@media (max-width: 640px) {
  .notes, .quotes { grid-template-columns: 1fr; }
  .r-title { font-size: 36px; }
  .one-prog { display: none; }
  .stamp { font-size: 20px; top: 96px; }
  .tally-chip .tally-bar { width: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
