/* ─────────────────────────────────────────────────────────────────
   ALTER — design tokens
   ───────────────────────────────────────────────────────────────── */
:root {
  --bg: #0a0a0b;
  --bg-2: #0f0f11;
  --surface: #141416;
  --surface-2: #1b1b1e;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f0ea;
  --muted: #9b978f;
  --dim: #6c6963;
  --accent: #ff5a1f;
  --accent-2: #ff7a45;
  --accent-soft: rgba(255, 90, 31, 0.14);

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1280px;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* film grain */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ─── type ─── */
.display {
  font-size: clamp(44px, 6.6vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 700;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 700;
  text-wrap: balance;
}
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; color: #d9d5ce; text-wrap: pretty; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--accent); }

/* ─── buttons ─── */
.btn {
  --h: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--h);
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn .arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn--sm { --h: 38px; padding: 0 14px; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 90, 31, 0.6); }
.btn--primary:not(:disabled):hover { background: var(--accent-2); box-shadow: 0 14px 40px -10px rgba(255, 90, 31, 0.75); }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); }
.btn--text { height: auto; padding: 8px 4px; color: var(--muted); font-weight: 500; }
.btn--text:hover { color: var(--text); }

.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d8d4cc;
  background: rgba(10, 10, 11, 0.4);
  backdrop-filter: blur(6px);
}

/* ─── reveal ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
.hero [data-reveal]:nth-child(2) { --d: 80ms; }
.hero [data-reveal]:nth-child(3) { --d: 160ms; }
.hero [data-reveal]:nth-child(4) { --d: 220ms; }
.hero [data-reveal]:nth-child(5) { --d: 280ms; }
.hero__visual[data-reveal] { --d: 200ms; transform: translateY(28px) scale(0.98); }
.hero__visual[data-reveal].is-visible { transform: none; }

/* ─────────────────────────────────────────────────────────────────
   NAV
   ───────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(10, 10, 11, 0.55), rgba(10, 10, 11, 0));
}
.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { font-weight: 800; letter-spacing: 0.32em; font-size: 15px; }
.logo--sm { font-size: 12px; }
.nav__links { display: flex; gap: 32px; font-size: 14px; color: var(--muted); }
.nav__links a { position: relative; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

/* ─────────────────────────────────────────────────────────────────
   COMPARE SLIDER
   ───────────────────────────────────────────────────────────────── */
.compare {
  --pos: 50%;
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  isolation: isolate;
}
.compare__layer { position: absolute; inset: 0; }
.compare__layer > svg,
.compare__layer > img,
.compare__layer > div > svg,
.compare__layer > div > img { width: 100%; height: 100%; object-fit: cover; }
.compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.35);
  z-index: 3;
}
.compare__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(12, 12, 13, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-style: normal;
  font-size: 18px;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.compare__knob i { font-style: normal; line-height: 1; margin-top: -2px; }
.compare:hover .compare__knob,
.compare.is-dragging .compare__knob { transform: translate(-50%, -50%) scale(1.1); background: var(--accent); border-color: var(--accent); }
.compare__label {
  position: absolute;
  top: 16px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(8, 8, 9, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  transition: opacity 0.3s;
  pointer-events: none;
}
.compare__label--before { left: 16px; }
.compare__label--after { right: 16px; background: var(--accent); }
.compare.is-before-hidden .compare__label--before,
.compare.is-after-hidden .compare__label--after { opacity: 0; }

/* real photos */
.photo { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.compare__layer, .hero__after { container-type: size; overflow: hidden; }
.compare .photo--aligned {
  position: absolute;
  max-width: none;
  width: calc(var(--z) * 100%);
  height: auto;
  left: calc(var(--tx) * 100% - var(--fx) * var(--z) * 100%);
  top: calc(38cqh - var(--fy) * var(--z) * var(--ar) * 100cqw);
}
.pack-item__media > .photo { transform: scale(var(--zoom, 1)); }
.pack-item:hover .pack-item__media > .photo { transform: scale(calc(var(--zoom, 1) * 1.05)); }

/* hero variant */
.compare--hero { aspect-ratio: 4 / 5; }
.hero__after { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__after.is-active { opacity: 1; }
.hero__after > svg, .hero__after > img { width: 100%; height: 100%; object-fit: cover; }

/* ─────────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px 0 80px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 75% 40%, rgba(255, 90, 31, 0.13), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(255, 255, 255, 0.04), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.hero__copy { display: grid; gap: 22px; }
.hero__copy .display { margin-top: 4px; }
.hero__copy .muted { max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.hero__visual { position: relative; max-width: 520px; width: 100%; justify-self: end; }
.hero__flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__flow i { font-style: normal; color: var(--dim); }
.hero__flow .accent { color: var(--accent); font-weight: 500; }
.hero__flow span:last-child { color: var(--text); }
.hero__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; color: var(--dim); }
.hero__dots { display: flex; gap: 6px; }
.hero__dots button { width: 26px; height: 3px; border-radius: 2px; background: var(--line-2); transition: background 0.3s, width 0.4s var(--ease); }
.hero__dots button[aria-selected='true'] { background: var(--accent); width: 40px; }
.hero__dots button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; width: 22px; height: 36px; margin-left: -11px;
  border: 1px solid var(--line-2); border-radius: 12px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 1px;
  background: var(--text); animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ─────────────────────────────────────────────────────────────────
   SECTIONS
   ───────────────────────────────────────────────────────────────── */
.section { position: relative; padding: clamp(80px, 12vw, 160px) 0; }
.section--tight { padding-top: clamp(40px, 6vw, 80px); }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section__head--split {
  max-width: none;
  grid-template-columns: 1fr 1fr;
  gap: 32px 64px;
  align-items: end;
}
.section__head--split > div { display: grid; gap: 18px; justify-items: start; }
.hint { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.hint__icon {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--accent); animation: nudge 2.4s var(--ease) infinite;
}
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

/* ─── transformations ─── */
.lineup {
  display: grid;
  grid-template-columns: 1.15fr auto repeat(5, 1fr);
  align-items: end;
  gap: 12px;
}
.lineup__item { margin: 0; display: grid; gap: 10px; }
.lineup__item > img, .lineup__item > svg {
  width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow);
  transition: transform 0.8s var(--ease), filter 0.5s;
  filter: saturate(0.95) brightness(0.92);
}
.lineup__item:hover > img, .lineup__item:hover > svg { transform: translateY(-6px); filter: none; }
.lineup__item figcaption { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; display: flex; gap: 8px; align-items: baseline; }
.lineup__item figcaption .mono { color: var(--accent); font-weight: 400; }
.lineup__item--you > img { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), var(--shadow); filter: none; }
.lineup__item--you figcaption .mono { color: var(--text); }
.lineup__more-box {
  display: flex; flex-direction: column; justify-content: center; gap: 4px; aspect-ratio: 3 / 4; padding: 14px;
  border-radius: 10px; border: 1px dashed var(--line-2); background: var(--surface); overflow: hidden;
  font-size: 12.5px; color: var(--dim); transition: border-color 0.3s, background 0.3s;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.lineup__more-box span:nth-child(odd) { color: var(--muted); }
.lineup__more-box strong { margin-top: 6px; font-size: 16px; color: var(--accent); letter-spacing: -0.01em; }
.lineup__more figcaption { font-size: 14px; font-weight: 600; }
.lineup__arrow { align-self: center; color: var(--accent); font-size: 28px; padding: 0 6px 30px; }

.traits { display: flex; flex-wrap: wrap; gap: 6px; }
.traits li {
  font-size: 12.5px; color: var(--muted); padding: 5px 10px; border: 1px solid var(--line);
  border-radius: 6px; background: rgba(255, 255, 255, 0.015);
}

/* ─── ticker ─── */
.ticker {
  display: flex; align-items: center; gap: 20px; overflow: hidden; padding: 18px 0;
  border-block: 1px solid var(--line); background: var(--bg-2);
}
.ticker__label { flex: none; padding-left: var(--gutter); color: var(--accent); }
.ticker__viewport {
  flex: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track { display: flex; align-items: center; gap: 22px; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { font-size: clamp(18px, 2vw, 26px); font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; color: #d6d2ca; }
.ticker__track i { font-style: normal; color: var(--accent); font-size: 12px; }
@keyframes ticker { to { transform: translateX(-50%); } }
/* ─── identity ─── */
.identity { overflow: hidden; }
.identity__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.identity__copy { display: grid; gap: 20px; }
.identity__copy .muted { max-width: 48ch; }
.legend { display: flex; gap: 22px; font-size: 14px; color: var(--muted); margin-top: 6px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--keep { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.dot--change { background: transparent; border: 1px solid var(--text); }

.orbit { --r: clamp(150px, 21vw, 270px); position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: center; display: grid; place-items: center; }
.orbit__ring { position: absolute; width: calc(var(--r) * 2); aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 80s linear infinite; }
.orbit__ring--2 { width: calc(var(--r) * 1.55); border-style: solid; border-color: var(--line); animation-direction: reverse; animation-duration: 120s; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit__portrait { position: relative; width: calc(var(--r) * 1.18); z-index: 1; }
.compare--orbit { aspect-ratio: 4 / 5; border-radius: 12px; }
.compare--orbit .compare__label { top: 10px; font-size: 9.5px; padding: 5px 7px; }
.compare--orbit .compare__label--before { left: 10px; }
.compare--orbit .compare__label--after { right: 10px; }
.compare--orbit .compare__knob { width: 38px; height: 38px; font-size: 15px; }
.orbit__labels li {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(16, 16, 18, 0.85);
  backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(var(--a)) translate(var(--r)) rotate(calc(var(--a) * -1)) scale(0.7);
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
}
.orbit__labels li::before {
  content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%;
  border: 1px solid currentColor; vertical-align: 1px;
}
.orbit__labels li.is-keep { color: #fff; border-color: rgba(255, 90, 31, 0.6); background: rgba(255, 90, 31, 0.18); }
.orbit__labels li.is-keep::before { background: var(--accent); border-color: var(--accent); }
.orbit.is-visible .orbit__labels li { opacity: 1; transform: translate(-50%, -50%) rotate(var(--a)) translate(var(--r)) rotate(calc(var(--a) * -1)); }
.orbit.is-visible .orbit__labels li { animation: float 6s ease-in-out infinite; }
.orbit__labels li:nth-child(1) { transition-delay: 0.1s; animation-delay: 0s; }
.orbit__labels li:nth-child(2) { transition-delay: 0.18s; animation-delay: -0.8s; }
.orbit__labels li:nth-child(3) { transition-delay: 0.26s; animation-delay: -1.6s; }
.orbit__labels li:nth-child(4) { transition-delay: 0.34s; animation-delay: -2.4s; }
.orbit__labels li:nth-child(5) { transition-delay: 0.42s; animation-delay: -3.2s; }
.orbit__labels li:nth-child(6) { transition-delay: 0.5s; animation-delay: -4s; }
.orbit__labels li:nth-child(7) { transition-delay: 0.58s; animation-delay: -4.8s; }
.orbit__labels li:nth-child(8) { transition-delay: 0.66s; animation-delay: -5.6s; }
@keyframes float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -6px; }
}
.equation {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 10px 22px;
  margin-top: clamp(56px, 8vw, 96px); padding-top: 40px; border-top: 1px solid var(--line);
  font-size: clamp(24px, 3.4vw, 44px); letter-spacing: -0.035em; font-weight: 600; color: var(--muted);
}
.equation i { font-style: normal; color: var(--accent); }
.equation strong { color: var(--text); }

/* ─── how it works ─── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step {
  position: relative; display: grid; align-content: start; gap: 10px;
  padding: 18px 18px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.step__visual { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #000; margin-bottom: 18px; position: relative; }
.step__num {
  font-size: clamp(56px, 6vw, 88px); line-height: 0.8; font-weight: 800; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28);
}
.step__title { font-size: 28px; letter-spacing: -0.03em; font-weight: 700; margin-top: 8px; }
.step__lead { font-weight: 600; }
.step .muted { font-size: 15px; }

.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; height: 100%; padding: 4px; background: #0b0b0c; }
.mini { position: relative; overflow: hidden; border-radius: 6px; opacity: 0.55; transition: opacity 0.3s; }
.mini > svg, .mini > img { width: 100%; height: 100%; }
.mini span {
  position: absolute; left: 8px; bottom: 6px; font-size: 11px; font-weight: 600; text-shadow: 0 1px 6px #000;
}
.mini.is-picked { opacity: 1; box-shadow: inset 0 0 0 2px var(--accent); }
.mini.is-picked::after {
  content: '✓'; position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); font-size: 11px; font-weight: 700;
}
.upload-stack { position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, #1c1c1f, #0a0a0b); }
.upload-stack__item {
  position: absolute; top: 50%; left: 50%; width: 42%; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden;
  border: 3px solid #f2efe9; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -50%) translateX(calc((var(--i) - 1.5) * 26%)) rotate(calc((var(--i) - 1.5) * 7deg));
  transition: transform 0.6s var(--ease);
}
.upload-stack__item > svg, .upload-stack__item > img { width: 100%; height: 100%; }
.step:hover .upload-stack__item { transform: translate(-50%, -50%) translateX(calc((var(--i) - 1.5) * 36%)) rotate(calc((var(--i) - 1.5) * 10deg)); }
.upload-stack__badge {
  position: absolute; bottom: 12px; left: 12px; padding: 5px 8px; border-radius: 5px; background: rgba(0, 0, 0, 0.6); color: #fff;
}
.step-result { position: absolute; inset: 0; }
.step-result > svg, .step-result > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.step:hover .step-result > svg, .step:hover .step-result > img { transform: scale(1.05); }
.step-result span { position: absolute; bottom: 12px; left: 12px; padding: 5px 8px; border-radius: 5px; background: var(--accent); color: #fff; }

/* ─── packs ─── */
.pack-head {
  display: flex; align-items: baseline; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
.pack-head strong { font-size: 22px; letter-spacing: -0.02em; }
.pack-head .mono:first-child { color: var(--accent); }
.pack-count { margin-left: auto; color: var(--muted); }
.pack-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.pack-item { margin: 0; display: grid; gap: 10px; grid-template-rows: 1fr auto; }
.pack-item__media { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 9 / 16; background: #000; box-shadow: var(--shadow); }
.pack-item__media > svg, .pack-item__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pack-item:hover .pack-item__media > svg { transform: scale(1.05); }
.pack-item figcaption { font-size: 14px; color: #d4d0c8; display: flex; gap: 10px; align-items: center; }
.pack-item figcaption .mono { color: var(--dim); }
.poster {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: 16px; text-align: center; background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 45%, rgba(0, 0, 0, 0.5));
}
.poster strong { font-size: clamp(18px, 2vw, 28px); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; margin-top: auto; }
.poster .mono { font-size: 9px; color: #e6e1d8; }
.poster .mono:last-child { margin-top: 6px; color: var(--accent); }
.social-ov { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 12px; background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 50%); }
.social-ov .mono { font-size: 9.5px; color: #fff; }
.social-ov__ring {
  position: absolute; top: 12px; left: 12px; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--accent); box-shadow: inset 0 0 0 2px #000; background: rgba(255, 255, 255, 0.2);
}

/* ─── share ─── */
.share__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.share__copy { display: grid; gap: 20px; }
.share__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; transition: background 0.25s, border-color 0.25s;
}
.chip-btn:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.3); }
.chip-btn .arrow { transition: transform 0.3s var(--ease); }
.chip-btn:hover .arrow { transform: translateX(3px); }
.chip-btn--accent { border-color: rgba(255, 90, 31, 0.6); color: #ffb08d; }
.share__kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-top: 10px; }

.phones { position: relative; height: 640px; display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; height: 620px; border-radius: 44px; padding: 10px; z-index: 1;
  background: #1a1a1c; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 100px -20px rgba(0, 0, 0, 0.9), inset 0 0 0 2px #2a2a2d;
}
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 14px; background: #000; z-index: 3; }
.phone--back { position: absolute; left: 50%; top: 40px; transform: translateX(-112%) rotate(-7deg); opacity: 0.85; z-index: 0; width: 260px; height: 540px; }
.phone__screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
.feed__bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 18px; padding: 50px 0 10px; font-size: 13px; background: linear-gradient(#000 60%, transparent); }
.feed__track { padding-top: 84px; animation: feed 32s linear infinite; }
.phones:hover .feed__track { animation-play-state: paused; }
@keyframes feed { to { transform: translateY(-50%); } }
.post { padding-bottom: 16px; font-size: 12.5px; }
.post__head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; }
.post__avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #5b1f17); box-shadow: 0 0 0 2px #000, 0 0 0 3px var(--accent); }
.post__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.post__media > svg, .post__media > img { width: 100%; height: 100%; }
.post__badge { position: absolute; bottom: 8px; left: 8px; font-size: 8.5px; padding: 4px 6px; border-radius: 4px; background: rgba(0, 0, 0, 0.6); }
.post__actions { display: flex; gap: 14px; padding: 10px 12px 4px; font-size: 18px; }
.post__save { margin-left: auto; }
.post__likes { padding: 0 12px; font-weight: 700; }
.post__caption { padding: 2px 12px 0; color: #ddd; }
.reel { position: absolute; inset: 0; }
.reel > svg, .reel > img { width: 100%; height: 100%; }
.reel__ui { position: absolute; left: 14px; right: 60px; bottom: 26px; font-size: 12px; text-shadow: 0 1px 6px #000; }
.reel__side { position: absolute; right: 10px; bottom: 30px; display: grid; gap: 14px; text-align: center; font-size: 20px; }
.reel__side small { display: block; font-size: 9.5px; margin-top: 2px; }

/* ─── demo ─── */
.demo {
  position: relative; overflow: hidden; border-radius: 22px; min-height: 560px; display: flex; align-items: center;
  border: 1px solid var(--line); background: #000;
}
.demo__montage, .final__montage { position: absolute; inset: -60px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.montage__strip { position: relative; overflow: hidden; height: 100%; will-change: transform; }
.montage__strip > svg, .montage__strip > img { width: 100%; height: 100%; }
.demo__montage { opacity: 0.55; }
.demo__montage::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.2));
}
.demo__content { position: relative; display: grid; gap: 22px; justify-items: start; max-width: 620px; padding: clamp(32px, 6vw, 80px); }

/* ─── pricing ─── */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 20px; }
.plan {
  position: relative; display: grid; gap: 22px; align-content: start; padding: 32px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
}
.plan--pro { border-color: rgba(255, 90, 31, 0.45); background: linear-gradient(180deg, rgba(255, 90, 31, 0.08), var(--surface) 40%); box-shadow: 0 30px 80px -40px rgba(255, 90, 31, 0.5); }
.plan__badge { position: absolute; top: 32px; right: 32px; color: var(--accent); }
.plan__name { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.plan__price strong { font-size: 56px; letter-spacing: -0.05em; font-weight: 700; line-height: 1; }
.plan__price span { color: var(--muted); margin-left: 6px; }
.plan__list { display: grid; gap: 12px; padding: 22px 0; border-block: 1px solid var(--line); }
.plan__list li { display: flex; gap: 12px; align-items: center; color: #dcd8d0; font-size: 15.5px; }
.plan__list li::before { content: ''; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23ff5a1f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* ─── faq ─── */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faq .section__head { position: sticky; top: 100px; margin: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0;
  font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; letter-spacing: -0.015em; cursor: pointer; list-style: none;
  transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-2); font-weight: 400; font-size: 18px; transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s;
}
.faq__item summary:hover { color: #fff; }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.faq__body { padding: 0 48px 26px 0; color: var(--muted); animation: faq 0.45s var(--ease); }
@keyframes faq { from { opacity: 0; transform: translateY(-6px); } }

/* ─── final ─── */
.final { position: relative; min-height: 92svh; display: flex; align-items: center; overflow: hidden; text-align: center; border-top: 1px solid var(--line); }
.final__montage { opacity: 0.65; }
.final__shade {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(10, 10, 11, 0.55), rgba(10, 10, 11, 0.96) 85%),
    linear-gradient(to bottom, var(--bg), transparent 25%, transparent 75%, var(--bg));
}
.final__content { position: relative; display: grid; gap: 24px; justify-items: center; }
.display--final { font-size: clamp(48px, 9vw, 148px); max-width: 12ch; }

/* ─── footer ─── */
.footer { padding: 64px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 2fr auto; gap: 40px; padding-bottom: 48px; }
.footer__grid .muted { margin-top: 10px; font-size: 15px; }
.footer__links { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px 40px; font-size: 14px; color: var(--muted); }
.footer__social { display: flex; gap: 22px; font-size: 14px; }
.footer a:hover { color: var(--text); }
.footer__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }

/* ─── mobile sticky CTA ─── */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(10, 10, 11, 0.98) 60%, rgba(10, 10, 11, 0));
  transform: translateY(110%); transition: transform 0.45s var(--ease);
}
.mobile-cta.is-visible { transform: none; }

/* ─────────────────────────────────────────────────────────────────
   MODAL
   ───────────────────────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(4, 4, 5, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.35s var(--ease); }
.modal__panel {
  position: relative; width: min(960px, 100%); max-height: calc(100svh - 48px); overflow: auto; overscroll-behavior: contain;
  border-radius: 18px; border: 1px solid var(--line-2); background: #111113; box-shadow: 0 60px 140px -30px rgba(0, 0, 0, 0.95);
  opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__head {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 24px; padding: 18px 24px;
  border-bottom: 1px solid var(--line); background: rgba(17, 17, 19, 0.92); backdrop-filter: blur(10px);
}
.modal__progress { display: flex; gap: 6px; margin: 0 auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.modal__progress li { display: flex; align-items: center; gap: 8px; }
.modal__progress li + li::before { content: ''; width: 28px; height: 1px; background: var(--line-2); margin-right: 2px; }
.modal__progress li.is-active { color: var(--text); }
.modal__progress li.is-done { color: var(--accent); }
.modal__close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 13px; transition: background 0.2s; }
.modal__close:hover { background: rgba(255, 255, 255, 0.08); }
.modal__body { padding: clamp(22px, 4vw, 40px); }
.mstep { display: grid; gap: 12px; }
.mstep[hidden] { display: none; }
.mstep.is-entering { animation: stepIn 0.5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } }
.mstep__title { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; }
.mstep__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.mstep__foot-right { display: flex; gap: 12px; align-items: center; }

.pick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.pick {
  position: relative; display: grid; text-align: left; border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  background: var(--surface); transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.pick:hover { transform: translateY(-3px); border-color: var(--line-2); }
.pick[aria-checked='true'] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px -20px rgba(255, 90, 31, 0.5); }
.pick__media { aspect-ratio: 4 / 5; overflow: hidden; }
.pick__media > svg, .pick__media > img { width: 100%; height: 100%; transition: transform 0.8s var(--ease); }
.pick:hover .pick__media > svg, .pick:hover .pick__media > img { transform: scale(1.05); }
.pick__body { display: grid; gap: 2px; padding: 12px 14px 14px; }
.pick__body strong { font-size: 15px; letter-spacing: -0.01em; }
.pick__body .muted { font-size: 12px; }
.pick__check {
  position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); font-size: 13px; font-weight: 700; transform: scale(0); transition: transform 0.3s var(--ease);
}
.pick[aria-checked='true'] .pick__check { transform: scale(1); }

.upload { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; margin-top: 14px; }
.dropzone {
  display: grid; place-items: center; align-content: center; gap: 6px; min-height: 240px; padding: 24px; text-align: center; cursor: pointer;
  border: 1.5px dashed var(--line-2); border-radius: 14px; background: rgba(255, 255, 255, 0.015); transition: border-color 0.25s, background 0.25s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--accent); background: var(--accent-soft); }
.dropzone__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--surface-2); border: 1px solid var(--line-2); margin-bottom: 6px; }
.dropzone strong { font-size: 18px; }
.dropzone .muted { font-size: 14px; }
.dropzone__count { margin-top: 10px; color: var(--dim); }
.dropzone__count.is-good { color: var(--accent); }
.tips { padding: 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; align-content: start; gap: 14px; }
.tips .mono { color: var(--muted); }
.tips ul { display: grid; gap: 10px; }
.tips li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.tips li::before { content: '✓'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 700; }
.tips__privacy { font-size: 12.5px; color: var(--dim); margin-top: 6px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.thumbs:empty { display: none; }
.thumb { position: relative; margin: 0; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #000; animation: stepIn 0.4s var(--ease); }
.thumb > img, .thumb > svg { width: 100%; height: 100%; object-fit: cover; }
.thumb__remove { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, 0.7); font-size: 10px; opacity: 0; transition: opacity 0.2s; }
.thumb:hover .thumb__remove, .thumb__remove:focus-visible { opacity: 1; }

.render { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; min-height: 420px; }
.render__scan { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.render__scan > div, .render__scan > div > svg, .render__scan > div > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.render__scan > div { filter: blur(22px) grayscale(1) brightness(0.6); transform: scale(1.1); }
.render.is-resolving .render__scan > div { animation: resolve 5s var(--ease) forwards; }
@keyframes resolve {
  0% { filter: blur(22px) grayscale(1) brightness(0.6); transform: scale(1.1); }
  60% { filter: blur(6px) grayscale(0.4) brightness(0.85); }
  100% { filter: none; transform: none; }
}
.render__line { position: absolute; left: 0; right: 0; height: 2px; background: var(--accent); box-shadow: 0 0 30px 6px rgba(255, 90, 31, 0.5); animation: scan 1.8s ease-in-out infinite alternate; }
@keyframes scan { from { top: 4%; } to { top: 96%; } }
.render__copy { display: grid; gap: 22px; }
.stages { display: grid; gap: 14px; }
.stages li { display: flex; align-items: center; gap: 12px; color: var(--dim); transition: color 0.3s; font-size: 16px; }
.stages li::before { content: ''; width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); transition: all 0.3s; }
.stages li.is-active { color: var(--text); }
.stages li.is-active::before { border-color: var(--accent); border-top-color: transparent; animation: spin 0.8s linear infinite; }
.stages li.is-done { color: var(--muted); }
.stages li.is-done::before { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.bar { height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 1.2s var(--ease); }

.result { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 40px); align-items: center; }
.compare--result { aspect-ratio: 4 / 5; }
.result__copy { display: grid; gap: 14px; }
.result__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

/* ─────────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav__links { gap: 22px; }
  .lineup { grid-template-columns: repeat(6, 1fr); }
  .pack-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px; scrollbar-width: none;
  }
  .pack-grid::-webkit-scrollbar { display: none; }
  .pack-item { flex: 0 0 min(30%, 220px); scroll-snap-align: start; }
  .lineup__arrow { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__social { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero { padding-top: 96px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; max-width: 480px; }
  .scroll-cue { display: none; }
  .identity__grid, .share__grid, .faq { grid-template-columns: 1fr; }
  .faq .section__head { position: static; }
  .steps { grid-template-columns: 1fr; max-width: 560px; }
  .section__head--split { grid-template-columns: 1fr; }
  .orbit { max-width: 560px; }
  .pick-grid { grid-template-columns: repeat(2, 1fr); }
  .render, .result { grid-template-columns: 1fr; }
  .render__scan { max-width: 320px; margin: 0 auto; width: 100%; }
  .compare--result { max-width: 420px; width: 100%; margin: 0 auto; }
  .mobile-cta { display: block; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .btn--lg { --h: 52px; padding: 0 20px; font-size: 15px; }
  .cta-row .btn { flex: 1 1 100%; }
  .hero__flow { gap: 8px; font-size: 10px; letter-spacing: 0.1em; }
  .compare--hero { aspect-ratio: 4 / 5; }
  .compare__label { top: 12px; font-size: 9.5px; padding: 6px 8px; }
  .compare__label--before { left: 12px; }
  .compare__label--after { right: 12px; }

  /* transformation cards become vertical */

  .lineup {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px; scrollbar-width: none;
  }
  .lineup::-webkit-scrollbar { display: none; }
  .lineup__item { flex: 0 0 38%; scroll-snap-align: start; }
  .lineup__item figcaption { font-size: 12.5px; }
  .ticker__track span { font-size: 17px; }


  .orbit { --r: 36vw; }
  .orbit__labels li { font-size: 8.5px; padding: 5px 8px; letter-spacing: 0.1em; }
  .orbit__labels li::before { width: 5px; height: 5px; margin-right: 5px; }
  .orbit__portrait { width: 50vw; }
  .compare--orbit .compare__label { display: none; }

  .pack-item figcaption { font-size: 12.5px; }

  .phones { height: 560px; }
  .phone { width: 270px; height: 540px; }
  .phone--back { display: none; }

  .demo { min-height: 520px; align-items: flex-end; }
  .demo__montage::after { background: linear-gradient(to top, rgba(0, 0, 0, 0.96) 35%, rgba(0, 0, 0, 0.3)); }
  .demo__content .btn { width: 100%; }
  .pricing { grid-template-columns: 1fr; }
  .plan { padding: 24px; }
  .plan__badge { top: 24px; right: 24px; }
  .faq__body { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: repeat(2, auto); }

  .modal { padding: 0; place-items: end stretch; }
  .modal__panel { max-height: 94svh; border-radius: 18px 18px 0 0; transform: translateY(40px); }
  .modal__head { padding: 14px 16px; gap: 12px; }
  .modal__progress li { font-size: 0; gap: 0; }
  .modal__progress li::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
  .modal__progress li.is-active::after, .modal__progress li.is-done::after { background: var(--accent); }
  .modal__progress li + li::before { width: 18px; margin-right: 6px; }
  .pick-grid { gap: 8px; }
  .pick__body { padding: 10px; }
  .pick__body strong { font-size: 13.5px; }
  .upload { grid-template-columns: 1fr; }
  .dropzone { min-height: 190px; }
  .mstep__foot { flex-direction: column-reverse; align-items: stretch; }
  .mstep__foot-right { flex-direction: column-reverse; align-items: stretch; }
  .mstep__foot .btn--primary { width: 100%; }
}

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