/* Home: Figma Home 390 EN 7556:291 (mobile first) and Home 1440 EN 7556:290 (from 960;
   the earn boards go three across from 1200, two columns from 960). Stacked layouts
   between 600 and 959 keep the 390 composition with text capped at 640. */

.hero__text,
.hiw__intro,
.earn__title,
.earn__boards > *,
.gate__text,
.stats__text,
.split > *,
.faq__head,
.faq__list,
.download__text {
  max-width: 640px;
}

/* base.css balances headings; Figma breaks these two greedily ("…when the / minutes run out"). */
.earn h2,
.gate h2 {
  text-wrap: wrap;
}

/* Between 600 and 959 the greedy break leaves "out" alone on the last line. */
@media (min-width: 600px) and (max-width: 959px) {
  .gate h2 {
    text-wrap: balance;
  }
}

/* base.css hyphenates RU headings; at 390 that splits «зарабо-тать» and «бесплат-но». */
.earn h2,
.gate h2,
.pricing h2 {
  hyphens: manual;
}

.text-link {
  font-weight: 500;
}

/* 44 px tall hit area without moving the line. */
.more .text-link,
.hiw__more .text-link,
.plan__terms {
  display: inline-block;
  padding-block: 9px;
  margin-block: -9px;
}

.sample {
  color: var(--muted);
}

/* muted fails on kraft (3.77), so captions there use ink-soft. */
.sample--kraft {
  color: var(--ink-soft);
}

.badge--big img {
  height: 48px;
}

/* Floor strips bleed with -100vw; cut them at the page edge so nothing scrolls sideways. */
.hiw,
.earn,
.gate,
.stats {
  overflow-x: clip;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: var(--header-h);
  background: #EDE3D8; /* Figma hero frame fill, the plate's wall at its top edge */
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: var(--space-5);
  padding-bottom: var(--space-6);
}

/* Below 360 the 36 px floor of --fs-h1 breaks "push-up" at its hyphen. */
@media (max-width: 359px) {
  .hero h1 {
    font-size: 32px;
    line-height: 36px;
  }
}

.hero__lead {
  max-width: 560px;
  margin-top: var(--space-4);
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-5);
}

.hero__micro {
  margin-top: var(--space-4);
  color: var(--ink-soft); /* muted is under 4.5 on the plate wall */
}

.micro__item {
  white-space: nowrap;
}

@media (max-width: 959px) {
  .micro__sep--break {
    display: block;
    height: 0;
    overflow: hidden;
  }
}

.hero__img {
  width: 100%;
  aspect-ratio: 390 / 280;
  object-fit: cover;
}

.hero__tag {
  display: none;
}

/* QR tiles: desktop only, where the visitor is not holding the iPhone. */
.qr {
  display: none;
  align-items: center;
  gap: var(--space-4);
}

.qr__code {
  box-sizing: content-box;
  flex: none;
  width: 72px;
  height: 72px;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: var(--radius-tile);
}

.qr--sheet .qr__code {
  background: var(--sheet);
  border-color: var(--hairline);
}

.qr--paper .qr__code {
  background: var(--paper);
}

.qr__caption {
  max-width: 176px;
  color: var(--ink-soft);
}

.qr--paper .qr__caption {
  color: var(--on-cocoa-soft);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__text > * {
    animation: home-rise var(--dur) var(--ease) both;
  }

  .hero__text > :nth-child(2) {
    animation-delay: 50ms;
  }

  .hero__text > :nth-child(3) {
    animation-delay: 100ms;
  }

  .hero__text > :nth-child(4) {
    animation-delay: 150ms;
  }
}

@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@media (min-width: 960px) {
  .qr {
    display: flex;
  }

  .badge--big img {
    height: 54px;
  }

  /* P1 covers the hero with the header on it. The plate box keeps 7.98 % of itself below
     the hero edge (the Figma 1440 crop) and slides right on narrow screens so the phone
     stays in view; the tag rides on the plate so it stays over the puppet's back. */
  .hero {
    --hero-h: clamp(832px, 57.78vw, 960px);
    min-height: var(--hero-h);
    padding-top: calc(var(--header-h) + 96px);
    overflow: hidden;
  }

  .hero__inner {
    padding-top: 0;
    padding-bottom: var(--space-9);
  }

  .hero__text {
    max-width: 752px;
  }

  .hero__lead {
    margin-top: var(--space-5);
  }

  .hero__cta {
    margin-top: var(--space-6);
  }

  .hero__micro {
    margin-top: var(--space-5);
  }

  .hero__media {
    position: absolute;
    inset: 0;
  }

  .hero__plate {
    --plate-w: max(100%, calc(var(--hero-h) * 1.5807));
    position: absolute;
    /* Pinned right: the phone sits at 93–95% of the plate and must stay on screen down to 960. */
    right: 0;
    bottom: 0;
    width: var(--plate-w);
    aspect-ratio: 2560 / 1760;
    transform: translateY(7.98%);
  }

  .hero__plate picture,
  .hero__img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .hero__tag {
    position: absolute;
    top: 70.2%;
    left: 65.28%;
    display: block;
    padding: 6px var(--space-3);
    border-radius: var(--radius-tag);
    background: var(--sheet);
    box-shadow: var(--shadow-tag);
    white-space: nowrap;
  }
}

/* ---------- How it works ---------- */

.hiw__lead {
  margin-top: var(--space-4);
}

.hiw__steps {
  display: grid;
  gap: var(--space-7);
  margin-top: var(--space-7);
  list-style: none;
}

.hiw__step {
  display: flex;
  flex-direction: column;
}

/* Fixed-size scenes centred in the column; the kraft strip runs under all of them. */
.hiw__visual {
  --u: 1px;
  position: relative;
  height: 220px;
  container-type: inline-size;
}

.hiw__visual::after {
  content: '';
  position: absolute;
  left: -100vw;
  right: -100vw;
  bottom: -8px;
  z-index: 1;
  height: 12px;
  background: var(--kraft);
}

.hiw__phone,
.hiw__squat,
.hiw__alarm {
  position: absolute;
}

.hiw__phone {
  bottom: 0;
  left: calc(50% - 120.5 * var(--u));
  width: calc(24 * var(--u));
  height: auto;
}

.hiw__squat {
  bottom: calc(-5 * var(--u));
  left: calc(50% - 31.5 * var(--u));
  width: calc(152 * var(--u));
}

.hiw__alarm {
  bottom: calc(-5 * var(--u));
  left: calc(50% - 93 * var(--u));
  width: calc(186 * var(--u));
}

.hiw__visual--scroll .replica {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
}

.hiw__text {
  position: relative;
  flex: 1;
  margin-top: 28px;
}

.hiw__text p {
  max-width: 392px;
  margin-top: var(--space-2);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 26px;
}

.hiw__more {
  margin-top: var(--space-7);
}

@media (min-width: 960px) {
  .hiw__intro {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    max-width: none;
  }

  .hiw__title {
    grid-column: 1 / 6;
  }

  .hiw__lead {
    grid-column: 7 / 13;
    margin-top: 0;
  }

  .hiw__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--gutter);
    margin-top: var(--space-9);
  }

  /* The Figma scenes are drawn for a 416 px column; narrower columns scale them. */
  .hiw__visual {
    --u: min(1px, 100cqi / 416);
    height: 280px;
  }

  .hiw__phone {
    left: calc(50% - 152 * var(--u));
    width: calc(30 * var(--u));
  }

  .hiw__squat {
    bottom: calc(-7 * var(--u));
    left: calc(50% - 38 * var(--u));
    width: calc(198 * var(--u));
  }

  .hiw__alarm {
    bottom: calc(-6 * var(--u));
    left: calc(50% - 120 * var(--u));
    width: calc(240 * var(--u));
  }

  .hiw__visual--scroll .replica {
    top: 92px;
  }

  .hiw__text {
    margin-top: var(--space-7);
  }

  .hiw__text p {
    margin-top: var(--space-3);
    line-height: 24px;
  }

  /* Hairlines at the gutter centre, over the scene and over the text, not across the strip. */
  .hiw__step + .hiw__step .hiw__visual::before,
  .hiw__step + .hiw__step .hiw__text::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--gutter) / -2 - 0.5px);
    width: 1px;
    background: var(--hairline);
  }

  .hiw__more {
    margin-top: var(--space-8);
  }
}

/* ---------- Live Activity replica ---------- */
/* Sized in em so one font-size scales the whole island: 10 px = Figma 1440. */

.replica {
  text-align: center;
}

.replica__caption {
  margin-top: 12px;
  color: var(--muted);
}

.island {
  position: relative;
  margin-inline: auto;
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, var(--font-sans);
  text-align: left;
}

.island__digits {
  color: #FF6B57;
  font-family: var(--font-replica);
  font-weight: 700;
  line-height: 1.1765;
  white-space: nowrap;
}

/* Proportional digits as in Figma; only the last one, which home.js changes every second,
   gets a fixed-width slot so "11:5" doesn't shift on each tick. */
.island__unit {
  font-variant-numeric: tabular-nums;
}

.island--compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 40em;
  max-width: 100%;
  height: 7.4em;
  padding: 0 3em 0 2.6em;
  border-radius: 3.7em;
  font-size: min(8px, 100cqi / 40);
}

.island--compact .island__digits {
  font-size: 3.2em;
  line-height: 1.25;
  letter-spacing: -0.01875em;
}

.island__hourglass {
  width: 3.2em;
  height: 3.2em;
}

.island--expanded {
  width: 40em;
  max-width: 100%;
  padding: 2.6em 2.8em 2.4em 2.4em;
  border-radius: 4.6em;
  font-size: min(8.75px, 100cqi / 40);
}

.island__top {
  display: flex;
  align-items: flex-start;
  gap: 1.2em;
}

.island__glyph {
  flex: none;
  width: 4em;
  height: 4em;
}

.island__titles {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.1em;
  min-width: 0;
  padding-top: 0.05em;
}

.island__title {
  font-weight: 600;
  font-size: 1.7em;
  line-height: 1.294;
  letter-spacing: -0.0235em;
}

.island__sub,
.island__caption {
  color: #8E8E93;
  font-weight: 500;
  font-size: 1.2em;
  line-height: 1.333;
}

.island--expanded .island__digits {
  font-size: 3.4em;
  letter-spacing: -0.0176em;
}

.island__bar {
  height: 0.6em;
  margin-top: 4.4em;
  border-radius: 0.3em;
  background: #3A3A3C;
  overflow: hidden;
}

.island__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #FF6B57;
  transform: scaleX(0.9889); /* 11:52 of 12:00; home.js keeps it in step with the digits */
  transform-origin: left;
}

.island__caption {
  display: block;
  margin-top: 1em; /* own 1.2em font, so 12 px at the Figma size */
}

@media (min-width: 960px) {
  .island--compact {
    font-size: min(10px, (100cqi - 16px) / 40);
  }
}

/* ---------- Earn ---------- */

.earn {
  padding-top: var(--section-pad);
}

/* Placement diagram: proportions of Figma 7559:424 (1440) and 7563:362 (390). */
.diagram {
  position: relative;
  max-width: 350px;
  aspect-ratio: 350 / 200;
  margin-top: var(--space-6);
}

.diagram::before {
  content: '';
  position: absolute;
  left: -100vw;
  right: -100vw;
  bottom: 0;
  height: 12%;
  background: var(--kraft);
}

.diagram > * {
  position: absolute;
}

.diagram__phone {
  bottom: 10%;
  left: 0.57%;
  width: auto;
  height: 60%;
}

.diagram__arcs {
  bottom: 34%;
  left: 6.86%;
  width: auto;
  height: 23%;
}

.diagram__tape {
  top: 89%;
  left: 8.57%;
  width: 61.14%;
  height: 5%;
  background:
    repeating-linear-gradient(to right, rgb(33 27 21 / 0.35) 0 1px, transparent 1px 40px) 0 0 / 100% 7px no-repeat,
    repeating-linear-gradient(to right, rgb(33 27 21 / 0.35) 0 1px, transparent 1px 8px) 0 0 / 100% 4px no-repeat,
    #CDB892;
}

.diagram__tag {
  bottom: 12%;
  left: 39.29%;
  padding: 4px 10px;
  border-radius: var(--radius-tag);
  background: var(--sheet);
  box-shadow: var(--shadow-tag);
  white-space: nowrap;
  transform: translateX(-50%);
}

.diagram picture {
  position: absolute;
  inset: auto 0 8% 65.71%;
  width: 34.86%;
}

.diagram__squat {
  width: 100%;
}

.earn__band {
  padding: var(--space-6) 0 var(--section-pad);
  background: var(--kraft);
}

.earn__boards {
  display: grid;
  gap: var(--space-6);
}

.board {
  padding: var(--space-5);
  border-radius: var(--radius-card);
  background: var(--sheet);
}

.board__body {
  margin-top: var(--space-3);
  color: var(--ink-soft);
}

.rates {
  margin-top: var(--space-3);
}

.rate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 56px;
  border-bottom: 1px solid var(--hairline);
}

.rate__label {
  min-width: 0;
}

.rate__value {
  margin: 0;
}

.rate__shown {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.rate__unit {
  color: var(--muted);
  white-space: nowrap;
}

.board__note {
  margin-top: var(--space-3);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 20px;
}

.board__example {
  margin-top: var(--space-3);
  color: var(--ember-ink);
  font-weight: 500;
  font-size: 17px;
  line-height: 26px;
}

/* Figma's 390 phone cell is 545 tall, 2 px more than phone, strip and caption. */
.earn__phone {
  padding-bottom: 2px;
  text-align: center;
}

.earn__phone .device {
  margin-inline: auto;
}

/* Figma: the oat strip spans the whole cell and lies over the phone's lower 4 px; the cell
   clips the strip and the phone's shadow at its sides. */
.stand--oat {
  overflow-x: clip;
}

.earn__phone .device {
  --floor-left: -100vw;
  --floor-right: -100vw;
}

.earn__phone .device__floor {
  z-index: 2;
}

.earn__phone .sample {
  margin-top: var(--space-3);
}

@media (min-width: 960px) {
  .diagram {
    max-width: none;
    aspect-ratio: 1312 / 400;
    margin-top: var(--space-8);
  }

  .diagram__phone {
    bottom: 11%;
    left: 17.99%;
    height: 47.5%;
  }

  .diagram__arcs {
    bottom: 33.5%;
    left: 21.04%;
    height: 17.5%;
  }

  .diagram__tape {
    left: 20.88%;
    width: 46.65%;
    height: 4%;
    background:
      repeating-linear-gradient(to right, rgb(33 27 21 / 0.35) 0 1px, transparent 1px 50px) 0 0 / 100% 9px no-repeat,
      repeating-linear-gradient(to right, rgb(33 27 21 / 0.35) 0 1px, transparent 1px 10px) 0 0 / 100% 5px no-repeat,
      #CDB892;
  }

  .diagram__tag {
    bottom: 12.5%;
    left: 44.25%;
    padding: 6px var(--space-3);
  }

  .diagram picture {
    inset: auto 0 9% 63.19%;
    width: 18.6%;
  }

  .earn__band {
    padding-top: var(--space-9);
  }

  .board {
    padding: var(--space-7);
  }

  .board__body {
    margin-top: var(--space-4);
  }

  .rates {
    margin-top: var(--space-4);
  }

  .rate {
    min-height: 72px;
  }

  .rate__shown {
    flex-direction: row;
    align-items: flex-end;
    gap: 10px;
  }

  .rate__fig {
    min-width: 113px;
  }

  .rate__unit {
    width: 119px;
    padding-bottom: 1px;
    text-align: left;
  }

  .board__note,
  .board__example {
    margin-top: var(--space-4);
  }

  .board__example {
    line-height: 28px;
  }

  .earn__phone .device {
    --device-w: 262.6px;
  }
}

/* No Figma frame between 960 and 1199: the phone sits beside the two cards, so the band
   does not leave a third of its width empty. */
@media (min-width: 960px) and (max-width: 1199px) {
  .earn__boards {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }

  .earn__boards > * {
    max-width: none;
  }

  .board--camera {
    grid-area: 1 / 1 / 2 / 8;
  }

  .board--health {
    grid-area: 2 / 1 / 3 / 8;
  }

  .earn__phone {
    grid-area: 1 / 8 / 3 / 13;
    align-self: center;
  }
}

@media (min-width: 1200px) {
  .earn__boards {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }

  .board--camera {
    grid-column: 1 / 6;
  }

  .earn__phone {
    grid-column: 6 / 9;
    padding-top: var(--space-6);
  }

  .board--health {
    grid-column: 9 / 13;
  }
}

/* ---------- Gate ---------- */

.gate__lead {
  margin-top: var(--space-4);
}

.tl {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-6);
  list-style: none;
}

.tl__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: var(--space-4);
}

.tally {
  --strip-h: 24px;
  position: relative;
  display: flex;
  gap: 6px;
  height: 28px;
  padding: 2px;
}

.tally__s {
  flex: none;
  width: 4px;
  height: var(--strip-h);
  background: var(--ember);
  transform-origin: bottom;
}

/* Figma draws the strike 46 x 24 (40 x 20 on 390); the SVG box adds the round caps. */
.tally__strike {
  position: absolute;
  top: 3.5px;
  left: 0;
  width: 41.7px;
  height: auto;
  overflow: visible;
}

.tl__time {
  color: var(--muted);
}

.tl__text {
  margin-top: 2px;
  font-size: 17px;
  line-height: 26px;
}

.gate__foot {
  margin-top: var(--space-4);
  color: var(--muted);
}

.gate__media {
  margin-top: var(--space-6);
  container-type: inline-size;
}

.replica--expanded .replica__caption {
  margin-top: 10px;
}

.gate__phone {
  margin-top: var(--space-6);
  text-align: center;
}

.gate__phone .device,
.stats__phone .device {
  margin-inline: auto;
  --floor-left: -100vw;
  --floor-right: -100vw;
}

/* Figma's phone-row frame cuts the shadow at the phone's bottom edge, so it never darkens
   the floor strip or the paper below it. */
.gate__phone .phone,
.stats__phone .phone {
  clip-path: inset(-80px -80px 0 -80px);
}

.gate__phone .sample {
  margin-top: var(--space-6);
}

/* Tally motion (home.js arms it): strips grow from the floor, row by row as rows come
   into view, then the midnight strike draws. */
.tl--armed .tally__s {
  transform: scaleY(0);
}

.tl--armed .tally__strike {
  clip-path: inset(0 100% 0 0);
}

.tl--armed .is-in .tally__s {
  transform: none;
  transition: transform 240ms var(--ease);
}

.tl--armed .is-in .tally__s:nth-child(2) {
  transition-delay: 60ms;
}

.tl--armed .is-in .tally__s:nth-child(3) {
  transition-delay: 120ms;
}

.tl--armed .is-in .tally__s:nth-child(4) {
  transition-delay: 180ms;
}

.tl--armed .is-in .tally__strike {
  clip-path: inset(0);
  transition: clip-path 320ms var(--ease) 420ms;
}

@media (min-width: 960px) {
  .gate__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: start;
  }

  .gate__text {
    grid-column: 1 / 7;
    max-width: none;
  }

  .gate__lead {
    margin-top: var(--space-5);
  }

  .tl {
    gap: var(--space-6);
    margin-top: var(--space-8);
  }

  .tl__row {
    grid-template-columns: 64px minmax(0, 504px);
    column-gap: var(--space-5);
  }

  .tally {
    --strip-h: 30px;
    gap: 7px;
    height: 34px;
    padding: 2px 4px;
  }

  .tally__strike {
    top: 4.25px;
    width: 48px;
  }

  .tl__text {
    margin-top: var(--space-1);
    line-height: 28px;
  }

  .gate__foot {
    margin-top: var(--space-5);
  }

  /* Cols 8-12 plus the right margin: the floor strip runs from the column to the page edge. */
  .gate__media {
    grid-column: 8 / 13;
    margin-top: 0;
  }

  .replica--expanded .island {
    font-size: min(10px, 100cqi / 40);
  }

  .replica--expanded .replica__caption {
    margin-top: 12px;
  }

  .gate__phone {
    margin-top: var(--space-7);
  }

  .gate__phone .stand {
    background: linear-gradient(var(--kraft), var(--kraft)) bottom / 100% 12px no-repeat;
  }

  .gate__phone .device {
    --floor-left: 0px;
  }

  .gate__phone .sample {
    margin-top: var(--space-7);
  }
}

/* ---------- Stats ---------- */

.stats {
  border-top: 1px solid var(--hairline);
}

.stats__body {
  margin-top: var(--space-4);
}

.stats__text .sample {
  margin-top: var(--space-4);
}

.stats__phone {
  margin-top: var(--space-7);
}

@media (min-width: 960px) {
  .stats__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: center;
  }

  .stats__text {
    grid-column: 7 / 12;
    grid-row: 1;
    max-width: none;
  }

  .stats__body,
  .stats__text .sample {
    margin-top: var(--space-5);
  }

  .stats__phone {
    grid-column: 2 / 6;
    grid-row: 1;
    margin-top: 0;
    background: linear-gradient(var(--kraft), var(--kraft)) bottom / 100% 12px no-repeat;
  }

  .stats__phone .device {
    --floor-right: 0px;
  }
}

/* ---------- Privacy and pricing: title left, body right ---------- */

.privacy {
  background: var(--kraft);
}

.split__body {
  margin-top: var(--space-5);
}

.list {
  list-style: none;
  border-top: 1px solid var(--hairline);
}

.list li {
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--hairline);
}

.list strong {
  font-weight: 500;
}

.more {
  margin-top: var(--space-5);
}

.pricing__items {
  margin-top: var(--space-6);
}

.pricing .split__body {
  margin-top: var(--space-6);
}

.plan {
  padding: var(--space-5);
  border-radius: var(--radius-card);
  background: var(--sheet);
}

.plan__name {
  color: var(--muted);
}

.plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: var(--space-3);
  margin-top: var(--space-2);
}

.plan__tight {
  letter-spacing: -0.18em;
}

.plan__per {
  color: var(--ink-soft);
  font-size: var(--fs-lead);
  line-height: 26px;
}

.plan__example {
  margin-top: 20px;
}

.accent {
  color: var(--ember-ink);
}

.plan__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) 20px;
  margin-top: var(--space-5);
}

.plan__terms {
  padding-block: 12px; /* 44 px around the 20 px line */
  margin-block: -12px;
  font-size: var(--fs-ui);
  line-height: var(--lh-ui);
}

.plan__legal {
  margin-top: 20px;
  color: var(--ink-soft);
}

@media (min-width: 960px) {
  .split {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: start;
  }

  .split__title {
    grid-column: 1 / 6;
  }

  .split__body,
  .pricing .split__body {
    grid-column: 7 / 13;
    margin-top: 0;
  }

  .more {
    margin-top: var(--space-5);
  }

  .pricing__items {
    margin-top: var(--space-6);
  }

  .plan {
    padding: clamp(32px, 3.33vw, 48px);
  }

  .plan__price {
    column-gap: var(--space-4);
    margin-top: var(--space-3);
  }

  .plan__per {
    line-height: 28px;
  }

  .plan__example {
    margin-top: var(--space-5);
  }

  .plan__cta {
    gap: var(--space-3) var(--space-5);
    margin-top: var(--space-6);
  }

  .plan__legal {
    margin-top: var(--space-5);
  }
}

/* ---------- FAQ ---------- */

.faq__head .more {
  margin-top: var(--space-3);
}

.faq__list {
  margin-top: var(--space-5);
  border-top: 1px solid var(--hairline);
}

.faq__item {
  border-bottom: 1px solid var(--hairline);
}

.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-4);
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__toggle {
  position: relative;
  flex: none;
  width: 24px;
  height: var(--lh-faq);
}

.faq__toggle::before,
.faq__toggle::after {
  content: '';
  position: absolute;
  top: calc(50% - 1px);
  left: 4px;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

/* The vertical strip turns down onto the horizontal one: plus becomes minus. */
.faq__toggle::after {
  transform: rotate(90deg);
  transition: transform var(--dur-fast) var(--ease);
}

.faq__item[open] .faq__toggle::after {
  transform: rotate(0deg);
}

/* The 12 px gap to the answer sits inside the summary, so its focus ring clears the answer. */
.faq__item[open] .faq__q {
  padding-bottom: 12px;
}

.faq__a {
  max-width: 720px;
  padding-bottom: 20px;
  color: var(--ink-soft);
}

@media (min-width: 960px) {
  .faq__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: start;
  }

  .faq__head {
    position: sticky;
    top: 120px;
    grid-column: 1 / 5;
  }

  .faq__head .more {
    margin-top: var(--space-4);
  }

  .faq__list {
    grid-column: 5 / 13;
    max-width: none;
    margin-top: 0;
  }

  .faq__q {
    padding-block: 22px;
  }

  .faq__a {
    padding-bottom: 28px;
  }
}

/* ---------- Download (closing band) ---------- */

.download {
  position: relative;
  background: var(--plate-night-wall);
}

.download__inner {
  position: relative;
  z-index: 1;
  padding-top: var(--section-pad);
}

.download__body {
  margin-top: var(--space-4);
  color: var(--on-cocoa-soft);
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
}

.download__cta {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-5);
}

.download__micro {
  margin-top: var(--space-4);
  color: var(--on-cocoa-soft);
}

.download__media {
  position: relative;
  margin-top: var(--space-2);
}

/* 48 px of the wall colour fades into the plate (Figma 7565:444). */
.download__media::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 48px;
  background: linear-gradient(var(--plate-night-wall), rgb(34 24 23 / 0));
}

.download__img {
  width: 100%;
}

@media (min-width: 960px) {
  /* P4 at the Figma 1440 crop (20 % to 92.7 % of the plate height) on every width. */
  .download {
    --band-h: clamp(480px, 50vw, 900px);
    display: flex;
    align-items: center;
    min-height: var(--band-h);
    overflow: hidden;
  }

  .download__inner {
    padding-block: var(--space-9) calc(var(--space-9) + 40px); /* optically centred, 20 px high */
  }

  .download__text {
    max-width: 640px;
  }

  .download__body {
    margin-top: var(--space-5);
  }

  .download__cta {
    margin-top: var(--space-6);
  }

  .download__micro {
    margin-top: var(--space-5);
  }

  .download__media {
    position: absolute;
    inset: 0;
    margin: 0;
  }

  .download__media::before {
    content: none;
  }

  .download__media picture {
    --plate-w: max(100%, calc(var(--band-h) * 1.5686));
    position: absolute;
    bottom: 0;
    left: calc((100% - var(--plate-w)) * 0.75);
    width: var(--plate-w);
    aspect-ratio: 2560 / 1760;
    transform: translateY(7.27%);
  }

  .download__img {
    height: 100%;
  }
}
