/* Protagonist landing page.
   Loaded after bootstrap-reboot.min.css and assets/fonts/fonts.css. */

/* ---------- Tokens ---------- */
:root {
  --cream: #e8d8c9;
  --card-cream: #fdf3e2;
  --orange: #f3701e;
  --red: #c8372d;
  --slate: #4b607f;
  --ink: #141414;
  --ink-raised: #232019;
  --olive: #7a8a3c;
  --olive-dark: #5c6a28;
  --night: #0f0d0a;
  --muted: #dccfbd;
  --border-dark: #3a342a;
  --body-muted: #3a352c;
  --cream-80: rgba(232, 216, 201, .8);

  --font-display: 'Anton', 'Impact', sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-pixel: 'Press Start 2P', ui-monospace, monospace;

  --gutter: clamp(20px, 5.56vw, 80px);
  --content: 1280px;
  --border: 3px solid var(--ink);
  --section-rule: clamp(3px, .3vw, 4px) solid var(--ink);
}

/* ---------- Base ---------- */
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover { color: var(--red); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

h1, h2, h3, p { margin: 0; }

img, video { display: block; max-width: 100%; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 12px;
}
.skip-link:focus { top: 16px; color: var(--cream); }

.wrap {
  box-sizing: content-box;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  border-bottom: var(--section-rule);
  padding-block: clamp(56px, 7.6vw, 110px) clamp(60px, 8.3vw, 120px);
  overflow: hidden;
}

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .92;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--slate);
  font-weight: 700;
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.accent { color: var(--orange); }

/* Pixel chip: "FREE WHILE IN BETA", "LEVEL UP", ... */
.chip {
  display: inline-block;
  padding: clamp(8px, .7vw, 10px) clamp(10px, 1vw, 14px);
  border-radius: 20px;
  font: clamp(9px, .84vw, 12px)/1.2 var(--font-pixel);
  text-transform: uppercase;
}
.chip--orange { background: var(--orange); color: var(--ink); }
.chip--ink { background: var(--ink); color: var(--cream); }
.chip--bordered { border: clamp(2px, .2vw, 3px) solid var(--ink); }

/* Outline pill: "10 RANKS", "49 SKILLS TO UNLOCK" */
.tag {
  display: inline-block;
  padding: 8px 14px;
  border: 2px solid rgba(232, 216, 201, .5);
  border-radius: 16px;
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  --shadow: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 30px;
  border: var(--border);
  border-radius: 20px;
  font: 700 clamp(15px, 1.2vw, 17px)/1.2 var(--font-body);
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn svg { flex: none; width: 20px; height: 20px; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--shadow); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--shadow); }

.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { color: var(--ink); }

.btn--ink { --shadow: var(--card-cream); background: var(--ink); color: var(--cream); }
.btn--ink:hover { color: var(--cream); }

.btn--outline-light {
  background: transparent;
  border-color: var(--cream);
  color: var(--cream);
  box-shadow: none;
}
.btn--outline-light:hover { color: var(--ink); background: var(--cream); box-shadow: none; transform: none; }

.btn--lg { padding: 24px 36px; border-radius: 22px; font-size: clamp(16px, 1.32vw, 19px); box-shadow: 7px 7px 0 var(--shadow); }
.btn--lg svg { width: 22px; height: 22px; }

.btn--sm {
  --shadow: var(--orange);
  padding: 14px 22px;
  border-radius: 16px;
  font-size: 14px;
  box-shadow: 4px 4px 0 var(--shadow);
}
.btn--sm:hover { box-shadow: 6px 6px 0 var(--shadow); }
.btn--sm:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--shadow); }

/* ---------- Confetti ---------- */
.confetti {
  position: absolute;
  width: var(--size, 14px);
  height: var(--size, 14px);
  border-radius: 50%;
  background: var(--c, var(--orange));
  transform: rotate(var(--r, 0deg));
  pointer-events: none;
}
.confetti--sq { border-radius: 28%; }

/* ---------- Header ---------- */
.site-header {
  background: var(--cream);
  border-bottom: var(--section-rule);
}
.site-header .wrap {
  height: clamp(68px, 6.1vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: clamp(8px, .84vw, 12px);
  text-decoration: none;
}
.brand-name {
  font: clamp(24px, 2.1vw, 30px)/1 var(--font-display);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand-chip {
  padding: 6px 8px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--orange);
  color: var(--ink);
  font: clamp(7px, .63vw, 9px)/1 var(--font-pixel);
}

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 36px; margin: 0; padding: 0; list-style: none; }
.site-nav ul a { font-size: 15px; font-weight: 700; text-decoration: none; }

@media (max-width: 899px) {
  .site-nav ul { display: none; }
  .btn--sm { padding: 13px 16px; border-radius: 14px; font-size: 12px; box-shadow: 3px 3px 0 var(--shadow); }
  .btn--sm .long { display: none; }
}

/* ---------- Phone mockup (decorative) ----------
   .phone-frame is the scaled footprint; .phone is the 375×812 screen inside it.
   Set --s on a parent to scale. */
.phone-frame {
  position: absolute;
  width: calc(375px * var(--s));
  height: calc(812px * var(--s));
  transform: rotate(var(--r, 0deg));
}
.phone {
  box-sizing: border-box;
  width: 375px;
  height: 812px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 32px;
  box-shadow: 8px 8px 0 var(--ink);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  transform: scale(var(--s));
  transform-origin: 0 0;
  user-select: none;
}
.phone--slate { background: var(--slate); }
.phone .confetti { --size: 10px; }

.app-back {
  box-sizing: border-box;
  width: 34px; height: 34px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.app-back svg { width: 16px; height: 16px; }
.app-label { color: var(--slate); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.app-anton { font-family: var(--font-display); font-weight: 400; }
.app-btn {
  margin-top: auto;
  padding: 16px 0;
  border-radius: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Skill detail (Dips) */
.app-dips-top { flex: none; padding: 22px 22px 26px; color: var(--cream); }
.app-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.app-pill { padding: 6px 10px; border-radius: 14px; background: var(--orange); color: var(--ink); font-size: 10px; font-weight: 700; }
.app-kicker { margin-top: 18px; color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.app-dips-title { margin-top: 4px; font: 54px/.95 var(--font-display); text-transform: uppercase; }
.app-dips-desc { margin-top: 12px; color: rgba(232, 216, 201, .85); font-size: 13px; font-weight: 600; line-height: 1.6; }
.app-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.app-tag { padding: 7px 11px; border-radius: 14px; background: var(--olive); font-size: 10px; font-weight: 700; }
.app-tag--ghost { padding: 5px 11px; background: none; border: 2px solid rgba(232, 216, 201, .45); color: rgba(232, 216, 201, .7); }
.app-sheet { flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 22px 22px 18px; border-radius: 28px 28px 0 0; background: var(--cream); }
.app-stats { display: flex; gap: 8px; }
.app-stat { flex: 1; padding: 12px; border-radius: 14px; text-align: center; background: var(--ink); color: var(--cream); }
.app-stat small { display: block; color: #8a8072; font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.app-stat b { font: 24px var(--font-display); }
.app-stat--orange { background: var(--orange); color: var(--ink); }
.app-stat--orange small { color: var(--ink); }
.app-slider-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.app-slider-head b { font: 22px var(--font-display); }
.app-slider-head b small { font: 700 11px var(--font-body); }
.app-slider { position: relative; height: 8px; border-radius: 4px; background: var(--muted); }
.app-slider::before { content: ""; position: absolute; inset: 0 58% 0 0; border-radius: 4px; background: var(--orange); }
.app-slider::after {
  content: ""; position: absolute; left: 42%; top: 50%;
  box-sizing: border-box; width: 22px; height: 22px;
  transform: translate(-50%, -50%);
  border: 3px solid var(--ink); border-radius: 50%; background: var(--orange);
}
.app-slider-scale { display: flex; justify-content: space-between; margin-top: 6px; color: var(--slate); font-size: 10px; font-weight: 600; }
.app-ex-list .app-label { margin-bottom: 6px; }

/* Exercise rows, shared by the Dips screen and the "Climb the steps" card */
.ex-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 2px solid var(--muted); font-size: 14px; font-weight: 700; }
.ex-row:last-child { border-bottom: 0; }
.ex-row::before { content: ""; flex: none; width: 10px; height: 32px; border-radius: 5px; background: var(--bar, var(--orange)); }
.ex-row small { display: block; color: var(--slate); font-size: 11px; font-weight: 600; }
.ex-row .ex-meta { margin-left: auto; color: var(--slate); font-size: 11px; font-weight: 700; }
.ex-row--2 { --bar: var(--slate); }
.ex-row--3 { --bar: var(--olive); }

.app-btn--slate { padding: 17px 0; border: var(--border); background: var(--slate); color: var(--cream); letter-spacing: .04em; box-shadow: 5px 5px 0 var(--ink); }

/* Session complete */
.app-done-hero { position: relative; flex: none; height: 250px; overflow: hidden; background: var(--slate); border-bottom: var(--border); }
.app-done-hero img { position: absolute; right: -4px; bottom: -6px; width: 180px; height: 222px; object-fit: contain; }
.app-done-copy { position: absolute; left: 22px; bottom: 22px; width: 190px; color: var(--cream); }
.app-done-copy .chip { padding: 7px 9px; border-radius: 12px; font-size: 9px; }
.app-done-title { margin-top: 8px; font: 40px/.95 var(--font-display); text-transform: uppercase; }
.app-done-copy p { margin-top: 8px; color: rgba(232, 216, 201, .85); font-size: 12px; font-weight: 600; line-height: 1.45; }
.app-done-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 20px; }
.app-done-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.app-done-stats div { padding: 12px 0; border: var(--border); border-radius: 18px; background: var(--card-cream); text-align: center; }
.app-done-stats b { display: block; font: 30px var(--font-display); }
.app-done-stats small { color: var(--slate); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.app-landed { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: var(--border); border-radius: 18px; background: var(--orange); box-shadow: 6px 6px 0 var(--ink); }
.app-landed .box { box-sizing: border-box; flex: none; width: 30px; height: 30px; border: var(--border); border-radius: 8px; background: var(--card-cream); }
.app-landed b { display: block; font-size: 14px; }
.app-landed small { display: block; margin-top: 2px; font-size: 10px; font-weight: 600; }
.app-done-list { display: flex; flex-direction: column; gap: 8px; }
.app-done-list div { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; border: var(--border); border-radius: 16px; background: var(--card-cream); font-size: 14px; font-weight: 700; }
.app-done-list small { color: var(--slate); font-size: 11px; }
.app-streak { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border: var(--border); border-radius: 18px; background: var(--olive); font-size: 13px; font-weight: 700; }
.app-streak b { font: 30px var(--font-display); }
.app-btn--ink { background: var(--ink); color: var(--cream); box-shadow: 5px 5px 0 #b8ac9c; }

/* Mobility */
.app-mob-top { flex: none; padding: 24px 22px 20px; background: var(--olive); }
.app-mob-hint { padding: 7px 11px; border-radius: 20px; background: var(--ink); color: var(--cream); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.app-mob-title { margin-top: 14px; color: var(--card-cream); font: 38px/1.02 var(--font-display); text-transform: uppercase; }
.app-mob-time { display: flex; justify-content: space-between; margin-top: 14px; font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.app-mob-bar { height: 8px; margin-top: 6px; border-radius: 4px; background: var(--ink); }
.app-filters { flex: none; display: flex; gap: 6px; padding: 14px 22px 0; }
.app-filters span { flex: 1; padding: 9px 0; border: 2px solid var(--ink); border-radius: 14px; text-align: center; font-size: 11px; font-weight: 700; }
.app-filters .on { background: var(--ink); color: var(--cream); }
.app-mob-groups { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 20px; padding: 18px 22px 24px; overflow: hidden; }
.app-group { --g: var(--slate); --g-text: var(--slate); }
.app-group--lower { --g: var(--orange); --g-text: var(--red); }
.app-group--full { --g: var(--olive); --g-text: var(--olive-dark); }
.app-group-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--g-text); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.app-group-head::before { content: ""; box-sizing: border-box; width: 14px; height: 14px; border: 2px solid var(--ink); border-radius: 4px; background: var(--g); }
.app-group-list { display: flex; flex-direction: column; gap: 8px; padding-left: 12px; border-left: 4px solid var(--g); }
.app-routine { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border: 2px solid var(--ink); border-radius: 14px; background: var(--card-cream); font-size: 14px; font-weight: 700; }
.app-routine b { color: var(--slate); font: 18px var(--font-display); }
.app-routine--slate { border-color: var(--slate); background: var(--slate); color: var(--cream); }
.app-routine--slate b { color: var(--cream); }
.app-routine--hot { border: var(--border); background: var(--orange); box-shadow: 4px 4px 0 var(--ink); font-size: 15px; }
.app-routine--hot b { color: var(--ink); font-size: 20px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--slate);
  padding-block: clamp(40px, 6.1vw, 88px) clamp(48px, 6.7vw, 96px);
}
.hero-inner { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.hero-copy .chip { font-size: clamp(9px, .84vw, 12px); }
.hero-title {
  margin-top: clamp(20px, 1.8vw, 26px);
  color: var(--cream);
  font-size: min(calc((100vw - 2 * var(--gutter)) * .19), 110px);
  line-height: .9;
}
.hero-lede {
  max-width: 560px;
  margin-top: clamp(18px, 1.95vw, 28px);
  color: rgba(253, 243, 226, .9);
  font-size: clamp(17px, 1.46vw, 21px);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: clamp(26px, 2.8vw, 40px); }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: clamp(18px, 2.1vw, 30px) 0 0;
  padding: 0;
  list-style: none;
  color: rgba(232, 216, 201, .85);
  font-size: clamp(11px, .9vw, 13px);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-facts li + li::before { content: "■"; margin-right: 14px; color: var(--orange); }

.hero-art { --s: .7; display: flex; justify-content: center; }
.hero-stage { position: relative; width: calc(762.5px * var(--s)); height: calc(875px * var(--s)); }
.hero-phone--dips { --r: -6deg; left: calc(25px * var(--s)); top: calc(62.5px * var(--s)); }
.hero-phone--done { --r: 5deg; left: calc(387.5px * var(--s)); top: 0; }

.sticker {
  position: absolute;
  left: calc(295px * var(--s));
  top: calc(650px * var(--s));
  box-sizing: border-box;
  width: calc(187.5px * var(--s));
  height: calc(187.5px * var(--s));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: clamp(3px, .28vw, 4px) solid var(--ink);
  border-radius: 50%;
  background: var(--card-cream);
  box-shadow: 6px 6px 0 var(--ink);
  text-align: center;
  transform: rotate(-10deg);
  animation: bob 3.2s ease-in-out infinite;
}
.sticker b { color: var(--red); font: 400 calc(55px * var(--s))/1 var(--font-display); }
.sticker span { margin-top: 4px; font: calc(11.25px * var(--s))/1.6 var(--font-pixel); }

@keyframes bob {
  0%, 100% { transform: rotate(-10deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-8px); }
}

@media (max-width: 599px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { padding-inline: 0; }
  .hero-facts { justify-content: center; }
  .hero-art { margin-top: 36px; }
  .hero-stage { width: calc(375px * var(--s)); height: calc(857px * var(--s)); }
  .hero-phone--dips { display: none; }
  .hero-phone--done { --r: 4deg; left: 0; }
  .sticker { left: -52px; top: calc(628px * var(--s)); }
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 640fr) minmax(0, 600fr); }
  .hero-title { font-size: clamp(64px, calc((100vw - 200px) * .106), 132px); }
  .hero-art { --s: .52; justify-content: flex-start; }
}
@media (min-width: 1280px) { .hero-art { --s: .68; } }
@media (min-width: 1440px) { .hero-art { --s: .8; } }

/* ---------- Marquee ---------- */
.marquee {
  display: flex;
  align-items: center;
  height: clamp(54px, 5.3vw, 76px);
  overflow: hidden;
  background: var(--orange);
  border-bottom: var(--section-rule);
}
.marquee-track { display: flex; flex: none; animation: marquee 28s linear infinite; }
.marquee-group {
  display: flex;
  flex: none;
  gap: clamp(24px, 2.8vw, 40px);
  padding-right: clamp(24px, 2.8vw, 40px);
  margin: 0;
  list-style: none;
  white-space: nowrap;
  font: clamp(12px, 1.25vw, 18px)/1 var(--font-pixel);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- How it works ---------- */
.how { padding-block: clamp(60px, 8.3vw, 120px) clamp(64px, 8.3vw, 120px); }
.how-head { display: flex; flex-direction: column; gap: 20px; }
.how-head h2 { margin-top: clamp(10px, 1vw, 14px); font-size: clamp(48px, 6.67vw, 96px); line-height: .95; max-width: 820px; }
.how-head p { max-width: 520px; color: var(--body-muted); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; }

.steps { display: grid; gap: clamp(20px, 2.2vw, 32px); margin: clamp(32px, 4.4vw, 64px) 0 0; padding: 0; list-style: none; }
.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 2.2vw, 32px);
  border: var(--border);
  border-radius: clamp(24px, 1.95vw, 28px);
  background: var(--card-cream);
  box-shadow: clamp(6px, .56vw, 8px) clamp(6px, .56vw, 8px) 0 var(--ink);
}
.step-head { display: flex; align-items: center; gap: 14px; }
.step-num {
  box-sizing: border-box;
  flex: none;
  width: clamp(48px, 4.4vw, 64px);
  height: clamp(48px, 4.4vw, 64px);
  display: flex; align-items: center; justify-content: center;
  border: var(--border);
  border-radius: clamp(14px, 1.25vw, 18px);
  background: var(--num, var(--slate));
  color: var(--num-text, var(--cream));
  font: clamp(24px, 2.2vw, 32px)/1 var(--font-display);
}
.step:nth-child(2) { --num: var(--orange); --num-text: var(--ink); }
.step:nth-child(3) { --num: var(--olive); --num-text: var(--ink); }
.step h3 { font-size: clamp(30px, 2.64vw, 38px); line-height: 1; }
.step > p { color: var(--body-muted); font-size: clamp(15px, 1.1vw, 16px); line-height: 1.6; }

.step-demo { margin-top: auto; padding: 18px; border: 2px solid var(--ink); border-radius: 20px; background: var(--cream); }
.skill-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.skill-wall span {
  height: 54px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--tile, var(--slate));
  color: var(--tile-text, var(--cream));
  font-size: 12px;
  font-weight: 700;
}
.skill-wall .done { --tile: var(--olive); --tile-text: var(--ink); }
.skill-wall .active { --tile: var(--orange); --tile-text: var(--ink); border-width: 3px; box-shadow: 3px 3px 0 var(--ink); }
.step-demo--ladder { padding-block: 0; }
.step-demo--ladder .ex-row { padding: 10px 0; }
.step-demo--ladder .ex-row::before { height: 30px; }
.step-demo--landed { display: flex; flex-direction: column; gap: 14px; }
.landed {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  border: var(--border);
  border-radius: 16px;
  background: var(--orange);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.landed .check { flex: none; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--ink); }
.landed .check svg { width: 18px; height: 18px; }
.landed-chips { display: flex; gap: 8px; }
.landed-chips span { padding: 7px 12px; border-radius: 14px; background: var(--ink); color: var(--cream); font-size: 11px; font-weight: 700; }
.landed-chips span + span { padding-block: 5px; border: 2px solid var(--ink); background: var(--card-cream); color: var(--ink); }

@media (max-width: 1023px) {
  .skill-wall span:nth-child(n + 4) { display: none; }
  .step-demo { padding: 12px; }
  .step-demo--ladder { padding: 4px 14px; }
  .step-demo--landed { padding: 0; border: 0; background: none; }
  .landed-chips { display: none; }
}
@media (min-width: 1024px) {
  .how-head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 60px; }
  .how-head p { width: 380px; flex: none; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ---------- Ranks ---------- */
.ranks { background: var(--night); }
.ranks-head { position: relative; display: grid; grid-template-areas: "chip" "art" "copy"; }
.ranks-head .chip { grid-area: chip; justify-self: start; }
.ranks-copy { grid-area: copy; }
.ranks-art { grid-area: art; justify-self: center; width: 260px; aspect-ratio: 1; margin-top: 10px; }
.ranks-art video { width: 100%; height: 100%; object-fit: contain; }
.ranks-copy h2 { margin-top: 8px; color: var(--cream); font-size: clamp(54px, 7.8vw, 112px); }
.ranks-copy p:not(.swipe-hint) { max-width: 620px; margin-top: clamp(16px, 1.8vw, 26px); color: var(--cream-80); font-size: clamp(16px, 1.32vw, 19px); line-height: 1.6; }
.ranks-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 1.95vw, 28px); }
.swipe-hint { display: none; margin-top: 20px; color: rgba(232, 216, 201, .7); font-size: 11px; font-weight: 700; letter-spacing: .08em; }

.rank-list { display: grid; gap: 16px; margin: clamp(24px, 3.9vw, 56px) 0 0; padding: 0; list-style: none; }
.rank-card {
  box-sizing: border-box;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 2px solid var(--border-dark);
  border-radius: 22px;
  background: var(--ink-raised);
  color: var(--cream);
}
.rank-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rank-num { color: var(--orange); font: 10px var(--font-pixel); }
.rank-skills { padding: 4px 8px; border: 2px solid rgba(232, 216, 201, .35); border-radius: 12px; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.rank-pips { display: flex; gap: 3px; }
.rank-pips span { flex: 1; height: 8px; border-radius: 2px; background: var(--border-dark); }
.rank-pips .on { background: var(--orange); }
.rank-card h3 { font-size: clamp(30px, 2.2vw, 32px); line-height: 1; }
.rank-desc { color: rgba(232, 216, 201, .78); font-size: 14px; line-height: 1.5; }
.rank-req { margin-top: auto; color: rgba(232, 216, 201, .62); font-size: 11px; font-weight: 700; letter-spacing: .03em; }

.rank-card--top { border: var(--border); background: var(--orange); color: var(--ink); box-shadow: 6px 6px 0 var(--cream); }
.rank-card--top .rank-num,
.rank-card--top .rank-desc,
.rank-card--top .rank-req { color: var(--ink); }
.rank-card--top .rank-skills { border-color: var(--ink); }
.rank-card--top .rank-pips span { background: var(--ink); }
.rank-card--top .rank-desc { font-weight: 600; }

@media (max-width: 599px) {
  .swipe-hint { display: block; }
  .rank-list {
    display: flex;
    gap: 12px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 14px var(--gutter) 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .rank-list::-webkit-scrollbar { display: none; }
  .rank-card { flex: none; width: 262px; min-height: 290px; padding: 20px; gap: 12px; scroll-snap-align: start; }
  .rank-num { font-size: 9px; }
  .rank-pips span { height: 7px; }
}
@media (min-width: 600px) { .rank-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .ranks-head { grid-template-areas: "chip art" "copy art"; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: start; }
  .ranks-copy { max-width: 760px; }
  .ranks-copy h2 { margin-top: 24px; }
  .ranks-art { align-self: center; width: clamp(260px, 29vw, 420px); margin-top: 0; }
  .rank-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) { .rank-list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Mobility ---------- */
.mobility { background: var(--olive); }
.mobility-inner { display: grid; grid-template-areas: "copy" "art" "tiles"; }
.mobility-copy { grid-area: copy; }
.mobility-copy h2 { margin-top: clamp(18px, 1.67vw, 24px); color: var(--card-cream); font-size: clamp(58px, 7.2vw, 104px); }
.mobility-copy h2 span { color: var(--ink); }
.mobility-copy p:not(.chip) { max-width: 620px; margin-top: clamp(16px, 1.8vw, 26px); font-size: clamp(16px, 1.4vw, 20px); font-weight: 600; line-height: 1.6; }

.mobility-art { --s: .65; grid-area: art; position: relative; justify-self: center; width: 350px; max-width: 100%; height: 540px; margin-top: 28px; }
.mobility-phone { --r: -3deg; left: 58px; top: 0; }
.float-chip {
  position: absolute;
  padding: 8px 9px;
  border: var(--border);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  font: 8px/1.2 var(--font-pixel);
  transform: rotate(var(--r));
}
.float-chip--a { --r: -8deg; left: 6px; top: 110px; background: var(--slate); color: var(--cream); }
.float-chip--b { --r: 7deg; left: 272px; top: 380px; background: var(--orange); color: var(--ink); }
.float-chip .lg { display: none; }

.mobility-tiles { grid-area: tiles; display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.mobility-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: var(--border);
  border-radius: 18px;
  background: var(--card-cream);
}
.mobility-tile::before { content: ""; box-sizing: border-box; flex: none; width: 20px; height: 20px; border: 2px solid var(--ink); border-radius: 6px; background: var(--dot, var(--slate)); }
.mobility-tile:nth-child(2) { --dot: var(--orange); }
.mobility-tile:nth-child(3) { --dot: var(--olive); }
.mobility-tile h3 { font-size: 15px; font-weight: 700; }
.mobility-tile p { margin-top: 2px; color: var(--body-muted); font-size: 13px; }
.mobility-note { grid-area: note; display: none; margin-top: 28px; font-size: 15px; font-weight: 700; }

@media (min-width: 768px) {
  .mobility-art { --s: .8; width: 440px; height: 700px; }
  .mobility-phone { left: 50px; }
  .float-chip--a { left: 0; top: 140px; }
  .float-chip--b { left: 330px; top: 470px; }
  .mobility-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
  .mobility-tile { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; border-radius: 20px; box-shadow: 5px 5px 0 var(--ink); }
  .mobility-tile::before { width: 22px; height: 22px; }
  .mobility-tile h3 { font-size: 17px; }
  .mobility-tile p { margin-top: 6px; font-size: 14px; line-height: 1.5; }
}
@media (min-width: 1200px) {
  .mobility-inner {
    grid-template-areas: "art copy" "art tiles" "art note";
    grid-template-columns: 440px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 90px;
    align-content: center;
  }
  .mobility-art { --s: .9; align-self: center; height: 760px; margin-top: 0; }
  .mobility-phone { --r: -4deg; left: 40px; top: 20px; }
  .mobility-note { display: block; }
  .float-chip { padding: 10px 12px; border-radius: 16px; font-size: 11px; }
  .float-chip--a { left: 0; top: 150px; }
  .float-chip--b { left: 330px; top: 520px; }
  .float-chip .lg { display: inline; }
  .float-chip .sm { display: none; }
}

/* ---------- Beta ---------- */
.beta { background: var(--orange); }
.beta-inner { display: grid; grid-template-areas: "intro" "panel" "steps" "cta"; }
.beta-intro { grid-area: intro; }
.beta-intro h2 { margin-top: clamp(18px, 1.67vw, 24px); font-size: min(calc((100vw - 2 * var(--gutter)) * .205), 120px); line-height: .88; }
.beta-intro p:not(.chip) { max-width: 640px; margin-top: clamp(16px, 1.95vw, 28px); font-size: clamp(16px, 1.4vw, 20px); font-weight: 600; line-height: 1.6; }

.join-steps { grid-area: steps; display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; counter-reset: join; }
.join-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: var(--border);
  border-radius: 18px;
  background: var(--card-cream);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  counter-increment: join;
}
.join-steps li::before { content: counter(join); color: var(--red); font: 12px var(--font-pixel); }

.beta-cta { grid-area: cta; display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 26px; }
.beta-cta small { font-size: 13px; font-weight: 700; line-height: 1.45; text-align: center; }

.beta-panel {
  grid-area: panel;
  position: relative;
  height: clamp(340px, 45vw, 440px);
  margin-top: 26px;
  overflow: hidden;
  border: var(--border);
  border-radius: 28px;
  background: var(--slate);
  box-shadow: 7px 7px 0 var(--ink);
}
.beta-panel img { position: absolute; left: 50%; bottom: -8px; height: 76%; width: auto; transform: translateX(-45%); }
.bubble {
  position: absolute;
  left: 18px; top: 20px;
  padding: 10px 14px;
  border: var(--border);
  border-radius: 18px 18px 18px 4px;
  background: var(--card-cream);
  transform: rotate(-3deg);
}
.bubble b { display: block; font: 24px/1 var(--font-display); text-transform: uppercase; }
.bubble small { display: none; margin-top: 6px; color: var(--slate); font-size: 13px; font-weight: 700; }
.beta-panel .chip { display: none; position: absolute; right: 30px; top: 150px; padding: 8px 10px; border-radius: 12px; font-size: 11px; }

@media (min-width: 600px) {
  .beta-cta { flex-direction: row; align-items: center; gap: 22px; }
  .beta-cta small { font-size: 14px; text-align: left; }
  .bubble { left: 32px; top: 36px; padding: 16px 20px; border-radius: 22px 22px 22px 4px; box-shadow: 5px 5px 0 var(--ink); }
  .bubble b { font-size: 34px; }
  .bubble small, .beta-panel .chip { display: block; }
}
@media (max-width: 599px) {
  .beta-cta .btn { padding-inline: 0; box-shadow: 5px 5px 0 var(--shadow); }
}
@media (min-width: 768px) {
  .join-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
  .join-steps li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; border-radius: 20px; font-size: 15px; line-height: 1.45; }
  .join-steps li::before { font-size: 14px; }
  .beta-cta { margin-top: 40px; }
}
@media (min-width: 1200px) {
  .beta-inner {
    grid-template-areas: "intro panel" "steps panel" "cta panel";
    grid-template-columns: minmax(0, 1fr) clamp(360px, 33vw, 480px);
    column-gap: 72px;
    align-items: start;
  }
  .beta-intro h2 { font-size: min(calc((100vw - 2 * var(--gutter)) * .11), 136px); }
  .beta-panel { align-self: center; height: 600px; margin-top: 0; border-width: 4px; border-radius: 36px; box-shadow: 12px 12px 0 var(--ink); }
  .beta-panel img { height: 440px; bottom: -10px; transform: translateX(-50%); }
}

/* ---------- FAQ ---------- */
.faq h2 { margin-top: clamp(10px, 1vw, 14px); font-size: clamp(48px, 6.1vw, 88px); line-height: .95; }
.faq-list { display: grid; gap: clamp(12px, 1.4vw, 20px); margin-top: clamp(28px, 3.6vw, 52px); }
.faq-item { padding: clamp(18px, 1.95vw, 28px) clamp(20px, 2.1vw, 30px); border: var(--border); border-radius: clamp(20px, 1.67vw, 24px); background: var(--card-cream); }
.faq-item h3 { font-size: clamp(17px, 1.46vw, 21px); font-weight: 700; }
.faq-item p { margin-top: clamp(6px, .7vw, 10px); color: var(--body-muted); font-size: clamp(14px, 1.1vw, 16px); line-height: 1.6; }
@media (min-width: 768px) { .faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding-block: clamp(48px, 5.6vw, 80px) clamp(40px, 4.2vw, 60px); }
.footer-mark { font-size: calc(min(100vw - 2 * var(--gutter), var(--content)) * .197); line-height: .85; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 40px;
  margin-top: clamp(24px, 2.8vw, 40px);
  padding-top: clamp(20px, 1.95vw, 28px);
  border-top: 2px solid var(--border-dark);
}
.footer-tagline { font-size: clamp(15px, 1.1vw, 16px); font-weight: 700; line-height: 1.5; }
.footer-tagline span { color: var(--orange); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px 28px; margin: 0; padding: 0; list-style: none; color: rgba(232, 216, 201, .75); font-size: clamp(13px, 1vw, 14px); font-weight: 600; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: var(--orange); }
@media (max-width: 767px) { .footer-tagline span { display: block; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .sticker { animation: none; }
  .btn { transition: none; }
}

/* Line breaks that only apply on wide layouts */
@media (max-width: 1199px) { .br-lg { display: none; } }
@media (max-width: 599px) {
  .hide-sm { display: none; }
  .hero-facts { gap: 6px 8px; }
  .hero-facts li + li::before { margin-right: 8px; }
}
/* 3-column rank grid: let the final rank take the whole last row */
@media (min-width: 900px) and (max-width: 1199px) { .rank-card--top { grid-column: 1 / -1; } }

/* ---------- Legal pages (privacy.html) ---------- */
.legal h1 { margin-top: clamp(10px, 1vw, 14px); font-size: clamp(48px, 6.1vw, 88px); line-height: .95; }
.legal-meta { margin-top: 16px; color: var(--slate); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.legal-body {
  max-width: 760px;
  margin-top: clamp(28px, 3.6vw, 52px);
  padding: clamp(22px, 3.3vw, 48px);
  border: var(--border);
  border-radius: clamp(20px, 1.67vw, 24px);
  background: var(--card-cream);
  box-shadow: 8px 8px 0 var(--ink);
  color: var(--body-muted);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
}
.legal-body h2 { margin: 1.8em 0 .5em; color: var(--ink); font: clamp(24px, 2.2vw, 32px)/1 var(--font-display); text-transform: uppercase; }
.legal-body p + p { margin-top: .8em; }
.legal-body ul { margin: .6em 0 .8em; padding-left: 1.3em; }
.legal-body li + li { margin-top: .35em; }
.legal-body li::marker { color: var(--orange); }
.legal-body a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-body a:hover { color: var(--red); }
.legal-body strong { color: var(--ink); font-weight: 700; }

/* ---------- Data deletion page (delete-account.html) ---------- */
.legal-lede { max-width: 640px; margin-top: 18px; color: var(--body-muted); font-size: clamp(16px, 1.32vw, 19px); line-height: 1.6; }
.delete-options { display: grid; gap: clamp(20px, 2.2vw, 32px); margin-top: clamp(28px, 3.6vw, 52px); }
.delete-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(22px, 2.8vw, 40px);
  border: var(--border);
  border-radius: clamp(20px, 1.95vw, 28px);
  background: var(--card-cream);
  box-shadow: 8px 8px 0 var(--ink);
  color: var(--body-muted);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
}
.delete-card h2 { color: var(--ink); font-size: clamp(34px, 3.1vw, 44px); line-height: 1; }
.delete-card a:not(.btn) { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.delete-card .btn { margin-top: 8px; }
.app-path { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; margin: 0; padding: 0; list-style: none; }
.app-path li { padding: 10px 14px; border: var(--border); border-radius: 14px; background: var(--cream); color: var(--ink); font-weight: 700; }
.app-path li:last-child { background: var(--orange); box-shadow: 3px 3px 0 var(--ink); }
.app-path li { position: relative; }
.app-path li + li { margin-left: 22px; }
.app-path li + li::before { content: "→"; position: absolute; left: -24px; top: 50%; transform: translateY(-50%); color: var(--ink); font-weight: 700; }
.legal-note { margin-top: clamp(28px, 3.3vw, 48px); color: var(--body-muted); font-size: 15px; }
.legal-note a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (min-width: 900px) { .delete-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .app-path { flex-direction: column; align-items: flex-start; gap: 0; }
  .app-path li + li { margin: 24px 0 0; }
  .app-path li + li::before { content: "↓"; left: 18px; top: -23px; transform: none; }
}
