/* Momentje — landing page styles
   Palette mirrors lib/theme/design_tokens.dart so site and app feel like one product. */

/* Fonts are served from this site (no third-party font requests).
   DM Sans and Fraunces, variable, SIL Open Font License; see /fonts/OFL.txt. */
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/dm-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/dm-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/fraunces-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/fonts/fraunces-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url(/fonts/fraunces-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url(/fonts/fraunces-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #FEFAF7;
  --surface: #FFFFFF;
  --rose: #E8B4A8;
  --rose-dark: #D89A8C;
  --rose-ink: #A5604F;          /* rose tuned for readable text on light backgrounds */
  --green: #A8D4B4;
  --green-dark: #5A9E6F;
  --green-ink: #3F7A52;
  --lavender: #B4A8E8;
  --lavender-ink: #6A5CB0;
  --gold: #E8D4A8;
  --text: #3A3A3A;
  --muted: #6B6663;
  --hairline: rgba(0, 0, 0, 0.08);
  --wash-warm: #FCEDE8;
  --wash-mid: #FDF6F4;
  --wash-you: #FCEDE8;
  --wash-partner: #E8F5EC;
  --wash-together: #EDE8F5;
  --ink: #242120;

  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 26px;
  --radius-pill: 999px;
  --shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  --shadow-lift: 0 24px 60px -18px rgba(120, 70, 55, 0.28);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  --gutter: 20px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-ink); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-variation-settings: "SOFT" 100, "opsz" 96;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
h3 { font-size: 1.35rem; font-variation-settings: "SOFT" 100, "opsz" 24; }
h1 em, h2 em { font-style: italic; color: var(--rose-ink); }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-ink);
  margin-bottom: 14px;
}
.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--muted); max-width: 36em; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(254, 250, 247, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--hairline); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; }
.brand svg { width: 34px; height: 34px; }
.nav-links { display: none; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--rose-ink); }
@media (min-width: 880px) { .nav-links { display: flex; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border-radius: var(--radius-pill);
  font: 600 0.95rem/1 var(--font-body);
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; box-shadow: var(--shadow-lift); }
.btn-soft { background: var(--surface); color: var(--text); border: 1px solid var(--hairline); box-shadow: var(--shadow); }
.btn-soft:hover { color: var(--rose-ink); }

/* ---------- Store badges ---------- */

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 172px; padding: 10px 20px 10px 16px;
  background: var(--ink); color: #fff; text-decoration: none;
  border-radius: 14px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.store:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 0.7rem; opacity: 0.8; letter-spacing: 0.02em; }
.store strong { font-size: 1.1rem; font-weight: 600; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 9vw, 112px);
  background: linear-gradient(135deg, var(--wash-warm) 0%, var(--wash-mid) 35%, var(--bg) 100%);
  overflow: hidden;
}
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; pointer-events: none; }
.blob-rose { width: 520px; height: 520px; background: var(--rose); top: -160px; right: -120px; }
.blob-green { width: 440px; height: 440px; background: var(--green); bottom: -220px; right: 18%; opacity: 0.4; }

.hero-grid { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 40px; } }

.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 18px; height: 18px; color: var(--green-dark); flex: none; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }

.phone {
  position: relative;
  width: min(290px, 72vw);
  aspect-ratio: 1170 / 2532;
  border-radius: 46px;
  padding: 10px;
  background: #1d1b1a;
  box-shadow: var(--shadow-lift), inset 0 0 0 2px #3a3634;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; }
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 30%; height: 24px; background: #1d1b1a; border-radius: 20px; z-index: 2;
}

.float {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-lift);
  padding: 14px 16px;
  font-size: 0.88rem;
  animation: bob 6s ease-in-out infinite;
}
.float-q { left: -4%; top: 18%; max-width: 230px; }
.float-q .chip { margin-bottom: 8px; }
.float-q p { margin: 0; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; color: var(--ink); }
.float-lock { right: -2%; top: 58%; display: flex; align-items: center; gap: 10px; animation-delay: -2s; }
.float-lock .ico { width: 34px; height: 34px; border-radius: 50%; background: var(--wash-together); display: grid; place-items: center; color: var(--lavender-ink); }
.float-lock .ico svg { width: 18px; height: 18px; }
.float-time { left: 4%; bottom: 6%; display: flex; align-items: center; gap: 8px; animation-delay: -4s; }
.float-time svg { width: 18px; height: 18px; color: var(--rose-ink); }
@media (max-width: 560px) {
  .float-q { left: 0; top: 4%; max-width: 190px; }
  .float-q p { font-size: 0.95rem; }
  .float-lock { right: 0; top: 64%; }
  .float-time { display: none; }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
}
.chip-you { background: var(--wash-you); color: var(--rose-ink); }
.chip-partner { background: var(--wash-partner); color: var(--green-ink); }
.chip-together { background: var(--wash-together); color: var(--lavender-ink); }

/* ---------- Trust strip ---------- */

.trust { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--surface); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.95rem; }
.trust li svg { width: 20px; height: 20px; color: var(--green-dark); flex: none; }

/* ---------- Intro ---------- */

.intro { text-align: center; }
.intro .big {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.3; color: var(--ink); max-width: 820px; margin: 0 auto 28px;
  font-variation-settings: "SOFT" 100, "opsz" 48;
}
.intro .big em { color: var(--rose-ink); }
.intro img { width: min(560px, 100%); margin: 8px auto 0; }
.film { width: min(880px, 100%); margin: 28px auto 0; }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-l); box-shadow: var(--shadow-lift); background: var(--wash-warm); }
.film-note { margin: 14px 0 0; font-size: 0.95rem; color: var(--muted); }

/* ---------- Steps ---------- */

.steps { display: grid; gap: 28px; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--surface); border-radius: var(--radius-l); box-shadow: var(--shadow);
  padding: 28px 28px 0; overflow: hidden; display: flex; flex-direction: column;
}
.step-num {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wash-warm); color: var(--rose-ink); font-weight: 700; margin-bottom: 16px;
}
.step p { color: var(--muted); }
.step-shot { margin-top: auto; padding-top: 12px; display: flex; justify-content: center; }
.step-shot img {
  width: 72%; border-radius: 26px 26px 0 0;
  box-shadow: 0 -2px 0 8px #1d1b1a, var(--shadow-lift);
  margin-top: 8px; transform: translateY(12px);
  aspect-ratio: 1170 / 1600; object-fit: cover; object-position: top;
}
.step:nth-child(2) { background: linear-gradient(180deg, var(--surface), var(--wash-partner)); }
.step:nth-child(2) .step-num { background: var(--wash-partner); color: var(--green-ink); }
.step:nth-child(3) { background: linear-gradient(180deg, var(--surface), var(--wash-together)); }
.step:nth-child(3) .step-num { background: var(--wash-together); color: var(--lavender-ink); }

/* ---------- Flow ---------- */

.flow-section { background: linear-gradient(180deg, var(--bg), var(--wash-mid) 50%, var(--bg)); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: phase; position: relative; }
@media (min-width: 880px) {
  .flow { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .flow::before {
    content: ""; position: absolute; top: 44px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--rose) 0 8px, transparent 8px 16px);
    z-index: 0;
  }
}
.phase {
  position: relative; z-index: 1;
  background: var(--surface); border-radius: var(--radius-l); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid var(--hairline);
}
.phase-emoji {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.6rem; background: var(--wash-warm); margin-bottom: 16px;
}
.phase:nth-child(2) .phase-emoji { background: var(--wash-together); }
.phase:nth-child(3) .phase-emoji { background: #FBF3E3; }
.phase:nth-child(4) .phase-emoji { background: var(--wash-partner); }
.phase h3 { margin-bottom: 4px; }
.phase .count { font-size: 0.82rem; font-weight: 700; color: var(--rose-ink); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.phase p { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.phase blockquote {
  margin: 0; padding: 12px 14px; border-radius: var(--radius-s);
  background: var(--wash-mid); font-family: var(--font-display); font-size: 0.98rem; line-height: 1.35; color: var(--ink);
}
.flow-note { text-align: center; color: var(--muted); margin-top: 32px; font-size: 0.95rem; }

/* ---------- Question demo ---------- */

.demo { display: grid; gap: 48px; align-items: center; }
@media (min-width: 920px) { .demo { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }
.demo-stage { position: relative; min-height: 360px; display: grid; place-items: center; }
.demo-stage::before, .demo-stage::after {
  content: ""; position: absolute; inset: 22px 30px -10px; border-radius: var(--radius-l);
  background: var(--surface); box-shadow: var(--shadow); transform: rotate(-4deg); z-index: 0;
}
.demo-stage::after { transform: rotate(3deg); inset: 16px 20px -4px; opacity: 0.8; }
.qcard {
  position: relative; z-index: 1; width: 100%; max-width: 460px; min-height: 340px;
  border-radius: var(--radius-l); padding: 28px; display: flex; flex-direction: column;
  background: linear-gradient(135deg, var(--wash-you), var(--wash-mid) 45%, var(--surface));
  box-shadow: var(--shadow-lift);
  transition: background 0.4s ease;
}
.qcard[data-turn="partner"] { background: linear-gradient(135deg, var(--wash-partner), #F4FAF6 45%, var(--surface)); }
.qcard[data-turn="together"] { background: linear-gradient(135deg, var(--wash-together), #F6F4FA 45%, var(--surface)); }
.qcard-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.qcard-cat { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.qcard-text {
  flex: 1; display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-display); font-size: clamp(1.45rem, 3vw, 1.85rem); line-height: 1.28; color: var(--ink);
  margin: 24px 0; transition: opacity 0.25s ease, transform 0.25s ease;
  font-variation-settings: "SOFT" 100, "opsz" 36;
}
.qcard-text.out { opacity: 0; transform: translateY(8px); }
.qcard-cue {
  align-self: center; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--radius-m); background: rgba(255,255,255,0.7);
  font-size: 0.9rem; font-weight: 600; color: var(--rose-ink); min-height: 42px;
}
.qcard-cue[hidden] { display: none; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.demo-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* ---------- Privacy ---------- */

.privacy-band {
  border-radius: clamp(24px, 4vw, 40px);
  background: linear-gradient(140deg, #F1EDFA 0%, var(--wash-together) 40%, #F7F4FC 100%);
  padding: clamp(36px, 6vw, 72px);
  display: grid; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
@media (min-width: 900px) { .privacy-band { grid-template-columns: 1fr 1fr; } }
.privacy-band .eyebrow { color: var(--lavender-ink); }
.privacy-band h2 em { color: var(--lavender-ink); }
.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.privacy-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,0.75); border-radius: var(--radius-m); padding: 16px 18px;
}
.privacy-list .ico {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--surface); color: var(--lavender-ink);
}
.privacy-list .ico svg { width: 20px; height: 20px; }
.privacy-list strong { display: block; color: var(--ink); }
.privacy-list span { color: var(--muted); font-size: 0.93rem; }
.privacy-fine { font-size: 0.88rem; color: var(--muted); margin-top: 18px; }

/* ---------- Features bento ---------- */

.bento { display: grid; gap: 18px; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(6, 1fr); } }
.tile {
  background: var(--surface); border-radius: var(--radius-l); padding: 26px;
  box-shadow: var(--shadow); border: 1px solid var(--hairline); overflow: hidden; position: relative;
}
.tile p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.tile h3 { margin-bottom: 8px; }
.tile-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--wash-warm); color: var(--rose-ink); margin-bottom: 16px; }
.tile-ico svg { width: 22px; height: 22px; }
@media (min-width: 760px) {
  .span-2 { grid-column: span 2; }
  .span-3 { grid-column: span 3; }
  .span-4 { grid-column: span 4; }
}
.tile-wide { display: grid; gap: 20px; align-items: center; background: linear-gradient(135deg, var(--wash-warm), var(--surface) 60%); }
@media (min-width: 560px) { .tile-wide { grid-template-columns: 1.1fr 0.9fr; } }
.tile-wide img { width: 100%; max-width: 220px; justify-self: center; border-radius: 22px; box-shadow: 0 0 0 7px #1d1b1a, var(--shadow-lift); margin: 8px 8px -60px; }
.cues { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cues span { background: var(--wash-mid); border-radius: var(--radius-pill); padding: 6px 12px; font-size: 0.85rem; font-weight: 500; }
.turns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.turns .chip { font-size: 0.82rem; padding: 6px 12px; }
.turns .chip:nth-child(odd) { transform: translateY(-3px); }
.tile-green .tile-ico { background: var(--wash-partner); color: var(--green-ink); }
.tile-lav .tile-ico { background: var(--wash-together); color: var(--lavender-ink); }
.tile-gold .tile-ico { background: #FBF3E3; color: #95753A; }

/* ---------- Pricing ---------- */

.plans { display: grid; gap: 22px; max-width: 900px; margin: 0 auto; }
@media (min-width: 780px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--surface); border-radius: var(--radius-l); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--hairline); display: flex; flex-direction: column; }
.plan-pro { background: linear-gradient(145deg, #FFF5F3, #FFF0EE 50%, #FFF8F6); border: 1px solid rgba(216, 154, 140, 0.35); box-shadow: var(--shadow-lift); }
.plan-name { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); margin: 0 0 4px; }
.plan-price { font-size: 2.2rem; font-weight: 700; color: var(--ink); line-height: 1.1; margin: 10px 0 2px; }
.plan-price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }
.plan ul { list-style: none; margin: 0; padding: 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(--green-dark); }
.plan-pro li svg { color: var(--rose-ink); }
.badge { display: inline-block; background: var(--ink); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); vertical-align: middle; margin-left: 8px; }
.plan-foot { margin-top: auto; padding-top: 22px; font-size: 0.85rem; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: var(--radius-m); border: 1px solid var(--hairline); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 600; color: var(--ink); font-size: 1.03rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--rose-ink); border-bottom: 2px solid var(--rose-ink);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- Final CTA ---------- */

.cta {
  text-align: center; border-radius: clamp(24px, 4vw, 40px); overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--wash-warm), var(--wash-mid) 40%, var(--wash-partner));
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px) 0;
}
.cta .stores { justify-content: center; margin: 28px 0 8px; }
.cta img { width: min(520px, 100%); margin: 16px auto 0; mix-blend-mode: multiply; }
.cta .lead { margin: 0 auto; }

/* ---------- Footer ---------- */

.site-footer { padding: 48px 0 56px; color: var(--muted); font-size: 0.92rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--rose-ink); }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Legal pages ---------- */

.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) 40px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal h2 { font-size: 1.6rem; margin-top: 2em; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 0.5em; }
.legal .updated { color: var(--muted); font-size: 0.95rem; }
.legal .callout { background: var(--wash-together); border-radius: var(--radius-m); padding: 18px 22px; margin: 24px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 12px 0 20px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.legal th { color: var(--ink); font-weight: 600; }
.table-scroll { overflow-x: auto; }

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px var(--gutter); }

/* ---------- Language switch + banner ---------- */

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 12px;
  border-radius: var(--radius-pill); border: 1px solid var(--hairline);
  background: var(--surface); color: var(--text);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-decoration: none;
}
.lang-switch:hover { color: var(--rose-ink); border-color: var(--rose); }

.lang-banner { background: var(--ink); color: #fff; font-size: 0.92rem; }
.lang-banner .wrap { display: flex; align-items: center; gap: 14px; min-height: 44px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.lang-banner a { color: var(--rose); font-weight: 600; text-decoration: none; }
.lang-banner a:hover { color: #fff; text-decoration: underline; }
.lang-banner button {
  margin-left: auto; background: transparent; border: 0; color: #fff; font-size: 1.4rem; line-height: 1;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
}
.lang-banner button:hover { background: rgba(255,255,255,0.12); }

/* ---------- Audience ---------- */

.audience { display: grid; gap: 18px; }
@media (min-width: 760px) { .audience { grid-template-columns: repeat(3, 1fr); } }
.aud {
  background: var(--surface); border-radius: var(--radius-l); padding: 28px;
  border: 1px solid var(--hairline); box-shadow: var(--shadow);
}
.aud-emoji {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.5rem; background: var(--wash-partner); margin-bottom: 16px;
}
.aud:nth-child(2) .aud-emoji { background: var(--wash-warm); }
.aud:nth-child(3) .aud-emoji { background: #FBF3E3; }
.aud h3 { margin-bottom: 8px; }
.aud p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.demo-hint { margin: 18px 0 0; font-size: 0.88rem; color: var(--muted); }
.qcard { cursor: pointer; }

/* ---------- Small helpers (no inline styles, so the CSP can be style-src 'self') ---------- */

.sprite { position: absolute; }
.section-flush { padding-top: 0; }
.lead-center { margin: 0 auto; }
.copyright { margin: 0; }
.stores-center { justify-content: center; }
.notfound-mark { margin: 0 auto 16px; }
.notfound .lead { margin: 0 auto 12px; }
.notfound .lead + .stores { margin-top: 28px; }

/* App Store badge while the app is not in the store yet (APP_STORE_ID unset in build.py) */
.store-soon { opacity: 0.6; cursor: default; }
.store-soon:hover { transform: none; box-shadow: none; }

/* Support page: FAQ blocks inside a text page */
.legal .faq { margin: 12px 0 8px; }
.legal .faq details p { color: var(--text); }
.legal .faq details p + p { padding-top: 0; margin-top: -8px; }
.legal .details { color: var(--muted); font-size: 0.95rem; }
