/* ORBIT - sections: one block per homepage section, in page order */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  justify-content: center;
  padding: var(--xxl) var(--screen-padding) calc(var(--xl) + 55px);   /* +55px: room for the complete phone image */
  overflow: hidden;
  max-width: 100dvw;
  isolation: isolate;
  background-color: var(--c-hero);
  background-image:
    radial-gradient(ellipse 430px 220px at calc(50% + 20px) 650px, rgba(244, 146, 72, 1) 0%, rgba(232, 128, 70, .85) 40%, rgba(200, 100, 70, 0) 100%),
    radial-gradient(ellipse 260px 170px at calc(50% + 60px) 470px, rgba(205, 150, 195, .8), rgba(170, 140, 210, .35) 60%, rgba(150, 130, 210, 0) 100%),
    radial-gradient(ellipse 320px 280px at calc(50% + 40px) 300px, rgba(95, 150, 240, .95) 0%, rgba(60, 120, 230, .7) 45%, rgba(45, 95, 215, 0) 100%),
    radial-gradient(ellipse 760px 560px at calc(50% + 420px) 300px, rgba(40, 90, 225, 1) 0%, rgba(36, 80, 215, .95) 45%, rgba(32, 62, 180, .55) 75%, rgba(30, 50, 140, 0) 100%),
    radial-gradient(ellipse 360px 460px at calc(50% + 720px) 420px, rgba(34, 58, 205, 1), rgba(34, 58, 205, 0) 100%),
    radial-gradient(ellipse 520px 300px at calc(50% - 120px) 20px, rgba(22, 36, 90, .9), rgba(22, 36, 90, 0) 100%),
    radial-gradient(ellipse 420px 360px at calc(50% - 480px) 300px, rgba(18, 18, 26, 1), rgba(18, 18, 26, 0) 100%);
}

.hero__inner {
  position: relative;
  max-width: var(--max-section-width);
  width: 100%;
}

.hero__container {
  min-height: 400px;
  height: 100%;
  display: flex;
  align-items: stretch;
}

.hero__item {
  position: relative;
  z-index: 100;
  display: flex;
  width: 100%;
}

.hero__content {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__header {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--m);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--c-white);
  font-size: 64px;
  line-height: 80px;
  letter-spacing: 1.92px;
  text-transform: uppercase;
}

.hero__description {
  font-family: var(--font-text);
  font-weight: 400;
  color: var(--c-muted);
  font-size: 20px;
  line-height: 32px;
}

.download-buttons {
  position: relative;
  width: fit-content;
  color: var(--c-white);
}

.download-buttons__action { display: flex; justify-content: center; width: 100%; }
/* site-wide prototype disclosure (replaces the per-section demo notes of Sections 1–3, 7, 8) */
.hero__notice { max-width: 440px; margin: var(--s) 0 0; font-size: 14px; line-height: 22px; color: rgba(254, 254, 254, .88); }
/* desktop: the line hangs below the buttons without joining the vertically centred block (2 lines × 22 + 20 margin) */
@media (min-width: 1200px) { .hero__notice { margin-bottom: -64px; } }

.download-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: fit-content;
  min-width: 150px;
  max-width: 100%;
  padding: 0 var(--s);
  border-radius: 16px;
  text-align: center;
  background: var(--c-white);
  font-family: var(--font-text);
  font-weight: 700;
  color: var(--c-dark);
  font-size: 20px;
  line-height: 32px;
  white-space: nowrap;
  transition: background-color .2s;
}
.download-action:hover { background: #e9e9ee; }

.apk-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: var(--s);
  font-family: var(--font-text);
  font-weight: 400;
  color: var(--c-white);
  font-size: 16px;
  line-height: 28px;
}
.apk-link::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  margin-left: var(--xxs);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fefefe' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7.5 10.5 12 15l4.5-4.5M5 16v2.5A1.5 1.5 0 0 0 6.5 20h11a1.5 1.5 0 0 0 1.5-1.5V16'/%3E%3C/svg%3E") 50% / 24px 24px no-repeat;
}
.apk-link:hover { color: #7ee0bc; }   /* light accent for the dark / blue hero and the CTA glow: #34be90 was 3.2 : 1 on the tablet / phone hero blue and 1.4 : 1 on the CTA (A-4) */
/* the hero APK control is a <button> now; keep the full-width box the former link had */
.download-buttons .apk-link { width: 100%; }

/* illustration */
.hero__illustration-container {
  position: absolute;
  top: 0;
  left: calc(50% - 555px);
  width: 1110px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.illustration {
  position: relative;
  left: 60px;
  width: 500px;
  height: 100%;
}

.coin { position: absolute; }
/* coin artwork: complete SVG images whose viewBox has 20 units of padding round the 200-unit coin -> 120% of the box, -10% offset */
.coin__img { position: absolute; left: -10%; top: -10%; width: 120%; max-width: none; height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .25)); }
.coin--usdc { width: 190px; height: 190px; bottom: 10px; right: -70px; }
.coin--eth { width: 160px; height: 160px; top: -60px; left: -80px; }
.coin--btc { width: 210px; height: 210px; bottom: -80px; left: -140px; }

.illustration__screen {
  position: absolute;
  bottom: calc(-1 * var(--xl));
  width: 100%;
  height: calc(100% + var(--xl) + var(--l));
}

/* phone: one complete image (body, screen, interface and bottom fade), 336 x 560, scaled per breakpoint.
   The image is the whole phone, so nothing clips or masks it; the hero padding leaves room for its faded end. */
.phone {
  position: absolute;
  top: 3px;
  left: 50%;
  width: 336px;
  max-width: none;
  height: auto;
  margin-left: -167.5px;
  transform: scale(var(--phone-k));
  transform-origin: 167.5px 0;
}

/* ---------- Desktop-only hero refinements (≥1200px) ---------- */
@media (min-width: 1200px) {
  /* the hero is a size container so the illustration offset below follows its real width (scrollbars included) */
  .hero { container-type: inline-size; }

  /* 1. Phone turned slightly in 3D (the desktop image carries the lower-screen glow) */
  .phone { transform: perspective(1600px) rotateY(7deg) rotateZ(-1.8deg) scale(var(--phone-k)); }

  /* 2. ETH coin seen more edge-on, as in the reference */
  .coin--eth { width: 170px; height: 170px; top: -66px; }
  .coin--eth .coin__img { transform: rotate(-28deg) scaleY(.68) rotate(28deg); }

  /* 3. Below a 1406px-wide hero the group (phone + coins) slides left just enough to keep the USDC coin and its shadow
     on screen: its right edge is 703px right of the hero centre, and 50cqw = hero width / 2 - 32px padding.
     0 at >= 1406px, linear down to -103px at 1200px. Sizes, layering and the background are unchanged. */
  .hero .illustration { translate: min(0px, 50cqw - 671px) 0; }
}

/* ---------- Tablet (≤1199px) ---------- */
@media (max-width: 1199px) {
  .hero {
    padding-top: 64px;
    padding-bottom: calc(var(--xl) + 45px);
    /* +45px bottom padding for the complete phone; every vertical % position / stop below is written relative to the
       original height (100% - 45px), so the gradients look as before and simply continue into the extra space */
    background-image:
      radial-gradient(ellipse 260px 210px at 14% calc((100% - 45px) * .86), rgba(232, 140, 80, 1) 0%, rgba(205, 104, 52, .9) 40%, rgba(160, 76, 40, .45) 70%, rgba(120, 60, 40, 0) 100%),
      radial-gradient(ellipse 200px 150px at 24% calc((100% - 45px) * .62), rgba(205, 150, 150, .85), rgba(140, 110, 160, .4) 60%, rgba(120, 100, 160, 0) 100%),
      radial-gradient(ellipse 260px 160px at 48% calc((100% - 45px) * .93), rgba(160, 120, 130, .8), rgba(110, 100, 130, 0) 100%),
      radial-gradient(ellipse 230px 170px at 18% calc((100% - 45px) * .56), rgba(120, 110, 170, .9), rgba(80, 80, 150, 0) 100%),
      radial-gradient(ellipse 260px 300px at 82% calc((100% - 45px) * .62), rgba(46, 100, 225, 1), rgba(35, 70, 190, .7) 50%, rgba(35, 55, 160, 0) 100%),
      radial-gradient(ellipse 470px 300px at 50% calc((100% - 45px) * .42), rgba(30, 90, 200, 1) 0%, rgba(25, 75, 175, .9) 40%, rgba(25, 50, 110, .5) 75%, rgba(25, 40, 80, 0) 100%),
      radial-gradient(ellipse 600px 300px at 50% calc((100% - 45px) * .22), rgba(27, 45, 85, 1), rgba(28, 34, 50, 0) 100%),
      linear-gradient(180deg, #1d1d1f 0%, #1d1d1f calc((100% - 45px) * .08), #1b2232 calc((100% - 45px) * .14), #182545 calc((100% - 45px) * .28), #172f6f calc((100% - 45px) * .4), #2a3d8f calc((100% - 45px) * .7), #282f83 calc(100% - 45px));
    background-size: cover;
    background-position: 50%;
  }

  .hero__container { min-height: 100%; margin-top: var(--m); height: auto; display: block; }
  .hero__item { flex-direction: column; }
  .hero__content { width: 100%; }

  .hero__title { font-size: 56px; line-height: 72px; letter-spacing: 1.68px; text-align: center; }
  .hero__description { font-size: 18px; line-height: 30px; text-align: center; margin-top: 8px; }

  .download-buttons { margin: 0 auto; }
  .hero__notice { max-width: 680px; margin: var(--s) auto 0; text-align: center; }
  .download-action { font-size: 18px; line-height: 30px; }
  .apk-link { justify-content: center; }

  .hero__illustration-container {
    position: relative;
    width: 100%;
    left: 0;
    height: 450px;
    margin: var(--l) 0;
    justify-content: center;
  }
  .illustration { left: 0; }

  .coin--usdc { bottom: 60px; right: -70px; }
  .coin--btc { bottom: -80px; left: -90px; }
  .coin--eth { top: -50px; left: -70px; }

  .illustration__screen { top: 0; bottom: auto; }
}

/* ---------- Phone (≤767px) ---------- */
@media (max-width: 767px) {
  .hero {
    padding-bottom: calc(var(--xl) + 31px);
    /* +31px bottom padding for the complete phone; every vertical % position / stop below is written relative to the
       original height (100% - 31px), so the gradients look as before and simply continue into the extra space */
    background-image:
      radial-gradient(ellipse 150px 140px at 12% calc((100% - 31px) * .85), rgba(236, 130, 60, 1) 0%, rgba(210, 108, 50, .9) 40%, rgba(170, 85, 40, .45) 70%, rgba(130, 70, 40, 0) 100%),
      radial-gradient(ellipse 120px 90px at 14% calc((100% - 31px) * .66), rgba(200, 130, 115, .9), rgba(150, 100, 130, 0) 100%),
      radial-gradient(ellipse 140px 90px at 12% calc((100% - 31px) * .6), rgba(105, 110, 185, .9), rgba(80, 80, 150, 0) 100%),
      radial-gradient(ellipse 150px 170px at 86% calc((100% - 31px) * .68), rgba(38, 80, 210, 1), rgba(35, 60, 170, .6) 55%, rgba(35, 50, 140, 0) 100%),
      radial-gradient(ellipse 260px 170px at 50% calc((100% - 31px) * .44), rgba(26, 82, 185, 1) 0%, rgba(22, 70, 165, .9) 40%, rgba(25, 50, 110, .45) 75%, rgba(25, 40, 80, 0) 100%),
      radial-gradient(ellipse 300px 150px at 50% calc((100% - 31px) * .3), rgba(26, 40, 70, 1), rgba(28, 30, 40, 0) 100%),
      linear-gradient(180deg, #1c1c1e 0%, #1c1c1e calc((100% - 31px) * .22), #1a2338 calc((100% - 31px) * .32), #183478 calc((100% - 31px) * .44), #2a3a8c calc((100% - 31px) * .7), #2b2d6a calc(100% - 31px));
  }

  .hero__title { font-size: 32px; line-height: 44px; letter-spacing: 1px; }
  .hero__description { font-size: 16px; line-height: 28px; display: block; }

  .download-buttons { width: 100%; }
  .download-action { font-size: 16px; line-height: 28px; height: 56px; }

  .hero__illustration-container { max-height: 300px; }

  .coin--usdc { width: 100px; height: 100px; bottom: 60px; right: -16px; }
  .coin--btc { width: 100px; height: 100px; bottom: -70px; left: -16px; }
  .coin--eth { width: 100px; height: 100px; top: 10px; left: 0; }

  .illustration__screen {
    top: auto;
    height: calc(100% + var(--xl));
    bottom: calc(0px - var(--xl) - var(--l));
  }
}

/* =====================================================================
   Section 1 — Advantages (2 × 2 cards: banner + list / list + banner)
   ===================================================================== */
.adv-grid { display: flex; flex-direction: column; gap: var(--s); }
.adv-row { display: flex; gap: var(--s); }
.adv-row:first-child { min-height: 460px; }   /* Phase 9.10b: grows with the Fast-transfers card (560px with normal text) */
.adv-row:last-child { min-height: 460px; }

.adv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: var(--m);
  border-radius: var(--s);
  background: var(--c-white);
}
/* 7 : 4 split of the row (700px / 400px at full width), independent of card padding */
.adv-card--list { flex: 0 0 calc((100% - var(--s)) * 4 / 11); }
.adv-card--banner { flex: 0 0 calc((100% - var(--s)) * 7 / 11); color: var(--c-white); }

.adv-card__title { margin: 0; font-size: 24px; line-height: 36px; font-weight: 600; color: var(--c-dark); }
.adv-card--banner .adv-card__title { color: var(--c-white); }
.adv-card__text { margin: var(--s) 0 0; max-width: 320px; font-size: 20px; line-height: 32px; color: rgba(254, 254, 254, .86); }
.adv-card__info { position: relative; z-index: 2; }
.adv-card__more { margin-top: auto; padding-top: var(--s); align-self: flex-start; }

/* Banner: fast transfers (one complete image: phone + coin with orbit trail; phones: the phone alone) */
.adv-card--send {
  padding: 0;
  background:
    radial-gradient(ellipse 460px 360px at 80% 105%, rgba(246, 146, 66, 1) 0%, rgba(222, 110, 46, .85) 38%, rgba(150, 66, 28, 0) 78%),
    radial-gradient(ellipse 420px 360px at 104% 30%, rgba(206, 98, 42, .75), rgba(206, 98, 42, 0) 72%),
    linear-gradient(135deg, #1b1b1f 0%, #241c19 40%, #5a2c16 78%, #8a4119 100%);
}
.adv-card--send .adv-card__info { margin-left: 344px; padding: var(--m) var(--m) 0 0; }
/* Phase 9.10b (option C): the RC1 composition (phone at 40 / 54px of the card, 652 x 536 with ring and coin) scaled
   as a whole by --k = 560/644, so the complete phone fits a 560px card with 47px above and below it.
   The illustration is in normal flow BELOW the text block and pulled up by the normal text height (150px desktop,
   136px tablet: padding 24/30 + title + text), so with today's text it sits exactly at 47px; longer text pushes the
   whole picture down (the coin stays 35px / 49px below the text) and the card grows instead of overlapping. */
.adv-send-art {
  --k: calc(560 / 644);
  position: relative;
  margin-top: calc(54px * var(--k) - 150px);
  padding: 0 0 calc(54px * var(--k)) calc(40px * var(--k));
  pointer-events: none;
}
.adv-send-art__img { display: block; width: calc(652px * var(--k)); max-width: none; height: auto; }

/* Banner: networks (globe illustration) */
.adv-card--network {
  padding: var(--l);
  background:
    radial-gradient(ellipse 520px 420px at 82% 88%, rgba(44, 84, 220, .55), rgba(44, 84, 220, 0) 70%),
    linear-gradient(160deg, #0c1029 0%, #0b1238 55%, #0a0d26 100%);
}
.adv-card--network .adv-card__text { margin-top: var(--m); }
/* Phase 9.12b (grow): the complete globe (unchanged 600 x 600 SVG) in normal flow below the text, flush with the card's
   bottom-right corner. The top margin pulls it up by the normal text height (desktop: padding 40 + text block 130), so
   with today's text the card is 580px tall and the sphere keeps >= 16px from the text; longer text pushes the globe
   down and the card grows. Square 477px -> sphere 366px (55% of RC1's 659px, which showed only 43% of the sphere). */
.adv-network-art {
  --g: 477px;
  align-self: flex-end;
  width: var(--g); max-width: none; height: auto;
  margin: calc(580px - 40px - 130px - var(--g)) calc(-1 * var(--l)) calc(-1 * var(--l)) 0;
  pointer-events: none;
  position:absolute;
  bottom:0;
}

/* ---------- Advantages: tablet ---------- */
@media (max-width: 1199px) {
  .adv-row { flex-direction: column; }
  .adv-row:first-child, .adv-row:last-child { height: auto; min-height: 0; }
  .adv-card--send { flex: none; }   /* height from its content: 560px with normal text */
  .adv-send-art { margin-top: calc(54px * var(--k) - 136px); }
  .adv-card--list { flex: none; }
  .adv-card__text { font-size: 18px; line-height: 30px; }
  .adv-card--network { flex: none; padding: var(--l); }   /* 400px with today's text (RC1 300px); grows with longer text */
  .adv-network-art { --g: 390px; margin-top: calc(400px - 32px - 120px - var(--g)); }   /* sphere 299px (56%), >= 16px from the text at 704px */
}

/* ---------- Advantages: phone ---------- */
@media (max-width: 767px) {
  .adv-card__title { font-size: 20px; line-height: 32px; }
  .adv-card__text { font-size: 16px; line-height: 28px; max-width: none; }
  .adv-card--send { height: auto; }
  .adv-card--send .adv-card__info { margin-left: 0; padding: var(--m) var(--m) 0; }
  /* the phone alone (260 x 536) scaled to 436px tall, centred, 24px above the card edge: a 460px illustration area */
  .adv-send-art { --k: calc(436 / 536); margin-top: var(--l); padding: 0 0 24px; }
  .adv-send-art__img { width: calc(260px * var(--k)); margin: 0 auto; }
  .adv-card--network .adv-card__text { margin-top: 16px; }
  /* the complete globe below the text, full card width (up to 440px), flush with the card bottom */
  .adv-network-art { align-self: center; width: min(calc(100% + 2 * var(--l)), 440px); margin: var(--m) calc(-1 * var(--l)) calc(-1 * var(--l)); }
}

/* =====================================================================
   Section 2 — Card promo (text left, ORBIT card right; stacked on phones)
   ===================================================================== */
.card-promo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--l);
  height: 340px;
  padding: 0 38px 0 var(--l);
  overflow: hidden;
  border-radius: var(--s);
  color: var(--c-white);
  background:
    radial-gradient(ellipse 380px 280px at 68% 50%, rgba(66, 112, 245, .55), rgba(66, 112, 245, 0) 70%),
    radial-gradient(ellipse 340px 300px at 102% 0%, rgba(118, 84, 226, .62), rgba(118, 84, 226, 0) 72%),
    radial-gradient(ellipse 320px 200px at 58% 112%, rgba(240, 138, 60, .38), rgba(240, 138, 60, 0) 70%),
    linear-gradient(90deg, #1c1c1e 0%, #1c1c1e 36%, #1b2132 60%, #222a55 100%);
}
.card-promo__info { position: relative; z-index: 1; max-width: 540px; }
.card-promo__text { margin: 0; font-size: 20px; line-height: 32px; color: rgba(254, 254, 254, .9); }
.card-promo__link { margin-top: var(--s); color: var(--c-accent); }   /* dark card: keeps the bright accent (the darker text accent is for light backgrounds) */

.card-promo__art { flex-shrink: 0; width: 426px; perspective: 1400px; }   /* tilted card renders 422 × 283 (reference art) */

/* ORBIT card: one self-contained SVG (assets/card/orbit-card.svg, fonts embedded) tilted as a whole, with the
   RC1 shadow on the card box. Phase 9.11: the pointer-following shine layer was removed (approved). */
.orbit-card {
  --ry: -12deg;
  --rx: 7deg;
  position: relative;
  aspect-ratio: 856 / 540;
  border-radius: 4.44% / 7.04%;
  transform: rotateY(var(--ry)) rotateX(var(--rx)) rotateZ(-2deg);
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, .06),
    0 34px 60px -14px rgba(0, 0, 0, .6),
    0 12px 24px rgba(0, 0, 0, .32);
}
.orbit-card.is-tilting { transition-duration: .12s; }
.orbit-card__img { display: block; width: 100%; height: auto; }

/* ---------- Card promo: tablet ---------- */
@media (max-width: 1199px) {
  .card-promo { height: 364px; padding: 0 60px 0 var(--l); }   /* reference tablet banner: 364px tall */
  .card-promo__info { max-width: 300px; }
  .card-promo__text { font-size: 18px; line-height: 30px; }
  .card-promo__art { width: 264px; }
}

/* ---------- Card promo: phone ---------- */
@media (max-width: 767px) {
  .card-promo { flex-direction: column; align-items: center; gap: 0; height: auto; padding: var(--m) var(--m) 58px; }
  .card-promo__info { max-width: none; }
  .card-promo__text { font-size: 16px; line-height: 28px; }
  .card-promo__art { width: 331px; max-width: calc(100% + 40px); margin: 65px 0 0; }   /* reference: 331px (418 from 576px), centred */
  .orbit-card { --ry: -8deg; --rx: 5deg; }
}
@media (min-width: 576px) and (max-width: 767px) { .card-promo__art { width: 418px; } }   /* reference wide-phone art: 418px @767 */

/* =====================================================================
   Section 3 — Features (cards that stick and stack while scrolling)
   ===================================================================== */
/* Sticky offsets verified against the reference in a real browser (CDP scroll probe):
   desktop — heading sticks at 108px, cards settle at 212 / 216 / 224 / 232px, ~108px apart in flow;
   tablet + phone — heading scrolls away, cards stick at 108 / 116 / 124 / 132px, 24px apart. */
#features .section-title { position: sticky; top: 108px; }
.feature-stack { display: flex; flex-direction: column; gap: 108px; }
/* reference spacing between the stacked cards in flow: 124 / 116 / 108px (gap 108 + 16 / 8 / 0) */
.feature-stack__item + .feature-stack__item { margin-top: calc((3 - var(--i)) * 8px); }
.feature-stack__item { position: sticky; top: calc(208px + var(--i) * 8px); }
.feature-stack__item:first-child { top: 212px; }
/* in-page links to a feature card (e.g. coin "Buy" → #feature-buy) land where the card sticks, below the header */
.feature-card[id] { scroll-margin-top: calc(208px + var(--i) * 8px); }

/* Phase 9.8 (option D): one shared card height that follows the window height, so a stuck card stays inside the
   window and every card in the stack has the same height. 256 = lowest sticky top (232px) + 24px margin;
   682 = the 618px phone + 2 x 32px padding; 500px floor = the RC1 card height. */
.feature-card {
  display: flex;
  height: clamp(500px, 100svh - 256px, 682px);
  overflow: hidden;
  border-radius: var(--s);
  background: var(--c-white);
  box-shadow: 0 -12px 40px rgba(38, 38, 46, .08);
}
.feature-card__content {
  display: flex;
  flex: 1 1 50%;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--l);
}
.feature-card__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 36px; line-height: 48px; color: var(--c-dark); }
.feature-card__text { max-width: 500px; margin: var(--s) 0 0; font-size: 20px; line-height: 32px; color: var(--c-text); }
.feature-card__link { align-self: flex-start; margin-top: var(--s); }

.feature-card__art {
  display: flex;
  flex: 1 1 50%;
  justify-content: center;
  align-items: flex-start;
  min-height: 0;
  padding: 32px 0;
}
/* one complete phone image per card (300 x 618): it takes the slot height at its natural ratio, never larger */
.feature-card__img { display: block; width: auto; height: 100%; max-height: 618px; }

/* ---------- Features: tablet ----------
   Re-measured at exact CSS widths 1024 / 768: the reference keeps the desktop behaviour —
   heading sticks with card 1 (108px), cards ~108px apart in flow and settle at 216 / 224 / 232px;
   card 1 settles at 108 + 52 (heading) + 32 = 192px. Card title/text 18/30. */
@media (min-width: 768px) and (max-width: 1199px) {
  .feature-stack__item:first-child .feature-card[id] { scroll-margin-top: 192px; }   /* lands where it sticks (the desktop formula gave 208) */
  .feature-card { height: clamp(500px, 100svh - 256px, 600px); }   /* tablet cap 600px: phone at most 120% of RC1 */
}
@media (max-width: 1199px) {
  .feature-stack__item:first-child { top: 192px; }
  .feature-card__title { font-family: var(--font-text); font-weight: 700; font-size: 18px; line-height: 30px; }
  .feature-card__text { font-size: 18px; line-height: 30px; }
}

/* ---------- Features: phone ---------- */
@media (max-width: 767px) {
  #features .section-title { position: static; }
  .feature-stack { gap: 24px; }
  .feature-stack__item + .feature-stack__item { margin-top: calc((1 - var(--i)) * 8px); }   /* 24 / 16 / 8px (reference) */
  .feature-stack__item, .feature-stack__item:first-child { top: calc(108px + var(--i) * 8px); }
  .feature-card[id] { scroll-margin-top: calc(108px + var(--i) * 8px); }
  .feature-card { flex-direction: column; height: clamp(500px, 100svh - 148px, 680px); }   /* 148 = lowest sticky top 132 + 16 */
  .feature-card__content { flex: none; padding: var(--m) var(--m) 0; }
  .feature-card__title { font-size: 16px; line-height: 28px; }
  .feature-card__text { font-size: 16px; line-height: 28px; }
  .feature-card__art { flex: 1; padding: 24px 0 16px; }
}
/* Short phones: too little height for a readable complete phone in a stuck card (threshold measured in Phase 9.8:
   from 780px tall the stuck phone is at least as large as this 192px one), so the cards scroll in normal flow and
   grow to fit their content. */
@media (max-width: 767px) and (max-height: 779.98px) {
  .feature-stack__item { position: static; }
  .feature-stack__item + .feature-stack__item { margin-top: 0; }   /* plain 24px gap */
  .feature-card { height: auto; }
  .feature-card__img { width: 192px; height: auto; }   /* RC1 phone width */
}
/* Short windows at >= 768px wide (e.g. landscape phones): a stuck card (>= 500px tall, sticking at 192-232px) cannot
   show its whole content, so the cards scroll in normal flow; measured in Phase 9.16b: every title, text, link and
   phone is reachable in sticky mode from 700px tall. Anchors then land just below the fixed header. */
@media (min-width: 768px) and (max-height: 699.98px) {
  #features .section-title { position: static; }
  .feature-stack { gap: 24px; }
  .feature-stack__item,
  .feature-stack__item:first-child { position: static; }
  .feature-stack__item + .feature-stack__item { margin-top: 0; }
  #features .feature-card[id] { scroll-margin-top: calc(var(--header-height) + var(--s)); }
}

/* =====================================================================
   Section 4 — How to start (numbered steps + phone slider)
   Geometry measured live on the reference: panel padding 40, list 570px,
   rows 90px (active 186px), 50px index circles, phone ≈ 276px on the right.
   ===================================================================== */
.steps-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--l);
  padding: var(--l);
  border-radius: var(--s);
  background: var(--c-white);
}
.steps-panel__main { display: flex; flex-direction: column; width: 570px; max-width: 100%; }

.steps { position: relative; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 24px; top: 45px; bottom: 45px; width: 2px; background: #e6e6ea; }
.steps__trigger {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
  min-height: 90px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.steps__index {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f2f2f7;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  color: var(--c-dark);
  transition: background-color .25s, color .25s;
}
.steps__body { position: relative; flex: 1; }
.steps__title { display: block; font-weight: 700; font-size: 20px; line-height: 32px; color: var(--c-dark); }
.steps__text { display: none; margin-top: 10px; font-size: 20px; line-height: 32px; color: var(--c-text); }
.steps__trigger:hover .steps__index { background: #e6e6ee; }
.steps__trigger:focus-visible { outline: 2px solid var(--c-accent-text); outline-offset: 4px; border-radius: 12px; }

.steps__item.is-active .steps__index { background: var(--c-accent); color: var(--c-dark); }   /* dark numeral on the green badge: 6.4 : 1 (white was 2.3 : 1, A-3) */
@media (min-width: 1200px) { .steps__item.is-active { margin-bottom: 15px; } }   /* desktop list: circle centred on the bubble, next row 20px below it (reference) */
.steps__item.is-active .steps__body { margin: 5px 0; padding: 20px 30px 52px; border-radius: var(--s); background: #f2f2f7; }   /* reference bubble: 178px for a 2-line text */
.steps__item.is-active .steps__body::before {
  content: ""; position: absolute; left: -7px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: #f2f2f7; transform: rotate(45deg); border-radius: 2px;
}
.steps__item.is-active .steps__text { display: block; }

.steps-info { display: none; }

.steps-download { display: flex; flex-direction: column; align-items: flex-start; margin-top: 24px; }
.steps-download .apk-link { margin-top: var(--s); }
.steps-download__note { margin-top: 8px; font-size: 14px; line-height: 22px; color: #6a6c76; }

/* phone slider: one phone visible, slides horizontally to the active step */
/* The window clips the neighbouring screens (overflow hidden) and has 30px padding, which holds the active phone's
   shadow (baked into the image: it ends 19 / 9.5 / 28 px left / above / below the phone at desktop size). */
.steps-phones {
  flex-shrink: 0; box-sizing: content-box; width: 285px; padding: 30px; overflow: hidden;
  align-self: flex-start; margin: -19px -18px -30px -30px;   /* phone 51px below the panel top, 12px inside its right padding (reference) */
  touch-action: pan-y; cursor: grab; user-select: none;
}
.steps-phones__track { display: flex; gap: 64px; transition: transform .5s cubic-bezier(.3, .7, .2, 1); }
.steps-phones__slide { position: relative; flex: 0 0 285px; height: 640px; }
/* Phase 9.9: one complete phone image per screen (340 x 658 canvas: the 300px phone at (20, 10) plus its shadow).
   --k scales it as a whole (desktop / tablet 285 x 587px phone, as RC1); the image is offset so the phone itself
   fills the slide exactly where the RC1 device was. */
.steps-phones__slide { --k: .9492; }
.steps-phones__img {
  position: absolute; left: calc(-20px * var(--k)); top: calc(-10px * var(--k));
  width: calc(340px * var(--k)); max-width: none; height: auto;
}
@media (prefers-reduced-motion: reduce) { .steps-phones__track { transition: none; } }

/* ---------- How to start: tablet (768–1199) ----------
   Re-measured at exact CSS widths 1024 / 768: panel padding 32, column with 32px gap,
   desktop-size phone (wrapper 609px) on top, 50px index dots joined by 48px connectors,
   step title/text 18/30 (16px apart) in a 659px column, button 231px wide, 24px spacing. */
@media (min-width: 768px) and (max-width: 1199px) {
  .steps-panel { flex-direction: column; }
  .steps-phones { order: -1; align-self: center; margin: -19px -30px; }   /* phone 43px below the panel top, dots unchanged at 673px (reference) */
  .steps-panel__main { align-items: center; width: 100%; }

  .steps { display: flex; justify-content: center; }
  .steps::before { display: none; }
  .steps__item { display: flex; align-items: center; }
  .steps__item:not(:last-child)::after { content: ""; width: 48px; height: 2px; background: #e6e6ea; }
  .steps__trigger { gap: 0; min-height: 0; }
  .steps__body, .steps__item.is-active .steps__body { display: none; }

  .steps-info { display: block; max-width: 659px; margin-top: 24px; text-align: center; }
  .steps-info__title { font-weight: 700; font-size: 18px; line-height: 30px; color: var(--c-dark); }
  .steps-info__text { margin: 16px 0 0; font-size: 18px; line-height: 30px; color: var(--c-text); }

  .steps-download { align-items: center; margin-top: 24px; }
  .steps-download .btn-outline { min-width: 231px; }
  .steps-download__note { text-align: center; }
}

/* ---------- How to start: phone (phone on top, numbered dots, active step text) ---------- */
@media (max-width: 767px) {
  .section--start { padding: 0 16px; }
  .steps-panel { flex-direction: column; gap: 0; padding: var(--s) 16px var(--l); }
  .steps-phones { order: -1; align-self: center; width: 188px; margin: -24px -30px -30px; }   /* phone 22px below the panel top (reference) */
  .steps-phones__slide { flex-basis: 188px; height: 408px; }
  .steps-phones__slide { --k: .6274; }   /* 188 x 388px phone (reference 182 x 388) */
  .steps-panel__main { align-items: center; width: 100%; }

  .steps { display: flex; justify-content: center; margin-top: 38px; }
  .steps::before { display: none; }
  .steps__item { display: flex; align-items: center; }
  .steps__item:not(:last-child)::after { content: ""; width: 24px; height: 2px; background: #e6e6ea; }
  .steps__trigger { gap: 0; min-height: 0; }
  .steps__index { width: 36px; height: 36px; }
  .steps__body, .steps__item.is-active .steps__body { display: none; }

  .steps-info { display: block; max-width: 520px; margin-top: var(--m); text-align: center; }
  .steps-info__title { font-weight: 700; font-size: 20px; line-height: 32px; color: var(--c-dark); }
  .steps-info__text { margin: 16px 0 0; font-size: 18px; line-height: 30px; color: var(--c-text); }

  .steps-download { align-items: center; width: 100%; max-width: 394px; margin-top: var(--l); }
  .steps-download .btn-outline { min-width: 209px; }                              /* centred, 209px (reference) */
  .steps-download .apk-link { align-self: stretch; justify-content: center; }      /* full-width row, centred text (reference) */
  .steps-download__note { text-align: center; }
}

@media (max-width: 767px) {
  .steps-info__text { font-size: 16px; line-height: 28px; }   /* title stays 20/32 bold (reference) */
}

/* =====================================================================
   Section 5 — Supported assets (dark band + auto-scrolling coin ticker)
   Geometry measured live on the reference: band padding 80/64, cards ≈265px wide,
   ≈68px apart, 340px tall (300 on tablet/phone), padding 30 (24), radius 20.
   ===================================================================== */
.assets {
  display: block;
  padding: var(--xl) 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 520px 420px at 6% 0%, rgba(52, 190, 144, .26), rgba(52, 190, 144, 0) 70%),
    radial-gradient(ellipse 620px 460px at 92% 100%, rgba(66, 104, 235, .5), rgba(66, 104, 235, 0) 72%),
    radial-gradient(ellipse 420px 320px at 60% 110%, rgba(130, 90, 230, .32), rgba(130, 90, 230, 0) 70%),
    #141414;
}
/* full-bleed band: content keeps the usual 1120px column plus screen gutters */
.assets > .section__content { max-width: calc(var(--max-section-width) + 2 * var(--screen-padding)); margin: 0 auto; padding: 0 var(--screen-padding); }
.section-title--inverse { color: var(--c-white); }

.ticker { position: relative; overflow: hidden; }
/* below 1200px the row can be dragged/swiped (js/ticker.js); vertical page scroll still works */
@media (max-width: 1199px) { .ticker { touch-action: pan-y; cursor: grab; user-select: none; } .ticker.is-dragging { cursor: grabbing; } }
/* Card spacing follows the reference, which spreads the row differently per width. Measured gaps:
   22 @1440, 30 @1200/1199, 54 @1024, 70 @768, 69 @767, 55 @390, 32 @320 — linear between those points.
   Padding is half a gap, so the duplicated half of the track is exactly one loop (no jump at the seam). */
.ticker__track {
  --ticker-gap: clamp(22px, calc(70px - 3.3333vw), 30px);
  display: flex; gap: var(--ticker-gap); width: max-content; padding: 0 calc(var(--ticker-gap) / 2); will-change: transform;
}
@media (max-width: 1199px) { .ticker__track { --ticker-gap: calc(194.43px - 13.714vw); } }   /* 30 @1199 → 54 @1024 */
@media (max-width: 1023px) { .ticker__track { --ticker-gap: calc(118px - 6.25vw); } }         /* 54 @1024 → 70 @768 */
@media (max-width: 767px)  { .ticker__track { --ticker-gap: calc(40.5px + 3.714vw); } }       /* 69 @767 → 55 @390 */
@media (max-width: 389px)  { .ticker__track { --ticker-gap: calc(32.857vw - 73.14px); } }     /* 55 @390 → 32 @320 */

.coin-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 265px;
  height: 340px;
  padding: var(--m);
  border-radius: var(--s);
  background: rgba(255, 255, 255, .08);
  text-align: center;
}
.coin-card__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--c1), var(--c2) 72%);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .16), inset 0 2px 0 rgba(255, 255, 255, .3);
  color: #fff;
  font: 700 28px/1 Arial, sans-serif;
}
.coin-card__name { margin: 22px 0 0; font-weight: 400; font-size: 16px; line-height: 28px; color: var(--c-muted); }
.coin-card__price { margin-top: 24px; font-weight: 600; font-size: 24px; line-height: 38px; color: var(--c-white); }
.coin-card__change {
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
}
.coin-card__change--up { background: rgba(52, 190, 144, .2); color: #45cf9f; }   /* text lightened for 4.5 : 1 on the tinted pill (A-4); pill tints unchanged */
.coin-card__change--down { background: rgba(229, 72, 77, .2); color: #ff8a8e; }
.coin-card__change--flat { background: rgba(166, 166, 179, .2); color: #babac6; }
.coin-card__buy {
  display: grid;
  place-items: center;
  width: 100%;
  height: 48px;
  margin-top: auto;
  border: 1px solid rgba(254, 254, 254, .3);
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
  color: var(--c-white);
  transition: background-color .2s, border-color .2s;
}
.coin-card__buy:hover { background: rgba(255, 255, 255, .08); border-color: rgba(254, 254, 254, .6); }
.coin-card__buy:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

.assets > .assets__footer { display: flex; flex-direction: column; align-items: center; margin-top: var(--l); }   /* 40 / 32 / 24px below the cards (reference) */
.assets__footer .link-arrow { color: var(--c-accent); }   /* dark band: keeps the bright accent (the darker text accent is for light backgrounds) */
.demo-note--inverse { color: rgba(254, 254, 254, .6); }   /* .5 was 4.0 : 1 on the lighter blue of the band at phone widths (A-4) */
/* Pause/Play sits at the right end of the "See all assets" row; absolutely placed, so the band keeps its height */
.assets__toggle { position: absolute; top: 0; right: var(--screen-padding); }   /* top: 0 keeps it clear of the passing cards */

/* reduced motion: no auto-scroll, the row becomes a normal horizontal scroller */
.ticker.is-static { overflow-x: auto; scrollbar-width: thin; }

/* ---------- Supported assets: tablet + phone ---------- */
@media (max-width: 1199px) {
  .coin-card { height: 340px; padding: var(--m); }   /* reference tablet cards stay 340px tall (300px on phones) */
  .coin-card__name { margin-top: 20px; }
  .coin-card__price { margin-top: 16px; font-size: 20px; line-height: 32px; }
}
@media (max-width: 767px) {
  .coin-card { height: 300px; }
}

/* =====================================================================
   Section 6 — Feedback preview (stacked "cover-flow" carousel)
   Measured live on the reference: centre card 840×300 (≈ container − 24px below 1200),
   neighbours scaled ≈.86 / ≈.71–.75 / .5 (hidden), offset ≈10.7% / 20% of card width,
   z-index 10/8/6/1, autoplay ≈2.5s, 40px arrows on desktop only.
   ===================================================================== */
.section--pb { padding-bottom: var(--xl); }
/* hidden outer cards (±24%) must not widen the page; clip does not create a scroll container */
#feedback { overflow-x: clip; }

.ratings { display: flex; justify-content: center; align-items: center; min-height: 60px; gap: var(--l); margin: 0 0 var(--l); }   /* reference row: 60px (56 on phones) */
.ratings__block { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; line-height: 32px; color: var(--c-dark); }
.ratings__icon {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  background: #262626; color: #fff; font: 700 9px/1 var(--font-text); font-style: normal; letter-spacing: .02em;
}
.ratings__value { font-weight: 600; }
.ratings__label { color: var(--c-text); }

.reviews { position: relative; }
.reviews__stage { position: relative; height: 340px; touch-action: pan-y; user-select: none; }

.review {
  --x: 0%; --y: 0px; --sc: 1; --o: 1;   /* --sc = scale (not the --s spacing token) */
  position: absolute;
  left: 50%;
  top: 0;
  width: min(840px, calc(100% - 24px));
  height: 300px;
  padding: var(--m);
  border-radius: var(--s);
  background: var(--c-white);
  box-shadow: 0 10px 30px rgba(38, 38, 46, .08);
  transform: translateX(-50%) translateX(var(--x)) translateY(var(--y)) scale(var(--sc));
  opacity: var(--o);
  transition: transform .5s cubic-bezier(.3, .7, .2, 1), opacity .5s ease;
}
.review[data-pos="0"]  { --x: 0%;      --y: 0px;  --sc: 1;    z-index: 10; }
.review[data-pos="1"]  { --x: 10.8%;   --y: 9px;  --sc: .857; z-index: 8; }
.review[data-pos="-1"] { --x: -10.7%;  --y: 9px;  --sc: .866; z-index: 8; }
.review[data-pos="2"]  { --x: 20.8%;   --y: 16px; --sc: .714; z-index: 6; }
.review[data-pos="-2"] { --x: -20%;    --y: 16px; --sc: .751; z-index: 6; }
.review[data-pos="3"]  { --x: 24%;     --y: 30px; --sc: .5;   --o: 0; z-index: 1; }
.review[data-pos="-3"] { --x: -24%;    --y: 30px; --sc: .5;   --o: 0; z-index: 1; }
/* side cards are tinted grey, as on the reference, so the centre card stands out */
.review:not([data-pos="0"]) { background: #dedee4; box-shadow: none; }
.review:not([data-pos="0"]) .review__text,
.review:not([data-pos="0"]) .review__author { opacity: .55; }
@media (prefers-reduced-motion: reduce) { .review { transition: none; } }

.review__tag {
  position: absolute; top: var(--m); right: var(--m);
  padding: 2px 10px; border-radius: 10px; background: #f2f2f7; color: #6a6c76;
  font-size: 12px; line-height: 20px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.review__author { display: flex; align-items: center; gap: 16px; padding-right: 110px; }
.review__avatar {
  position: relative; display: grid; place-items: center; flex-shrink: 0; width: 69px; height: 69px; border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--h) 70% 66%), hsl(var(--h) 60% 44%)); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 22px;
}
.review__platform {
  position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 27px; height: 27px;
  border: 3px solid var(--c-white); border-radius: 50%; background: #262626; color: #fff;
  font: 700 10px/1 var(--font-text); font-style: normal;
}
.review__name { display: block; font-weight: 700; font-size: 20px; line-height: 32px; color: var(--c-dark); }
.review__stars { display: flex; gap: 7px; margin-top: 4px; }
.review__stars svg { width: 17px; height: 17px; fill: #FFC107; }
.review__text { margin: var(--m) 0 0; font-size: 20px; line-height: 32px; color: var(--c-text); }

.reviews__arrow {
  position: absolute; top: 150px; z-index: 20; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%;
  background: var(--c-white); box-shadow: 0 2px 8px rgba(38, 38, 46, .1);
}
.reviews__arrow::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -5px 0 0 -3px;
  border-left: 2px solid var(--c-dark); border-bottom: 2px solid var(--c-dark); transform: rotate(45deg);
}
.reviews__arrow--prev { left: 0; }    /* at the container edges (reference 160 / 1240 @1440, 32 / 952 @1024) */
.reviews__arrow--next { right: 0; }
.reviews__arrow--next::before { margin-left: -7px; transform: rotate(-135deg); }
.reviews__arrow:hover { box-shadow: 0 4px 14px rgba(38, 38, 46, .18); }
.reviews__arrow:focus-visible { outline: 2px solid var(--c-accent-text); outline-offset: 2px; }
.reviews__toggle:focus-visible { outline-color: var(--c-accent-text); }   /* light background: the shared Pause/Play ring colour (#34be90) is 2.1:1 here */
/* Pause/Play in the free 40px strip under the centre card, aligned with its right edge (all widths) */
.reviews__toggle { position: absolute; bottom: 0; right: calc((100% - min(840px, 100% - 24px)) / 2); z-index: 20; }

/* ---------- Feedback preview: tablet + phone ---------- */
@media (max-width: 1199px) {
  .ratings { gap: var(--m); margin-bottom: var(--l); }
  .ratings__block { font-size: 14px; line-height: 22px; }

  .review { padding: var(--m); }
  .review__avatar { width: 48px; height: 48px; font-size: 16px; }
  .review__platform { width: 24px; height: 24px; right: -6px; bottom: -6px; font-size: 9px; }
  .review__name { font-size: 16px; line-height: 24px; }
  .review__text { font-size: 16px; line-height: 28px; }
  .review__author { padding-right: 90px; }
}
@media (max-width: 767px) {
  .review__text { margin-top: var(--s); }
  .ratings { min-height: 56px; }
  /* phones: no visible arrows (as on the reference: swipe instead), but they stay in the tab order and
     appear while they have keyboard focus, so keyboard and screen-reader users can still step through */
  .reviews__arrow:not(:focus) { clip-path: inset(50%); pointer-events: none; }
}
/* below 1200px the reference side cards sit closer in proportion (offsets measured at 1024 / 900 / 768 / 390);
   scales, heights and y offsets as on desktop */
@media (max-width: 1199px) {
  .review[data-pos="1"]  { --x: 9.5%; }
  .review[data-pos="-1"] { --x: -9.3%; }
  .review[data-pos="2"]  { --x: 18.1%; }
  .review[data-pos="-2"] { --x: -17.2%; }
  .review[data-pos="3"]  { --x: 20.6%; }
  .review[data-pos="-3"] { --x: -20.6%; }
}
/* tablet (768–1199): reference card width = container − 200px, capped at 840 (760 @1024, 636 @900, 504 @768) */
@media (min-width: 768px) and (max-width: 1199px) {
  .review { width: min(840px, calc(100% - 200px)); }
  .reviews__toggle { right: calc((100% - min(840px, 100% - 200px)) / 2); }   /* stays aligned with the centre card's right edge */
}
/* phone: reference card width = container − 40px (695 @767, 318 @390, 248 @320) */
@media (max-width: 767px) {
  .review { width: calc(100% - 40px); }
  .reviews__toggle { right: 20px; }
}

/* =====================================================================
   Section 7 — Press preview (placeholder media tiles)
   Measured live on the reference: tiles 265×100 / 20px gap / radius 20 / padding 20 / #fefefe / no shadow,
   logo slot 150×50; ≤1199px tiles 160×64, radius 16, padding 16, gap 16, logo 120×30, heading 32/44;
   ≤767px a centred 2×2 grid. No hover effect; staggered fade-in.
   ===================================================================== */
.press { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s); margin: 0; padding: 0; list-style: none; }
.press__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 265px;
  height: 100px;
  padding: var(--s);
  border-radius: var(--s);
  background: var(--c-white);
}
.reveal-on .press__tile.reveal { transition-delay: var(--d, 0s); }

/* neutral logo shape (mark + wordmark bar) inside the 150×50 slot */
.press__logo { display: flex; align-items: center; justify-content: center; gap: 8px; width: 150px; height: 26px; }
.press__logo i { width: 22px; height: 22px; border-radius: 6px; background: #d9dae1; }
.press__logo b { width: 92px; height: 12px; border-radius: 6px; background: #e6e7ec; }
.press__label { font-size: 12px; line-height: 16px; font-weight: 500; color: #6a6c76; }
.press__tag {
  position: absolute; top: 8px; right: 10px; padding: 0 6px; border-radius: 6px;
  background: #f2f2f7; color: #6a6c76; font-size: 10px; line-height: 16px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}

/* ---------- Press preview: tablet (768–1199) ----------
   Re-measured at exact CSS widths 1024 / 768: heading 40/52 (shared token), tiles 224×80,
   padding 16, radius 16, gap 16, logo slot 144×38; four in a row at 1024, 3 + 1 centred at 768. */
@media (min-width: 768px) and (max-width: 1199px) {
  .press__tile { width: 224px; height: 80px; padding: 16px; border-radius: 16px; gap: 4px; }
  .press__logo { width: 144px; height: 22px; gap: 7px; }
  .press__logo i { width: 20px; height: 20px; border-radius: 6px; }
  .press__logo b { width: 86px; height: 11px; }
  .press__label { font-size: 11px; line-height: 14px; }
  .press__tag { top: 6px; right: 8px; padding: 0 5px; font-size: 10px; line-height: 14px; }   /* A-5: 10px minimum */
}

/* ---------- Press preview: phone ---------- */
@media (max-width: 767px) {
  #press .section-title { font-size: 32px; line-height: 44px; }
  .press__tile { width: 160px; height: 64px; padding: 16px; border-radius: 16px; gap: 2px; }
  .press__logo { width: 120px; height: 18px; gap: 6px; }
  .press__logo i { width: 16px; height: 16px; border-radius: 5px; }
  .press__logo b { width: 72px; height: 9px; }
  .press__label { font-size: 10px; line-height: 13px; }
  .press__tag { top: 4px; right: 6px; padding: 0 5px; font-size: 10px; line-height: 14px; }   /* A-5: was 8px */
}
@media (max-width: 767px) {
  .press { gap: 16px; }   /* tiles wrap naturally: 4 in a row at 767, 2 × 2 at 390, 1 column at 320 (reference) */
}

/* =====================================================================
   Section 8 — Recognition preview (3 demonstration cards)
   Measured live on the reference: grid 645px / 455px columns, rows 273px / 297px, gap 20;
   cards #fefefe + soft gradient, radius 20, padding 30 (tall card 40); label 20/32 #404040,
   title 24/38 600 #262626. ≤1199px: one column, gap 16, radius 16, padding 24, centred text,
   label 16/28, title 20/32; card A art full width, card B art 64px strip, card C art 200px wide.
   All three illustrations are complete images at their natural proportions (no fixed ratio, no object-fit);
   the rows may grow so card C holds the whole sculpture (plinth and floor shadow included).
   ===================================================================== */
.recog {
  display: grid;
  grid-template-columns: 645fr 455fr;
  grid-template-rows: 273px minmax(297px, auto);
  grid-template-areas: "a c" "b c";
  gap: var(--s);
}
.recog__card {
  position: relative;
  overflow: hidden;
  padding: var(--m);
  border-radius: var(--s);
  background-color: var(--c-white);
}
.recog__label { position: relative; display: block; font-size: 20px; line-height: 32px; color: var(--c-text); }
.recog__title { position: relative; margin: 0; font-weight: 600; font-size: 24px; line-height: 38px; color: var(--c-dark); }
.recog__art { position: relative; display: block; height: auto; }

/* A — text column left (240px), plaque right */
.recog__card--a {
  grid-area: a;
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 0;
  background-image: radial-gradient(ellipse 360px 260px at 92% 30%, rgba(246, 176, 132, .45), rgba(246, 176, 132, 0) 70%),
                    radial-gradient(ellipse 300px 220px at 60% 110%, rgba(196, 170, 246, .4), rgba(196, 170, 246, 0) 70%);
}
.recog__card--a .recog__label { grid-column: 1; grid-row: 1; }
.recog__card--a .recog__title { grid-column: 1; grid-row: 2; margin-top: 48px; }   /* reference: title text 114px from the card top */
.recog__card--a .recog__art { grid-column: 2; grid-row: 1 / 3; align-self: start; justify-self: center; width: 100%; max-width: 345px; margin-top: -24px; }

/* B — label full width, title + pills left, badge right */
.recog__card--b {
  grid-area: b;
  display: grid;
  grid-template-columns: 356px 1fr;
  grid-template-rows: auto 1fr auto auto;   /* label · free space · title · pills (reference: title and pills sit at the bottom) */
  background-image: radial-gradient(ellipse 420px 240px at 100% 100%, rgba(95, 224, 184, .4), rgba(95, 224, 184, 0) 70%),
                    radial-gradient(ellipse 260px 200px at 0 0, rgba(180, 240, 220, .35), rgba(180, 240, 220, 0) 70%);
}
.recog__card--b .recog__label { grid-column: 1 / 3; grid-row: 1; }
.recog__card--b .recog__title { grid-column: 1; grid-row: 3; }
.recog__card--b .recog__pills { grid-column: 1; grid-row: 4; align-self: start; margin-top: 24px; }
.recog__card--b .recog__art { grid-column: 2; grid-row: 3 / 5; align-self: end; justify-self: end; width: 174px; max-width: 100%; }   /* reference badge 174 x 64, bottom-right */
/* platform pills: reference geometry (16/22 500, padding 2 16, radius 10, 10px apart, #f2f2f7); text darker than the
   reference's #34be90 (2.1:1) so it reaches 5.2:1 */
.recog__pills { display: flex; gap: 10px; margin-top: var(--s); }
.recog__pills span { padding: 2px 16px; border-radius: 10px; background: var(--c-page); color: #187356; font-size: 16px; line-height: 22px; font-weight: 500; }

/* C — tall centred card with the sculpture */
.recog__card--c {
  grid-area: c;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--l);
  text-align: center;
  background-image: radial-gradient(ellipse 320px 300px at 50% 100%, rgba(196, 170, 246, .5), rgba(196, 170, 246, 0) 70%),
                    radial-gradient(ellipse 300px 240px at 50% 0, rgba(250, 214, 170, .4), rgba(250, 214, 170, 0) 70%);
}
.recog__card--c .recog__title { margin-top: var(--s); }
.recog__card--c .recog__art { width: 200px; margin-top: var(--s); }   /* complete sculpture, 200 x 427 */

/* ---------- Recognition preview: tablet (768–1199) ----------
   Re-measured at exact CSS widths 1024 / 768: two equal columns, gap 16, rows 260 / 564;
   card A spans both columns (text column 240px, art 294×212 right), B and C side by side;
   padding 24 (C: 32), radius 16, label 18/30, title 24/38; B: art pinned low, pills at the bottom. */
@media (min-width: 768px) and (max-width: 1199px) {
  .recog { grid-template-columns: 1fr 1fr; grid-template-rows: 260px minmax(564px, auto); grid-template-areas: "a a" "b c"; gap: 16px; }
  .recog__card { padding: 24px; border-radius: 16px; }
  .recog__label { font-size: 18px; line-height: 30px; }
  .recog__card--a .recog__title { margin-top: 68px; }   /* reference: title text 126px from the card top */
  .recog__card--a .recog__art { justify-self: end; width: 294px; max-width: 100%; margin-top: 0; }
  .recog__card--b { display: flex; flex-direction: column; text-align: center; }
  .recog__card--b .recog__title { margin-top: 16px; }
  .recog__card--b .recog__art { order: 1; align-self: center; width: auto; max-width: 100%; height: 64px; margin-top: auto; }
  .recog__card--b .recog__pills { order: 2; margin-top: 40px; }
  .recog__pills span { padding: 2px 12px; border-radius: 8px; }
  .recog__card--c { padding: 32px; }
  .recog__card--c .recog__title, .recog__card--c .recog__art { margin-top: 16px; }
}

/* ---------- Recognition preview: phone ---------- */
@media (max-width: 767px) {
  .recog { display: flex; flex-direction: column; gap: 16px; }
  .recog__card { padding: 24px; border-radius: 16px; text-align: center; }
  .recog__label { font-size: 16px; line-height: 28px; }
  .recog__title { font-size: 20px; line-height: 32px; }
  .recog__card--a, .recog__card--b { display: flex; flex-direction: column; align-items: center; }
  .recog__card--a .recog__title, .recog__card--b .recog__title { margin-top: 16px; }
  .recog__card--a .recog__art { width: 100%; max-width: none; margin-top: 16px; }
  .recog__card--b .recog__pills { align-self: center; justify-content: center; margin-top: 40px; }   /* reference: centred, 40px below the title */
  .recog__pills span { padding: 2px 12px; border-radius: 8px; font-size: 14px; }
  .recog__card--b .recog__art { align-self: center; width: auto; max-width: 100%; height: 64px; margin-top: 16px; }   /* centred (desktop pins it bottom-right) */
  .recog__card--c { padding: 24px; }
  .recog__card--c .recog__title { margin-top: 16px; }
  .recog__card--c .recog__art { margin-top: 32px; }
}

/* =====================================================================
   Section 9 — Partner slots (15 fictional placeholder marks)
   Measured live on the reference: 15 tiles, desktop 200×100 in a 5×3 centred wrap, gap 20,
   radius 20, padding 20, #fefefe, no shadow, logo slot 155×50, staggered fade-in (0.4s, +0.05s each),
   link 40px below. Tablet (reference CSS) 224×80, logo 144×38; phone 160×64, logo 120×30,
   two per row, gap 16, radius/padding 16, link 24px below.
   ===================================================================== */
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s); margin: 0; padding: 0; list-style: none; }
.partners__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 200px;
  height: 100px;
  padding: var(--s);
  border-radius: var(--s);
  background: var(--c-white);
}
.reveal-on .partners__tile.reveal { transition-delay: var(--d, 0s); }
.partners__mark { flex-shrink: 0; width: 30px; height: 30px; fill: hsl(var(--h) 28% 46%); color: hsl(var(--h) 28% 46%); }
.partners__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 18px;
  letter-spacing: .01em;
  color: #5d5f6b;
  white-space: nowrap;
}
.partners__footer { display: flex; justify-content: center; margin-top: var(--l); }

/* ---------- Partner slots: tablet ---------- */
@media (max-width: 1199px) {
  .partners__tile { width: 224px; height: 80px; padding: 16px; border-radius: 16px; }
  .partners__mark { width: 26px; height: 26px; }
  .partners__name { font-size: 14px; }
  .partners__footer { margin-top: 24px; }
}

/* ---------- Partner slots: phone ---------- */
@media (max-width: 767px) {
  .partners { gap: 16px; }
  .partners__tile { width: 160px; height: 64px; gap: 8px; }
  .partners__mark { width: 22px; height: 22px; }
  .partners__name { font-size: 12px; line-height: 16px; }
}

/* =====================================================================
   Section 10 — Learn more (two resource cards, in-page destinations only)
   Measured live on the reference at exact CSS widths (Emulation.setDeviceMetricsOverride):
   1440: two 550×524 cards, gap 20, radius 20, white, no shadow, overflow hidden;
         image 550×280 (cover); body padding 30 30 40, gap 20; title 24/38 600; text 20/32; link 20/32.
   ≤1199: gap 16, radius 16, image height 240, body padding 24 24 32, gap 16, text 18/30 (title stays 24/38).
   ≤767: one column, body padding 24, title 20/32, text 16/28.
   Phase 9.13: each illustration (1100 x 560 SVG, unchanged) is shown complete at its natural ratio: no fixed image
   height, no object-fit cover, no hover zoom (a zoom inside the card would crop it). Hover / focus keep the arrow nudge
   and the focus ring.
   ===================================================================== */
.learn { display: flex; gap: var(--s); }
.learn__card {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--s);
  background: var(--c-white);
  color: inherit;
}
.learn__art { display: block; background: #141936; }   /* background: placeholder colour while the image loads */
.learn__art img { display: block; width: 100%; height: auto; }   /* natural 1100 : 560 ratio (550 x 280 at 1440, as RC1) */
.learn__card:focus-visible { outline: 2px solid var(--c-accent-text); outline-offset: 3px; }

.learn__body { display: flex; flex-direction: column; gap: var(--s); padding: var(--m) var(--m) var(--l); }
.learn__title { font-weight: 600; font-size: 24px; line-height: 38px; color: var(--c-dark); }
.learn__text { font-size: 20px; line-height: 32px; color: var(--c-text); }
/* same look as .link-arrow; a span because the whole card is the link */
.learn__more { display: inline-flex; align-items: center; align-self: flex-start; font-weight: 500; font-size: 20px; line-height: 32px; color: var(--c-accent-text); }
.learn__more::after {
  content: ""; width: 32px; height: 24px; background: currentColor; transition: transform .15s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath d='M9 12h14m-5-5 5 5-5 5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath d='M9 12h14m-5-5 5 5-5 5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.learn__card:hover .learn__more::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .learn__more::after { transition: none; } }

/* ---------- Learn more: tablet ---------- */
@media (max-width: 1199px) {
  .learn { gap: 16px; }
  .learn__card { border-radius: 16px; }
  .learn__body { gap: 16px; padding: 24px 24px 32px; }
  .learn__text, .learn__more { font-size: 18px; line-height: 30px; }
}

/* ---------- Learn more: phone ---------- */
@media (max-width: 767px) {
  .learn { flex-direction: column; }
  .learn__card { flex: none; }   /* flex-basis 0 would collapse the cards in a column */
  .learn__body { padding: 24px; }
  .learn__title { font-size: 20px; line-height: 32px; }
  .learn__text, .learn__more { font-size: 16px; line-height: 28px; }
}

/* =====================================================================
   Section 11 — Final call to action (full-bleed band)
   Measured live on the reference at exact CSS widths: band 460px tall at every width, margin-top 80/64,
   cover background image; content vertically centred; title max 930px, 48/64 → 40/52 → 32/44, white, centred;
   subtitle #dddee1 20/32, +20 (16/28, +16 on phones); white button 60px (56 phone), radius 16,
   20 → 18 → 16px bold; APK link +20 (+16 phone). No animation.
   Buttons reuse the hero's .download-action / .apk-link styles (identical sizes on the reference).
   ===================================================================== */
.cta {
  align-items: center;
  height: 460px;
  overflow: hidden;
  background: #1b1b1f url("../assets/cta/cta-glow.svg") 50% 50% / cover no-repeat;
  text-align: center;
}
.cta__inner { display: flex; flex-direction: column; align-items: center; max-width: 930px; }
.cta__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 48px; line-height: 64px; color: var(--c-white); }
.cta__text { margin: var(--s) 0 0; font-size: 20px; line-height: 32px; color: var(--c-muted); }
.cta__actions { display: flex; flex-direction: column; align-items: center; margin-top: var(--s); }
.cta__actions .apk-link { justify-content: center; width: 100%; }
/* A-4: a tight dark halo behind the subtitle and the APK link (the glow behind them is up to #ab7faf); the background artwork is unchanged */
.cta__text, .cta .apk-link { text-shadow: 0 0 1px rgba(18, 14, 26, .9), 0 0 2px rgba(18, 14, 26, .8), 0 0 6px rgba(18, 14, 26, .5); }
/* CTA APK hover: slightly lighter text plus one extra 3px halo layer (hover only). #7ee0bc with the base halo measured
   4.49 : 1 at one glyph-edge pixel at 320 px; this measures >= 4.79 : 1 at every width. No layout effect. */
.cta .apk-link:not(.is-disabled):hover { color: #8ce5c5; text-shadow: 0 0 1px rgba(18, 14, 26, .9), 0 0 2px rgba(18, 14, 26, .8), 0 0 3px rgba(18, 14, 26, .9), 0 0 6px rgba(18, 14, 26, .5); }

@media (max-width: 1199px) {
  .cta__title { font-size: 40px; line-height: 52px; }
  .cta__text { font-size: 18px; line-height: 30px; }
}
@media (max-width: 767px) {
  .cta__title { font-size: 32px; line-height: 44px; }
  .cta__text { margin-top: 16px; font-size: 16px; line-height: 28px; }
  .cta__actions { margin-top: 16px; width: 100%; }
  .cta__actions .apk-link { margin-top: 16px; }
}

/* =====================================================================
   Footer
   Measured live on the reference at exact CSS widths:
   ≥1200: white, content 1120; header row 32px top, logo 182×46, social block right, 1px #dddee1 border;
          main grid 829 / 221: four 200px link columns (space-between), Download column right;
          column heading 20/32 700 #262626, links 14/22 #202020, ~34px pitch; "wallets" block under the columns;
          legal block with 1px top border: awards row, then language pill (left) + copyright (right); bottom padding 32.
   768–1199: header stacked — logo centred, social row (label left, icons right); one column:
          link columns 180px, gap 80 (wraps 3+1 at 768); wallets; Download row (title left, buttons right, top border);
          legal grid 2 × 1fr. Heading 18/30.
   ≤767:  padding 16; logo left 182×40; link columns become an accordion (heading 16/28 + chevron, links 12/20);
          wallets; Download stacked (button centred 56px); legal stacked, gap 16.
   ===================================================================== */
.footer { background: var(--c-white); padding: 0 var(--screen-padding); }
.footer__content { max-width: var(--max-section-width); margin: 0 auto; padding: 32px 0; }

.footer__header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 31px; border-bottom: 1px solid var(--c-muted); }
.footer__logo { display: block; width: 182px; height: 46px; }
.footer__logo-svg { display: block; width: 100%; height: 100%; }
.footer__social { display: flex; align-items: center; gap: 16px; }
.footer__social-label { font-weight: 700; font-size: 20px; line-height: 32px; color: var(--c-text); }
.footer__social-note { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--c-muted); border-radius: 12px; font-size: 14px; line-height: 22px; color: #6a6c76; }

.footer__main { display: grid; grid-template-columns: 1fr 221px; grid-template-areas: "nav download" "assets assets" "legal legal"; column-gap: 70px; }

.footer__nav { grid-area: nav; display: flex; justify-content: space-between; padding-top: 30px; }
.footer-col { width: 200px; }
.footer-col__title { margin: 0; }
.footer-col__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0; text-align: left;
  font-weight: 700; font-size: 20px; line-height: 32px; color: var(--c-dark); cursor: default;
}
.footer-col__list { display: flex; flex-direction: column; gap: 12px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 22px; }   /* rows every 34px (reference) */
.footer-col__list a, .footer-col__list button { font-size: 14px; line-height: 22px; color: #202020; text-align: left; }
.footer-col__list a:hover, .footer-col__list button:hover { color: var(--c-accent-text); }

.footer__download { grid-area: download; display: flex; flex-direction: column; padding-top: 30px; }
.footer__download-title { font-weight: 700; font-size: 20px; line-height: 32px; color: var(--c-dark); }
.footer__download-actions { display: flex; flex-direction: column; align-items: center; margin-top: 10px; }
.footer__download-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 60px; padding: 0 20px;
  border-radius: 16px; background: #141414; color: var(--c-white); font-weight: 700; font-size: 20px; line-height: 32px; white-space: nowrap;
}
.footer__download-btn:hover { background: #2a2a2e; }
.footer__download-actions .apk-link { margin-top: var(--s); justify-content: center; }

.footer__assets { grid-area: assets; padding: 20px 0 30px; }
.footer__assets-title { font-weight: 700; font-size: 20px; line-height: 32px; color: var(--c-dark); }
.footer__assets-title:hover { color: var(--c-accent-text); }
.footer-assets { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.footer-assets__badge {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--c1), var(--c2) 72%); color: #fff; font: 700 14px/1 Arial, sans-serif;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
}

.footer__legal {
  grid-area: legal; display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "notice notice" "lang copy";
  row-gap: 20px; column-gap: 20px; padding-top: 30px; border-top: 1px solid var(--c-muted);
}
.footer__notice { grid-area: notice; max-width: 760px; margin: 0; font-size: 14px; line-height: 22px; color: #6a6c76; }
.footer__notice strong { color: var(--c-dark); }
.footer__lang {
  grid-area: lang; justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border: 1px solid var(--c-muted); border-radius: 12px; font-weight: 600; font-size: 14px; line-height: 22px; color: var(--c-dark);
}
.footer__lang i {
  width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 50%;
  background: linear-gradient(currentColor, currentColor) 50% / 1.5px 100% no-repeat, linear-gradient(currentColor, currentColor) 50% / 100% 1.5px no-repeat;
}
.footer__copy { grid-area: copy; align-self: center; justify-self: end; font-size: 14px; line-height: 22px; color: #6a6c76; }

.footer a:focus-visible, .footer button:focus-visible { outline: 2px solid var(--c-accent-text); outline-offset: 3px; border-radius: 4px; }

/* ---------- Footer: tablet ---------- */
@media (max-width: 1199px) {
  .footer__header { flex-direction: column; align-items: stretch; padding-bottom: 24px; }
  .footer__logo { align-self: center; }
  .footer__social { justify-content: space-between; margin-top: 24px; }
  .footer__social-label { font-size: 18px; line-height: 30px; }
  .footer__main { grid-template-columns: 1fr; grid-template-areas: "nav" "assets" "download" "legal"; column-gap: 0; }
  .footer__nav { flex-wrap: wrap; justify-content: space-between; gap: 32px 80px; }
  .footer-col { width: 180px; }
  .footer-col__toggle, .footer__download-title, .footer__assets-title { font-size: 18px; line-height: 30px; }
  .footer__download { flex-direction: row; align-items: center; justify-content: space-between; padding: 24px 0; border-top: 1px solid var(--c-muted); }
  .footer__download-actions { margin-top: 0; }
  .footer__download-btn { width: auto; font-size: 18px; line-height: 30px; }
  .footer__legal { padding-top: 24px; }
}

/* ---------- Footer: phone (accordion columns) ---------- */
@media (max-width: 767px) {
  .footer__content { padding: 16px 0; }
  .footer__logo { align-self: flex-start; height: 40px; }
  .footer__social { flex-wrap: wrap; gap: 12px; margin-top: 16px; }
  .footer__social-label { font-size: 16px; line-height: 28px; }
  .footer__social-note { height: 36px; font-size: 13px; }

  .footer__nav { flex-direction: column; gap: 24px; padding-top: 24px; }
  .footer-col { width: 100%; }
  .footer-col__toggle { font-size: 16px; line-height: 28px; cursor: pointer; }
  .footer-col__toggle::after {
    content: ""; width: 9px; height: 9px; margin: -4px 6px 0 0; border-right: 2px solid var(--c-dark); border-bottom: 2px solid var(--c-dark);
    transform: rotate(45deg); transition: transform .2s ease;
  }
  .footer-col__toggle[aria-expanded="true"]::after { margin-top: 4px; transform: rotate(-135deg); }
  .footer-col__list { display: none; gap: 12px; margin-top: 12px; font-size: 12px; line-height: 20px; }   /* rows every 32px (reference accordion) */
  .footer-col.is-open .footer-col__list { display: flex; }
  .footer-col__list a, .footer-col__list button { font-size: 12px; line-height: 20px; }

  .footer__assets { padding: 24px 0; }
  .footer__assets-title { font-size: 16px; line-height: 28px; }
  .footer__download { flex-direction: column; align-items: stretch; gap: 0; padding: 24px 0; }
  .footer__download-title { font-size: 16px; line-height: 28px; }
  .footer__download-actions { margin-top: 0; }
  .footer__download-btn { height: 56px; font-size: 16px; line-height: 28px; }
  .footer__download-actions .apk-link { margin-top: 16px; }
  .footer__legal { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 24px; }
  .footer__copy { justify-self: auto; align-self: flex-end; }   /* right-aligned, as on the reference */
}
