/* ============================================================
   WolleChat — marketing site design system
   Theme: white primary, navy-blue secondary. Fully rounded.
   No build step, no external dependencies.
   ============================================================ */

:root {
  /* ---- Brand palette: white + navy blue (lighter shade of the app-icon navy #27496f/#0a1626).
         Token names kept as --purple-* so existing rules keep working. ---- */
  --purple-950: #0a1626;
  --purple-900: #0f2238;
  --purple-800: #16304b;
  --purple-700: #21496c;
  --purple-600: #2f5a87;
  --purple-500: #3a6fa6;
  --purple-400: #5e90c4;
  --purple-300: #93b6d8;
  --purple-200: #c6dcec;
  --purple-100: #e6eff7;
  --purple-050: #f3f8fc;

  --accent: var(--purple-600);
  --accent-strong: var(--purple-700);
  --accent-soft: var(--purple-100);

  /* ---- Surfaces ---- */
  --bg: #ffffff;
  --bg-tint: #f3f8fc;
  --bg-tint-2: #eaf2f9;
  --surface: #ffffff;
  --ink-surface: #0f2238;      /* dark navy surface for inverted bands */

  /* ---- Text ---- */
  --text: #14202e;
  --text-muted: #5d6b7e;
  --text-faint: #97a3b3;
  --text-on-dark: #eef4fb;
  --text-on-dark-muted: #a9bace;

  /* ---- Lines & effects ---- */
  --border: #e4ebf3;
  --border-strong: #d2deea;
  --ring: rgba(58, 111, 166, .38);
  --shadow-sm: 0 2px 10px rgba(13, 33, 56, .06);
  --shadow-md: 0 12px 30px rgba(13, 33, 56, .10);
  --shadow-lg: 0 30px 70px rgba(13, 33, 56, .18);
  --shadow-glow: 0 18px 50px rgba(47, 90, 135, .35);

  /* ---- Status ---- */
  --success: #2bbf7a;
  --danger: #e0556b;

  /* ---- Shape (rounded is the signature) ---- */
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* ---- Type ---- */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, "Apple Color Emoji", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --maxw: 1160px;
  --nav-h: 76px;
}

/* ============================================================
   Reset & base
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img, svg { display: block; max-width: 100%; }

a { color: var(--accent-strong); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--purple-500); }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1rem; }

::selection { background: var(--purple-200); color: var(--purple-900); }

:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }

/* ============================================================
   Layout helpers
   ============================================================ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-tint { background: var(--bg-tint); }
.center { text-align: center; }
.narrow { max-width: 720px; margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  padding: 8px 16px; border-radius: var(--r-pill); margin-bottom: 20px;
}
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head p { color: var(--text-muted); font-size: 1.12rem; }

.lead { font-size: 1.2rem; color: var(--text-muted); }

.gradient-text {
  background: linear-gradient(100deg, var(--purple-600), var(--purple-400) 55%, var(--purple-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto; animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --btn-bg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1;
  padding: 16px 28px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  background: var(--btn-bg); color: #fff;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); color: #fff; }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary { background: linear-gradient(120deg, var(--purple-600), var(--purple-500)); }
.btn-ghost { background: var(--purple-050); color: var(--accent-strong); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--purple-100); color: var(--accent-strong); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--purple-900); }
.btn-on-dark { background: #fff; color: var(--purple-800); }
.btn-on-dark:hover { color: var(--purple-900); }
.btn-outline-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-dark:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-lg { padding: 19px 34px; font-size: 1.06rem; }
.btn-block { display: flex; width: 100%; }

/* ============================================================
   Top navigation
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.22rem; color: var(--text); letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand .logo-mark { width: 38px; height: 38px; flex: none; }
.brand b { color: var(--accent-strong); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 10px 16px; border-radius: var(--r-pill);
  color: var(--text-muted); font-weight: 600; font-size: .96rem;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--text); background: var(--purple-050); }
.nav-links a.active { color: var(--accent-strong); background: var(--accent-soft); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

.menu-btn {
  display: none; width: 46px; height: 46px; border: 1px solid var(--border-strong);
  background: #fff; border-radius: var(--r-md); cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.menu-btn span::before { transform: translateY(-6px); }
.menu-btn span::after { transform: translateY(4px); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding: clamp(60px, 9vw, 120px) 0 clamp(70px, 8vw, 110px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; color: var(--text-muted); font-size: .92rem; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--success); }

/* Aurora / mesh background */
.aurora { position: absolute; inset: -20% -10% auto -10%; height: 130%; z-index: 0; pointer-events: none; filter: blur(60px); opacity: .85; }
.blob { position: absolute; border-radius: 50%; mix-blend-mode: multiply; animation: float 18s ease-in-out infinite; }
.blob.b1 { width: 520px; height: 520px; background: radial-gradient(circle at 30% 30%, #93b6d8, transparent 70%); top: -120px; left: -80px; }
.blob.b2 { width: 460px; height: 460px; background: radial-gradient(circle at 50% 50%, #c6dcec, transparent 70%); top: 40px; right: -60px; animation-delay: -6s; }
.blob.b3 { width: 380px; height: 380px; background: radial-gradient(circle at 50% 50%, #5e90c4, transparent 70%); bottom: -120px; left: 30%; animation-delay: -11s; opacity: .5; }
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.08); }
  66% { transform: translate(-30px,20px) scale(.95); }
}

/* ============================================================
   Phone mockup (recreates the WolleChat app UI)
   ============================================================ */
.phone-stage { position: relative; display: flex; justify-content: center; z-index: 2; }
.phone {
  position: relative; width: 300px; height: 612px; border-radius: 46px;
  background: #0e0820; padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(124,77,255,.25);
  animation: rise 1s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(40px) rotate(-2deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
.phone::before { /* notch */
  content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px; background: #0e0820; border-radius: 0 0 16px 16px; z-index: 4;
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden;
  background: linear-gradient(180deg, #f7fafd, #e6eff7);
  display: flex; flex-direction: column;
}
.app-topbar {
  display: flex; align-items: center; gap: 10px; padding: 38px 16px 12px;
  background: #fff; border-bottom: 1px solid var(--border);
}
.app-topbar .av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--purple-500), var(--purple-700)); flex: none; }
.app-topbar .who { line-height: 1.2; }
.app-topbar .who b { font-size: .9rem; }
.app-topbar .who small { color: var(--success); font-size: .7rem; font-weight: 600; }
.app-topbar .lock { margin-left: auto; color: var(--accent); width: 18px; height: 18px; }
.app-msgs { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.bubble { max-width: 78%; padding: 9px 13px; font-size: .8rem; line-height: 1.4; border-radius: 16px; opacity: 0; animation: pop .5s ease forwards; }
.bubble.them { align-self: flex-start; background: #fff; color: var(--text); border-bottom-left-radius: 5px; box-shadow: var(--shadow-sm); }
.bubble.me { align-self: flex-end; background: linear-gradient(135deg, var(--purple-600), var(--purple-500)); color: #fff; border-bottom-right-radius: 5px; }
.bubble .meta { display: block; font-size: .6rem; margin-top: 3px; opacity: .7; }
.bubble.b-1 { animation-delay: .5s; } .bubble.b-2 { animation-delay: 1.1s; }
.bubble.b-3 { animation-delay: 1.8s; } .bubble.b-4 { animation-delay: 2.5s; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.app-composer {
  margin: 0 12px 14px; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--border-strong); border-radius: var(--r-pill); padding: 7px 7px 7px 16px;
}
.app-composer .ph { flex: 1; color: var(--text-faint); font-size: .8rem; }
.app-composer .send { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.app-composer .send svg { width: 16px; height: 16px; color: #fff; }
.app-tabbar {
  position: absolute; left: 14px; right: 14px; bottom: 14px; height: 56px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: space-around;
}
.app-tabbar i { width: 22px; height: 22px; color: var(--text-faint); display: block; }
.app-tabbar i.on { color: var(--accent); }

/* floating chips around the phone */
.float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; box-shadow: var(--shadow-md); border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: 10px 16px; font-size: .82rem; font-weight: 700; color: var(--text);
  animation: bob 5s ease-in-out infinite;
}
.float-chip svg { width: 18px; height: 18px; color: var(--accent); }
.float-chip.fc1 { top: 60px; left: -28px; animation-delay: -1s; }
.float-chip.fc2 { top: 250px; right: -40px; animation-delay: -2.5s; }
.float-chip.fc3 { bottom: 90px; left: -36px; animation-delay: -4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============================================================
   Logo strip / trust marquee
   ============================================================ */
.trustband { padding: 36px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 36px; color: var(--text-muted); font-weight: 600; font-size: .95rem; }
.trust-row span { display: inline-flex; align-items: center; gap: 9px; }
.trust-row svg { width: 20px; height: 20px; color: var(--accent); }

/* ============================================================
   Feature cards
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card .icon {
  width: 54px; height: 54px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--purple-100), var(--purple-200)); color: var(--accent-strong); margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.22rem; }
.card p { color: var(--text-muted); margin: 0; font-size: .98rem; }

/* split feature row */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip .split-media { order: -1; }
.split-media {
  border-radius: var(--r-xl); background: linear-gradient(150deg, var(--purple-100), var(--purple-050));
  border: 1px solid var(--border); min-height: 340px; padding: 36px;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); }
.feature-list svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.feature-list b { color: var(--text); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; font-weight: 800; font-size: 1.1rem;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500)); color: #fff; margin-bottom: 18px;
}

/* ============================================================
   Inverted (dark purple) bands
   ============================================================ */
.band-dark {
  background: radial-gradient(120% 120% at 80% 0%, var(--purple-800), var(--purple-950) 70%);
  color: var(--text-on-dark); position: relative; overflow: hidden;
}
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { background: rgba(255,255,255,.1); color: var(--purple-300); }
.band-dark p { color: var(--text-on-dark-muted); }
.band-dark .card {
  background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); box-shadow: none; backdrop-filter: blur(6px);
}
.band-dark .card h3 { color: #fff; }
.band-dark .card p { color: var(--text-on-dark-muted); }
.band-dark .card .icon { background: rgba(255,255,255,.1); color: #fff; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.stat { text-align: center; padding: 16px; }
.stat .num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: #fff; letter-spacing: -.03em; }
.stat .lbl { color: var(--purple-300); font-weight: 600; font-size: .95rem; }

/* big pledge / rule-of-three */
.pledge { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.pledge .p {
  text-align: center; padding: 40px 24px; border-radius: var(--r-lg);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
}
.pledge .p .big { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.pledge .p span { color: var(--purple-300); }

/* ============================================================
   CTA band
   ============================================================ */
.cta {
  border-radius: var(--r-xl); padding: clamp(44px, 6vw, 76px);
  background: radial-gradient(120% 140% at 0% 0%, var(--purple-600), var(--purple-800) 60%, var(--purple-900));
  color: #fff; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; }
.cta p { color: var(--purple-200); max-width: 540px; margin: 0 auto 28px; font-size: 1.12rem; }
.cta .hero-actions { justify-content: center; }
.cta::after {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
  top: -120px; right: -80px;
}

/* ============================================================
   FAQ / accordion
   ============================================================ */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; overflow: hidden; transition: box-shadow .2s ease, border-color .2s; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 1.05rem;
  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-size: 1.5rem; font-weight: 400; color: var(--accent); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--text-muted); }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ============================================================
   Download cards
   ============================================================ */
.dl-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.dl-card { text-align: center; }
.dl-card .icon { margin-inline: auto; width: 64px; height: 64px; }
.dl-card .icon svg { width: 32px; height: 32px; }
.dl-card .badge { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: var(--r-pill); margin-top: 10px; }

/* ============================================================
   Legal / article pages
   ============================================================ */
.page-hero { padding: clamp(48px, 6vw, 84px) 0 0; }
.page-hero .eyebrow { margin-bottom: 16px; }
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.legal-toc {
  position: sticky; top: calc(var(--nav-h) + 20px);
  border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; background: var(--bg-tint);
}
.legal-toc h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); }
.legal-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.legal-toc a { display: block; padding: 7px 12px; border-radius: var(--r-sm); color: var(--text-muted); font-size: .92rem; font-weight: 600; }
.legal-toc a:hover { background: #fff; color: var(--accent-strong); }
.legal-body h2 { font-size: 1.5rem; scroll-margin-top: calc(var(--nav-h) + 20px); margin-top: 2.2em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.15rem; margin-top: 1.6em; }
.legal-body p, .legal-body li { color: var(--text-muted); }
.legal-body ul { padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body strong { color: var(--text); }
.callout {
  background: var(--accent-soft); border: 1px solid var(--border-strong); border-radius: var(--r-md);
  padding: 18px 22px; margin: 24px 0; color: var(--purple-800); font-size: .96rem;
}
.callout strong { color: var(--purple-900); }
.updated { color: var(--text-faint); font-size: .92rem; font-weight: 600; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--purple-950); color: var(--text-on-dark-muted); padding: 72px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer .brand { color: #fff; }
.footer .brand b { color: var(--purple-300); }
.footer-about { max-width: 280px; margin-top: 16px; font-size: .95rem; color: var(--text-on-dark-muted); }
.footer h5 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { color: var(--text-on-dark-muted); font-size: .95rem; font-weight: 500; }
.footer ul a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.footer-social a:hover { background: var(--accent); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom {
  margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  font-size: .9rem; color: var(--text-faint);
}
.footer-bottom a { color: var(--text-on-dark-muted); }
.footer-bottom .badge-soft { display: inline-flex; align-items: center; gap: 7px; }
.footer-bottom svg { width: 16px; height: 16px; color: var(--success); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .4s; }

/* ============================================================
   Scroll clouds (home: fade in over hero, fade out past trust band)
   ============================================================ */
.cloud-layer {
  position: fixed; inset: 0; z-index: 55; pointer-events: none; overflow: hidden;
  opacity: 0; transition: opacity .7s ease;
}
.cloud-layer.show { opacity: 1; }
.cloud {
  position: absolute; display: block;
  filter: blur(.4px) drop-shadow(0 14px 30px rgba(20, 46, 72, .28));
  will-change: transform;
}
.cloud.c1 { width: 380px; height: 259px; top: -54px;   left: -70px;  opacity: .55; animation: cloud-drift-a 26s ease-in-out infinite; }
.cloud.c2 { width: 300px; height: 205px; top: 20px;    right: -60px; opacity: .50; animation: cloud-drift-b 31s ease-in-out infinite; }
.cloud.c3 { width: 330px; height: 225px; bottom: 24px;  left: -56px; opacity: .50; animation: cloud-drift-a 35s ease-in-out infinite reverse; }
.cloud.c4 { width: 240px; height: 164px; bottom: -34px; right: 5%;   opacity: .45; animation: cloud-drift-b 29s ease-in-out infinite; }
@keyframes cloud-drift-a { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(34px, -16px); } }
@keyframes cloud-drift-b { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 14px); } }
@media (max-width: 760px) {
  .cloud { opacity: .34 !important; filter: blur(1px) drop-shadow(0 8px 18px rgba(20, 46, 72, .22)); }
  .cloud.c4 { display: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .split, .legal { grid-template-columns: 1fr; gap: 36px; }
  .split.flip .split-media { order: 0; }
  .legal-toc { display: none; }
  .grid-3, .steps, .dl-grid, .stats, .pledge { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu-btn { display: flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--border); padding: 12px 16px 18px;
    box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .3s cubic-bezier(.2,.8,.2,1); z-index: 90;
  }
  .nav.open .nav-links { transform: translateY(0); }
  .nav-links a { padding: 14px 14px; border-radius: var(--r-md); font-size: 1.05rem; }
  .nav .nav-cta .btn { display: none; }
  .nav.open .menu-btn span { background: transparent; }
  .nav.open .menu-btn span::before { transform: rotate(45deg); }
  .nav.open .menu-btn span::after { transform: rotate(-45deg); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .steps, .dl-grid, .stats, .pledge { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .float-chip { display: none; }
  .section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
