/* JumpBeat — jumpbeat.app
   Shared styles for every page except the web counter (try.html), which carries its own.
   Colours and fonts match the JumpBeat iPhone app. */

:root {
  --bg: #EDF1F6;
  --surface: #FFFFFF;
  --surface-2: #F5F7FA;
  --ink: #101A2A;
  --muted: #5A6678;
  --line: #D3DAE5;
  --trace: #2459E8;
  --jump: #E0401A;
  --cta: #CC3A12;
  --on-cta: #FFFFFF;
  --link: #B8350C;
  --air: #DCE6FF;
  --jump-tint: #FFE0D4;
  --warn-bg: #FFF3D1;
  --warn-ink: #5E4200;
  --grid: rgba(16, 26, 42, .055);
  --shadow: 0 30px 60px -32px rgba(12, 18, 32, .35);

  --f-display: "Barlow Condensed", "Avenir Next Condensed", "DIN Condensed", "Roboto Condensed", "Arial Narrow", "DejaVu Sans Condensed", sans-serif;
  --f-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --r: 20px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C1220;
    --surface: #151D2E;
    --surface-2: #111929;
    --ink: #E7EDF6;
    --muted: #93A1B6;
    --line: #26324A;
    --trace: #7EA4FF;
    --jump: #FF7148;
    --cta: #FF7148;
    --on-cta: #1C0A04;
    --link: #FF8A66;
    --air: #1A2748;
    --jump-tint: #3B1F18;
    --warn-bg: #2E2614;
    --warn-ink: #F3D58A;
    --grid: rgba(231, 237, 246, .045);
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--trace); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: var(--jump); color: var(--on-cta); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--f-mono); }
.eyebrow {
  font: 500 12px/1.3 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.display {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.005em;
  margin: 0;
}
.accent { color: var(--jump); }
.nw { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border-radius: 14px; border: 1px solid transparent;
  background: var(--cta); color: var(--on-cta);
  font: 600 17px/1 var(--f-body);
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--cta) 80%, transparent);
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn small { display: block; font: 500 11px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-bottom: 3px; }
.btn .stack { display: flex; flex-direction: column; align-items: flex-start; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none;
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 11px; }
.btn[aria-disabled="true"] {
  background: var(--surface); color: var(--muted); border-color: var(--line); box-shadow: none; cursor: default;
}
.btn[aria-disabled="true"]:hover { transform: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font: 800 27px/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em;
}
.brand svg { width: 32px; height: 32px; border-radius: 8px; }
.brand sup { font: 500 10px/1 var(--f-mono); margin-left: 1px; vertical-align: 12px; color: var(--muted); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--link); }
.nav-menu { display: none; position: relative; }
.nav-menu summary {
  list-style: none; cursor: pointer;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary svg { width: 20px; height: 20px; }
.nav-drop {
  position: absolute; right: 0; top: 54px; min-width: 220px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 8px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.nav-drop a { padding: 12px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-drop a:hover { background: var(--bg); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .nav-in { gap: 12px; }
  .nav-in .btn-sm { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(36px, 6vw, 80px);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: -1px -1px;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(24px, 4vw, 64px); align-items: center;
}
.hero-copy { padding-bottom: clamp(32px, 5vw, 72px); }
.hero h1 { font-size: clamp(68px, 10.4vw, 150px); margin: 18px 0 26px; }
.hero h1 .l2 { display: block; color: var(--jump); }
.hero .lede { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; max-width: 33ch; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; }
.facts li { font: 500 12.5px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--jump); }

.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--jump); margin-right: 8px; vertical-align: 1px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

.hero-phone { display: flex; justify-content: center; margin-bottom: -120px; position: relative; z-index: 3; }

/* the phone mock-up */
.phone {
  --pw: min(310px, 78vw);
  width: var(--pw); aspect-ratio: 310 / 640;
  border-radius: calc(var(--pw) * .15); padding: calc(var(--pw) * .036);
  background: linear-gradient(160deg, #1F2A40, #070B14 60%);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .07) inset, 0 0 0 2px #2A3550;
  position: relative;
}
.phone::before {
  content: ""; position: absolute; top: calc(var(--pw) * .07); left: 50%; transform: translateX(-50%);
  width: 31%; height: calc(var(--pw) * .085); border-radius: 99px; background: #000; z-index: 2;
}
.screen {
  height: 100%; border-radius: calc(var(--pw) * .118); overflow: hidden;
  background: var(--bg); color: var(--ink);
  padding: calc(var(--pw) * .19) calc(var(--pw) * .052) calc(var(--pw) * .052);
  display: flex; flex-direction: column; gap: calc(var(--pw) * .032);
  font-size: calc(var(--pw) * .042);
}
.app-head { display: flex; justify-content: space-between; align-items: flex-end; }
.app-head .eyebrow { font-size: .72em; color: var(--jump); letter-spacing: .14em; }
.app-head .t { font: 800 2em/1 var(--f-display); text-transform: uppercase; }
.chip {
  font: 600 .74em/1 var(--f-body); padding: .5em .8em; border-radius: 99px;
  background: var(--jump-tint); color: var(--ink); display: inline-flex; align-items: center; gap: .45em;
}
.chip i { width: .55em; height: .55em; border-radius: 50%; background: var(--jump); animation: pulse 1.2s ease-in-out infinite; }
.app-count { text-align: center; margin: .2em 0 .1em; }
.app-count .num { font: 800 7.6em/.86 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: -.01em; transition: color .25s; }
.app-count .num.hit { color: var(--jump); transition: none; }
.app-count .unit { font: 600 .9em/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .35em; }
.app-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .45em; }
.app-stat { background: var(--surface); border: 1px solid var(--line); border-radius: .8em; padding: .5em .7em; display: flex; flex-direction: column; gap: .1em; }
.app-stat .k { font: 500 .62em/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.app-stat .v { font: 600 1.55em/1 var(--f-display); font-variant-numeric: tabular-nums; }
.app-stat .v small { font: 500 .45em/1 var(--f-mono); color: var(--muted); margin-left: .25em; text-transform: none; }
.app-trace { background: var(--surface); border: 1px solid var(--line); border-radius: .8em; padding: .45em .5em .35em; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.app-trace .k { font: 500 .6em/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .35em; }
.app-trace canvas { width: 100%; flex: 1; min-height: 0; }
.app-btn {
  height: 3.1em; border-radius: .95em; background: var(--cta); color: var(--on-cta);
  display: grid; place-items: center; font: 600 1.02em/1 var(--f-body);
}

/* the live trace under the hero */
.strip { position: relative; z-index: 1; }
.strip canvas { width: 100%; height: clamp(150px, 17vw, 230px); }
.strip-bar { position: relative; z-index: 4; border-top: 1px solid var(--line); background: var(--bg); }
.strip-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-top: 14px; padding-bottom: 18px; }
.read { font: 500 13px/1 var(--f-mono); color: var(--muted); font-variant-numeric: tabular-nums; min-width: 6ch; }
.sim-note { flex-basis: 100%; font: 500 11.5px/1.4 var(--f-mono); color: var(--muted); letter-spacing: .03em; margin: -2px 0 0; }
.mode { font: 600 13px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 500 12px/1 var(--f-mono); color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.legend .k-trace { height: 3px; background: var(--trace); }
.legend .k-air { background: var(--air); border: 1px solid color-mix(in srgb, var(--trace) 30%, transparent); }
.legend .k-jump { width: 10px; border-radius: 50%; background: var(--jump); }
.sound-toggle {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px; border-radius: 99px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  font: 600 14px/1 var(--f-body); cursor: pointer;
}
.sound-toggle svg { width: 18px; height: 18px; }
.sound-toggle[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sound-toggle .on { display: none; }
.sound-toggle[aria-pressed="true"] .on { display: inline; }
.sound-toggle[aria-pressed="true"] .off { display: none; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .hero-phone { margin-bottom: -56px; }
  .phone { --pw: min(272px, 72vw); }
  .strip canvas { height: 170px; }
  .sound-toggle { margin-left: 0; }
}

/* ---------- page load ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .rise.d1 { animation-delay: .08s; }
  .rise.d2 { animation-delay: .18s; }
  .rise.d3 { animation-delay: .28s; }
  .rise.d4 { animation-delay: .4s; }
  .phone.rise { animation-name: rise-phone; animation-duration: 1.1s; animation-delay: .25s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  @keyframes rise-phone { from { opacity: 0; transform: translateY(60px) rotate(2deg); } }
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- sections ---------- */
.sec { padding: clamp(76px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px 24px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-num { font: 500 12.5px/1.6 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .5em; display: inline-flex; align-items: center; gap: 10px; align-self: start; }
.sec-num::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--jump); flex: none; }
.sec-title { font-size: clamp(50px, 7.6vw, 112px); }
.sec-intro { max-width: 56ch; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); margin: 22px 0 0; }
@media (max-width: 700px) { .sec-head { grid-template-columns: 1fr; } }

/* how it counts */
.anatomy { margin: 0 0 clamp(36px, 5vw, 56px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(14px, 2.4vw, 28px); }
.anatomy svg { width: 100%; height: auto; overflow: visible; }
.anatomy .air-band { fill: var(--air); }
.anatomy .air-hit { fill: var(--jump-tint); }
.anatomy .g-line { stroke: var(--line); stroke-width: 2; }
.anatomy .g-dash { stroke: var(--muted); stroke-width: 2; stroke-dasharray: 8 8; opacity: .55; }
.anatomy .tr { fill: none; stroke: var(--trace); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
.anatomy .ax { font: 500 22px var(--f-mono); fill: var(--muted); }
.anatomy .ax-r { font: 500 20px var(--f-mono); fill: var(--muted); }
.anatomy .badge circle { fill: var(--ink); }
.anatomy .badge text { font: 700 24px var(--f-mono); fill: var(--bg); }
.anatomy .land { fill: var(--jump); }
.anatomy .bracket { stroke: var(--jump); stroke-width: 3; fill: none; }
.anatomy .bracket-t { font: 600 22px var(--f-mono); fill: var(--jump); letter-spacing: .06em; }
@media (max-width: 640px) { .anatomy .ax-r { display: none; } }
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 22px 0 0; padding: 0; list-style: none; }
.phases li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.phases .n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font: 700 14px var(--f-mono); }
.phases b { display: block; font-size: 17px; margin-bottom: 2px; }
.phases p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
@media (max-width: 760px) { .phases { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { border-top: 3px solid var(--ink); padding-top: 18px; }
.step .k { font: 500 13px var(--f-mono); color: var(--jump); letter-spacing: .1em; }
.step h3 { font: 800 clamp(34px, 3.6vw, 46px)/.95 var(--f-display); text-transform: uppercase; margin: 10px 0 12px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 34px; } }

/* every kind of jump */
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.kind { background: var(--surface); padding: clamp(20px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 10px; min-height: 210px; }
.kind svg { width: 54px; height: 54px; color: var(--ink); }
.kind h3 { font: 800 30px/1 var(--f-display); text-transform: uppercase; margin: 8px 0 0; }
.kind p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.setting { margin-top: auto; padding-top: 6px; font: 500 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.setting b { color: var(--link); font-weight: 600; }
@media (max-width: 900px) { .kinds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .kinds { grid-template-columns: 1fr; } .kind { min-height: 0; } }

/* features */
.feat-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.feat-aside { position: sticky; top: 110px; }
.feat-title { font-size: clamp(50px, 5.6vw, 84px); margin-top: 14px; }
.feat-aside .big { font: 800 clamp(120px, 15vw, 220px)/.8 var(--f-display); color: var(--jump); letter-spacing: -.02em; }
.feat-aside p { color: var(--muted); max-width: 34ch; }
.feats { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feats li { display: grid; grid-template-columns: 170px 1fr; gap: 6px 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feats .k { font: 600 12.5px/1.6 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--link); padding-top: 2px; }
.feats p { margin: 0; }
@media (max-width: 860px) {
  .feat-wrap { grid-template-columns: 1fr; }
  .feat-aside { position: static; }
}
@media (max-width: 520px) { .feats li { grid-template-columns: 1fr; } }

.board { margin-top: 26px; }
.board-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pad {
  min-height: 44px; padding: 0 16px; border-radius: 12px; cursor: pointer;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  font: 600 15px/1 var(--f-body); display: inline-flex; align-items: center; gap: 8px;
  transition: transform .12s ease, border-color .2s, background .2s;
}
.pad small { font: 500 11px/1 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pad:hover { border-color: var(--ink); }
.pad:active, .pad.ping { transform: scale(.96); }
.pad[aria-pressed="true"] { background: var(--jump-tint); border-color: var(--jump); }

/* why jump (dark band) */
.night {
  --bg: #0C1220; --surface: #151D2E; --surface-2: #111929; --ink: #E7EDF6; --muted: #93A1B6; --line: #26324A;
  --trace: #7EA4FF; --jump: #FF7148; --link: #FF8A66; --air: #1A2748; --jump-tint: #3B1F18;
  --warn-bg: #2E2614; --warn-ink: #F3D58A; --grid: rgba(231, 237, 246, .05);
  background: var(--bg); color: var(--ink); border-top: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(126, 164, 255, .12), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}
@media (prefers-color-scheme: dark) {
  .night { --bg: #070B14; border-top: 1px solid #26324A; border-bottom: 1px solid #26324A; }
}
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.fact { background: var(--surface); padding: clamp(22px, 2.8vw, 34px); display: flex; flex-direction: column; gap: 10px; }
.fact .n { font: 800 clamp(58px, 6.4vw, 84px)/.85 var(--f-display); color: var(--jump); letter-spacing: -.01em; }
.fact .n small { font-size: .42em; margin-left: .12em; letter-spacing: 0; }
.fact h3 { font: 600 19px/1.3 var(--f-body); margin: 4px 0 0; }
.fact p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.fact .src { margin-top: auto; padding-top: 8px; font: 500 12px/1.45 var(--f-mono); color: var(--muted); }
.fact .src a { color: var(--trace); }
@media (max-width: 960px) { .facts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .facts-grid { grid-template-columns: 1fr; } }
.care {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  margin-top: 28px; padding: 18px 20px; border-radius: 16px;
  background: var(--warn-bg); color: var(--warn-ink);
}
.care svg { width: 24px; height: 24px; margin-top: 2px; }
.care p { margin: 0; font-size: 15.5px; }
.care p + p { margin-top: 6px; }

/* pro */
.pro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.pro-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); position: relative; overflow: hidden; }
.pro-card::after { content: "PRO"; position: absolute; right: -10px; bottom: -34px; font: 800 170px/1 var(--f-display); color: var(--grid); letter-spacing: -.02em; pointer-events: none; }
.tag { display: inline-block; font: 600 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 99px; background: var(--jump-tint); color: var(--ink); }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.checks svg { width: 22px; height: 22px; color: var(--jump); margin-top: 2px; }
.checks b { display: block; }
.checks span { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .pro { grid-template-columns: 1fr; } }

/* gear teaser + gear page */
.gear-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.gear-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 12px; transition: transform .2s ease, border-color .2s; }
.gear-tile:hover { transform: translateY(-3px); border-color: var(--ink); text-decoration: none; }
.gear-tile svg { width: 64px; height: 64px; }
.gear-tile h3 { font: 800 30px/1 var(--f-display); text-transform: uppercase; margin: 6px 0 0; }
.gear-tile p { margin: 0; color: var(--muted); font-size: 15.5px; }
.gear-tile .go { margin-top: auto; font: 600 13px var(--f-mono); color: var(--link); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 860px) { .gear-row { grid-template-columns: 1fr; } }

/* maker */
.maker { text-align: left; }
.maker blockquote { margin: 0; font: 800 clamp(46px, 7.2vw, 108px)/.9 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; max-width: 15ch; }
.maker blockquote em { font-style: normal; color: var(--jump); }
.maker .by { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.maker .by span { font: 500 13px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- inner pages ---------- */
.page-head { padding: clamp(48px, 8vw, 110px) 0 clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px; }
.page-head h1 { font-size: clamp(60px, 10vw, 140px); margin: 16px 0 22px; }
.page-head .lede { font-size: clamp(18px, 1.7vw, 21px); max-width: 52ch; color: var(--muted); margin: 0; }

.notice {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--jump);
  border-radius: 14px; padding: 16px 18px; font-size: 15.5px;
}
.notice svg { width: 22px; height: 22px; color: var(--jump); margin-top: 1px; }
.notice p { margin: 0; }
.notice p + p { margin-top: 6px; }

.cat { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.cat:first-of-type { border-top: 0; }
.cat-side { position: sticky; top: 100px; align-self: start; }
.cat-side .illo { width: clamp(120px, 14vw, 170px); height: auto; aspect-ratio: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 18px; color: var(--ink); margin-bottom: 22px; }
.cat-side h2 { font-size: clamp(46px, 5.6vw, 76px); margin-bottom: 14px; }
.cat-side .setting { margin-top: 10px; }
.cat-body h3 { font: 600 13px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.cat-body h3:not(:first-child) { margin-top: 32px; }
.looks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.looks li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 180px 1fr; gap: 4px 20px; }
.looks b { font-weight: 600; }
.looks span { color: var(--muted); }
@media (max-width: 600px) { .looks li { grid-template-columns: 1fr; } }
.shop { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.soon { font: 500 12.5px/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px; }
@media (max-width: 820px) {
  .cat { grid-template-columns: 1fr; }
  .cat-side { position: static; }
  .cat-side .illo { width: 92px; padding: 12px; border-radius: 18px; margin-bottom: 16px; }
}

.merch { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; align-items: center; }
.merch h2 { font-size: clamp(46px, 6vw, 84px); margin: 12px 0 16px; }
.merch p { color: var(--muted); max-width: 46ch; }
.merch .swatch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.merch .swatch div { aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; font: 800 26px/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
@media (max-width: 760px) { .merch { grid-template-columns: 1fr; } }

/* prose pages (about, privacy, support) */
.prose { max-width: 720px; }
.prose > h2:first-child, .prose > p:empty + h2 { margin-top: 0; }
.prose h2 { font: 800 clamp(34px, 4.2vw, 50px)/.95 var(--f-display); text-transform: uppercase; margin: 56px 0 16px; }
.prose h3 { font: 600 19px/1.35 var(--f-body); margin: 30px 0 8px; }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose .summary { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 0 0 8px; }
.prose .summary p { margin: 0; }
.prose .date { font: 500 13px var(--f-mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.two { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); }
.toc { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; gap: 4px; padding-top: 58px; }
.toc a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 4px 0; }
.toc a:hover { color: var(--ink); }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } .toc { display: none; } }

.slogan { font: 800 clamp(48px, 7.6vw, 112px)/.9 var(--f-display); text-transform: uppercase; margin: 0; max-width: 14ch; }
.slogan em { font-style: normal; color: var(--jump); }

.timeline { list-style: none; margin: 8px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 28px 40px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--jump); }
.timeline li.next::before { border-color: var(--muted); border-style: dashed; }
.timeline time, .timeline .when { display: block; font: 600 12.5px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--link); }
.timeline li.next .when { color: var(--muted); }
.timeline b { display: block; font-size: 18px; margin: 2px 0 2px; }
.timeline p { margin: 0; color: var(--muted); }

.official { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.official dl { display: grid; grid-template-columns: 170px 1fr; gap: 0; margin: 14px 0 0; border-top: 1px solid var(--line); }
.official dt, .official dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.official dt { font: 600 12.5px/1.5 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) { .official dl { grid-template-columns: 1fr; } .official dt { border-bottom: 0; padding-bottom: 0; } }

.faq { border-top: 1px solid var(--line); margin-top: 12px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 28px/1 var(--f-mono); color: var(--link); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

.contact-card { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; background: var(--ink); color: var(--bg); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); }
.contact-card h2 { font: 800 clamp(34px, 4vw, 52px)/.95 var(--f-display); text-transform: uppercase; margin: 0 0 6px; }
.contact-card p { margin: 0; opacity: .8; }
.contact-card .btn { background: var(--bg); color: var(--ink); box-shadow: none; }

/* ---------- line icons ---------- */
.ic { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ic .ac { stroke: var(--jump); }
.ic .acf { fill: var(--jump); stroke: none; }
.ic .bgf { fill: var(--surface); }
.ic .dots { stroke: var(--trace); stroke-dasharray: 0 5.5; stroke-width: 3; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 40px; background: var(--surface-2); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .6fr)); gap: 36px; }
.foot .brand { font-size: 34px; }
.foot .brand svg { width: 38px; height: 38px; }
.foot .slog { margin: 14px 0 0; font: 600 clamp(22px, 2.4vw, 28px)/1.1 var(--f-display); text-transform: uppercase; max-width: 22ch; color: var(--muted); }
.foot h2 { font: 600 12px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 6px 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot ul a { color: var(--ink); text-decoration: none; }
.foot ul a:hover { color: var(--link); text-decoration: underline; }
.fine { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.fine p { margin: 0; }
.fine strong { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > :first-child { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.lost { min-height: 62vh; display: grid; align-content: center; gap: 20px; padding: 60px 0; }
.lost h1 { font-size: clamp(76px, 13vw, 190px); }
.lost svg { width: 100%; height: 120px; }
.lost .flat { fill: none; stroke: var(--trace); stroke-width: 3; }
.lost .band { fill: var(--air); }

@media print {
  .nav, .strip, .hero-phone, .sound-toggle, .board { display: none !important; }
  body { background: #fff; color: #000; }
}

/* where to put your phone */
.spots { margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: 22px 40px; align-items: start; }
.spots h3 { font: 800 clamp(30px, 3.4vw, 44px)/.95 var(--f-display); text-transform: uppercase; margin: 0 0 10px; }
.spots-head p { color: var(--muted); margin: 0; }
.spots ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.spots li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.spots li svg { width: 44px; height: 44px; margin-bottom: 4px; color: var(--ink); }
.spots li b { font-size: 16.5px; line-height: 1.25; }
.spots li span { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.spots-note { grid-column: 2; display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 15px; color: var(--muted); }
.spots-note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--jump); }
@media (max-width: 960px) {
  .spots { grid-template-columns: 1fr; }
  .spots ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spots-note { grid-column: 1; }
}
.pro-card .tag + .checks { margin-top: 16px; }
