/* ---------- Tokens (from Figma variables) ---------- */
:root {
  --grey-50: #f7f7f5;
  --grey-100: #e9eae5;
  --grey-200: #d0d4ca;
  --grey-300: #b2b4a8;
  --grey-400: #8d8f83;
  --grey-500: #6b6f64;
  --grey-900: #1e1f1b;
  --primary-50: #f3f6f0;
  --primary-500: #7E9655;
  --primary-600: #667c42;
  --surface-bg: #f9f9f7;
  --surface-card: #f1f2ed;
  --surface-white: #ffffff;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  --maxw: 1318px;
  --pad-x: clamp(20px, 5vw, 90px);

  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 18px;
  --fs-lg: 20px;
  --fs-xl: 24px;
  --fs-2xl: 32px;
  --fs-3xl: clamp(28px, 3.2vw, 44px);
  --fs-4xl: clamp(56px, 7.5vw, 108px);

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

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Urbanist", system-ui, -apple-system, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--grey-900);
  background: var(--surface-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.italic-serif {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: var(--primary-500);
  letter-spacing: inherit;
}
.hero__title .italic-serif,
.section-title .italic-serif,
.how__copy h2 .italic-serif,
.download__copy h2 .italic-serif {
  display: block;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-400);
}
.eyebrow--pill {
  padding: 6px 14px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  color: var(--grey-400);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
}
.eyebrow--sm {
  font-size: 11px;
  letter-spacing: 0.15em;
}

.section-title {
  font-size: 60px;
  font-weight: 300;
  color: var(--grey-900);
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 14ch;
  margin: 0 auto;
}
.section-head {
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head .eyebrow {
  margin-bottom: 18px;
}
.center {
  text-align: center;
}
.section-lede {
  max-width: 58ch;
  margin: 24px auto 0;
  color: var(--grey-500);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-family: "Urbanist", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
  border: 1px solid transparent;
}
.btn--sm {
  height: 40px;
  padding: 0 22px;
  font-size: 14px;
}
.btn--primary {
  background: linear-gradient(180deg, #8E9A7A 0%, #6C7857 100%);
  color: var(--surface-white);
  border-color: transparent;
}
.btn--primary:hover {
  background: linear-gradient(180deg, #7E9655 0%, #5a6548 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -18px rgba(90, 101, 72, 0.6);
}
.btn--ghost {
  background: transparent;
  color: var(--grey-500);
  border-color: #D0D4CA;
}
.btn--ghost:hover {
  background: var(--surface-white);
  border-color: var(--grey-300);
  transform: translateY(-2px);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--grey-900);
  text-transform: lowercase;
  letter-spacing: 0.02em;
  transition: gap 0.3s var(--ease), color 0.2s ease;
}
.link-arrow .material-symbols-outlined {
  font-size: 16px;
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover {
  color: var(--primary-600);
  gap: 14px;
}
.link-arrow:hover .material-symbols-outlined {
  transform: translateX(2px);
}
.link-arrow.is-disabled {
  color: var(--grey-400);
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.55;
}
.link-arrow.is-disabled:hover {
  color: var(--grey-400);
  gap: 8px;
}
.link-arrow.is-disabled:hover .material-symbols-outlined {
  transform: none;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 56px);
  background: rgba(249, 249, 247, 0.85);
  backdrop-filter: blur(16px) saturate(1.2);
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  z-index: 50;
  transform: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(249, 249, 247, 0.95);
  border-bottom-color: var(--grey-100);
  box-shadow: none;
}
.nav > .logo { grid-row: 1; grid-column: 2; justify-self: center; }
.nav > .nav__links { grid-row: 1; grid-column: 1; justify-self: start; margin-left: 14px; }
.nav > .btn--primary { grid-row: 1; grid-column: 3; justify-self: end; }
.nav > .nav__burger { grid-row: 1; grid-column: 3; justify-self: end; }
.nav.is-scrolled {
  box-shadow: 0 20px 40px -28px rgba(30, 31, 27, 0.35);
  background: rgba(255, 255, 255, 0.9);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo__img {
  height: 40px;
  width: auto;
  display: block;
}
.logo--light .logo__img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.nav__links {
  display: flex;
  gap: 32px;
  font-size: 16px;
  font-weight: 400;
  color: var(--grey-500);
}
.nav__links a {
  position: relative;
  transition: color 0.2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--grey-900);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover {
  color: var(--grey-900);
}
.nav__links a:hover::after {
  transform: scaleX(1);
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
}
.nav__burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--grey-900);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0 var(--pad-x);
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, var(--primary-50) 0%, transparent 65%),
    var(--surface-bg);
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.hero__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(24px, 3.6vh, 48px);
  padding: clamp(80px, 10vh, 140px) 0;
}
.hero__cta { margin-top: clamp(8px, 1.5vh, 20px); }
.hero__lede { margin-top: clamp(0px, 0.5vh, 8px); }
.hero__title {
  font-size: var(--fs-4xl);
  max-width: 18ch;
  line-height: 1;
  font-weight: 100;
  letter-spacing: -0.03em;
  color: var(--grey-900);
}
.hero__lede {
  max-width: 54ch;
  color: var(--grey-500);
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 6px;
}
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4em;
}
.hero__scroll-label {
  display: block;
  background: linear-gradient(90deg, var(--grey-300) 0%, var(--grey-300) 35%, var(--primary-500) 50%, var(--grey-300) 65%, var(--grey-300) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: scrollWave 2.4s linear infinite;
}
@keyframes scrollWave {
  0%   { background-position: 220% 0; }
  100% { background-position: -120% 0; }
}
.hero__scroll-line {
  width: 2px;
  height: 80px;
  background: linear-gradient(180deg, var(--primary-500) 0%, var(--primary-500) 30%, transparent 100%);
  border-radius: 2px;
  animation: scrollLine 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.01% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* decorative orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  z-index: -1;
  opacity: 0.45;
}
.orb--hero {
  width: 900px;
  height: 900px;
  left: 50%;
  top: -340px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--primary-50) 0%, transparent 60%);
  opacity: 0.8;
}
.orb--journey {
  width: 800px;
  height: 800px;
  right: -200px;
  top: 40%;
  background: radial-gradient(circle, var(--primary-50) 0%, transparent 60%);
}
.orb--download {
  width: 1000px;
  height: 1000px;
  left: -200px;
  top: -40%;
  background: radial-gradient(circle, rgba(108, 120, 87, 0.35) 0%, transparent 60%);
}

/* ---------- Features ---------- */
.features {
  padding: clamp(80px, 10vw, 140px) 0;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.feature {
  padding: 48px 40px 44px;
  border-right: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  background: transparent;
  transition: background 0.4s ease, transform 0.4s var(--ease);
}
.feature:nth-child(3n) { border-right: none; }
.feature:nth-last-child(-n+3) { border-bottom: none; }
.feature--accent {
  background: var(--surface-card);
}
.feature:hover {
  background: var(--primary-50);
  transform: translateY(-4px);
}
.feature__icon {
  font-size: 60px !important;
  color: var(--primary-500);
  font-weight: 200;
  margin-bottom: 28px;
  display: block;
  width: 60px;
  height: 60px;
  line-height: 60px;
}
.feature h3 {
  font-size: 32px;
  margin-bottom: 14px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--grey-900);
  line-height: 1.1;
}
.feature p {
  color: var(--grey-500);
  font-size: 18px;
  font-weight: 400;
  margin: 0;
  line-height: 1.55;
}

/* ---------- Journey ---------- */
.journey {
  position: relative;
  min-height: 100vh;
  padding: clamp(80px, 10vh, 140px) 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.journey > .container { width: 100%; }
.chapters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.chapter {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--surface-white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s ease;
}
.chapter:hover {
  transform: translateY(-6px);
  border-color: var(--primary-500);
  box-shadow: 0 30px 60px -40px rgba(92, 101, 72, 0.4);
}
.chapter__index {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--grey-400);
}
.chapter h3 {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--grey-900);
  line-height: 1.1;
}
.chapter p {
  color: var(--grey-500);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.chapter .link-arrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.chapter .link-arrow:hover {
  color: var(--primary-600);
}
/* ---------- Coda (standalone section — full viewport) ---------- */
.coda {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 10vh, 140px) 0;
  background: var(--grey-900);
  color: var(--surface-white);
}
.coda__text {
  max-width: 22ch;
  margin: 0 auto;
  text-align: center;
  font-size: 60px;
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--surface-white);
}
.coda__muted {
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- Walkthrough (sticky scroll, 7 screens) ---------- */
.walk {
  position: relative;
  height: 700vh;
  background: var(--surface-bg);
}
.walk__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    "left center right"
    "tabs tabs tabs";
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 0 clamp(24px, 3vw, 60px);
  padding: 80px clamp(24px, 5vw, 80px) 40px;
}
.walk__left { grid-area: left; display: flex; align-items: center; justify-content: flex-end; }
.walk__center { grid-area: center; display: flex; align-items: center; justify-content: center; }
.walk__right { grid-area: right; display: flex; align-items: center; justify-content: flex-start; }

.walk__texts, .walk__cards {
  position: relative;
  width: 100%;
  max-width: 420px;
  min-height: 340px;
}
.walk__txt, .walk__card {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.walk__txt {
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.walk__txt.is-on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.walk__txt.is-up {
  opacity: 0;
  transform: translateY(-24px);
}
.walk__card {
  transform: translateX(24px);
  transition: opacity 0.7s 0.05s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s 0.05s cubic-bezier(0.25, 1, 0.5, 1);
}
.walk__card.is-on {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.walk__card.is-off {
  opacity: 0;
  transform: translateX(-16px);
  transition-duration: 0.45s;
}

.walk__step {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--grey-400);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.walk__line { display: none; }
.walk__h {
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--grey-900);
  margin: 0 0 22px;
}
.walk__p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--grey-500);
  margin: 0 0 28px;
  max-width: 42ch;
}
.walk__lnk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-500);
  transition: gap 0.25s var(--ease);
}
.walk__lnk:hover { gap: 12px; color: var(--primary-600); }
.walk__lnk.is-disabled {
  color: var(--grey-400);
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.55;
}
.walk__lnk.is-disabled:hover { gap: 8px; color: var(--grey-400); }

/* Phone — bare 500x750 portrait container; PNG fits inside via object-fit: contain */
.walk__phone {
  position: relative;
  width: clamp(380px, 36vw, 500px);
  aspect-ratio: 500 / 750;
}
.walk__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.98) translateY(6px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}
.walk__img.is-on {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.walk__img.is-out {
  opacity: 0;
  transform: scale(1.02) translateY(-4px);
  transition-duration: 0.5s;
}

/* Right cards — all share the same fixed dimensions (max size) */
.walk__cards { min-height: 320px; }
.walk__card {
  background: var(--surface-white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 24px 26px 22px;
  width: 100%;
  max-width: 320px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 20px 40px -30px rgba(30, 31, 27, 0.2);
  inset: auto;
}
.walk__card-lbl {
  display: inline-block;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-500);
  padding: 6px 14px;
  background: var(--primary-50);
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.walk__card-num {
  font-size: 60px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--grey-900);
  margin-bottom: 6px;
}
.walk__card-num--sm { font-size: 44px; letter-spacing: -0.02em; }
.walk__card-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--grey-500);
  line-height: 1.5;
}
.walk__card-div {
  height: 1px;
  background: var(--grey-100);
  margin: 22px 0 18px;
}
.walk__card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  font-weight: 400;
  color: var(--grey-400);
}
.walk__card-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.walk__card-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-500);
  flex-shrink: 0;
}

/* Tabs/chips at bottom */
.walk__tabs {
  grid-area: tabs;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
}
.walk__tab {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--surface-white);
  border: 1px solid var(--grey-100);
  color: var(--grey-500);
  font-family: "Urbanist", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}
.walk__tab:hover {
  border-color: var(--primary-500);
  color: var(--primary-600);
}
.walk__tab.is-active {
  background: var(--primary-500);
  border-color: var(--primary-500);
  color: var(--surface-white);
}
.pill {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-50);
  color: var(--primary-600);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
}
.pill--tiny {
  font-size: 11px;
  padding: 5px 12px;
}
.stat {
  margin: 22px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat__num {
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--grey-900);
}
.stat__label {
  color: var(--grey-500);
  font-size: var(--fs-sm);
}
.dotlist {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--grey-500);
  font-size: var(--fs-sm);
}
.dotlist li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-500);
}

/* phone mock (shared — used by download section) */
.phone {
  position: relative;
  width: 320px;
  aspect-ratio: 9 / 19;
  background: var(--grey-900);
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 40px 80px -40px rgba(30, 31, 27, 0.5), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: var(--radius-pill);
  z-index: 2;
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #cfd5c4 0%, #e4e7dc 100%);
}

/* ---------- Tracker ---------- */
.tracker {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--surface-bg);
}
.tracker__grid {
  display: grid;
  grid-template-columns: 740fr 550fr;
  gap: 24px;
  margin-top: clamp(40px, 6vw, 80px);
  align-items: start;
}
.tracker__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: url("img/Mask_group_bg_img.png") center/cover no-repeat, var(--surface-card);
}
.tracker__photo .tracker__svg {
  display: block;
  width: 100%;
  height: auto;
}
.tracker__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tracker__side .tracker__svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
.tracker__progress {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  color: var(--surface-white);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tracker__date {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
}
.tracker__headline {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.tracker__sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-sm);
  margin-bottom: 24px;
}
.progress__head {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.progress__num {
  font-size: var(--fs-md);
  font-weight: 400;
}
.progress__bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.progress__fill {
  height: 100%;
  width: var(--p, 0);
  background: var(--surface-white);
  border-radius: var(--radius-pill);
  animation: fillbar 1.6s var(--ease) both;
  animation-delay: 0.3s;
  transform-origin: left;
}
@keyframes fillbar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.tracker__steps {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-100);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.timeline {
  display: flex;
  flex-direction: column;
}
.timeline__item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--grey-100);
}
.timeline__item:last-child {
  border-bottom: 0;
}
.timeline__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--grey-200);
  background: var(--surface-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  margin-top: 2px;
}
.timeline__dot .material-symbols-outlined {
  font-size: 14px;
}
.timeline__item.is-done .timeline__dot {
  background: var(--primary-500);
  border-color: var(--primary-500);
  color: var(--surface-white);
}
.timeline__item.is-current .timeline__dot {
  background: var(--surface-white);
  border: 2px solid var(--primary-500);
  position: relative;
}
.timeline__item.is-current .timeline__dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-500);
  animation: ping 1.8s ease-in-out infinite;
}
@keyframes ping {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.6); }
}
.timeline__label {
  font-size: var(--fs-md);
  color: var(--grey-900);
  font-weight: 400;
}
.timeline__note {
  display: block;
  color: var(--grey-500);
  font-size: var(--fs-sm);
  margin-top: 4px;
}
.timeline__date {
  color: var(--grey-400);
  font-size: var(--fs-sm);
}
.timeline__item:not(.is-done):not(.is-current) .timeline__label {
  color: var(--grey-400);
}

.tracker__notify {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--surface-bg);
  border-radius: var(--radius-md);
}
.tracker__notify .material-symbols-outlined {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-500);
  color: var(--surface-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.tracker__notify strong {
  display: block;
  font-weight: 500;
  font-size: var(--fs-sm);
}
.tracker__notify span {
  font-size: 13px;
  color: var(--grey-500);
}
.tracker__ago {
  color: var(--grey-400);
  font-size: 13px;
}

.tracker__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--grey-100);
}
.tracker__stats > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tracker__stats strong {
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--grey-900);
}
.tracker__stats span {
  font-size: var(--fs-sm);
  color: var(--grey-500);
  max-width: 22ch;
}

/* ---------- Resident ---------- */
.resident {
  padding: clamp(80px, 10vw, 140px) 0;
}
.resident__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.resident__svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
.resident__card {
  padding: 36px 36px 32px;
  background: var(--surface-white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.resident__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -40px rgba(30, 31, 27, 0.3);
}
.resident__card h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.resident__card p {
  color: var(--grey-500);
  font-size: var(--fs-sm);
  margin: 0;
  line-height: 1.7;
}
.resident__stats {
  display: flex;
  gap: 48px;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--grey-100);
}
.resident__stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.resident__stats strong {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--grey-900);
}
.resident__stats span {
  font-size: 13px;
  color: var(--grey-500);
}

.quote {
  margin: clamp(60px, 8vw, 100px) auto 0;
  max-width: 780px;
  text-align: center;
}
.quote p {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--grey-900);
  margin: 0 0 18px;
}
.quote cite {
  color: var(--grey-500);
  font-style: normal;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
}

/* ---------- Big stats ---------- */
.bigstats {
  padding: clamp(60px, 8vw, 120px) 0;
  background: var(--surface-card);
}
.bigstats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
}
.bigstats__grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 20px;
  position: relative;
}
.bigstats__grid > div::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 0;
  height: 60%;
  width: 1px;
  background: var(--grey-200);
}
.bigstats__grid > div:last-child::after {
  display: none;
}
.bigstats strong {
  font-size: 40px;
  font-weight: 300;
  font-style: normal;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--grey-900);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.bigstats strong em {
  font-style: normal;
  font-weight: 300;
  color: var(--grey-500);
}
.bigstats span {
  font-size: 16px;
  font-weight: 400;
  color: var(--grey-500);
}

/* ---------- FAQ ---------- */
.faq {
  padding: clamp(80px, 10vw, 140px) 0;
}
.faq__list {
  max-width: 1000px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--grey-100);
  padding: 28px 0;
}
.faq__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: "Urbanist", sans-serif;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--grey-900);
  text-align: left;
  transition: color 0.2s ease;
}
.faq__summary:hover { color: var(--primary-600); }
.faq__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.faq__item.is-open .faq__body { max-height: 400px; }
.faq__icon {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grey-100);
  flex-shrink: 0;
  font-size: 0;
  color: transparent;
  transition: background 0.3s ease;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--primary-600);
  border-radius: 1px;
  transition: background 0.3s ease, transform 0.3s var(--ease);
}
.faq__icon::before {
  width: 16px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  width: 2px;
  height: 16px;
  transform: translate(-50%, -50%);
}
.faq__item.is-open .faq__icon {
  background: var(--primary-600);
}
.faq__item.is-open .faq__icon::before,
.faq__item.is-open .faq__icon::after {
  background: var(--grey-100);
}
.faq__item.is-open .faq__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}
.faq__item p {
  max-width: 72ch;
  color: var(--grey-500);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  margin: 0;
  padding-top: 18px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s 0.05s ease-out, transform 0.35s 0.05s ease-out;
}
.faq__item.is-open p {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Download ---------- */
.download {
  position: relative;
  padding: clamp(60px, 7vw, 100px) 0 0;
  background: #2D3424;
  color: var(--surface-white);
  overflow: hidden;
  isolation: isolate;
}
.download__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1386px;
  height: 1386px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(126, 150, 85, 0.28) 0%, rgba(126, 150, 85, 0.12) 45%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.download__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.download__copy {
  padding-bottom: clamp(40px, 6vw, 80px);
}
.download__title {
  margin: 0 0 24px;
  font-size: 60px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.download__title-line {
  display: block;
  color: var(--surface-white);
}
.download__title-line--accent {
  color: var(--primary-500);
}
.download__sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--grey-400);
  margin: 0 0 40px;
}
.download__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 64px;
  padding: 0 32px;
  min-width: 180px;
  border-radius: 32px;
  border: 1px solid var(--grey-100);
  background: transparent;
  color: var(--grey-100);
  font-family: "Urbanist", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}
.pill-btn:hover {
  background: rgba(233, 234, 229, 0.08);
  transform: translateY(-2px);
}
.pill-btn.is-disabled {
  position: relative;
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.55;
}
.pill-btn.is-disabled:hover {
  background: transparent;
  transform: none;
}
.pill-btn__soon {
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--primary-500);
  color: var(--surface-white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 1;
}
.pill-btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.download__phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: -2px; /* image sits flush against the section bottom */
}
.download__screen {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--grey-900);
  color: var(--grey-300);
  padding: 60px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__brand p {
  max-width: 42ch;
  margin: 16px 0 0;
  color: var(--grey-400);
  font-size: 13px;
  line-height: 1.7;
}
.footer h4 {
  color: var(--surface-white);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}
.footer ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16px;
}
.footer a {
  transition: color 0.2s ease;
}
.footer a:hover {
  color: var(--surface-white);
}
.footer a.is-disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.4;
}
.footer a.is-disabled:hover {
  color: inherit;
}
.footer__badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.footer__badge {
  display: inline-flex;
  transition: transform 0.25s var(--ease), opacity 0.25s ease;
}
.footer__badge:hover { transform: translateY(-2px); opacity: 0.9; }
.footer__badge.is-disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.45;
}
.footer__badge.is-disabled:hover { transform: none; opacity: 0.45; }
.footer__badge img {
  display: block;
  height: 56px;
  width: auto;
}
.footer__base {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  color: var(--grey-500);
  font-size: 13px;
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .chapters {
    grid-template-columns: repeat(2, 1fr);
  }
  .tracker__grid {
    grid-template-columns: 1fr;
  }
  .tracker__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .resident__grid {
    grid-template-columns: 1fr;
  }
  .how__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "phone"
      "side"
      "steps";
    text-align: center;
  }
  .how__copy,
  .how__side {
    margin: 0 auto;
  }
  .bigstats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bigstats__grid > div:nth-child(2)::after { display: none; }
  .download__layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .download__copy h2 { text-align: center; margin-inline: auto; }
  .download__badges { justify-content: center; }
  .download__phones { order: -1; }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root { --pad-x: 20px; }

  /* Nav: hide links, show burger, logo centered, full-width */
  .nav {
    grid-template-columns: 1fr auto 1fr;
    padding: 14px 20px;
    gap: 12px;
  }
  .nav > .nav__links,
  .nav > .btn--primary {
    display: none;
  }
  .nav > .logo {
    grid-column: 2;
    justify-self: center;
  }
  .nav > .nav__burger {
    display: inline-flex;
    grid-column: 3;
    justify-self: end;
  }
  .logo__img { height: 44px; }
  .nav > .nav__links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 28px 24px 32px;
    gap: 22px;
    background: rgba(249, 249, 247, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--grey-100);
    box-shadow: 0 20px 30px -20px rgba(30, 31, 27, 0.18);
    font-size: 18px;
    z-index: 49;
    grid-column: unset;
    grid-row: unset;
    justify-self: unset;
  }

  /* Hero: scale everything down, keep centered */
  .hero {
    padding: 0 20px;
  }
  .hero__inner {
    padding: clamp(90px, 18vh, 140px) 0 clamp(100px, 16vh, 140px);
    gap: clamp(20px, 3vh, 32px);
  }
  .hero__title {
    font-size: clamp(44px, 12vw, 80px);
    max-width: 14ch;
  }
  .hero__lede {
    font-size: 15px;
    max-width: 36ch;
  }
  .eyebrow--pill {
    font-size: 11px;
    padding: 6px 12px;
  }
  .hero__scroll { bottom: 28px; }
  .hero__scroll-line { height: 60px; }

  /* Sections: tighter padding, single column grids */
  .features { padding: 70px 0; }
  .features__grid {
    grid-template-columns: 1fr;
  }
  .feature {
    border-right: none;
    padding: 32px 22px 28px;
  }
  .feature:nth-child(3n) { border-right: none; }
  .feature:nth-last-child(-n+3) { border-bottom: 1px solid var(--grey-200); }
  .feature:last-child { border-bottom: none; }
  .feature__icon {
    font-size: 44px !important;
    width: 44px;
    height: 44px;
    line-height: 44px;
    margin-bottom: 18px;
  }
  .feature h3 { font-size: 22px; margin-bottom: 10px; }
  .feature p { font-size: 15px; line-height: 1.55; }

  .section-head { margin-bottom: 40px; }
  .section-title { font-size: clamp(32px, 8vw, 44px); max-width: 18ch; }
  .section-lede { font-size: 15px; }
  .eyebrow { font-size: 11px; }

  .journey, .tracker, .resident, .faq, .download { padding: 70px 0; }
  .journey { min-height: auto; display: block; }
  .chapters {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .chapter { padding: 26px 22px; min-height: auto; gap: 10px; }
  .chapter__index { font-size: 11px; }
  .chapter h3 { font-size: 24px; }
  .chapter p { font-size: 14px; }
  .chapter .link-arrow { font-size: 13px; }
  .coda { min-height: 80vh; padding: 60px 20px; }
  .coda__text { font-size: clamp(26px, 7.5vw, 36px); max-width: 18ch; line-height: 1.15; }

  /* Walkthrough mobile: scroll-driven with sticky inner, shorter section */
  .walk { height: 450vh; min-height: auto; }
  .walk__inner {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    grid-template-columns: 1fr;
    grid-template-areas:
      "center"
      "left"
      "tabs";
    grid-template-rows: auto 1fr auto;
    gap: 16px;
    padding: 56px 20px 12px;
  }
  .walk__right { display: none; }
  .walk__center { order: 1; }
  .walk__left { order: 2; justify-content: center; align-items: flex-start; }
  .walk__phone { width: clamp(320px, 86vw, 400px); aspect-ratio: 1 / 1; }
  .walk__texts { max-width: 100%; min-height: 200px; }
  .walk__step { font-size: 12px; margin-bottom: 10px; }
  .walk__line { height: 20px; margin-bottom: 10px; }
  .walk__h { font-size: clamp(22px, 6vw, 28px); margin-bottom: 12px; }
  .walk__p { font-size: 14px; margin-bottom: 14px; line-height: 1.55; }
  .walk__lnk { font-size: 13px; }
  .walk__tabs {
    position: sticky;
    bottom: 12px;
    margin: 0 auto;
    max-width: calc(100% - 16px);
    padding: 10px 8px;
    background: rgba(249, 249, 247, 0.92);
    backdrop-filter: blur(14px);
    border: 1px solid var(--grey-100);
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 30px -18px rgba(30, 31, 27, 0.3);
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
    z-index: 40;
    gap: 6px;
    /* Edge fade — hints at scrollable overflow */
    --fade-l: black;
    --fade-r: black;
    --fade-w: 32px;
    -webkit-mask-image: linear-gradient(90deg, var(--fade-l) 0, black var(--fade-w), black calc(100% - var(--fade-w)), var(--fade-r) 100%);
    mask-image: linear-gradient(90deg, var(--fade-l) 0, black var(--fade-w), black calc(100% - var(--fade-w)), var(--fade-r) 100%);
    transition: --fade-l 0.2s, --fade-r 0.2s;
  }
  .walk__tabs.can-scroll-left { --fade-l: transparent; }
  .walk__tabs.can-scroll-right { --fade-r: transparent; }
  .walk__tabs::-webkit-scrollbar { display: none; }
  .walk__tab {
    flex: 0 0 auto;
    padding: 6px 14px;
    font-size: 12px;
  }

  /* Tracker — stack photo over side SVGs on mobile */
  .tracker__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tracker__photo,
  .tracker__side {
    width: 100%;
  }
  .tracker__side { gap: 12px; }
  .tracker__photo .tracker__svg,
  .tracker__side .tracker__svg {
    display: block;
    width: 100%;
    height: auto;
  }
  .tracker__stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 32px;
    margin-top: 40px;
  }
  .tracker__stats strong { font-size: 22px; }

  /* Resident */
  .resident__grid { grid-template-columns: 1fr; gap: 14px; }
  .resident__card { padding: 28px 22px; gap: 12px; }
  .resident__card h3 { font-size: 20px; }
  .resident__stats { gap: 28px; padding-top: 18px; }
  .quote p { font-size: clamp(22px, 6vw, 28px); margin-bottom: 14px; }
  .quote cite { font-size: 14px; }

  /* Big stats */
  .bigstats { padding: 60px 0; }
  .bigstats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 0;
  }
  .bigstats__grid > div::after { display: none; }
  .bigstats strong { font-size: 28px; gap: 4px; }
  .bigstats span { font-size: 14px; }

  /* FAQ */
  .faq__item { padding: 20px 0; }
  .faq__item { padding: 20px 0; }
  .faq__summary { font-size: 18px; gap: 14px; }
  .faq__item p { font-size: 15px; padding-top: 14px; }
  .faq__icon { width: 40px; height: 40px; }
  .faq__icon::before { width: 14px; }
  .faq__icon::after { height: 14px; }

  /* Download */
  .download { padding: 50px 0 0; }
  .download__layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    align-items: stretch;
  }
  .download__copy { padding-bottom: 20px; order: 1; }
  .download__title { font-size: clamp(36px, 10vw, 48px); text-align: center; margin-inline: auto; }
  .download__sub { text-align: center; }
  .download__badges { justify-content: center; flex-wrap: wrap; }
  .download__phones { order: 2; margin-bottom: -2px; }
  .download__screen { max-width: 360px; }
  .pill-btn { min-width: 160px; height: 56px; font-size: 14px; padding: 0 26px; }
  .download__glow { width: 900px; height: 900px; }

  /* Footer */
  .footer { padding: 50px 0 28px; }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 32px;
  }
  .footer__brand p { max-width: 100%; }
  .footer__base {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: 12px;
  }

  /* Buttons — ensure they don't overflow */
  .btn { padding: 0 22px; font-size: 14px; }
  .hero__cta { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
}

@media (max-width: 420px) {
  .hero__cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .hero__cta .btn {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }
  .hero__title { font-size: clamp(40px, 13vw, 56px); }
}
