/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }
[hidden] { display: none !important; }

/* ── TOKENS ── */
:root {
  --paper:      #F5EFE2;
  --paper-2:    #EAE3D2;
  --paper-3:    #FFD6E4;
  --ink:        #14110F;
  --ink-soft:   #7A7164;
  --line:       #D6CDBA;
  --line-soft:  rgba(20,17,15,0.10);
  --blue:       #4A7AB8;
  --pink:       #E8547A;
  --white:      #FBF7EC;
  --font-d:     "Lora", Georgia, serif;
  --font-s:     "Inter", Helvetica, Arial, sans-serif;
  --radius:     14px;
  --radius-sm:  8px;
  --radius-lg:  22px;
  --shadow-1:   0 14px 42px rgba(20,17,15,0.14);
  --shadow-2:   0 8px 22px rgba(20,17,15,0.12);
  --max-w:      1280px;
  --nav-h:      64px;
}

/* ── BASE ── */
html { background: var(--paper); }

body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-s);
  font-size: 15px;
  line-height: 1.52;
  overflow-x: hidden;
}

body.with-nav { padding-top: var(--nav-h); }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 10%, rgba(74,122,184,0.11), transparent 26rem),
    radial-gradient(circle at 86% 84%, rgba(232,84,122,0.09), transparent 30rem);
  pointer-events: none;
}

html.nav-locked,
body.nav-locked { overflow: hidden; }

/* ── REVEAL ANIMATION ── */
body.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 650ms ease, transform 650ms ease;
}
body.js .reveal.is-visible { opacity: 1; transform: none; }

.simple-page {
  width: min(calc(100% - 48px), 820px);
  margin: 0 auto;
  padding: 34px 0 56px;
}
body.with-nav .simple-page { padding-top: 18px; }
body.page-download .simple-page { width: min(calc(100% - 48px), 980px); }
.simple-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 26px;
}
.simple-brand {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}
.simple-brand span { color: var(--blue); }
.simple-hero { padding: 6px 0 26px; text-align: center; }
.download-hero {
  margin-top: 6px;
  padding: 26px 24px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(251,247,236,0.82);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: center;
}
.download-hero2 {
  width: 100%;
  padding: 86px 0 64px;
  border-bottom: 1px solid rgba(232,84,122,0.18);
  background:
    radial-gradient(circle at 50% 12%, rgba(74,122,184,0.22), transparent 52%),
    radial-gradient(circle at 22% 84%, rgba(232,84,122,0.16), transparent 54%),
    rgba(245,239,226,0.34);
}
.download-hero2-inner {
  width: min(calc(100% - 48px), 980px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  text-align: center;
}
.download-appmark {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  background: rgba(251,247,236,0.92);
  border: 1px solid rgba(214,205,186,0.72);
  box-shadow: var(--shadow-2);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.download-appmark img { width: 112px; height: 112px; }
.download-kicker {
  margin-top: 18px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.download-title {
  margin-top: 12px;
  font-family: var(--font-d);
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.download-lead {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 58ch;
}
.download-hero2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: min(100%, 920px);
  margin-top: 26px;
}
.btn-lg {
  min-height: 78px;
  padding: 16px 18px;
  border-radius: 18px;
  box-shadow: none;
}
.download-hero2-actions a {
  flex: 1 1 320px;
  max-width: 440px;
  justify-content: flex-start;
}
.download-meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  color: rgba(20,17,15,0.62);
  font-size: 13px;
}
.download-meta a { color: var(--ink); text-decoration: none; }
.download-meta a:hover { color: var(--pink); }
.download-body { padding-top: 22px; }
.download-body .info-panel h2 { text-align: center; }
.download-body .panel-note { text-align: center; }
.download-info-secondary { margin-top: 38px; }
.download-help-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.download-help-actions a { justify-content: center; flex: 1 1 220px; }
.download-help-actions .btn-blue,
.download-help-actions .btn-primary,
.download-help-actions .btn-outline {
  min-height: 58px;
  padding: 16px 18px;
  border-radius: 18px;
}
.download-about {
  padding: 72px 0 28px;
  border-top: 1px solid rgba(214,205,186,0.9);
  background:
    radial-gradient(circle at 18% 10%, rgba(74,122,184,0.10), transparent 26rem),
    radial-gradient(circle at 86% 84%, rgba(232,84,122,0.08), transparent 30rem),
    rgba(251,247,236,0.18);
}
.download-about-inner {
  width: min(calc(100% - 48px), 980px);
  margin: 0 auto;
}
.download-about-kicker {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.download-about-title {
  margin-top: 12px;
  font-family: var(--font-d);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.download-about-lead {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  max-width: 74ch;
}
.download-about-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 44px;
}
.download-about-block {
  border-top: 1px solid rgba(214,205,186,0.75);
  padding-top: 22px;
  display: grid;
  gap: 12px;
}
.download-about-block-wide { grid-column: 1 / -1; }
.download-about-block h3 {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ink);
}
.download-about-block p { color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.download-about-block p strong { color: var(--ink); }
.download-about .reveal { transition-delay: var(--reveal-delay, 0ms); }
.download-about-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 10px;
}
.download-hero-copy .simple-lead { margin-left: 0; margin-right: 0; max-width: 52ch; }
.download-hero-actions { justify-self: stretch; }
.simple-title {
  font-family: var(--font-d);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.simple-lead {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}
.download-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
  justify-content: center;
}
.download-hero .download-actions {
  margin-top: 0;
  justify-content: stretch;
  display: grid;
  gap: 12px;
}
.download-actions a {
  min-height: 58px;
  padding: 16px 22px;
  font-size: 13px;
  letter-spacing: 0.03em;
}
.download-hero .download-actions a {
  width: 100%;
  justify-content: flex-start;
  min-height: 74px;
  padding: 16px 18px;
  border-radius: 18px;
  box-shadow: none;
  transition: transform 0.15s;
}
.dl-text { display: grid; gap: 4px; text-align: left; }
.dl-main {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.dl-sub {
  font-family: var(--font-s);
  color: rgba(20,17,15,0.68);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.download-actions a img { width: 22px; height: 22px; }
.simple-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.simple-stack { display: grid; gap: 16px; width: min(100%, 820px); margin: 0 auto; }
.download-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.download-info .info-panel + .info-panel { border-top: 0; }

.simple-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(245,239,226,0.78);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-s);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.simple-menu-icon {
  position: relative;
  width: 18px;
  height: 12px;
  display: inline-block;
  color: inherit;
}
.simple-menu-icon::before,
.simple-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translateY(-50%);
  transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
}
.simple-menu-icon::before { box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
.simple-menu-icon::after { opacity: 0; }
.simple-menu-btn[aria-expanded="true"] .simple-menu-icon::before {
  box-shadow: none;
  transform: translateY(-50%) rotate(45deg);
}
.simple-menu-btn[aria-expanded="true"] .simple-menu-icon::after {
  opacity: 1;
  transform: translateY(-50%) rotate(-45deg);
}

.simple-drawer {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(20,17,15,0.22);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: start center;
  padding: 18px 16px 24px;
}
.simple-drawer-inner {
  width: min(100%, 520px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(251,247,236,0.96);
  overflow: hidden;
  max-height: calc(100vh - 36px);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-1);
}
.simple-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.simple-drawer-brand {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.simple-drawer-brand span { color: var(--blue); }
.simple-drawer-close {
  padding: 10px 12px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  border-radius: 999px;
  font-family: var(--font-s);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.simple-drawer-links {
  padding: 0;
  margin: 0;
  list-style: none;
  overflow: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.simple-drawer-links a {
  display: block;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.15s;
}
.simple-drawer-links a.is-email { color: var(--blue); }
.simple-drawer-links li:last-child a { border-bottom: 0; }
.simple-drawer-links a:hover { background: rgba(255,214,228,0.28); }
.info-panel {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(251,247,236,0.84);
}
.simple-stack .info-panel + .info-panel { border-top: 0; }
.info-panel.card {
  border: 1px solid rgba(232,84,122,0.18);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,214,228,0.14), rgba(251,247,236,0.96));
  box-shadow: var(--shadow-2);
  padding: 22px;
}
.info-panel h2 {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 10px;
}
.info-panel ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--ink-soft); display: grid; gap: 10px; font-size: 14px; line-height: 1.6; }
.info-panel p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.steps-list { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: step; color: var(--ink-soft); display: grid; gap: 10px; font-size: 14px; line-height: 1.6; }
.steps-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding-top: 8px; }
.steps-list li::before { counter-increment: step; content: counter(step); font-family: var(--font-s); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; color: var(--blue); text-align: center; padding-top: 2px; }
.bullets { margin: 14px 0 0; padding: 0; list-style: none; color: var(--ink-soft); display: grid; gap: 10px; font-size: 14px; line-height: 1.6; }
.bullets li { position: relative; padding-left: 22px; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: rgba(232,84,122,0.7); }
.panel-note { margin-top: 10px; color: var(--ink-soft); font-size: 13px; }
.info-panel .btn-primary,
.info-panel .btn-blue,
.info-panel .btn-outline { margin-top: 16px; }

.simple-footer {
  width: min(calc(100% - 48px), 820px);
  margin: 0 auto 28px;
  padding: 0;
  border-top: 1px solid rgba(232,84,122,0.22);
  background: rgba(255,214,228,0.06);
}
.simple-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 0;
  justify-content: center;
}
.simple-footer-inner a { color: var(--ink-soft); text-decoration: none; font-size: 13px; font-weight: 600; }
.simple-footer-inner a:hover { color: var(--pink); }
.simple-footer-inner a.footer-email { color: var(--blue); }
.simple-footer-bottom { padding: 16px 0 22px; border-top: 1px solid rgba(232,84,122,0.14); color: var(--ink-soft); font-size: 12px; text-align: center; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  padding: 0 16px;
  min-height: var(--nav-h);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245,239,226,0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  z-index: 200;
  transition: background 180ms ease;
}

nav.is-scrolled { background: rgba(251,247,236,0.94); }

.topbar-brand {
  font-family: var(--font-d);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 0;
}
.topbar-brand span { color: var(--blue); }

.nav-links {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.topbar-actions { display: flex; align-items: center; gap: 10px; }
.topbar-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(20,17,15,0.66);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.topbar-icon:hover { background: rgba(20,17,15,0.05); color: var(--ink); transform: translateY(-1px); }
.topbar-icon svg { width: 22px; height: 22px; transition: transform 180ms ease, opacity 180ms ease; transform-origin: 50% 50%; }

.topbar-search-btn[aria-expanded="true"] svg { transform: rotate(-12deg) scale(0.94); }

.topbar-menu-btn svg path {
  transition: transform 200ms ease, opacity 160ms ease;
  transform-origin: 50% 50%;
  transform-box: fill-box;
}
.topbar-menu-btn[aria-expanded="true"] svg path:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.topbar-menu-btn[aria-expanded="true"] svg path:nth-child(2) { opacity: 0; }
.topbar-menu-btn[aria-expanded="true"] svg path:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 240;
  background: rgba(0,0,0,0.96);
  color: rgba(255,255,255,0.92);
  font-family: var(--font-s);
  display: grid;
  grid-template-rows: auto 1fr;
}
.nav-drawer-top {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}
.nav-drawer-brand {
  font-family: var(--font-s);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
}
.nav-drawer-brand span { color: rgba(74,122,184,0.95); }
.nav-drawer-content {
  padding: 18px 18px 28px;
  display: grid;
  gap: 18px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-drawer-group { display: grid; gap: 18px; padding: 18px 0; }
.nav-drawer-divider { height: 1px; background: rgba(255,255,255,0.14); }
.nav-drawer-link {
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  font-family: var(--font-s);
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.nav-drawer-link span { opacity: 0.8; font-size: 0.75em; }
.nav-drawer-link:hover { color: #fff; }
.nav-drawer-link-cta { color: rgba(255,255,255,0.86); }
.nav-drawer-link-cta { display: inline-flex; align-items: center; gap: 12px; }
.nav-drawer-link-cta svg { width: 22px; height: 22px; opacity: 0.9; }
.nav-drawer-link.nav-email { color: rgba(74,122,184,0.95); font-size: 18px; line-height: 1.3; letter-spacing: 0; }
.nav-drawer-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.86);
  cursor: pointer;
  border-radius: 12px;
  font-size: 0;
  line-height: 0;
}
.nav-drawer-close svg { width: 22px; height: 22px; }
.nav-drawer-close svg { transition: transform 180ms ease; transform-origin: 50% 50%; }
.nav-drawer-close:hover svg { transform: rotate(90deg); }
.nav-drawer-close:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-drawer-close {
  justify-self: end;
}

.search-drawer {
  position: fixed;
  inset: 0;
  z-index: 230;
  background: rgba(0,0,0,0.42);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: start center;
  padding: calc(var(--nav-h) + 18px) 16px 18px;
}
.search-panel {
  width: min(100%, 760px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  background: rgba(0,0,0,0.88);
  font-family: var(--font-s);
  overflow: hidden;
  box-shadow: 0 18px 52px rgba(0,0,0,0.42);
}
.search-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
}
.search-field svg { width: 18px; height: 18px; color: rgba(255,255,255,0.72); }
.search-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: rgba(255,255,255,0.92);
  font-family: inherit;
  font-size: 15px;
}
.search-input::placeholder { color: rgba(255,255,255,0.5); }
.search-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.88);
  border-radius: 14px;
  cursor: pointer;
  font-size: 0;
}
.search-close svg { width: 18px; height: 18px; }
.search-close svg { transition: transform 180ms ease; transform-origin: 50% 50%; }
.search-close:hover svg { transform: rotate(90deg); }
.search-close:hover { background: rgba(255,255,255,0.08); }
.search-results { padding: 10px 10px 14px; display: grid; gap: 6px; }
.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-s);
  font-size: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.search-result:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); }
.search-result span { color: rgba(255,255,255,0.6); font-size: 12px; }
.search-result svg { width: 16px; height: 16px; }

/* ── SECTION LAYOUT ── */
.section, .how-section, .diff-section, .proof-section,
#whitelist, .req-section, .inside-section, .cta-section,
.benefits-section, .manifesto-section, .support-wrapper, .legal-wrapper {
  width: min(calc(100% - 48px), var(--max-w));
  margin: 0 auto;
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-family: var(--font-s);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 22px;
  width: fit-content;
}
.section-label::before {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  background: var(--blue);
  flex-shrink: 0;
}

.section-title {
  color: var(--ink);
  font-family: var(--font-d);
  font-size: clamp(30px,4vw,48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.58;
  max-width: 520px;
}

.label-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-soft);
  opacity: 0.9;
}

.mini-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.mini-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-2);
  padding: 22px;
  display: grid;
  gap: 10px;
}
.mini-icon { width: 28px; height: 28px; }
.mini-card h3 {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ink);
}
.mini-card p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

/* ── HERO (split panel) ── */
.hero {
  width: min(calc(100% - 48px), var(--max-w));
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--line);
  background: rgba(251,247,236,0.76);
  box-shadow: var(--shadow-2);
}

.hero-left {
  padding: 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.hero-label {
  color: var(--ink-soft);
  font-family: var(--font-s);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--ink);
  font-family: var(--font-d);
  font-size: clamp(44px,5.2vw,76px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: none;
  margin: 0;
}
.hero h1 em { color: var(--blue); font-style: italic; text-transform: none; }

.hero-sub {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.58;
  max-width: 480px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-left .btn-ghost { border-color: var(--line); }

.hero-card {
  width: min(100%, 520px);
  border-radius: 26px;
  border: 1px solid rgba(251,247,236,0.14);
  background: var(--ink);
  box-shadow: var(--shadow-1);
  padding: 34px;
  color: rgba(251,247,236,0.92);
  display: grid;
  gap: 16px;
}
.hero-card-brand {
  font-family: var(--font-d);
  font-size: 40px;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--white);
}
.hero-card-brand span { color: var(--blue); }
.hero-card-copy {
  font-family: var(--font-d);
  font-size: 20px;
  line-height: 1.2;
  color: rgba(251,247,236,0.82);
}
.hero-card-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-card .btn-primary { background: var(--blue); border-color: var(--blue); }
.hero-card .btn-ghost { color: rgba(251,247,236,0.92); border-color: rgba(251,247,236,0.32); }
.hero-card .btn-ghost:hover { border-color: rgba(251,247,236,0.44); }
.hero-card-actions .btn-primary::before,
.hero-card-actions .btn-ghost::before {
  display: inline-block;
  width: 14px;
  text-align: center;
  opacity: 0.92;
}
.hero-card-actions .btn-primary::before { content: "+"; font-weight: 800; }
.hero-card-actions .btn-ghost::before { content: "⟳"; font-weight: 800; }

/* ── BUTTONS ── */
.btn-primary, .btn-blue, .btn-ghost, .btn-outline, .form-submit, .submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 999px;
  font-family: var(--font-s);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  padding: 12px 18px;
  border: 1px solid transparent;
  transition: transform 0.15s;
}
.btn-primary, .form-submit, .submit-btn { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn-blue                               { background: var(--ink);  border-color: var(--ink);  color: var(--white); }
.btn-ghost                              { background: transparent; border-color: var(--ink);  color: var(--ink); }
.btn-outline                            { background: transparent; border-color: var(--line); color: var(--ink); }

.btn-primary:hover, .btn-blue:hover, .btn-ghost:hover,
.btn-outline:hover, .form-submit:hover, .submit-btn:hover { transform: translateY(-1px); }

.form-submit:disabled, .submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-primary img, .btn-blue img, .btn-ghost img, .btn-outline img { width: 20px; height: 20px; flex-shrink: 0; }
.download-help-actions .btn-primary img,
.download-help-actions .btn-blue img { filter: brightness(0) invert(1); opacity: 0.95; }

/* ── MANIFESTO ── */
.manifesto {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(220px,0.55fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  margin-top: 48px;
}
.manifesto-text {
  padding: clamp(36px,5vw,72px);
  color: var(--ink);
  font-family: var(--font-d);
  font-size: clamp(24px,3.5vw,44px);
  line-height: 1.06;
}
.manifesto-text em { color: var(--pink); font-style: italic; }

.manifesto-footer {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--paper-3);
  border-left: 1px solid var(--line);
}
.manifesto-footer > div { padding: 32px; border-bottom: 1px solid var(--line); }
.manifesto-footer > div:last-child { border-bottom: 0; }

.manifesto-stat-value { display: block; color: var(--ink); font-family: var(--font-d); font-size: 28px; font-weight: 600; }
.manifesto-stat-label { display: block; color: var(--ink-soft); font-size: 13px; margin-top: 4px; }

/* ── FEATURE CARDS ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  margin-top: 48px;
}
.feature-card {
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 230px;
  color: var(--ink);
  transition: background 0.15s;
}
.feature-card:nth-child(3n)      { border-right: 0; }
.feature-card:nth-last-child(-n+3) { border-bottom: 0; }
.feature-card:hover { background: rgba(255,214,228,0.36); }

.feature-icon { width: 28px; height: 28px; display: block; margin-bottom: 6px; }

.feature-card h3 {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.06;
  color: var(--ink);
}
.feature-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; flex: 1; }

.feature-tag {
  color: var(--pink);
  font-family: var(--font-s);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: auto;
}

/* ── STEPS ── */
.how-heading { margin-bottom: 46px; }
.how-heading h2 { font-family: var(--font-d); font-size: clamp(30px,4.5vw,52px); font-weight: 600; line-height: 1.1; color: var(--ink); }
.how-heading p { color: var(--ink-soft); font-size: 15px; line-height: 1.58; margin-top: 12px; max-width: 440px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
}
.step {
  padding: 30px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 230px;
}
.step:last-child { border-right: 0; }

.step-num { color: var(--pink); font-family: var(--font-s); font-size: 11px; font-weight: 800; letter-spacing: 0.18em; }
.step h3   { font-family: var(--font-d); font-size: 22px; font-weight: 600; line-height: 1.06; color: var(--ink); }
.step p    { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ── DIFF ── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 42px;
}
.diff-col { background: var(--paper); padding: 34px; }
.diff-col h3 { color: var(--ink); font-family: var(--font-s); font-size: 10px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 24px; }
.diff-list { list-style: none; display: flex; flex-direction: column; }
.diff-item { display: flex; align-items: flex-start; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.diff-item:last-child { border-bottom: 0; }
.diff-icon { flex-shrink: 0; font-size: 14px; margin-top: 2px; }

/* ── PROOF ── */
.proof-header {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  margin-top: 42px;
}
.proof-header > * { padding: 34px; background: var(--paper); }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--white);
  overflow: hidden;
}
.proof-card {
  padding: 30px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 190px;
}
.proof-card:last-child { border-right: 0; }
.proof-kicker { color: var(--pink); font-family: var(--font-s); font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.proof-card h3 { color: var(--ink); font-family: var(--font-d); font-size: 25px; font-weight: 600; line-height: 1.06; }
.proof-card p  { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.proof-copy    { color: var(--ink-soft); font-size: 15px; line-height: 1.58; }

/* ── WHITELIST ── */
.whitelist-inner {
  display: grid;
  grid-template-columns: minmax(0,0.78fr) minmax(300px,0.62fr);
  gap: 42px;
  align-items: start;
}
.whitelist-header { grid-row: 1 / span 4; }
.whitelist-header h2 { font-family: var(--font-d); font-size: clamp(28px,4vw,48px); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 16px; color: var(--ink); }
.whitelist-header p  { color: var(--ink-soft); font-size: 15px; line-height: 1.58; }

.whitelist-inner > .tabs,
.whitelist-inner > .form-panel,
.whitelist-inner > .download-reveal { grid-column: 2; }

/* ── TABS ── */
.tabs {
  display: flex;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(245,239,226,0.78);
  overflow: hidden;
  padding: 6px;
  width: min(100%, 420px);
  margin: 18px auto;
}
.tab-btn {
  flex: 1;
  min-height: 44px;
  background: transparent;
  color: var(--ink-soft);
  border: 0;
  border-radius: 999px;
  font-family: var(--font-s);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.tab-btn.active { background: var(--blue); color: var(--white); }

/* ── FORMS ── */
.form-panel { display: none; }
.form-panel.active { display: block; }

.access-card {
  width: min(calc(100% - 48px), 760px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-2);
  padding: 40px;
}
.access-card .section-label { margin-bottom: 12px; }
.access-card .section-label::before { width: 38px; }
.access-card .section-title { font-size: clamp(28px, 3.4vw, 42px); }
.access-card .section-sub { margin-top: 10px; }
.access-card .form-panel { width: min(100%, 520px); margin: 0 auto; }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }

.form-group label {
  color: var(--ink);
  font-family: var(--font-s);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.custom-input {
  background: rgba(245,239,226,0.78);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font-family: var(--font-s);
  font-size: 14px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.15s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.custom-input:focus { border-color: var(--ink); }

.form-group textarea { min-height: 100px; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-soft); opacity: 0.6; }

.form-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 18px 0 8px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}
.form-consent input[type="checkbox"] { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--blue); }
.form-consent a { color: var(--blue); }

.form-submit { width: 100%; justify-content: center; margin-top: 8px; }

.form-status { margin-top: 14px; padding: 14px 16px; font-size: 14px; font-weight: 500; display: none; }
.form-status.ok  { display: block; background: rgba(92,184,138,0.08); border: 1px solid rgba(92,184,138,0.2); color: #5cb88a; }
.form-status.err { display: block; background: rgba(232,84,122,0.08); border: 1px solid rgba(232,84,122,0.2); color: var(--pink); }

.form-note { color: var(--ink-soft); font-size: 13px; margin-top: 16px; text-align: center; }
.form-note a { color: var(--blue); }

/* ── DOWNLOAD REVEAL ── */
.download-reveal {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-2);
  padding: 40px 32px;
  text-align: center;
}
.download-reveal-icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  background: rgba(74,122,184,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.download-reveal-icon img { width: 28px; height: 28px; }
.download-reveal h3 { font-family: var(--font-d); font-size: 26px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.download-reveal p  { color: var(--ink-soft); font-size: 14px; margin-bottom: 28px; }
.download-reveal-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.download-reveal-btns .btn-primary,
.download-reveal-btns .btn-blue { min-width: 200px; justify-content: center; }

/* ── BAIXAR PAGE ── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-family: var(--font-s);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.status-dot {
  width: 7px; height: 7px;
  background: #5cb88a;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }

.download-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-decoration: none;
  font-family: var(--font-s);
  min-width: 240px;
  transition: transform 0.15s;
}
.dl-btn-primary { background: var(--ink); border-color: var(--ink); color: var(--white); }
.dl-btn-primary:hover { transform: translateY(-1px); }
.dl-btn-disabled, .dl-btn-locked { background: var(--paper-2); border-color: var(--line); color: var(--ink-soft); cursor: not-allowed; opacity: 0.55; }

.dl-btn-icon { width: 32px; height: 32px; flex-shrink: 0; display: block; }
.dl-btn-text { text-align: left; }
.dl-btn-label { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; margin-bottom: 2px; }
.dl-btn-name  { display: block; font-size: 15px; font-weight: 700; }

.download-gate-msg { padding: 14px 16px; border: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; margin-top: 8px; border-radius: var(--radius-sm); }
.download-gate-msg a { color: var(--blue); }

.hero-note { color: var(--ink-soft); font-size: 13px; margin-top: 8px; }
.hero-note a { color: var(--blue); }

.req-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  margin-top: 32px;
}
.req-item { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.req-item:nth-child(3n)        { border-right: 0; }
.req-item:nth-last-child(-n+3) { border-bottom: 0; }

.req-icon  { width: 24px; height: 24px; display: block; margin-bottom: 14px; }
.req-title { color: var(--blue); font-family: var(--font-s); font-size: 10px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 6px; display: block; }
.req-value { color: var(--ink); font-family: var(--font-d); font-size: 22px; font-weight: 600; display: block; }
.req-sub   { color: var(--ink-soft); font-size: 13px; margin-top: 4px; display: block; }

.inside-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  margin-top: 40px;
}
.inside-item { display: flex; gap: 16px; align-items: flex-start; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.inside-item:nth-child(2n)        { border-right: 0; }
.inside-item:nth-last-child(-n+2) { border-bottom: 0; }
.inside-icon { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.inside-text h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.inside-text p  { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }

.cta-section { text-align: center; }
.cta-inner { max-width: 560px; margin: 0 auto; }
.cta-section h2 { font-family: var(--font-d); font-size: clamp(28px,4vw,44px); font-weight: 600; line-height: 1.15; color: var(--ink); margin-bottom: 16px; }
.cta-section p  { color: var(--ink-soft); font-size: 16px; line-height: 1.6; margin-bottom: 32px; }

/* ── APOIAR PAGE ── */
.page-donate .form-card {
  width: min(calc(100% - 48px), 650px);
  margin: 0 auto 78px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-2);
}
.form-title { color: var(--ink); font-family: var(--font-d); font-size: 28px; font-weight: 600; margin-bottom: 28px; }

.presets { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); margin-bottom: 20px; border-radius: var(--radius-sm); overflow: hidden; }
.preset-btn {
  min-height: 78px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-d);
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transition: background 0.15s;
}
.preset-btn:last-child { border-right: 0; }
.preset-btn.selected { background: var(--paper-3); }
.preset-btn:hover { background: rgba(255,214,228,0.36); }
.preset-sub { color: var(--ink-soft); font-family: var(--font-s); font-size: 9px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  margin-top: 48px;
}
.benefit-card { padding: 30px; border-right: 1px solid var(--line); min-height: 200px; }
.benefit-card:last-child { border-right: 0; }
.benefit-icon { width: 28px; height: 28px; display: block; margin-bottom: 14px; }
.benefit-card h3 { font-family: var(--font-d); font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.benefit-card p  { color: var(--ink-soft); font-size: 13px; line-height: 1.6; }

.manifesto-block { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-2); padding: 56px; margin-top: 48px; }
.manifesto-block p { color: var(--ink); font-family: var(--font-d); font-size: clamp(24px,3.5vw,44px); line-height: 1.06; }
.manifesto-block p em { color: var(--pink); font-style: italic; }
.manifesto-block footer { color: var(--ink-soft); font-size: 14px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); border-bottom: 0; padding-bottom: 0; background: transparent; display: block; width: auto; }

/* Result pages */
.page-success main, .page-cancel main {
  width: min(calc(100% - 48px), var(--max-w));
  margin: 0 auto;
  min-height: calc(100vh - 170px);
  padding: 78px 0 68px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 20px;
}
.success-icon, .cancel-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.success-icon { background: rgba(92,184,138,0.12); border: 2px solid rgba(92,184,138,0.3); }
.cancel-icon  { background: rgba(232,84,122,0.1);  border: 2px solid rgba(232,84,122,0.25); }
.success-icon img, .cancel-icon img { width: 36px; height: 36px; }
.page-success h1, .page-cancel h1 { font-family: var(--font-d); font-size: clamp(28px,4vw,44px); font-weight: 600; color: var(--ink); }
.page-success p,  .page-cancel p  { color: var(--ink-soft); font-size: 16px; line-height: 1.6; max-width: 480px; }

/* ── AUTH PAGES ── */
.auth-wrapper {
  width: min(calc(100% - 48px), 520px);
  margin: 0 auto 80px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-2);
  padding: 40px;
}
.auth-wrapper .form-title { text-align: center; margin-bottom: 8px; }
.auth-wrapper .auth-sub { text-align: center; color: var(--ink-soft); font-size: 14px; margin-bottom: 32px; }

/* ── LEGAL PAGES ── */
.page-terms .legal-wrapper, .page-privacy .legal-wrapper { max-width: 980px; border-top: 0; }

.legal-meta {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: 34px;
  padding: 34px 0 42px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
}
.legal-title { font-family: var(--font-d); font-size: clamp(50px,8vw,92px); font-weight: 600; line-height: 0.88; text-transform: uppercase; color: var(--ink); }
.legal-tag   { color: var(--blue); font-family: var(--font-s); font-size: 10px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; display: block; margin-bottom: 16px; }
.legal-sub   { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.legal-updated { color: var(--ink-soft); font-size: 13px; }

.legal-body, .faq-section { column-width: 360px; column-gap: 48px; }
.legal-body h2, .faq-section h2 { break-after: avoid; color: var(--ink); font-family: var(--font-d); font-size: 24px; font-weight: 600; line-height: 1.1; margin-bottom: 12px; margin-top: 32px; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.legal-body ul { padding-left: 20px; }
.legal-body a, .faq-answer a { color: var(--blue); }

.legal-highlight { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; background: var(--white); break-inside: avoid; margin-bottom: 20px; }

/* ── SUPPORT PAGE ── */
.page-support .support-wrapper { max-width: 980px; border-top: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  margin-bottom: 58px;
}
.contact-card { padding: 30px; border-right: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background 0.15s; display: block; }
.contact-card:last-child { border-right: 0; }
.contact-card:hover { background: rgba(255,214,228,0.36); }
.contact-icon  { width: 24px; height: 24px; display: block; margin-bottom: 14px; }
.contact-title { font-family: var(--font-d); font-size: 22px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.contact-desc  { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

.faq-section h2.faq-heading { column-span: all; font-family: var(--font-d); font-size: clamp(28px,3.5vw,40px); margin-bottom: 32px; }

.faq-list { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
details { border-bottom: 1px solid var(--line); background: rgba(251,247,236,0.82); }
details:last-child { border-bottom: 0; }
summary { padding: 20px 24px; color: var(--ink); font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--pink); font-size: 18px; font-weight: 400; flex-shrink: 0; }
details[open] summary { background: rgba(255,214,228,0.36); }
details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 24px 20px; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

/* ── AUTH CALLBACK ── */
.page-callback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--paper);
}
.callback-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── FOOTER ── */
body > footer {
  width: min(calc(100% - 48px), var(--max-w));
  margin: 0 auto 28px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--ink);
  background: transparent;
}
.footer-brand { font-family: var(--font-d); font-size: 20px; font-weight: 700; color: var(--ink); text-decoration: none; }
.footer-brand span { color: var(--blue); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0; list-style: none; }
.footer-links a { color: var(--ink-soft); font-family: var(--font-s); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; padding: 0 16px; border-right: 1px solid var(--line); transition: color 0.15s; }
.footer-links li:last-child a { border-right: 0; }
.footer-links a:hover { color: var(--pink); }
.footer-copy { color: var(--ink-soft); font-size: 13px; }

.site-footer {
  width: min(calc(100% - 48px), var(--max-w));
  margin: 0 auto 28px;
  padding: 34px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 18px;
  padding-bottom: 26px;
}
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-desc { color: var(--ink-soft); font-size: 14px; line-height: 1.55; max-width: 42ch; }
.footer-title { color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.footer-link { color: var(--ink-soft); text-decoration: none; font-size: 14px; line-height: 1.45; }
.footer-link-icon { display: inline-flex; gap: 10px; align-items: center; }
.footer-icon { width: 28px; height: 28px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; background: rgba(245,239,226,0.78); }
.footer-icon img { width: 18px; height: 18px; }
.footer-icon-ios { background: rgba(74,122,184,0.14); border-color: rgba(74,122,184,0.25); }
.footer-icon-android { background: rgba(232,84,122,0.14); border-color: rgba(232,84,122,0.25); }
.footer-link-ios { color: var(--blue); }
.footer-link-android { color: var(--pink); }
.footer-link-email { color: var(--blue); }
.footer-link:hover { color: var(--ink); }
.footer-bottom { padding: 18px 0 24px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom-links { display: inline-flex; gap: 14px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--ink-soft); text-decoration: none; font-size: 13px; }
.footer-bottom-links a:hover { color: var(--ink); }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ── 980px BREAKPOINT ── */
@media (max-width: 980px) {
  nav { padding: 0 14px; }

  .download-about-grid { grid-template-columns: 1fr; gap: 22px; }
  .download-about-block-wide { grid-column: auto; }

  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 300px; }

  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  .whitelist-inner { grid-template-columns: 1fr; }
  .whitelist-header { grid-row: auto; }
  .whitelist-inner > .tabs,
  .whitelist-inner > .form-panel,
  .whitelist-inner > .download-reveal { grid-column: 1; }

  .manifesto { grid-template-columns: 1fr; }
  .manifesto-footer { border-left: 0; border-top: 1px solid var(--line); }

  .features-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-card:nth-child(3n)        { border-right: 1px solid var(--line); }
  .feature-card:nth-child(2n)        { border-right: 0; }
  .feature-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .feature-card:nth-last-child(-n+2) { border-bottom: 0; }

  .steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .step:nth-child(odd)  { border-right: 1px solid var(--line); }
  .step:nth-child(even) { border-right: 0; }
  .step:nth-last-child(-n+2) { border-bottom: 0; }

  .proof-header { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2,minmax(0,1fr)); border-radius: 0 0 var(--radius) var(--radius); }
  .proof-card:nth-child(odd)  { border-right: 1px solid var(--line); }
  .proof-card:nth-child(even) { border-right: 0; }

  .diff-grid { grid-template-columns: 1fr; }

  .req-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .req-item:nth-child(3n)        { border-right: 1px solid var(--line); }
  .req-item:nth-child(2n)        { border-right: 0; }
  .req-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .req-item:nth-last-child(-n+2) { border-bottom: 0; }

  .inside-grid { grid-template-columns: 1fr; }
  .inside-item { border-right: 0; }
  .inside-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .inside-item:last-child { border-bottom: 0; }

  .benefits-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .benefit-card:nth-child(odd)  { border-right: 1px solid var(--line); }
  .benefit-card:nth-child(even) { border-right: 0; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-card:last-child { border-bottom: 0; }

  .legal-meta { grid-template-columns: 1fr; }

  .presets { grid-template-columns: repeat(2,1fr); }
  .preset-btn:nth-child(2) { border-right: 0; }
  .preset-btn:nth-child(3) { border-top: 1px solid var(--line); }
  .preset-btn:nth-child(4) { border-top: 1px solid var(--line); border-right: 0; }
}

/* ── 680px BREAKPOINT ── */
@media (max-width: 680px) {
  :root { --nav-h: 58px; }

  body.with-nav { padding-top: var(--nav-h); }

  .hero,
  .section, .how-section, .diff-section, .proof-section,
  #whitelist, .req-section, .inside-section, .cta-section,
  .benefits-section, .manifesto-section, .support-wrapper, .legal-wrapper,
  .page-donate .form-card,
  .auth-wrapper { width: min(calc(100% - 24px), var(--max-w)); }

  nav { min-height: var(--nav-h); padding: 0 12px; width: 100%; }
  .topbar-brand { font-size: 22px; }
  .topbar-icon { width: 40px; height: 40px; }

  .download-about { padding: 54px 0 18px; }
  .download-about-inner { width: min(calc(100% - 24px), 980px); }
  .download-about-grid { margin-top: 26px; gap: 20px; }
  .download-about-block { padding-top: 18px; }
  .download-about-list { grid-template-columns: 1fr; }

  .hero-left { padding: 40px 24px; }
  .hero h1 { font-size: clamp(38px,12vw,68px); }

  .mini-grid { grid-template-columns: 1fr; }
  .access-card { width: min(calc(100% - 24px), 560px); padding: 28px 22px; }
  .tabs { width: 100%; margin: 16px auto; }
  .tab-btn { font-size: 12px; }
  .footer-inner { grid-template-columns: 1fr; }
  .auth-wrapper { padding: 28px 22px; }
  .simple-page { width: min(calc(100% - 24px), 820px); padding: 24px 0 48px; }
  body.page-download .simple-page { width: min(calc(100% - 24px), 980px); }
  .simple-grid { grid-template-columns: 1fr; }
  .simple-drawer-links a { font-size: 20px; padding: 16px 18px; }
  .download-actions { width: 100%; }
  .download-actions a { width: 100%; justify-content: center; }
  .download-hero { grid-template-columns: 1fr; padding: 20px 16px; text-align: center; }
  .download-hero-copy { text-align: center; }
  .download-hero .download-actions a { min-height: 64px; justify-content: center; padding: 14px 14px; }
  .dl-text { text-align: center; }
  .dl-sub { display: none; }
  .download-hero2 { padding: 64px 0 42px; }
  .download-hero2-inner { width: min(calc(100% - 24px), 980px); }
  .download-appmark { width: 92px; height: 92px; border-radius: 22px; }
  .download-appmark img { width: 92px; height: 92px; }
  .download-hero2-actions { width: 100%; }
  .download-hero2-actions a { max-width: none; justify-content: center; }
  .btn-lg { min-height: 68px; }
  .download-meta { gap: 8px; }
  .download-help-actions { width: 100%; }
  .download-help-actions a { width: 100%; }
  .download-info { grid-template-columns: 1fr; gap: 18px; margin-top: 26px; }
  .download-info .info-panel + .info-panel { border-top: 1px solid rgba(232,84,122,0.16); padding-top: 18px; }

  .section, .how-section, .diff-section, .proof-section,
  #whitelist, .req-section, .inside-section, .cta-section,
  .benefits-section, .manifesto-section { padding: 62px 0; }

  .features-grid, .steps, .proof-grid, .req-grid,
  .inside-grid, .benefits-grid { grid-template-columns: 1fr; }

  .feature-card, .step, .proof-card, .req-item, .inside-item, .benefit-card { border-right: 0; }
  .feature-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-card:last-child { border-bottom: 0; }
  .step:nth-last-child(-n+2) { border-bottom: 0; }
  .proof-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proof-card:last-child { border-bottom: 0; }

  .manifesto-block { padding: 32px 24px; }
  .legal-body, .faq-section { column-width: auto; column-count: 1; }
  body > footer { flex-direction: column; align-items: flex-start; }
  .presets { grid-template-columns: repeat(2,1fr); }
  .download-reveal-btns { flex-direction: column; }
  .download-reveal-btns .btn-primary,
  .download-reveal-btns .btn-blue { min-width: 0; width: 100%; justify-content: center; }
}
