/* ==========================================================================
   StkAufnahme landing — tokens mirror the app (src/theme/index.ts)
   ========================================================================== */

@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(../fonts/poppins-700.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 800; font-display: swap; src: url(../fonts/poppins-800.woff2) format('woff2'); }

:root {
  /* colors.* */
  --bg: #ffffff;
  --card: #f2f2f3;
  --text: #0a0a0a;
  --text-2: #6b7280;
  --muted: #6e7684;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #eaf1ff;
  --border: #e5e7eb;
  --navy: #0a1f44;
  --success: #16a34a;
  /* Paywall.tsx accent */
  --pay: #0052cc;
  --pay-soft: #f5f8ff;
  /* gradients.brand */
  --grad: linear-gradient(120deg, #60a5fa 0%, #2563eb 48%, #1e3a8a 100%);

  --r-lg: 20px;
  --r-xl: 28px;
  --pill: 999px;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1120px;
  --gutter: max(20px, env(safe-area-inset-left));
}

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

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

body {
  margin: 0;
  font: 400 17px/1.55 Poppins, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
.nowrap { white-space: nowrap; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

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

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  padding: 10px 16px; border-radius: var(--pill);
  background: var(--text); color: #fff; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

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

/* ── Platform / store switches ──────────────────────────────────────────────
   <html data-platform="ios|android|desktop" data-play="live|soon"> is set in
   <head> before first paint; everything below just reads it. */
html:not([data-platform="ios"]) .only-ios,
html:not([data-platform="android"]) .only-android,
html:not([data-platform="desktop"]) .only-desktop,
html[data-play="soon"] .play-live,
html[data-play="live"] .play-soon { display: none !important; }

/* ── Type ─────────────────────────────────────────────────────────────── */
.eyebrow {
  margin-bottom: 14px;
  font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.h2 {
  font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; line-height: 1.06; letter-spacing: -.032em;
}
.lead {
  max-width: 620px; margin: 18px auto 0;
  font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--text-2);
}
.chip {
  display: inline-flex; align-items: center;
  padding: 7px 14px; border-radius: var(--pill);
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.chip--blue { background: var(--accent-soft); color: var(--accent); }

/* ── Nav (glass, like apple.com) ─────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: calc(56px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .07);
}
.nav__inner {
  display: flex; align-items: center; gap: 28px; height: 56px;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto; padding-inline: var(--gutter);
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; letter-spacing: -.01em; text-decoration: none;
}
.nav__brand img { border-radius: 7px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a {
  font-size: 14px; font-weight: 500; text-decoration: none; opacity: .75;
  transition: opacity .2s;
}
.nav__links a:hover { opacity: 1; }
.nav__cta {
  padding: 7px 17px; border-radius: var(--pill);
  background: #111; color: #fff; font-size: 13px; font-weight: 600; text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s;
}
.nav__cta:hover { background: #2a2a2d; }
.nav__cta:active { transform: scale(.96); }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}

/* ── 3D pill button (AppButton.tsx: 60px face, 8px depth, glossy sweep) ─── */
.btn3d {
  position: relative; display: inline-block;
  padding-bottom: 8px; border-radius: var(--pill);
  text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.btn3d::before {
  content: ''; position: absolute; inset: auto 0 0; height: 60px;
  border-radius: var(--pill); background: #000;
}
.btn3d__face {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 60px; min-width: 280px; padding: 0 36px;
  border-radius: var(--pill);
  background: #2a2a2d; border-top: 1px solid rgba(255, 255, 255, .16);
  color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .2px;
  overflow: hidden;
  transition: transform 80ms ease, background-color .2s;
}
.btn3d__face { gap: 12px; }
.btn3d__logo { flex: none; width: 24px; height: 24px; margin-top: -3px; }  /* optical centre: the apple's leaf sits high */
.btn3d:hover .btn3d__face { background: #333337; }
.btn3d:active .btn3d__face { transform: translateY(8px); }
.btn3d:focus-visible { outline-offset: 5px; border-radius: var(--pill); }
.btn3d__face::after {
  content: ''; position: absolute; top: -70%; left: 0;
  width: 70px; height: 240%;
  background: rgba(255, 255, 255, .18);
  transform: translateX(-180px) rotate(25deg);
  animation: shine 5.2s cubic-bezier(.2, .7, .2, 1) 1.8s infinite;
}
@keyframes shine {
  0% { transform: translateX(-180px) rotate(25deg); }
  18%, 100% { transform: translateX(520px) rotate(25deg); }
}

/* ── Store badges ─────────────────────────────────────────────────────── */
.badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.badges--stack { flex-direction: column; align-items: flex-start; }
.badge { position: relative; display: inline-flex; transition: transform .25s var(--ease); }
.badge img { display: block; width: auto; height: 50px; }
a.badge:hover { transform: translateY(-2px); }
.badge--soon img { opacity: .35; filter: grayscale(1); }
.badge--soon em {
  position: absolute; top: -9px; right: -8px;
  padding: 3px 9px; border-radius: var(--pill);
  background: var(--accent); color: #fff;
  font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}

.soon {
  display: inline-flex; align-items: center; gap: 12px; max-width: 420px;
  padding: 14px 20px; border-radius: 18px;
  background: var(--accent-soft); color: #1e3a8a;
  font-size: 15px; line-height: 1.45; text-align: left;
}
.soon strong { font-weight: 700; }
.soon__dot {
  flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, .45); }
  70% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.cta__note { margin-top: 14px; font-size: 13px; font-weight: 500; color: var(--muted); }

/* ── Phone frame ──────────────────────────────────────────────────────────
   Screens are real app screenshots with the status bar and Dynamic Island
   baked in, so the frame only draws the bezel. */
.phone {
  position: relative;
  padding: 1.9%;
  border-radius: 15.5% / 7.2%;
  background: linear-gradient(145deg, #2c2c30, #0d0d0f 40%, #1c1c1f);
  box-shadow:
    inset 0 0 0 1px #4a4a50,
    inset 0 0 0 2.5px #0b0b0c,
    0 50px 90px -30px rgba(10, 31, 68, .45),
    0 24px 40px -24px rgba(0, 0, 0, .45);
}
.phone::before, .phone::after {           /* side buttons */
  content: ''; position: absolute; width: 1.2%; border-radius: 2px;
  background: linear-gradient(90deg, #3a3a3e, #1a1a1c);
}
.phone::before { left: -1%; top: 22%; height: 9%; }
.phone::after { right: -1%; top: 27%; height: 14%; }

.phone__screen {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 1179 / 2556;
  border-radius: 13.9% / 6.5%;
  background: var(--bg-screen, var(--bg, #fff));
  transition: background-color .6s var(--ease);
}
.phone__screen > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* shorter (cropped) screenshots: keep proportions and fade into the screen colour */
.phone__screen.is-cut > img { height: auto; }
.phone__screen.is-cut::after,
.stack.is-cut::after {
  content: ''; position: absolute; inset: auto 0 0; height: 26%; z-index: 2;
  background: linear-gradient(to bottom, transparent, var(--bg) 62%);
  pointer-events: none;
}

/* ── Reveal on scroll ─────────────────────────────────────────────────── */
.js .reveal {
  opacity: 0; transform: translateY(32px); filter: blur(8px);
  transition:
    opacity .9s var(--ease),
    transform 1.1s var(--ease),
    filter .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  contain: paint;                            /* overflow alone doesn't clip the 3D-tilted phone in Chrome */
  padding-top: calc(104px + env(safe-area-inset-top));
  text-align: center;
}
.hero__bg {                                  /* backdrop fades out before the hero's edge */
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 360px), transparent calc(100% - 40px));
  mask-image: linear-gradient(to bottom, #000 calc(100% - 360px), transparent calc(100% - 40px));
}
.hero__grid {                                /* the app's PathBackground dot grid */
  position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(126, 151, 196, .42) 1.2px, transparent 1.6px) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 32%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 32%, #000 25%, transparent 78%);
}
.hero__glow {
  position: absolute; left: 50%; top: 46%;
  width: min(1000px, 140vw); aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(37, 99, 235, .22), rgba(96, 165, 250, .12) 45%, transparent 72%);
  pointer-events: none;
}
.hero__copy { position: relative; z-index: 4; }
.hero__chip { animation: fadeUp .9s var(--ease) .05s both; }
.hero__title {
  margin-top: 20px;
  font-size: clamp(42px, 10.4vw, 108px); font-weight: 800; line-height: 1.02; letter-spacing: -.038em;
}
.hero__title .w {
  display: inline-block;
  animation: wordIn 1.05s var(--ease) both;
  animation-delay: calc(var(--i) * 95ms + 140ms);
}
.hero__title .w--grad {
  display: block; width: fit-content; margin-inline: auto;
  padding-bottom: .06em;                     /* keep the gradient-clipped descenders */
  background: var(--grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: wordIn 1.05s var(--ease) both, gradShift 7s ease-in-out 1.4s infinite alternate;
  animation-delay: calc(var(--i) * 95ms + 140ms), 1.4s;
}
.hero__lead {
  max-width: 640px; margin: 22px auto 0;
  font-size: clamp(17px, 2.2vw, 21px); color: var(--text-2);
  animation: fadeUp 1s var(--ease) .55s both;
}
.hero__cta { margin-top: 36px; animation: fadeUp 1s var(--ease) .75s both; }

.hero__stage {
  position: relative; z-index: 2;
  width: 100%; max-width: 900px;             /* wide, so the floating cards stay inside the mask */
  margin: 52px auto -230px;                  /* the lower 230px sit below the hero and get clipped */
  /* The phone fades out through its own alpha, ending exactly at the hero's
     bottom edge. A white overlay on top did the same job but lost the z-order
     fight against the phone's compositing layer on Chrome mobile (hard seam). */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 470px), transparent calc(100% - 230px));
  mask-image: linear-gradient(to bottom, #000 calc(100% - 470px), transparent calc(100% - 230px));
  animation: stageIn 1.5s var(--ease) .5s both;
}
/* 2D on purpose: a rotateX tilt made the phone intersect the z=0 plane, and
   Chrome depth-sorted its lower half in front of the hero fade (hard seam). */
.phone--hero {
  width: min(340px, 74vw); margin-inline: auto;
  transform-origin: 50% 0;
  transform: translateY(var(--lift, 48px)) scale(var(--scale, .9));
  will-change: transform;
}

.floater {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px 11px 11px; border-radius: 18px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 16px 44px -10px rgba(10, 31, 68, .22), inset 0 1px 0 rgba(255, 255, 255, .9);
  text-align: left; white-space: nowrap;
  translate: 0 var(--py, 0px);
}
.floater strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.2; }
.floater small { display: block; font-size: 12px; font-weight: 500; color: var(--text-2); }
.floater__icon {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  color: #fff; font-size: 16px; font-weight: 700;
}
.floater__icon--green { background: var(--success); }
.floater__icon--blue { background: var(--accent); font-size: 15px; }
.floater--left { right: calc(50% + 110px); top: 16%; }
.floater--right { left: calc(50% + 110px); top: 40%; }

@media (max-width: 720px) {
  .floater { padding: 8px 12px 8px 8px; border-radius: 14px; }
  .floater strong { font-size: 13px; }
  .floater small { font-size: 11px; }
  .floater__icon { width: 28px; height: 28px; font-size: 13px; }
  .floater--left { left: calc(50% - 41vw); right: auto; top: 12%; }
  .floater--right { right: calc(50% - 41vw); left: auto; top: 36%; }
}

@media (max-width: 600px) {                /* keep the phone peeking into the first screen */
  .hero { padding-top: calc(84px + env(safe-area-inset-top)); }
  .hero__title { margin-top: 16px; }
  .hero__lead { margin-top: 16px; }
  .hero__cta { margin-top: 26px; }
  .hero__stage { margin-top: 30px; }
}

@keyframes wordIn {
  from { opacity: 0; transform: translateY(.38em); filter: blur(14px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes stageIn {
  from { opacity: 0; transform: translateY(90px); }
  to { opacity: 1; transform: none; }
}
@keyframes gradShift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

/* ── Stats ────────────────────────────────────────────────────────────── */
.stats {
  position: relative; z-index: 4;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  padding-block: 150px 120px;
  text-align: center;
}
.stat__num {
  display: block;
  font-size: clamp(42px, 5.6vw, 70px); font-weight: 800; line-height: 1; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { display: block; margin-top: 12px; font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--text-2); }

@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 44px 16px; padding-block: 130px 90px; }
}

/* ── Story: sticky phone, crossfading screens ─────────────────────────── */
.story {
  margin-inline: clamp(8px, 1.4vw, 20px);
  padding-block: 130px 90px;
  border-radius: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(1100px 620px at 78% 8%, rgba(37, 99, 235, .45), transparent 62%),
    radial-gradient(800px 500px at 0% 100%, rgba(96, 165, 250, .16), transparent 60%),
    linear-gradient(180deg, var(--navy), #06142c);
  color: #fff;
}
.story__head { text-align: center; }
.story .eyebrow { color: #93c5fd; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 30px; }

.step {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 86vh; max-width: 460px;
  opacity: .26; transition: opacity .6s var(--ease);
}
.step.is-active { opacity: 1; }
.step__kicker { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #60a5fa; }
.step__title {
  margin: 12px 0 16px;
  font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; line-height: 1.1; letter-spacing: -.025em;
}
.step__text { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.phone--inline { display: none; }

.story__stage { position: relative; }
.story__sticky {
  position: sticky; top: calc(50vh - 350px);
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.phone--stage { width: 300px; }
.stack > img {
  position: absolute; inset: 0 0 auto; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  opacity: 0; transform: scale(1.045); filter: blur(8px);
  transition: opacity .75s var(--ease), transform 1s var(--ease), filter .75s var(--ease);
}
.stack > img[data-cut] { height: auto; }
.stack > img.is-active { opacity: 1; transform: none; filter: none; }

.story__dots { display: flex; gap: 8px; }
.story__dots span {
  width: 8px; height: 8px; border-radius: var(--pill);
  background: rgba(255, 255, 255, .28);
  transition: width .45s var(--ease), background-color .45s;
}
.story__dots span.is-active { width: 26px; background: #fff; }

@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__stage { display: none; }
  .step { min-height: 0; max-width: none; padding-block: 44px; opacity: 1; text-align: center; }
  .step__text { max-width: 520px; margin-inline: auto; }
  .phone--inline { display: block; width: min(270px, 70vw); margin: 36px auto 0; }
}

/* ── Kolleg marquee ───────────────────────────────────────────────────── */
.kollegs { padding-block: 150px 120px; text-align: center; overflow: hidden; }
.marquee {
  display: grid; gap: 14px; margin-top: 52px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__row { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee__row--reverse { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__track { display: flex; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none; }
.marquee__track li {
  padding: 14px 22px; border-radius: var(--pill);
  background: var(--card);
  font-size: 15px; font-weight: 600; white-space: nowrap; color: #1d1d1f;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── How it works ─────────────────────────────────────────────────────── */
.how { padding-block: 40px 150px; }
.how__head { text-align: center; }
.how__list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin: 52px 0 0; padding: 0; list-style: none;
}
.card {
  padding: 32px 28px 30px; border-radius: var(--r-xl);
  background: var(--card);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(10, 31, 68, .35); }
.card__num {                                  /* the 3D button, miniature */
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #2a2a2d; color: #fff; font-size: 17px; font-weight: 700;
  box-shadow: 0 4px 0 #000, inset 0 1px 0 rgba(255, 255, 255, .16);
}
.card h3 { margin: 24px 0 8px; font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.card p { font-size: 16px; color: var(--text-2); }

@media (max-width: 860px) { .how__list { grid-template-columns: 1fr; } }

/* ── Pricing (paywall styling) ────────────────────────────────────────── */
.pricing {
  margin-inline: clamp(8px, 1.4vw, 20px);
  padding-block: 130px 110px;
  border-radius: clamp(28px, 4vw, 44px);
  background: #f5f6f8;
}
.pricing__head { text-align: center; }
.plans {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 900px; margin: 56px auto 0;
}
.plan {
  position: relative;
  padding: 30px 26px 26px; border-radius: var(--r-lg);
  background: #fff; border: 2px solid var(--border);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(10, 31, 68, .3); }
.plan--selected { border-color: var(--pay); background: var(--pay-soft); }
.plan__badge {
  position: absolute; top: -13px; left: 22px;
  padding: 5px 12px; border-radius: var(--pill);
  background: var(--pay); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.plan__badge--best { background: #2a2a2d; }
.plan__name { font-size: 17px; font-weight: 600; }
.plan__price { margin: 10px 0 4px; font-size: 36px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.plan__per { font-size: 14px; font-weight: 500; color: var(--text-2); }
.pricing__fine {
  max-width: 740px; margin: 40px auto 0;
  font-size: 13px; line-height: 1.65; color: var(--muted); text-align: center;
}

@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; max-width: 420px; gap: 22px; }
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { max-width: calc(840px + 2 * var(--gutter)); padding-block: 150px 110px; }
.faq__head { text-align: center; margin-bottom: 40px; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: 19px; font-weight: 600; line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ''; flex: none; width: 11px; height: 11px; margin-right: 4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  opacity: .55; transform: translateY(-3px) rotate(45deg);
  transition: transform .4s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(3px) rotate(225deg); }
.faq__body { padding-bottom: 24px; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.faq__item[open] .faq__body { animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* ── Final CTA ────────────────────────────────────────────────────────── */
.final {
  padding-block: 110px 150px; text-align: center;
  background: radial-gradient(900px 440px at 50% 100%, rgba(37, 99, 235, .13), transparent 70%);
}
.final__inner { display: flex; flex-direction: column; align-items: center; }
.final__icon { border-radius: 26px; box-shadow: 0 24px 50px -14px rgba(37, 99, 235, .5); }
.final__title { margin-top: 30px; }
.final__cta { margin-top: 40px; }

.download { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; }
.qr {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 22px 16px 16px; border-radius: 24px;
  background: var(--card); text-align: left;
}
.qr img { width: 112px; height: 112px; padding: 10px; border-radius: 14px; background: #fff; }
.qr p { max-width: 190px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.qr strong { display: block; margin-bottom: 4px; font-size: 16px; font-weight: 700; color: var(--text); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer { padding-block: 30px calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer__brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.footer__brand img { border-radius: 6px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__links a { font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none; }
.footer__links a:hover { color: var(--text); }
.footer__legal { margin-top: 18px; font-size: 12px; line-height: 1.55; color: var(--muted); }

/* ── Reduced motion: everything visible, nothing moves ───────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .marquee { overflow-x: auto; }
  .marquee__row { animation: none; }
  .phone--hero { transform: none; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}
