/* ============================================================
   RepStandard - landing page
   Palette lifted from the iOS app (AppTheme.swift)
   ============================================================ */

:root {
  --cream:      #F5F0EB;
  --cream-deep: #EFE8E0;
  --paper:      #FFFFFF;
  --ink:        #0E0E0E;
  --ink-2:      #1C1C1C;
  --ink-3:      #222222;
  --lime:       #D9F26B;
  --lime-hi:    #E8FF6C;
  --mute:       #6B6B6B;
  --mute-2:     #888888;
  --line:       rgba(14, 14, 14, .10);
  --line-dark:  rgba(255, 255, 255, .12);

  --push:   #ED7E55;
  --squat:  #34B891;
  --situp:  #6D62C9;
  --plank:  #D8902F;

  --r-card: 18px;
  --r-lg:   26px;
  --shadow: 0 2px 12px rgba(0, 0, 0, .06);
  --shadow-lg: 0 24px 60px -20px rgba(14, 14, 14, .28);

  --wrap: 1160px;
  --gut: clamp(20px, 5vw, 48px);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.dark :focus-visible, .foot :focus-visible { outline-color: var(--lime); }

/* ───────────────── typography ───────────────── */

h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.02; font-weight: 800; }

h1 {
  font-size: clamp(2.75rem, 5.6vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.h2 {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  text-wrap: balance;
}

.kicker {
  margin: 0 0 14px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute);
}
.kicker-lime { color: var(--lime); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: #3A3A3A;
  max-width: 52ch;
  margin: 0 0 32px;
  line-height: 1.55;
}
.lede-dark { color: rgba(255, 255, 255, .68); }

.fineprint {
  font-size: .8rem;
  color: var(--mute-2);
  max-width: 62ch;
  margin: 28px 0 0;
}

/* ───────────────── buttons ───────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  background: var(--ink); color: #fff;
  font-weight: 700; font-size: .97rem;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); background: #000; }
.btn-sm { padding: 9px 17px; font-size: .9rem; }

.btn-lime { background: var(--lime); color: var(--ink); width: 100%; padding: 15px 22px; }
.btn-lime:hover { background: var(--lime-hi); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--line);
  padding-bottom: 3px;
  transition: border-color .18s ease, gap .18s ease;
}
.btn-ghost:hover { border-color: var(--ink); gap: 11px; }

.badge-store {
  display: inline-block; color: var(--ink);
  width: 168px; line-height: 0;
  border-radius: 9px;
  transition: transform .18s ease;
}
.badge-store:hover { transform: translateY(-1px); }
.badge-store svg { width: 100%; height: auto; }
.badge-lime { color: var(--lime); }

/* ───────────────── device frame ─────────────────
   Screenshots are raw, full-bleed captures (iPhone 16 Pro, 1206×2622).
   Everything below - bezel, corner radius, Dynamic Island - is drawn here so
   the shots stay untouched and every phone on the page matches. */

.device {
  --bezel: 2.6%;               /* of frame width */
  position: relative;
  width: 100%;
  aspect-ratio: 1206 / 2622;
  padding: var(--bezel);
  background: #0A0A0A;
  border-radius: 18.2% / 8.4%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .14),
    0 26px 60px -24px rgba(14, 14, 14, .45);
}

.device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 15.9% / 7.3%;
  display: block;
}

/* Only for shots the OS didn't render an island into. */
.device-island::after {
  content: "";
  position: absolute;
  top: 3.2%;
  left: 50%;
  width: 31%;
  height: 4.2%;
  transform: translateX(-50%);
  background: #000;
  border-radius: 999px;
  pointer-events: none;
}

/* ───────────────── nav ───────────────── */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 240, 235, .82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(255, 255, 255, .86); }

.nav-in {
  display: flex; align-items: center; gap: 22px;
  height: 68px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { border-radius: 8px; box-shadow: 0 1px 4px rgba(0, 0, 0, .16); }
.brand-word { font-weight: 900; font-size: 1.06rem; letter-spacing: -0.032em; }

.nav-links {
  display: flex; gap: 26px; margin-left: auto;
  font-size: .93rem; font-weight: 600;
}
.nav-links a { text-decoration: none; color: #3A3A3A; transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }

.nav .btn { margin-left: auto; }
.nav-links + .btn { margin-left: 0; }

/* ───────────────── hero ───────────────── */

.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 42%, #FBF9F7 100%);
  padding-top: clamp(40px, 6vw, 76px);
  position: relative;
}

.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-bottom: clamp(30px, 5vw, 60px);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 22px;
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  color: var(--mute);
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--squat);
  box-shadow: 0 0 0 3px rgba(52, 184, 145, .18);
}

h1 + .lede { margin-top: 22px; max-width: 44ch; }

.cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.sprite { display: none; }
.ico { width: 20px; height: 20px; fill: currentColor; display: block; }

.ph-badge {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 26px;
  padding: 10px 18px 10px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .7);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.ph-badge:hover { border-color: #DA552F; background: #fff; transform: translateY(-1px); }
.ph-badge .ico { width: 26px; height: 26px; color: #DA552F; flex: none; }
.ph-badge span { display: block; font-size: .78rem; color: var(--mute); line-height: 1.35; }
.ph-badge b {
  display: block; font-size: .9rem; font-weight: 800;
  color: var(--ink); letter-spacing: -0.02em;
}

.hero-facts {
  display: flex; gap: 34px; flex-wrap: wrap;
  list-style: none; padding: 0;
  margin: 40px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: .9rem; color: var(--mute);
  font-weight: 600;
}
.hero-facts strong {
  display: block; font-size: 1.75rem; font-weight: 900;
  color: var(--ink); letter-spacing: -0.04em; line-height: 1.1;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  padding-block: 10px;
}

.blob {
  position: absolute; inset: 6% -14% 2% -14%;
  background: radial-gradient(58% 50% at 50% 48%, rgba(14, 14, 14, .12), transparent 70%);
  filter: blur(26px);
  z-index: 0;
}

.phone { position: relative; z-index: 1; }
.phone .device { width: 100%; }

/* Front phone sits left of centre; the second one fans out behind its right edge. */
.phone-front { width: min(286px, 60vw); margin-right: 15%; }
.phone-back {
  position: absolute;
  width: min(238px, 50vw);
  right: 0;
  top: 12%;
  transform: rotate(7deg);
  transform-origin: bottom left;
  z-index: 0;
}

/* exercise bar */

.exbar { background: var(--ink); color: #fff; border-bottom: 1px solid var(--line-dark); }
.exbar-in {
  display: flex; flex-wrap: wrap; gap: clamp(18px, 4vw, 54px);
  align-items: center; justify-content: center;
  padding-block: 20px;
}
.ex {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 800; font-size: .95rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
}
.ex img { height: 20px; width: auto; opacity: .95; }
.ex-push  { color: var(--push); }
.ex-squat { color: var(--squat); }
.ex-situp { color: #9C93FF; }
.ex-plank { color: var(--plank); }

/* ───────────────── sections ───────────────── */

.sec { padding-block: clamp(64px, 9vw, 118px); }
.sec-tint { background: var(--cream); }
.dark { background: var(--ink); color: #fff; }
.dark .lede { color: rgba(255, 255, 255, .68); }
.dark .fineprint { color: rgba(255, 255, 255, .42); }

/* steps */

/* Runs straight on from the dark exercise bar, so the hero and the feature
   grid are separated by one substantial dark block rather than a white gap. */
.how { padding-top: clamp(56px, 7vw, 92px); }

.how-in {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.how-copy { max-width: 62ch; }

.steps {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; gap: 0;
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
}
.steps li:last-child { border-bottom: 1px solid var(--line-dark); }

.steps .num {
  font-size: 2.4rem; font-weight: 900;
  letter-spacing: -0.05em; line-height: .85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(217, 242, 107, .62);
  text-stroke: 1.5px rgba(217, 242, 107, .62);
}
.steps h3 { font-size: 1.25rem; margin-bottom: 8px; color: #fff; }
.steps p { margin: 0; color: rgba(255, 255, 255, .62); font-size: 1rem; max-width: 46ch; }

.step-meta {
  display: block; margin-top: 10px;
  font-size: .74rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--lime);
}

/* ── video ──
   Plain video panel at the source's own 9:16. No bezel, no drop shadow, no
   device radius - a widescreen frame would pillarbox a Short down to about a
   third of the width. */

.video { margin: 40px 0 0; display: grid; gap: 14px; justify-items: start; }

.video-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}
.video-frame > img,
.video-frame > iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
  object-fit: cover;
}

.play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  border: 0; padding: 0; cursor: pointer;
  background: rgba(10, 10, 10, .18);
  transition: background .2s ease;
}
.play svg {
  position: relative; z-index: 1;
  width: 30px; height: 30px;
  fill: var(--ink);
  margin-left: 4px;
}
.play::before {
  content: "";
  position: absolute;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .55);
  transition: transform .2s ease, background .2s ease;
}
.play:hover { background: rgba(10, 10, 10, .3); }
.play:hover::before { transform: scale(1.08); background: var(--lime-hi); }

.video figcaption {
  font-size: .84rem; font-weight: 600;
  color: rgba(255, 255, 255, .5);
}

/* feature grid */

.grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 18px;
}

.card {
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 32px 30px 34px;
  display: flex; flex-direction: column;
}
.card-wide {
  margin-top: 46px;
  flex-direction: row; align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: 40px clamp(30px, 5vw, 64px);
}
.card-wide .card-text { flex: 1 1 auto; }
.card-wide .card-shot { flex: 0 0 clamp(180px, 20vw, 214px); margin: 0; }

.card h3 { font-size: 1.4rem; margin-bottom: 10px; letter-spacing: -0.03em; }
.card p { margin: 0; color: #3A3A3A; }
.card .note { margin-top: 12px; font-size: .87rem; color: var(--mute-2); }

.movelist {
  list-style: none; padding: 0;
  margin: 24px 0 20px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.movelist li {
  position: relative;
  padding-left: 18px;
  border-left: 2px solid var(--mute);
  line-height: 1.35;
}
.movelist b { display: block; font-size: .96rem; font-weight: 800; letter-spacing: -0.02em; }
.movelist span { display: block; font-size: .86rem; color: var(--mute); }
.movelist li.m-push  { border-left-color: var(--push); }
.movelist li.m-squat { border-left-color: var(--squat); }
.movelist li.m-situp { border-left-color: var(--situp); }
.movelist li.m-plank { border-left-color: var(--plank); }

/* Whole device, sitting inside the card - nothing cropped. */
.card-shot {
  margin: 28px auto 0;
  width: min(196px, 62%);
  align-self: center;
}
.card-shot .device {
  width: 100%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .14),
    0 18px 40px -18px rgba(14, 14, 14, .38);
}

/* ───────────────── ranks ───────────────── */

/* The ladder reads as a standards chart, not a card wall: one row per rank,
   numbers in fixed columns so they can be compared straight down the page. */

.tiers { margin-top: 40px; display: grid; gap: 30px; }

.tier-head,
.rank {
  display: grid;
  grid-template-columns: 38px minmax(120px, 1fr) 104px minmax(320px, 1.15fr);
  align-items: baseline;
  gap: 14px;
  /* Transparent border matches .rank's hover border so columns stay aligned. */
  border: 1px solid transparent;
}

/* Tier name sits on the same line as the column labels. */
.tier-head {
  border-bottom-color: var(--line-dark);
  padding: 0 16px 12px;
  margin-bottom: 4px;
  font-size: .68rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .34);
}
.tier-head h3 {
  font-size: 1.02rem; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase;
  color: #fff;
}

.ladder { list-style: none; margin: 0; padding: 0; }

.rank {
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  transition: background .16s ease, border-color .16s ease;
}
.rank + .rank { box-shadow: 0 -1px 0 rgba(255, 255, 255, .06); }
.rank:hover {
  background: var(--ink-2);
  border-color: rgba(217, 242, 107, .32);
  box-shadow: none;
}
.rank:hover + .rank { box-shadow: none; }

.rank .r-emoji { font-size: 1.4rem; line-height: 1; }
.rank .r-name { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.02em; }
.rank .r-pct {
  font-size: .78rem; font-weight: 800;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.r-reqs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.r-req { display: flex; align-items: baseline; gap: 5px; }
.r-req b {
  font-size: .98rem; font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, .92);
}
.r-req i {
  font-style: normal;
  font-size: .72rem;
  color: rgba(255, 255, 255, .38);
}
/* Desktop has a header row, so the per-cell labels are redundant. */
@media (min-width: 861px) {
  .r-req i { display: none; }
}

/* ───────────────── calculator ───────────────── */

.calc-wrap {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 68px); align-items: start;
}

.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 4px;
}
.field {
  background: var(--paper);
  border-radius: var(--r-card);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--mute);
}
.field-push  { border-left-color: var(--push); }
.field-squat { border-left-color: var(--squat); }
.field-situp { border-left-color: var(--situp); }
.field-plank { border-left-color: var(--plank); }

.field label {
  display: block; font-weight: 800; font-size: .92rem; margin-bottom: 6px;
}
.field label span {
  display: block; font-weight: 600; font-size: .74rem;
  color: var(--mute-2); letter-spacing: .04em; text-transform: uppercase;
  margin-top: 2px;
}
.field input {
  width: 100%; border: 0; background: transparent;
  font-family: inherit; font-size: 1.9rem; font-weight: 900;
  letter-spacing: -0.04em; color: var(--ink);
  padding: 2px 0 0; margin: 0;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.field input::-webkit-outer-spin-button,
.field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field input:focus { outline: none; }
.field:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }

.calc-out { position: sticky; top: 96px; display: grid; gap: 14px; }

.passport {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 26px 26px 20px;
  box-shadow: var(--shadow-lg);
}
.pp-top {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line-dark);
}
.pp-brand {
  font-size: .7rem; font-weight: 900; letter-spacing: .34em; color: var(--lime-hi);
}
.pp-title { font-size: 1.35rem; font-weight: 900; letter-spacing: .1em; }

.pp-rank { display: flex; align-items: center; gap: 16px; padding: 22px 0 2px; }
.pp-emoji { font-size: 3rem; line-height: 1; }
.pp-label {
  display: block; font-size: .66rem; font-weight: 800; letter-spacing: .2em;
  color: rgba(255, 255, 255, .42);
}
.pp-name {
  display: block; font-size: 2.1rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1.05;
}
.pp-tier { display: block; font-size: .8rem; font-weight: 700; color: var(--lime); }

.pp-desc { margin: 14px 0 0; color: rgba(255, 255, 255, .62); font-size: .95rem; }

.pp-next {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  font-size: .85rem; color: rgba(255, 255, 255, .62);
}
.pp-next b { color: #fff; font-weight: 800; }
.pp-gaps {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.pp-gaps span {
  background: var(--ink-3); border: 1px solid var(--line-dark);
  border-radius: 999px; padding: 4px 11px;
  font-size: .76rem; font-weight: 700; color: rgba(255, 255, 255, .8);
}
.pp-gaps span.ok { color: var(--lime); border-color: rgba(217, 242, 107, .35); }

.pp-foot {
  display: flex; justify-content: space-between;
  margin-top: 20px; padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  font-size: .7rem; font-weight: 800; letter-spacing: .12em;
  color: rgba(255, 255, 255, .38);
  text-transform: uppercase;
}

/* ───────────────── quotes ───────────────── */

/* Fixed 3x2 grid - every card the same size, attribution pinned to the bottom. */
.quotes {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 18px;
}
.quote {
  background: var(--cream);
  border-radius: var(--r-card);
  padding: 26px 26px 22px;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.quote p { margin: 0 0 20px; font-size: 1rem; line-height: 1.5; flex: 1; }
.quote footer { display: flex; align-items: center; gap: 11px; }
.quote img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.quote cite { font-style: normal; font-weight: 800; font-size: .9rem; }

/* ───────────────── pricing ───────────────── */

.price-wrap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(30px, 5vw, 64px); align-items: start;
}
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 16px; height: 9px;
  border-left: 3px solid var(--squat); border-bottom: 3px solid var(--squat);
  transform: rotate(-45deg);
  border-radius: 1px;
}

.plans { display: grid; gap: 14px; }
.plan {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.plan-best { border: 2px solid var(--ink); }
.plan .tag {
  position: absolute; top: -11px; left: 26px;
  background: var(--ink); color: var(--lime);
  font-size: .68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.plan strong { display: block; font-size: 2.3rem; font-weight: 900; letter-spacing: -0.045em; }
.plan strong span { font-size: 1rem; font-weight: 700; color: var(--mute); letter-spacing: -0.01em; }
.plan p { margin: 4px 0 0; color: var(--mute); font-size: .93rem; }

/* ───────────────── faq ───────────────── */

.faq-wrap {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px); align-items: start;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 800; font-size: 1.06rem; letter-spacing: -0.02em;
  padding: 16px 34px 16px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq p { margin: 0 0 18px; color: #3A3A3A; max-width: 62ch; }

/* ───────────────── cta ───────────────── */

.cta { padding-top: clamp(56px, 8vw, 96px); overflow: hidden; }
.cta-in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .5fr);
  gap: 28px; align-items: center;
  padding-bottom: 0;
}
.cta > .wrap { padding-bottom: 0; }
.cta .badge-store { margin-top: 8px; }
.cta-art {
  width: auto; height: clamp(300px, 42vw, 480px);
  margin: 0 auto -1px; align-self: end;
}

/* ───────────────── footer ───────────────── */

.foot { background: var(--ink); color: rgba(255, 255, 255, .6); padding-block: 48px 40px; }
.foot-in { display: grid; gap: 24px; justify-items: start; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 32px; border-radius: 8px; }
.foot-brand p { margin: 0; font-weight: 900; color: #fff; letter-spacing: -0.03em; font-size: 1.05rem; }

.foot-links { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .93rem; font-weight: 600; }
.foot-links a { text-decoration: none; transition: color .15s ease; }
.foot-links a:hover { color: var(--lime); }

.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  color: rgba(255, 255, 255, .72);
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  transition: color .16s ease, background .16s ease, transform .16s ease;
}
.social a:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-2px);
}
.social .ico { width: 19px; height: 19px; }

.foot-legal {
  margin: 0; font-size: .78rem; color: rgba(255, 255, 255, .36);
  max-width: 76ch; line-height: 1.6;
  border-top: 1px solid var(--line-dark); padding-top: 22px;
  justify-self: stretch;
}

/* ───────────────── reveal ───────────────── */

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1); }

/* ───────────────── responsive ───────────────── */

/* ── carousel dots (mobile only) ── */

.dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 20px;
}
.dots button {
  width: 8px; height: 8px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(14, 14, 14, .2);
  cursor: pointer;
  transition: background .2s ease, width .2s ease;
}
.dots button[aria-current="true"] {
  background: var(--ink);
  width: 22px; border-radius: 999px;
}

@media (max-width: 1000px) {
  .card-wide { flex-direction: column; align-items: stretch; padding: 32px 30px 34px; }
  .card-wide .card-shot { flex: none; margin: 28px auto 0; width: min(196px, 62%); }
  .quotes { grid-template-columns: repeat(2, 1fr); }

  /* No room for a 7-column chart: stack the numbers under the rank name.
     Rows carry their own labels here, so the tier head keeps only its name. */
  .tier-head {
    display: flex;
    padding: 0 14px 10px;
  }
  .tier-head > span,
  .tier-head > .r-reqs { display: none; }

  .rank {
    grid-template-columns: 34px 1fr auto;
    gap: 4px 12px;
    padding: 14px 14px 12px;
  }
  .rank .r-emoji { grid-row: 1; }
  .rank .r-name { grid-row: 1; }
  .rank .r-pct { grid-row: 1; }
  .r-reqs { grid-column: 2 / -1; gap: 6px; }
  .r-req { flex-direction: column; gap: 0; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 74px; }
  .nav-links { display: none; }
  .hero-in { grid-template-columns: 1fr; text-align: left; }
  .hero-art { min-height: 0; margin-top: 8px; }
  .phone-back { display: none; }
  .phone-front { width: min(280px, 66vw); }
  .steps { grid-template-columns: 1fr; }
  .calc-wrap, .price-wrap, .faq-wrap, .cta-in, .how-in { grid-template-columns: 1fr; }
  .how-in { gap: 36px; }
  .video { justify-items: center; }
  .video-frame { max-width: min(300px, 78vw); }
  .video figcaption { text-align: center; }
  .calc-out { position: static; }
  .cta-in { text-align: left; }
  .cta-art { width: auto; height: clamp(260px, 62vw, 360px); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  br.dt { display: none; }
  .movelist { grid-template-columns: 1fr; gap: 12px; margin: 20px 0 16px; }

  /* Feature cards become a swipeable row rather than a very long stack.
     Full-bleed so the next card peeks in from the edge. */
  .grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(var(--gut) * -1);
    padding-inline: var(--gut);
    scroll-padding-inline: var(--gut);
    padding-bottom: 2px;
  }
  .grid::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 83%; scroll-snap-align: start; }
  .grid:focus-visible { outline-offset: -3px; }
  .quotes { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .calc { grid-template-columns: 1fr 1fr; }
  .field input { font-size: 1.6rem; }
  .hero-facts { gap: 22px; }
  .exbar-in { justify-content: flex-start; }
  /* Keep all seven badges on one row on a phone. */
  .social { gap: 8px; }
  .social a { width: 40px; height: 40px; }
  .ph-badge { padding: 10px 14px; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
