/* zpayr website — matches the app's design language:
   deep navy #10233F + teal #139A8C accent, restrained fintech look, Baloo 2 font.
   Light mode is the default; @media (prefers-color-scheme: dark) overrides it for
   visitors whose OS prefers dark, mirroring the app's ThemeMode.system default. */

:root {
  --primary: #10233F;
  --secondary: #139A8C;
  --bg: #f8fafc;
  --surface: #f1f5f9;
  --surface-2: #ffffff;
  --border: #dbe4f0;
  --text: #10233F;
  --text-secondary: #475569;
  --muted: #64748b;
  --money: #10b981;
  --error: #ef4444;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-card: 0 16px 42px rgba(15, 23, 42, 0.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Baloo 2", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(19, 154, 140, 0.95);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--bg);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav nav { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.nav a:hover { color: var(--text); }

.nav .nav-cta {
  padding: 8px 12px;
  border: 1px solid #9fd9d0;
  border-radius: 9px;
  color: var(--primary);
  background: #e3f6f3;
}
.nav .nav-cta:hover { background: rgba(19, 154, 140, 0.30); }
.language-select { padding: 7px 6px; border: 1px solid var(--border); border-radius: 8px; background: transparent; color: var(--text-secondary); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.language-select option { color: #0f172a; }

/* ---------- theme toggle ---------- */

.theme-toggle {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  flex: 0 0 auto;
}
.theme-toggle:hover { color: var(--text); border-color: var(--secondary); }
.theme-icon { width: 17px; height: 17px; }
.theme-icon-sun { display: none; }
.theme-icon-moon { display: block; }
/* Effectively dark (OS prefers dark and not explicitly overridden to
   light, or explicitly toggled to dark): show the sun (click = go light). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-icon-moon { display: none; }
}
:root[data-theme="dark"] .theme-icon-sun { display: block; }
:root[data-theme="dark"] .theme-icon-moon { display: none; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.brand-mark { display: block; flex-shrink: 0; }

.brand-name {
  color: var(--text);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 88px;
  background:
    radial-gradient(700px 420px at 15% 0%, rgba(19, 154, 140, 0.14), transparent 70%),
    radial-gradient(600px 420px at 88% 35%, rgba(16, 35, 63, 0.06), transparent 70%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -130px 45%;
  height: 280px;
  border: 1px solid rgba(19, 154, 140, 0.15);
  border-radius: 50%;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: clamp(40px, 7vw, 64px);
}

.hero-copy { width: min(100%, 680px); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--secondary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--money); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.13); }

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 0 0 20px;
}

.accent {
  background: linear-gradient(90deg, var(--secondary), #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { color: var(--text-secondary); font-size: 19px; max-width: 640px; }
.lead strong { color: var(--text); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0; }

.store-launches { margin: -12px 0 26px; }
.store-launches > p { margin: 0 0 8px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.store-launches > div { display: flex; flex-wrap: wrap; gap: 10px; }
.store-badge { display: inline-flex; align-items: center; gap: 8px; min-width: 150px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; color: var(--text-secondary); background: #ffffff; opacity: 0.72; cursor: not-allowed; user-select: none; }
.store-badge-icon { display: grid; place-items: center; width: 22px; color: var(--secondary); font-size: 17px; }
.apple-icon { font-size: 15px; }
.store-badge span:nth-child(2) { display: grid; line-height: 1.08; color: var(--text); font-size: 14px; font-weight: 700; }
.store-badge small { color: var(--muted); font-size: 7px; font-weight: 700; letter-spacing: 0.07em; }
.store-badge em { margin-left: auto; color: var(--secondary); font-size: 9px; font-style: normal; font-weight: 700; white-space: nowrap; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  list-style: none; margin: 0; padding: 0;
  color: var(--money); font-size: 14px; font-weight: 600;
}
.hero-facts li { display: flex; align-items: center; gap: 7px; }
.hero-facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.payment-preview {
  position: relative;
  justify-self: end;
  width: min(100%, 342px);
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.30);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.92));
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.payment-preview::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, rgba(19, 154, 140, 0.14), transparent 34%); pointer-events: none; }
.preview-topline, .preview-recipient, .preview-footer, .preview-title, .preview-scan-label, .preview-payment-line { position: relative; }
.preview-topline { display: flex; align-items: center; color: var(--secondary); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.preview-live-dot { width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--money); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12); }
.preview-title { margin: 18px 0 16px; font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: -0.7px; }
.scan-panel { position: relative; display: grid; place-items: center; width: 164px; height: 164px; margin: 0 auto 14px; border-radius: 20px; background: linear-gradient(145deg, #edf7ff, #fff); box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18); }
.scan-panel::before { content: ""; width: 102px; height: 102px; border: 1px solid rgba(19, 154, 140, 0.18); border-radius: 14px; background: linear-gradient(135deg, rgba(19, 154, 140, 0.10), rgba(16, 35, 63, 0.06)); }
.scan-mark { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; font-size: 32px; font-weight: 850; line-height: 1; box-shadow: 0 8px 17px rgba(19, 154, 140, 0.35); }
.scan-corner { position: absolute; width: 29px; height: 29px; border-color: var(--secondary); border-style: solid; }
.corner-top-left { top: 22px; left: 22px; border-width: 3px 0 0 3px; border-radius: 8px 0 0; }
.corner-top-right { top: 22px; right: 22px; border-width: 3px 3px 0 0; border-radius: 0 8px 0 0; }
.corner-bottom-left { bottom: 22px; left: 22px; border-width: 0 0 3px 3px; border-radius: 0 0 0 8px; }
.corner-bottom-right { right: 22px; bottom: 22px; border-width: 0 3px 3px 0; border-radius: 0 0 8px 0; }
.preview-scan-label { margin: 0 0 20px; color: var(--text-secondary); font-size: 12px; text-align: center; }
.preview-recipient { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(148, 163, 184, 0.22); font-size: 13px; }
.preview-recipient span { color: var(--muted); }
.preview-recipient strong { color: var(--text); }
.preview-payment-line { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; color: var(--text-secondary); font-size: 12px; }
.preview-payment-line strong { color: #d1fae5; white-space: nowrap; }
.preview-footer { margin: 14px 0 0; color: var(--muted); font-size: 11px; text-align: center; }

.trust-bar { border-block: 1px solid var(--border); background: #eaf7f4; }
.trust-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-block: 22px; }
.trust-items p { margin: 0; padding-left: 18px; border-left: 2px solid rgba(19, 154, 140, 0.7); }
.trust-items strong, .trust-items span { display: block; }
.trust-items strong { font-size: 14px; }
.trust-items span { color: var(--muted); font-size: 12px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: #1a3660; }
.btn-floating { animation: hero-pulse 3s ease-in-out infinite; }
@keyframes hero-pulse { 50% { box-shadow: 0 0 0 8px rgba(19, 154, 140, 0.16); } }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--secondary); }

/* ---------- sections ---------- */

.section { padding: 72px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }

h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: -0.6px;
  margin: 0 0 16px;
  max-width: 760px;
}

.section-lead { color: var(--text-secondary); max-width: 720px; font-size: 17px; }

.grid { display: grid; gap: 20px; margin-top: 36px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(19, 154, 140, 0.4); }

.card h3 { margin: 0 0 10px; font-size: 18px; }
.card p { margin: 0; color: var(--text-secondary); font-size: 15px; }

.check-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 14px;
}

.check-list li {
  padding-left: 30px;
  position: relative;
  color: var(--text-secondary);
  font-size: 15px;
}
.check-list li strong { color: var(--text); }

.check-list li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--money);
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- data safety ---------- */

.data-safety { background: linear-gradient(180deg, rgba(24, 36, 58, 0.56), rgba(11, 17, 32, 0)); }
.data-safety-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr); align-items: center; gap: clamp(32px, 7vw, 88px); }
.data-safety-card { padding: 28px; border: 1px solid rgba(19, 154, 140, 0.35); border-radius: 20px; background: #ffffff; box-shadow: var(--shadow-card); }
.data-safety-card h3 { margin: 12px 0 20px; font-size: 18px; }
.privacy-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: rgba(16, 185, 129, 0.16); color: #6ee7b7; font-weight: 900; }
.data-safety-link { margin: 22px 0 0; font-size: 14px; font-weight: 700; }
.data-safety-link a { color: var(--secondary); text-decoration: none; }
.data-safety-link a:hover { color: #5eead4; }

/* ---------- donation ---------- */

.donation-section { background: radial-gradient(600px 340px at 85% 20%, rgba(16, 185, 129, 0.10), transparent 72%); }
.donation-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr); align-items: center; gap: clamp(32px, 7vw, 88px); }
.donation-facts { margin-top: 28px; }
.donation-card { justify-self: center; width: min(100%, 350px); padding: 22px; border: 1px solid rgba(16, 185, 129, 0.38); border-radius: 22px; background: linear-gradient(145deg, #f0fdf4, #ecfdf5); box-shadow: var(--shadow-card); }
.hero-donation { width: min(100%, 342px); }
.donation-qr { display: grid; min-height: 232px; place-items: center; padding: 8px; border-radius: 14px; background: #fff; }
.donation-qr svg { display: block; max-width: 100%; height: auto; }
.donation-qr p { margin: 0; color: #475569; font-size: 13px; }
.donation-recipient, .donation-iban { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 13px; }
.donation-recipient span, .donation-iban span { color: #52706a; }
.donation-recipient strong { color: #064e3b; }
.donation-iban { padding-top: 12px; border-top: 1px solid #bbf7d0; }
.donation-iban code { color: #047857; font: 600 12px ui-monospace, "Cascadia Mono", Consolas, monospace; }
.donation-card > p { margin: 14px 0 0; color: #52706a; font-size: 11px; text-align: center; }

.steps {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 36px 0 0; padding: 0; list-style: none;
  counter-reset: step;
}
.steps li { position: relative; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: #ffffff; }
.steps h3 { margin: 0 0 8px; font-size: 16px; color: var(--secondary); }
.steps p { margin: 0; color: var(--text-secondary); font-size: 15px; }

/* ---------- QR generator ---------- */

.generator-page { min-height: calc(100vh - 150px); }
.generator-page > .container > h1 { margin: 0 0 14px; font-size: clamp(34px, 5vw, 48px); letter-spacing: -1.2px; }
.generator-page .section-lead { margin-top: 0; }

.qr-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(320px, 480px) minmax(280px, 420px);
  justify-content: center;
  align-items: start;
  margin-top: 36px;
}
.generator-form {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}
@media (max-width: 860px) { .qr-layout { grid-template-columns: 1fr; } }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font: inherit;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(19, 154, 140, 0.25);
}

.field input::placeholder, .field textarea::placeholder { color: var(--muted); }

.hint { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.hint-error { color: var(--error); }

.field input.invalid { border-color: var(--error); }

.qr-preview {
  text-align: center;
  position: sticky;
  top: 88px;
}

.qr-frame {
  display: inline-block;
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  min-height: 280px;
  min-width: 280px;
  display: flex; align-items: center; justify-content: center;
}

.qr-frame svg { display: block; }

.qr-placeholder { color: var(--muted); font-size: 14px; max-width: 220px; }

.qr-actions { margin-top: 18px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.payload-box {
  margin-top: 20px;
  text-align: left;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  color: var(--text-secondary);
  white-space: pre-wrap;
  word-break: break-all;
}
.payload-box:empty { display: none; }

.notice {
  border-left: 3px solid var(--secondary);
  background: #e3f6f3;
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 760px;
}
.generator-disclaimer { margin-top: 32px; }

/* ---------- legal pages ---------- */

.legal { max-width: 780px; }
.legal-page { min-height: calc(100vh - 150px); }
.legal-page .legal { padding-top: 10px; }

.legal h1 { font-size: 32px; letter-spacing: -0.6px; }
.legal h2 { font-size: 20px; margin-top: 40px; }
.legal h3 { margin: 28px 0 8px; color: var(--secondary); font-size: 16px; }
.legal p, .legal li { color: var(--text-secondary); }
.legal strong { color: var(--text); }
.legal a { color: var(--secondary); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.legal-meta { color: var(--muted); font-size: 14px; }
.legal-template-notice { margin-top: 40px; }
.legal-locale-notice { margin-top: 20px; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--muted);
  font-size: 14px;
}
.footer .container { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
.footer-nav { display: flex; gap: 20px; }
.footer a { color: var(--text-secondary); text-decoration: none; }
.footer a:hover { color: var(--text); }

@media (max-width: 1050px) {
  .nav nav { flex: 1; min-width: 0; justify-content: flex-end; flex-wrap: nowrap; gap: 10px; overflow-x: auto; scrollbar-width: none; }
  .nav nav a:nth-of-type(n+3), .nav .nav-cta { display: none; }
  .language-select, .theme-toggle { flex: 0 0 auto; }
}

@media (max-width: 760px) {
  .nav { padding: 13px 18px; }
  .nav nav { flex: 1; min-width: 0; justify-content: flex-end; flex-wrap: nowrap; gap: 10px; overflow-x: auto; scrollbar-width: none; }
  .nav a { font-size: 12px; }
  .nav .nav-cta { padding: 5px 8px; }
  .nav nav a:nth-of-type(n+3) { display: none; }
  .nav .nav-cta { display: none; }
  .language-select, .theme-toggle { flex: 0 0 auto; }
  .container { padding-inline: 20px; }
  .hero { padding: 72px 0 64px; }
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { letter-spacing: -1.1px; }
  .lead { font-size: 17px; }
  .payment-preview { justify-self: center; width: min(100%, 360px); }
  .trust-items { grid-template-columns: 1fr; gap: 14px; padding-block: 18px; }
  .data-safety-layout { grid-template-columns: 1fr; gap: 28px; }
  .donation-layout { grid-template-columns: 1fr; gap: 28px; }
  .donation-card { justify-self: center; }
  .section { padding: 56px 0; }
  .qr-preview { position: static; }
  .footer .container { display: block; }
  .footer-nav { margin-top: 14px; flex-wrap: wrap; }
}

@media (max-width: 460px) {
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-facts { display: grid; gap: 8px; }
  .qr-frame { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Dark mode: OS-preference default (unless the visitor explicitly chose
   light via the theme toggle), plus an explicit override for the toggle's
   "dark" choice regardless of OS preference. Light (:root above) stays the
   unconditional baseline. */
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
    --bg: #0b1120;
    --surface: #101a2d;
    --surface-2: #18243a;
    --border: #2c3b54;
    --text: #f8fafc;
    --text-secondary: #94a3b8;
    --shadow-card: 0 18px 50px rgba(2, 6, 23, 0.24);
  }
:root:not([data-theme="light"]) body { color-scheme: dark; }
:root:not([data-theme="light"]) .nav { background: rgba(15, 23, 42, 0.92); }
:root:not([data-theme="light"]) .nav .nav-cta { border: 1px solid rgba(19, 154, 140, 0.55); color: #c8f0ea; background: rgba(19, 154, 140, 0.16); }
:root:not([data-theme="light"]) .nav .nav-cta:hover { background: rgba(19, 154, 140, 0.30); }
:root:not([data-theme="light"]) .hero {
    background:
      radial-gradient(700px 420px at 15% 0%, rgba(19, 154, 140, 0.24), transparent 70%),
      radial-gradient(600px 420px at 88% 35%, rgba(16, 35, 63, 0.4), transparent 70%);
  }
:root:not([data-theme="light"]) .hero::after { border-color: rgba(19, 154, 140, 0.18); }
:root:not([data-theme="light"]) .store-badge { background: rgba(30, 41, 59, 0.42); }
:root:not([data-theme="light"]) .preview-topline { color: #8fe3d6; }
:root:not([data-theme="light"]) .trust-bar { background: #111c31; }
:root:not([data-theme="light"]) .steps li { background: rgba(30, 41, 59, 0.34); }
:root:not([data-theme="light"]) .generator-form { background: linear-gradient(145deg, rgba(30, 41, 59, 0.88), rgba(17, 24, 39, 0.88)); }
:root:not([data-theme="light"]) .data-safety-card { background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98)); }
:root:not([data-theme="light"]) .field input, :root:not([data-theme="light"]) .field textarea { background: #172235; }
:root:not([data-theme="light"]) .notice { background: rgba(19, 154, 140, 0.08); }
:root:not([data-theme="light"]) .donation-card { background: linear-gradient(145deg, rgba(21, 44, 53, 0.96), rgba(12, 28, 37, 0.98)); }
:root:not([data-theme="light"]) .donation-recipient span, :root:not([data-theme="light"]) .donation-iban span { color: #93a9b6; }
:root:not([data-theme="light"]) .donation-recipient strong { color: #ecfdf5; }
:root:not([data-theme="light"]) .donation-iban { border-top: 1px solid rgba(167, 243, 208, 0.18); }
:root:not([data-theme="light"]) .donation-iban code { color: #d1fae5; }
:root:not([data-theme="light"]) .donation-card > p { color: #93a9b6; }
:root:not([data-theme="light"]) .donation-section { background: radial-gradient(600px 340px at 85% 20%, rgba(16, 185, 129, 0.12), transparent 72%); }
}

:root[data-theme="dark"] {
    --bg: #0b1120;
    --surface: #101a2d;
    --surface-2: #18243a;
    --border: #2c3b54;
    --text: #f8fafc;
    --text-secondary: #94a3b8;
    --shadow-card: 0 18px 50px rgba(2, 6, 23, 0.24);
  }
:root[data-theme="dark"] body { color-scheme: dark; }
:root[data-theme="dark"] .nav { background: rgba(15, 23, 42, 0.92); }
:root[data-theme="dark"] .nav .nav-cta { border: 1px solid rgba(19, 154, 140, 0.55); color: #c8f0ea; background: rgba(19, 154, 140, 0.16); }
:root[data-theme="dark"] .nav .nav-cta:hover { background: rgba(19, 154, 140, 0.30); }
:root[data-theme="dark"] .hero {
    background:
      radial-gradient(700px 420px at 15% 0%, rgba(19, 154, 140, 0.24), transparent 70%),
      radial-gradient(600px 420px at 88% 35%, rgba(16, 35, 63, 0.4), transparent 70%);
  }
:root[data-theme="dark"] .hero::after { border-color: rgba(19, 154, 140, 0.18); }
:root[data-theme="dark"] .store-badge { background: rgba(30, 41, 59, 0.42); }
:root[data-theme="dark"] .preview-topline { color: #8fe3d6; }
:root[data-theme="dark"] .trust-bar { background: #111c31; }
:root[data-theme="dark"] .steps li { background: rgba(30, 41, 59, 0.34); }
:root[data-theme="dark"] .generator-form { background: linear-gradient(145deg, rgba(30, 41, 59, 0.88), rgba(17, 24, 39, 0.88)); }
:root[data-theme="dark"] .data-safety-card { background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98)); }
:root[data-theme="dark"] .field input, :root[data-theme="dark"] .field textarea { background: #172235; }
:root[data-theme="dark"] .notice { background: rgba(19, 154, 140, 0.08); }
:root[data-theme="dark"] .donation-card { background: linear-gradient(145deg, rgba(21, 44, 53, 0.96), rgba(12, 28, 37, 0.98)); }
:root[data-theme="dark"] .donation-recipient span, :root[data-theme="dark"] .donation-iban span { color: #93a9b6; }
:root[data-theme="dark"] .donation-recipient strong { color: #ecfdf5; }
:root[data-theme="dark"] .donation-iban { border-top: 1px solid rgba(167, 243, 208, 0.18); }
:root[data-theme="dark"] .donation-iban code { color: #d1fae5; }
:root[data-theme="dark"] .donation-card > p { color: #93a9b6; }
:root[data-theme="dark"] .donation-section { background: radial-gradient(600px 340px at 85% 20%, rgba(16, 185, 129, 0.12), transparent 72%); }
