/* ==========================================================================
   MamaMilkiva website
   Plain CSS, no build step. Colors and type follow designs/DESIGN_SYSTEM.md
   (direction "Objem"): Young Serif for display, Figtree for text.
   Motion is progressive: without JS everything is visible; with
   prefers-reduced-motion or the footer toggle, all motion stops.
   ========================================================================== */

/* ---------- Fonts (self-hosted, Latin + Latin Extended-A subset) ---------- */
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Young Serif"; src: url("../fonts/young-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
/* Romanian ș ț (comma below) are not in the WOFF2 subsets; these full fonts load only on pages that use them. */
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-400-ext.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0218-021B; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-500-ext.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0218-021B; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-600-ext.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0218-021B; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-700-ext.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0218-021B; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-800-ext.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; unicode-range: U+0218-021B; }
@font-face { font-family: "Young Serif"; src: url("../fonts/young-serif-400-ext.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0218-021B; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  interpolate-size: allow-keywords;

  --cream: #FCF6F2;
  --ink: #3B2A2E;
  --ink-2: #5E4D52;
  --line: #EADDD8;
  --outline: #958286;

  --rose: #B05566;
  --rose-deep: #9E4659;
  --rose-ink: #8E3F4E;
  --rose-50: #FBE7E1;
  --rose-100: #F8DEDB;
  --rose-200: #F3CFCB;

  --sage: #4A7D70;
  --sage-deep: #2F574C;
  --sage-ink: #36604F;
  --sage-50: #E3EFEA;
  --sage-100: #DCEBE4;
  --sage-200: #CFE3DA;

  --peach: #F4B48C;
  --peach-50: #FBE3D4;
  --peach-100: #F7D3BE;
  --peach-ink: #7A4A1E;

  --lilac-50: #E9E1F2;
  --lilac-ink: #5B4B78;

  --plum: #2E2843;
  --plum-2: #463A5C;
  --night-text: #D9CFEA;
  --moon: #FBE3C4;

  --footer: #2A1E21;
  --footer-text: #E8DCD7;
  --footer-muted: #BFAEAA;
  --footer-head: #F4B8A6;

  --font-serif: "Young Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Figtree", "Helvetica Neue", Arial, system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
  --radius-card: clamp(24px, 2.4vw, 32px);
  --header-h: 76px;

  --ease-out: cubic-bezier(.22, .8, .24, 1);
  --ease-soft: cubic-bezier(.45, 0, .2, 1);

  --shadow-card: 0 0 0 1px rgba(185, 120, 105, .10), 0 24px 60px -30px rgba(140, 80, 70, .35);
  --shadow-float: 0 18px 40px -14px rgba(90, 45, 45, .35), 0 0 0 1px rgba(185, 120, 105, .10);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-off) { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
p, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  text-wrap: balance;
}

a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: from-font; }

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 8px;
}
.on-dark :focus-visible { outline-color: #FFFFFF; }

::selection { background: var(--rose-100); color: var(--ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--rose-ink);
}
.eyebrow--sage { color: var(--sage-ink); }
.eyebrow--light { color: var(--sage-200); }

.h2 {
  font-size: clamp(34px, 1.5rem + 2.3vw, 54px);
  line-height: 1.12;
  letter-spacing: -.012em;
}
.h2--sm { font-size: clamp(28px, 1.2rem + 1.4vw, 40px); line-height: 1.2; }
.h3 {
  font-size: clamp(24px, 1.25rem + .6vw, 30px);
  line-height: 1.2;
}
.section--flush-top { padding-top: 0; }
.lead {
  font-size: clamp(17px, 1rem + .3vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}
.muted { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font: 700 16px/1.2 var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .3s;
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--lg { min-height: 58px; padding: 0 28px; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

.btn--primary {
  background: linear-gradient(180deg, #B4586A 0%, #A34A5C 100%);
  color: #FFFFFF;
  box-shadow: 0 16px 30px -12px rgba(158, 70, 89, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--primary:hover { box-shadow: 0 22px 38px -14px rgba(158, 70, 89, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
/* sheen that sweeps across on hover */
.btn--primary::after,
.btn--white::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .38) 46%, transparent 60%);
  background-size: 260% 100%;
  background-position: 130% 0;
  transition: background-position 1s var(--ease-soft);
}
.btn--white::after { background-image: linear-gradient(110deg, transparent 32%, rgba(158, 70, 89, .12) 46%, transparent 60%); }
.btn--primary:hover::after,
.btn--white:hover::after { background-position: -30% 0; }

.btn--secondary {
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--outline), 0 10px 24px -14px rgba(140, 80, 70, .4);
}
.btn--dark {
  background: var(--ink);
  color: #FFFFFF;
  box-shadow: 0 14px 28px -14px rgba(59, 42, 46, .7);
}
.btn--white {
  background: #FFFFFF;
  color: var(--rose-deep);
  font-weight: 800;
  box-shadow: 0 16px 30px -14px rgba(40, 10, 20, .6);
}
.btn--white-sage { color: var(--sage-deep); }
.btn--ghost-light {
  background: transparent;
  color: #FFFFFF;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); }

.text-link {
  color: var(--rose-ink);
  font-weight: 700;
  text-decoration: underline;
}

/* Store button (Google Play). Text-only on purpose: swap in Google's
   official badge if you prefer, see README.md. */
.store-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 24px 0 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #2E2326 0%, #1E1618 100%);
  color: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 18px 32px -14px rgba(31, 23, 25, .7), inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 24px 40px -16px rgba(31, 23, 25, .75), inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .14); }
.store-btn:active { transform: translateY(0) scale(.98); }
.store-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .16) 46%, transparent 60%);
  background-size: 260% 100%;
  background-position: 130% 0;
  transition: background-position 1s var(--ease-soft);
}
.store-btn:hover::after { background-position: -30% 0; }
.store-btn__icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(160deg, #BA5D6F 0%, #9E4659 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.store-btn__text { display: flex; flex-direction: column; gap: 1px; text-align: left; }
.store-btn__small { font-size: 11px; line-height: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.store-btn__big { font-size: 20px; line-height: 24px; font-weight: 700; letter-spacing: -.01em; }
.store-btn--light {
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: 0 18px 32px -14px rgba(40, 10, 20, .6);
}
.store-btn--light::after { background-image: linear-gradient(110deg, transparent 32%, rgba(158, 70, 89, .1) 46%, transparent 60%); }
.store-btn--light:hover { box-shadow: 0 24px 40px -16px rgba(40, 10, 20, .65); }
.store-btn--light .store-btn__small { opacity: 1; color: var(--ink-2); }

.hero__note {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--ink-2);
}
.hero__note a { color: var(--rose-ink); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 3px;
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  background: linear-gradient(90deg, var(--peach), var(--rose) 55%, var(--sage));
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(252, 246, 242, .8);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  backdrop-filter: saturate(1.5) blur(18px);
  box-shadow: 0 1px 0 rgba(185, 120, 105, .16), 0 12px 32px -24px rgba(90, 45, 45, .45);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark {
  flex: none;
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 4px 10px rgba(140, 80, 70, .18));
  transition: transform .6s var(--ease-out);
}
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.06); }
.brand__name {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -.01em;
}

.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color .25s, background-color .25s;
}
.site-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .6); }
.site-nav a[aria-current="true"] { color: var(--ink); }
.site-nav a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--rose);
}

.header-cta { display: none; }

.icon-btn {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 0 0 1px rgba(185, 120, 105, .16);
  text-decoration: none;
  transition: background-color .3s, transform .35s var(--ease-out);
}
.icon-btn:hover { background: #FFFFFF; transform: translateY(-1px); }

.lang-switch {
  flex: none;
  display: flex;
  padding: 0 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 0 0 1px rgba(185, 120, 105, .16);
}
.lang-switch a {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.lang-switch span {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: .05em;
  transition: background-color .25s, color .25s;
}
.lang-switch a:hover span { background: rgba(59, 42, 46, .07); }
.lang-switch a[aria-current="page"] span { background: var(--ink); color: var(--cream); font-weight: 800; }
@media (max-width: 420px) {
  /* Translated privacy pages show three languages (SL, EN, own); keep them inside the 360–414 px header. */
  .lang-switch a { min-width: 36px; }
  .lang-switch span { padding: 7px 8px; }
}
@media (max-width: 340px) {
  .lang-switch a { min-width: 30px; }
  .lang-switch span { padding: 6px 5px; font-size: 12px; letter-spacing: .02em; }
  .brand__name { font-size: 18px; }
}

@media (min-width: 1080px) {
  .site-nav { display: block; margin-right: 8px; }
  .header-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FCF1EA 0%, #FBE4D9 100%);
  padding: calc(var(--header-h) + clamp(12px, 3vw, 40px)) 0 clamp(48px, 6vw, 88px);
}
.hero__layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  right: -14vw;
  top: -20vw;
  width: 66vw;
  max-width: 900px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #F9D6C3 0%, #F5C1A9 58%, #F0AF97 100%);
  opacity: .6;
}
.hero__blob {
  position: absolute;
  left: -10vw;
  bottom: -18vw;
  width: 34vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #D5E8DF;
  opacity: .75;
}
.hero__arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* the sun travels along the dotted arc (see main.js); this is its no-JS spot */
.hero__sun {
  position: absolute;
  left: 77%;
  top: 19%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #F8C49F 0%, #F4B48C 60%, #EFA67D 100%);
  box-shadow: 0 0 0 12px rgba(247, 199, 166, .42), 0 0 46px 14px rgba(244, 180, 140, .45);
  animation: sun-glow 5s ease-in-out infinite alternate;
}
.js .hero__sun { left: 0; top: 0; }
@media (max-width: 959px) {
  .hero__sun { display: none; }
}
@keyframes sun-glow {
  from { box-shadow: 0 0 0 10px rgba(247, 199, 166, .32), 0 0 36px 10px rgba(244, 180, 140, .35); }
  to   { box-shadow: 0 0 0 16px rgba(247, 199, 166, .5), 0 0 56px 18px rgba(244, 180, 140, .55); }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}
.hero__copy {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 6px 18px -8px rgba(140, 80, 70, .3), 0 0 0 1px rgba(185, 120, 105, .12);
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
}
.badge__dot {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--rose);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: heartbeat 2.8s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 60%, 100% { transform: scale(1); }
  10% { transform: scale(1.14); }
  20% { transform: scale(1); }
  30% { transform: scale(1.1); }
}
.hero h1 {
  font-size: clamp(44px, 1.8rem + 3.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -.02em;
}
.swash {
  position: relative;
  white-space: nowrap;
  color: var(--rose);
}
.swash svg {
  position: absolute;
  left: 2%;
  bottom: -.14em;
  width: 92%;
  height: .24em;
  overflow: visible;
  pointer-events: none;
}
.js .swash svg { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s .75s var(--ease-out); }
.js .is-visible .swash svg,
.js .swash.is-visible svg { clip-path: inset(0 0 0 0); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}
.hero__actions .btn { min-height: 60px; }

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  aspect-ratio: 600 / 640;
}
.hero__sparkles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__sparkles path { transform-box: fill-box; transform-origin: center; animation: twinkle 3.6s ease-in-out infinite; }
.hero__sparkles path:nth-child(2) { animation-delay: 1.2s; }
.hero__sparkles path:nth-child(3) { animation-delay: 2.1s; }
@keyframes twinkle {
  0%, 100% { opacity: .35; transform: scale(.75) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.1) rotate(20deg); }
}
.hero__phone { position: absolute; }
.hero__phone--back { left: 50%; top: 13%; width: 39%; z-index: 1; }
.hero__phone--back .phone { rotate: 5deg; }
.hero__phone--front { left: 8%; top: 2%; width: 46%; z-index: 2; }

/* ---------- Phone frame ---------- */
.phone { container-type: inline-size; width: 100%; }
.phone__frame {
  position: relative;
  padding: 3.2cqi;
  border-radius: 15cqi;
  background: linear-gradient(150deg, #3A2B30 0%, #2B2124 45%, #1E1618 100%);
  box-shadow:
    inset 0 0 0 .6cqi rgba(255, 255, 255, .07),
    0 46px 80px -22px rgba(90, 45, 45, .55),
    0 0 0 1px rgba(43, 33, 36, .06);
}
.phone__frame img {
  width: 100%;
  border-radius: 12cqi;
  background: #FFF8F3;
}
/* soft glass reflection */
.phone__frame::after {
  content: "";
  position: absolute;
  inset: 3.2cqi;
  border-radius: 12cqi;
  background: linear-gradient(125deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 32%);
  pointer-events: none;
}
.phone--dark .phone__frame { background: linear-gradient(150deg, #241D2B 0%, #17131A 60%, #100D12 100%); }
.phone--sage-shadow .phone__frame { box-shadow: inset 0 0 0 .6cqi rgba(255, 255, 255, .07), 0 40px 70px -20px rgba(0, 0, 0, .55); }

/* cropped phone that peeks from the bottom of a card */
.phone--peek { height: 300px; overflow: hidden; }
.phone--peek .phone__frame { padding-bottom: 0; border-radius: 15cqi 15cqi 0 0; box-shadow: 0 -10px 40px -14px rgba(140, 63, 78, .45); }
.phone--peek .phone__frame img,
.phone--peek .phone__frame::after { border-radius: 12cqi 12cqi 0 0; }
.phone--peek .phone__frame::after { bottom: 0; }
@media (min-width: 720px) { .phone--peek-tall { height: 400px; } }

/* ---------- Floating cards (hero) ---------- */
.float-card {
  position: absolute;
  z-index: 3;
}
.float-card__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: var(--shadow-float);
  animation: bob 6s ease-in-out infinite;
}
.float-card--feeding { right: 0; top: 4%; }
.float-card--reminder { left: 0; bottom: 7%; max-width: 64%; }
.float-card--reminder .float-card__inner { gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; animation-delay: -3s; box-shadow: 0 18px 40px -12px rgba(40, 70, 60, .35), 0 0 0 1px rgba(74, 125, 112, .12); }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.float-card__icon {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--rose-100);
  color: var(--rose-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.float-card__icon--bell {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sage);
  color: #FFFFFF;
}
.float-card__icon--bell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(74, 125, 112, .45);
  animation: ping 2.6s var(--ease-out) infinite;
}
.float-card__icon--bell svg { transform-origin: 50% 15%; animation: ring-bell 5.2s ease-in-out infinite; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(74, 125, 112, .45); }
  70%, 100% { box-shadow: 0 0 0 14px rgba(74, 125, 112, 0); }
}
@keyframes ring-bell {
  0%, 70%, 100% { transform: rotate(0); }
  74% { transform: rotate(14deg); }
  78% { transform: rotate(-12deg); }
  82% { transform: rotate(8deg); }
  86% { transform: rotate(-5deg); }
  90% { transform: rotate(0); }
}
.float-card__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.float-card__label { font-size: 12px; line-height: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rose-ink); }
.float-card__value { font-family: var(--font-serif); font-size: 18px; line-height: 22px; }
.float-card__title { font-size: 14px; line-height: 18px; font-weight: 700; }
.float-card__sub { font-size: 13px; line-height: 17px; font-weight: 500; color: var(--ink-2); }
@media (max-width: 520px) {
  .float-card__inner { padding: 8px 12px 8px 8px; gap: 8px; border-radius: 14px; }
  .float-card--reminder .float-card__inner { padding: 8px 12px 8px 8px; gap: 8px; border-radius: 16px; }
  .float-card__icon { width: 30px; height: 30px; border-radius: 10px; }
  .float-card__icon--bell { width: 32px; height: 32px; }
  .float-card__label { font-size: 10px; line-height: 13px; }
  .float-card__value { font-size: 15px; line-height: 19px; }
  .float-card__title { font-size: 12px; line-height: 16px; }
  .float-card__sub { font-size: 11px; line-height: 15px; }
}

/* ---------- Trust pills ---------- */
.trust {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: clamp(40px, 4vw, 56px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 0 0 1px rgba(185, 120, 105, .12);
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
}
.tone-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tone-rose  { background: var(--rose-100); color: var(--rose-ink); }
.tone-sage  { background: var(--sage-100); color: var(--sage-ink); }
.tone-peach { background: var(--peach-50); color: var(--peach-ink); }
.tone-lilac { background: var(--lilac-50); color: var(--lilac-ink); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--white { background: #FFFFFF; }
.section-head {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section-head--center { margin-inline: auto; align-items: center; text-align: center; }

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 4vw, 56px);
}
/* each grid item is a reveal wrapper; the card inside fills it */
.bento > * { display: flex; min-width: 0; }
.bento > * > .card { flex: 1 1 auto; width: 100%; }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .span-md-2 { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento .span-lg-1 { grid-column: span 1; }
  .bento .span-lg-2 { grid-column: span 2; }
}

.card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  border-radius: var(--radius-card);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -32px rgba(90, 45, 45, .4); }
/* cursor spotlight (position set by main.js) */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .42), transparent 45%);
  opacity: 0;
  transition: opacity .45s;
}
.card:hover::after { opacity: 1; }
.card--night::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(217, 207, 234, .16), transparent 45%); }
.card > * { position: relative; z-index: 1; }

.card--rose  { background: linear-gradient(160deg, #FAE6E2 0%, #F3CFCB 100%); }
.card--sage  { background: linear-gradient(160deg, #E6F1EC 0%, #CFE3DA 100%); }
.card--peach { background: linear-gradient(160deg, #FDEDE2 0%, #F7D3BE 100%); }
.card--lilac { background: linear-gradient(160deg, #F3EEF8 0%, #E2D7EF 100%); }
.card--cream { background: linear-gradient(150deg, #FFFFFF 0%, #FCF0EA 100%); box-shadow: var(--shadow-card); }
.card--night {
  background: linear-gradient(160deg, #2E2843 0%, #463A5C 70%, #5E4A68 100%);
  color: #FFFFFF;
}
.card--night .card__text { color: var(--night-text); }
.card__text { font-size: 16px; line-height: 26px; color: var(--ink-2); text-wrap: pretty; }

.card__icon {
  flex: none;
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px -10px rgba(140, 63, 78, .5);
}

.card--split { flex-flow: row wrap; gap: 28px 32px; padding-bottom: 0; }
.card--split .card__body {
  flex: 1 1 240px;
  min-width: 0;
  padding-bottom: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card__peek { flex: 0 1 230px; max-width: 100%; align-self: flex-end; margin-inline: auto; }

/* reminders demo (sage card) */
.reminder-demo { display: flex; align-items: center; gap: 18px; margin: -4px 0 8px; }
.ring { flex: none; width: 112px; height: 112px; }
.ring__progress { transition: stroke-dashoffset 1.8s .3s var(--ease-out); }
.js .ring:not(.is-visible) .ring__progress,
.js [data-reveal]:not(.is-visible) .ring__progress { stroke-dashoffset: 100; }
.mini-settings { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; flex: 1; }
.mini-settings li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  min-width: 0;
}
.mini-settings b { margin-left: auto; font-weight: 800; color: var(--sage-ink); white-space: nowrap; }
.mini-switch {
  position: relative;
  flex: none;
  width: 30px;
  height: 18px;
  border-radius: 999px;
  background: var(--sage);
}
.mini-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 15px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  transition: left .5s .9s var(--ease-out);
}
.js [data-reveal]:not(.is-visible) .mini-switch::after { left: 3px; }
/* narrow phones: smaller ring so "Pumping 2 h 30 min" fits next to it */
@media (max-width: 420px) {
  .reminder-demo { gap: 10px; }
  .ring { width: 56px; height: 56px; }
  .mini-settings li { gap: 8px; padding: 9px 10px; font-size: 13px; }
}
@media (max-width: 340px) { .ring { display: none; } }

/* history demo (peach card) */
.history-demo {
  position: relative;
  margin-bottom: 10px;
  padding: 16px 18px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .74);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.history-demo__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.history-demo__day { font-family: var(--font-serif); font-size: 18px; line-height: 22px; }
.history-demo__sum { font-size: 12px; line-height: 16px; font-weight: 700; color: var(--ink-2); }
.timeline { position: relative; height: 14px; }
.timeline__track { position: absolute; left: 0; right: 0; top: 4px; height: 6px; border-radius: 3px; background: #F1D2C1; }
.timeline__dot {
  position: absolute;
  top: 1px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 2px #FFFFFF;
  transition: transform .5s var(--ease-out), opacity .5s;
  transition-delay: calc(.4s + var(--i, 0) * .12s);
}
.timeline__dot--pump { border-radius: 3px; background: var(--sage); }
.timeline__now { position: absolute; top: -2px; width: 2px; height: 18px; border-radius: 1px; background: var(--ink); }
.js [data-reveal]:not(.is-visible) .timeline__dot { transform: scale(0); opacity: 0; }
.timeline__labels { display: flex; justify-content: space-between; font-size: 11px; line-height: 14px; font-weight: 600; color: var(--ink-2); }
.clothesline {
  align-self: flex-end;
  width: 156px;
  margin: -18px -12px -20px 0;
  pointer-events: none;
}

/* night card */
.stars {
  position: absolute !important;
  inset: 0;
  z-index: 0 !important;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.stars circle,
.stars path { transform-box: fill-box; transform-origin: center; animation: star 4.2s ease-in-out infinite; }
.stars > :nth-child(3n) { animation-duration: 3.4s; animation-delay: -1.2s; }
.stars > :nth-child(3n + 1) { animation-duration: 5s; animation-delay: -2.6s; }
.stars > :nth-child(4n) { animation-delay: -.6s; }
@keyframes star {
  0%, 100% { opacity: .25; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.15); }
}
.card__moon { width: 52px; height: 52px; margin-bottom: 10px; filter: drop-shadow(0 0 14px rgba(251, 227, 196, .45)); }

/* methods (lilac card) */
.methods { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.methods li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  transition: transform .6s var(--ease-out), opacity .6s;
  transition-delay: calc(.2s + var(--i, 0) * .12s);
}
.js [data-reveal]:not(.is-visible) .methods li { opacity: 0; transform: translateX(-14px); }
.methods__icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.methods__check {
  margin-left: auto;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lilac-ink);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* encouragement (cream card) */
/* milk amount demo (cream card): the app's statistics card in miniature */
.milk-demo {
  margin-bottom: 10px;
  padding: 16px 16px 12px;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(176, 85, 102, .08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.milk-demo__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.milk-demo__stat { min-width: 0; padding: 10px 12px; border-radius: 14px; background: var(--rose-50); }
.milk-demo__stat span { display: block; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink-2); overflow-wrap: anywhere; }
.milk-demo__stat b { display: block; font-family: var(--font-serif); font-size: 22px; line-height: 28px; font-weight: 400; color: var(--rose-ink); white-space: nowrap; }
.milk-chart { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; align-items: end; }
.milk-chart__col { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.milk-chart__val,
.milk-chart__day { font-size: 10px; line-height: 12px; font-weight: 800; letter-spacing: .04em; color: var(--ink-2); white-space: nowrap; }
.milk-chart__bar {
  width: 100%;
  height: calc(76px * var(--h) / 100);
  border-radius: 6px;
  background: var(--rose-100);
  transform-origin: bottom;
  transition: transform .7s var(--ease-out);
  transition-delay: calc(.3s + var(--i, 0) * .07s);
}
.milk-chart__bar.is-today { background: var(--rose); }
.js [data-reveal]:not(.is-visible) .milk-chart__bar { transform: scaleY(0); }

/* languages (rose card) */
.langs { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.langs li {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  transition: transform .5s var(--ease-out), opacity .5s;
  transition-delay: calc(.15s + var(--i, 0) * .035s);
}
.langs li.is-current { background: var(--rose); color: #FFFFFF; }
.js [data-reveal]:not(.is-visible) .langs li { opacity: 0; transform: translateY(8px); }

/* night card: the app's night illustration instead of a phone */
.card__peek--art { display: flex; justify-content: center; }
.night-art { width: 230px; height: auto; }

.card--quote { flex-flow: row wrap; align-items: center; gap: 24px 36px; }
.quote-art { flex: 0 0 auto; width: clamp(190px, 20vw, 240px); margin-inline: auto; }
.quote { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.quote__mark { width: 34px; height: 26px; color: var(--rose); }
.quote__text {
  min-height: 3.6em;
  font-family: var(--font-serif);
  font-size: clamp(22px, 1.1rem + .9vw, 30px);
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
  transition: opacity .6s var(--ease-soft), transform .6s var(--ease-soft), filter .6s var(--ease-soft);
}
.quote__text.is-leaving { opacity: 0; transform: translateY(-8px); filter: blur(3px); }
.quote__text.is-entering { opacity: 0; transform: translateY(8px); filter: blur(3px); transition: none; }
.quote__foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.quote__caption { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-2); }
.quote__dots { display: flex; gap: 6px; }
.quote__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--rose-200); transition: background-color .4s, width .4s var(--ease-out); }
.quote__dots span.is-active { width: 18px; border-radius: 3px; background: var(--rose); }
.pause-btn {
  flex: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--rose-ink);
  box-shadow: 0 0 0 1px rgba(185, 120, 105, .22);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.js .pause-btn { display: inline-flex; }
.motion-off .pause-btn { display: none; }
.pause-btn .icon-play { display: none; }
.pause-btn[aria-pressed="true"] .icon-play { display: block; }
.pause-btn[aria-pressed="true"] .icon-pause { display: none; }

/* ---------- How it works ---------- */
.how__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
}
.how__head .section-head { flex: 1 1 420px; max-width: 640px; }
.how__head .lead { flex: 0 1 380px; }

.steps {
  list-style: none;
  margin: clamp(40px, 4vw, 56px) 0 0;
  padding: 0;
  display: grid;
  gap: 24px;
}
@media (min-width: 720px) and (max-width: 1023px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
.step { display: flex; flex-direction: column; gap: 20px; }
.step__media {
  position: relative;
  height: 440px;
  border-radius: var(--radius-card);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.step__media .phone { width: 210px; margin-bottom: -40px; }
.step__media--rose  { background: linear-gradient(170deg, #F8DEDB 0%, #F3CFCB 100%); }
.step__media--sage  { background: linear-gradient(170deg, #DCEBE4 0%, #CBE1D7 100%); }
.step__media--peach { background: linear-gradient(170deg, #FBE3D4 0%, #F7D3BE 100%); }
.step__media-num {
  position: absolute;
  left: 26px;
  top: 10px;
  font-family: var(--font-serif);
  font-size: 96px;
  line-height: 1;
  color: #FFFFFF;
  opacity: .92;
}
.step__text { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }
.step__num { display: none; }
.step__text h3 { font-size: 24px; line-height: 30px; }
.step__text p { font-size: 16px; line-height: 26px; color: var(--ink-2); }
.stage { display: none; }

/* Desktop with JS: sticky phone + scrolling steps */
@media (min-width: 1024px) {
  .js .how__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }
  .js .steps { margin-top: 0; gap: 0; }
  .js .step { min-height: 78vh; justify-content: center; }
  .js .step__media { display: none; }
  /* inactive steps are quieter but keep readable contrast */
  .js .step__text {
    max-width: 460px;
    gap: 14px;
    transform: translateX(-6px) scale(.98);
    transform-origin: left center;
    transition: transform .6s var(--ease-out);
  }
  .js .step__text h3,
  .js .step__text p { transition: color .6s var(--ease-soft); }
  .js .step:not(.is-active) .step__text h3 { color: #8F7C80; }
  .js .step:not(.is-active) .step__text p { color: #7A6A6E; }
  .js .step.is-active .step__text { transform: none; }
  .js .step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 4px;
    border-radius: 16px;
    font-family: var(--font-serif);
    font-size: 26px;
    line-height: 1;
    color: #8F7C80;
    background: #F4ECE9;
    transition: background-color .6s var(--ease-soft), color .6s var(--ease-soft), box-shadow .6s var(--ease-soft);
  }
  .js .step.is-active .step__num { color: #FFFFFF; background: var(--rose); box-shadow: 0 12px 24px -12px rgba(158, 70, 89, .8); }
  .js .step.is-active:nth-child(2) .step__num { background: var(--sage); box-shadow: 0 12px 24px -12px rgba(47, 87, 76, .8); }
  .js .step.is-active:nth-child(3) .step__num { background: #C9744B; box-shadow: 0 12px 24px -12px rgba(122, 74, 30, .7); }
  .js .step__text h3 { font-size: clamp(30px, 2.4vw, 38px); line-height: 1.15; }
  .js .step__text p { font-size: 18px; line-height: 1.6; }

  .js .stage {
    --stage-h: min(640px, calc(100vh - var(--header-h) - 48px));
    display: block;
    position: sticky;
    top: calc(var(--header-h) + (100vh - var(--header-h) - var(--stage-h)) / 2);
    height: var(--stage-h);
  }
  .stage__backdrop {
    position: absolute;
    inset: 0 4%;
    border-radius: 40px;
    background: linear-gradient(170deg, #F8DEDB 0%, #F3CFCB 100%);
    transition: background .8s var(--ease-soft);
    overflow: hidden;
  }
  .stage[data-active="1"] .stage__backdrop { background: linear-gradient(170deg, #DCEBE4 0%, #CBE1D7 100%); }
  .stage[data-active="2"] .stage__backdrop { background: linear-gradient(170deg, #FBE3D4 0%, #F7D3BE 100%); }
  .stage__ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 520px;
    height: 520px;
    margin: -260px 0 0 -260px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
  }
  .stage__ring--2 { width: 380px; height: 380px; margin: -190px 0 0 -190px; background: rgba(255, 255, 255, .28); }
  .stage__phone {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(270px, calc(var(--stage-h) * .42));
    translate: -50% -50%;
  }
  .stage__screens { position: relative; }
  .stage__screens img + img { position: absolute; inset: 3.2cqi; width: calc(100% - 6.4cqi); }
  .stage__screens img { transition: opacity .7s var(--ease-soft), transform .9s var(--ease-out); }
  .stage__screens img:not(.is-active) { opacity: 0; transform: scale(.97); }
  .stage__dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    translate: -50% 0;
    display: flex;
    gap: 8px;
  }
  .stage__dots span { width: 8px; height: 8px; border-radius: 4px; background: rgba(59, 42, 46, .22); transition: width .5s var(--ease-out), background-color .5s; }
  .stage__dots span.is-active { width: 26px; background: var(--ink); }
}

/* ---------- Privacy band ---------- */
.privacy-band {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-y);
  background: var(--sage-deep);
  color: #FFFFFF;
}
.privacy-band__arc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.privacy-band__grid {
  position: relative;
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 900px) {
  .privacy-band__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.privacy-band h2 { color: #FFFFFF; }
.privacy-band .lead { color: var(--sage-200); }
.checklist { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  transition: opacity .6s var(--ease-soft), transform .6s var(--ease-out);
  transition-delay: calc(.25s + var(--i, 0) * .12s);
}
.js [data-reveal]:not(.is-visible) .checklist li { opacity: 0; transform: translateY(10px); }
.checklist__tick {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sage-200);
  color: var(--sage-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.privacy-band__visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.privacy-band__halo {
  position: absolute;
  width: min(500px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.privacy-band__disc {
  position: absolute;
  width: min(400px, 82%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4D7D70 0%, #3A685B 100%);
}
.privacy-band__phone { position: relative; width: 240px; }
.privacy-band__lock {
  position: absolute;
  right: calc(50% - 170px);
  top: 18%;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #FFFFFF;
  color: var(--sage-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5);
  animation: bob 6s ease-in-out infinite;
}
.privacy-band__pill {
  position: absolute;
  left: calc(50% - 200px);
  bottom: 16%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--ink);
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5);
  animation: bob 6s -2.5s ease-in-out infinite;
}
@media (max-width: 520px) {
  .privacy-band__visual { min-height: 460px; }
  .privacy-band__phone { width: 210px; }
  .privacy-band__lock { right: 6%; }
  .privacy-band__pill { left: 2%; }
}

/* ---------- Open source ---------- */
.oss {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4.5vw, 56px);
  border-radius: 32px;
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
}
.oss__body { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.oss__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--ink);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}
.oss__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.oss__deco {
  position: absolute;
  right: -60px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(233, 225, 242, .9), rgba(233, 225, 242, 0) 70%);
  pointer-events: none;
}
.chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  transition: transform .5s var(--ease-out), opacity .5s;
  transition-delay: calc(.2s + var(--i, 0) * .07s);
}
.js [data-reveal]:not(.is-visible) .chips li { opacity: 0; transform: translateY(8px) scale(.94); }
.chip-rose  { background: var(--rose-100); color: var(--rose-ink); }
.chip-sage  { background: var(--sage-100); color: var(--sage-ink); }
.chip-peach { background: var(--peach-50); color: var(--peach-ink); }
.chip-lilac { background: var(--lilac-50); color: var(--lilac-ink); }
.chip-neutral { background: #F6EFEC; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-wrap: wrap;
  gap: 40px clamp(40px, 6vw, 96px);
}
.faq__intro { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.faq__list { flex: 999 1 560px; min-width: 0; display: grid; gap: 12px; }
.faq details {
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(185, 120, 105, .12);
  transition: box-shadow .4s var(--ease-out);
}
.faq details[open] { box-shadow: 0 0 0 1px rgba(185, 120, 105, .12), 0 18px 36px -20px rgba(140, 80, 70, .4); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 20px 20px 20px 26px;
  border-radius: 22px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rose-100);
  color: var(--rose-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .45s var(--ease-out), background-color .3s, color .3s;
}
.faq details[open] .faq__icon { transform: rotate(180deg); background: var(--rose); color: #FFFFFF; }
.faq__answer { padding: 0 64px 24px 26px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.faq__answer p + p { margin-top: 10px; }
/* smooth open/close where supported */
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
@media (max-width: 520px) {
  .faq summary { padding: 18px 16px 18px 20px; font-size: 17px; }
  .faq__answer { padding: 0 20px 22px; }
}

/* ---------- Download CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 40px;
  background: linear-gradient(150deg, #A24A5C 0%, #9A4457 55%, #8A3B4F 100%);
  color: #FFFFFF;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px clamp(32px, 5vw, 72px);
}
.cta__blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; }
.cta__blob--1 { right: -120px; top: -160px; width: 420px; height: 420px; background: #C2687A; opacity: .55; }
.cta__blob--2 { right: 140px; bottom: -120px; width: 220px; height: 220px; background: var(--peach); opacity: .22; }
.cta__hearts { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.cta__hearts span {
  position: absolute;
  bottom: -30px;
  left: var(--x);
  width: var(--s, 14px);
  height: var(--s, 14px);
  opacity: 0;
  animation: rise var(--t, 9s) linear infinite;
  animation-delay: var(--d, 0s);
}
.cta__hearts svg { width: 100%; height: 100%; }
@keyframes rise {
  0% { opacity: 0; transform: translateY(0) rotate(-8deg); }
  12% { opacity: .55; }
  80% { opacity: .35; }
  100% { opacity: 0; transform: translateY(-460px) rotate(10deg); }
}
.cta__art {
  position: relative;
  flex: none;
  width: 220px;
  height: 220px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(165deg, #F6D9CE 0%, #F9E7DF 52%, #FCF2EC 100%);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .12), 0 30px 50px -20px rgba(60, 20, 30, .5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.cta__art img { width: 190px; }
.cta__body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cta__body h2 { color: #FFFFFF; }
.cta__body .lead { color: #FFF1EC; max-width: 560px; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 12px; }
.cta__meta { font-size: 14px; line-height: 20px; font-weight: 600; color: #FBE3D9; }

/* QR to the store listing: only useful on larger screens */
.qr-card { display: none; }
@media (min-width: 1080px) {
  .qr-card {
    position: relative;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 18px 18px 14px;
    border-radius: 26px;
    background: #FFFFFF;
    color: var(--ink);
    box-shadow: 0 30px 50px -24px rgba(40, 10, 20, .6);
    rotate: 2deg;
    transition: rotate .6s var(--ease-out), transform .6s var(--ease-out);
  }
  .qr-card:hover { rotate: 0deg; transform: scale(1.03); }
}
.qr-card__code { position: relative; width: 156px; height: 156px; }
.qr-card__code svg { width: 100%; height: 100%; }
.qr-card__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 10px;
  box-shadow: 0 0 0 4px #FFFFFF;
}
.qr-card__label { font-size: 13px; line-height: 16px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--rose-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--footer-text); }
.site-footer__inner { padding-block: 64px 40px; display: flex; flex-direction: column; gap: 40px; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.site-footer__brand { flex: 2 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.site-footer .brand { align-self: flex-start; margin-right: 0; color: #FFFFFF; }
.site-footer .brand__mark { width: 36px; height: 36px; filter: none; }
.site-footer .brand__name { font-size: 20px; line-height: 26px; }
.site-footer__tagline { max-width: 340px; font-size: 15px; line-height: 24px; color: var(--footer-muted); }
.footer-nav { flex: 1 1 140px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.footer-nav__title { margin: 0 0 6px; font-size: 13px; line-height: 18px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--footer-head); }
.footer-nav a {
  align-self: flex-start;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: var(--footer-text);
  font-size: 15px;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1px no-repeat;
  transition: background-size .35s var(--ease-out), color .25s;
}
.footer-nav a:hover { background-size: 100% 1px; color: #FFFFFF; }
.footer-nav a[aria-current="page"] { color: #FFFFFF; font-weight: 700; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .12);
  font-size: 14px;
  line-height: 20px;
  color: var(--footer-muted);
}
.site-footer__bottom a { color: var(--footer-text); }
.site-footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.motion-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px 0 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: var(--footer-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .25s;
}
.motion-toggle:hover { background: rgba(255, 255, 255, .14); }
.js .motion-toggle { display: inline-flex; }
@media (prefers-reduced-motion: reduce) {
  .js .motion-toggle { display: none; }
}
.motion-toggle .icon-play { display: none; }
.motion-off .motion-toggle .icon-play { display: block; }
.motion-off .motion-toggle .icon-pause { display: none; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-soft), transform 1s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal="rise"] { transform: translateY(60px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Motion off: OS setting or footer toggle ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
.motion-off *, .motion-off *::before, .motion-off *::after {
  animation-play-state: paused !important;
  transition-duration: .01ms !important;
  transition-delay: 0s !important;
}
.motion-off .cta__hearts { display: none; }
.motion-off [data-speed] { translate: none !important; }

/* ==========================================================================
   Privacy policy page
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FCF1EA 0%, #FBE4D9 100%);
  padding: calc(var(--header-h) + clamp(8px, 2vw, 32px)) 0 clamp(120px, 12vw, 168px);
}
.page-hero__glow {
  position: absolute;
  right: -10vw;
  top: -26vw;
  width: 50vw;
  max-width: 700px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #F9D6C3 0%, #F5C1A9 58%, #F0AF97 100%);
  opacity: .5;
}
.page-hero__blob {
  position: absolute;
  left: -8vw;
  bottom: -16vw;
  width: 26vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #D5E8DF;
  opacity: .7;
}
.page-hero__grid {
  position: relative;
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 960px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1fr) 320px; }
}
.page-hero__copy { max-width: 760px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
/* Long single words (DE "Datenschutzerklärung") must wrap on phones instead of being cut off. */
.page-hero h1,
.policy h2 { overflow-wrap: break-word; hyphens: auto; }
.back-link {
  align-self: flex-start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.back-link svg { transition: transform .35s var(--ease-out); }
.back-link:hover svg { transform: translateX(-4px); }
.page-hero h1 {
  font-size: clamp(40px, 1.8rem + 3vw, 64px);
  line-height: 1.08;
  letter-spacing: -.015em;
}
.meta-pills { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.meta-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 0 0 1px rgba(185, 120, 105, .14);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}
.meta-pills .tone-icon { width: 26px; height: 26px; }
.page-hero__art { display: none; }
@media (min-width: 960px) {
  .page-hero__art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 320px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #FFFFFF 0%, #FFF4EE 60%, #FBE7DD 100%);
    box-shadow: 0 0 0 12px rgba(255, 255, 255, .45), 0 40px 70px -36px rgba(140, 80, 70, .55);
  }
  .page-hero__art img { width: 74%; }
}

.policy-main { position: relative; padding-bottom: var(--section-y); }
.summary {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * clamp(72px, 8vw, 104px));
  padding: clamp(24px, 3vw, 40px);
  border-radius: 28px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(185, 120, 105, .08), 0 30px 60px -34px rgba(140, 80, 70, .45);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.summary h2 { font-size: 26px; line-height: 32px; }
.summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px 28px;
}
.summary li { display: flex; flex-direction: column; gap: 6px; }
.summary .tone-icon { width: 46px; height: 46px; border-radius: 15px; margin-bottom: 8px; }
.summary strong { font-size: 16px; line-height: 22px; font-weight: 700; }
.summary li span:last-child { font-size: 15px; line-height: 24px; color: var(--ink-2); }

.policy-layout {
  margin-top: clamp(40px, 5vw, 72px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px clamp(40px, 5vw, 80px);
}
.toc {
  flex: 1 1 240px;
  min-width: 0;
  padding: 22px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .75);
  box-shadow: 0 0 0 1px rgba(185, 120, 105, .1);
}
@media (min-width: 1024px) {
  .toc { position: sticky; top: calc(var(--header-h) + 24px); }
}
.toc__title { margin: 0 0 10px 10px; font-size: 13px; line-height: 18px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .3s, color .3s;
}
.toc a:hover { background: var(--rose-50); color: var(--ink); }
.toc a[aria-current="location"] { background: var(--rose-100); color: var(--rose-ink); font-weight: 700; }
.toc__n {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(59, 42, 46, .06);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.toc a[aria-current="location"] .toc__n { background: var(--rose); color: #FFFFFF; }

.policy {
  flex: 999 1 560px;
  min-width: 0;
  max-width: 740px;
  display: flex;
  flex-direction: column;
  gap: 52px;
  font-size: 17px;
  line-height: 1.7;
}
.policy section { display: flex; flex-direction: column; gap: 14px; }
.policy h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(24px, 1.2rem + .6vw, 28px);
  line-height: 1.25;
}
.num-badge {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
}
.policy ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.policy li::marker { color: var(--rose); }
.notice {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--peach-50);
  color: #5A3A1A;
  font-size: 16px;
  line-height: 1.6;
}
.notice__icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--peach-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.perm-list {
  margin: 6px 0 0;
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(185, 120, 105, .12);
  overflow: hidden;
}
.perm-list > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding: 20px 24px;
  box-shadow: inset 0 -1px 0 #F4EAE6;
}
.perm-list > div:last-child { box-shadow: none; }
.perm-list dt {
  flex: 1 1 210px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}
.perm-list dt .tone-icon { width: 38px; height: 38px; border-radius: 12px; }
.perm-list dd {
  flex: 999 1 300px;
  min-width: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--ink-2);
}
.perm-list code {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 8px;
  border-radius: 6px;
  background: #F6EFEC;
  color: var(--ink-2);
  font: 600 12.5px/20px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 40px);
  border-radius: 28px;
  background: var(--sage-deep);
  color: #FFFFFF;
}
.contact-card > * { position: relative; }
.contact-card h2 { color: #FFFFFF; }
.contact-card p { color: var(--sage-200); }
.contact-card .num-badge { background: var(--sage-200); color: var(--sage-deep); }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.contact-card__circle {
  position: absolute !important;
  right: -70px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4D7D70 0%, #3A685B 100%);
  pointer-events: none;
}
.policy a[href^="mailto:"] { overflow-wrap: anywhere; }
.policy-note { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* ==========================================================================
   404
   ========================================================================== */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px var(--gutter);
  background: linear-gradient(180deg, #FCF1EA 0%, #FBE4D9 100%);
  text-align: center;
}
.error-page__inner { max-width: 560px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.error-page__art { width: min(300px, 80vw); margin-bottom: 8px; }
.error-page h1 { font-size: clamp(34px, 1.6rem + 2vw, 48px); line-height: 1.12; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 8px; }
