/* Rainge · rainge.app/brand, the brand guide
   The home page's world: night is home (the app's dark appearance), Scorecard type (Barlow Semi Condensed for headlines
   and numbers, Barlow Condensed for labels, SF for text) and the signature as the page's one curve. Yellow is the ball
   and nothing else, so the section flags here are cream, not yellow. Colours are css/site.css's tokens.
   The faces are the same subsets as the home page (tools/subset_font.py keeps every sheet's unicode-range in step). */
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/barlow-semi-condensed-600.woff2?v=746f09c6") format("woff2");
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B0, U+00B7, U+00BD, U+00D7, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/barlow-semi-condensed-700.woff2?v=b93ac5dc") format("woff2");
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B0, U+00B7, U+00BD, U+00D7, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/barlow-semi-condensed-500-italic.woff2?v=895485fd") format("woff2");
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B0, U+00B7, U+00BD, U+00D7, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/barlow-condensed-600.woff2?v=391c2e9d") format("woff2");
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B0, U+00B7, U+00BD, U+00D7, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/barlow-condensed-700.woff2?v=a36fd5c3") format("woff2");
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B0, U+00B7, U+00BD, U+00D7, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/barlow-condensed-800.woff2?v=f344a3b0") format("woff2");
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B0, U+00B7, U+00BD, U+00D7, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2212;
}

:root {
  color-scheme: dark;
  /* Night, the app's dark appearance: the same tokens as css/site.css */
  --turf: #0D1A14;
  --turf-deep: #08120D;
  --surface: #16261E;
  --raised: #1C3026;
  --rule: #2A3A32;
  --line: #5E6B66;
  --cream: #F2E9D6;
  --cream-hi: #FBF7EF;
  --haze: #A3ABA2;
  --ball: #F2D04B;
  --workon: #FF6165;
  --good: #30D158;
  /* Day, for the day swatches and grounds */
  --day-bg: #F2E9D6;
  --day-surface: #FBF7EF;
  --day-ink: #0D1A14;

  --display: "Barlow Semi Condensed", "SF Pro Display", -apple-system, system-ui, sans-serif;
  --label: "Barlow Condensed", "SF Pro Text", -apple-system, system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 64px;
  --r-l: 28px;
  --r-m: 20px;
  --r-s: 12px;
  --sec: clamp(88px, 12vh, 150px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--turf);
  color: var(--cream);
  font: 16px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: var(--line); }
a:hover { text-decoration-color: currentColor; }
button { font: inherit; color: inherit; }
::selection { background: var(--ball); color: var(--turf); }
:focus-visible { outline: 2px solid var(--ball); outline-offset: 3px; border-radius: 6px; }
p, h1, h2, h3, ul, ol, dl, figure, table { margin: 0; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--cream); color: var(--turf); padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 16px; }
.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type roles (as on the home page) ---------- */
.h1, .h2, .h3, .stopline, .spec__big, .say, .lockup__x {
  font-family: var(--display); font-synthesis: none; font-kerning: normal;
}
.h1 { font-weight: 700; font-size: clamp(52px, 8.4vw, 128px); line-height: .9; letter-spacing: -.014em; text-wrap: balance; }
.h2 { font-weight: 700; font-size: clamp(38px, 5vw, 72px); line-height: .96; letter-spacing: -.016em; text-wrap: balance; max-width: 18ch; }
.h3 { font-weight: 700; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.04; letter-spacing: -.008em; text-wrap: balance; }
.eyebrow { font: 600 13px/1.2 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--haze); }
.lede { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: rgba(242, 233, 214, .82); max-width: 56ch; text-wrap: pretty; }
.muted { color: var(--haze); }
.small { font-size: 14px; line-height: 1.5; }
.num { font-family: var(--label); font-weight: 700; font-variant-numeric: tabular-nums; }
code, .code { font: 500 .88em/1.4 var(--mono); }
.prose { display: grid; gap: 14px; max-width: 62ch; }
.prose p { text-wrap: pretty; }

/* The ball as full stop, sized to Barlow's bold stems, on the baseline */
.stop { display: inline-block; width: .2em; height: .2em; margin-left: .06em; vertical-align: baseline; }
.stop img { width: 100%; height: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 20, 15, .82);
  border-bottom: 1px solid rgba(242, 233, 214, .08);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
}
.nav__in { display: flex; align-items: center; gap: 18px; height: var(--nav-h); }
.nav__mark { flex: none; display: block; width: 86px; }
.nav__mark img { width: 100%; height: auto; }
.nav__tag { flex: none; padding-left: 14px; border-left: 1px solid var(--rule); }
.nav__links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; white-space: nowrap; }
.nav__links a { text-decoration: none; color: rgba(242, 233, 214, .74); }
.nav__links a:hover { color: var(--cream); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0;
  font: 650 15px/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--cream { background: var(--cream); color: var(--turf); }
.btn--cream:hover { background: var(--cream-hi); }
.btn--ghost { border: 1px solid rgba(242, 233, 214, .2); color: var(--cream); background: rgba(242, 233, 214, .04); }
.btn--ghost:hover { border-color: rgba(242, 233, 214, .45); }
.nav .btn { flex: none; }
@media (max-width: 1100px) { .nav__links { display: none; } .nav .btn { margin-left: auto; } }
@media (max-width: 380px) { .nav__tag { display: none; } }

/* The index: the page's sections, one row that scrolls on its own on a phone (never the page) */
.index { border-bottom: 1px solid var(--rule); }
.index ol { list-style: none; display: flex; gap: 6px 22px; margin: 0; padding: 14px 0; overflow-x: auto; scrollbar-width: none; }
.index ol::-webkit-scrollbar { display: none; }
.index a { display: inline-flex; gap: 6px; align-items: baseline; white-space: nowrap; font-size: 14px; color: var(--haze); text-decoration: none; padding-block: 4px; }
.index a:hover { color: var(--cream); }
.index .num { font-size: 13px; color: var(--line); }
@media (min-width: 1101px) { .index { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(56px, 10vh, 120px) clamp(56px, 9vh, 110px); background: radial-gradient(70% 60% at 22% 30%, #11221A 0%, var(--turf-deep) 72%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 220px; opacity: .1; mix-blend-mode: overlay; }
.hero__grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: end; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.hero .h1 { margin-top: 18px; }
.hero .lede { margin-top: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero__mark { padding: clamp(20px, 3vw, 36px) 0; }
.hero__mark img { width: 100%; height: auto; }
.who { display: grid; gap: 0; margin: clamp(44px, 6vw, 72px) 0 0; padding: 0; border-top: 1px solid var(--rule); }
.who li { list-style: none; display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.who a { font-weight: 600; text-decoration: none; }
.who a:hover { text-decoration: underline; }
@media (min-width: 760px) { .who { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; } }

/* ---------- Sections ---------- */
.sec { position: relative; padding-block: var(--sec) 0; }
.sec:last-of-type { padding-bottom: var(--sec); }
.sec__head { display: grid; grid-template-columns: clamp(44px, 5vw, 72px) minmax(0, 1fr); column-gap: clamp(14px, 2vw, 28px); margin-bottom: clamp(36px, 5vw, 64px); }
/* The range flag from the home page's chapters, in cream: yellow is kept for the ball */
.flag { grid-row: 1 / span 3; }
.flag svg { width: 100%; overflow: visible; }
.flag line, .flag path { fill: none; stroke: var(--haze); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.flag text { font: 800 54px var(--label); text-anchor: middle; fill: var(--cream); }
.sec__head .h2, .sec__head .lede, .sec__head .eyebrow { grid-column: 2; }
.sec__head .eyebrow { margin-bottom: 12px; }
.sec__head .lede { margin-top: 20px; }
.sub { margin-top: clamp(48px, 6vw, 80px); }
.sub > .h3 { margin-bottom: 8px; }
.sub > .h3 + p { max-width: 60ch; color: rgba(242, 233, 214, .8); }

/* Cards */
.card { position: relative; min-width: 0; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r-l); background: linear-gradient(170deg, rgba(242, 233, 214, .045), rgba(242, 233, 214, 0) 42%), var(--surface); box-shadow: inset 0 1px 0 rgba(242, 233, 214, .06), 0 1px 2px rgba(0, 0, 0, .25); }
.grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 1099px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- The idea ---------- */
.insight { font-family: var(--display); font-weight: 500; font-style: italic; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; max-width: 22ch; text-wrap: balance; font-synthesis: none; }
.facts { display: grid; gap: 0; margin-top: 36px; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.facts li { padding: 16px 0; border-bottom: 1px solid var(--rule); max-width: 62ch; }
.facts strong { font-weight: 650; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
.lines { display: grid; gap: 16px; }
@media (min-width: 900px) { .lines { grid-template-columns: 1.3fr 1fr; } }
.line-card .stopline { font-weight: 700; font-size: clamp(40px, 5vw, 72px); line-height: .94; letter-spacing: -.014em; text-wrap: balance; margin: 14px 0 18px; }
.line-card--sign .stopline { font-size: clamp(30px, 3.4vw, 48px); }
.retired { margin-top: 16px; padding: 18px 20px; border: 1px dashed var(--line); border-radius: var(--r-m); }
.retired ul { list-style: none; padding: 0; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.retired s { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--haze); text-decoration-color: var(--workon); text-decoration-thickness: 2px; }
.name-rules { display: grid; gap: 0; padding: 6px clamp(18px, 2.4vw, 28px); list-style: none; }
.name-rules li { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 4px 20px; padding: 14px 0; border-top: 1px solid var(--rule); }
.name-rules li:first-child { border-top: 0; }
.name-rules b { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.2; }
@media (max-width: 560px) { .name-rules li { grid-template-columns: 1fr; } }

/* ---------- Marks ---------- */
.mark { display: grid; gap: 16px; padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--rule); }
.mark:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 1000px) { .mark { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); column-gap: 48px; align-items: start; } }
.mark__copy { display: grid; gap: 12px; align-content: start; }
.role { display: inline-flex; align-self: start; justify-self: start; padding: 4px 10px 3px; border-radius: 999px; border: 1px solid var(--line); font: 600 12px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; }
.role--primary { border-color: var(--cream); background: var(--cream); color: var(--turf); }
.specs { display: grid; gap: 0; margin-top: 6px; }
.specs > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.45; }
.specs dt { font: 600 12px/1.6 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--haze); }
.specs dd { margin: 0; }
.grounds { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ground { display: grid; place-items: center; min-height: clamp(120px, 22vw, 200px); padding: clamp(16px, 3vw, 36px) clamp(14px, 2.6vw, 28px); border-radius: var(--r-m); }
.ground img { width: 100%; height: auto; }
.ground--night { background: var(--turf-deep); box-shadow: inset 0 0 0 1px var(--rule); }
.ground--day { background: var(--day-bg); }
.ground--wide { grid-column: 1 / -1; }
.ground--cap { position: relative; }
.ground figcaption, .gcap { font-size: 13px; color: var(--haze); margin-top: 8px; }
.ground--day + .gcap, .tilecap { font-size: 13px; color: var(--haze); }
.fig { display: grid; gap: 8px; }

/* Clear space: the mark inside dashed bounds two ball-widths out. With the box T wide and the ball a share b of the
   mark's width, the padding is 2b / (1 + 4b) of T and a ball is b / (1 + 4b) of T (the signature: b = .0525; the compact cut: .0619). */
.clearbox { padding: 28px clamp(12px, 3vw, 28px); border-radius: var(--r-m); background: var(--turf-deep); box-shadow: inset 0 0 0 1px var(--rule); }
.clearwrap { max-width: 560px; margin-inline: auto; }
.clear { position: relative; padding: var(--pad); outline: 1px dashed rgba(242, 233, 214, .45); background: repeating-linear-gradient(135deg, rgba(242, 233, 214, .06) 0 6px, transparent 6px 12px); }
.clear::before { content: ""; position: absolute; inset: var(--pad); background: var(--turf-deep); }
.clear img { position: relative; width: 100%; height: auto; }
.clear i { position: absolute; width: var(--d); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(242, 233, 214, .6); }
.clear i:nth-of-type(1) { left: 0; top: 0; }
.clear i:nth-of-type(2) { left: var(--d); top: 0; }
.clear i:nth-of-type(3) { right: 0; bottom: 0; }
.clear i:nth-of-type(4) { right: var(--d); bottom: 0; }
.clear--sig { --pad: 8.68%; --d: 4.34%; }
.clear--compact { --pad: 9.93%; --d: 4.96%; }
.clearwrap--compact { max-width: min(448px, 80%); }
.minis { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 36px; padding: 28px; border-radius: var(--r-m); background: var(--turf-deep); box-shadow: inset 0 0 0 1px var(--rule); }
.minis figure { display: grid; gap: 8px; }
.minis figcaption { font-size: 13px; color: var(--haze); }

/* Do and don't */
.dd { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .dd { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dd figure { display: grid; gap: 10px; align-content: start; min-width: 0; }
.dd__tile { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 14%; overflow: hidden; border-radius: var(--r-s); background: var(--turf-deep); box-shadow: inset 0 0 0 1px var(--rule); }
.dd__tile img { width: 100%; height: auto; }
.dd figcaption { display: flex; gap: 8px; align-items: baseline; font-size: 14px; line-height: 1.35; }
.dd figcaption b { flex: none; font: 700 12px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; padding: 4px 7px 3px; border-radius: 6px; }
.is-do b { background: rgba(48, 209, 88, .16); color: var(--good); }
.is-dont b { background: rgba(255, 97, 101, .16); color: var(--workon); }
.is-dont .dd__tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px rgba(255, 97, 101, .55); pointer-events: none; }
.dd__tile--day { background: var(--day-bg); }
.dd__tile--photo { background: #222 url("../assets/scenes/story-wide.webp?v=faf8a38f") 70% 60% / cover; }
.x-stretch img { transform: scaleX(1.45) scaleY(.8); }
.x-rotate img { transform: rotate(-14deg); }
.x-recolour img { filter: hue-rotate(160deg) saturate(1.6); }
.x-effects img { filter: drop-shadow(0 0 6px rgba(242, 208, 75, .9)) drop-shadow(0 6px 10px rgba(0, 0, 0, .9)); }
.x-busy { background: repeating-linear-gradient(115deg, #F2D04B 0 14px, #0D1A14 14px 28px); }
.x-retype span { font-family: "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive; font-size: clamp(30px, 4.2vw, 48px); line-height: 1; color: var(--cream); white-space: nowrap; }
.x-retype i { display: inline-block; width: .22em; height: .22em; margin-left: .1em; border-radius: 50%; background: var(--ball); }
.x-crowd .dd__tile { place-items: center; align-content: center; gap: 4px; padding: 8%; }
.x-crowd p { font-size: 13px; line-height: 1.25; color: var(--haze); }
.x-crowd img { width: 92%; margin: 2px 0; }
.dd__tile--photo img { filter: drop-shadow(0 1px 8px rgba(0, 0, 0, .5)); }

/* ---------- The ball ---------- */
.ballrow { display: grid; gap: 16px; align-items: center; }
@media (min-width: 900px) { .ballrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }
.ballfig { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ballfig .ground { min-height: 0; aspect-ratio: 1; padding: 22%; }
.stopdemo { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-l); background: var(--turf-deep); box-shadow: inset 0 0 0 1px var(--rule); }
.stopdemo .stopline { font-weight: 700; font-size: clamp(44px, 7vw, 104px); line-height: .92; letter-spacing: -.014em; }
.stopdemo .measure { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 20px; }
.rules { display: grid; gap: 0; padding: 0; list-style: none; margin-top: 20px; }
.rules li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid var(--rule); max-width: 64ch; }
.rules li::before { content: ""; position: absolute; left: 2px; top: 1.32em; width: 10px; height: 2px; background: var(--cream); }

/* ---------- Colour ---------- */
.core { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .core { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.chip { display: grid; align-content: space-between; gap: 34px; min-height: 180px; padding: 18px; border-radius: var(--r-m); }
.chip b { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1; }
.chip p { font-size: 13px; line-height: 1.4; opacity: .85; }
.chip--turf { background: var(--turf); color: var(--cream); box-shadow: inset 0 0 0 1px var(--rule); }
.chip--cream { background: var(--cream); color: var(--turf); }
.chip--ball { background: var(--ball); color: var(--turf); }
.chip--brass { background: #B8901A; color: var(--turf); }
.hex { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid currentColor; border-radius: 8px; background: transparent; font: 500 13px/1 var(--mono); cursor: copy; -webkit-user-select: all; user-select: all; opacity: .9; }
.hex:hover { opacity: 1; }
.hex[data-copied]::after { content: "Copied"; font: 600 11px/1 var(--label); letter-spacing: .12em; text-transform: uppercase; }
.chip .hexes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip .rgb { font: 500 12px/1 var(--mono); opacity: .75; }

.roles { width: 100%; border-collapse: collapse; font-size: 15px; }
.roles th { text-align: left; font: 600 12px/1.2 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--haze); padding: 0 12px 10px 0; }
.roles td { padding: 10px 12px 10px 0; border-top: 1px solid var(--rule); vertical-align: middle; }
.roles td:first-child { font-weight: 600; }
.sw { display: inline-flex; align-items: center; gap: 10px; }
.sw::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(242, 233, 214, .25); }
.sw .hex { border-color: var(--rule); }
@media (max-width: 640px) {
  .roles thead { display: none; }
  .roles tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 12px 0; border-top: 1px solid var(--rule); }
  .roles td { border: 0; padding: 0; }
  .roles td:first-child, .roles td:last-child { grid-column: 1 / -1; }
  .roles td[data-label]::before { content: attr(data-label); display: block; font: 600 11px/1.6 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--haze); }
}
.tablewrap { padding: clamp(16px, 2.4vw, 28px); border-radius: var(--r-l); background: var(--surface); }

/* ---------- Type ---------- */
.spec { display: grid; align-content: start; gap: 14px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-l); background: var(--surface); }
.spec__big { font-weight: 700; font-size: clamp(44px, 6vw, 88px); line-height: .94; letter-spacing: -.014em; }
.spec__quote { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.12; font-synthesis: none; }
.spec__label { font: 600 15px/1.2 var(--label); letter-spacing: .16em; text-transform: uppercase; }
.spec__nums { font: 800 clamp(44px, 5vw, 72px)/1 var(--label); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.spec__body { font: 17px/1.55 var(--text); max-width: 46ch; }
.spec__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--haze); padding-top: 12px; border-top: 1px solid var(--rule); }

/* ---------- Voice ---------- */
.traits { display: grid; gap: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.traits li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.traits b { font-family: var(--display); font-weight: 700; font-size: 20px; margin-right: 8px; }
@media (min-width: 900px) { .traits { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
.says { display: grid; gap: 0; border-radius: var(--r-l); overflow: hidden; background: var(--surface); }
.says__row { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule); }
.says__row:first-child { border-top: 0; }
@media (min-width: 760px) { .says__row { grid-template-columns: 1fr 1fr; } }
.says__row > div { padding: 18px clamp(18px, 2.4vw, 28px); }
.says__row > div + div { border-top: 1px solid var(--rule); }
@media (min-width: 760px) { .says__row > div + div { border-top: 0; border-left: 1px solid var(--rule); } }
.says__head { font: 600 12px/1.2 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--haze); }
.say { font-weight: 600; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.2; }
.say--no { color: var(--haze); text-decoration: line-through; text-decoration-color: rgba(255, 97, 101, .7); text-decoration-thickness: 1.5px; }

/* ---------- Imagery ---------- */
.shots { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .shots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shots figure { display: grid; gap: 8px; }
.shots img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-m); background: var(--surface); }
.shots figcaption { font-size: 13px; line-height: 1.4; color: var(--haze); }
.overlays { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; font-size: 14px; }
.overlays span { display: inline-flex; align-items: center; gap: 8px; }
.overlays span::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }

/* ---------- Merch ---------- */
.ideas { display: grid; gap: 16px; }
@media (min-width: 900px) { .ideas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ideas .card { display: grid; gap: 8px; align-content: start; }
.ideas .h3 { font-size: 24px; }
.mock { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1000px) { .mock { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.mock figure { display: grid; gap: 10px; align-content: start; min-width: 0; }
.mock__stage { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r-m); background: radial-gradient(80% 70% at 50% 40%, #1B2E24, var(--turf-deep)); box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; }
.mock__stage svg { width: 86%; height: auto; }
.mock figcaption { font-size: 13px; line-height: 1.45; color: var(--haze); }
.mock figcaption b { display: block; color: var(--cream); font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.2; margin-bottom: 2px; }
.mock figure:last-child { grid-column: 1 / -1; }
@media (max-width: 999px) { .mock figure:last-child .mock__stage { aspect-ratio: 2 / 1; } .mock figure:last-child .mock__stage svg { width: 46%; } }
@media (min-width: 1000px) { .mock figure:last-child { grid-column: auto; } }
.min { width: 100%; border-collapse: collapse; font-size: 14px; }
.min th { text-align: left; font: 600 12px/1.25 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--haze); padding: 0 12px 10px 0; vertical-align: bottom; }
.min td { padding: 10px 12px 10px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.min td:first-child { font-weight: 600; }
.min .num { font-size: 17px; }
@media (max-width: 640px) {
  .min thead { display: none; }
  .min tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 12px 0; border-top: 1px solid var(--rule); }
  .min td { border: 0; padding: 0; }
  .min td:first-child { grid-column: 1 / -1; }
  .min td[data-label]::before { content: attr(data-label); display: block; font: 600 11px/1.6 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--haze); }
}

/* ---------- Partners ---------- */
.boiler { display: grid; gap: 16px; }
@media (min-width: 900px) { .boiler { grid-template-columns: 1fr 1.5fr; } }
.boiler .card { display: grid; gap: 14px; align-content: start; }
.boiler blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.copy { justify-self: start; }
.lockup-stage { display: grid; gap: 12px; }
@media (min-width: 900px) { .lockup-stage { grid-template-columns: 1fr 1fr; } }
.lockup { --u: clamp(150px, 26vw, 280px); display: flex; align-items: center; justify-content: center; gap: calc(var(--u) * .105); min-height: 220px; padding: 40px 24px; border-radius: var(--r-m); }
.lockup__sig { width: var(--u); flex: none; }
.lockup__sig img { width: 100%; height: auto; }
.lockup__rule { flex: none; width: 1.5px; height: calc(var(--u) * .18); background: currentColor; opacity: .55; }
.lockup__partner { flex: none; display: grid; place-items: center; height: calc(var(--u) * .17); padding: 0 calc(var(--u) * .07); border: 1.5px dashed currentColor; border-radius: 8px; font: 600 calc(var(--u) * .085)/1 var(--text); letter-spacing: .02em; opacity: .8; }
.lockup--night { background: var(--turf-deep); color: var(--cream); box-shadow: inset 0 0 0 1px var(--rule); }
.lockup--day { background: var(--day-bg); color: var(--day-ink); }
.lockup__x { font-weight: 600; font-size: 22px; }
.partner-rules { display: grid; gap: 16px; }
@media (min-width: 900px) { .partner-rules { grid-template-columns: 1fr 1fr; } }
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-l); background: var(--cream); color: var(--turf); }
.contact .h3 { max-width: 24ch; }
.contact a.btn { background: var(--turf); color: var(--cream); }

/* ---------- Downloads ---------- */
.dl { display: grid; gap: 16px; }
@media (min-width: 900px) { .dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dl .card { display: grid; gap: 14px; align-content: start; }
.dl__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dl__rows { display: grid; gap: 0; }
.dl__row { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 6px 14px; padding: 10px 0; border-top: 1px solid var(--rule); }
.dl__thumb { display: grid; place-items: center; width: 56px; height: 40px; border-radius: 8px; padding: 6px; }
.dl__thumb img { max-width: 100%; max-height: 28px; width: auto; height: auto; }
.dl__thumb--night { background: var(--turf-deep); box-shadow: inset 0 0 0 1px var(--rule); }
.dl__thumb--day { background: var(--day-bg); }
.dl__thumb--light { background: #FFFFFF; }
.dl__name { font-size: 15px; font-weight: 600; }
.dl__links { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.dl__links a { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--rule); font-size: 13px; text-decoration: none; }
.dl__links a:hover { border-color: var(--line); background: var(--raised); }
.dl__links small { color: var(--haze); font-size: 12px; }
@media (min-width: 560px) { .dl__row { grid-template-columns: 56px minmax(0, 1fr) auto; } .dl__links { grid-column: 3; justify-content: flex-end; } }
.kit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-l); background: var(--raised); margin-bottom: 16px; }

/* ---------- For agents ---------- */
.agents { display: grid; gap: 16px; }
@media (min-width: 900px) { .agents { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.agents .card { display: grid; gap: 10px; align-content: start; }
.agents a.file { font: 600 20px/1.2 var(--mono); text-decoration: none; overflow-wrap: anywhere; }
.agents a.file:hover { text-decoration: underline; }
.steps { counter-reset: s; display: grid; gap: 0; padding: 0; list-style: none; margin-top: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); padding: 12px 0; border-top: 1px solid var(--rule); max-width: 72ch; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 700 15px/1.6 var(--label); color: var(--haze); font-variant-numeric: tabular-nums; }

/* ---------- Footer (as on the home page) ---------- */
.foot { margin-top: var(--sec); padding: 40px 0 calc(28px + env(safe-area-inset-bottom, 0px)); background: var(--turf-deep); }
.foot__mark { width: min(100%, 760px); height: auto; margin-left: calc(min(100%, 760px) * -.015); }
.foot__row { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; font-size: 13px; color: var(--haze); }
.foot__row a { color: var(--haze); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn, .dl__links a, .hex { transition: background-color .2s, border-color .2s, opacity .2s; }
}
