/* =========================================================================
   Zenna Rides — landing page
   Design reference: 1280px desktop frame / 390px mobile frame
   ========================================================================= */

/* ------------------------------- tokens -------------------------------- */
:root {
  --blue:        #064DCC;
  --blue-hover:  #043FA9;
  --blue-soft:   #EEF3FD;

  --ink-900:     #1F1F1F;   /* display headings          */
  --ink-800:     #343434;   /* card + step titles        */
  --ink-700:     #464646;   /* stat labels               */
  --ink-600:     #66676A;   /* body copy                 */
  --ink-500:     #808080;   /* meta / step descriptions  */

  --surface:     #FFFFFF;
  --tint:        #F8FAFD;   /* alternating section bg    */
  --hero-tint:   #F2F6FC;   /* bottom of the hero wash   */
  --line:        #E9ECF2;   /* hairline borders          */

  --footer-bg:   #00050E;
  --footer-fg:   #CDCECF;

  --container:   1152px;    /* 1280 frame − 2 × 64 gutter */
  --gutter:      64px;
  --inset:       16px;      /* header card + hero copy inset */
  --radius:      16px;
  --radius-lg:   24px;

  --shadow-card: 0 4px 24px rgba(16, 33, 68, .06);
  --shadow-soft: 0 18px 48px rgba(16, 33, 68, .10);
  --ease:        cubic-bezier(.22, .61, .36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: Poppins, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.625;
  color: var(--ink-600);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 18px; border-radius: 10px;
  background: var(--blue); color: #fff; font-weight: 500;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ------------------------------ layout --------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------------------------- typography ------------------------------- */
.eyebrow {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--blue);
}

.h1 {
  font-size: 66px;
  font-weight: 600;
  line-height: 1.162;
  letter-spacing: -.05em;
  color: var(--ink-900);
}

/* display heading — large (about / how it works / download CTA) */
.h2 {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.05em;
  color: var(--ink-900);
}

/* display heading — medium (mission / driver / rider) */
.h2--md { font-size: 40px; line-height: 1.235; }

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

.section-lead {
  max-width: 640px;
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -.015em;
  color: var(--ink-600);
}

/* ------------------------------ buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding-inline: 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); }
.btn--primary:active { transform: translateY(1px); }

.btn--ghost { padding-inline: 4px; color: var(--ink-900); font-weight: 500; }
.btn--ghost:hover { color: var(--blue); }

.actions { display: flex; align-items: center; gap: 22px; }

/* ------------------------------- header -------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 32px;
  background: transparent;
  pointer-events: none;
}
.site-header .container { pointer-events: none; }
.nav-card { pointer-events: auto; }

.nav-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  margin-inline: var(--inset);
  padding-inline: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}

.nav-card__brand img { width: 80px; height: auto; }
.nav-card__actions { display: flex; align-items: center; gap: 20px; }

/* language switcher */
.lang { position: relative; }

.lang__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding-inline: 14px;
  border-radius: 999px;
  background: #F3F4F6;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-900);
  transition: background-color .2s var(--ease);
}
.lang__btn:hover { background: #E9EAEE; }
.lang__flag { display: flex; }
.lang__caret { transition: transform .2s var(--ease); }
.lang__btn[aria-expanded="true"] .lang__caret { transform: rotate(180deg); }

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.lang__menu button {
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  text-align: left;
  font-size: 15px;
  color: var(--ink-800);
}
.lang__menu button:hover { background: #F3F4F6; }
.lang__menu button[aria-selected="true"] { color: var(--blue); font-weight: 500; }

/* -------------------------------- hero --------------------------------- */
.hero {
  padding-top: 63px;
  background: linear-gradient(180deg, #fff 0%, #FAFCFE 38%, var(--hero-tint) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  column-gap: 40px;
}

.hero__copy {
  max-width: 440px;
  padding-top: 98px;
  padding-left: var(--inset);
}
.hero__copy .eyebrow { margin-bottom: 13px; }
.hero__lead {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.53;
  letter-spacing: -.01em;
  color: var(--ink-600);
}
.hero__copy .btn { margin-top: 53px; }

.hero__media { padding-right: 48px; }
.hero__media img { width: 522px; }

/* -------------------------------- stats -------------------------------- */
.stats { padding: 56px 0 106px; background: #fff; }

.stats__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 72px;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat__icon { width: 48px; height: 48px; }
.stat__value { font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; color: var(--ink-800); }
.stat__label { margin-top: 4px; font-size: 16px; line-height: 1.4; letter-spacing: -.01em; color: var(--ink-700); }

/* -------------------------------- about -------------------------------- */
.about {
  position: relative;
  isolation: isolate;
  min-height: 784px;
  display: flex;
  align-items: flex-start;
  padding-top: 56px;
  overflow: hidden;
}

.about__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/building-the-future-bg.png") 50% 57% / cover no-repeat;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 62%;
  z-index: -1;
  background: linear-gradient(180deg, var(--tint) 0%, rgba(248, 250, 253, .82) 34%, rgba(248, 250, 253, 0) 100%);
}

.about__inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-self: stretch;
}
.about__copy { padding-bottom: 40px; }
.about__lead {
  max-width: 520px;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -.01em;
  color: var(--ink-600);
}

/* glass feature strip */
.glass {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: auto;
  margin-bottom: 68px;
  padding: 27px 24px 20px;
  border-radius: var(--radius);
  background: rgba(18, 18, 20, .52);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #fff;
}
.glass__icon { width: 28px; height: 28px; margin-bottom: 20px; color: #fff; }
.glass__title { font-size: 19px; font-weight: 500; line-height: 1.4; letter-spacing: -.02em; color: #fff; }
.glass__text { font-size: 15px; line-height: 1.5; letter-spacing: -.01em; color: rgba(255, 255, 255, .72); }

/* ------------------------------- mission ------------------------------- */
.mission { padding: 120px 0 123px; background: #fff; }

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 46px;
}
.value-card {
  padding: 30px 32px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.value-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.value-card img { width: 48px; height: 48px; }
.value-card h3 {
  margin-top: 39px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.02em;
  color: var(--ink-800);
}
.value-card p {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--ink-600);
}

/* --------------------------- driver / rider ---------------------------- */
.split-sections { padding-block: 120px; background: var(--tint); }
.split + .split { margin-top: 120px; }

.split__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 0;
}
.split__media img {
  width: 100%;
  aspect-ratio: 576 / 546;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.split__copy { padding-left: 40px; }

.checklist { margin-top: 30px; display: grid; gap: 14px; }
.checklist li {
  position: relative;
  padding-left: 34px;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -.015em;
  color: var(--ink-500);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064DCC' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8.4 12.2 2.5 2.5 4.7-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.split__copy .actions { margin-top: 44px; }

/* ----------------------------- how it works ---------------------------- */
.how { padding: 120px 0 0; background: #fff; }

.how__grid {
  display: grid;
  grid-template-columns: 371px 371px minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
}
.how__intro { padding-top: 0; }

.toggle {
  display: inline-flex;
  margin-top: 23px;
  padding: 4px;
  border-radius: 999px;
  background: #F1F2F4;
}
.toggle__btn {
  height: 40px;
  padding-inline: 15px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.toggle__btn.is-active { background: #000; color: #fff; }

.how__phone img { width: 371px; border-radius: var(--radius); }

.how__steps { align-self: end; }

.steps li {
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
}
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink-500);
  transition: color .2s var(--ease);
}
.steps li.is-active .steps__label { color: var(--blue); }
.steps__title {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -.02em;
  color: var(--ink-800);
}
.steps__text {
  overflow: hidden;
  max-height: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-500);
  opacity: 0;
  transition: max-height .32s var(--ease), opacity .22s var(--ease), margin-top .32s var(--ease);
}
.steps li.is-active .steps__text { max-height: 72px; margin-top: 3px; opacity: 1; }

.steps__nav { display: none; }

/* --------------------------------- CTA --------------------------------- */
.cta { padding: 184px 0 64px; background: #fff; }

.cta__card {
  position: relative;
  min-height: 415px;
  padding: 46px 50px 50px;
  border-radius: var(--radius-lg);
  background: #000;
  overflow: hidden;
}
.cta__copy { position: relative; z-index: 1; max-width: 560px; }
.cta__title { color: #fff; }
.cta__lead {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -.015em;
  color: rgba(255, 255, 255, .82);
}
.cta__badges { display: flex; gap: 13px; margin-top: 126px; }
.cta__badges img { width: 120px; height: 40px; }

.cta__media { position: absolute; top: 49px; right: 0; }
.cta__media img { width: 496px; max-width: none; }

/* ------------------------------- 404 page ------------------------------ */
.error-page {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #FAFCFE 42%, var(--hero-tint) 100%);
}
.error-page .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  min-height: calc(100vh - 220px);
  padding-block: 96px 120px;
}
.error-page__inner { max-width: 520px; padding-left: var(--inset); }
.error-page__title { margin-top: 4px; }
.error-page__lead {
  max-width: 460px;
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.53;
  letter-spacing: -.01em;
  color: var(--ink-600);
}
.error-page__actions { margin-top: 36px; }

.error-page__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.error-page__links a {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--ink-600);
  transition: color .18s var(--ease);
}
.error-page__links a:hover { color: var(--blue); }

.error-page__media { justify-self: end; padding-right: 24px; }
.error-page__media img { width: 420px; }

/* -------------------------------- footer ------------------------------- */
.site-footer {
  padding: 80px 0 33px;
  background: var(--footer-bg);
  color: var(--footer-fg);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
}

.site-footer__brand img { width: 133px; }
.site-footer__about {
  max-width: 350px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--footer-fg);
}
.site-footer__contact { margin-top: 20px; display: grid; gap: 20px; }
.site-footer__contact li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  line-height: 1.3;
}
.site-footer__contact svg { flex: none; color: #fff; }
.site-footer__contact a:hover { color: #fff; }

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 34px;
  align-content: start;
}
.site-footer__col h2 {
  margin-bottom: 22px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: #FAFAFA;
}
.site-footer__col ul { display: grid; gap: 17px; font-size: 13px; line-height: 1.35; }
.site-footer__col a {
  font-size: 13px;
  line-height: 1.35;
  color: var(--footer-fg);
  transition: color .18s var(--ease);
}
.site-footer__col a:hover { color: #fff; }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
  line-height: 1.4;
}
.site-footer__bottom ul { display: flex; gap: 34px; }
.site-footer__bottom a:hover { color: #fff; }

/* =======================================================================
   Responsive
   ======================================================================= */

/* ---- ≤ 1200px : keep the 1280 layout proportional ---- */
@media (max-width: 1199px) {
  :root { --gutter: 40px; }
  .h1 { font-size: 56px; }
  .h2 { font-size: 42px; }
  .hero__media img { width: 44vw; }
  .how__grid { grid-template-columns: 300px 320px minmax(0, 1fr); column-gap: 28px; }
  .how__phone img { width: 320px; }
  .cta__media img { width: 300px; }
  .site-footer__nav { gap: 26px; }
}

/* ---- ≤ 991px : tablet — two columns collapse ---- */
@media (max-width: 991px) {
  .hero__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .hero__copy { padding-top: 24px; padding-bottom: 0; max-width: 560px; }
  .hero__media { padding-right: 0; }
  .hero__media img { width: min(480px, 100%); margin-inline: auto; }

  .stats__list { grid-template-columns: 1fr; gap: 26px; }
  .stat { justify-content: flex-start; }
  .stat + .stat { border-left: 0; }

  .glass { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }

  .value-cards { grid-template-columns: 1fr; }

  .split__grid { grid-template-columns: 1fr; row-gap: 36px; }
  .split--reverse .split__media { order: -1; }

  .how__grid { grid-template-columns: 1fr; row-gap: 34px; justify-items: start; }
  .how__phone img { width: min(371px, 100%); }
  .how__steps { padding-top: 0; width: 100%; }

  .cta__card { grid-template-columns: 1fr; padding: 56px 32px 0; text-align: center; }
  .cta__copy { padding-bottom: 44px; }
  .cta__badges { justify-content: center; }
  .cta__media { padding-right: 0; justify-self: center; }

  .site-footer__top { grid-template-columns: 1fr; gap: 48px; }
  .site-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 24px; }

  .error-page .container {
    grid-template-columns: 1fr;
    row-gap: 48px;
    min-height: 0;
    padding-block: 64px 88px;
  }
  .error-page__media { justify-self: center; padding-right: 0; }
  .error-page__media img { width: min(360px, 80%); }
}

/* ---- ≤ 767px : mobile (390px design frame) ---- */
@media (max-width: 767px) {
  :root { --gutter: 16px; --inset: 0px; }

  body { font-size: 14px; }

  .h1 { font-size: 40px; line-height: 1.225; }
  .h2, .h2--md { font-size: 32px; line-height: 1.22; }
  .eyebrow { margin-bottom: 10px; }
  .section-lead { font-size: 14px; line-height: 1.5; margin-top: 11px; }

  /* header */
  .site-header { padding-top: 8px; }
  .nav-card { height: 64px; padding-inline: 16px; }
  .lang { display: none; }

  /* hero */
  .hero { padding-top: 48px; }
  .hero__grid { row-gap: 20px; }
  .hero__copy { max-width: none; padding-top: 0; padding-left: 0; }
  .hero__copy .eyebrow { margin-bottom: 8px; }
  .hero__lead { margin-top: 8px; font-size: 14px; line-height: 1.5; }
  .hero__copy .btn { margin-top: 24px; }
  .hero__media { padding-right: 0; }
  .hero__media img { width: 322px; margin-inline: auto; }

  /* stats */
  .stats { padding: 68px 0 70px; }
  .stats__list { grid-template-columns: 1fr; gap: 37px; }
  .stat { justify-content: flex-start; min-height: 48px; gap: 18px; }
  .stat + .stat { border-left: 0; }
  .stat__value { font-size: 22px; line-height: 1.2; }
  .stat__label { margin-top: 2px; font-size: 14px; line-height: 1.3; }

  /* about */
  .about { min-height: 0; padding-top: 60px; }
  .about__bg { background-position: 62% 68%; }
  .about::before { height: 52%; }
  .about__copy { padding-bottom: 305px; }
  .about__lead { margin-top: 12px; font-size: 14px; line-height: 1.5; }

  .glass {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 0;
    margin-bottom: 18px;
    padding: 24px 22px 26px;
  }
  .glass__item { display: grid; grid-template-columns: 26px 1fr; column-gap: 18px; }
  .glass__icon { grid-row: 1 / span 2; width: 26px; height: 26px; margin-top: 3px; margin-bottom: 0; }
  .glass__title { font-size: 16px; line-height: 1.25; }
  .glass__text { font-size: 14px; line-height: 1.3; }

  /* mission */
  .mission { padding: 48px 0 70px; }
  .value-cards { margin-top: 46px; gap: 20px; }
  .value-card { padding: 16px 20px 18px; }
  .value-card img { width: 40px; height: 40px; }
  .value-card h3 { margin-top: 16px; font-size: 17px; }
  .value-card p { margin-top: 2px; font-size: 14px; }

  /* driver / rider */
  .split-sections { padding-block: 48px; }
  .split + .split { margin-top: 50px; }
  .split__grid { grid-template-columns: 1fr; row-gap: 24px; }
  .split__media { order: -1; }
  .split__media img { aspect-ratio: 3 / 2; border-radius: var(--radius); }
  .split__copy { padding-left: 0; }
  .checklist { margin-top: 25px; gap: 7px; }
  .checklist li { font-size: 15px; line-height: 1.4; padding-left: 30px; }
  .checklist li::before { width: 18px; height: 18px; top: 2px; }
  .split__copy .actions { margin-top: 26px; gap: 20px; }

  /* how it works */
  .how { padding: 74px 0 0; }
  .how__grid {
    grid-template-columns: 1fr;
    row-gap: 0;
    justify-items: stretch;
    text-align: center;
  }
  .how__intro { text-align: center; }
  .toggle { margin-top: 22px; justify-self: center; }
  .how__phone {
    height: 419px;
    margin-top: 22px;
    border-radius: var(--radius);
    overflow: hidden;
  }
  .how__phone img { width: 100%; max-width: 358px; margin-inline: auto; }
  .how__steps { align-self: auto; margin-top: 24px; text-align: left; }

  .steps li { display: none; padding: 0; border: 0; }
  .steps li.is-active { display: block; }
  .steps__label { font-size: 14px; }
  .steps__title { margin-top: 8px; font-size: 22px; font-weight: 600; line-height: 1.3; }
  .steps__text { max-height: none; opacity: 1; margin-top: 8px; font-size: 15px; line-height: 1.5; }

  .steps__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
  }
  .steps__dots { display: flex; align-items: center; gap: 6px; }
  .steps__dots button {
    width: 6px; height: 6px; padding: 0;
    border-radius: 999px; background: #D3D5D9;
    transition: width .25s var(--ease), background-color .25s var(--ease);
  }
  .steps__dots button[aria-current="true"] { width: 26px; background: #111; }
  .steps__arrows { display: flex; gap: 12px; }
  .steps__arrow {
    display: grid; place-items: center;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: #EDEEF0;
    color: #9A9CA1;
    transition: background-color .2s var(--ease), color .2s var(--ease);
  }
  .steps__arrow--next { background: #000; color: #fff; }
  .steps__arrow:disabled { opacity: .55; cursor: default; }

  /* download CTA */
  .cta { padding: 45px 0 0; }
  .cta__card {
    min-height: 0;
    padding: 46px 20px 0;
    border-radius: 20px;
    text-align: center;
  }
  .cta__copy { max-width: none; }
  .cta__lead { margin-top: 14px; font-size: 15px; }
  .cta__badges { justify-content: center; gap: 12px; margin-top: 34px; }
  .cta__badges img { width: 128px; height: 43px; }
  .cta__media {
    position: static;
    width: 318px;
    height: 246px;
    margin: 30px auto 0;
    overflow: hidden;
  }
  .cta__media img { width: 318px; }

  /* footer */
  .site-footer { margin-top: 60px; padding: 63px 0 41px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 30px; }
  .site-footer__brand img { width: 120px; }
  .site-footer__about { max-width: none; margin-top: 28px; font-size: 14px; line-height: 1.55; }
  .site-footer__contact { margin-top: 15px; gap: 24px; }

  .site-footer__nav { grid-template-columns: repeat(2, 1fr); gap: 38px 24px; }
  .site-footer__col h2 { margin-bottom: 24px; font-size: 16px; }
  .site-footer__col ul { gap: 15px; font-size: 14px; }
  .site-footer__col a { font-size: 14px; }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-top: 24px;
    padding-top: 15px;
    font-size: 14px;
  }
  .site-footer__bottom ul { gap: 30px; flex-wrap: wrap; }

  .error-page .container { padding-block: 40px 64px; row-gap: 36px; }
  .error-page__inner { padding-left: 0; }
  .error-page__lead { margin-top: 14px; font-size: 15px; }
  .error-page__actions { margin-top: 28px; }
  .error-page__links { margin-top: 40px; padding-top: 22px; gap: 10px 22px; }
  .error-page__links a { font-size: 14px; }
  .error-page__media img { width: min(300px, 78%); }
}

@media (max-width: 400px) {
  .h1 { font-size: 36px; }
  .h2 { font-size: 29px; }
  .site-footer__bottom ul { gap: 18px; }
}

/* ------------------------- scroll reveal ------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity .6s var(--ease), transform .6s var(--ease);
  }
}
