/* picassoffa.com. One stylesheet for every page. Colors are the app's own
   (SoffaUI/Theme.swift and the app icon).

   Headlines use the app's face: SF Pro Rounded, reached as ui-rounded in
   Safari on iPhone, iPad and Mac. Apple's licence does not allow serving SF
   fonts from a website, so every other browser gets Nunito (OFL), the
   closest free rounded face, self-hosted, latin subset, 700 to 900. */
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #2a2340;
  --ink-2: #5d5672;
  --ink-3: #8a84a0;
  --paper: #fff7f0;
  --card: rgba(255, 255, 255, 0.72);
  --line: rgba(42, 35, 64, 0.1);
  --peach: #ffb86b;
  --orange: #ff7a5c;
  --coral: #ff5a36;
  --pink: #ff5fa2;
  --purple: #7b3fe4;
  --blue: #2440ff;
  --sky: #5bc8f5;
  --green: #1fa463;
  --yellow: #ffd400;
  --grad: linear-gradient(135deg, var(--peach) 0%, var(--orange) 45%, var(--pink) 100%);
  --round: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-lg: 28px;
  --r-md: 20px;
  --shadow: 0 1px 2px rgba(42, 35, 64, 0.06), 0 12px 40px -12px rgba(42, 35, 64, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--round); letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 8px; }

/* ── Background: soft blobs that drift ─────────────────────────────────── */
.sky {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(60% 50% at 90% 0%, rgba(255, 95, 162, 0.18), transparent 70%),
    radial-gradient(50% 40% at 0% 30%, rgba(255, 184, 107, 0.22), transparent 70%),
    var(--paper);
}
.sky i {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55;
  animation: drift 26s ease-in-out infinite alternate;
}
.sky i:nth-child(1) { width: 44vmax; height: 44vmax; left: -12vmax; top: -10vmax; background: var(--peach); }
.sky i:nth-child(2) { width: 36vmax; height: 36vmax; right: -10vmax; top: 8vmax; background: var(--pink); animation-duration: 31s; animation-delay: -8s; }
.sky i:nth-child(3) { width: 26vmax; height: 26vmax; left: 30vmax; top: 52vmax; background: var(--sky); opacity: 0.35; animation-duration: 36s; animation-delay: -14s; }
.sky i:nth-child(4) { width: 22vmax; height: 22vmax; right: 18vmax; bottom: -8vmax; background: var(--purple); opacity: 0.22; animation-duration: 40s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vmax, 4vmax) scale(1.08); }
  100% { transform: translate(-4vmax, 8vmax) scale(0.95); }
}

/* ── Header ────────────────────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(255, 247, 240, 0.7);
  border-bottom: 1px solid transparent;
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--round); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 12px -4px rgba(255, 90, 54, 0.6); }
.top nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; font-weight: 500; }
.top nav a { text-decoration: none; color: var(--ink-2); transition: color 0.2s; }
.top nav a:hover { color: var(--ink); }
.soon {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  font: 600 14px/1 var(--sans); color: #fff; background: var(--ink);
  white-space: nowrap;
}
.soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } }
@media (max-width: 820px) { .top nav { display: none; } .top .soon { margin-left: auto; } }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--card); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--shadow);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.eyebrow b { padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 900; }
.hero h1 em {
  font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 22px; font-size: clamp(18px, 1.7vw, 21px); color: var(--ink-2); max-width: 32em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 14px; border-radius: 18px;
  background: var(--ink); color: #fff; text-decoration: none;
  box-shadow: 0 12px 30px -12px rgba(42, 35, 64, 0.6);
}
.store svg { width: 30px; height: 30px; flex: none; }
.store small { display: block; font-size: 12px; opacity: 0.7; line-height: 1.2; }
.store span { display: block; font: 700 17px/1.2 var(--round); }
.store.light { background: rgba(255, 255, 255, 0.85); color: var(--ink); box-shadow: var(--shadow); }
.note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding: 0; list-style: none; }
.facts li { font-size: 15px; color: var(--ink-2); }
.facts b { display: block; font: 800 26px/1.1 var(--round); color: var(--ink); }
@media (max-width: 900px) {
  .hero { padding-top: 28px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* ── The scene: a TV and a phone, playing one round on a loop ─────────── */
.scene { position: relative; container-type: inline-size; aspect-ratio: 16 / 13.6; }
.tv { position: absolute; left: 0; top: 0; width: 86%; }
.tv-frame {
  aspect-ratio: 16 / 9; padding: 1.4cqw; border-radius: 2.6cqw;
  background: #15131c; box-shadow: 0 40px 80px -30px rgba(42, 35, 64, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.tv-screen {
  position: relative; height: 100%; border-radius: 1.4cqw; overflow: hidden;
  background:
    radial-gradient(40% 50% at 15% 10%, rgba(255, 210, 140, 0.9), transparent 70%),
    radial-gradient(50% 60% at 90% 90%, rgba(255, 150, 120, 0.8), transparent 70%),
    linear-gradient(135deg, #ff8f6b, #ff5f9e);
  font-family: var(--round); color: #fff;
}
.tv-screen::after { /* soft shapes like the app's background */
  content: ""; position: absolute; width: 22cqw; height: 22cqw; right: -6cqw; top: -8cqw; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.tv-bar { position: absolute; left: 3.5cqw; right: 3.5cqw; top: 2.6cqw; display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 2.1cqw; }
.tv-bar span:last-child { font-size: 1.5cqw; padding: 0.5cqw 1.2cqw; border-radius: 99px; background: rgba(90, 20, 60, 0.28); }
.tv-card {
  position: absolute; left: 3.5cqw; top: 7.6cqw; width: 42cqw; height: 31cqw;
  background: #fff; border-radius: 2cqw; box-shadow: 0 2cqw 4cqw -2cqw rgba(90, 20, 60, 0.5);
  display: grid; place-items: center;
  animation: tvcard 10s infinite both;
}
.tv-card .cat { width: 70%; }
.byline {
  position: absolute; left: 1.6cqw; bottom: 1.6cqw; display: flex; align-items: center; gap: 0.8cqw;
  padding: 0.6cqw 1.2cqw 0.6cqw 0.6cqw; border-radius: 99px; background: #fff3dc; color: var(--ink);
  font-size: 1.4cqw; font-weight: 800;
}
.byline em { font-style: normal; padding: 0.3cqw 0.8cqw; border-radius: 99px; background: var(--yellow); }
.guesses { position: absolute; left: 48.5cqw; right: 3.2cqw; top: 7.6cqw; margin: 0; padding: 0; list-style: none; display: grid; gap: 1.1cqw; }
.guesses li {
  display: flex; align-items: center; gap: 1cqw; padding: 1cqw 1.2cqw; border-radius: 1.6cqw;
  background: rgba(80, 18, 60, 0.32); backdrop-filter: blur(6px);
  font-size: 1.45cqw; line-height: 1.15; opacity: 0;
}
.guesses li small { display: block; font-size: 1.1cqw; opacity: 0.8; font-weight: 600; }
.guesses li b { font-size: 1.9cqw; }
.guesses li.miss b { text-decoration: line-through; opacity: 0.75; }
.guesses li i { margin-left: auto; font-style: normal; font-weight: 800; padding: 0.35cqw 0.9cqw; border-radius: 99px; background: #fff; color: var(--ink); font-size: 1.5cqw; }
.guesses li.miss i { background: rgba(255, 255, 255, 0.3); color: #fff; }
.guesses li:nth-child(1) { animation: g1 10s infinite both; }
.guesses li:nth-child(2) { animation: g2 10s infinite both; }
.guesses li:nth-child(3) { animation: g3 10s infinite both; }
.blob { width: 3.6cqw; height: 3.6cqw; flex: none; border-radius: 45% 45% 40% 40%; position: relative; background: var(--c, var(--green)); box-shadow: inset -0.4cqw -0.5cqw 0 rgba(0, 0, 0, 0.12); }
.blob::before, .blob::after { content: ""; position: absolute; top: 34%; width: 22%; height: 26%; border-radius: 50%; background: #1a1625; box-shadow: 0 0 0 0.25cqw #fff; }
.blob::before { left: 22%; }
.blob::after { right: 22%; }
.tv-stand { width: 18%; height: 2.4cqw; margin: 0 auto; background: linear-gradient(#2a2733, #15131c); border-radius: 0 0 1.4cqw 1.4cqw; }

.phone {
  position: absolute; right: 0; bottom: 0; width: 27%; aspect-ratio: 9 / 19.2;
  padding: 1.1cqw; border-radius: 5.4cqw; background: #15131c;
  box-shadow: 0 40px 70px -24px rgba(42, 35, 64, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: bob 10s ease-in-out infinite;
}
.phone-screen {
  position: relative; height: 100%; border-radius: 4.4cqw; overflow: hidden; padding: 6.5cqw 2.2cqw 2.4cqw;
  background: linear-gradient(170deg, #ff8f6b 0%, #ff5f9e 60%, #f04d8c 100%);
  font-family: var(--round); color: #fff; display: flex; flex-direction: column;
}
.phone-screen::before { content: ""; position: absolute; left: 50%; top: 1.6cqw; width: 9cqw; height: 2.4cqw; translate: -50% 0; border-radius: 99px; background: #000; }
.ph-head { display: flex; justify-content: space-between; align-items: flex-end; }
.ph-head small { display: block; font-size: 1.5cqw; opacity: 0.85; font-weight: 600; }
.ph-head b { font-size: 3.6cqw; font-weight: 900; line-height: 1; }
.ph-timer { width: 5.6cqw; height: 5.6cqw; }
.ph-timer circle { fill: none; stroke-width: 4; }
.ph-timer .track { stroke: rgba(255, 255, 255, 0.3); }
.ph-timer .left { stroke: #fff; stroke-linecap: round; stroke-dasharray: 1; transform: rotate(-90deg); transform-origin: center; animation: timer 10s linear infinite both; }
.ph-canvas { margin-top: 2.2cqw; aspect-ratio: 4 / 3.3; background: #fff; border-radius: 2.4cqw; display: grid; place-items: center; box-shadow: 0 1.4cqw 3cqw -1.6cqw rgba(90, 20, 60, 0.6); }
.ph-canvas .cat { width: 82%; }
.ph-tools { display: flex; gap: 0.9cqw; margin-top: 1.8cqw; padding: 0.8cqw; border-radius: 99px; background: rgba(255, 255, 255, 0.35); width: max-content; }
.ph-tools i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--c); }
.ph-tools i:first-child { box-shadow: 0 0 0 0.35cqw #fff; }
.ph-done { margin-top: auto; text-align: center; padding: 1.8cqw; border-radius: 99px; background: var(--green); font-weight: 800; font-size: 2.2cqw; animation: press 10s infinite both; }

.cat path { fill: none; stroke: #111; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.cat .nose { stroke: var(--coral); fill: var(--coral); }
.ph-canvas .cat { animation: wipe 10s infinite both; }
.ph-canvas .cat path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ph-canvas .cat path:nth-child(1) { animation: d1 10s infinite both; }
.ph-canvas .cat path:nth-child(2) { animation: d2 10s infinite both; }
.ph-canvas .cat path:nth-child(3) { animation: d3 10s infinite both; }
.ph-canvas .cat path:nth-child(4) { animation: d4 10s infinite both; }
.ph-canvas .cat path:nth-child(5) { animation: d5 10s infinite both; }
.ph-canvas .cat path:nth-child(6) { animation: d6 10s infinite both; fill-opacity: 0; }
.ph-canvas .cat path:nth-child(7) { animation: d7 10s infinite both; }

@keyframes d1 { 0%, 4% { stroke-dashoffset: 1; } 16%, 100% { stroke-dashoffset: 0; } }
@keyframes d2 { 0%, 16% { stroke-dashoffset: 1; } 21%, 100% { stroke-dashoffset: 0; } }
@keyframes d3 { 0%, 21% { stroke-dashoffset: 1; } 26%, 100% { stroke-dashoffset: 0; } }
@keyframes d4 { 0%, 27% { stroke-dashoffset: 1; } 30%, 100% { stroke-dashoffset: 0; } }
@keyframes d5 { 0%, 30% { stroke-dashoffset: 1; } 33%, 100% { stroke-dashoffset: 0; } }
@keyframes d6 { 0%, 34% { stroke-dashoffset: 1; fill-opacity: 0; } 37% { stroke-dashoffset: 0; fill-opacity: 0; } 39%, 100% { stroke-dashoffset: 0; fill-opacity: 1; } }
@keyframes d7 { 0%, 39% { stroke-dashoffset: 1; } 44%, 100% { stroke-dashoffset: 0; } }
@keyframes wipe { 0%, 90% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes timer { 0% { stroke-dashoffset: 0; } 45%, 100% { stroke-dashoffset: 0.82; } }
@keyframes press { 0%, 45% { transform: scale(1); filter: none; } 47% { transform: scale(0.92); filter: brightness(1.15); } 50%, 100% { transform: scale(1); filter: none; } }
@keyframes tvcard {
  0%, 46% { opacity: 0; transform: translateY(2cqw) scale(0.94) rotate(-2deg); }
  51% { opacity: 1; transform: none; }
  91% { opacity: 1; transform: none; }
  97%, 100% { opacity: 0; transform: scale(0.98); }
}
@keyframes g1 { 0%, 55% { opacity: 0; transform: translateX(3cqw); } 58%, 91% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes g2 { 0%, 63% { opacity: 0; transform: translateX(3cqw); } 66%, 91% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes g3 { 0%, 71% { opacity: 0; transform: translateX(3cqw); } 74%, 91% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-1.2cqw) rotate(3deg); } }

/* Doodles floating around the scene. */
.doodle { position: absolute; pointer-events: none; animation: float 7s ease-in-out infinite; }
.doodle path { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.doodle.star { width: 9cqw; left: -3cqw; bottom: 12cqw; }
.doodle.squig { width: 13cqw; right: 30cqw; bottom: -2cqw; animation-delay: -2s; }
.doodle.heart { width: 7cqw; right: -1cqw; top: 2cqw; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(6deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .ph-canvas .cat path { stroke-dashoffset: 0; }
  .tv-card, .guesses li { opacity: 1; transform: none; }
}

/* ── Sections ──────────────────────────────────────────────────────────── */
section { padding: 88px 0; }
.kicker { font: 700 14px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 900; max-width: 18em; }
.sub { margin-top: 16px; font-size: 19px; color: var(--ink-2); max-width: 36em; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 44px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li {
  position: relative; padding: 26px 24px 28px; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--shadow);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.steps li::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px;
  font: 900 22px/1 var(--round); color: #fff; background: var(--c);
  box-shadow: 0 10px 20px -10px var(--c);
}
.steps li:nth-child(1) { --c: var(--orange); }
.steps li:nth-child(2) { --c: var(--pink); }
.steps li:nth-child(3) { --c: var(--purple); }
.steps li:nth-child(4) { --c: var(--green); }
.steps h3 { font-size: 22px; font-weight: 800; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Screenshots */
.shots { overflow: hidden; }
.reel {
  display: flex; gap: 22px; margin-top: 44px; padding: 10px max(20px, (100% - 1160px) / 2) 34px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel figure { flex: none; margin: 0; scroll-snap-align: center; }
.reel figcaption { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.reel .tvshot img { width: min(640px, 82vw); height: auto; border-radius: 18px; border: 8px solid #15131c; box-shadow: 0 30px 60px -28px rgba(42, 35, 64, 0.6); }
.reel .phoneshot img { width: min(230px, 46vw); height: auto; border-radius: 34px; border: 7px solid #15131c; box-shadow: 0 30px 60px -28px rgba(42, 35, 64, 0.6); }
.hint { font-size: 14px; color: var(--ink-3); }

/* Features */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.feat {
  padding: 26px; border-radius: var(--r-lg); background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--shadow);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.feat .ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--c); margin-bottom: 18px; box-shadow: 0 10px 22px -12px var(--c); }
.feat .ic svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 20px; font-weight: 800; }
.feat p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
.feat.wide { grid-column: span 2; }
@media (max-width: 960px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } .feat.wide { grid-column: auto; } }

/* What you need */
.need {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; margin-top: 44px;
  border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: #fff;
  box-shadow: 0 30px 60px -30px rgba(42, 35, 64, 0.7);
}
.need div { padding: 34px 30px; position: relative; }
.need div + div { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.need svg { width: 44px; height: 44px; stroke: var(--peach); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.need h3 { font-size: 24px; font-weight: 800; }
.need p { margin-top: 8px; color: rgba(255, 255, 255, 0.72); }
.need .price { display: inline-block; margin-top: 16px; padding: 6px 12px; border-radius: 99px; background: var(--grad); font: 800 15px/1 var(--round); color: #fff; }
@media (max-width: 800px) { .need { grid-template-columns: 1fr; } .need div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); } }

/* Word packs */
.packs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin: 40px 0 0; padding: 0; list-style: none; }
.packs li {
  aspect-ratio: 1; border-radius: 24px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between;
  color: #fff; background: var(--c); position: relative; overflow: hidden;
  box-shadow: 0 18px 30px -18px var(--c); transition: transform 0.3s cubic-bezier(.2, .9, .3, 1.4);
}
.packs li:hover { transform: translateY(-4px) rotate(-2deg); }
.packs li::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -22%; bottom: -22%; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.packs svg { width: 34px; height: 34px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.packs b { font: 800 20px/1.1 var(--round); position: relative; z-index: 1; }
.packs small { display: block; font: 600 13px/1.3 var(--sans); opacity: 0.85; }
@media (max-width: 960px) { .packs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .packs { grid-template-columns: repeat(2, 1fr); } }

/* FAQ */
.faq { margin-top: 36px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 700 19px/1.3 var(--round); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(45deg); transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }

/* Closing band */
.band {
  position: relative; overflow: hidden; border-radius: 36px; padding: 64px 48px; text-align: center; color: #fff;
  background: var(--grad); box-shadow: 0 40px 80px -40px rgba(255, 90, 54, 0.8);
}
.band::before, .band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.band::before { width: 340px; height: 340px; left: -120px; top: -160px; }
.band::after { width: 260px; height: 260px; right: -80px; bottom: -140px; }
.band h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 900; position: relative; }
.band p { margin: 14px auto 0; max-width: 30em; font-size: 19px; opacity: 0.92; position: relative; }
.band .ctas { justify-content: center; position: relative; }
.band .store { background: #fff; color: var(--ink); }

/* Footer */
footer { padding: 48px 0 56px; font-size: 15px; color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; gap: 22px; margin-left: auto; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .legal { flex-basis: 100%; font-size: 13px; }

/* Reveal on scroll, where the browser can do it without script. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  }
}

/* ── Text pages (support, privacy) ─────────────────────────────────────── */
.doc { padding: 40px 0 80px; }
.doc article {
  width: min(760px, 100%); margin-inline: auto; padding: clamp(28px, 5vw, 56px);
  border-radius: 32px; background: rgba(255, 255, 255, 0.8); box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.doc h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 900; }
.doc h2 { font-size: 22px; font-weight: 800; margin: 40px 0 10px; color: var(--coral); }
.doc .meta { margin-top: 10px; color: var(--ink-3); font-size: 15px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 10px 0 0; }
.doc li + li { margin-top: 10px; }
.doc li strong { color: var(--ink); }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 52px 0 8px; }
.doc a { color: var(--coral); }
