/* Cone marketing site — shared design tokens + components across
   index.html / about.html / app.html. Colors match the Figma redesign
   (node 2:1613 / 7:917 / 5:3205) exactly — a distinct, slightly softer
   purple/cream palette from the app's own Theme.swift, by deliberate
   choice of this redesign, not an oversight. */
:root{
  --purple:#6950BC; --purple-dark:#513A9C; --purple-light:#8B72D4; --purple-pale:#C9B8F0;
  --tint:#F0EBFA; --tint2:#F8F6FD; --surface-muted:#F5F3F7;
  --cream:#FDFCF9; --ink:#282333; --ink-muted:#726C7D; --border:#E5E0EB; --border2:#D8CEE9;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; background:var(--cream); color:var(--ink); font-family:"Inter",-apple-system,system-ui,sans-serif; }
img{ max-width:100%; display:block; }
.icon{ display:inline-block; }
.icon-white{ filter:brightness(0) invert(1); }
a{ color:inherit; }

/* Nav — back to a plain white header (the purple treatment moved to
   the footer instead, per correction). */
.nav{ display:flex; align-items:center; justify-content:space-between; padding:28px 80px; }
.nav .wordmark{ font-family:"Sora",-apple-system,sans-serif; font-weight:700; font-size:22px; color:var(--purple); text-decoration:none; }
.nav .links{ display:flex; align-items:center; gap:36px; font-size:15px; }
.nav .links a{ text-decoration:none; color:var(--ink); }
.nav .links a.active{ color:var(--purple); font-weight:600; }
/* "App" is a pill, not a plain text link — calls it out from Home/About
   as the one that actually leads toward the product/download. */
.nav .links a.nav-pill{ background:var(--tint); color:var(--purple-dark); font-weight:600;
  padding:8px 18px; border-radius:999px; transition:background .15s ease, color .15s ease; }
.nav .links a.nav-pill:hover{ background:var(--purple-pale); }
.nav .links a.nav-pill.active{ background:var(--purple); color:#fff; }

/* Buttons */
.btn-primary{ display:inline-flex; align-items:center; gap:10px; background:var(--purple); color:#fff;
  border:1px solid var(--purple); border-radius:999px; padding:15px 24px; font-weight:600; font-size:15px;
  text-decoration:none; cursor:pointer; }
.btn-primary img{ filter:brightness(0) invert(1); width:18px; height:18px; }

/* Pills / badges */
.pill{ display:inline-flex; align-items:center; gap:8px; background:var(--tint); color:var(--purple-dark);
  border-radius:999px; padding:8px 12px; font-size:12px; }
.badge{ display:inline-flex; align-items:center; gap:8px; color:var(--ink-muted);
  padding:12px 16px; font-size:12px; }

/* Layout helpers */
.section{ padding:88px 80px; }
.kicker{ color:var(--purple); font-size:12px; text-transform:uppercase; letter-spacing:.04em; margin:0 0 16px; }

/* Wavy top edge on the footer — an SVG sitting flush against the
   footer's own top edge, filled the same purple as the footer below
   it. The area above the wave's peaks is transparent in the SVG
   itself, so it needs an explicit background matching whatever
   section actually sits directly above it on each page, or the plain
   page background shows through as a seam instead. Defaults to cream
   (correct on Home, Terms and Privacy, whose last section before the
   footer is plain) — pages where that section is tinted instead
   (About's `.mission-cta`, App's `.trust`) add `.on-tint` to this
   element to match. Turns out tint is NOT close enough to cream to
   double as a one-size-fits-all background (visible as a stray pale
   purple outline on Home) — this has to be per-page, not global. */
.footer-wave{ display:block; width:100%; height:36px; margin-bottom:-1px; background:var(--cream); }
.footer-wave.on-tint{ background:var(--tint); }
.footer-wave path{ fill:var(--purple); }

/* Footer (shared across all pages, including the legal ones) — purple
   background, so wordmark/links/text all flip to white/light instead
   of the ink/purple-on-cream scheme that worked on a cream footer. */
footer.site-footer{ background:var(--purple); padding:40px 80px 28px; }
footer.site-footer .footer-nav{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin-bottom:28px; }
footer.site-footer .brand-block{ display:flex; flex-direction:column; gap:10px; }
footer.site-footer .wordmark{ font-family:"Sora",-apple-system,sans-serif; font-weight:700; font-size:20px; color:#fff; text-decoration:none; }
footer.site-footer .tagline{ color:rgba(255,255,255,.72); font-size:13px; }
footer.site-footer .footer-links{ display:flex; align-items:center; gap:28px; flex-wrap:wrap; }
footer.site-footer .footer-links a{ font-size:14px; text-decoration:none; color:rgba(255,255,255,.85); }
footer.site-footer .footer-links a.active{ color:#fff; font-weight:600; }
/* The "Coming soon" badge needs its own on-purple text color — the
   default ink-muted used on a cream background would be unreadably
   low-contrast here. */
footer.site-footer .footer-links .badge{ color:#fff; }
footer.site-footer .footer-links .badge img{ filter:brightness(0) invert(1); }
footer.site-footer .footer-bottom{ border-top:1px solid rgba(255,255,255,.18); padding-top:20px; display:flex; justify-content:space-between;
  flex-wrap:wrap; gap:10px; font-size:12.5px; color:rgba(255,255,255,.68); }
footer.site-footer .footer-bottom .legal-links a{ color:rgba(255,255,255,.68); text-decoration:none; }
footer.site-footer .footer-bottom .legal-links a:hover{ color:#fff; }
footer.site-footer .footer-bottom .legal-links .sep{ margin:0 8px; color:rgba(255,255,255,.3); }

@media (max-width: 900px){
  .nav{ padding:20px 24px; }
  .nav .links{ gap:20px; font-size:13px; }
  .section{ padding:56px 24px; }
  footer.site-footer{ padding:32px 24px 24px; }
  footer.site-footer .footer-nav{ flex-direction:column; align-items:flex-start; }
}
