/* curavallier.com — one stylesheet: fonts, tokens, the studio and the Snake Rush world.
   Generated from the Curavallier design system; edit freely. */

@font-face { font-family: "Funnel Display"; src: url("/assets/fonts/funnel-display-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url("/assets/fonts/funnel-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url("/assets/fonts/funnel-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/assets/fonts/outfit-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/assets/fonts/outfit-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/assets/fonts/outfit-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/assets/fonts/outfit-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/assets/fonts/outfit-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  /* colors: the studio (site-*) and the Snake Rush world */
  --site-paper: #ffffff;
  --site-tint: #f3f4f6;
  --site-line: #e3e6ea;
  --site-ink: #0f1114;
  --site-ink-2: #4a515c;
  --site-ink-3: #5f6673;
  --site-on-ink: var(--site-paper);
  --bg-void: #05050a;
  --bg-deep: #0b0b14;
  --bg-elev: #12121e;
  --bg-track: #0e0e1a;
  --fg-1: #ffffff;
  --fg-2: #ffffffb8;
  --fg-3: #ffffff75;
  --fg-4: #ffffff3d;
  --neon-lime: #3dff9e;
  --neon-lime-hi: #5bffb0;
  --neon-lime-deep: #12c97a;
  --neon-cyan: #29e3ff;
  --neon-cyan-hi: #5fedff;
  --neon-cyan-deep: #0fa8d8;
  --neon-magenta: #ff3dc4;
  --neon-magenta-deep: #d31a9b;
  --neon-violet: #8b5cff;
  --neon-violet-deep: #6733e0;
  --neon-amber: #ffc53d;
  --neon-amber-hi: #ffde79;
  --neon-amber-deep: #e09a00;
  --neon-red: #ff4d5e;
  --neon-red-deep: #d62b45;
  --on-neon: #04140c;
  --glass-hi: #ffffff17;
  --glass-fill: #ffffff0f;
  --glass-stroke: #ffffff24;
  --rim-light: #ffffff4d;
  /* shadows and glows */
  --site-raise: 0 1px 2px #0f11140f, 0 32px 64px -32px #0f111466;
  --site-focus: 0 0 0 2px #ffffff, 0 0 0 4px #0f1114;
  --glow-lime: 0 0 20px #3dff9ebd;
  --glow-cyan: 0 0 20px #29e3ffbd;
  --glow-magenta: 0 0 20px #ff3dc4bd;
  --glow-violet: 0 0 20px #8b5cffbd;
  --glow-amber: 0 0 20px #ffc53dbd;
  --glow-red: 0 0 20px #ff4d5ebd;
  --shadow-depth: 0 16px 40px #00000099;
  --focus-ring: 0 0 0 2px #05050a, 0 0 0 4px #29e3ff;
  /* spacing and corners */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 20px;
  --s6: 24px;
  --s8: 32px;
  --s10: 40px;
  --s12: 48px;
  --s16: 64px;
  --s24: 96px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  /* type families */
  --font-studio-display: "Funnel Display", "Funnel Sans", system-ui, sans-serif;
  --font-studio: "Funnel Sans", system-ui, sans-serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* Shared reset. Colours, sizes and radii come from tokens.css, which the preview frame (and later the site) loads first. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, p, ul, ol, dl, dt, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.cv-defs { position: absolute; }

/* Curavallier, the studio: white paper, black ink and one slanted C. The studio has no colour of its own;
   colour arrives with the apps, each in its own window. Layout: a 1104px column with 48px gutters, left-aligned. */
.st-root {
  min-height: 100vh; background: var(--site-paper); color: var(--site-ink);
  font: 400 17px/27px var(--font-studio); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  color-scheme: light; overflow-x: hidden;
}
.st-root :focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: var(--site-focus); border-radius: var(--radius-sm); }
.st-root .cv-world :focus-visible { box-shadow: var(--focus-ring); }
.st-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--s12); }

/* the mark: the C tile leaning forward 10 degrees, 43.19 x 40. Ink only; 18px next to the 22px name. */
.st-mark { display: block; flex: none; width: auto; aspect-ratio: 43.19 / 40; height: 18px; fill: currentColor; color: var(--site-ink); }

/* ---- type ---- */
.st-meta { font: 500 12px/16px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--site-ink-3); }
.st-display { font: 600 76px/.98 var(--font-studio-display); letter-spacing: -.03em; text-wrap: balance; }
.st-title { font: 600 48px/52px var(--font-studio-display); letter-spacing: -.02em; text-wrap: balance; }
.st-heading { font: 600 32px/36px var(--font-studio-display); letter-spacing: -.02em; }
.st-lead { font: 400 20px/31px var(--font-studio); color: var(--site-ink-2); max-width: 520px; }
.st-note { font: 400 17px/27px var(--font-studio); color: var(--site-ink-2); }

/* ---- buttons: sentence case, a verb first. Ink is the primary action, an ink outline the second. ---- */
.st-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s6); border-radius: var(--radius-pill);
  font: 500 15px/20px var(--font-studio); white-space: nowrap;
  transition: background-color 150ms ease-out, transform 90ms ease-out;
}
.st-btn svg { width: 18px; height: 18px; flex: none; }
.st-btn:active { transform: scale(.97); }
.st-btn--ink { background: var(--site-ink); color: var(--site-on-ink); }
.st-btn--ink:hover { background: var(--site-ink-2); }
.st-btn--line { color: var(--site-ink); box-shadow: inset 0 0 0 1.5px var(--site-ink); }
.st-btn--line:hover { background: var(--site-tint); }

/* ---- the bar: the site's header on every page, the game's included ---- */
.st-bar { background: var(--site-paper); position: relative; z-index: 2; }
.st-bar--rule { box-shadow: inset 0 -1px 0 var(--site-line); }
.st-bar__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s6); min-height: 76px; }
.st-brand { display: inline-flex; align-items: center; gap: 8px; font: 600 22px/1 var(--font-studio-display); letter-spacing: -.02em; color: var(--site-ink); }
.st-nav { display: flex; align-items: center; gap: var(--s8); }
.st-nav a { font: 500 15px/20px var(--font-studio); color: var(--site-ink-2); padding-block: var(--s3); }
.st-nav a:hover, .st-nav a[aria-current] { color: var(--site-ink); }

/* ---- home: the statement and the board ---- */
.st-hero { display: grid; grid-template-columns: minmax(0, 1fr) 432px; gap: var(--s16); align-items: center; padding-block: 56px 112px; }
.st-hero .st-display { margin-top: var(--s5); }
.st-hero .st-lead { margin-top: var(--s6); }
/* a home screen of app tiles, leaning forward like the mark; one of them is the C */
.st-art { display: block; width: 100%; height: auto; }
.st-art .t { fill: var(--site-tint); }
.st-art .c { fill: var(--site-ink); }

/* ---- sections ---- */
.st-section { padding-bottom: var(--s24); }
.st-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s6); padding-bottom: var(--s5); margin-bottom: var(--s8); box-shadow: inset 0 -1px 0 var(--site-line); }

/* ---- a game's window: the game's own world, framed by the studio's page ---- */
.st-window { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); min-height: 460px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--site-raise); --world: var(--neon-magenta); }
.st-window__text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; padding: var(--s12); }
.st-window__text .cv-name { margin-top: var(--s6); }
.st-window__text .cv-meta { margin-top: var(--s3); }
.st-window__text .cv-text { font: 400 17px/27px var(--font-sans); color: var(--fg-2); max-width: 440px; margin-top: var(--s6); }
.st-window__text .cv-actions { margin-top: auto; padding-top: var(--s10); }
.st-window__art { position: relative; min-height: 320px; }
.st-window__art .cv-road { position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }

/* ---- contact ---- */
.st-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5) var(--s16); align-items: end; }
.st-contact .st-note { margin-top: var(--s3); }
.st-mail { justify-self: start; font: 600 44px/1.1 var(--font-studio-display); letter-spacing: -.02em;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 10px; text-decoration-color: var(--site-line); transition: text-decoration-color 150ms ease-out; }
.st-mail:hover { text-decoration-color: var(--site-ink); }

/* ---- the footer: on every page ---- */
.st-foot { background: var(--site-paper); box-shadow: inset 0 1px 0 var(--site-line); }
.st-foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s6); padding-block: var(--s8) var(--s10); font: 400 14px/20px var(--font-studio); color: var(--site-ink-3); }
.st-foot__brand { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; font: 600 16px/1 var(--font-studio-display); letter-spacing: -.01em; color: var(--site-ink); }
.st-foot__brand .st-mark { height: 13px; }
.st-foot a { color: var(--site-ink-2); }
.st-foot a:hover { color: var(--site-ink); }

/* ---- documents: privacy policies and the like ---- */
.st-doc { display: grid; grid-template-columns: 216px minmax(0, 680px); column-gap: var(--s16); padding-block: var(--s16) var(--s24); }
.st-doc__head { grid-column: 2; padding-bottom: var(--s12); }
.st-crumbs { display: flex; gap: var(--s2); }
.st-crumbs a { color: var(--site-ink-2); }
.st-crumbs a:hover { color: var(--site-ink); }
.st-doc__head .st-title { margin-top: var(--s5); }
.st-doc__head .st-meta:last-child { margin-top: var(--s5); }
.st-toc { grid-column: 1; grid-row: 2; align-self: start; position: sticky; top: var(--s8); }
.st-toc .st-meta { margin-bottom: var(--s3); }
.st-toc ol { display: grid; gap: 2px; }
.st-toc a { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: baseline; padding-block: 6px; font: 500 15px/20px var(--font-studio); color: var(--site-ink-2); }
.st-toc a span { font: 500 12px/20px var(--font-mono); color: var(--site-ink-3); }
.st-toc a:hover { color: var(--site-ink); }
.st-prose { grid-column: 2; grid-row: 2; }
.st-prose section { margin-top: var(--s12); scroll-margin-top: var(--s8); }
.st-prose h2 { display: flex; align-items: baseline; gap: var(--s3); font: 600 22px/28px var(--font-studio-display); letter-spacing: -.01em; }
.st-prose h2 span { font: 500 12px/28px var(--font-mono); color: var(--site-ink-3); }
.st-prose p { color: var(--site-ink-2); margin-top: var(--s3); }
.st-prose a:not(.st-btn) { color: var(--site-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--site-ink-3); }
.st-prose a:not(.st-btn):hover { text-decoration-color: var(--site-ink); }
.st-defs { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--s2) var(--s6); margin-top: var(--s4); }
.st-defs dt { font-weight: 500; color: var(--site-ink); }
.st-defs dd { color: var(--site-ink-2); }
.st-summary { background: var(--site-tint); border-radius: var(--radius-lg); padding: var(--s8); }
.st-summary h2 { font: 600 22px/28px var(--font-studio-display); letter-spacing: -.01em; }
.st-summary ul { display: grid; gap: var(--s3); margin-top: var(--s5); }
.st-summary li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: var(--s4); align-items: baseline; color: var(--site-ink); }
.st-summary li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--site-ink); transform: translateY(-1px); }
.st-prose .st-btn { margin-top: var(--s12); }

@media (prefers-reduced-motion: reduce) { .st-btn, .st-mail { transition: none; } }

/* ---- phone ---- */
@media (max-width: 760px) {
  .st-wrap { padding-inline: var(--s4); }
  .st-bar__in { min-height: 64px; }
  .st-brand { font-size: 19px; gap: 7px; }
  .st-brand .st-mark { height: 16px; }
  .st-nav { gap: var(--s5); }
  .st-nav a { font-size: 14px; }
  .st-hero { grid-template-columns: minmax(0, 1fr); gap: var(--s10); padding-block: var(--s6) var(--s16); }
  .st-display { font-size: 44px; line-height: 1; }
  .st-lead { font-size: 17px; line-height: 27px; }
  .st-section { padding-bottom: var(--s16); }
  .st-heading { font-size: 26px; line-height: 30px; }
  .st-window { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .st-window__art { order: -1; min-height: 260px; }
  .st-window__art .cv-road { -webkit-mask-image: linear-gradient(0deg, transparent, #000 35%); mask-image: linear-gradient(0deg, transparent, #000 35%); }
  .st-window__text { padding: 0 var(--s6) var(--s6); }
  .st-window__text .cv-text { font-size: 15px; line-height: 23px; }
  .st-window__text .cv-actions { align-self: stretch; flex-direction: column; padding-top: var(--s8); }
  .st-contact { grid-template-columns: minmax(0, 1fr); }
  .st-mail { font-size: 26px; text-underline-offset: 6px; }
  .st-doc { grid-template-columns: minmax(0, 1fr); padding-block: var(--s10) var(--s16); }
  .st-doc__head, .st-toc, .st-prose { grid-column: 1; grid-row: auto; }
  .st-doc__head { padding-bottom: var(--s8); }
  .st-toc { position: static; padding-bottom: var(--s4); }
  .st-title { font-size: 34px; line-height: 38px; }
  .st-defs { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .st-defs dd + dt { margin-top: var(--s3); }
}

/* The Snake Rush world: the game's own look. It fills the game's page and its window on the studio's home page.
   Everything inside .cv-world uses the game's tokens; nothing of the studio's leaks in. */
.cv-world { background: var(--bg-void); color: var(--fg-1); font: 400 15px/23px var(--font-sans); -webkit-font-smoothing: antialiased; color-scheme: dark; }
.cv-world :focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }

/* numbers and metadata: JetBrains Mono, tabular */
.cv-num { font-family: var(--font-mono); font-weight: 700; font-variant-numeric: tabular-nums; }
/* caption style: micro-label in caps */
.cv-eyebrow { font: 600 11px/14px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.cv-meta { font-size: 12px; line-height: 16px; letter-spacing: .06em; color: var(--fg-3); }
.cv-lead { font: 400 19px/30px var(--font-sans); color: var(--fg-2); max-width: 500px; margin-top: var(--s6); }
.cv-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s8); }

/* the game's wordmark: SNAKE in fg-1, RUSH in neon-lime, Outfit 900 caps */
.cv-name { font: 900 44px/1 var(--font-sans); letter-spacing: -.02em; text-transform: uppercase; }
.cv-name b { font-weight: inherit; color: var(--neon-lime); text-shadow: var(--glow-lime); }

/* the game icon: adaptive-icon safe zone, corners from the radius scale */
.cv-icon { display: block; flex: none; overflow: hidden; background: var(--bg-deep); box-shadow: 0 0 0 1px var(--glass-stroke); }
.cv-icon svg { width: 100%; height: 100%; }
.cv-icon--56 { width: 56px; height: 56px; border-radius: var(--radius-md); }
.cv-icon--72 { width: 72px; height: 72px; border-radius: var(--radius-lg); }
.cv-icon--96 { width: 96px; height: 96px; border-radius: var(--radius-xl); }

/* glass panel */
.cv-glass { background: linear-gradient(180deg, var(--glass-hi), var(--glass-fill) 64px); border: 1px solid var(--glass-stroke); border-radius: var(--radius-lg); }

/* buttons: label style, caps, 1–2 words. Press = the light goes out. */
.cv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s3);
  min-height: 56px; padding: 0 var(--s8); border-radius: var(--radius-xl);
  font: 800 15px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  transition: transform 90ms ease-out, box-shadow 90ms ease-out, filter 120ms ease-out;
}
.cv-btn svg { width: 20px; height: 20px; flex: none; }
.cv-btn:active { transform: scale(.955); }
.cv-btn--primary { color: var(--on-neon); background: linear-gradient(180deg, var(--neon-lime-hi), var(--neon-lime-deep)); box-shadow: inset 0 0 0 1px var(--rim-light), var(--glow-lime); }
.cv-btn--primary:hover { filter: brightness(1.06); }
.cv-btn--primary:active { box-shadow: inset 0 0 0 1px var(--rim-light), var(--shadow-depth); }
.cv-btn--glass { color: var(--fg-1); background: linear-gradient(180deg, var(--glass-hi), var(--glass-fill)); box-shadow: inset 0 0 0 1px var(--glass-stroke); }
.cv-btn--glass:hover { background: var(--glass-hi); }
.cv-btn--xl { min-height: 64px; font-size: 17px; padding: 0 var(--s10); }

/* a phone screenshot: no device chrome, just the screen */
.cv-shot { display: block; aspect-ratio: 540 / 1205; overflow: hidden; background: var(--bg-deep); border: 1px solid var(--glass-stroke); border-radius: var(--radius-xl); box-shadow: var(--shadow-depth); }
.cv-shot img { width: 100%; height: 100%; object-fit: cover; }

/* the road: a web rendition of the game's RoadBackdrop, with the world's bloom */
.cv-road { display: block; max-width: none; }

/* ---- the game's page ---- */
.cv-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--s12); }
.cv-hero { position: relative; isolation: isolate; overflow: hidden; --world: var(--neon-lime); }
.cv-stage { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cv-hero .cv-road { position: absolute; top: 0; right: max(0px, calc(50% - 632px)); width: min(62%, 760px); height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%); mask-image: linear-gradient(90deg, transparent, #000 34%); }
/* lets the road sink into the page below */
.cv-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg-void), transparent 96px); }

.cv-crumbs { display: flex; gap: var(--s2); padding-top: var(--s10); font: 600 11px/14px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.cv-crumbs a { color: var(--fg-2); }
.cv-crumbs a:hover { color: var(--fg-1); }

.cv-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s16); align-items: center; padding-block: var(--s8) 112px; }
.cv-gamemark { font: 900 104px/.88 var(--font-sans); letter-spacing: -.03em; text-transform: uppercase; margin-top: var(--s6); }
.cv-gamemark span { display: block; }
.cv-gamemark b { font-weight: inherit; color: var(--neon-lime); text-shadow: 0 0 28px color-mix(in srgb, var(--neon-lime) 55%, transparent); }
.cv-hero__grid .cv-meta { margin-top: var(--s5); }
.cv-hero__shot { position: relative; }
.cv-hero__shot::before { content: ""; position: absolute; inset: -14%; background: radial-gradient(closest-side, color-mix(in srgb, var(--neon-lime) 26%, transparent), transparent); }
.cv-hero__shot .cv-shot { position: relative; }

.cv-section { padding-block: 0 var(--s24); }
.cv-section__head { display: flex; align-items: center; gap: var(--s4); margin-bottom: var(--s6); }
.cv-section__head::after { content: ""; flex: 1; height: 1px; background: var(--glass-stroke); }

/* how it plays: the game's own gates as feature tiles */
.cv-gates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); }
.cv-gates li { display: flex; flex-direction: column; }
.cv-gate {
  --ink: var(--neon-lime);
  display: grid; place-items: center; height: 112px; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-sm);
  border: 2px solid var(--ink); color: var(--ink);
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 24%, var(--bg-deep)), color-mix(in srgb, var(--ink) 10%, var(--bg-deep)));
  font: 800 44px/48px var(--font-mono); font-variant-numeric: tabular-nums;
}
.cv-gate--bad { --ink: var(--neon-red); }
.cv-gate--laser { --ink: var(--neon-red); }
.cv-gate--laser::before { content: ""; width: 72%; height: 6px; border-radius: var(--radius-pill); background: var(--neon-red); box-shadow: var(--glow-red); }
.cv-gates h3 { font: 600 18px/24px var(--font-sans); margin-top: var(--s5); }
.cv-gates p { color: var(--fg-2); margin-top: var(--s2); }

/* HUD read-out: real numbers from the game, set like BEST LENGTH */
.cv-readout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--glass-stroke); }
.cv-readout div { padding: var(--s10) var(--s6) var(--s10) 0; display: flex; flex-direction: column-reverse; gap: var(--s2); }
.cv-readout div + div { padding-left: var(--s8); border-left: 1px solid var(--glass-stroke); }
.cv-readout dd { font: 800 64px/1 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--neon-lime); text-shadow: 0 0 24px color-mix(in srgb, var(--neon-lime) 45%, transparent); }

.cv-shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); }
.cv-shots figcaption { margin-top: var(--s3); }
.cv-shots .cv-shot { box-shadow: none; }

.cv-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); }
.cv-panel { padding: var(--s10); border-radius: var(--radius-xl); display: flex; flex-direction: column; align-items: flex-start; }
.cv-panel h3 { font: 700 28px/32px var(--font-sans); letter-spacing: -.01em; margin-top: var(--s3); }
.cv-panel p { color: var(--fg-2); margin-top: var(--s3); max-width: 44ch; }
.cv-panel .cv-actions { margin-top: auto; padding-top: var(--s8); }
.cv-panel--cta { border-color: color-mix(in srgb, var(--neon-lime) 45%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--neon-lime) 14%, transparent), color-mix(in srgb, var(--neon-lime) 5%, transparent)); }

@media (prefers-reduced-motion: reduce) { .cv-btn { transition: none; } }

/* ---- phone ---- */
@media (max-width: 760px) {
  .cv-wrap { padding-inline: var(--s4); }
  .cv-lead { font-size: 17px; line-height: 27px; }
  .cv-name { font-size: 34px; }
  .cv-hero .cv-road { right: 0; width: 100%; height: 100%; opacity: .7; -webkit-mask-image: none; mask-image: none; }
  .cv-crumbs { padding-top: var(--s6); }
  .cv-hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s10); padding-block: var(--s6) 72px; }
  .cv-gamemark { font-size: 76px; }
  .cv-hero__grid .cv-actions { flex-direction: column; }
  .cv-hero__shot { width: 240px; margin-inline: auto; }
  .cv-section { padding-bottom: var(--s16); }
  .cv-gates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s8) var(--s4); }
  .cv-gate { height: 88px; font-size: 34px; }
  .cv-readout dd { font-size: 40px; }
  .cv-readout div { padding: var(--s6) var(--s3) var(--s6) 0; }
  .cv-readout div + div { padding-left: var(--s4); }
  .cv-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s4); }
  .cv-split { grid-template-columns: minmax(0, 1fr); }
  .cv-panel { padding: var(--s6); }
  .cv-panel .cv-actions { align-self: stretch; flex-direction: column; }
}

/* ---- site only: what the mockups did not need ---- */
html { background: var(--site-paper); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: var(--s6); }

/* skip link: hidden until a keyboard reaches it */
.st-skip { position: absolute; left: var(--s4); top: -64px; z-index: 10; padding: 10px 18px; border-radius: var(--radius-pill); background: var(--site-ink); color: var(--site-on-ink); font: 500 15px/20px var(--font-studio); }
.st-skip:focus { top: var(--s4); outline: none; box-shadow: var(--site-focus); }

/* Snake Rush before release: a status, not a button */
.cv-soon { display: inline-flex; align-items: center; gap: var(--s3); min-height: 56px; padding: 0 var(--s8) 0 var(--s6); border-radius: var(--radius-xl); background: linear-gradient(180deg, var(--glass-hi), var(--glass-fill)); box-shadow: inset 0 0 0 1px var(--glass-stroke); font: 800 15px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--fg-1); }
.cv-soon svg { width: 20px; height: 20px; flex: none; color: var(--fg-3); }

/* 404 */
.st-404 { padding-block: 120px 168px; }
.st-404 .st-title { margin-top: var(--s5); }
.st-404 .st-note { margin-top: var(--s4); }
.st-404__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s10); }

@media (max-width: 760px) {
  .cv-soon { align-self: stretch; justify-content: center; padding: 0 var(--s6); white-space: normal; text-align: center; }
  .st-404 { padding-block: 72px 112px; }
}

/* short pages: the footer sits at the bottom of the window */
.st-root--fill { display: flex; flex-direction: column; }
.st-root--fill > main { flex: 1; }
