/* ══════════════════════════════════════════════════════════════════════
   MindMotion website — shared styles
   Brand palette mirrors the app (calm, cream-based, never aggressive).
   Used by index.html (landing) and privacy.html (policy).
   ══════════════════════════════════════════════════════════════════════ */

:root {
  --teal:        #1B3B36;  /* primary */
  --teal-mid:    #234B43;  /* hero gradient end */
  --sage:        #6B9B8A;  /* accent / CTA fills */
  --sage-text:   #3E6B5A;  /* AA-safe small accent text */
  --soft-mint:   #E8F5F0;
  --off-white:   #F9F7F4;  /* page background */
  --cream:       #F0EAE0;  /* warm cards */
  --light-green: #A8D5BA;
  --calm-blue:   #5B9EA6;
  --charcoal:    #2D2D2D;  /* body text */
  --muted:       #566E67;  /* helper text — WCAG AA on white & cream */
  --white:       #FFFFFF;
  --line:        #E2E9E5;

  /* Semantic tokens (overridden in dark mode below). Components reference
     these for anything that must invert; raw palette vals above stay light. */
  --heading:     var(--teal);   /* headings + strong text/icons */
  --ink-soft:    #4C5A55;       /* secondary body text */
  --header-bg:   rgba(249,247,244,.72);

  --maxw: 1120px;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow-sm: 0 1px 2px rgba(27,59,54,.05), 0 4px 14px rgba(27,59,54,.06);
  --shadow-md: 0 12px 40px rgba(27,59,54,.12);
  --shadow-lg: 0 28px 70px rgba(27,59,54,.18);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  color-scheme: light;
}

/* ───────────────────────── Dark mode ─────────────────────────
   Overrides the surface/text palette vals so every component that reads
   them flips automatically. The brand teal stays dark in both modes (it's
   a fill for bands/buttons); anything that used teal as *text* reads
   var(--heading), which we invert here. */
html[data-theme="dark"] {
  --teal-mid:    #1E433C;
  --soft-mint:   #16352F;  /* mint surfaces → deep teal-green */
  --off-white:   #0F1C19;  /* page background */
  --cream:       #1B2D29;  /* warm cards */
  --light-green: #A8D5BA;
  --charcoal:    #DCE7E2;  /* body text */
  --muted:       #8AA39B;
  --white:       #16302B;  /* raised surface (cards/sections) */
  --line:        #2A3D38;
  --sage-text:   #8FC7AF;  /* accent text, readable on dark */

  --heading:     #EAF6EF;
  --ink-soft:    #A9BBB4;
  --header-bg:   rgba(15,28,25,.74);
  color-scheme: dark;
}
/* Dark-mode component tweaks: lift the feature cards above the section so they
   read as raised, not as cut-out wells (the default token swap makes the gap
   between section + card too deep in dark). */
html[data-theme="dark"] .feat { background: #1B3A33; border-color: #2A4940; }
html[data-theme="dark"] .feat:hover { border-color: transparent; }
/* The active language pill defaults to --white (#16302B), which is nearly
   identical to the --cream toggle track in dark — the selection reads as
   invisible. Deepen the track and lift the active pill so it's legible. */
html[data-theme="dark"] .lang-toggle { background: #122520; }
html[data-theme="dark"] .lang-toggle button.active { background: #2E5048; color: var(--heading); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: 'Hanken Grotesk', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Fine film grain for warmth/depth — keeps surfaces from reading flat & "AI-clean". */
.grain { position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

h1, h2, h3 { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; color: var(--heading); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; margin: 0; }
p { margin: 0; }
a { color: var(--sage-text); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
::selection { background: var(--light-green); color: var(--teal); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Bilingual toggle: show only the active <html lang> ── */
html[lang="de"] [data-lang="en"] { display: none !important; }
html[lang="en"] [data-lang="de"] { display: none !important; }

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--sage), var(--light-green), var(--calm-blue));
  z-index: 200; transition: transform .08s linear;
}

/* ───────────────────────── Header ───────────────────────── */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(27,59,54,.05); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: 'Fraunces', serif; font-size: 21px; color: var(--heading); font-weight: 600; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-mid) 60%, var(--sage) 140%);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.brand .logo svg { width: 20px; height: 20px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: 26px; margin-right: 8px; }
.nav-links a { color: var(--charcoal); font-size: 15px; font-weight: 500; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--sage); border-radius: 2px; transition: width .3s var(--ease); }
.nav-links a:hover { color: var(--heading); text-decoration: none; }
.nav-links a:hover::after { width: 100%; }

/* Hamburger (mobile only — revealed in the ≤960px media query) */
.nav-toggle {
  display: none; width: 38px; height: 38px; flex: none; place-items: center;
  border: 0; cursor: pointer; border-radius: 999px; background: var(--cream); color: var(--heading);
  transition: background .25s var(--ease);
}
.nav-toggle:hover { background: var(--soft-mint); }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .ic-close { display: none; }
header.menu-open .nav-toggle .ic-open { display: none; }
header.menu-open .nav-toggle .ic-close { display: block; }
/* Surface only inside the mobile dropdown. Scoped under .nav-right so this
   beats the later .lang-toggle / .btn `display:inline-flex` (equal specificity
   would otherwise let the mobile duplicates leak onto the desktop bar). */
.nav-right .nav-links-cta, .nav-right .nav-links-lang { display: none; }

.lang-toggle { display: inline-flex; background: var(--cream); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-toggle button {
  border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600;
  color: var(--muted); padding: 6px 13px; border-radius: 999px; transition: all .25s var(--ease);
}
.lang-toggle button.active { background: var(--white); color: var(--heading); box-shadow: var(--shadow-sm); }

/* Theme (light/dark) toggle */
.theme-toggle {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center;
  border: 0; cursor: pointer; border-radius: 999px; background: var(--cream); color: var(--heading);
  transition: background .25s var(--ease), color .25s var(--ease), transform .2s var(--ease);
}
.theme-toggle:hover { transform: translateY(-1px); background: var(--soft-mint); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ic-sun { display: none; }
html[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
html[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
/* Grain reads as "multiply" on light surfaces; soften it on dark so it doesn't crush. */
html[data-theme="dark"] .grain { mix-blend-mode: soft-light; opacity: .06; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; border: 0;
  padding: 14px 26px; border-radius: 999px; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--teal); color: #EAF6EF; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--white); color: var(--heading); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--sage); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 14.5px; }

/* ───────────────────────── Hero ───────────────────────── */
.hero { position: relative; padding: 84px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(36px); opacity: .55; will-change: transform; }
.blob.b1 { width: 420px; height: 420px; top: -120px; right: -60px; background: radial-gradient(circle, rgba(168,213,186,.55), transparent 70%); animation: floatA 16s var(--ease) infinite alternate; }
.blob.b2 { width: 360px; height: 360px; bottom: -120px; left: -80px; background: radial-gradient(circle, rgba(91,158,166,.30), transparent 70%); animation: floatB 19s var(--ease) infinite alternate; }
.blob.b3 { width: 280px; height: 280px; top: 40%; left: 44%; background: radial-gradient(circle, rgba(232,245,240,.9), transparent 70%); animation: floatA 22s var(--ease) infinite alternate-reverse; }
@keyframes floatA { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px,30px) scale(1.08); } }
@keyframes floatB { from { transform: translate(0,0) scale(1); } to { transform: translate(36px,-26px) scale(1.1); } }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--sage-text); background: var(--soft-mint);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(107,155,138,.5); } 50% { box-shadow: 0 0 0 6px rgba(107,155,138,0); } }
.hero h1 { font-size: clamp(40px, 6vw, 66px); margin-bottom: 22px; }
.hero h1 .accent { color: var(--sage-text); font-style: italic; }
.hero .lede { font-size: clamp(17px, 2.1vw, 20px); color: var(--ink-soft); max-width: 33ch; margin-bottom: 18px; }
.promise { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 26px 0 30px; }
.promise span { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--heading); }
.promise svg { width: 17px; height: 17px; color: var(--sage); flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; background: var(--teal); color: #EAF6EF;
  padding: 11px 22px 11px 18px; border-radius: 14px; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge small { display: block; font-size: 10.5px; opacity: .8; letter-spacing: .03em; text-transform: uppercase; line-height: 1.3; }
.store-badge strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.1; }
.hero-note { font-size: 13.5px; color: var(--muted); margin-top: 16px; }

/* ───────────────────────── App screenshots ─────────────────────────
   Real screenshots are transparent PNGs that already include the device
   frame, so they need no CSS bezel — just a drop-shadow that follows the
   rounded silhouette. The DE/EN pair is toggled by the [data-lang] rule. */
.shot { position: relative; width: 300px; max-width: 78vw; margin: 0 auto; }
.shot img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 30px 60px rgba(11,26,23,.32)) drop-shadow(0 8px 18px rgba(11,26,23,.16));
}

.hero-phone { position: relative; }
.hero-shot { width: 322px; transition: transform .4s var(--ease); }
.floaty {
  position: absolute; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 12px 15px; display: flex; align-items: center; gap: 11px; z-index: 5; will-change: transform;
}
.floaty .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.floaty .ic svg { width: 18px; height: 18px; }
.floaty b { display: block; font-size: 13.5px; color: var(--heading); font-family: 'Fraunces', serif; font-weight: 600; }
.floaty small { font-size: 11.5px; color: var(--muted); }
.floaty.one { top: 40px; left: -34px; animation: bob 6s ease-in-out infinite; }
.floaty.two { bottom: 56px; right: -28px; animation: bob 7s ease-in-out infinite .8s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Floaty-badge icon tints */
.icbg-mint { background: var(--soft-mint); color: var(--sage-text); }
.icbg-cream { background: var(--cream); color: var(--sage-text); }

/* ───────────────────────── Section scaffolding ───────────────────────── */
section { padding: 92px 0; }
.sec-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.sec-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-text); margin-bottom: 16px; }
/* Editorial index number, e.g. "01" before a section eyebrow. */
.sec-eyebrow .idx { font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; color: var(--sage); letter-spacing: 0; }
.sec-eyebrow .idx::after { content: ""; display: inline-block; width: 26px; height: 1px; background: var(--sage); vertical-align: middle; margin-left: 10px; opacity: .5; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 16px; }
.sec-head p { color: var(--ink-soft); font-size: 18px; }

/* ── Stats band (animated counters) ── */
.stats { background: var(--teal); color: #DCEFE6; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: 'Fraunces', serif; font-size: clamp(34px, 5vw, 52px); color: #fff; font-weight: 600; line-height: 1; display: inline-flex; align-items: baseline; }
.stat .suffix { color: var(--light-green); }
.stat .lbl { margin-top: 10px; font-size: 14.5px; color: #A7CBBC; }
.stats-grid .stat { position: relative; }
.stats-grid .stat + .stat::before { content: ""; position: absolute; left: -12px; top: 50%; transform: translateY(-50%); width: 1px; height: 44px; background: rgba(255,255,255,.12); }

/* trust strip */
.strip { background: var(--teal); color: #DCEFE6; padding: 26px 0; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 44px; align-items: center; }
.strip .item { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.strip svg { width: 19px; height: 19px; color: var(--light-green); flex: none; }

/* feature grid */
.features { background: var(--white); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat {
  background: var(--off-white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative; overflow: hidden;
}
.feat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0%, rgba(168,213,186,.18), transparent 55%); opacity: 0; transition: opacity .3s var(--ease); }
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.feat:hover::before { opacity: 1; }
.feat > * { position: relative; }
.feat .ficon { width: 52px; height: 52px; border-radius: 15px; background: var(--soft-mint); color: var(--heading); display: grid; place-items: center; margin-bottom: 20px; transition: transform .3s var(--ease-spring); }
.feat:hover .ficon { transform: scale(1.08) rotate(-4deg); }
.feat .ficon svg { width: 26px; height: 26px; }
.feat h3 { font-size: 21px; margin-bottom: 9px; }
.feat p { color: var(--ink-soft); font-size: 15.5px; }

/* alternating showcase rows */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.showcase + .showcase { margin-top: 110px; }
.showcase.flip .sc-text { order: 2; }
.sc-text h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 18px; }
.sc-text .sc-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--sage-text); margin-bottom: 14px; }
.sc-text p { color: var(--ink-soft); font-size: 17px; margin-bottom: 14px; }
.sc-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.sc-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--charcoal); }
.sc-list .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--soft-mint); color: var(--sage-text); display: grid; place-items: center; flex: none; margin-top: 1px; }
.sc-list .tick svg { width: 14px; height: 14px; }
.sc-visual { display: flex; justify-content: center; }
.sc-visual .shot { transform: rotate(-2deg); }
.showcase.flip .sc-visual .shot { transform: rotate(2deg); }

/* privacy band */
.privacy-band { background: linear-gradient(155deg, var(--teal) 0%, #14302B 100%); color: #DDEFE7; border-radius: var(--radius-lg); padding: 64px 56px; overflow: hidden; position: relative; }
.privacy-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(168,213,186,.22), transparent 70%); }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.privacy-band h2 { color: #fff; font-size: clamp(28px, 3.8vw, 42px); margin-bottom: 18px; }
.privacy-band p { color: #C7E2D6; font-size: 17px; }
.privacy-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.privacy-points li { display: flex; gap: 14px; align-items: flex-start; }
.privacy-points .pic { width: 40px; height: 40px; border-radius: 12px; background: rgba(168,213,186,.16); color: var(--light-green); display: grid; place-items: center; flex: none; }
.privacy-points .pic svg { width: 20px; height: 20px; }
.privacy-points b { color: #fff; font-family: 'Fraunces', serif; font-weight: 600; font-size: 16.5px; display: block; }
.privacy-points span { font-size: 14px; color: #B6D6C8; }

/* gallery */
.gallery { background: var(--white); }
.gallery-track { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.gallery .shot { width: 232px; }
.gallery .gcap { text-align: center; margin-top: 14px; font-size: 14px; color: var(--muted); font-weight: 500; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { background: var(--cream); border-radius: var(--radius); padding: 30px 26px; position: relative; transition: transform .3s var(--ease); }
.step:hover { transform: translateY(-4px); }
.step .num { font-family: 'Fraunces', serif; font-size: 16px; font-weight: 600; color: #fff; background: var(--sage); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 4px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: 'Fraunces', serif; font-size: 19px; color: var(--heading); font-weight: 500; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .chev { width: 26px; height: 26px; flex: none; transition: transform .3s var(--ease); color: var(--sage); }
.qa[open] summary .chev { transform: rotate(45deg); }
.qa .ans { padding: 0 4px 24px; color: var(--ink-soft); font-size: 15.5px; animation: ansIn .4s var(--ease); }
@keyframes ansIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* final CTA */
.final { text-align: center; }
.final-card { background: linear-gradient(155deg, var(--cream), var(--soft-mint)); border-radius: var(--radius-lg); padding: 70px 40px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.final-card h2 { font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 16px; }
.final-card p { color: var(--ink-soft); font-size: 18px; max-width: 50ch; margin: 0 auto 30px; }
.final-card .cta-row { justify-content: center; }

/* footer */
footer { background: var(--teal); color: #B6D6C8; padding: 60px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
footer .brand { color: #fff; margin-bottom: 14px; }
footer .brand .logo { box-shadow: none; }
.foot-about { font-size: 14.5px; color: #A7CBBC; max-width: 36ch; }
footer h4 { color: #fff; font-family: 'Hanken Grotesk', sans-serif; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 16px; font-weight: 600; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
footer ul a, footer ul span { color: #B6D6C8; font-size: 14.5px; }
footer ul a:hover { color: #fff; text-decoration: none; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 13.5px; color: #8FB6A6; }
.foot-bottom a { color: #B6D6C8; }
.disclaimer { margin-top: 14px; font-size: 12.5px; color: #7BA797; max-width: 70ch; }

/* ───────────────────────── Scroll reveal ───────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-left.in { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-right.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.96) translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-scale.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; } .d5 { transition-delay: .40s; } .d6 { transition-delay: .48s; }

/* Screenshot wipe-reveal — the image builds up from the bottom as its row enters,
   on top of the card's slide-in. The drop-shadow follows the clip, so it grows
   with the reveal. Keyed off the same `.in` flag the observer already sets. */
.sc-visual .shot img, .gallery-track .shot img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s var(--ease);
}
.sc-visual.in .shot img { clip-path: inset(0 0 0 0); transition-delay: .15s; }
.gallery-track.in .shot img { clip-path: inset(0 0 0 0); }
.gallery-track.in > *:nth-child(2) .shot img { transition-delay: .1s; }
.gallery-track.in > *:nth-child(3) .shot img { transition-delay: .2s; }
.gallery-track.in > *:nth-child(4) .shot img { transition-delay: .3s; }

/* stagger children: set --i via inline style or nth-child */
.stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: .04s; }
.stagger.in > *:nth-child(2) { transition-delay: .12s; }
.stagger.in > *:nth-child(3) { transition-delay: .20s; }
.stagger.in > *:nth-child(4) { transition-delay: .28s; }
.stagger.in > *:nth-child(5) { transition-delay: .36s; }
.stagger.in > *:nth-child(6) { transition-delay: .44s; }

/* Parallax elements lean on the independent `translate` property (set in JS),
   so a transform/animation can run alongside it without being clobbered. */
[data-parallax] { will-change: translate; }

/* ───────────────────────── Privacy policy document ───────────────────────── */
.policy { max-width: 800px; margin: 0 auto; padding: 56px 24px 100px; }
.policy .doc-head { margin-bottom: 8px; }
.policy h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 10px; }
.policy h2 { font-size: 24px; margin-top: 2.2em; margin-bottom: .4em; scroll-margin-top: 90px; }
.policy h3 { font-size: 19px; margin-top: 1.4em; color: var(--sage-text); }
.policy p { margin: .9em 0; color: var(--ink-soft); }
.policy ul { margin: .8em 0; padding-left: 1.2em; }
.policy li { margin: .5em 0; color: var(--ink-soft); }
.policy .meta { color: var(--muted); font-size: .92em; }
.policy .tldr { background: var(--soft-mint); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 24px 0 8px; }
.policy .tldr p { margin: 0; color: var(--heading); font-weight: 500; }
.policy code { background: var(--cream); padding: 1px 6px; border-radius: 5px; font-size: .92em; }
.policy a { color: var(--sage-text); font-weight: 500; }
.policy .back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--sage-text); margin-bottom: 26px; }
.policy .back-link svg { width: 16px; height: 16px; }

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 960px) {
  .hero-grid, .showcase, .privacy-grid, .feat-grid, .steps { grid-template-columns: 1fr; }
  .hero-grid { gap: 50px; }
  .hero-phone { order: -1; }
  .feat-grid, .steps { gap: 18px; }
  .showcase { gap: 40px; }
  .showcase.flip .sc-text { order: 0; }
  .sc-text { text-align: center; }
  .sc-list { text-align: left; max-width: 440px; margin-left: auto; margin-right: auto; }
  .privacy-band { padding: 48px 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
  .stats-grid .stat + .stat::before { display: none; }  /* the divider would fall mid-row in the 2-col layout */
  .reveal-left, .reveal-right { transform: translateY(28px); }

  /* Collapse the inline links into a dropdown panel toggled by the hamburger.
     The header CTA (.nav-cta) folds away — index re-offers it inside the panel
     (.nav-links-cta); the legal pages lean on the brand link + in-article back. */
  .nav-toggle { display: grid; }
  .nav-cta { display: none; }
  header.has-menu .nav-right > .lang-toggle { display: none; }  /* index only: folds into the panel. Legal pages (no panel) keep it in the bar. */
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    margin: 0; padding: 8px 24px 18px;
    background: var(--header-bg);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(27,59,54,.12);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s var(--ease);
  }
  header.menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.nav-links-cta) { padding: 14px 4px; font-size: 16.5px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-right .nav-links-lang { display: inline-flex; align-self: flex-start; margin-top: 12px; }
  .nav-right .nav-links-cta { display: inline-flex; align-self: stretch; justify-content: center; margin-top: 14px; }
}
@media (max-width: 640px) {
  section { padding: 66px 0; }
  .hero { padding: 56px 0 64px; }
  .wrap { padding: 0 20px; }
  /* Keep the header on one line on narrow phones. */
  .nav { gap: 10px; }
  .nav-right { gap: 7px; }
  .brand { font-size: 19px; gap: 9px; }
  .brand .logo { width: 30px; height: 30px; }
  .lang-toggle button { padding: 6px 10px; }
  .theme-toggle, .nav-toggle { width: 36px; height: 36px; }
  .feat-grid { grid-template-columns: 1fr; }
  .floaty.one { left: -8px; } .floaty.two { right: -6px; }
  .final-card { padding: 50px 24px; }
  .foot-grid { grid-template-columns: 1fr; }
}
