/* ==========================================================================
   FIT MOM OF 7 — Ageless Fitness
   Design system. One stylesheet, one type family, three brand colours.
   --------------------------------------------------------------------------
   Brand
     Primary    #F984EF  pink      (fills, accents — never body text on white)
     Secondary  #363C45  charcoal  (text, dark bands)
     Secondary  #FFB615  orange    (price / urgency)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts
   -------------------------------------------------------------------------- */
@font-face {
  font-family: Gilroy;
  src: url('../fonts/Gilroy-Regular.woff2') format('woff2'),
       url('../fonts/Gilroy-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: Gilroy;
  src: url('../fonts/Gilroy-Medium.woff2') format('woff2'),
       url('../fonts/Gilroy-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: Gilroy;
  src: url('../fonts/Gilroy-Bold.woff2') format('woff2'),
       url('../fonts/Gilroy-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: Gilroy;
  src: url('../fonts/Gilroy-ExtraBold.woff2') format('woff2'),
       url('../fonts/Gilroy-ExtraBold.ttf') format('truetype');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: Gilroy;
  src: url('../fonts/Gilroy-Black.woff2') format('woff2'),
       url('../fonts/Gilroy-Black.ttf') format('truetype');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: Gilroy;
  src: url('../fonts/Gilroy-BlackItalic.woff2') format('woff2'),
       url('../fonts/Gilroy-BlackItalic.ttf') format('truetype');
  font-weight: 900; font-style: italic; font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* brand */
  --pink:        #F984EF;
  --pink-strong: #F984EF;   /* brand pink, used everywhere */
  --pink-tint:   #FDF2FC;
  --pink-line:   #F3D7EF;

  --ink:         #363C45;   /* charcoal */
  --ink-deep:    #2A2F37;
  --ink-soft:    #6C7480;   /* muted body (4.7:1) */

  --orange:      #FFB615;
  --orange-ink:  #8A5A00;   /* accessible orange for text on light (5.9:1) */
  --orange-tint: #FFF6E2;

  --paper:       #FFFFFF;
  --line:        #E7E4E9;

  /* type */
  --font: Gilroy, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --t-display: clamp(2.25rem, 1.1rem + 3.6vw, 3.65rem);
  --t-h2:      clamp(1.75rem, 1.05rem + 2.1vw, 2.6rem);
  --t-h3:      clamp(1.15rem, 0.98rem + 0.6vw, 1.4rem);
  --t-lede:    clamp(1.02rem, 0.96rem + 0.28vw, 1.18rem);
  --t-body:    1.0625rem;
  --t-small:   0.9375rem;
  --t-micro:   0.8125rem;

  /* space */
  --gutter: 24px;
  --section-y: clamp(60px, 7.4vw, 104px);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;

  /* effect */
  --pop: 4px 4px 0 var(--ink);
  --pop-sm: 3px 3px 0 var(--ink);
  --shadow-card: 0 1px 2px rgba(54, 60, 69, .06), 0 12px 28px -14px rgba(54, 60, 69, .22);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------------------
   3. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font);
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--pink-strong);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--pink); color: var(--ink); }

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h1 { font-size: var(--t-display); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; }

p { text-wrap: pretty; }

.lede {
  font-size: var(--t-lede);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 500;
}
.lede strong { font-weight: 700; color: var(--ink); }

.accent { color: var(--pink-strong); }
.on-dark .accent { color: var(--pink); }

/* the brand's signature: heavy italic uppercase label in a sticker chip */
.chip {
  display: inline-flex;
  align-items: center;
  background: var(--pink);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--pop-sm);
  padding: 8px 15px 7px;
  font-size: var(--t-micro);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chip--orange { background: var(--orange); }
.chip--plain {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: var(--pink-strong);
  letter-spacing: .18em;
}
.on-dark .chip--plain { color: var(--pink); }

/* --------------------------------------------------------------------------
   5. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--pink-tint); }
.section--dark { background: var(--ink); color: #fff; }
.section--flush-top { padding-top: 0; }

.section--dark .lede { color: rgba(255, 255, 255, .74); }
.section--dark .lede strong { color: #fff; }

.section-head {
  max-width: 44rem;
  margin-inline: auto;
  margin-bottom: clamp(32px, 4vw, 52px);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}
.section-head p { max-width: 38rem; }

.stack { display: grid; gap: 20px; justify-items: start; }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: var(--t-small);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-align: center;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background-color .16s var(--ease);
}
.btn:hover { transform: translate(2px, 2px); }
.btn:active { transform: translate(4px, 4px); }

.btn--primary { background: var(--pink); color: var(--ink); box-shadow: var(--pop); }
.btn--primary:hover { box-shadow: 2px 2px 0 var(--ink); background: var(--ink); color: #fff; }
.btn--primary:active { box-shadow: 0 0 0 var(--ink); }

.btn--dark { background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--pink); }
.btn--dark:hover { box-shadow: 2px 2px 0 var(--pink); }
.btn--dark:active { box-shadow: 0 0 0 var(--pink); }

.btn--orange { background: var(--orange); color: var(--ink); box-shadow: var(--pop); }
.btn--orange:hover { box-shadow: 2px 2px 0 var(--ink); background: var(--ink); color: #fff; }
.btn--orange:active { box-shadow: 0 0 0 var(--ink); }

.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

.section--dark .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .55); }
.section--dark .btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--sm { padding: 11px 18px; font-size: var(--t-micro); border-width: 2px; box-shadow: var(--pop-sm); }
.btn--sm:hover { box-shadow: 1px 1px 0 var(--ink); }
.btn--block { width: 100%; }

.btn__icon { width: 17px; height: 17px; flex: none; }

/* --------------------------------------------------------------------------
   7. Announcement bar + header
   -------------------------------------------------------------------------- */
.announce {
  background: var(--orange);
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
}
.announce__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  padding-block: 9px;
  text-align: center;
}
.announce__text {
  font-size: var(--t-micro);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.announce__link {
  font-size: var(--t-micro);
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.announce__link:hover { color: var(--ink-deep); text-decoration-thickness: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding-block: 14px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 104px; display: block; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink);
  padding-block: 6px;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 12px; }

.site-nav-panel { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(44px, 5.5vw, 80px) clamp(52px, 6vw, 88px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
}
.hero__copy { display: grid; justify-items: start; gap: 22px; }
.hero h1 { max-width: 15ch; }
.hero .lede { max-width: 46ch; }
.hero__media { position: relative; }
.hero__media img { width: 100%; }

.video-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: var(--pop);
  background: var(--ink-deep);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 0;
  margin-top: 6px;
  border-top: 2px solid var(--ink);
  width: 100%;
  max-width: 34rem;
}
.hero__stat {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  align-content: start;
  gap: 6px;
  padding: 16px 16px 0 0;
  font-size: var(--t-micro);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-soft);
}
.hero__stat b {
  display: block;
  font-size: clamp(1.2rem, 1rem + .55vw, 1.5rem);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.05;
  align-self: end;
}
.hero__stat + .hero__stat { padding-left: 20px; border-left: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   9. Plans
   -------------------------------------------------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.plan__head {
  padding: 20px 24px;
  border-bottom: 2px solid var(--ink);
  text-align: center;
  display: grid;
  gap: 6px;
  justify-items: center;
}
.plan--programs .plan__head { background: var(--orange); }
.plan--premium .plan__head { background: var(--pink); }
.plan__head h3 {
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.15;
}
.plan__price {
  font-size: var(--t-micro);
  font-weight: 900;
  letter-spacing: .08em;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 5px 13px;
  line-height: 1;
}
.plan__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 26px clamp(20px, 2.2vw, 30px) clamp(24px, 2.6vw, 30px);
  flex: 1;
}

.offers { display: grid; gap: 14px; }
.offer {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--orange-tint);
}
.offer:nth-child(even) { background: #FBFAFB; }
.offer__title {
  font-size: var(--t-small);
  font-weight: 900;
  letter-spacing: .01em;
  text-transform: uppercase;
  line-height: 1.25;
}
.offer p { font-size: var(--t-small); color: var(--ink-soft); line-height: 1.55; }

.checks { display: grid; gap: 13px; }
.checks--two { display: block; columns: 2; column-gap: 26px; width: 100%; }
.checks--two li { break-inside: avoid; margin-bottom: 12px; }
.checks li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  font-size: var(--t-small);
  line-height: 1.5;
}
.check {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 1px;
  flex: none;
  background: var(--pink);
  color: var(--ink);
}
.check svg { width: 14px; height: 14px; }
.plan--programs .check { background: var(--orange); }
.plan--premium .checks { gap: 18px; font-size: 1rem; }

.plan__foot { margin-top: auto; padding-top: 4px; }
.plan__note {
  font-size: var(--t-micro);
  color: var(--ink-soft);
  text-align: center;
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   10. Apply / lead-form band
   -------------------------------------------------------------------------- */
.apply__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 60px);
}
.apply__media img {
  width: 100%;
  border-radius: var(--radius-lg);
}
.apply__panel { display: grid; gap: 22px; justify-items: center; text-align: center; }
.apply__intro { display: grid; justify-items: center; gap: 16px; text-align: center; width: 100%; }
.apply__panel .form-card { width: 100%; text-align: center; }
.apply__panel h2 { max-width: 20ch; margin-inline: auto; }
.form-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.6vw, 32px);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .65);
}

/* --------------------------------------------------------------------------
   11. Device / phone mockups  (mechanics preserved from the original build)
   -------------------------------------------------------------------------- */
.devices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.8vw, 40px);
  align-items: start;
}
.device {
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-items: center;
  gap: 22px;
  text-align: center;
}
.phone {
  position: relative;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 440 / 888;
}
.phone__screen {
  position: absolute;
  z-index: 0;
  top: 2.4%;
  left: 3.6%;
  width: 92.8%;
  height: 95.2%;
  border-radius: 8.5%;
  overflow: hidden;
  background: #111 center / cover no-repeat;
}
.phone__screen video,
.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone__frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.device__caption {
  font-size: var(--t-small);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 24ch;
}
.section--dark .device__caption { color: rgba(255, 255, 255, .74); }
.section--dark .device .chip { box-shadow: 3px 3px 0 rgba(0, 0, 0, .45); }

/* --------------------------------------------------------------------------
   12. Rail (transformations)
   -------------------------------------------------------------------------- */
.rail-wrap { position: relative; }
.rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: 0 0 calc((100% - 48px) / 3); min-width: 0; }

.transformation {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--paper);
}
.transformation img { width: 100%; }

.rail-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.rail-btn {
  width: 46px; height: 46px;
  flex: 0 0 46px;
  padding: 0;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
  transition: background-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease);
}
.rail-btn:hover { background: var(--pink); }
.rail-btn:disabled { opacity: .3; cursor: default; }
.rail-btn:disabled:hover { background: var(--paper); transform: none; }
.rail-btn svg { width: 18px; height: 18px; }
.section--tint .rail-btn { background: var(--paper); }

/* --------------------------------------------------------------------------
   13. Reviews
   -------------------------------------------------------------------------- */
.stars { width: 168px; margin-inline: auto; }

.reviews-wrap { position: relative; }
.reviews {
  columns: 3;
  column-gap: 24px;
}
.reviews[data-collapsed="true"] { max-height: 860px; overflow: hidden; }
.review {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  background: var(--paper);
  border: 1px solid var(--pink-line);
  border-radius: var(--radius-lg);
  padding: 24px 24px 22px;
  margin-bottom: 24px;
  box-shadow: 0 1px 2px rgba(54, 60, 69, .05);
}
.review p {
  font-size: var(--t-small);
  line-height: 1.62;
  color: var(--ink);
}
.review p + p { margin-top: 12px; }
.review__mark {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: .6;
  color: var(--pink);
  margin-bottom: 12px;
}
.review__by {
  display: block;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: var(--t-micro);
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pink-strong);
}

.reviews-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 190px;
  background: linear-gradient(to bottom, rgba(253, 242, 252, 0), var(--pink-tint) 78%);
  pointer-events: none;
}
.reviews-more { display: flex; justify-content: center; margin-top: 28px; }

/* --------------------------------------------------------------------------
   14. About
   -------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 64px);
}
.about__photos {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  aspect-ratio: 10 / 11;
}
.about__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.about__photos img:nth-child(1) { grid-column: 1; grid-row: 1; }
.about__photos img:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
.about__photos img:nth-child(3) { grid-column: 1; grid-row: 2; }
.about__copy { display: grid; justify-items: start; gap: 20px; }
.about__copy p { color: var(--ink-soft); }

.creds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px 24px;
  width: 100%;
  margin-top: 4px;
  padding-top: 26px;
  border-top: 2px solid var(--ink);
}
.creds li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  font-size: var(--t-small);
  font-weight: 700;
  line-height: 1.4;
}
.creds li::before {
  content: "";
  width: 8px; height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--pink);
}

/* --------------------------------------------------------------------------
   15. App band
   -------------------------------------------------------------------------- */
.app__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}
.app__copy { display: grid; justify-items: start; gap: 20px; }
.app__icon { width: 62px; }
.app__grid h2 { max-width: 16ch; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(48px, 6vw, 76px) 34px;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer__brand { display: grid; justify-items: start; gap: 14px; }
.footer__brand img { width: 116px; margin-bottom: 14px; }
.footer__eyebrow {
  font-size: var(--t-micro);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pink);
}
.footer__brand h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.05rem); }
.footer__brand .btn { margin-top: 6px; }

.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  transition: background-color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease);
}
.socials a:hover { background: rgba(255, 255, 255, .12); border-color: var(--pink); transform: translateY(-2px); }
.socials img { width: 19px; height: auto; }
.socials img[src*="tiktok"] { width: 14px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-top: 24px;
  font-size: var(--t-micro);
  color: rgba(255, 255, 255, .62);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }
.footer__links a:hover { color: #fff; text-decoration-color: var(--pink); }

/* --------------------------------------------------------------------------
   17. Long-form (legal / contact pages)
   -------------------------------------------------------------------------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); margin-top: 2.2em; margin-bottom: .6em; }
.prose h3 { margin-top: 1.8em; margin-bottom: .5em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 1.05em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 1em 0; display: grid; gap: .5em; }
.prose a { color: var(--pink-strong); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }

.page-head { padding-block: clamp(44px, 5vw, 72px) clamp(24px, 3vw, 40px); }
.page-head .container { display: grid; gap: 16px; justify-items: start; }

/* forms */
.field { display: grid; gap: 7px; }
.field label { font-size: var(--t-micro); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: var(--t-small);
  font-weight: 500;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--pink-strong);
  box-shadow: 0 0 0 3px rgba(249, 132, 239, .35);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .field--full { grid-column: 1 / -1; }

.notice { padding: 18px 20px; border-radius: var(--radius-md); font-size: var(--t-small); }
.notice--ok { background: var(--pink-tint); border: 1px solid var(--pink-line); }
.notice--err { background: #FDECEC; border: 1px solid #F6C9C9; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 52rem; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 22px;
  font-weight: 800;
  font-size: var(--t-small);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq__body { padding: 0 22px 20px; font-size: var(--t-small); color: var(--ink-soft); display: grid; gap: 12px; }

/* --------------------------------------------------------------------------
   18. Motion
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rail { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .devices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .reviews { columns: 2; }
  .rail > * { flex-basis: calc((100% - 24px) / 2); }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header__actions .btn { display: inline-flex; width: auto; }

  .site-header__inner { min-height: 74px; padding-block: 12px; gap: 12px; }
  .brand img { width: 88px; }
  .site-nav-panel {
    border-top: 1px solid var(--line);
    background: var(--paper);
    padding: 14px 0 22px;
  }
  .site-nav-panel.is-open { display: block; }
  .site-nav-panel .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav-panel .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .site-nav-panel .nav a::after { display: none; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero__copy { order: 1; }
  .hero__media { order: 2; }
  .hero h1 { max-width: 20ch; }

  .plans { grid-template-columns: minmax(0, 1fr); }
  .apply__grid { grid-template-columns: minmax(0, 1fr); }
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .app__grid { grid-template-columns: minmax(0, 1fr); }
  .app__copy { order: 1; }
  .app__media { order: 2; }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }

  .checks--two { columns: 1; }

  .rail { gap: 16px; }
  .rail > * { flex-basis: 82%; }
  .rail-btn { width: 44px; height: 44px; flex: 0 0 44px; }
  .reviews { columns: 1; }
  .reviews[data-collapsed="true"] { max-height: 720px; }

  .devices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .device { gap: 16px; }
  .device__caption { font-size: var(--t-micro); }
  .phone { max-width: 190px; }

  .hero__stats { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .hero__stat { padding: 14px 0; border-top: 1px solid var(--line); }
  .hero__stat + .hero__stat { padding-left: 0; border-left: 0; }
  .hero__stat { grid-template-rows: none; grid-row: auto; gap: 2px; }
  .hero__stat b { font-size: 1.2rem; }

  .creds { grid-template-columns: minmax(0, 1fr); }
  .about__photos { aspect-ratio: 10 / 12; }

  .btn { width: 100%; }
  .btn--sm, .rail-btn { width: auto; }
  .stack, .hero__copy, .about__copy, .app__copy { justify-items: stretch; }
  .hero__copy .chip, .about__copy .chip, .app__copy .chip { justify-self: start; }

  .footer__bottom { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .devices { gap: 26px 12px; }
  .phone { max-width: 150px; }
  .device { gap: 12px; }
  .chip { padding: 7px 11px 6px; letter-spacing: .07em; font-size: .75rem; }
}

/* --------------------------------------------------------------------------
   20. Thank-you page
   -------------------------------------------------------------------------- */
.site-header--bare { position: static; }
.site-header--bare .site-header__inner { justify-content: center; }

.thanks__inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}
.thanks__inner .lede { max-width: 38ch; }
.thanks__video {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--ink-deep);
  box-shadow: var(--pop);
  margin-block: 6px;
}
.thanks__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.thanks__note {
  margin-top: -8px;
  font-size: var(--t-micro);
  font-weight: 700;
  color: var(--ink-soft);
}

.site-footer--slim { padding-block: 26px; }
.site-footer--slim .footer__bottom { padding-top: 0; border-top: 0; }

@media (max-width: 640px) {
  .thanks__inner .btn { width: 100%; }
  .thanks__inner .chip { width: auto; }
}
