/* =========================================================================
   MealME — mealme.cloud
   Design system: D5 „Editorial Midnight" (Token-Quelle: App `MealME/src/index.css`).
   No external fonts (Instrument Sans lokal gebündelt, OFL), no trackers.
   Dark + light mode (App-Default: System).
   ========================================================================= */

/* ---------- Instrument Sans (lokal, DSGVO: kein Google-Fonts-Request) ---------- */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-sans-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-sans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/instrument-sans-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/instrument-sans-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/instrument-sans-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/instrument-sans-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/instrument-sans-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/instrument-sans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


/* ---------- Instrument Serif (lokal, Display-Akzent des D5-Webdesigns) ---------- */
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-serif-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-serif-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-serif-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-serif-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens (D5) ---------- */
:root {
  --brand:        #3ddb7e;   /* D5 accent (dark) — überschrieben im Light-Theme */
  --brand-bright: #5fe896;
  --brand-deep:   #2c8c55;   /* D5 accent (light) */
  --brand-ink:    #0d1410;   /* D5 on-accent (dark) */

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --maxw: 1180px;
  --gutter: 22px;

  --ff: 'Instrument Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;

  --t-fast: .16s ease;
  --t:      .26s cubic-bezier(.4,0,.2,1);

  --shadow:    0 1px 2px rgba(0,0,0,.06), 0 8px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,.35);
}

/* Dark (default) — D5 „Editorial Midnight" */
html, :root {
  --bg:        #101411;
  --bg-2:      #131814;
  --surface:   #161c17;
  --surface-2: #1b221c;
  --border:    rgba(238,240,233,.12);   /* d5-hair */
  --border-2:  rgba(238,240,233,.22);
  --text:      #eef0e9;                 /* d5-ink */
  --text-2:    #9aa294;                 /* d5-muted */
  --text-3:    #5d655c;                 /* d5-faint */
  --accent:    #3ddb7e;                 /* d5-accent */
  --glow:      rgba(61,219,126,.30);    /* d5-glow */
  --accent-dim: rgba(61,219,126,.12);   /* d5-accent-dim */
  --hero-grad: radial-gradient(60% 80% at 70% 0%, rgba(61,219,126,.12), transparent 60%);
  --shadow:    0 1px 2px rgba(0,0,0,.4), 0 14px 40px rgba(0,0,0,.45);
  --shadow-lg: 0 40px 100px -30px rgba(0,0,0,.75);
  color-scheme: dark;
}

/* Light — D5 warm Off-White */
html[data-theme="light"] {
  --bg:        #faf9f5;
  --bg-2:      #f3f1ea;
  --surface:   #ffffff;
  --surface-2: #f3f1ea;
  --border:    rgba(28,30,26,.14);      /* d5-hair */
  --border-2:  rgba(28,30,26,.24);
  --text:      #1c1e1a;                 /* d5-ink */
  --text-2:    #5f635a;                 /* d5-muted — WCAG-AA (>=4.5:1 auf #faf9f5; Audit 2026-06-15) */
  --text-3:    #73776c;                 /* d5-faint — WCAG-AA-Kontrast */
  --accent:    #27804d;                 /* d5-accent — abgedunkelt für AA (Grün auf Weiß) */
  --glow:      rgba(0,0,0,0);           /* d5-glow: light = transparent */
  --accent-dim: rgba(44,140,85,.10);    /* d5-accent-dim (light) */
  --hero-grad: none;
  --brand:        #27804d;              /* Light: Accent ersetzt Neon — AA-abgedunkelt (Audit 2026-06-15) */
  --brand-bright: #36a866;
  --brand-ink:    #ffffff;              /* d5-on-accent (light) */
  --shadow:    0 1px 2px rgba(16,24,40,.05), 0 12px 34px rgba(16,24,40,.08);
  --shadow-lg: 0 40px 90px -32px rgba(16,24,40,.22);
  color-scheme: light;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--ff);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background var(--t), color var(--t);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--brand); color: var(--brand-ink); }
h1,h2 { line-height: 1.08; letter-spacing: -.028em; font-weight: 500; }
h3,h4 { line-height: 1.2; letter-spacing: -.015em; font-weight: 600; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.hidden { display: none !important; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 76px) 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.section-head { max-width: 720px; margin: 0 auto clamp(34px, 5vw, 60px); }
.section-head.center { text-align: center; }
h2.h { font-size: clamp(28px, 4.4vw, 46px); margin: 14px 0 0; }
.lead { color: var(--text-2); font-size: clamp(16px, 1.6vw, 19px); margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15.5px;
  border: 1px solid transparent; transition: transform var(--t-fast), background var(--t), border-color var(--t), opacity var(--t);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 8px 26px -8px var(--glow); }
.btn--primary:hover { background: var(--brand-bright); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn--ghost:hover { border-color: var(--brand); color: var(--text); }
.btn--lg { padding: 16px 28px; font-size: 16.5px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand b { color: var(--text); }
.brand span { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.nav-links a {
  padding: 9px 13px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--text-2);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-spacer { flex: 1; }
.nav-tools { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 11px; display: inline-grid; place-items: center;
  color: var(--text-2); border: 1px solid var(--border); background: var(--surface);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.icon-btn:hover { color: var(--text); border-color: var(--border-2); }
.icon-btn svg { width: 19px; height: 19px; }

/* Language menu */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; height: 40px; border-radius: 11px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-weight: 700; font-size: 14px; }
.lang-btn:hover { color: var(--text); border-color: var(--border-2); }
.lang-btn svg { width: 16px; height: 16px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 6px;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast); z-index: 120;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 10px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--text-2);
}
.lang-menu button:hover { background: var(--surface-2); color: var(--text); }
.lang-menu button[aria-current="true"] { color: var(--brand); }
.lang-menu button[aria-current="true"]::after { content: "✓"; font-weight: 800; }

/* Mobile menu toggle + drawer */
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta-desktop { display: none; }
  .menu-toggle { display: inline-grid; }
  .mobile-drawer {
    position: fixed; inset: 66px 0 0 0; z-index: 90; background: var(--bg);
    padding: 18px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity var(--t), transform var(--t), visibility var(--t);
    overflow-y: auto;
  }
  .mobile-drawer.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-drawer a { padding: 15px 8px; font-size: 19px; font-weight: 700; border-bottom: 1px solid var(--border); }
  .mobile-drawer .btn { margin-top: 18px; }
}
@media (min-width: 901px) { .mobile-drawer { display: none; } }

/* ---------- Home (D5-Webdesign: Hero + Gauge + Chips + Proof) ---------- */
.kicker { font-size: 11.5px; font-weight: 600; color: var(--accent); letter-spacing: .16em; text-transform: uppercase; }
.hero { position: relative; padding: clamp(56px, 7vw, 84px) 0 30px; overflow: visible; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.2vw, 76px); line-height: 1.02; }
.hero .lead { font-size: 17px; color: var(--text-2); line-height: 1.6; margin-top: 22px; max-width: 460px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store-note { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px; font-size: 12px; color: var(--text-3); }

.hero-stage { position: relative; display: flex; justify-content: center; }
.hero-gauge { position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%);
  width: min(620px, 130vw); height: min(620px, 130vw); pointer-events: none; overflow: visible; }
.hero-gauge .track { stroke: var(--border); opacity: .55; }
.hero-gauge .fill { stroke: var(--accent); filter: drop-shadow(0 0 10px var(--glow)); }
.hero-gauge .bonus { stroke: #7db9dd; }
html[data-theme="light"] .hero-gauge .bonus { stroke: #4f93bd; }
@media (prefers-reduced-motion: no-preference) {
  .hero-gauge .fill { stroke-dasharray: 0 1000; animation: gauge-fill 1.6s cubic-bezier(.22,1,.36,1) .3s forwards; }
  .hero-gauge .bonus { stroke-dasharray: 0 1000; animation: bonus-fill .9s cubic-bezier(.22,1,.36,1) 1.5s forwards; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-gauge .fill { stroke-dasharray: var(--fill-len) 1000; }
  .hero-gauge .bonus { stroke-dasharray: var(--bonus-len) 1000; }
}
@keyframes gauge-fill { to { stroke-dasharray: var(--fill-len) 1000; } }
@keyframes bonus-fill { to { stroke-dasharray: var(--bonus-len) 1000; } }

.phone { width: 320px; max-width: 82vw; border-radius: 42px; border: 1.5px solid var(--border); overflow: hidden;
  background: var(--bg); box-shadow: 0 40px 90px rgba(0,0,0,.45); position: relative; z-index: 2; }
html[data-theme="light"] .phone { box-shadow: 0 32px 70px rgba(20,32,24,.22); }
.phone img { width: 100%; }
.phone-sm { width: 250px; border-radius: 34px; }
.shot-l { display: none; }
html[data-theme="light"] .shot-l { display: block; }
html[data-theme="light"] .shot-d { display: none; }

.stat-chip { position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 12px 16px; backdrop-filter: blur(10px); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.stat-chip .num { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-chip .lbl { font-size: 10.5px; color: var(--text-2); margin-top: 2px; }
.chip-left { left: -8px; top: 24%; }
.chip-right { right: -16px; bottom: 20%; }
.chip-right .num { color: #7db9dd; }
html[data-theme="light"] .chip-right .num { color: #4f93bd; }

.proof { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 64px; }
.proof-inner { display: flex; justify-content: space-between; gap: 10px 24px; padding: 18px 0;
  font-size: 12.5px; color: var(--text-2); flex-wrap: wrap; }
.proof-inner span b { color: var(--text); font-weight: 600; }

/* Feature-Strecke */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 26px; }
.feature-row.flip > .feature-copy { order: 2; }
.feature-copy ul { margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; }
.feature-copy li { display: flex; gap: 12px; font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
.feature-copy li b { color: var(--text); font-weight: 600; }
.tick { width: 18px; height: 18px; border-radius: 6px; background: var(--accent-dim); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
  font-size: 11px; font-weight: 700; }
.feature-shot { display: flex; justify-content: center; position: relative; }
.feature-shot .halo { position: absolute; inset: 10% 18%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-dim), transparent 70%); }

/* Screens-Galerie */
.gallery { display: flex; gap: 22px; margin-top: 44px; justify-content: center; align-items: flex-start; }
.gallery > .phone-sm:nth-child(2) { margin-top: 36px; }
.gallery > .phone-sm:nth-child(3) { margin-top: 8px; }
.gallery > .phone-sm:nth-child(4) { margin-top: 44px; }
.gallery-cap { text-align: center; font-size: 12px; color: var(--text-3); margin-top: 26px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step .n { width: 38px; height: 38px; border-radius: 11px; background: var(--brand); color: var(--brand-ink); font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 18px; }
.step p { color: var(--text-2); font-size: 15px; margin-top: 8px; }

/* ---------- Download-CTA (D5: grosser Gauge-Bogen) ---------- */
.cta2 { margin-top: 110px; border-top: 1px solid var(--border); position: relative; overflow: hidden; }
.cta2-inner { text-align: center; padding: 100px 32px 110px; position: relative; }
.cta2-gauge { position: absolute; left: 50%; bottom: -340px; transform: translateX(-50%);
  width: 760px; height: 760px; pointer-events: none; opacity: .5; overflow: visible; }
.cta2 h2 { font-size: clamp(36px, 4.6vw, 56px); }
.cta2 .btn { margin-top: 36px; }
.cta2 .micro { font-size: 12px; color: var(--text-3); margin-top: 16px; }

/* App store badge (inline svg button) */
.store-badge { display: inline-flex; align-items: center; gap: 11px; background: #000; color: #fff; border: 1px solid #2a2e36;
  padding: 10px 18px; border-radius: 13px; }
html[data-theme="light"] .store-badge { background:#000; color:#fff; }
.store-badge svg { width: 26px; height: 26px; }
.store-badge .sb { text-align: left; line-height: 1.1; }
.store-badge .sb small { font-size: 10px; opacity: .8; display:block; }
.store-badge .sb b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.store-badge.soon { opacity: .55; cursor: default; }
.store-badge.soon:hover { opacity: .55; }

/* ---------- Roadmap ---------- */
.rm-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; max-width: max-content; margin: 0 auto clamp(34px,5vw,52px); }
.rm-tab { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--text-2); transition: color var(--t-fast), background var(--t-fast); }
.rm-tab .cnt { font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text-3); }
.rm-tab .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.rm-tab:hover { color: var(--text); }
.rm-tab.active { background: var(--brand); color: var(--brand-ink); }
.rm-tab.active .cnt { background: rgba(7,20,10,.18); color: var(--brand-ink); }
@media (max-width: 720px){ .rm-tabs { max-width: 100%; border-radius: 18px; } .rm-tab { flex: 1 1 40%; justify-content: center; } }

.rm-panel { display: none; }
.rm-panel.active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rm-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.rm-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; border-left: 4px solid var(--s-color, var(--border-2)); }
.rm-item .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.rm-item .tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--s-color, var(--text-2)); }
.rm-item .tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--s-color, var(--text-2)); }
.rm-item .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); }
.rm-item .ico svg { width: 18px; height: 18px; }
.rm-item h3 { font-size: 17.5px; }
.rm-item p { color: var(--text-2); font-size: 14.5px; margin-top: 7px; }
.rm-empty { text-align: center; color: var(--text-3); padding: 40px; }
.rm-legend { display:flex; flex-wrap:wrap; gap:18px; justify-content:center; margin-top: 34px; color: var(--text-3); font-size: 13px; }
.rm-legend span { display:inline-flex; align-items:center; gap:7px; }
.rm-legend i { width:9px;height:9px;border-radius:50%; display:inline-block; }
@media (max-width: 680px){ .rm-list { grid-template-columns: 1fr; } }

/* ---------- Language blocks (legal pages) ---------- */
.lang-block { display: none; }
html[lang="de"] .lang-block[data-lang="de"],
html[lang="en"] .lang-block[data-lang="en"],
html[lang="es"] .lang-block[data-lang="es"],
html[lang="pt"] .lang-block[data-lang="pt"] { display: block; }
html:not([lang]) .lang-block[data-lang="de"] { display: block; }

/* ---------- Article / legal ---------- */
.page-hero { padding: clamp(40px,6vw,72px) 0 0; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 50px); }
.page-hero .lead { max-width: 720px; }
.updated { color: var(--text-3); font-size: 14px; margin-top: 14px; }
.article { max-width: 800px; margin: 0 auto; }
.article h2 { font-size: clamp(21px, 2.6vw, 27px); margin: 40px 0 14px; padding-top: 12px; }
.article h3 { font-size: 18px; margin: 26px 0 8px; }
.article p, .article li { color: var(--text-2); font-size: 16px; }
.article p { margin: 12px 0; }
.article ul, .article ol { margin: 12px 0; padding-left: 22px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin: 7px 0; }
.article a { color: var(--accent); font-weight: 600; }
.article a:hover { text-decoration: underline; }
.article strong { color: var(--text); }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.article th, .article td { text-align: left; padding: 11px 13px; border: 1px solid var(--border); vertical-align: top; }
.article th { background: var(--surface); color: var(--text); font-weight: 700; }
.article td { color: var(--text-2); }
.callout { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--brand); border-radius: var(--radius-sm); padding: 16px 20px; margin: 22px 0; }
.callout p { margin: 6px 0; color: var(--text-2); }
.callout strong { color: var(--text); }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin: 28px 0; }
.toc b { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); }
.toc ol { margin: 12px 0 0; padding-left: 20px; }
.toc a { color: var(--accent); font-weight: 600; font-size: 15px; }

/* TOC card list for support */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.info-card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }
.info-card .ico svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 18px; }
.info-card p { color: var(--text-2); margin-top: 8px; font-size: 15px; }
.info-card a.mail { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 700; }

/* Steps for account deletion */
.del-steps { counter-reset: d; display: grid; gap: 14px; margin: 22px 0; }
.del-step { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.del-step .n { counter-increment: d; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); font-weight: 800; display: grid; place-items: center; }
.del-step .n::before { content: counter(d); }
.del-step h3 { font-size: 17px; }
.del-step p { color: var(--text-2); margin-top: 5px; font-size: 15px; }

/* ---------- Footer (kompakt, D5-Webdesign) ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0 44px; margin-top: 40px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 18px 24px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12.5px; color: var(--text-2); }
.foot-links a:hover { color: var(--text); }
.foot .fine { font-size: 11.5px; color: var(--text-3); }
.foot-small { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.foot-small small { display: block; color: var(--text-3); font-size: 11.5px; line-height: 1.6; }
.foot-small a { color: var(--text-2); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-ctas, .store-note { justify-content: center; }
  .hero-stage { order: -1; margin-bottom: 10px; }
  .feature-row, .feature-row.flip { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.flip > .feature-copy { order: 0; }
  .gallery { flex-wrap: wrap; }
  .chip-left { left: 4px; }
  .chip-right { right: 4px; }
  .cards-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 28px; }
  .hero-grid { gap: 12px; }
  .hero .lead { margin-top: 16px; }
  .hero-ctas { margin-top: 22px; }
  .store-note { display: none; }
  .proof { margin-top: 16px; }
  .fgrid, .steps, .stats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-cta .btn { width: 100%; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* Theme-abhängige Showcase-Screenshots (D5: dark site -> dark shots, light -> light) */
.media-card .sc-light { display: none; }
html[data-theme="light"] .media-card .sc-light { display: block; }
html[data-theme="light"] .media-card .sc-dark { display: none; }

/* Sprachmenü: 25 Einträge -> scrollbar */
.lang-menu { max-height: min(62vh, 460px); overflow-y: auto; }

/* D5 Light hat keinen Glow (Token transparent) — Blur-Layer ganz aus,
   sonst wäscht das Chrome-Compositing den Hero aus (blur auf transparenter Fläche). */
html[data-theme="light"] .phone-glow { display: none; }

/* Brand (D5-Webdesign: F3-SVG + Uppercase-Wortmarke, theme-dual) */
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand img { width: 24px; height: 24px; border-radius: 0; }
.brand b { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.brand b span { color: var(--accent); }
.brand .logo-l { display: none; }
html[data-theme="light"] .brand .logo-l { display: block; }
html[data-theme="light"] .brand .logo-d { display: none; }
.nav-links a { font-size: 13.5px; font-weight: 500; }

/* ===== FAQ (SEO/2026-06-13) — native <details> accordion, theme-aware ===== */
.faq { max-width: 760px; margin: clamp(28px,4vw,44px) auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 1.02rem; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; color: var(--text-2); line-height: 1.6; max-width: 64ch; }

/* ===== Early-Access-Modal (Android-Warteliste, 2026-06-14) — theme-aware ===== */
.ea-overlay{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(8,10,9,.66);backdrop-filter:blur(4px)}
.ea-overlay[hidden]{display:none}
.ea-modal{position:relative;width:100%;max-width:460px;background:var(--bg-2);border:1px solid var(--border);border-radius:var(--radius-lg);padding:clamp(26px,5vw,40px);box-shadow:0 30px 80px rgba(0,0,0,.45)}
.ea-x{position:absolute;top:12px;right:14px;background:none;border:0;color:var(--text-2);font-size:30px;line-height:1;cursor:pointer;padding:4px 8px}
.ea-x:hover{color:var(--text)}
.ea-modal h3{font-size:clamp(24px,4vw,30px);margin:10px 0 8px}
.ea-sub{color:var(--text-2);line-height:1.5;margin-bottom:20px}
.ea-form{display:flex;flex-direction:column;gap:12px}
.ea-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.ea-form input[type=email]{width:100%;padding:14px 16px;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit}
.ea-form input[type=email]:focus{outline:none;border-color:var(--accent)}
.ea-form .btn{width:100%;justify-content:center}
.ea-note{margin-top:14px;font-size:13px;color:var(--text-3);line-height:1.5}
.ea-msg{margin-top:16px;font-weight:600}
.ea-msg.ok{color:var(--accent)}
.ea-msg.err{color:#e2574c}

/* =========================================================================
   Preview 2026 — MagicUI landing-page visual system for legal/support pages
   Content and localization stay untouched; only the shared presentation layer
   is adapted to preview.mealme.cloud.
   ========================================================================= */

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/_next/static/media/643504413c165422-s.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/_next/static/media/a65324f02aa278dc-s.p.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
    U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --display: "Baloo 2", var(--ff);
  --brand: #31d87b;
  --brand-bright: #48e18c;
  --brand-deep: #11723f;
  --brand-ink: #07150d;
  --radius: 24px;
  --radius-sm: 16px;
  --radius-lg: 36px;
  --maxw: 1180px;
  --gutter: clamp(18px, 4vw, 32px);
  --legal-width: 880px;
}

html, :root {
  --bg: #0d130f;
  --bg-2: #111a14;
  --surface: #152019;
  --surface-2: #19261d;
  --border: #2a372e;
  --border-2: #3a4b40;
  --text: #f4f8f4;
  --text-2: #adbbb0;
  --text-3: #7f8f83;
  --accent: #48e18c;
  --accent-dim: rgba(49, 216, 123, .12);
  --glow: rgba(49, 216, 123, .2);
  --shadow: 0 18px 50px rgba(0, 0, 0, .24);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, .38);
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #f7faf7;
  --surface: #f3f7f3;
  --surface-2: #eaf1eb;
  --border: #dce5de;
  --border-2: #c7d5ca;
  --text: #111712;
  --text-2: #627168;
  --text-3: #78877d;
  --accent: #11723f;
  --accent-dim: rgba(49, 216, 123, .12);
  --brand: #31d87b;
  --brand-bright: #48e18c;
  --brand-ink: #07150d;
  --shadow: 0 18px 50px rgba(18, 32, 23, .08);
  --shadow-lg: 0 28px 80px rgba(18, 32, 23, .14);
  color-scheme: light;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: -.006em;
}

main {
  min-height: 70vh;
  padding-top: 88px;
  overflow: hidden;
}

h1, h2, h3, h4,
.brand b {
  font-family: var(--display);
  text-wrap: balance;
}

h1, h2 {
  font-weight: 700;
  letter-spacing: -.04em;
}

/* Floating liquid-glass navigation, matching the main preview. */
.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 100;
  padding-inline: 14px;
  background: transparent;
  border: 0;
  pointer-events: none;
  animation: legal-nav-in .58s cubic-bezier(.2,.8,.2,1) both;
}

.site-header.scrolled { border: 0; }

.nav {
  width: 100%;
  max-width: 1180px;
  height: 62px;
  padding: 7px 9px 7px 15px;
  gap: 15px;
  border: 1px solid rgba(220, 255, 232, .18);
  border-radius: 999px;
  background: rgba(12, 22, 15, .48);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025),
    0 12px 28px rgba(0, 0, 0, .24);
  -webkit-backdrop-filter: blur(34px) saturate(185%) contrast(1.04);
  backdrop-filter: blur(34px) saturate(185%) contrast(1.04);
  pointer-events: auto;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

html[data-theme="light"] .nav {
  border-color: rgba(255, 255, 255, .82);
  background: rgba(247, 251, 248, .48);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18),
    0 12px 28px rgba(18, 32, 23, .10);
}

.site-header.scrolled .nav {
  background: rgba(12, 22, 15, .7);
  border-color: rgba(220, 255, 232, .23);
}

html[data-theme="light"] .site-header.scrolled .nav {
  background: rgba(247, 251, 248, .72);
  border-color: rgba(255, 255, 255, .9);
}

.brand {
  gap: 10px;
  min-width: max-content;
}

.brand img.brand-app-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 6px 15px rgba(0, 0, 0, .14);
}

.brand b {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.035em;
  text-transform: none;
}

.brand b span { color: var(--brand); }
.brand .logo-d, .brand .logo-l { display: none !important; }

.nav-links {
  gap: 2px;
  margin-left: 4px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}

.icon-btn,
.lang-btn {
  height: 42px;
  border-radius: 999px;
  border-color: color-mix(in srgb, var(--border-2) 72%, transparent);
  background: color-mix(in srgb, var(--surface) 58%, transparent);
  color: var(--text-2);
}

.icon-btn { width: 42px; }

.icon-btn:hover,
.lang-btn:hover {
  color: var(--text);
  border-color: var(--border-2);
  background: color-mix(in srgb, var(--surface-2) 78%, transparent);
}

.lang-menu {
  top: calc(100% + 12px);
  min-width: 208px;
  padding: 8px;
  border-radius: 22px;
  border-color: color-mix(in srgb, var(--border-2) 86%, transparent);
  background: var(--bg-2);
  box-shadow: 0 22px 52px rgba(0,0,0,.34);
  -webkit-backdrop-filter: blur(28px) saturate(135%);
  backdrop-filter: blur(28px) saturate(135%);
}

.lang-menu button { border-radius: 14px; }
.lang-choice-label { display: inline-flex; min-width: 0; align-items: center; gap: 10px; }
.lang-choice-label > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang-flag {
  display: block;
  width: 22px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2);
}
html[data-theme="light"] .lang-menu {
  border-color: rgba(28,69,43,.18);
  background: rgb(249,252,250);
  box-shadow: 0 22px 52px rgba(18,41,26,.2);
}
html[data-theme="light"] .lang-flag { box-shadow: 0 0 0 1px rgba(17,23,18,.15); }

.btn {
  min-height: 42px;
  padding: 11px 19px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.btn--primary {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: none;
}

.btn--primary:hover {
  background: var(--brand-bright);
  transform: translateY(-1px);
}

.official-store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.official-store-badges a {
  display: block;
  padding: 0;
  line-height: 0;
  transition: transform .2s ease, opacity .2s ease;
}

.official-store-badges a:hover {
  transform: translateY(-2px) scale(1.015);
}

.official-store-badges a:active { transform: scale(.98); }
.official-badge { display: block; width: auto; max-width: none; }
.nav-store-badges .official-badge--apple { height: 32px; }
.nav-store-badges .official-badge--google { height: 48px; }
.drawer-store-badges .official-badge--apple { height: 40px; }
.drawer-store-badges .official-badge--google { height: 60px; }

/* Hero and long-form reading canvas. */
.page-hero {
  position: relative;
  padding: clamp(76px, 10vw, 132px) 0 clamp(44px, 7vw, 72px);
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: min(780px, 92vw);
  height: 410px;
  left: 50%;
  top: -150px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 216, 123, .13), rgba(49, 216, 123, 0) 68%);
  pointer-events: none;
}

html[data-theme="light"] .page-hero::before {
  background: radial-gradient(circle, rgba(49, 216, 123, .11), rgba(49, 216, 123, 0) 70%);
}

.page-hero .article {
  position: relative;
  max-width: 900px;
}

.page-hero h1 {
  max-width: 850px;
  margin-inline: auto;
  font-size: clamp(46px, 7.2vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
  animation: legal-hero-in .72s cubic-bezier(.2,.8,.2,1) .06s both;
}

.page-hero .lead {
  max-width: 710px;
  margin: 22px auto 0;
  color: var(--text-2);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  animation: legal-hero-in .72s cubic-bezier(.2,.8,.2,1) .14s both;
}

.updated {
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.45;
  animation: legal-hero-in .72s cubic-bezier(.2,.8,.2,1) .2s both;
}

.updated + .updated {
  border-radius: 18px;
  width: min(760px, 100%);
}

.section,
.section--tight {
  padding: 0 0 clamp(88px, 11vw, 136px);
}

.article {
  max-width: var(--legal-width);
}

.article h2 {
  position: relative;
  margin: clamp(48px, 7vw, 72px) 0 16px;
  padding-top: 0;
  color: var(--text);
  font-size: clamp(28px, 3.8vw, 38px);
  line-height: 1.1;
}

.article h2::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 17px;
  border-radius: 999px;
  background: var(--brand);
}

.article h3 {
  margin: 30px 0 9px;
  color: var(--text);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.2;
}

.article p,
.article li {
  color: var(--text-2);
  font-size: clamp(15.5px, 1.5vw, 17px);
  line-height: 1.76;
}

.article p { margin: 13px 0; }
.article ul, .article ol { margin: 15px 0 22px; padding-left: 25px; }
.article li { margin: 8px 0; padding-left: 3px; }
.article strong { color: var(--text); font-weight: 700; }

.article a:not(.btn),
.info-card a.mail {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article a:not(.btn):hover,
.info-card a.mail:hover {
  color: var(--brand-bright);
  text-decoration-thickness: 2px;
}

.callout,
.toc,
.info-card,
.del-step {
  border: 1px solid var(--border);
  background: linear-gradient(145deg,
    color-mix(in srgb, var(--surface) 92%, transparent),
    color-mix(in srgb, var(--surface-2) 82%, transparent));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .06);
}

.callout {
  position: relative;
  margin: 30px 0;
  padding: clamp(22px, 4vw, 30px);
  overflow: hidden;
  border-left: 1px solid var(--border);
  border-radius: 26px;
}

.callout::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--brand);
}

.toc {
  margin: 34px 0 18px;
  padding: clamp(24px, 4vw, 34px);
  border-radius: 28px;
}

.toc b {
  display: block;
  font-family: var(--display);
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.025em;
  text-transform: none;
}

.toc ol {
  columns: 2;
  column-gap: 42px;
  margin: 18px 0 0;
}

.toc li { break-inside: avoid; margin-block: 6px; }
.toc a { font-size: 15px; }

.article table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 24px 0 30px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 22px;
  border-spacing: 0;
  border-collapse: separate;
  background: var(--surface);
  font-size: 14px;
  -webkit-overflow-scrolling: touch;
}

.article thead,
.article tbody { display: table; width: 100%; min-width: 650px; table-layout: fixed; }
.article th, .article td { padding: 15px 17px; border: 0; border-bottom: 1px solid var(--border); }
.article th + th, .article td + td { border-left: 1px solid var(--border); }
.article tbody tr:last-child td { border-bottom: 0; }
.article th { background: var(--surface-2); }

.cards-2 {
  max-width: var(--legal-width);
  margin-inline: auto;
  gap: 20px;
}

.info-card {
  position: relative;
  min-height: 230px;
  padding: clamp(26px, 4vw, 36px);
  overflow: hidden;
  border-radius: 30px;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), border-color .28s ease, box-shadow .28s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
  box-shadow: 0 24px 55px rgba(0, 0, 0, .12);
}

.info-card .ico {
  width: 52px;
  height: 52px;
  margin-bottom: 21px;
  border-radius: 17px;
  background: var(--accent-dim);
  color: var(--brand);
}

.info-card .ico svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 25px; }
.info-card p { font-size: 15.5px; line-height: 1.65; }

.del-steps {
  gap: 15px;
  margin: 26px 0 38px;
}

.del-step {
  gap: 18px;
  padding: 23px 24px;
  border-radius: 24px;
  transition: transform .25s ease, border-color .25s ease;
}

.del-step:hover {
  transform: translateX(5px);
  border-color: color-mix(in srgb, var(--brand) 42%, var(--border));
}

.del-step .n {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--brand);
  color: var(--brand-ink);
  font-family: var(--display);
  font-size: 18px;
}

.del-step h3 { margin: 0; font-size: 20px; }
.del-step p { margin: 5px 0 0; font-size: 15px; }

.btn--ghost {
  border-color: var(--border-2);
  background: var(--surface);
}

/* Landing-page-style footer. */
.site-footer {
  margin-top: 0;
  padding: 56px 0 46px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.foot {
  align-items: flex-start;
  gap: 26px 44px;
}

.foot-links {
  max-width: 610px;
  gap: 10px 24px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.45;
}

.foot-links a {
  padding: 3px 0;
  transition: color .18s ease;
}

.foot-links a:hover,
.foot-links a[aria-current="page"] { color: var(--text); }

.foot .fine {
  color: var(--text-3);
  font-size: 12px;
}

.foot-small {
  margin-top: 30px;
  padding-top: 22px;
}

.foot-small small {
  max-width: 960px;
  color: var(--text-3);
  font-size: 11px;
}

/* JS controls every supported legal-language block after initialization. */
.lang-block.active { display: block; }

@keyframes legal-nav-in {
  from { opacity: 0; transform: translateY(-10px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes legal-hero-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
  main { padding-top: 82px; }
  .site-header { top: 10px; padding-inline: 10px; }
  .nav { height: 58px; padding: 6px 7px 6px 12px; }
  .nav-store-badges { display: none; }
  .brand img.brand-app-icon { width: 38px; height: 38px; border-radius: 10px; }
  .brand b { font-size: 18px; }
  .nav-tools { gap: 6px; }
  .lang-btn { padding-inline: 10px; }
  .mobile-drawer {
    inset: 78px 10px auto;
    max-height: calc(100dvh - 90px);
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: color-mix(in srgb, var(--bg-2) 90%, transparent);
    box-shadow: var(--shadow-lg);
    -webkit-backdrop-filter: blur(30px) saturate(170%);
    backdrop-filter: blur(30px) saturate(170%);
  }
  .mobile-drawer a {
    padding: 13px 12px;
    border-radius: 14px;
    border-bottom: 0;
    font-family: var(--display);
    font-size: 19px;
  }
  .mobile-drawer a:hover { background: var(--surface); }
  .mobile-drawer .drawer-store-badges { margin-top: 18px; }
  .mobile-drawer .drawer-store-badges a { padding: 0; background: transparent; }
  .toc ol { columns: 1; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .site-header { padding-inline: 8px; }
  .nav { height: 56px; gap: 7px; padding-left: 9px; }
  .brand { gap: 8px; }
  .brand img.brand-app-icon { width: 36px; height: 36px; }
  .brand b { font-size: 17px; }
  .lang-btn { width: 42px; padding: 0; justify-content: center; }
  .lang-btn [data-lang-current], .lang-btn svg:last-child { display: none; }
  .page-hero { padding-top: 64px; padding-bottom: 42px; }
  .page-hero h1 { font-size: clamp(40px, 13.5vw, 60px); }
  .page-hero .lead { margin-top: 18px; font-size: 17px; }
  .updated { font-size: 11px; }
  .section, .section--tight { padding-bottom: 82px; }
  .article h2 { margin-top: 50px; font-size: 29px; }
  .article h3 { font-size: 20px; }
  .callout, .toc { border-radius: 22px; }
  .cards-2 { gap: 14px; }
  .info-card { min-height: 0; border-radius: 25px; }
  .del-step { padding: 19px; border-radius: 21px; }
  .del-step:hover { transform: none; }
  .site-footer { padding-top: 42px; }
  .foot { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .page-hero h1,
  .page-hero .lead,
  .updated { animation: none; }
  .info-card:hover,
  .del-step:hover { transform: none; }
}

/* =========================================================================
   Preview legal/support parity pass — mirrors the live MagicUI landing chrome.
   ========================================================================= */
:root {
  --ff: Arial, Helvetica, sans-serif;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 9999; }

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

.site-header {
  top: 16px;
  padding-inline: 12px;
  animation: none;
  transition: opacity .42s cubic-bezier(.22,.8,.25,1),
    transform .42s cubic-bezier(.22,.8,.25,1);
}

.site-header.scroll-hidden {
  opacity: 0;
  transform: translateY(-96px);
  pointer-events: none;
}

.nav {
  position: relative;
  max-width: 1200px;
  height: 58.4px;
  padding: 0 16px 0 20px;
  gap: 0;
  justify-content: space-between;
  border-radius: 9999px;
}

.brand {
  gap: 8px;
  min-width: max-content;
  font-family: var(--ff);
}

.brand img.brand-app-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: none;
}

.brand b {
  font-family: var(--ff);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -.64px;
}

.brand b span { color: inherit; }
.nav-links {
  margin-left: auto;
  gap: 4px;
}
.nav-spacer { display: none; }

.nav-links a {
  padding: 8px 16px;
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: normal;
}

.nav-tools {
  gap: 4px;
  margin-left: 4px;
}

.nav-tools > .lang {
  position: relative;
  right: auto;
}

.icon-btn,
.lang-btn {
  height: 40px;
  padding-top: 0;
  padding-bottom: 0;
  border: 0;
  background: transparent;
}

.icon-btn {
  width: 40px;
  padding-inline: 0;
}
.lang-btn { padding-inline: 11px; }

.icon-btn:hover,
.lang-btn:hover {
  border-color: transparent;
  background: rgba(0, 0, 0, .05);
}

html:not([data-theme="light"]) .icon-btn:hover,
html:not([data-theme="light"]) .lang-btn:hover {
  background: rgba(255, 255, 255, .1);
}

.interactive-hover-button {
  position: relative;
  display: inline-flex;
  width: auto;
  height: 40px;
  align-items: center;
  overflow: hidden;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: normal;
  white-space: nowrap;
  transition: border-color .3s ease;
}

.interactive-hover-button__rest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.interactive-hover-button__dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--brand);
  transition: transform .3s ease;
}

.interactive-hover-button__rest > span:last-child {
  transition: opacity .3s ease, transform .3s ease;
}

.interactive-hover-button__hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #07150d;
  opacity: 0;
  transform: translateX(48px);
  transition: opacity .3s ease, transform .3s ease;
}

.interactive-hover-button__hover svg {
  width: 16px;
  height: 16px;
}

.interactive-hover-button:hover .interactive-hover-button__dot,
.interactive-hover-button:focus-visible .interactive-hover-button__dot {
  transform: scale(101);
}

.interactive-hover-button:hover .interactive-hover-button__rest > span:last-child,
.interactive-hover-button:focus-visible .interactive-hover-button__rest > span:last-child {
  opacity: 0;
  transform: translateX(48px);
}

.interactive-hover-button:hover .interactive-hover-button__hover,
.interactive-hover-button:focus-visible .interactive-hover-button__hover {
  opacity: 1;
  transform: translateX(0);
}

main {
  padding-top: 88px;
}

.page-hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(46px, 6vw, 72px);
}

.page-hero::before {
  display: none;
}

.legal-brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 auto 27px;
  font-family: var(--ff);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.035em;
  animation: legal-hero-in .72s cubic-bezier(.2,.8,.2,1) both;
}

.legal-brand-mark img {
  width: 62px;
  height: 62px;
  border-radius: 17px;
  object-fit: cover;
}

.legal-brand-mark > span > span {
  color: var(--brand);
}

.page-hero h1 {
  max-width: 940px;
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
}

.page-hero .lead {
  max-width: 780px;
  margin-top: 24px;
  font-family: var(--ff);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.55;
}

.article .updated {
  margin: 20px auto 0;
  padding: 8px 14px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
}

.article h2 {
  margin-top: clamp(54px, 7vw, 78px);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.05em;
}

.article h2::before { display: none; }

.article h3 {
  margin-top: 34px;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.035em;
}

.article p,
.article li {
  font-family: var(--ff);
  font-size: clamp(16px, 1.5vw, 17px);
}

.callout,
.toc,
.info-card,
.del-step {
  background: var(--surface);
  box-shadow: none;
}

.callout { border-radius: 32px; }
.toc { border-radius: 32px; }
.info-card { border-radius: 32px; }
.del-step { border-radius: 24px; }

.mobile-menu-overlay {
  display: none;
}

/* Compact footer copied from the current preview landing structure. */
.site-footer {
  position: relative;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  border-top: 0;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--text) 2%, transparent),
    color-mix(in srgb, var(--text) 5%, transparent));
}

.footer-wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 64px 24px 30px;
}

.footer-main {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.footer-intro > p {
  max-width: 390px;
  margin-top: 12px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.45;
}

.footer-newsletter { margin-top: 26px; }

.footer-newsletter h2,
.footer-group h2 {
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}

.footer-newsletter form {
  display: flex;
  max-width: 390px;
  gap: 8px;
  margin-top: 9px;
}

.footer-newsletter input {
  min-width: 0;
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--text) 3.5%, transparent);
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

.footer-newsletter input::placeholder {
  color: color-mix(in srgb, var(--text-2) 70%, transparent);
}

.footer-newsletter input:focus {
  outline: 2px solid color-mix(in srgb, var(--brand) 50%, transparent);
  outline-offset: 1px;
}

.footer-newsletter button {
  display: inline-flex;
  height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s ease;
}

.footer-newsletter button:hover { transform: translateY(-2px); }
.footer-newsletter button svg { width: 15px; height: 15px; }

.footer-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-group > div {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.footer-group a {
  width: fit-content;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.3;
  transition: color .18s ease;
}

.footer-group a:hover,
.footer-group a[aria-current="page"] {
  color: var(--text);
}

.footer-compliance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  font-size: 11px;
  line-height: 1.6;
}

.footer-compliance a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-compliance a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  color: var(--text-2);
  font-size: 12px;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-actions a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--text) 4%, transparent);
  color: var(--text-2);
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.footer-actions a:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--text) 8%, transparent);
  color: var(--text);
}

.footer-actions svg {
  width: 16px;
  height: 16px;
}

.footer-actions .back-to-top svg {
  transform: rotate(-90deg);
}

@media (max-width: 1050px) {
  .nav-spacer { flex: 1; }
  .lang-btn [data-lang-current],
  .lang-btn svg:last-child { display: none; }
  .lang-btn {
    width: 40px;
    padding: 0;
    justify-content: center;
  }
  .nav-links a { padding-inline: 11px; }
}

@media (max-width: 1023px) {
  main { padding-top: 78px; }
  .site-header { top: 12px; padding-inline: 12px; }
  .nav { height: 58px; padding: 0 9px 0 16px; }
  .nav-links,
  .nav-cta-desktop { display: none; }
  .menu-toggle { display: inline-grid; }
  .nav-tools > .lang {
    position: relative;
    right: auto;
  }

  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: block;
    visibility: hidden;
    opacity: 0;
    background: rgba(11, 32, 18, .45);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: opacity .25s ease, visibility .25s ease;
  }

  .mobile-menu-overlay.open {
    visibility: visible;
    opacity: 1;
  }

  .mobile-drawer {
    position: absolute;
    inset: auto 12px 12px;
    z-index: 1;
    display: flex;
    max-height: calc(100dvh - 24px);
    flex-direction: column;
    gap: 0;
    padding: 20px;
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
    border: 1px solid rgba(220, 255, 232, .18);
    border-radius: 32px;
    background: rgba(12, 22, 15, .88);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
    -webkit-backdrop-filter: blur(34px) saturate(185%);
    backdrop-filter: blur(34px) saturate(185%);
    transform: translateY(28px);
    transition: transform .3s cubic-bezier(.22,.8,.25,1);
  }

  html[data-theme="light"] .mobile-drawer {
    border-color: rgba(255, 255, 255, .82);
    background: rgba(247, 251, 248, .9);
    box-shadow: 0 24px 70px rgba(18, 32, 23, .18);
  }

  .mobile-menu-overlay.open .mobile-drawer {
    transform: translateY(0);
  }

  .mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
  }

  .mobile-drawer-links {
    display: grid;
  }

  .mobile-drawer-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-family: var(--display);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.045em;
  }

  .mobile-drawer-links a:last-child { border-bottom: 0; }

  .mobile-drawer .drawer-store-badges {
    justify-content: flex-start;
    margin-top: 24px;
  }

  .mobile-drawer .drawer-store-badges a {
    padding: 0;
    border: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 640px) {
  .site-header { padding-inline: 10px; }
  .nav { padding-left: 14px; }
  .brand b { font-size: 18px; }
  .nav-tools { gap: 0; }
  .page-hero { padding-top: 42px; }
  .legal-brand-mark { margin-bottom: 24px; }
  .legal-brand-mark img {
    width: 56px;
    height: 56px;
    border-radius: 15px;
  }
  .page-hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .article h2 { font-size: 33px; }

  .footer-wrap { padding: 48px 18px 28px; }
  .footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
  .footer-newsletter form { max-width: none; }
  .footer-compliance {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .mobile-menu-overlay,
  .mobile-drawer,
  .legal-brand-mark {
    animation: none;
    transition: none;
  }
}
