/* ==========================================================================
   Font — single self-hosted weight, Latin subset, non-blocking
   ========================================================================== */
@font-face {
  font-family: "Archivo Black";
  src: url("archivo-black.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --color-bg: #0a0a0c;
  --color-bg-raised: #15151a;
  --color-bg-card: #1b1b21;
  --color-border: #2a2a32;
  --color-text: #f5f5f3;
  --color-text-muted: #a3a3ad;
  --color-orange: #ff5a1f;
  --color-orange-dark: #d9460f;
  --color-orange-light: #ffb088;

  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --page-width: 75rem;
  --page-margin: clamp(1.25rem, 5vw, 2.5rem);
  --section-spacing: clamp(3.5rem, 9vw, 7rem);

  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Layout
   ========================================================================== */
.wrap {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--page-margin);
}

.section {
  padding: var(--section-spacing) 0;
}

.section--tight {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.section--alt {
  background: var(--color-bg-raised);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-orange);
}

.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--color-orange);
}

.section-head {
  max-width: 38rem;
  margin: 0 0 clamp(2rem, 5vw, 3rem);
}

.section-head h2 {
  font-size: clamp(1.9rem, 1.5rem + 2vw, 3rem);
  margin-top: 0.6rem;
}

.section-head p {
  margin-top: 0.9rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-orange);
  color: #0a0a0c;
  box-shadow: 0 0.8rem 2rem rgba(255, 90, 31, 0.3);
}

.btn--primary:hover {
  background: var(--color-orange-light);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn--ghost:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

/* Store badges */
.store-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  background: #0a0a0c;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.store-badge:hover {
  border-color: #fff;
}

.store-badge:hover {
  transform: translateY(-2px);
}

.store-badge svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge__text small {
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  opacity: 0.75;
}

.store-badge__text strong {
  font-size: 1rem;
  font-weight: 700;
}

html.platform-detected .store-badge[data-platform] {
  display: none;
}

html.platform-detected .store-badge.is-preferred {
  display: inline-flex;
  order: -1;
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

.launch-badge {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.launch-badge__tag {
  flex-shrink: 0;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  border: 1.5px solid var(--color-orange);
  color: var(--color-orange);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.brand svg {
  width: 2rem;
  height: 2rem;
}

.header-cta {
  display: flex;
  gap: 0.6rem;
}

.store-badge--sm {
  padding: 0.4rem 0.75rem;
  gap: 0.4rem;
  border-radius: 8px;
}

.store-badge--sm svg {
  width: 1.1rem;
  height: 1.1rem;
}

.store-badge--sm .store-badge__text small {
  display: none;
}

.store-badge--sm .store-badge__text strong {
  font-size: 0.78rem;
}

@media screen and (max-width: 640px) {
  .header-cta .store-badge--sm .store-badge__text {
    display: none;
  }
  .header-cta .store-badge--sm {
    padding: 0.5rem;
  }
}

/* ==========================================================================
   Floating store buttons — always visible, bottom-right
   ========================================================================== */
.float-stores {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.float-store {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  background: #fff;
  color: #0a0a0c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.6rem 1.6rem rgba(0, 0, 0, 0.45);
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease);
}

.float-store:hover {
  transform: scale(1.08);
}

.float-store svg {
  width: 1.5rem;
  height: 1.5rem;
}

.float-store.is-preferred {
  border-color: var(--color-orange);
}

@media screen and (max-width: 640px) {
  .float-stores {
    right: 0.75rem;
    bottom: 0.75rem;
  }
  .float-store {
    width: 2.75rem;
    height: 2.75rem;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3.5rem, 9vw, 7rem);
}

.community {
  position: relative;
  overflow: hidden;
}

.community__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  z-index: -2;
}

.community__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(10, 10, 12, 0.96) 0%, rgba(10, 10, 12, 0.85) 55%, rgba(10, 10, 12, 0.7) 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 30%;
  z-index: -2;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(10, 10, 12, 0.97) 0%, rgba(10, 10, 12, 0.88) 40%, rgba(10, 10, 12, 0.55) 75%, rgba(10, 10, 12, 0.35) 100%),
    linear-gradient(0deg, rgba(10, 10, 12, 0.6) 0%, transparent 30%);
}

.hero__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

@media screen and (max-width: 900px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }
}

.hero .eyebrow {
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 1.4rem + 4vw, 4.2rem);
}

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

.hero p.lede {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 30rem;
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

/* ==========================================================================
   Phone mockup component
   ========================================================================== */
.phone {
  position: relative;
  width: min(19rem, 100%);
  margin: 0 auto;
  aspect-ratio: 9 / 19.5;
  background: #000;
  border-radius: 2.4rem;
  border: 3px solid #2e2e34;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.5);
  padding: 0.5rem;
  overflow: hidden;
}

@media screen and (max-width: 640px) {
  .phone {
    width: min(13.5rem, 62%);
  }
}

.phone--big {
  width: min(22rem, 100%);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.5), 0 0 5rem rgba(255, 90, 31, 0.25);
}

@media screen and (max-width: 640px) {
  .phone--big {
    width: min(16rem, 74%);
  }
}

.phone__notch {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 1.5rem;
  background: #000;
  border-radius: 0 0 1rem 1rem;
  z-index: 3;
}

.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #17171c, #0a0a0c);
  border-radius: 1.9rem;
  overflow: hidden;
  padding: 1.6rem 1rem 1rem;
  font-size: 0.72rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.phone__status {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}

.phone__title {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.phone__sub {
  color: var(--color-text-muted);
  font-size: 0.68rem;
  margin-bottom: 0.4rem;
}

/* Power level ring */
.power-ring {
  position: relative;
  width: 8.5rem;
  height: 8.5rem;
  margin: 0.5rem auto;
  border-radius: 50%;
  background: conic-gradient(var(--color-orange) calc(var(--pct, 72) * 1%), #2a2a32 0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.power-ring::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border-radius: 50%;
  background: #0f0f12;
}

.power-ring__value {
  position: relative;
  text-align: center;
  font-family: var(--font-display);
}

.power-ring__value strong {
  display: block;
  font-size: 1.5rem;
  color: var(--color-orange);
}

.power-ring__value span {
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

/* Rows (body parts / ranks list) */
.phone__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
}

.phone__row-main {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-width: 0;
}

.phone__row-bar {
  height: 4px;
  border-radius: 999px;
  background: #2a2a32;
  overflow: hidden;
}

.phone__row-bar span {
  display: block;
  height: 100%;
  background: var(--color-orange);
  border-radius: 999px;
}

.phone__row-lvl {
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--color-orange);
  flex-shrink: 0;
}

/* Leaderboard rows */
.phone__rank {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
}

.phone__rank.is-you {
  background: rgba(255, 90, 31, 0.14);
  border: 1px solid var(--color-orange);
}

.phone__rank-num {
  font-family: var(--font-display);
  width: 1.3rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.7rem;
}

.phone__rank.is-you .phone__rank-num {
  color: var(--color-orange);
}

.phone__rank-num--gold,
.phone__rank-num--silver,
.phone__rank-num--bronze {
  font-size: 1rem;
}

.phone__rank-avatar {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #2a2a32;
  flex-shrink: 0;
}

.phone__rank-name {
  flex: 1;
  font-size: 0.72rem;
}

.phone__rank-score {
  font-size: 0.68rem;
  color: var(--color-orange);
  font-weight: 600;
}

.phone__tabs {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.6rem;
}

.phone__tabs .is-active {
  color: var(--color-orange);
}

/* ==========================================================================
   Feature rows (alternating text + phone)
   ========================================================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.feature-row--reverse .feature-row__media {
  order: 2;
}

@media screen and (max-width: 820px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .feature-row--reverse .feature-row__media {
    order: -1;
  }
}

@media screen and (max-width: 640px) {
  :root {
    --section-spacing: clamp(2.25rem, 9vw, 7rem);
  }
}

.feature-row__text h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
}

.feature-row__text p {
  margin-top: 1rem;
  color: var(--color-text-muted);
  font-size: 1.02rem;
  max-width: 28rem;
}

.feature-row__list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-row__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.feature-row__list svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--color-orange);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ==========================================================================
   Feature icon grid (Power Level stat strip)
   ========================================================================== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.5rem;
}

.stat-card {
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}

.stat-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: rgba(255, 90, 31, 0.12);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.stat-card__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.stat-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
}

.stat-card p {
  margin-top: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

/* ==========================================================================
   How it works
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.25rem;
}

.step-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.step-card:hover {
  border-color: var(--color-orange);
  transform: translateY(-3px);
}

.step-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: rgba(255, 90, 31, 0.12);
  color: var(--color-orange);
  margin-bottom: 1rem;
}

.step-card__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

/* ==========================================================================
   Rank ladder
   ========================================================================== */
.rank-ladder {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
}

.rank-chip {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  min-width: 7rem;
  color: inherit;
  text-align: center;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.rank-chip:hover {
  border-color: rgba(255, 90, 31, 0.5);
  transform: translateY(-2px);
}

.rank-chip.is-top {
  border-color: var(--color-orange);
  background: linear-gradient(160deg, rgba(255, 90, 31, 0.16), var(--color-bg-card));
}

.rank-chip.is-active {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 1px var(--color-orange) inset;
  transform: translateY(-2px);
}

.rank-ladder__detail {
  margin-top: 1.1rem;
  min-height: 1.4em;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  transition: opacity 0.2s var(--ease);
}

.rank-chip__badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a2a32;
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-size: 0.78rem;
}

.rank-chip.is-top .rank-chip__badge {
  background: var(--color-orange);
  color: #0a0a0c;
}

.rank-chip span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  max-width: 44rem;
  margin: 0 auto;
}

@media screen and (min-width: 900px) {
  .faq {
    max-width: 68rem;
    column-count: 2;
    column-gap: 3.5rem;
  }

  .faq-category,
  .faq-item {
    break-inside: avoid;
  }
}

.faq-category {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin: 2.5rem 0 0.5rem;
  text-align: left;
}

.faq-category:first-child {
  margin-top: 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  font-family: var(--font-display);
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .plus {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: var(--color-text);
}

.faq-item summary .plus::before {
  width: 0.6rem;
  height: 1.5px;
}

.faq-item summary .plus::after {
  width: 1.5px;
  height: 0.6rem;
  transition: transform 0.2s var(--ease);
}

.faq-item[open] summary .plus::after {
  transform: scaleY(0);
}

.faq-item[open] summary .plus {
  border-color: var(--color-orange);
}

.faq-item p {
  padding-bottom: 1.3rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 38rem;
}

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) var(--page-margin);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 90, 31, 0.16), var(--color-bg-raised));
  border: 1px solid var(--color-border);
}

.cta-banner h2 {
  font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3.2rem);
}

.cta-banner p {
  margin: 1rem auto 0;
  color: var(--color-text-muted);
  max-width: 30rem;
}

.cta-banner .store-badges {
  justify-content: center;
  margin-top: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--color-orange);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--media {
  transition-delay: 0.12s;
}

.faq-item.reveal,
.step-card.reveal {
  transition-delay: calc(var(--stagger, 0) * 70ms);
}

.rank-ladder.reveal {
  opacity: 1;
  transform: none;
}

.rank-ladder .rank-chip {
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--stagger, 0) * 70ms);
}

.rank-ladder.is-visible .rank-chip {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .rank-ladder .rank-chip {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal {
  max-width: 42rem;
  margin: 0 auto;
}

.legal h1 {
  font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.4rem);
}

.legal .updated {
  margin-top: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.legal h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

.legal p,
.legal li {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.legal ul {
  padding-left: 1.2rem;
  list-style: disc;
}
