/* ==========================================================================
   SnapFlick — official site
   Visual direction: "printed playbill" — ivory paper, deep forest ink and
   apricot accents lifted straight from the app UI. Layout is editorial
   (asymmetric hero, numbered index, horizontal film reel) rather than the
   usual centred hero + 3-card grid.
   ========================================================================== */

/* ---------- 1. Design tokens ---------------------------------------- */
:root {
  /* Brand palette sampled from the app screens */
  --forest-900: #0C231B;
  --forest-800: #113026;
  --forest-700: #16402F;
  --forest-500: #2C5C46;
  --moss-400:   #5B7F6D;

  --peach-500:  #E09A6B;   /* app accent (buttons, chips) */
  --peach-600:  #C97B45;   /* accessible text/link tone on cream */
  --peach-100:  #F7E3D2;

  /* Light "paper" surfaces */
  --cream:      #FAF6EF;
  --paper:      #FFFDF9;
  --sand:       #F1EADD;

  --ink:        #10281F;   /* body text on cream — 12.7:1 */
  --ink-soft:   #40584C;   /* muted text on cream — 6.6:1 */
  --line:       rgba(16, 40, 31, .14);
  --line-soft:  rgba(16, 40, 31, .08);

  /* Type */
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 56px);
  --sect-y: clamp(72px, 10vw, 132px);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(12, 35, 27, .06);
  --shadow-md: 0 18px 40px -22px rgba(12, 35, 27, .35);
  --shadow-lg: 0 40px 80px -40px rgba(12, 35, 27, .55);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset & base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* keeps anchored sections clear of the floating navbar */
  scroll-padding-top: 118px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(15px, .55vw + 13.6px, 17px);
  line-height: 1.65;
  overflow-x: hidden;                       /* no horizontal scroll */
  -webkit-font-smoothing: antialiased;
}

/* Subtle paper grain so the large cream areas don't read as flat white */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image: radial-gradient(rgba(16, 40, 31, .055) 1px, transparent 1px);
  background-size: 4px 4px;
}
body > * { position: relative; z-index: 1; }

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--peach-600);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* Shared inline icon sizing (all icons are inline SVG — no emoji) */
.i {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 3. Scroll reveal (CSS + IntersectionObserver) ----------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- 4. Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.btn--sm { padding: 10px 18px; font-size: .875rem; }

.btn--peach {
  background: var(--peach-500);
  color: var(--forest-900);
  box-shadow: 0 10px 22px -14px rgba(200, 118, 62, .9);
}
.btn--peach:hover { background: #EFAE80; box-shadow: 0 14px 28px -14px rgba(200, 118, 62, 1); }

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { background: var(--sand); border-color: rgba(16, 40, 31, .28); }

/* Store buttons — custom, so the badge never renders blurry */
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 18px;
  border-radius: 14px;
  background: var(--forest-800);
  color: var(--cream);
  transition: transform .22s var(--ease), background-color .22s var(--ease), box-shadow .22s var(--ease);
  box-shadow: var(--shadow-md);
}
.store:hover { background: var(--forest-700); box-shadow: 0 22px 44px -22px rgba(12, 35, 27, .6); }
.store__logo { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store span {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.15;
  text-align: left;
}
.store small {
  font-weight: 400;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .72;
}
.store--light { background: var(--cream); color: var(--forest-900); }
.store--light:hover { background: #fff; }

/* ---------- 5. Progress rail & top ticker --------------------------- */
.progress-rail {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 90;
  background: transparent;
}
.progress-rail span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--peach-500);
  transition: width .1s linear;
}

.ticker {
  background: var(--forest-900);
  color: var(--peach-100);
  overflow: hidden;
  border-bottom: 1px solid rgba(250, 246, 239, .08);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: slide 34s linear infinite;
}
.ticker__group {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 9px 18px;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__group b { color: var(--peach-500); font-weight: 600; }
.ticker__group i { font-style: normal; opacity: .45; font-size: .6rem; }

@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 6. Navbar ----------------------------------------------- */
.nav {
  position: sticky;
  top: 14px;                                 /* floating, not glued to 0 */
  z-index: 80;
  padding-inline: var(--gut);
  margin-top: 14px;
}
.nav__shell {
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 12px 10px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-soft);
  background: rgba(255, 253, 249, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.nav.is-stuck .nav__shell {
  background: rgba(255, 253, 249, .95);
  border-color: var(--line);
  box-shadow: 0 16px 34px -24px rgba(12, 35, 27, .5);
}

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-size: 1.24rem; font-weight: 700; letter-spacing: -.01em; }
.brand__tag { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  display: block;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__links a:hover { color: var(--forest-900); background: var(--sand); }

.nav__actions { display: flex; align-items: center; gap: 8px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 12px 10px;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color .2s var(--ease);
}
.burger:hover { background: var(--sand); }
.burger span {
  display: block; height: 2px; width: 100%;
  background: var(--forest-900);
  border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  max-width: var(--wrap);
  margin: 10px auto 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: rgba(255, 253, 249, .97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  animation: drop .28s var(--ease);
}
.drawer[hidden] { display: none; }
.drawer a {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 500;
  transition: background-color .2s var(--ease);
}
.drawer a:hover { background: var(--sand); }
.drawer .btn { margin-top: 6px; }

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

/* ---------- 7. Hero ------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 92px) 0 clamp(64px, 8vw, 104px);
  overflow: hidden;
}
.hero__blob {
  position: absolute;
  top: -22%; right: -14%;
  width: 46vw; height: 46vw;
  max-width: 660px; max-height: 660px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(224, 154, 107, .34), rgba(22, 64, 47, .10) 62%, transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}
.hero__spine {
  position: absolute;
  left: 8px; top: 46%;
  transform: rotate(-90deg);
  transform-origin: left center;
  font-family: var(--serif);
  font-size: .8rem;
  letter-spacing: .42em;
  color: rgba(16, 40, 31, .3);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--peach-600);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--peach-500); }

.hero__title {
  font-size: clamp(2.7rem, 6.4vw, 4.9rem);
  font-weight: 800;
  letter-spacing: -.032em;
  margin-bottom: 22px;
}
.hero__title em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--forest-500);
}
/* Hand-drawn style underline on the key word */
.hero__title .mark {
  position: relative;
  white-space: nowrap;
}
.hero__title .mark::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: .06em;
  height: .34em;
  background: var(--peach-500);
  opacity: .42;
  border-radius: 4px 12px 6px 14px;
  z-index: -1;
}

.hero__lede {
  max-width: 52ch;
  font-size: clamp(1rem, .35vw + .93rem, 1.1rem);
  color: var(--ink-soft);
  margin-bottom: 30px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  column-gap: clamp(18px, 2.6vw, 40px);
  row-gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__stats dt {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--forest-800);
}
.hero__stats dd {
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* Device stage */
.hero__stage {
  position: relative;
  min-height: clamp(420px, 52vw, 580px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stage__panel {
  position: absolute;
  inset: 6% 12% 10% 6%;
  border-radius: 200px 200px 26px 26px;
  background: linear-gradient(165deg, var(--forest-700), var(--forest-900));
  box-shadow: var(--shadow-lg);
}
.stage__dots {
  position: absolute;
  right: 2%; bottom: 4%;
  width: 130px; height: 130px;
  background-image: radial-gradient(var(--peach-500) 1.6px, transparent 1.7px);
  background-size: 13px 13px;
  opacity: .55;
}

/* Screenshots keep their native 576:1024 ratio inside a phone shell */
.phone {
  position: relative;
  margin: 0;
  border-radius: 30px;
  padding: 7px;
  background: linear-gradient(150deg, #23372E, #0B1E17);
  box-shadow: var(--shadow-lg);
}
.phone img {
  width: 100%;
  aspect-ratio: 576 / 1024;
  object-fit: cover;
  border-radius: 24px;
}
.phone--front {
  width: clamp(220px, 26vw, 272px);
  transform: rotate(-3.2deg);
  z-index: 2;
  transition: transform .5s var(--ease);
}
.phone--front:hover { transform: rotate(-1.4deg) translateY(-6px); }
.phone--back {
  position: absolute;
  right: -2%; bottom: 2%;
  width: clamp(140px, 17vw, 178px);
  transform: rotate(6deg);
  z-index: 3;
  transition: transform .5s var(--ease);
}
.phone--back:hover { transform: rotate(3.6deg) translateY(-6px); }

.chip-badge {
  position: absolute;
  left: 2%; bottom: 2%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--forest-800);
}
.chip-badge .i { width: 16px; height: 16px; color: var(--peach-600); }

/* ---------- 8. Story marquee ---------------------------------------- */
.marquee {
  background: var(--forest-800);
  color: var(--cream);
  overflow: hidden;
  border-block: 1px solid rgba(250, 246, 239, .1);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: slide 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px 30px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  font-style: italic;
  white-space: nowrap;
}
.marquee__group i { font-style: normal; color: var(--peach-500); font-size: .7em; }

/* ---------- 9. Section headers -------------------------------------- */
.sect-head { margin-bottom: clamp(38px, 5vw, 62px); }
.sect-head--center { text-align: center; max-width: 720px; margin-inline: auto; }
.sect-title {
  font-size: clamp(2rem, 4.1vw, 3.1rem);
  letter-spacing: -.028em;
}
.sect-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--peach-600);
}
.sect-note { margin-top: 16px; max-width: 46ch; color: var(--ink-soft); }
.sect-head--center .sect-note { margin-inline: auto; }

.link-inline {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--peach-600);
  border-bottom: 1px solid rgba(201, 123, 69, .4);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.link-inline:hover { color: var(--forest-800); border-color: var(--forest-800); }

/* ---------- 10. Features: numbered editorial index ------------------ */
.features { padding: var(--sect-y) 0; }

.index { border-top: 1px solid var(--line); }
.index__row {
  display: grid;
  grid-template-columns: 78px 46px minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(14px, 2vw, 28px);
  padding: clamp(26px, 3.2vw, 38px) clamp(12px, 2vw, 22px);
  border-bottom: 1px solid var(--line);
  transition: background-color .28s var(--ease);
}
.index__row:hover { background: var(--paper); }

.index__no {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: .9;
  color: rgba(16, 40, 31, .18);
  transition: color .28s var(--ease);
}
.index__row:hover .index__no { color: var(--peach-500); }

.index__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--sand);
  color: var(--forest-700);
  transition: background-color .28s var(--ease), color .28s var(--ease);
}
.index__row:hover .index__icon { background: var(--forest-800); color: var(--peach-500); }

.index__body h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  margin-bottom: 10px;
}
.index__body p { color: var(--ink-soft); max-width: 58ch; }

.index__meta {
  align-self: center;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  border: 1px dashed var(--line);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* ---------- 11. Screens: film reel ---------------------------------- */
.strip {
  padding: var(--sect-y) 0;
  background: var(--sand);
  border-block: 1px solid var(--line-soft);
}
.strip__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(30px, 4vw, 48px);
}
.strip__head .sect-title em { display: block; }
.strip__nav { display: flex; gap: 10px; }

.round {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest-800);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.round:hover { background: var(--forest-800); color: var(--peach-500); border-color: var(--forest-800); }

/* Film shell: sprocket bands are fixed to the section, the reel pans inside */
.reel-shell { position: relative; }
.reel-shell__perf {
  position: absolute;
  left: 0; right: 0;
  height: 14px;
  pointer-events: none;
  background:
    repeating-linear-gradient(to right,
      transparent 0 10px,
      rgba(16, 40, 31, .13) 10px 26px,
      transparent 26px 44px);
}
.reel-shell__perf { top: 0; }
.reel-shell__perf--b { top: auto; bottom: 0; }

.reel {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 26px);
  padding: 34px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) 42px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.reel::-webkit-scrollbar { display: none; }
.reel.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.frame {
  flex: none;
  width: clamp(232px, 25vw, 288px);
  margin: 0;
  scroll-snap-align: center;
  transition: transform .35s var(--ease);
}
.frame:nth-child(odd) { transform: translateY(10px); }
.frame:hover { transform: translateY(-4px); }

.frame__shot {
  padding: 8px;
  border-radius: 26px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
}
.frame__shot img {
  width: 100%;
  aspect-ratio: 576 / 1024;            /* native ratio, never distorted */
  object-fit: cover;
  border-radius: 19px;
  background: var(--forest-900);
}
.frame figcaption {
  margin-top: 18px;
  font-size: .88rem;
  color: var(--ink-soft);
}
.frame figcaption b {
  display: block;
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--forest-800);
}

/* ---------- 12. How it works: dashed timeline ----------------------- */
.how { padding: var(--sect-y) 0; }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
}
.steps::before {
  content: "";
  position: absolute;
  top: 18px; left: 8%; right: 8%;
  border-top: 2px dashed var(--line);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step__chip {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 20px;
  border-radius: var(--r-pill);
  background: var(--peach-500);
  color: var(--forest-900);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 0 0 8px var(--cream);
}
.step h3 { font-size: 1.32rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); max-width: 34ch; margin-inline: auto; }

/* ---------- 13. Download curtain ------------------------------------ */
.curtain {
  position: relative;
  padding: clamp(64px, 8vw, 108px) 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(224, 154, 107, .2), transparent 58%),
    linear-gradient(170deg, var(--forest-700), var(--forest-900));
  color: var(--cream);
  overflow: hidden;
}
/* Curtain folds, drawn with CSS only */
.curtain::before,
.curtain::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(60px, 13vw, 190px);
  background: repeating-linear-gradient(90deg,
    rgba(250, 246, 239, .055) 0 10px,
    transparent 10px 30px);
  pointer-events: none;
}
.curtain::before { left: 0; }
.curtain::after { right: 0; transform: scaleX(-1); }

.curtain__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}
.curtain__title {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  margin-bottom: 20px;
}
.curtain__title em { font-style: italic; font-weight: 500; color: var(--peach-500); }
.curtain__lede { max-width: 46ch; color: rgba(250, 246, 239, .78); margin-bottom: 32px; }
.curtain__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.curtain__icon { text-align: center; }
.curtain__icon img {
  width: clamp(140px, 18vw, 190px);
  margin: 0 auto 18px;
  border-radius: 30px;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6);
}
.curtain__icon p { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; }
.curtain__icon span {
  display: block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, .62);
  margin-top: 6px;
}

/* ---------- 14. FAQ accordion --------------------------------------- */
.faq { padding: var(--sect-y) 0; }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: start;
}
.faq .sect-head { margin-bottom: 0; position: sticky; top: 130px; }

.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 6px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  font-weight: 600;
  list-style: none;
  transition: color .2s var(--ease);
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary:hover { color: var(--peach-600); }

.acc__no {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.acc__item[open] .acc__no { background: var(--peach-500); color: var(--forest-900); border-color: transparent; }

.acc__chev { margin-left: auto; color: var(--ink-soft); transition: transform .3s var(--ease); }
.acc__item[open] .acc__chev { transform: rotate(180deg); }

.acc__body {
  padding: 0 6px 24px 66px;
  color: var(--ink-soft);
  animation: fade .3s var(--ease);
}
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- 15. Footer ---------------------------------------------- */
.foot {
  background: var(--forest-900);
  color: rgba(250, 246, 239, .78);
  padding-top: clamp(52px, 6vw, 78px);
}
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 46px);
  padding-bottom: 46px;
}
.foot__brand img { width: 48px; border-radius: 13px; margin-bottom: 16px; }
.foot__name { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--cream); }
.foot__desc { margin-top: 10px; max-width: 38ch; font-size: .9rem; }

.foot__col h3 {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--peach-500);
  margin-bottom: 16px;
}
.foot__col a {
  display: block;
  padding: 6px 0;
  font-size: .92rem;
  transition: color .2s var(--ease);
}
.foot__col a:hover { color: var(--cream); }
.foot__col .btn { margin-top: 14px; }

.foot__base {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  padding-block: 22px 30px;
  border-top: 1px solid rgba(250, 246, 239, .12);
  font-size: .8rem;
  color: rgba(250, 246, 239, .58);
}

/* ---------- 16. Coming-soon modal ----------------------------------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__veil {
  position: absolute;
  inset: 0;
  background: rgba(12, 35, 27, .58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fade .25s var(--ease);
  cursor: pointer;
}
.modal__card {
  position: relative;
  width: min(460px, 100%);
  padding: 40px 34px 32px;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .6);
  text-align: center;
  animation: pop .32s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }

.modal__x {
  position: absolute;
  top: 14px; right: 14px;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  color: var(--ink-soft);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.modal__x:hover { background: var(--sand); color: var(--forest-900); }

.modal__icon { width: 72px; margin: 0 auto 18px; border-radius: 19px; box-shadow: var(--shadow-md); }
.modal__eyebrow {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--peach-600);
}
.modal__title { font-size: 2rem; margin: 10px 0 12px; }
.modal__text { color: var(--ink-soft); font-size: .95rem; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }

/* ---------- 17. Responsive ------------------------------------------ */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .burger { display: flex; }

  .hero__grid { grid-template-columns: 1fr; gap: 46px; }
  .hero__lede { max-width: 60ch; }
  .hero__spine { display: none; }
  .hero__stage { min-height: 460px; }
  .phone--front { width: min(60vw, 260px); }
  .phone--back { width: min(38vw, 168px); right: 6%; }

  .index__row { grid-template-columns: 62px 44px minmax(0, 1fr); }
  .index__meta { grid-column: 3; justify-self: start; margin-top: 4px; }

  .curtain__grid { grid-template-columns: 1fr; text-align: center; }
  .curtain__lede { margin-inline: auto; }
  .curtain__cta { justify-content: center; }

  .faq__grid { grid-template-columns: 1fr; }
  .faq .sect-head { position: static; margin-bottom: 34px; }

  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: span 2; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 96px; }

  .brand__tag { display: none; }
  .nav__actions .btn--peach { display: none; }   /* CTA lives in the drawer */

  .hero__stats { grid-template-columns: repeat(2, minmax(0, auto)); gap: 20px 28px; }
  .hero__stats dt { font-size: 1.6rem; }
  .chip-badge { left: 0; bottom: 8%; font-size: .74rem; }
  .stage__dots { width: 92px; height: 92px; }

  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps::before { top: 0; bottom: 0; left: 50%; right: auto; border-top: 0; border-left: 2px dashed var(--line); }

  .strip__head { flex-direction: column; align-items: flex-start; }

  .index__row { grid-template-columns: 52px minmax(0, 1fr); row-gap: 10px; }
  .index__icon { grid-row: 1; grid-column: 2; }
  .index__body { grid-column: 2; }
  .index__meta { grid-column: 2; }

  .foot__grid { grid-template-columns: 1fr; }
  .foot__brand { grid-column: auto; }

  .store { width: 100%; }
  .hero__cta .store, .curtain__cta .store { justify-content: center; }
}

@media (max-width: 400px) {
  .modal__card { padding: 34px 22px 26px; }
  .modal__actions .btn { width: 100%; }
}

/* ---------- 18. Motion & print preferences -------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ticker__track, .marquee__track { animation: none; }
}

@media print {
  .nav, .ticker, .progress-rail, .modal { display: none; }
  body { background: #fff; }
}
