/* gymdeed.com — layout and components. Tokens come from tokens.css; no colour or timing is written here directly
   except the shadows the prototype also writes inline. Motion: reveals via IntersectionObserver (site.js adds .is-in),
   plain appearance under prefers-reduced-motion. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, canvas, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, .disp {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .01em;
  line-height: .92; margin: 0; text-wrap: balance;
}
h1 { font-size: clamp(60px, 18.5vw, 124px); line-height: .88; }
h2 { font-size: clamp(50px, 13.5vw, 92px); line-height: .9; }
h3 { font-size: clamp(26px, 3vw, 32px); font-weight: 800; line-height: 1; }
h1 em, h2 em { font-style: normal; color: var(--accent-text); }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

/* ───── header ───── */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--ground) 72%, transparent);
  backdrop-filter: blur(var(--blur)) saturate(1.4); -webkit-backdrop-filter: blur(var(--blur)) saturate(1.4);
  border-bottom: 1px solid var(--hair);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { font: 900 30px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
.brand b { color: var(--accent-text); font-weight: 900; }
.top nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--ink-2); }
.top nav a:hover { color: var(--ink); }
.lang { border: 1px solid var(--glass-brd); border-radius: 999px; padding: 4px 12px; }

/* the landing's header: shortcuts, and three scroll states set by site.js (2026-11-17).
   at the top: no glass, no line · scrolled: glass and a line · going down past the hero: slides away, back on the
   way up. Without JavaScript it stays the plain sticky glass bar above. */
.top--home { transition: transform var(--t-expressive) var(--ease), background var(--t-standard) var(--ease), border-color var(--t-standard) var(--ease), box-shadow var(--t-standard) var(--ease); }
.top--home.is-live:not(.is-scrolled) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.top--home.is-live.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.top--home.is-live.is-away:not(:focus-within) { transform: translateY(-100%); box-shadow: none; }
.top--home .wrap { gap: 10px; }
.top .shortcuts { display: flex; gap: 2px; margin-left: auto; }
.top .shortcuts a {
  flex: none; padding: 7px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap;
  color: var(--ink-2); border: 1px solid transparent;
  transition: color var(--t-standard) var(--ease), background var(--t-standard) var(--ease), border-color var(--t-standard) var(--ease);
}
.top .shortcuts a:hover { color: var(--ink); background: var(--glass); }
.top .shortcuts a.is-on { color: var(--accent-ink); background: var(--accent); border-color: var(--accent-edge); }
.top--home .lang { font-weight: 700; font-size: 14px; letter-spacing: .04em; padding: 6px 11px; }
@media (max-width: 400px) {
  .top--home .brand { font-size: 25px; }
  .top .shortcuts a { padding-inline: 9px; font-size: 14px; }
}
@media (min-width: 900px) { .top .shortcuts { margin-inline: auto; gap: 6px; } .top .shortcuts a { padding-inline: 16px; } }

/* before the App Store id: a quiet line in the key's place, a live dot, nothing pressable */
.soon-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 0 24px;
  border-radius: 18px; border: 1px solid var(--glass-brd); background: var(--glass);
  font-weight: 600; font-size: 16px; color: var(--ink-2); text-align: center;
}
.soon-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: soon-dot 2.4s var(--ease) infinite; flex: none; }
.soon-pill--ink { border-color: rgba(19, 26, 0, .25); background: rgba(19, 26, 0, .08); color: var(--accent-ink); }
.soon-pill--ink i { background: var(--accent-ink); animation: none; }
@keyframes soon-dot { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
@media (prefers-reduced-motion: reduce) { .soon-pill i { animation: none; } }
@media (prefers-reduced-motion: reduce) { .top--home, .top .shortcuts a { transition: none; } }

/* ───── the key: the prototype's chunky 3D press ───── */
.key {
  --travel: 5px; --kf: var(--accent); --ke: var(--accent-edge); --ki: var(--accent-ink);
  position: relative; display: inline-block; border: 0; background: none; padding: var(--travel) 0 0; margin: 0;
  cursor: pointer; color: var(--ki); font: 800 21px/1 var(--display); letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; -webkit-tap-highlight-color: transparent; user-select: none; touch-action: manipulation;
}
.key::before { content: ""; position: absolute; inset: var(--travel) 0 0; border-radius: 18px; background: var(--ke); box-shadow: 0 6px 14px rgba(0, 0, 0, .28); }
.key .face {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px;
  padding: 0 28px; border-radius: 18px; background: var(--kf);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .38), inset 0 -3px 0 rgba(0, 0, 0, .10);
  transform: translateY(calc(var(--travel) * -1));
  transition: transform var(--t-standard) var(--spring), background var(--t-standard) var(--ease);
}
.key:hover { color: var(--ki); }
.key:active .face { transform: translateY(-1px); transition-duration: 50ms; transition-timing-function: ease-out; }
.key--2 { --kf: var(--key2); --ke: var(--key2-edge); --ki: var(--key2-ink); }
.key--s { --travel: 4px; font-size: 17px; }
.key--s .face { min-height: 46px; padding: 0 18px; border-radius: 14px; }
.key--s::before { border-radius: 14px; }
.key.is-disabled { cursor: default; --kf: color-mix(in srgb, var(--ink) 16%, var(--ground-2)); --ke: color-mix(in srgb, var(--ink) 8%, var(--ground)); --ki: var(--ink-2); }
.key.is-disabled .face { transform: translateY(-2px); }
.key .apple { width: 20px; height: 20px; flex: none; }

.get { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.get .badge-img { height: 54px; width: auto; }
.get .note { font-size: 14px; color: var(--ink-2); }

/* ───── home ───── */
.hero { padding-block: 40px 56px; }
.hero .wrap { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 40px; } .hero { padding-block: 72px 96px; } }
.eyebrow { font: 800 15px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 18px; }
.lede { font-size: clamp(18px, 2.1vw, 22px); color: var(--ink-2); max-width: 36em; margin-block: 22px 30px; }
.deed-stage { position: relative; width: 100%; max-width: 440px; margin-inline: auto; aspect-ratio: 700 / 890; }
.deed-stage::after {
  content: ""; position: absolute; inset: 18% 8% 6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
  filter: blur(20px);
}
.deed-stage img, .deed-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.deed-stage img { inset: 10% 0 4%; height: auto; }

.band { padding-block: 64px; border-top: 1px solid var(--hair); }
@media (min-width: 900px) { .band { padding-block: 104px; } }
.cards { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards--2 { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r-l); padding: 26px 24px 28px;
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-2); }
.card .num { font: 900 64px/.8 var(--display); color: var(--accent-text); display: block; margin-bottom: 18px; }
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split > .reveal > p { color: var(--ink-2); font-size: 19px; margin-top: 18px; max-width: 32em; }
.split > .reveal > p.fine { font-size: 15px; color: var(--ink-2); }
.week { display: flex; gap: 8px; flex-wrap: wrap; }
.week span {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  font: 900 22px/1 var(--display); background: var(--solid); color: var(--ink-3); border: 1px solid var(--hair);
}
.week span.on { background: var(--accent); color: var(--accent-ink); border-color: transparent; box-shadow: 0 4px 0 var(--accent-edge); }
@media (max-width: 400px) { .week span { width: 40px; height: 40px; border-radius: 12px; font-size: 19px; } }
.trust { counter-reset: t; }
.trust .card h3 { font-size: clamp(24px, 2.6vw, 30px); }
.more { margin-top: 28px; }
.final { text-align: center; }
.final .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final .get { align-items: center; }

/* ───── landing sections (W1) ───── */
.sub { color: var(--ink-2); font-size: 19px; max-width: 34em; margin-top: 18px; }
.fine { font-size: 15px; color: var(--ink-2); max-width: 44em; margin-top: 28px; }
.fine strong, .fine em { color: var(--ink); }

.proof { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.proof li {
  font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 6px 12px 6px 28px; border-radius: 999px;
  border: 1px solid var(--glass-brd); background: var(--glass); position: relative;
}
.proof li::before {
  content: ""; position: absolute; left: 11px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}

/* how it counts: a phone-shaped glass panel with a stick figure made of body points */
.demo { display: flex; justify-content: center; }
.phone {
  position: relative; margin: 0; width: 100%; max-width: 320px; aspect-ratio: 9 / 16; border-radius: 44px;
  background: var(--workout); border: 1px solid var(--glass-brd); box-shadow: var(--shadow), inset 0 0 0 8px var(--solid);
  display: grid; place-items: center; overflow: hidden;
}
.phone svg { width: 86%; height: auto; }
.phone .floor { stroke: color-mix(in srgb, var(--workout-ink) 18%, transparent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 8; }
.phone .bone { fill: none; stroke: var(--workout-ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.phone .head { fill: none; stroke: var(--workout-ink); stroke-width: 5; opacity: .9; }
.phone .joint { fill: var(--accent); stroke: var(--workout); stroke-width: 3; }
.phone .chip {
  position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font: 800 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px;
}
.chip--live { top: 26px; color: var(--accent-ink); background: var(--accent); }
.chip--kept { bottom: 26px; color: var(--workout-ink); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.phone .count {
  position: absolute; right: 26px; top: 64px; display: flex; flex-direction: column; align-items: flex-end;
  color: var(--workout-ink); font-family: var(--display); text-transform: uppercase;
}
.phone .count b { font-weight: 900; font-size: 84px; line-height: .85; color: var(--accent); font-variant-numeric: tabular-nums; }
.phone .count small { font-weight: 800; font-size: 13px; letter-spacing: .14em; opacity: .7; }
.phone .count b.bump { animation: bump var(--t-standard) var(--spring); }
@keyframes bump { from { transform: scale(1.18); } to { transform: none; } }

.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.steps .num { font: 900 44px/.85 var(--display); color: var(--accent-text); }
.steps h3 { font-size: clamp(22px, 2.4vw, 26px); margin-bottom: 8px; }
.steps p { color: var(--ink-2); }
.how .demo { order: 2; }
.how .phone { max-width: 260px; }
@media (min-width: 900px) { .how .split { grid-template-columns: .8fr 1.2fr; } .how .demo { order: 0; } .how .phone { max-width: 320px; } }

/* the coach's voices: with JS one panel at a time behind a picker, without it all three */
.voices-ui { display: grid; gap: 24px; margin-top: 40px; align-items: start; }
@media (min-width: 900px) { .voices-ui { grid-template-columns: 280px 1fr; gap: 48px; } }
.deed-stage--bust { max-width: 200px; aspect-ratio: 1; }
@media (min-width: 900px) { .deed-stage--bust { max-width: 280px; } }
.deed-stage--stamp { max-width: 340px; }
.picker { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.picker .key[aria-pressed="true"] { --kf: var(--accent); --ke: var(--accent-edge); --ki: var(--accent-ink); }
.picker .key[aria-pressed="true"] .face { transform: translateY(-2px); }
.voice-panels { display: grid; gap: 16px; }
@media (min-width: 760px) { .voice-panels { grid-template-columns: repeat(3, 1fr); } .is-live .voice-panels { grid-template-columns: 1fr; } }
.voice h3 { margin-bottom: 6px; }
.voice .vnote { color: var(--ink-2); }
.voice dl { margin: 20px 0 0; display: grid; gap: 14px; }
.voice dt { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.voice dd { margin: 4px 0 0; font: 800 clamp(24px, 2.8vw, 30px)/1.05 var(--display); text-transform: uppercase; color: var(--ink); }
.voice[data-voice="angry"] dd { color: var(--accent-text); }
.is-live .voice dl { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* trust: the video promise leads, four follow */
.trust .card { position: relative; }
.trust .card .num { font-size: 40px; margin-bottom: 14px; }
.card--lead { grid-column: 1 / -1; }
.card--lead h3 { font-size: clamp(30px, 4vw, 44px); }
.card--lead p { font-size: 19px; max-width: 40em; }
.card--lead .icon { position: absolute; right: 24px; top: 24px; width: 44px; height: 44px; fill: var(--accent-text); opacity: .9; }

/* Plus: free next to Plus, no prices (the app shows the live ones) */
.tiers { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 760px) { .tiers { grid-template-columns: 1fr 1fr; } }
.tier .tag { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.tier ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.tier li { position: relative; padding-left: 30px; }
.tier li::before {
  content: ""; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px;
  border-left: 3px solid var(--accent-text); border-bottom: 3px solid var(--accent-text); transform: rotate(-45deg);
}
.tier--plus { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent), var(--shadow); }
.tier--plus h3 { color: var(--accent-text); }

/* ───── landing, second round (W2, session 49): your path · Deed's room · Explore · your week · the first week ·
   the Arena. Colour, spacing and radius come from tokens.css only. ───── */
.points { list-style: none; margin: var(--s8) 0 0; padding: 0; display: grid; gap: var(--s5); }
.points li { padding-left: var(--s5); border-left: 3px solid var(--accent-text); }
.points h3 { font-size: clamp(22px, 2.4vw, 26px); margin-bottom: var(--s2); }
.points p { color: var(--ink-2); }

/* a real capture of the app in a phone frame: the picture is never cropped, the frame is only its border */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); align-items: start; width: 100%; max-width: 600px; margin-inline: auto; }
.shot { margin: 0; }
.shot:nth-child(2) { margin-top: var(--s10); }
.shot img {
  width: 100%; height: auto; background: var(--workout); border: var(--s2) solid var(--workout); border-radius: var(--r-l);
  box-shadow: 0 0 0 1px var(--glass-brd), var(--shadow);
}
.shot figcaption {
  margin-top: var(--s3); text-align: center; color: var(--ink-2);
  font: 800 13px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase;
}

/* Deed's room: four of Deed's own renders on a rack, beside what the room is */
.room { display: grid; gap: var(--s6); align-items: center; margin-top: var(--s10); }
@media (min-width: 900px) { .room { grid-template-columns: 1.1fr .9fr; gap: var(--s10); padding: var(--s10); } }
.room .eyebrow { margin-bottom: var(--s3); }
.room h3 { font-size: clamp(30px, 4vw, 44px); margin-bottom: var(--s4); }
.room p { font-size: 19px; max-width: 32em; }
.room p.fine { font-size: 15px; margin-top: var(--s4); }
.rack { list-style: none; margin: 0 auto; padding: 0 0 var(--s4); width: 100%; max-width: 420px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.rack li:nth-child(even) { transform: translateY(var(--s4)); }
.rack img { width: 100%; height: auto; border-radius: var(--r-m); box-shadow: 0 0 0 1px var(--glass-brd); }

/* Explore: the nine moves, set as the index they are */
.moves { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--hair); }
.moves li {
  display: flex; align-items: baseline; gap: var(--s4); padding-block: var(--s3); border-bottom: 1px solid var(--hair);
  font: 900 clamp(30px, 4.6vw, 46px)/1 var(--display); letter-spacing: .01em; text-transform: uppercase;
}
.moves .num { flex: none; min-width: var(--s6); color: var(--accent-text); font-size: 15px; font-weight: 800; letter-spacing: .12em; }

/* your week: the report's own lines and who reads which */
.report dl { margin: var(--s5) 0 0; display: grid; }
.report dl div { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding-block: var(--s3); border-top: 1px solid var(--hair); }
.report dt { font: 800 clamp(20px, 2.4vw, 24px)/1.1 var(--display); letter-spacing: .01em; text-transform: uppercase; }
.report dd { margin: 0; }
.tierchip {
  display: inline-block; padding: var(--s2) var(--s3); border: 1px solid var(--glass-brd); border-radius: var(--r-s);
  color: var(--ink-2); white-space: nowrap; font: 800 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase;
}
.tierchip--plus { background: var(--accent); border-color: transparent; color: var(--accent-ink); }

/* Plus: the first week in three dated steps, above the two lists */
.freeweek { list-style: none; margin: var(--s10) 0 0; padding: 0; display: grid; gap: var(--s5); }
@media (min-width: 760px) { .freeweek { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } }
.freeweek li { display: grid; gap: var(--s2); align-content: start; padding-top: var(--s4); border-top: 3px solid var(--accent-text); color: var(--ink-2); }
.freeweek .when { color: var(--ink); font: 800 clamp(22px, 2.4vw, 26px)/1 var(--display); letter-spacing: .01em; text-transform: uppercase; }

/* the Arena (behind site.toml's switch): the challenge page's own slip */
.arena-slip { display: flex; justify-content: center; }

/* ───── third round (2026-11-01): phone first. Real footage in the first screen, keys a thumb cannot miss, and two
   grounds of Volt and one of paper so a long page has landmarks. ───── */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.big { font-size: clamp(20px, 5.4vw, 26px); line-height: 1.35; margin-top: var(--s5); max-width: 28em; }
.hero { padding-block: var(--s6) var(--s10); overflow: hidden; }
.hero .wrap { display: block; }
.hero .lede { margin-block: var(--s5) var(--s6); font-size: clamp(19px, 5vw, 23px); line-height: 1.4; }
.actions { display: grid; gap: var(--s3); width: 100%; }
.key--xl { display: block; width: 100%; --travel: 7px; font-size: clamp(24px, 6.6vw, 30px); text-align: center; }
.key--xl .face { min-height: 76px; padding: var(--s2) var(--s5); border-radius: 22px; }
.key--xl::before { border-radius: 22px; }
.key--xl.key--2 { font-size: clamp(20px, 5.4vw, 24px); --travel: 5px; }
.key--xl.key--2 .face { min-height: 60px; border-radius: 18px; }
.key--xl.key--2::before { border-radius: 18px; }
.key--ink { --kf: #131a00; --ke: #000; --ki: var(--accent); }
.key--ink:hover { color: var(--accent); }
.key--ink.is-disabled { --kf: #131a00; --ke: #000; --ki: var(--accent); }
.soon-note { margin-top: var(--s3); font-size: 15px; color: var(--ink-2); text-align: center; }
.hero-stage { position: relative; width: min(78vw, 340px); margin: var(--s10) auto 0; }
.handset { border-radius: 44px; padding: 8px; background: #05070a; box-shadow: 0 0 0 1px var(--glass-brd), 0 28px 60px rgba(0, 0, 0, .45); }
.handset video { width: 100%; height: auto; border-radius: 37px; background: var(--workout); }
.hero-deed { position: absolute; right: -19%; bottom: 4%; width: 48%; height: auto; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .35)); }
.sticker {
  position: absolute; font: 900 clamp(17px, 4.6vw, 21px)/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 14px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 0 var(--accent-edge);
}
.sticker--kept { left: -12%; top: 14%; transform: rotate(-6deg); }
.hero .proof { justify-content: center; margin-top: var(--s10); }

.band--volt { background: var(--accent); color: var(--accent-ink); border-top: 0; }
.band--volt h2, .band--volt h3 { color: var(--accent-ink); }
.band--volt h2 em { color: var(--accent); background: var(--accent-ink); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.band--volt p, .band--volt .split > .reveal > p, .band--volt .split > .reveal > p.fine { color: var(--accent-ink); }
.band--volt a:not(.key) { color: var(--accent-ink); }
.band--volt .week span { background: rgba(19, 26, 0, .1); border-color: transparent; color: rgba(19, 26, 0, .55); width: auto; height: auto; aspect-ratio: 1; flex: 1 1 0; font-size: clamp(20px, 6vw, 28px); }
.band--volt .week span.on { background: var(--accent-ink); color: var(--accent); box-shadow: none; }
.band--volt .week { flex-wrap: nowrap; gap: clamp(4px, 1.6vw, 10px); width: 100%; }

.band--paper { --ink: var(--paper-ink); --ink-2: var(--paper-ink-2); background: var(--paper); color: var(--paper-ink); border-top: 0; }
.band--paper h2 em { color: var(--paper-ink); background: var(--accent); padding: 0 .1em; }
.half-stage { width: min(72vw, 320px); margin-inline: auto; }

.hear {
  all: unset; box-sizing: border-box; display: flex; align-items: center; gap: var(--s3); width: 100%; min-height: 64px; padding: var(--s3) var(--s4);
  border-radius: var(--r-m); background: var(--glass); border: 1px solid var(--glass-brd); cursor: pointer; -webkit-tap-highlight-color: transparent;
  font: inherit; text-transform: inherit; color: inherit; touch-action: manipulation;
}
.hear:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.hear svg { flex: none; width: 30px; height: 30px; fill: var(--accent-text); stroke: none; }
.hear svg .wave { fill: none; stroke: var(--accent-text); stroke-width: 2; stroke-linecap: round; }
.hear.is-on { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.hear.is-on svg, .hear.is-on svg .wave { fill: var(--accent-ink); }
.hear.is-on svg .wave { fill: none; stroke: var(--accent-ink); }
.js .line-still[hidden] { display: none; }
.picker { display: grid; grid-template-columns: repeat(3, 1fr); }
.picker .key--s { font-size: clamp(19px, 5vw, 22px); }
.picker .key--s .face { min-height: 60px; padding: 0 var(--s2); }

/* a highlighted run never lets its block cover the line above */
.band--volt h2 em, .band--paper h2 em { display: inline-block; margin-top: .1em; line-height: 1; padding: .02em .12em .04em; }

/* folds: a promise's title always shows, its detail on a tap */
.fold { padding: 0; }
.fold summary { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s4); align-items: center; min-height: 72px; padding: var(--s4) var(--s5); cursor: pointer; list-style: none; }
.fold summary::-webkit-details-marker, .print summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; font: 900 30px/1 var(--display); color: var(--accent-text); }
.fold[open] summary::after { content: "−"; }
.fold .num { font-size: 36px; margin: 0; }
.fold .fold-title { font: 800 clamp(21px, 5.6vw, 26px)/1.05 var(--display); text-transform: uppercase; }
.fold > p { padding: 0 var(--s5) var(--s5); }
.trust .cards--2 { align-items: start; }
.print { margin-top: var(--s5); }
.print summary { min-height: 48px; display: inline-flex; align-items: center; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: .2em; list-style: none; }
.print .fine { margin-top: var(--s2); }

/* the long lists stop being long on a phone */
.moves { grid-template-columns: 1fr 1fr; column-gap: var(--s4); }
.moves li { font-size: clamp(22px, 6.2vw, 44px); }
@media (min-width: 900px) { .moves { grid-template-columns: 1fr; } }

.final { text-align: center; padding-block: var(--s10) 72px; }
/* his lime is Volt's lightness (brand: only on charcoal), so he stands on a disc of the page's dark */
.final-deed { width: min(52vw, 220px); height: auto; margin-bottom: var(--s3); padding: var(--s4); border-radius: 50%; background: var(--accent-ink); }
.final .actions { max-width: 460px; margin-top: var(--s4); }
.final h2 { font-size: clamp(56px, 16vw, 112px); }

.dock {
  position: fixed; z-index: 6; left: 0; right: 0; bottom: 0; padding: var(--s3) var(--s4) calc(var(--s3) + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--ground) 78%, transparent); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); border-top: 1px solid var(--hair);
}
.dock .key--xl .face { min-height: 60px; }

@media (min-width: 900px) {
  .hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; column-gap: var(--s10); align-items: center; }
  .hero-stage { margin: 0 auto; width: 340px; }
  .hero h1 { font-size: clamp(72px, min(7vw, 12vh), 116px); }
  .hero .proof { grid-column: 1 / -1; justify-content: flex-start; }
  .actions { grid-template-columns: auto auto; justify-content: start; width: auto; }
  .key--xl { width: auto; min-width: 280px; }
  .final .actions { grid-template-columns: 1fr; justify-items: center; margin-inline: auto; }
  .dock { display: none; }
  h2 { font-size: clamp(56px, 6.4vw, 92px); }
}

/* ───── reveals ───── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-expressive) var(--ease), transform var(--t-expressive) var(--spring); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .key .face { transition: none; }
}

/* ───── prose (legal, support) ───── */
.doc { padding-block: 48px 80px; }
.doc .wrap { max-width: 860px; }
.doc h1 { font-size: clamp(44px, 7vw, 80px); margin-bottom: 18px; }
.meta { color: var(--ink-3); font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.notice {
  margin-top: 22px; padding: 14px 18px; border-radius: var(--r-m); font-size: 15px;
  background: color-mix(in srgb, var(--minor) 14%, transparent); border: 1px solid color-mix(in srgb, var(--minor) 40%, transparent);
}
.toc { margin-top: 28px; padding: 18px 22px; border-radius: var(--r-m); background: var(--glass); border: 1px solid var(--glass-brd); font-size: 15px; }
.toc b { display: block; font: 800 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2 220px; column-gap: 28px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
.prose { margin-top: 36px; overflow-wrap: anywhere; }
.prose h2 { font-size: clamp(30px, 4vw, 42px); margin-block: 48px 16px; font-weight: 800; }
.prose h3 { font-size: 24px; margin-block: 28px 10px; }
.prose p, .prose ul, .prose ol { margin-block: 0 14px; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 18px 0; padding: 14px 20px; border-left: 4px solid var(--accent); background: var(--glass); border-radius: 0 var(--r-m) var(--r-m) 0; }
.prose blockquote p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin-block: 8px 20px; border: 1px solid var(--hair); border-radius: var(--r-m); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--hair); }
.prose th { font-weight: 700; background: var(--glass); }
.prose tr:last-child td { border-bottom: 0; }
.prose code { font-size: .9em; }
.kvkk-en { margin-top: 18px; color: var(--ink-2); font-size: 15px; }
.faq details { border-bottom: 1px solid var(--hair); padding-block: 16px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; }
.faq details p { margin-top: 10px; color: var(--ink-2); }
.contact a { color: var(--accent-text); font-weight: 600; }

/* ───── challenge (/c/…): the Plus code page's sibling. The slip is the same paper stub; here it carries who sent
   the challenge and in what, and the code rides in its corner. It is drawn once the page knows what it shows, and
   lands with one settle. No number of a challenge is anywhere on it. ───── */
.challenge { padding-block: 56px 96px; text-align: center; }
.challenge .wrap, .challenge .view { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.challenge .wrap { max-width: 720px; }
.challenge .view { width: 100%; }
.challenge .eyebrow { margin-bottom: 0; }
.challenge .line { font: 900 clamp(38px, 7vw, 68px)/.95 var(--display); text-transform: uppercase; text-wrap: balance; }
.challenge .hint { color: var(--ink-2); max-width: 34em; }
.challenge .hint a { color: var(--accent-text); font-weight: 600; }
.challenge .get { align-items: center; }
.slip { text-align: left; margin-block: 6px 10px; }
.slip-handle {
  display: block; font: 900 clamp(32px, 10.5vw, 72px)/.92 var(--display); letter-spacing: .01em; text-transform: uppercase;
  text-wrap: balance; overflow-wrap: anywhere;
}
.slip .ticket-code { text-align: center; }
/* the longest handle and exercise on a 320-point screen: the code drops under the exercise, never breaks in two */
.slip-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.slip-exercise {
  padding: 7px 12px 6px; border-radius: 10px; background: var(--accent); color: var(--accent-ink);
  font: 800 17px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 3px 0 var(--accent-edge);
}
.slip-code {
  margin-left: auto; color: var(--paper-ink-2); font: 800 19px/1 var(--display); letter-spacing: .12em; white-space: nowrap;
  user-select: all; -webkit-user-select: all;
}
.challenge.is-settled .slip { animation: slip-in var(--t-expressive) var(--spring) both; }
.challenge.is-settled .line, .challenge.is-settled .view, .challenge.is-settled .hint { animation: rise var(--t-standard) var(--ease) both; }
@keyframes slip-in { from { opacity: 0; transform: translateY(18px) rotate(-5deg) scale(.96); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  .challenge.is-settled .slip, .challenge.is-settled .line, .challenge.is-settled .view, .challenge.is-settled .hint { animation: none; }
}

/* ───── Plus code (/code/…): the code sits on a paper stub, the way a deed does in the app. Money is quiet here:
   no accent on the code, no motion beyond the keys' own press. ───── */
.pluscode { padding-block: 56px 96px; text-align: center; }
.pluscode .wrap, .pluscode .view { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pluscode .wrap { max-width: 720px; }
.pluscode .view { width: 100%; }
.pluscode .eyebrow { margin-bottom: 0; }
.pluscode .line { font: 900 clamp(38px, 7vw, 68px)/.95 var(--display); text-transform: uppercase; text-wrap: balance; }
.pluscode .hint { color: var(--ink-2); max-width: 34em; }
.pluscode .hint a { color: var(--accent-text); font-weight: 600; }
.pluscode .get { align-items: center; }
.ticket {
  position: relative; width: calc(100% - 16px); max-width: 520px; padding: 16px 22px 22px; border-radius: var(--r-m);
  background: var(--paper); color: var(--paper-ink); box-shadow: var(--shadow); transform: rotate(-1.2deg);
}
/* the two punched notches of a stub, cut out of the paper in the page's own ground */
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 42px; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--ground);
}
.ticket::before { left: -11px; }
.ticket::after { right: -11px; }
.ticket-label {
  display: block; padding-bottom: 14px; margin-bottom: 16px; color: var(--paper-ink-2);
  font: 800 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase;
  border-bottom: 2px dashed color-mix(in srgb, var(--paper-ink) 22%, transparent);
}
.ticket-code {
  display: block; font: 900 clamp(40px, 11vw, 68px)/1 var(--display); letter-spacing: .06em;
  overflow-wrap: anywhere; user-select: all; -webkit-user-select: all;
}
/* eighteen characters on one line of a 320-point screen */
.ticket-code.is-long { font-size: clamp(20px, 6.4vw, 42px); letter-spacing: .05em; }
.key--stack .face { flex-direction: column; gap: 4px; min-height: 58px; padding-block: 9px; }
.key--stack small { font-size: 13px; letter-spacing: .12em; opacity: .66; }
.terms {
  width: 100%; max-width: 520px; margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--hair);
  text-align: left; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere;
}
.terms h2 { font: 800 14px/1 var(--display); letter-spacing: .12em; color: var(--ink-3); margin-bottom: 12px; }
.terms ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.terms p a { color: var(--ink); font-weight: 600; }
.reasons { margin: 0 0 14px; display: grid; gap: 4px; }
.reasons dt { font-weight: 600; margin-top: 10px; }
.reasons dd { margin: 0; color: var(--ink-2); }

/* ───── footer ───── */
.foot { border-top: 1px solid var(--hair); padding-block: 48px 40px; color: var(--ink-2); font-size: 15px; }
.foot .wrap { display: grid; gap: 28px; }
@media (min-width: 800px) { .foot .wrap { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot .tag { font: 900 30px/1 var(--display); text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.foot h4 { margin: 0 0 10px; font: 800 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .made { grid-column: 1 / -1; color: var(--ink-3); font-size: 14px; }
