/* The waiting list's pages, in Wizardry Glass: its ground, its type, its one accent, and its line as the place to join.
   The pictures share the page's ground exactly, so the application's tiles sit on the page itself. */
:root {
  --ground: #E8E8E8; --tile: #FFFFFF; --text: #1B1B1B; --text-2: #414141; --muted: #585858;
  --accent: #B0461B; --accent-hover: #A63C0B; --on-accent: #FFFFFF; --focus: #B0461B;
  --edge: rgba(0, 0, 0, 0.14); --control: rgba(31, 31, 31, 0.05); --control-hover: rgba(31, 31, 31, 0.08);
  --glass: rgba(255, 255, 255, 0.72); --glass-edge: rgba(0, 0, 0, 0.08); --glass-top: rgba(255, 255, 255, 0.85);
  --float: 0 2px 6px rgba(0, 0, 0, 0.06), 0 18px 50px rgba(0, 0, 0, 0.16);
  --band: linear-gradient(135deg, #E6E4DF, #9C9A94 22%, #D6D4CE 48%, #8E8C86 76%, #C8C6C0); --button: #A5A39D; --foot: #FFFFFF; --bar: #F7F7F7; --ok: #1F7A45; --work: #1F6FD6;
  --wrap: 1240px; --gutter: 24px;
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0E0E0E; --tile: #1B1B1B; --text: #F2F2F2; --text-2: #DDDDDD; --muted: #AAAAAA;
    --accent: #FF5B1F; --accent-hover: #FB784F; --on-accent: #0E0D0B; --focus: #FF6A33;
    --edge: rgba(255, 255, 255, 0.14); --control: rgba(242, 242, 242, 0.07); --control-hover: rgba(242, 242, 242, 0.12);
    --glass: rgba(44, 44, 44, 0.72); --glass-edge: rgba(255, 255, 255, 0.10); --glass-top: rgba(255, 255, 255, 0.08);
    --float: 0 2px 6px rgba(0, 0, 0, 0.3), 0 18px 50px rgba(0, 0, 0, 0.5);
    --band: linear-gradient(135deg, #77777A, #2E2E30 22%, #5E5E62 48%, #262628 76%, #4E4E52); --button: #47474A; --foot: #2C2C2C; --bar: #151515; --ok: #6FD39A; --work: #5B9BF0;
  }
}
@media (max-width: 640px) { :root { --gutter: 16px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; padding-bottom: 150px; background: var(--ground); color: var(--text); font: 400 17px/1.5 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }

h1, h2 { margin: 0; font-weight: 640; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; max-width: 15ch; }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); line-height: 1.06; }
p { margin: 0; }
.lede { max-width: 50ch; margin-top: 22px; color: var(--text-2); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.45; text-wrap: pretty; }

.top, main > section, .foot { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; font-weight: 640; font-size: 17px; letter-spacing: -0.01em; }
.brand { align-items: center; }
.codename { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--tile); box-shadow: 0 0 0 1px var(--glass-edge); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.codename i { padding: 2px 8px; border-radius: 999px; background: var(--control); color: var(--muted); font-size: 12px; font-weight: 500; font-style: normal; }
.brand small { color: var(--muted); font-weight: 400; font-size: 14px; letter-spacing: 0; }
.mark { width: 18px; height: 16px; align-self: center; fill: currentColor; }
.mark-top { fill: var(--accent); }
.top nav { display: flex; gap: 4px; }
.top nav a { padding: 8px 12px; border-radius: 8px; color: var(--text-2); font-size: 14px; font-weight: 500; text-decoration: none; }
.top nav a:hover { background: var(--control); color: var(--text); }
.top nav a[aria-current] { color: var(--text); background: var(--control); }

/* ---------- the hero: the claim, then the application itself ---------- */
/* What a product replaces: the old way struck through, over what is gained. site.js holds it back until it is in view. */
.trade { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 48px; margin: clamp(32px, 4.5vw, 56px) 0 0; padding: 0; list-style: none; }
.trade li { display: grid; align-content: start; gap: 6px; padding-top: 16px; border-top: 1px solid var(--edge); }
.trade s { color: var(--muted); font-size: 15px; text-decoration-thickness: 1px; transition: color 0.5s calc(var(--i) * 0.28s), text-decoration-color 0.5s calc(var(--i) * 0.28s); }
.trade b { font-size: 1.25rem; line-height: 1.2; font-weight: 640; letter-spacing: -0.02em; text-wrap: balance; transition: opacity 0.6s var(--out) calc(0.3s + var(--i) * 0.28s), translate 0.6s var(--out) calc(0.3s + var(--i) * 0.28s); }
.trade.pre s { color: var(--text); text-decoration-color: transparent; }
.trade.pre b { opacity: 0; translate: 0 8px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: end; padding-top: clamp(28px, 6vw, 84px); }
.steps { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--text); font-size: 14px; font-weight: 500; }
.steps li { display: flex; align-items: center; gap: 10px; opacity: 0.4; animation: 14s infinite both; }
.steps li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.steps li:nth-child(1) { animation-name: step1; } .steps li:nth-child(2) { animation-name: step2; }
.steps li:nth-child(3) { animation-name: step3; } .steps li:nth-child(4) { animation-name: step4; }
@keyframes step1 { 0%, 22% { opacity: 1; color: var(--accent); } 25%, 97% { opacity: 0.4; color: inherit; } 100% { opacity: 1; color: var(--accent); } }
@keyframes step2 { 0%, 22% { opacity: 0.4; color: inherit; } 25%, 47% { opacity: 1; color: var(--accent); } 50%, 100% { opacity: 0.4; color: inherit; } }
@keyframes step3 { 0%, 47% { opacity: 0.4; color: inherit; } 50%, 72% { opacity: 1; color: var(--accent); } 75%, 100% { opacity: 0.4; color: inherit; } }
@keyframes step4 { 0%, 72% { opacity: 0.4; color: inherit; } 75%, 97% { opacity: 1; color: var(--accent); } 100% { opacity: 0.4; color: inherit; } }

/* A picture's frame: a browser window on a desk, a phone in the hand. */
.window { margin: 0; border-radius: 14px; overflow: hidden; background: var(--ground); box-shadow: 0 0 0 1px var(--glass-edge), var(--float); }
.window-bar { position: relative; display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--bar); border-bottom: 1px solid var(--glass-edge); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--edge); }
.window-bar span { position: absolute; left: 50%; transform: translateX(-50%); padding: 3px 16px; border-radius: 999px; background: var(--control); color: var(--muted); font-size: 12px; white-space: nowrap; }
.window img { width: 100%; }
/* An iPhone drawn in CSS: a titanium band with its buttons, a black bezel, then the screen with its status bar, island
   and home bar. Every size is in hundredths of the phone's width (cqw), so it holds its shape at any size. */
.device { container-type: inline-size; position: relative; isolation: isolate; border-radius: 15.5% / 7.6%; box-shadow: var(--float); }
.phone { position: relative; padding: 3.1cqw; border-radius: 15.5cqw; background: var(--band); box-shadow: inset 0 0 0 0.3cqw rgba(255, 255, 255, 0.4), inset 0 0 0 0.75cqw rgba(0, 0, 0, 0.22); }
.phone::before, .phone::after { content: ""; position: absolute; z-index: -1; width: 1.6cqw; border-radius: 0.7cqw; background: var(--button); }
.phone::before { left: -0.8cqw; top: 44cqw; height: 49cqw; background: linear-gradient(var(--button) 0 16%, transparent 16% 35%, var(--button) 35% 63%, transparent 63% 71%, var(--button) 71%); }
.phone::after { right: -0.8cqw; top: 66cqw; height: 23cqw; }
/* The screen's foot carries on the colour the picture ends in, so the home bar has room under the last row. */
.screen { position: relative; overflow: hidden; padding-bottom: 3.4cqw; border-radius: 12.4cqw; background: var(--foot); box-shadow: 0 0 0 2.1cqw #050505; }
.status { display: block; width: 100%; background: var(--tile); color: var(--text); fill: currentColor; font-size: 17px; font-weight: 600; letter-spacing: -0.2px; }
.home { position: absolute; left: 50%; bottom: 1.8cqw; width: 30%; height: 1.1cqw; border-radius: 1cqw; background: var(--text); transform: translateX(-50%); }

.hero-window { grid-column: 1 / -1; margin-top: clamp(28px, 4vw, 52px); }
.hero > .draw { width: clamp(300px, 32vw, 440px); height: 230px; }
.book { position: relative; aspect-ratio: 860 / 1720; }

/* The home page's hero: the claim beside one picture, a phone turning the agent's four steps in front of the cloud's map. */
.hero-home { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; padding-top: clamp(20px, 3.5vw, 48px); }
.hero-home h1 { font-size: clamp(2.4rem, 4.5vw, 3.9rem); }
.stage { position: relative; display: flex; padding-left: clamp(96px, 11vw, 150px); }
.stage .hero-window { flex: none; width: 185%; margin-top: 0; }
.hero-device { position: absolute; left: 0; top: 11%; width: clamp(164px, min(17vw, 25vh), 244px); }
.leaf { position: absolute; inset: 0; }
.leaf img { width: 100%; height: 100%; }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 48px; padding-top: clamp(48px, 7vw, 96px); }
.values h3 { margin: 18px 0 0; font-size: 1.25rem; line-height: 1.2; font-weight: 640; letter-spacing: -0.02em; }
.values p { margin-top: 8px; color: var(--text-2); max-width: 34ch; text-wrap: pretty; }
.leaf:nth-child(n + 2) { opacity: 0; animation: 14s infinite both; }
.leaf:nth-child(2) { animation-name: leaf2; } .leaf:nth-child(3) { animation-name: leaf3; } .leaf:nth-child(4) { animation-name: leaf4; }
@keyframes leaf2 { 0%, 24% { opacity: 0; } 25%, 99% { opacity: 1; } 100% { opacity: 0; } }
@keyframes leaf3 { 0%, 49% { opacity: 0; } 50%, 99% { opacity: 1; } 100% { opacity: 0; } }
@keyframes leaf4 { 0%, 74% { opacity: 0; } 75%, 99% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- the three drawings: one clock, --t, runs each from 0 to 100 while it is in view ---------- */
@property --t { syntax: "<number>"; inherits: true; initial-value: 84; }
@keyframes clock { from { --t: 0; } to { --t: 100; } }
@keyframes flow { to { background-position: 16px 50%; } }
.draw { --t: 84; position: relative; height: 200px; max-width: 440px; border-radius: 14px; overflow: hidden; font-size: 12.5px; line-height: 1.3;
  background: radial-gradient(circle, var(--edge) 0.9px, transparent 1.3px) 0 0 / 14px 14px, var(--control); animation: clock 9s linear infinite paused; }
.draw.on, .draw.on .lanes i { animation-play-state: running; }
.draw b { font-weight: 600; }
.draw i { font-style: normal; }
.in { --p: clamp(0, (var(--t) - var(--a)) / 4, 1); opacity: calc(var(--p) - clamp(0, (var(--t) - 95) / 4, 1)); translate: 0 calc((1 - var(--p)) * 6px); }
.card, .chip, .tag { background: var(--tile); box-shadow: 0 0 0 1px var(--glass-edge), 0 8px 20px -14px rgba(0, 0, 0, 0.5); }
.card { display: grid; gap: 3px; padding: 11px 13px; border-radius: 10px; }
.chip, .tag { padding: 4px 10px; border-radius: 999px; color: var(--text-2); white-space: nowrap; }
.tag b { color: var(--text); }

.draw-bill svg { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: inset(0 calc((1 - clamp(0, (var(--t) + 6) / 54, 1)) * 100% + clamp(0, (var(--t) - 97) / 3, 1) * 88%) 0 0); }
.draw-bill path { fill: none; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.bill-work { stroke: var(--work); } .bill-cost { stroke: var(--ok); }
.dot { position: absolute; left: 94%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; }
.bill-work-end { top: 22%; background: var(--work); } .bill-cost-end { top: 73%; background: var(--ok); }
.tag { position: absolute; right: 9%; }
.bill-work-tag { top: 9%; } .bill-cost-tag { top: 79%; }

.draw-ship { display: grid; place-content: center; justify-items: center; gap: 12px; }
.svc { width: 210px; }
.swap { display: grid; color: var(--muted); }
.swap i { grid-area: 1 / 1; }
.was { opacity: calc(1 - clamp(0, (var(--t) - 46) / 3, 1)); }
.now { color: var(--ok); font-weight: 600; opacity: clamp(0, (var(--t) - 47) / 3, 1); }
.units { display: flex; gap: 4px; margin-top: 6px; }
.units i { flex: 1; height: 7px; border-radius: 2px; background: var(--ok); opacity: calc(0.2 + 0.8 * clamp(0, (var(--t) - var(--a)) / 8, 1)); }
.came { display: flex; gap: 6px; }

.draw-join { display: grid; grid-template-columns: auto minmax(36px, 1fr) auto; align-items: center; padding: 0 16px; }
.sources, .lanes { display: grid; gap: 14px; }
.sources .chip { display: flex; align-items: center; gap: 7px; }
.sources .chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.lanes i { height: 27px; background: radial-gradient(circle, var(--ok) 1.8px, transparent 2.4px) 0 50% / 16px 8px repeat-x; animation: flow 0.8s linear infinite paused;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
.lanes i:nth-child(2) { animation-delay: -0.27s; } .lanes i:nth-child(3) { animation-delay: -0.54s; }
.set code { font: 500 11.5px ui-monospace, "SF Mono", Menlo, monospace; color: var(--text-2); }
.set .rows { font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.set span { color: var(--muted); }

.draw-rack { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 20px; }
.rack { width: 184px; }
.rack > span { color: var(--muted); }
.bays { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 8px; margin-top: 8px; }
.bays i { height: 8px; border-radius: 2px; background: linear-gradient(var(--work), var(--work)) 0 0 / calc(20% + 26% * (clamp(0, (var(--t) - var(--a)) / 10, 1) - clamp(0, (var(--t) - 95) / 4, 1))) 100% no-repeat, var(--control); }
.landed { display: grid; gap: 7px; justify-items: start; }
.landed .tag { position: static; margin-top: 6px; }
.landed .tag::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--ok); }

/* ---------- a claim beside its picture ---------- */
.row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: center; padding-block: clamp(44px, 6.5vw, 92px); }
.row-text p, .queue-text ol { max-width: 38ch; margin-top: 16px; color: var(--text-2); text-wrap: pretty; }
.more { display: inline-block; margin-top: 20px; color: var(--accent); font-weight: 600; text-underline-offset: 4px; }
.row-shot { display: flex; }
.row-shot .window { flex: none; width: 150%; }


/* ---------- the queue ---------- */
.queue { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: center; padding-block: clamp(44px, 6.5vw, 92px); scroll-margin-top: 24px; }
.queue-text ol { padding-left: 1.2em; display: grid; gap: 10px; }
.dots { --slot: clamp(10px, 2.3vw, 24px); display: flex; justify-content: flex-end; padding-block: 40px; }
.dots i { position: relative; flex: none; width: var(--slot); height: var(--slot); transition: transform 1.1s var(--out) 0.5s; }
.dots i::before { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: var(--text); opacity: 0.22; }
.dots .you { z-index: 1; transition-duration: 1.4s; }
.dots .you::before { inset: 10%; background: var(--accent); opacity: 1; }
.dots i:first-child b { position: absolute; top: 130%; left: 22%; font-size: 13px; font-weight: 500; font-style: normal; color: var(--muted); white-space: nowrap; }
.dots .you b { position: absolute; top: 130%; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 600; font-style: normal; color: var(--accent); }
.dots.on .passed { transform: translateX(var(--slot)); }
.dots.on .you { transform: translateX(calc(-10 * var(--slot))); }

.close { padding-block: clamp(40px, 8vw, 110px) 24px; }
.close h2 { font-size: clamp(2.6rem, 8vw, 6.5rem); line-height: 0.98; }
.close .go { margin-top: 28px; }

.foot { padding-block: 32px 8px; color: var(--muted); font-size: 14px; }

/* ---------- the one action ---------- */
.go { display: inline-flex; align-items: center; justify-content: center; flex: none; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background 120ms var(--out), transform 120ms var(--out); }
.go:hover { background: var(--accent-hover); }
.go:active { transform: scale(0.97); }

/* ---------- the line: Glass's own bar at the foot of the window, here the place to join ---------- */
.line { position: fixed; z-index: 20; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(620px, 100% - 32px); display: grid; gap: 6px; padding: 8px;
  border-radius: 24px; background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--glass-top), 0 0 0 1px var(--glass-edge), var(--float); color: var(--text); text-decoration: none; }
.line-entry { display: flex; align-items: center; gap: 8px; padding-left: 12px; }
.line-entry input { flex: 1; min-width: 0; height: 44px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: 400 16px/1.2 var(--sans); }
.line-entry input::placeholder { color: var(--muted); }
.line:focus-within { box-shadow: inset 0 1px 0 var(--glass-top), 0 0 0 3px var(--edge), var(--float); }
.line-conf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0 4px 2px; }
.pick { position: relative; display: inline-flex; cursor: pointer; }
.pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px 0 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--edge); color: var(--muted); font-size: 13px; font-weight: 500; }
.pick span::before { content: ""; width: 9px; height: 5px; margin-top: -3px; border: solid transparent; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.pick input:checked + span { background: var(--control); color: var(--text); }
.pick input:checked + span::before { border-color: currentColor; }
.pick input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.line-note { margin-left: auto; padding-right: 6px; color: var(--muted); font-size: 13px; }
.line-note.is-wrong { color: var(--text); font-weight: 500; }
.line-place { grid-auto-flow: column; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding-left: 22px; font-size: 15px; color: var(--text-2); }
.line-place b { color: var(--text); font-weight: 640; font-variant-numeric: tabular-nums; }

/* ---------- your place ---------- */
.place { padding-top: clamp(40px, 9vw, 120px); }
.count { display: flex; flex-wrap: wrap; gap: clamp(28px, 7vw, 96px); margin: clamp(28px, 5vw, 56px) 0 0; }
.count div { display: flex; flex-direction: column-reverse; }
.count dt { color: var(--muted); font-size: 15px; }
.count dd { margin: 0; font-size: clamp(4.2rem, 15vw, 10rem); line-height: 0.95; font-weight: 250; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.count div:first-child dd { color: var(--accent); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.share .go { height: 48px; padding: 0 24px; font-size: 16px; }
.share output { color: var(--text-2); font-size: 15px; }
.link { display: grid; gap: 2px; margin-top: 24px; font-size: 15px; }
.link span { color: var(--muted); font-size: 13px; }
.link a { overflow-wrap: anywhere; text-underline-offset: 4px; }
.place .go { margin-top: 0; }
.place-none .go { margin-top: 28px; }

@media (max-width: 900px) {
  .hero, .hero-home { grid-template-columns: minmax(0, 1fr); }
  .stage { margin-top: 36px; padding-left: clamp(84px, 13vw, 120px); }
  .stage .hero-window { width: 125%; }
  .hero-device { top: 9%; width: clamp(150px, 22vw, 190px); }
  .row, .queue { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .trade { grid-template-columns: minmax(0, 1fr); }
  .hero > .draw { width: 100%; margin-top: 28px; }
  .row-shot .window { width: 100%; }
  /* A narrow screen shows the near half of the window at a size that reads. */
  .zoom picture { display: block; overflow: hidden; }
  .zoom img { width: 210%; max-width: none; }
  .dots { justify-content: flex-start; }
}
@media (max-width: 640px) {
  body { padding-bottom: 170px; }
  .brand small { display: none; }
  .codename { gap: 5px; padding-right: 10px; font-size: 13px; }
  .codename i { padding-inline: 7px; font-size: 11.5px; }
  .top { gap: 8px; }
  .top nav { gap: 0; }
  .top nav a { padding: 8px 6px; font-size: 13px; white-space: nowrap; }
  .hero .hero-window:not(.zoom) { display: none; }
  .stage { display: block; margin-top: 0; padding-left: 0; }
  .hero-device { position: static; width: min(290px, 76vw); margin: 32px auto 0; }
  .zoom img { width: 280%; }
  .line { left: 0; right: 0; bottom: 0; transform: none; width: auto; border-radius: 24px 24px 0 0; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .line-note:empty { display: none; }
  .line-note { flex: 1 0 100%; margin: 0; padding: 2px 6px; }
  .line-place { gap: 12px; padding-left: 18px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .leaf:nth-child(n + 2), .steps li, .draw, .lanes i { animation: none; }
  .trade s, .trade b { transition: none; }
  .leaf:nth-child(3) { opacity: 1; }
  .steps li { opacity: 1; }
  .dots i { transition: none; }
}
