/* Splizebra. Dark, glowing, and in time with the track in the screenshots: 89.10 BPM, so a beat is .6734 s.
   State colors come from the app and still mean states; blue is selection, orange is the action you take. */
@property --glow { syntax: "<color>"; inherits: true; initial-value: #2f86f0; }
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
:root {
  color-scheme: dark;
  --bg: #05050a; --panel: #0d0d15; --panel-2: #15151f; --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.18);
  --ink: #f1f1f6; --soft: #c3c3d0; --muted: #8e8e9e;
  --blue: #2a8cff; --orange: #ff8a24; --curve: #f5a547;
  --intro: #ea4fc3; --rising: #ef8a35; --tension: #a070ec; --calm: #2f86f0; --combat: #e5454f;
  --display: Unbounded, "Segoe UI", system-ui, sans-serif;
  --ui: Manrope, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  --beat: .6734s; --bar: 2.6936s;
  --max: 1240px; --r: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--ui); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--orange); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
code { font: .88em var(--mono); background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 5px; padding: 0 .35em; }
em { font-style: normal; color: #fff; box-shadow: inset 0 -2px 0 var(--orange); }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 60; background: #fff; color: #000; padding: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }

/* Header: glass over whatever is scrolling beneath it. */
.site-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 28px; min-height: 64px; padding: 0 max(16px, calc((100vw - var(--max)) / 2)); background: rgba(5,5,10,.62); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 700 19px var(--display); letter-spacing: -.02em; white-space: nowrap; }
.brand img { width: 50px; height: 25px; object-fit: contain; }
.site-header nav { display: flex; gap: 2px; }
.site-header nav a { padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: var(--soft); text-decoration: none; border-radius: 999px; transition: background .2s, color .2s; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: #fff; background: rgba(255,255,255,.08); }
.platform { margin-left: auto; font-size: 13px; color: var(--muted); text-decoration: none; white-space: nowrap; }
a.platform:hover { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 24px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); font: 600 15.5px var(--ui); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.4); }
.btn-go { background: var(--orange); border-color: var(--orange); color: #120800; box-shadow: 0 10px 40px -8px rgba(255,138,36,.7); }
.btn-go:hover { background: #ffa04d; border-color: #ffa04d; box-shadow: 0 14px 50px -6px rgba(255,138,36,.85); }
.btn-ghost { backdrop-filter: blur(8px); }

/* Hero: drifting color, a live timeline at the track's tempo, and the zebra. */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(100svh, 1000px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: clamp(48px, 9vh, 110px); --pulse: 0; }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; mix-blend-mode: screen; animation: drift 22s ease-in-out infinite alternate; }
.b1 { width: 52vw; height: 52vw; left: -14vw; top: -18vw; background: radial-gradient(circle, var(--tension), transparent 65%); }
.b2 { width: 46vw; height: 46vw; right: -10vw; top: -8vw; background: radial-gradient(circle, var(--calm), transparent 65%); animation-duration: 27s; animation-delay: -8s; }
.b3 { width: 40vw; height: 40vw; left: 30vw; bottom: -16vw; background: radial-gradient(circle, var(--intro), transparent 65%); opacity: .3; animation-duration: 31s; animation-delay: -14s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, 4vw) scale(1.12); } 100% { transform: translate(-4vw, 7vw) scale(.94); } }
.grain { position: absolute; inset: -50%; opacity: .09; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; align-items: center; flex: 1; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); backdrop-filter: blur(10px); font-size: 13.5px; font-weight: 500; color: var(--soft); margin-bottom: 26px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 calc(6px + var(--pulse) * 18px) var(--orange); transform: scale(calc(1 + var(--pulse) * .5)); }
.hero h1 { font-size: clamp(2.7rem, 7.4vw, 6.6rem); line-height: .98; font-weight: 800; letter-spacing: -.035em; max-width: 11.5ch; margin: 0 0 26px; text-wrap: balance; }
.shift { background: linear-gradient(90deg, var(--calm), var(--tension), var(--intro), var(--rising), var(--combat), var(--calm)) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shift 9s linear infinite; }
@keyframes shift { to { background-position: 300% 0; } }
.hero-lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--soft); max-width: 52ch; margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero-mark { position: relative; align-self: center; animation: float calc(var(--bar) * 2) ease-in-out infinite; }
.hero-mark img { position: relative; width: 100%; filter: drop-shadow(0 0 30px rgba(255,255,255,.18)); }
.mark-glow { position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(160,112,236,.55), transparent); filter: blur(30px); opacity: calc(.35 + var(--pulse) * .5); }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
.hero-band { height: clamp(190px, 30vh, 320px); margin-top: 32px; flex: none; }
.hero-readout { font-size: 12.5px; color: var(--muted); margin-top: -4px; padding-bottom: 22px; min-height: 1.6em; letter-spacing: .02em; }

/* Marquee of states */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: linear-gradient(90deg, rgba(47,134,240,.06), rgba(160,112,236,.06), rgba(229,69,79,.06)); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: .45em; padding-right: .6em; font: 800 clamp(2.6rem, 7vw, 6rem)/1 var(--display); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.28); }
.marquee span::before { content: ""; width: .28em; height: .28em; border-radius: 50%; background: var(--c); box-shadow: 0 0 24px var(--c); }
.marquee span:nth-child(3n + 1) { color: var(--c); -webkit-text-stroke: 0; text-shadow: 0 0 40px color-mix(in srgb, var(--c) 50%, transparent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { position: relative; padding: clamp(80px, 12vw, 150px) 0 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin-bottom: 18px; }
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--k); box-shadow: 0 0 14px var(--k); }
.section h2 { font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; margin-bottom: 22px; text-wrap: balance; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
.lede { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--soft); max-width: 62ch; margin-bottom: 40px; }
.note { font-size: 14.5px; color: var(--muted); max-width: 80ch; margin-top: 18px; }
strong { color: #fff; font-weight: 700; }

/* Stage: the glow takes the color of whichever state the sketch is playing. */
.stage::before { content: ""; position: absolute; inset: 0 0 auto; height: 100%; z-index: -1; pointer-events: none; background: radial-gradient(60% 45% at 50% 42%, color-mix(in srgb, var(--glow) 22%, transparent), transparent 70%); transition: --glow 1.2s var(--ease); }
.stage { isolation: isolate; transition: --glow 1.2s var(--ease); }
.sim { border-radius: 20px; overflow: hidden; background: rgba(13,13,21,.72); border: 1px solid var(--line-2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 40px 120px -30px color-mix(in srgb, var(--glow) 60%, transparent), inset 0 1px 0 rgba(255,255,255,.08); transition: box-shadow 1.2s var(--ease); }
.sim-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.sim-play { min-height: 40px; min-width: 92px; padding: 6px 18px; }
.sim-play[aria-pressed="true"] { border-color: var(--glow); box-shadow: 0 0 22px -4px var(--glow); }
.sim-pos { font-size: 13px; color: var(--soft); min-width: 13ch; }
.sim-join { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-left: auto; padding: 4px; border-radius: 999px; background: rgba(0,0,0,.35); border: 1px solid var(--line); }
.sim-join span { font-size: 12px; color: var(--muted); padding: 0 8px 0 10px; }
.sim-join button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--soft); cursor: pointer; transition: background .2s, color .2s; }
.sim-join button:hover { color: #fff; }
.sim-join button[aria-pressed="true"] { background: var(--blue); color: #fff; box-shadow: 0 4px 18px -4px var(--blue); }
#sim-canvas { display: block; width: 100%; height: 240px; }
.sim-states { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); }
.sim-states button { display: grid; gap: 2px; text-align: left; padding: 14px 16px 12px 42px; position: relative; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line); cursor: pointer; transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; }
.sim-states button::before { content: ""; position: absolute; left: 16px; top: 20px; width: 14px; height: 14px; border-radius: 4px; background: var(--c); box-shadow: 0 0 14px var(--c); }
.sim-states button:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.sim-states button[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 16%, transparent); border-color: var(--c); box-shadow: 0 10px 40px -12px var(--c); }
.sim-states button.queued { border-color: var(--orange); border-style: dashed; }
.sim-states b { font: 700 1.05rem var(--display); letter-spacing: -.01em; }
.sim-states small { font: 12px var(--mono); color: var(--muted); }
.sim-states button.queued small { color: var(--orange); }
.sim-log { list-style: none; margin: 0; padding: 12px 18px 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); min-height: 6em; background: rgba(0,0,0,.25); }
.sim-log li:first-child { color: var(--ink); }

.join-explainer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 110px; }
.join-diagram { width: 100%; height: auto; padding: 18px; border-radius: var(--r); background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.join-diagram .grid line { stroke: var(--line-2); }
.join-diagram text { font: 12px var(--mono); fill: var(--muted); }
.join-diagram .lab { fill: #fff; font-size: 13px; }
.join-diagram .cap { fill: var(--soft); }
.join-diagram .strong { fill: #fff; }
.join-diagram .curve { stroke: var(--curve); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 5px var(--curve)); }
.join-diagram .beat { stroke: #fff; stroke-dasharray: 4 3; }
html.js .join-diagram:not(.in) .curve { stroke-dashoffset: 1; }
.join-diagram .curve { transition: stroke-dashoffset 1.4s .5s var(--ease); }
.join-explainer p { color: var(--soft); }
.terms { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 24px 0 0; font-size: 15.5px; }
.terms dt { font: 500 13px var(--mono); color: #fff; padding-top: 3px; }
.terms dd { margin: 0; color: var(--soft); }

/* Workspaces */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-top: 12px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.tabs button { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; border-radius: 999px; padding: 10px 20px; font-size: 15px; font-weight: 600; color: var(--soft); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.tabs button span { font-size: 12px; color: var(--muted); transition: color .25s; }
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { background: var(--a); color: #fff; box-shadow: 0 8px 30px -8px var(--a); }
.tabs button[aria-selected="true"] span { color: rgba(255,255,255,.8); }
.ws { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 48px; padding-top: 40px; perspective: 1600px; }
.ws[hidden] { display: none; }
html.js .ws:not([hidden]) { animation: ws-in .6s var(--ease); }
@keyframes ws-in { from { opacity: 0; transform: translateY(12px); } }
.shot { position: relative; display: block; align-self: start; padding: 0; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #000; cursor: zoom-in; box-shadow: 0 50px 120px -40px var(--a), 0 0 0 1px rgba(255,255,255,.04); transition: transform .9s var(--ease), box-shadow .4s; }
html.js .shot[data-reveal]:not(.in) { transform: rotateX(16deg) translateY(40px) scale(.94); opacity: 0; }
.shot:hover { box-shadow: 0 60px 140px -36px var(--a), 0 0 0 1px rgba(255,255,255,.18); }
.ws-text > p { color: var(--soft); }
.controls { margin: 22px 0 0; }
.controls dt { font: 500 13px var(--mono); color: #fff; padding-top: 14px; display: flex; align-items: center; gap: 8px; }
.controls dt::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--a); box-shadow: 0 0 10px var(--a); }
.controls dd { margin: 3px 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--soft); font-size: 15.5px; }

/* Export */
.export::before { content: ""; position: absolute; inset: 20% 0 0; z-index: -1; background: radial-gradient(50% 50% at 70% 50%, rgba(255,138,36,.1), transparent 70%), radial-gradient(40% 50% at 20% 60%, rgba(47,134,240,.1), transparent 70%); pointer-events: none; }
.export { isolation: isolate; }
.files { display: grid; grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr); align-items: center; margin-top: 36px; }
.file { position: relative; border-radius: var(--r); background: rgba(13,13,21,.8); border: 1px solid var(--line-2); padding: 26px 28px; overflow: hidden; }
.file::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--c), transparent); }
.file > p { color: var(--soft); margin: 0 0 14px; }
.file .file-name { color: #fff; font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.flow { width: 100%; overflow: visible; }
.flow line { stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: 6 7; animation: flow var(--beat) linear infinite; }
.flow path { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes flow { to { stroke-dashoffset: -13; } }
.tree, .tree ul { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.tree ul { margin: 6px 0 8px 10px; padding-left: 16px; border-left: 1px solid var(--line-2); }
.tree li { padding: 4px 0; }
.tree span { color: #fff; }
.tree small { display: block; font-size: 12.5px; color: var(--muted); }
.after-files { color: var(--soft); max-width: 80ch; margin-top: 30px; }

/* Price: cards with a light running around the border. */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.price-card { position: relative; isolation: isolate; border-radius: 22px; padding: 32px 32px 30px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 14%, #0d0d15), #0a0a12 60%); }
.price-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1; background: conic-gradient(from var(--angle), rgba(255,255,255,.12) 0 55%, var(--c) 75%, #fff 80%, var(--c) 85%, rgba(255,255,255,.12) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: spin 7s linear infinite; }
.price-card + .price-card::before { animation-delay: -3.5s; }
@keyframes spin { to { --angle: 360deg; } }
.price-card .who { font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }
.price-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.amount { font: 800 clamp(3.4rem, 7vw, 5.4rem)/1 var(--display); letter-spacing: -.05em; margin: 10px 0 18px; background: linear-gradient(180deg, #fff 30%, var(--c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.amount small { font-size: 14px; font-weight: 500; letter-spacing: 0; -webkit-text-fill-color: var(--soft); }
.price-card > p:last-child { color: var(--soft); margin: 0; }

/* Manual */
.articles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0 0 28px; }
.articles a { display: flex; flex-direction: column; gap: 22px; height: 100%; padding: 20px 22px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 16.5px; transition: transform .3s var(--ease), border-color .3s, background .3s; }
.articles a span { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.articles a:hover { transform: translateY(-4px); border-color: rgba(234,79,195,.6); background: rgba(234,79,195,.07); }

/* Footer */
.site-footer { margin-top: clamp(100px, 14vw, 180px); border-top: 1px solid var(--line); overflow: hidden; font-size: 14px; color: var(--muted); }
.footer-word { font: 800 clamp(4rem, 17vw, 15rem)/1 var(--display); letter-spacing: -.05em; text-align: center; margin: 30px 0 -10px; padding-bottom: .08em; color: transparent; background: linear-gradient(90deg, var(--calm), var(--tension), var(--intro), var(--rising), var(--calm)) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; opacity: .42; animation: shift 24s linear infinite; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 20px 0 26px; }
.footer-inner p { margin: 0; }

.image-dialog { padding: 40px 12px 12px; background: #05050a; border: 1px solid var(--line-2); border-radius: 14px; color: #fff; max-width: min(96vw, 1700px); max-height: 94vh; }
.image-dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(6px); }
.image-dialog img { max-height: 84vh; object-fit: contain; border-radius: 6px; }
.image-dialog p { font-size: 13px; color: var(--soft); margin: 8px 0 0; }
.lightbox-close { position: absolute; right: 8px; top: 6px; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #000; border: 0; font-size: 20px; line-height: 1; cursor: pointer; }

/* Reveal on scroll, only when the script can undo it. */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
html.js [data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .platform, .hero-mark { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .join-explainer, .ws { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sim-join { margin-left: 0; }
  .files { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .flow { width: 44px; height: 70px; margin: 0 auto; transform: rotate(90deg); }
  .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .site-header { gap: 10px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 6px; }
  .site-header nav { overflow-x: auto; width: 100%; scrollbar-width: none; }
  .site-header nav a { white-space: nowrap; padding: 6px 10px; font-size: 14px; }
  .hero { min-height: 0; }
  .hero-band { height: 170px; }
  .prices, .articles { grid-template-columns: minmax(0, 1fr); }
  .price-card { padding: 26px 22px; }
  #sim-canvas { height: 200px; }
  .sim-top { padding: 12px; }
  .sim-join { width: 100%; justify-content: space-between; }
  .sim-join span { display: none; }
  .sim-join button { padding: 7px 10px; font-size: 12.5px; }
  .sim-states { gap: 6px; padding: 10px; }
  .sim-states button { padding: 12px 8px 10px 30px; border-radius: 10px; }
  .sim-states button::before { left: 10px; top: 17px; width: 11px; height: 11px; }
  .sim-states b { font-size: .92rem; }
  .sim-states small { font-size: 10.5px; }
  .tabs { border-radius: 16px; }
  .tabs button { padding: 9px 14px; font-size: 14px; }
  .file { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js .join-diagram .curve { stroke-dashoffset: 0; }
}
