/*
 * PhotoSwipe — marketing site.
 * Design tokens live in :root. Light is the base; dark applies under
 * prefers-color-scheme unless the visitor picked light, and [data-theme="dark"]
 * forces it. Brand colors are sampled from the app (AccentColor + launch gradient).
 */

:root {
  --pink: #fa5473;          /* app AccentColor */
  --orange: #ff945c;        /* launch / button gradient start */
  --keep: #2fbf63;
  --toss: #f0433f;
  --grad: linear-gradient(120deg, var(--orange), var(--pink));
  /* Deeper stops for surfaces that carry white text: both ends clear 4.5:1. */
  --grad-text: linear-gradient(120deg, #cf4a24, #d42a50);
  /* Display-size headings only need 3:1; these stops keep the brand's brightness. */
  --grad-heading: linear-gradient(120deg, #ea6432, #f04a6c);

  --bg: #fff8f5;            /* warm paper */
  --bg-alt: #fff0ec;
  --surface: #ffffff;
  --surface-2: #fbefec;
  --line: rgba(60, 20, 30, 0.1);
  --text: #1d1418;
  --muted: #6a5c63;
  --accent-text: #c9284a;   /* pink darkened to 4.9:1 on paper for body-size text */
  --keep-text: #1c8546;
  --toss-text: #c62b28;
  --shadow: 0 24px 60px -20px rgba(120, 30, 50, 0.28);
  --glow-a: rgba(250, 84, 115, 0.22);
  --glow-b: rgba(255, 148, 92, 0.2);

  --radius: 22px;
  --display: "Bricolage Grotesque", ui-rounded, system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #120c10;
    --bg-alt: #1a1117;
    --surface: #1f161c;
    --surface-2: #281c24;
    --line: rgba(255, 220, 230, 0.1);
    --text: #f8eef2;
    --muted: #b7a6af;
    --accent-text: #ff7a93;
    --keep-text: #58d98a;
    --toss-text: #ff7a76;
    --shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.7);
    --glow-a: rgba(250, 84, 115, 0.2);
    --glow-b: rgba(255, 148, 92, 0.12);
    --grad-heading: var(--grad);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #120c10;
  --bg-alt: #1a1117;
  --surface: #1f161c;
  --surface-2: #281c24;
  --line: rgba(255, 220, 230, 0.1);
  --text: #f8eef2;
  --muted: #b7a6af;
  --accent-text: #ff7a93;
  --keep-text: #58d98a;
  --toss-text: #ff7a76;
  --shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.7);
  --glow-a: rgba(250, 84, 115, 0.2);
  --glow-b: rgba(255, 148, 92, 0.12);
  --grad-heading: var(--grad);
  color-scheme: dark;
}

/* ── Base ─────────────────────────────────────────────────────────────── */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.04; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 8px; }

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

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 13px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--grad);
}

.gradient-text {
  background: var(--grad-heading);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 650 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--grad-text); color: #fff;
  box-shadow: 0 12px 28px -10px rgba(250, 84, 115, 0.6);
}
.btn-primary:hover { box-shadow: 0 16px 34px -10px rgba(250, 84, 115, 0.75); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ── Top bar ──────────────────────────────────────────────────────────── */

.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 20px;
  padding: 12px max(16px, calc((100% - 1160px) / 2));
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font: 800 19px/1 var(--display); letter-spacing: -0.02em;
}
.brand img { border-radius: 9px; box-shadow: 0 4px 12px -4px rgba(250, 84, 115, 0.5); }
.topnav { display: flex; gap: 22px; margin-inline-start: auto; }
.topnav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.topnav a:hover, .topnav a[aria-current="page"] { color: var(--text); }
.topbar .btn { margin-inline-start: 4px; }
.topbar .push { margin-inline-start: auto; }

.themetoggle {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); cursor: pointer;
}
.themetoggle svg { width: 18px; height: 18px; }
.themetoggle .i-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .themetoggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .themetoggle .i-moon { display: none; }
}
:root[data-theme="dark"] .themetoggle .i-sun { display: block; }
:root[data-theme="dark"] .themetoggle .i-moon { display: none; }

@media (max-width: 860px) {
  .topnav { display: none; }
  .topbar .themetoggle { margin-inline-start: auto; }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none;
}
.hero::before {
  width: 720px; height: 720px; right: -220px; top: -260px;
  background: radial-gradient(circle, var(--glow-a), transparent 65%);
}
.hero::after {
  width: 640px; height: 640px; left: -260px; bottom: -300px;
  background: radial-gradient(circle, var(--glow-b), transparent 65%);
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.hero h1 { font-size: clamp(46px, 7.2vw, 92px); font-weight: 800; margin: 18px 0 22px; }
.hero h1 .gradient-text { display: inline-block; padding-bottom: 0.08em; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px;
  font-size: 14px; color: var(--muted);
}
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--keep-text); }

@media (max-width: 900px) {
  .hero { padding: 40px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .lede { margin-inline: auto; }
  .hero-cta, .hero-note { justify-content: center; }
}

/* ── Phone + interactive deck ─────────────────────────────────────────── */

.demo { display: grid; justify-items: center; gap: 18px; }

.phone {
  position: relative;
  width: min(340px, 86vw);
  aspect-ratio: 1206 / 2622;
  padding: 11px;
  border-radius: 54px;
  background: linear-gradient(145deg, #3a3237, #0f0b0d 45%, #2a2327);
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
.phone > .screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 44px; background: var(--surface);
}
.phone > .screen > img { width: 100%; height: 100%; object-fit: cover; }
.phone .island {
  position: absolute; top: 22px; left: 50%; translate: -50% 0; z-index: 5;
  width: 32%; height: 26px; border-radius: 20px; background: #050304;
}

.app {
  display: flex; flex-direction: column; height: 100%;
  padding: 58px 14px 18px;
  background: var(--surface);
  color: var(--text);
  user-select: none; -webkit-user-select: none;
}
.app-head { display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; margin-bottom: 14px; }
.app-head .t { text-align: center; line-height: 1.2; }
.app-head .t b { display: block; font-size: 14px; }
.app-head .t small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.app-head .ic {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); color: var(--muted);
}
.app-head .ic svg { width: 15px; height: 15px; }
.app-head .ic.trash { position: relative; color: var(--text); }
.app-head .badge {
  position: absolute; top: -5px; right: -7px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--toss); color: #fff;
  font: 700 11px/18px var(--body); text-align: center;
  transform: scale(0); transition: transform 0.25s cubic-bezier(.3,1.6,.5,1);
}
.app-head .badge.on { transform: scale(1); }

.deck { position: relative; flex: 1; touch-action: none; }
.card {
  position: absolute; inset: 0;
  border-radius: 20px; overflow: hidden;
  background: #ddd center / cover no-repeat;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.45);
  cursor: grab; will-change: transform;
  transition: transform 0.35s cubic-bezier(.2,.8,.25,1);
}
.card.dragging { transition: none; cursor: grabbing; }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 4px solid transparent; transition: border-color 0.1s;
}
.card.lean-keep::after { border-color: var(--keep); }
.card.lean-toss::after { border-color: var(--toss); }
.card .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 16px 14px; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  font-weight: 650; font-size: 15px; line-height: 1.25;
}
.card .cap small { display: block; font-weight: 500; font-size: 12px; opacity: 0.85; }
.stamp {
  position: absolute; top: 22px; padding: 2px 10px; border-radius: 8px; border: 4px solid;
  font: 900 26px/1.1 var(--display); letter-spacing: 0.04em; opacity: 0;
}
.stamp.keep { left: 18px; color: var(--keep); border-color: var(--keep); rotate: -14deg; }
.stamp.toss { right: 18px; color: var(--toss); border-color: var(--toss); rotate: 14deg; }

.deck-done {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 10px;
  text-align: center; padding: 16px;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.deck-done.on { opacity: 1; pointer-events: auto; }
.deck-done .big { font: 800 24px/1.1 var(--display); }
.deck-done p { font-size: 13px; color: var(--muted); }
.deck-done button {
  justify-self: center; margin-top: 6px; border: 0; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; background: var(--grad-text); color: #fff; font: 650 14px var(--body);
}

.controls { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 16px; }
.ctrl {
  display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--surface-2); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s;
}
.ctrl:active { transform: scale(0.9); }
.ctrl svg { width: 42%; height: 42%; }
.ctrl.toss { width: 56px; height: 56px; color: var(--toss); }
.ctrl.keep { width: 56px; height: 56px; color: var(--keep); }
.ctrl.undo { width: 40px; height: 40px; color: #f29b38; }

.tally {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  font-size: 14px; color: var(--muted);
}
.tally > span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.tally b { color: var(--text); }
.tally .dot { width: 8px; height: 8px; border-radius: 50%; }
.hint { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hint .hand { display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { translate: -6px 0; } 50% { translate: 6px 0; } }

/* ── Sections ─────────────────────────────────────────────────────────── */

.section { padding: 110px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; margin: 14px 0 18px; }
.section-head p { font-size: 19px; color: var(--muted); }
@media (max-width: 700px) { .section { padding: 76px 0; } .section-head { margin-bottom: 40px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 30px 28px 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font: 800 15px/1 var(--display); color: var(--accent-text); letter-spacing: 0.06em;
}
.step .glyph {
  width: 64px; height: 64px; margin: 22px 0 20px; border-radius: 20px;
  display: grid; place-items: center; color: #fff; background: var(--grad);
  box-shadow: 0 12px 24px -12px rgba(250, 84, 115, 0.7);
}
.step .glyph svg { width: 30px; height: 30px; }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Split feature rows */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.split + .split { margin-top: 120px; }
.split.flip .split-media { order: -1; }
.split h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; margin: 14px 0 18px; }
.split > div > p { font-size: 18px; color: var(--muted); }
.split-media { display: grid; justify-items: center; position: relative; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split.flip .split-media { order: 0; }
  .split + .split { margin-top: 90px; }
}

.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.checks li::before {
  content: ""; width: 30px; height: 30px; border-radius: 10px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fa5473' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
  border: 1px solid var(--line);
}
.checks b { display: block; color: var(--text); }
.checks span { color: var(--muted); font-size: 16px; }

/* Trash visual */
.trash-card {
  width: min(440px, 100%); padding: 18px; border-radius: 28px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.trash-card header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.trash-card header b { font-family: var(--display); font-size: 20px; }
.trash-card header span { font-size: 13px; color: var(--muted); }
.trash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.trash-grid button {
  position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 12px; overflow: hidden;
  background: #ccc center / cover; cursor: pointer;
}
.trash-grid button::after {
  content: ""; position: absolute; inset: 0; background: rgba(47, 191, 99, 0.85)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 21s-7.5-4.6-9.5-9.3C1.1 8.3 3.3 5 6.6 5c2 0 3.4 1.1 4.4 2.5C12 6.1 13.4 5 15.4 5c3.3 0 5.5 3.3 4.1 6.7C17.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / 34% no-repeat;
  opacity: 0; transition: opacity 0.2s;
}
.trash-grid button.kept::after { opacity: 1; }
.trash-card .del {
  width: 100%; margin-top: 14px; min-height: 48px; border-radius: 999px; border: 0;
  background: var(--toss); color: #fff; font: 650 15px var(--body);
}
.trash-card .note { margin-top: 10px; text-align: center; font-size: 12px; color: var(--muted); }

/* Floating chips around media */
.chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.chip .ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.chip .ico svg { width: 16px; height: 16px; }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
@media (max-width: 560px) { .chip { display: none; } }

/* Achievements row */
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badges span {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600;
}
.badges i {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #ffa24a, #ff4f8b); color: #fff; font-style: normal; font-size: 14px;
}

/* Screen strip */
.strip {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px max(16px, calc((100% - 1160px) / 2)) 40px;
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip figure { margin: 0; flex: none; scroll-snap-align: center; display: grid; gap: 16px; justify-items: center; }
.strip .phone { width: 260px; border-radius: 42px; padding: 9px; }
.strip .phone > .screen { border-radius: 34px; }
.strip .phone .island { top: 17px; height: 20px; }
.strip figcaption { font-size: 15px; font-weight: 600; color: var(--muted); }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin-inline: auto; }
.plan {
  position: relative; padding: 34px 32px; border-radius: 28px;
  background: var(--surface); border: 1px solid var(--line);
}
.plan.best { background: var(--grad-text); color: #fff; border: 0; box-shadow: 0 30px 60px -26px rgba(250, 84, 115, 0.8); }
.plan .tag {
  position: absolute; top: 20px; right: 20px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.22); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.plan h3 { font-size: 22px; }
.plan .price { font: 800 64px/1 var(--display); margin: 18px 0 6px; letter-spacing: -0.03em; }
.plan .price small { font: 600 16px var(--body); opacity: 0.8; letter-spacing: 0; }
.plan > p { color: var(--muted); }
.plan.best > p { color: rgba(255, 255, 255, 0.9); }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--keep-text); }
.plan.best li svg { color: #fff; }
.pricing-foot { text-align: center; margin-top: 28px; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }

/* Privacy band */
.privacy-band {
  position: relative; overflow: hidden; border-radius: 36px; padding: 72px 56px;
  background: #1c1218; color: #f8eef2;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.privacy-band::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -180px;
  background: radial-gradient(circle, rgba(250, 84, 115, 0.45), transparent 65%);
}
.privacy-band > * { position: relative; }
.privacy-band .eyebrow { color: #ff8aa1; }
.privacy-band h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; margin: 14px 0 18px; }
.privacy-band p { color: #cdbcc5; font-size: 18px; }
.privacy-band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.privacy-band li {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); font-weight: 600;
}
.privacy-band li svg { width: 22px; height: 22px; color: #ff8aa1; flex: none; }
@media (max-width: 860px) { .privacy-band { grid-template-columns: 1fr; padding: 48px 26px; } }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line); padding: 0 24px;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-weight: 650; font-size: 18px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface-2);
  font: 500 20px/1 var(--body); color: var(--accent-text); transition: rotate 0.2s;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* Final CTA */
.cta-final { text-align: center; padding: 120px 0 110px; position: relative; overflow: hidden; }
.cta-final::before {
  content: ""; position: absolute; inset: auto 0 -40% 0; height: 120%;
  background: radial-gradient(ellipse at 50% 100%, var(--glow-a), transparent 60%);
  pointer-events: none;
}
.cta-final img { margin: 0 auto 28px; border-radius: 30px; box-shadow: 0 20px 40px -16px rgba(250, 84, 115, 0.6); }
.cta-final h2 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; position: relative; }
.cta-final p { color: var(--muted); font-size: 19px; margin: 18px auto 34px; max-width: 520px; position: relative; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer .brand { font-size: 16px; }

/* ── Legal + contact pages ────────────────────────────────────────────── */

.page-hero { padding: 72px 0 36px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -320px;
  background: radial-gradient(circle, var(--glow-a), transparent 65%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(42px, 6vw, 72px); font-weight: 800; margin: 16px 0 14px; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 640px; }

.legal { padding: 24px 0 100px; }
.legal .wrap { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.legal .toc { position: sticky; top: 96px; display: grid; gap: 4px; font-size: 14px; }
.legal .toc a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 8px; }
.legal .toc a:hover { background: var(--surface); color: var(--text); }
.legal article { max-width: 720px; }
.legal .summary {
  padding: 24px 26px; border-radius: 22px; margin-bottom: 40px;
  background: var(--surface); border: 1px solid var(--line);
}
.legal .summary h2 { font-size: 20px; margin-bottom: 12px; }
.legal .summary ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal section { scroll-margin-top: 90px; }
.legal section + section { margin-top: 40px; }
.legal h2 { font-size: 28px; margin-bottom: 14px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; }
.legal strong { color: var(--text); }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--text); font-weight: 650; }
.legal td { color: var(--muted); }
@media (max-width: 860px) {
  .legal .wrap { grid-template-columns: 1fr; gap: 0; }
  .legal .toc { display: none; }
}

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; padding-bottom: 60px; }
.panel { padding: 32px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.panel h2 { font-size: 26px; margin-bottom: 8px; }
.panel > p { color: var(--muted); }
.form { display: grid; gap: 16px; margin-top: 24px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
  font: 400 16px/1.4 var(--body);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--pink); outline-offset: 1px; }
.form .fine { font-size: 13px; color: var(--muted); }
.mail-big {
  display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 18px 20px; border-radius: 18px;
  background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 650;
}
.mail-big .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.mail-big .ico svg { width: 22px; height: 22px; }
.mail-big small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.help-list { display: grid; gap: 12px; margin-top: 22px; }
.help-list details { border-radius: 16px; background: var(--bg); border: 1px solid var(--line); padding: 0 18px; }
.help-list summary { cursor: pointer; padding: 16px 0; font-weight: 600; }
.help-list details p { padding-bottom: 16px; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .panel { padding: 24px; } }

/* ── Reveal on scroll ─────────────────────────────────────────────────── */

.reveal { opacity: 0; translate: 0 26px; transition: opacity 0.7s ease, translate 0.7s ease; }
.reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: none; transition: none; }
  .card { transition: none; }
  .hint .hand { animation: none; }
}
