/* ─── Design Tokens ─────────────────────────────────────────────── */
:root {
  --bg-page:        #f5f7fb;
  --bg-elevated:    rgba(255,255,255,.78);
  --bg-card:        rgba(255,255,255,.88);
  --bg-muted:       #eaeff8;
  --border-soft:    rgba(15,23,42,.08);
  --border-strong:  rgba(15,23,42,.14);
  --text-main:      #132033;
  --text-muted:     #526072;
  --text-subtle:    #738195;
  --accent:         #0f6ba8;
  --accent-strong:  #0b4f85;
  --accent-soft:    #d7eaf8;
  --shadow-soft:    0 20px 50px rgba(11,30,50,.08);
  --shadow-strong:  0 24px 70px rgba(8,26,43,.16);
  --hero-gradient:  radial-gradient(circle at top, rgba(121,191,241,.28), transparent 42%),
                    linear-gradient(180deg, #f6f9fd 0%, #f3f6fb 100%);
  --font-body:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display:   "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --container-max:  1200px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-page:        #07111c;
    --bg-elevated:    rgba(9,19,31,.82);
    --bg-card:        rgba(10,23,37,.9);
    --bg-muted:       #0b1724;
    --border-soft:    rgba(155,184,211,.12);
    --border-strong:  rgba(155,184,211,.22);
    --text-main:      #e8f0f7;
    --text-muted:     #a6b5c5;
    --text-subtle:    #8d9cad;
    --accent:         #7dc7f3;
    --accent-strong:  #a8dbff;
    --accent-soft:    rgba(125,199,243,.14);
    --shadow-soft:    0 20px 50px rgba(0,0,0,.22);
    --shadow-strong:  0 28px 80px rgba(0,0,0,.34);
    --hero-gradient:  radial-gradient(circle at top, rgba(60,138,191,.24), transparent 36%),
                      linear-gradient(180deg, #0a1420 0%, #07111c 100%);
  }
}

/* ─── Fade-in ────────────────────────────────────────────────────── */
.fade-in-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Reset & Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6,
.eyebrow,
.badge,
.brand-mark {
  font-family: var(--font-display);
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Layout ─────────────────────────────────────────────────────── */
.container {
  width: min(100%, calc(var(--container-max) + 48px));
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-muted { background: var(--bg-muted); }

/* ─── Typography ─────────────────────────────────────────────────── */
.eyebrow {
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-heading { max-width: 640px; margin-bottom: 48px; }
.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.section-heading p { color: var(--text-muted); font-size: 1.05rem; }
.overview-heading h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.9rem);
}

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 650;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--text-main);
  color: var(--bg-page);
  padding: 14px 22px;
}
.btn-secondary {
  padding: 10px 18px;
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-main);
}

/* ─── Badge ──────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: .9rem;
  font-weight: 650;
}

/* ─── Navigation ─────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--bg-page) 88%, transparent);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 60px;
}
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex: 1 1 auto;
}
.nav-menu a {
  color: var(--text-muted);
  font-size: .95rem;
  font-weight: 560;
  white-space: nowrap;
  transition: color .2s ease, opacity .2s ease;
}
.nav-menu a:hover { color: var(--text-main); }
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}
.brand-mark img { border-radius: 10px; width: 44px; height: 44px; }

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  background: var(--hero-gradient);
  padding-top: 32px;
  padding-bottom: 80px;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(320px,520px);
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 5.3rem);
  line-height: .96;
  letter-spacing: -.05em;
  max-width: 11ch;
  margin: 18px 0 20px;
}
.hero-lede {
  max-width: 560px;
  font-size: 1.18rem;
  color: var(--text-muted);
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.hero-support {
  color: var(--text-subtle);
  font-size: .95rem;
  margin-top: 10px;
}
.hero-stat-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.hero-stat-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-weight: 520;
}
.hero-stat-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}
.hero-visual {
  --hero-phone-main: min(42vw, 268px);
  --hero-phone-height: min(91.3vw, 583px);
  --hero-cluster-width: min(100%, 520px);
  --hero-phone-side-scale: .76;
  --hero-phone-left-shift: -64%;
  --hero-phone-right-shift: 58%;
  --hero-phone-left-drop: 34px;
  --hero-phone-right-drop: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transform: translateY(-12px);
}
.hero-mockups {
  position: relative;
  display: grid;
  justify-content: center;
  align-items: start;
  width: var(--hero-cluster-width);
  min-height: var(--hero-phone-height);
  perspective: 1200px;
  transition: opacity .16s ease;
}
.hero-mockup {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  grid-area: 1 / 1;
  width: var(--hero-phone-main);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.06)), #0a1420;
  border: 1px solid rgba(210,229,246,.46);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 20px 48px rgba(0,0,0,.28);
  cursor: pointer;
  padding: 5px;
  overflow: hidden;
  transform: translateY(var(--hero-phone-left-drop)) scale(var(--hero-phone-side-scale)) rotate(-6deg);
  transform-origin: center top;
  transition: transform .38s cubic-bezier(.2,.8,.2,1), box-shadow .24s ease, border-color .24s ease, opacity .24s ease, filter .24s ease;
}
.hero-mockup img {
  width: 100%;
  border-radius: 30px;
  transition: opacity .16s ease;
}
.hero-mockups.is-switching { opacity: .72; }
.hero-mockup[data-position="center"] {
  z-index: 3;
  transform: translateY(-4px);
  cursor: default;
  filter: none;
  opacity: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 30px 72px rgba(0,0,0,.38);
}
.hero-mockup[data-position="left"],
.hero-mockup[data-position="right"] {
  z-index: 2;
  opacity: .92;
  filter: brightness(.98);
}
.hero-mockup[data-position="left"] {
  transform: translateX(var(--hero-phone-left-shift)) translateY(var(--hero-phone-left-drop)) scale(var(--hero-phone-side-scale)) rotate(-6deg);
}
.hero-mockup[data-position="right"] {
  transform: translateX(var(--hero-phone-right-shift)) translateY(var(--hero-phone-right-drop)) scale(var(--hero-phone-side-scale)) rotate(6deg);
}
.hero-mockup:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.hero-mockup:disabled {
  pointer-events: none;
}
.screenshot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(198,218,236,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.screenshot-toggle button {
  min-width: 58px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font: 650 .88rem/1 var(--font-body);
  transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.screenshot-toggle button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--accent) 18%, white 82%);
  color: #0b2135;
  box-shadow: 0 6px 18px rgba(0,0,0,.16);
}
.screenshot-toggle button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.screenshot-selector {
  display: none;
  align-items: center;
  gap: 6px;
}
.screenshot-selector button {
  min-height: 32px;
  border: 1px solid rgba(198,218,236,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--text-muted);
  cursor: pointer;
  font: 650 .82rem/1 var(--font-body);
  padding: 0 11px;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.screenshot-selector button[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: rgba(125,199,243,.3);
  color: var(--accent-strong);
}
.screenshot-selector button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .hero-mockup[data-position="left"]:hover {
    transform: translateX(var(--hero-phone-left-shift)) translateY(calc(var(--hero-phone-left-drop) - 3px)) scale(var(--hero-phone-side-scale)) rotate(-6deg);
    border-color: color-mix(in srgb, var(--accent) 10%, var(--border-strong) 90%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.36), 0 24px 54px rgba(0,0,0,.34);
    filter: brightness(1.04);
    opacity: .98;
  }

  .hero-mockup[data-position="right"]:hover {
    transform: translateX(var(--hero-phone-right-shift)) translateY(calc(var(--hero-phone-right-drop) - 3px)) scale(var(--hero-phone-side-scale)) rotate(6deg);
    border-color: color-mix(in srgb, var(--accent) 10%, var(--border-strong) 90%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.36), 0 24px 54px rgba(0,0,0,.34);
    filter: brightness(1.04);
    opacity: .98;
  }
}

/* ─── Overview Cards ─────────────────────────────────────────────── */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
.overview-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  background: color-mix(in srgb, var(--bg-card) 94%, white 6%);
  border: 1px solid color-mix(in srgb, var(--border-strong) 42%, white 58%);
  border-radius: 28px;
  padding: 28px 28px 26px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.36), 0 16px 36px rgba(11,30,50,.07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}
.overview-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 12px;
  color: color-mix(in srgb, var(--text-main) 56%, var(--text-muted) 44%);
  background: color-mix(in srgb, var(--bg-page) 52%, transparent);
}
.overview-card-emphasis .overview-icon {
  color: color-mix(in srgb, var(--accent-strong) 28%, var(--text-main) 72%);
}
.overview-card h3 {
  font-size: 1.14rem;
  line-height: 1.18;
  letter-spacing: -.03em;
  max-width: 14ch;
  margin-bottom: 8px;
}
.overview-card p {
  color: var(--text-muted);
  max-width: 31ch;
}
@media (hover: hover) and (pointer: fine) {
  .overview-card:hover {
    transform: translateY(-2px);
    background: color-mix(in srgb, var(--bg-card) 98%, white 2%);
    border-color: color-mix(in srgb, var(--accent) 8%, var(--border-strong) 92%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.44), 0 20px 44px rgba(11,30,50,.1);
  }
}

/* ─── Feature Stories ────────────────────────────────────────────── */
.feature-stack { display: grid; gap: 20px; }
.feature-story {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,400px);
  gap: 48px;
  align-items: center;
  padding: 32px 0;
}
.feature-story-reverse {
  grid-template-columns: minmax(280px,400px) minmax(0,1fr);
}
.feature-story-reverse .feature-story-copy  { order: 2; }
.feature-story-reverse .feature-story-visual { order: 1; }
.feature-story-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  margin-bottom: 16px;
}
.feature-story-copy p:last-child { color: var(--text-muted); max-width: 52ch; }
.feature-story-visual { display: flex; justify-content: center; }
.feature-picture {
  width: min(100%, 300px);
  border-radius: 38px;
  background: color-mix(in srgb, var(--bg-card) 92%, white 8%);
  border: 1px solid color-mix(in srgb, var(--border-soft) 52%, white 48%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 14px 30px rgba(7,17,28,.07);
  padding: 10px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-picture img {
  width: 100%;
  border-radius: 34px;
}
@media (hover: hover) and (pointer: fine) {
  .feature-picture:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--accent) 10%, var(--border-strong) 90%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 18px 38px rgba(7,17,28,.1);
  }
}

/* ─── Privacy Section ────────────────────────────────────────────── */
.section-privacy { background: var(--bg-muted); }
.trust-shell {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,460px);
  gap: 36px;
  align-items: start;
}
.privacy-list {
  display: grid;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.privacy-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-main);
  font-weight: 520;
}
.privacy-check { color: var(--accent); line-height: 1.3; font-weight: 700; }

/* ─── Download CTA ───────────────────────────────────────────────── */
.cta-shell {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 30px;
  padding: 48px;
  box-shadow: var(--shadow-strong);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.cta-shell h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 12px 0 16px;
}
.cta-shell p { color: var(--text-muted); max-width: 50ch; margin: 0 auto; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.note { color: var(--text-subtle); font-size: .9rem; margin-top: 16px; margin-bottom: 20px; }

/* ─── FAQ ────────────────────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}
.faq-item h3 {
  font-size: 1.08rem;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.faq-item p { color: var(--text-muted); }
.faq-item a { color: var(--accent); text-decoration: underline; }

/* ─── Premium Variables ──────────────────────────────────────────── */
:root {
  --premium:        #a06820;
  --premium-strong: #7a4e10;
  --premium-soft:   rgba(160,104,32,.09);
  --premium-border: rgba(160,104,32,.22);
}

@media (prefers-color-scheme: dark) {
  :root {
    --premium:        #f0aa4a;
    --premium-strong: #ffc870;
    --premium-soft:   rgba(240,170,74,.11);
    --premium-border: rgba(240,170,74,.22);
  }
}

/* ─── Premium Features ───────────────────────────────────────────── */
.premium-eyebrow { color: var(--premium) !important; }

.premium-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}

.premium-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-top: 2px solid var(--premium-border);
  border-radius: 28px;
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

.premium-card-icon {
  width: 50px;
  height: 50px;
  background: var(--premium-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--premium);
  flex-shrink: 0;
}

.premium-card h3 {
  font-size: 1.25rem;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: 6px;
}

.premium-card p { color: var(--text-muted); }

@media (hover: hover) and (pointer: fine) {
  .faq-item:hover,
  .premium-card:hover {
    transform: translateY(-2px);
    background: color-mix(in srgb, var(--bg-card) 98%, white 2%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.44), 0 20px 44px rgba(11,30,50,.1);
  }

  .faq-item:hover {
    border-color: color-mix(in srgb, var(--accent) 8%, var(--border-strong) 92%);
  }

  .premium-card:hover {
    border-color: color-mix(in srgb, var(--premium) 12%, var(--border-strong) 88%);
    border-top-color: color-mix(in srgb, var(--premium) 40%, var(--premium-border) 60%);
  }
}

/* ─── Builder / About card ───────────────────────────────────────── */
.builder-card {
  border: 1px solid var(--border-soft);
  border-radius: 30px;
  padding: 40px;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  box-shadow: var(--shadow-soft);
  max-width: 760px;
}
.builder-card h2 {
  font-size: clamp(1.8rem,4vw,2.7rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  margin-bottom: 14px;
}
.builder-card p { color: var(--text-muted); }
.builder-note { margin-top: 14px; }

/* ─── Footer ─────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border-soft);
  padding: 40px 0 52px;
}
.footer-shell {
  display: grid;
  gap: 14px;
  text-align: center;
}
.footer-brand { font-size: 1.1rem; font-weight: 700; }
.footer-tagline,
.footer-meta,
.footer-disclaimer { color: var(--text-muted); font-size: .95rem; }
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-legal a { text-decoration: underline; color: var(--text-muted); }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-shell,
  .feature-story,
  .feature-story-reverse,
  .trust-shell,
  .overview-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .feature-story-reverse .feature-story-copy,
  .feature-story-reverse .feature-story-visual { order: initial; }
  .hero-copy h1 { max-width: none; }
  .hero-visual {
    --hero-phone-main: min(42vw, 284px);
    --hero-phone-height: min(91.3vw, 617px);
    --hero-cluster-width: min(100%, 500px);
    --hero-phone-side-scale: .72;
    --hero-phone-left-shift: -57%;
    --hero-phone-right-shift: 52%;
  }
  .overview-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .premium-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .nav-inner {
    flex-wrap: wrap;
    justify-content: center;
    min-height: 68px;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .nav-menu {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .nav-menu::-webkit-scrollbar { display: none; }
  .btn-secondary { display: none; }
  .section { padding: 56px 0; }
  .hero { padding-top: 40px; padding-bottom: 56px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual {
    --hero-phone-main: min(74vw, 292px);
    --hero-phone-height: min(161vw, 635px);
    --hero-cluster-width: var(--hero-phone-main);
    gap: 14px;
    margin-top: 8px;
    transform: none;
  }
  .hero-mockups {
    width: var(--hero-cluster-width);
    min-height: var(--hero-phone-height);
  }
  .hero-mockup[data-position="left"],
  .hero-mockup[data-position="right"] {
    display: none;
  }
  .screenshot-selector {
    display: inline-flex;
  }
  .feature-picture { width: min(100%, 280px); }
  .overview-card,
  .faq-item,
  .builder-card,
  .cta-shell,
  .privacy-list { padding: 22px; }
  .overview-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .premium-grid { grid-template-columns: 1fr; }
  .cta-shell { padding: 32px 22px; }
  footer { padding-bottom: max(52px, calc(32px + env(safe-area-inset-bottom))); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mockups,
  .hero-mockup,
  .hero-mockup img,
  .screenshot-selector button,
  .screenshot-toggle button {
    transition-duration: .01ms;
  }
}

/* ── Scroll-to-top button ───────────────────────────────────────────────── */
.scroll-top-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--accent) 72%, white 28%) 0%,
    color-mix(in srgb, var(--accent) 90%, var(--accent-strong) 10%) 100%
  );
  color: #f7fbff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px color-mix(in srgb, var(--accent-strong) 26%, transparent);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.96);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease, background .18s ease, box-shadow .18s ease;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.scroll-top-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid color-mix(in srgb, var(--accent-soft) 38%, white 62%);
  pointer-events: none;
}

.scroll-top-btn:hover {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--accent) 64%, white 36%) 0%,
    color-mix(in srgb, var(--accent) 84%, var(--accent-strong) 16%) 100%
  );
  box-shadow: 0 18px 36px color-mix(in srgb, var(--accent-strong) 32%, transparent);
  transform: translateY(0) scale(1);
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-btn svg {
  display: block;
  width: 24px;
  height: 24px;
}

.scroll-top-btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 72%, white 28%);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .scroll-top-btn {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}
