/* =====================================================
   LIMAHUM — LANDING PAGE
   Brand colors sampled from the real app logo & UI:
   deep blue -> teal gradient, red for emergency, slate neutrals.
===================================================== */

:root {
  --blue-900: #0b1a3d;
  --blue-800: #0f2a63;
  --blue-700: #1650b8;
  --blue-600: #1c66d8;
  --blue-500: #2f7ff0;
  --blue-100: #e8f0fe;

  --teal-600: #14a893;
  --teal-500: #22c3ab;
  --teal-400: #3fdcc4;
  --teal-100: #e3faf5;

  --red-600: #dc2626;
  --red-500: #ef4444;
  --red-100: #fee2e2;

  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --brand-gradient: linear-gradient(135deg, var(--blue-600) 0%, var(--teal-500) 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(28,102,216,.10) 0%, rgba(34,195,171,.10) 100%);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 10px 30px -12px rgba(15, 23, 42, 0.12);
  --shadow-card-hover: 0 18px 40px -14px rgba(15, 23, 42, 0.18);

  --font-display: "Cairo", "Segoe UI", sans-serif;

  /* Semantic tokens — redefined for dark mode below */
  --bg: var(--slate-50);
  --surface: var(--white);
  --surface-2: var(--slate-50);
  --text: var(--slate-900);
  --text-2: var(--slate-700);
  --text-muted: var(--slate-500);
  --border: var(--slate-100);
  --border-strong: var(--slate-300);
  --tint-blue: var(--blue-100);
  --tint-teal: var(--teal-100);
  --tint-red: var(--red-100);
  --accent-text: var(--blue-700);
  --link: var(--blue-600);
  --eyebrow-fg: var(--teal-600);
  --red-fg: var(--red-600);
  --on-accent: #ffffff;
  --header-bg: rgba(248, 250, 252, 0.82);
  --phone-screen: linear-gradient(180deg, #eef4ff 0%, #f4fdfb 100%);

  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 20px;
}

.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 400px at 85% -5%, rgba(34,195,171,.16), transparent 60%),
    radial-gradient(500px 350px at -5% 10%, rgba(28,102,216,.14), transparent 60%);
  pointer-events: none;
}

/* =====================================================
   BUTTONS
===================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-gradient);
  color: var(--on-accent);
  box-shadow: 0 12px 28px -10px rgba(20, 111, 200, .55);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(20, 111, 200, .6); }

.btn-ghost {
  background: var(--surface);
  color: var(--accent-text);
  border-color: var(--border-strong);
}

.btn-ghost:hover { border-color: var(--blue-500); transform: translateY(-2px); }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* =====================================================
   HEADER
===================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }

.brand-logo { height: 42px; width: auto; object-fit: contain; }

.main-nav {
  display: none;
  align-items: center;
  gap: 22px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-2);
}

.main-nav a { transition: color .15s ease; }
.main-nav a:hover { color: var(--link); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta { display: none; }

.lang-toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--accent-text);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}

.lang-toggle:hover { border-color: var(--blue-500); transform: translateY(-1px); }

.menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 900px) {
  .main-nav {
    display: flex;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
  }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

@media (max-width: 899.98px) {
  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    padding: 8px 20px 16px;
  }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav.open { display: flex; }
}

/* =====================================================
   HERO
===================================================== */

.hero { padding-block: 56px 40px; overflow: hidden; }

.hero-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero { padding-block: 88px 60px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--eyebrow-fg);
  background: var(--tint-teal);
  padding: 6px 16px;
  border-radius: 999px;
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 20px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-2);
  max-width: 46ch;
  margin: 0 0 30px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }

.hero-note { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

/* Phone mockup */

.hero-visual { display: flex; justify-content: center; }

.phone-frame {
  width: 280px;
  aspect-ratio: 9 / 18.5;
  background: var(--blue-900);
  border-radius: 44px;
  padding: 14px;
  box-shadow: 0 30px 60px -20px rgba(11, 26, 61, 0.45);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: var(--blue-900);
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-screen {
  height: 100%;
  width: 100%;
  background: var(--phone-screen);
  border-radius: 32px;
  padding: 40px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.phone-logo { width: 56px; height: 56px; object-fit: contain; margin-bottom: 2px; }

.phone-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-text);
  text-align: center;
  margin: 0 0 10px;
}

.phone-card {
  width: 100%;
  background: var(--surface);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-2);
  box-shadow: 0 6px 16px -8px rgba(15, 23, 42, 0.18);
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-card-emergency {
  background: linear-gradient(135deg, var(--red-500), var(--red-600));
  color: var(--on-accent);
}

.phone-card .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.25);
}

.badge-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--blue-500);
  color: var(--on-accent);
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
}

/* =====================================================
   SECTIONS
===================================================== */

.section { padding-block: 64px; }

.section-alt { background: var(--surface); border-block: 1px solid var(--border); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }

.section-head h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 900;
  margin: 0;
  color: var(--text);
}

.section-head .eyebrow { display: inline-block; }

/* Features */

.features-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--tint-teal);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon-blue { background: var(--tint-blue); color: var(--link); }
.icon-teal { background: var(--tint-teal); color: var(--eyebrow-fg); }
.icon-red  { background: var(--tint-red);  color: var(--red-fg); }

.feature-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

/* Steps */

.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 780px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: var(--on-accent);
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.step h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 8px; }
.step p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }

ol.steps { margin: 0; padding: 0; list-style: none; }

/* Why LimaHum */

.why-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1020px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}

.why-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
}

.why-item .feature-icon { width: 46px; height: 46px; border-radius: 14px; margin-bottom: 16px; }

.why-item h3 { font-size: 1.02rem; font-weight: 800; margin: 0 0 8px; color: var(--text); }

.why-item p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* FAQ */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.faq-item[open] { border-color: var(--tint-teal); box-shadow: var(--shadow-card); background: var(--surface); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tint-blue);
  color: var(--link);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform .2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item summary:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; border-radius: var(--radius-md); }

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 0.94rem;
  color: var(--text-2);
}

/* Trust */

.trust-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .trust-grid { grid-template-columns: 0.85fr 1.15fr; gap: 60px; }
}

.trust-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

@media (min-width: 480px) {
  .trust-visual { flex-direction: row; justify-content: center; align-items: stretch; }
}

.trust-card {
  width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px 22px;
  text-align: center;
}

.trust-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--tint-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}

.trust-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 6px;
}

.trust-role { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

.trust-copy h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 900; margin: 0 0 18px; }

.trust-copy > p:not(.eyebrow) {
  color: var(--text-2);
  font-size: 1rem;
  margin: 0 0 22px;
  max-width: 60ch;
}

.trust-list { display: flex; flex-direction: column; gap: 12px; }

.trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-2);
}

.trust-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gradient);
  flex-shrink: 0;
}

/* Download */

.download {
  background: var(--blue-900);
  background-image:
    radial-gradient(500px 300px at 15% 0%, rgba(34,195,171,.25), transparent 60%),
    radial-gradient(500px 300px at 85% 100%, rgba(28,102,216,.35), transparent 60%);
  color: var(--on-accent);
}

.download-inner { text-align: center; max-width: 640px; margin: 0 auto; }

.download-logo { width: 72px; height: 72px; object-fit: contain; margin: 0 auto 22px; }

.download h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 900; margin: 0 0 16px; }

.download p { color: rgba(255,255,255,0.78); font-size: 1rem; margin: 0 0 30px; }

/* =====================================================
   FOOTER
===================================================== */

.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding-block: 44px 24px; }

.footer-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: center; }
}

.footer-brand { display: flex; align-items: center; gap: 12px; }

.footer-logo { height: 34px; width: auto; }

.footer-brand p { margin: 0; font-weight: 700; color: var(--text-2); font-size: 0.92rem; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 600; font-size: 0.9rem; color: var(--text-muted); }

.footer-nav a:hover { color: var(--link); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
}

.footer-contact span { color: var(--text-muted); font-weight: 600; }

.footer-contact a { color: var(--link); font-weight: 800; }

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-600) !important;
}

.whatsapp-link:hover { color: var(--teal-500) !important; }

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Company / copyright notice under the copyright line */
.footer-legal {
  max-width: 720px;
  margin: 8px auto 0;
  font-size: 0.75rem;
  line-height: 1.7;
  opacity: 0.85;
}

/* =====================================================
   RESPONSIVE SAFETY
===================================================== */

@media (max-width: 400px) {
  .btn { padding: 11px 18px; font-size: 0.88rem; }
  .phone-frame { width: 230px; }
}

/* =====================================================
   DARK MODE
   Follows the visitor's system setting; only the semantic
   tokens change, so every component adapts automatically.
===================================================== */

/* ---------- People we helped ---------- */
[hidden] { display: none !important; }
.stories-total { margin-top: 12px; color: var(--text-muted); font-weight: 600; }
.stories-total strong { color: var(--eyebrow-fg); font-size: 1.6rem; margin-inline-end: 6px; }

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.story-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.story-card h3 { font-size: 1.05rem; color: var(--text); overflow-wrap: anywhere; }
.story-card blockquote {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--tint-teal);
  color: var(--text-2);
  line-height: 1.8;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.story-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--text-muted); font-size: .9rem; }
.story-name { font-weight: 700; color: var(--text-2); overflow-wrap: anywhere; }

.stories-note { text-align: center; color: var(--text-muted); font-size: .9rem; margin-top: 24px; }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #111a2e;
    --surface-2: #0f1729;
    --text: #e6edf7;
    --text-2: #c3cfdf;
    --text-muted: #93a3b8;
    --border: #1f2a40;
    --border-strong: #33415a;
    --tint-blue: rgba(47, 127, 240, 0.16);
    --tint-teal: rgba(34, 195, 171, 0.14);
    --tint-red: rgba(239, 68, 68, 0.16);
    --accent-text: #9cc2ff;
    --link: #7cb0ff;
    --eyebrow-fg: var(--teal-400);
    --red-fg: #f87171;
    --header-bg: rgba(11, 18, 32, 0.82);
    --phone-screen: linear-gradient(180deg, #16223d 0%, #10251f 100%);
    --shadow-card: 0 10px 30px -12px rgba(0, 0, 0, 0.55);
    --shadow-card-hover: 0 18px 40px -14px rgba(0, 0, 0, 0.65);

    color-scheme: dark;
  }

  .site-header { border-bottom-color: rgba(255, 255, 255, 0.06); }

  /* The logo's navy "Lima" text disappears on a dark background,
     so the full lockup sits on a light chip in dark mode. */
  .brand-logo,
  .footer-logo {
    background: #ffffff;
    border-radius: 10px;
    padding: 3px 8px;
    box-sizing: content-box;
  }

  .bg-decor { opacity: 0.6; }

  .download { border-top: 1px solid var(--border); }
}

/* =====================================================
   ACCESSIBILITY
===================================================== */

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  background: var(--surface);
  color: var(--accent-text);
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  transition: top .15s ease;
}

.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
}

.btn:focus-visible { outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .btn-primary:hover,
  .btn-ghost:hover,
  .feature-card:hover,
  .lang-toggle:hover { transform: none; }
}

/* =====================================================
   404 PAGE
===================================================== */

.not-found {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  padding-block: 64px;
}

.not-found-inner { text-align: center; max-width: 560px; margin: 0 auto; }

.not-found-code {
  font-size: clamp(4.5rem, 16vw, 7.5rem);
  font-weight: 900;
  line-height: 1;
  margin: 0 0 12px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.not-found h1 { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 900; margin: 0 0 12px; }

.not-found p:not(.not-found-code) { color: var(--text-muted); margin: 0 0 28px; }

/* Footer that holds only the copyright line (404, privacy) */
.site-footer > .footer-bottom:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.site-footer:has(> .footer-bottom:first-child) { padding-block: 24px; }

.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* =====================================================
   LEGAL PAGES (privacy policy)
===================================================== */

.draft-banner {
  background: #fef3c7;
  color: #78350f;
  font-weight: 700;
  font-size: 0.9rem;
  padding-block: 10px;
  text-align: center;
}

.legal-inner { max-width: 780px; }

.legal h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 900; margin: 0 0 6px; }

.legal-updated { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 28px; }

.legal h2 { font-size: 1.2rem; font-weight: 800; margin: 36px 0 12px; }

.legal p,
.legal li { color: var(--text-2); font-size: 0.98rem; }

.legal p { margin: 0 0 14px; }

.legal ul { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }

.legal li { position: relative; padding-inline-start: 20px; }

.legal li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.legal a { color: var(--link); font-weight: 700; }

.legal-steps { margin: 0 0 14px; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 8px; }

.legal-steps li { padding-inline-start: 4px; }

.legal-steps li::before { content: none; }

.legal-steps li::marker { color: var(--eyebrow-fg); font-weight: 800; }

/* Download section: Google Play + web app side by side */
.download-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

