/* Vive marketing site — dark theme matching the app (sage on near-black). */

:root {
  --bg: #111111;
  --bg-soft: #161616;
  --card: #1a1a1a;
  --surface: #2a2a2a;
  --border: #2a2a2a;
  --brand: #A9C2A0;       /* sage */
  --brand-soft: #8a9d86;
  --green: #7EC97E;
  --clay: #e07070;
  --sleep: #7878c4;
  --ink: #f0f0f0;
  --muted: #9a9a9a;
  --faint: #767676;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

em { font-style: italic; color: var(--brand); }

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(17,17,17,0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; }
.brand-word { font-family: var(--serif); font-size: 24px; font-style: italic; color: var(--ink); letter-spacing: -0.5px; }
.dot { color: var(--brand); }
.nav-links a { color: var(--muted); margin-left: 26px; font-size: 16px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; transition: transform .1s ease, opacity .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #0e140d; }
.btn-primary:hover { opacity: .92; }
.btn-ghost { color: var(--ink); border: 1px solid var(--surface); }
.btn-ghost:hover { border-color: var(--brand); }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(169,194,160,0.16), transparent 60%),
    linear-gradient(180deg, #14170f 0%, var(--bg) 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--brand-soft); letter-spacing: 1.5px; text-transform: lowercase; font-size: 15px; margin: 0 0 14px; }
.hero-copy h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; margin: 0 0 20px; letter-spacing: -1px; }
.lede { color: var(--muted); font-size: 19px; margin: 0 0 28px; max-width: 36ch; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { color: var(--faint); font-size: 14px; margin-top: 20px; }
.hero-shot { display: flex; justify-content: center; }
.hero-shot img { width: 100%; max-width: 320px; height: auto; border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,0.5); }

/* ── Sections ─────────────────────────────────────────── */
.section-title { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); text-align: center; margin: 0 0 56px; letter-spacing: -0.5px; }
.features { padding: 80px 0; }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-text { order: 2; }
.feature-text h3 { font-family: var(--serif); font-size: 28px; margin: 0 0 14px; letter-spacing: -0.5px; }
.feature-text p { color: var(--muted); margin: 0; }
.feature-shot { display: flex; justify-content: center; }
.feature-shot img { width: 100%; max-width: 300px; height: auto; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,0.45); }

/* ── Privacy band ─────────────────────────────────────── */
.privacy-band { padding: 80px 0; background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.pillar h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 10px; color: var(--brand); }
.pillar p { color: var(--muted); margin: 0; font-size: 16px; }
.band-link { text-align: center; margin-top: 40px; color: var(--muted); }

/* ── Final CTA ────────────────────────────────────────── */
.final-cta { padding: 96px 0; text-align: center; background: radial-gradient(700px 400px at 50% 0%, rgba(169,194,160,0.12), transparent 65%); }
.cta-icon { width: 76px; height: 76px; border-radius: 18px; margin-bottom: 22px; }
.final-cta h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); margin: 0 0 28px; letter-spacing: -0.5px; }
.final-cta .disclaimer { color: var(--faint); font-size: 14px; margin-top: 22px; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0; background: var(--bg-soft); }
.foot-brand { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.foot-tag { color: var(--faint); font-size: 14px; }
.foot-links { margin-bottom: 22px; }
.foot-links a { color: var(--muted); margin-right: 22px; font-size: 15px; }
.foot-fine { color: var(--faint); font-size: 13px; max-width: 70ch; margin: 6px 0; }

/* ── Prose (privacy / terms) ──────────────────────────── */
.prose { max-width: 760px; padding-top: 64px; padding-bottom: 80px; }
.prose h1 { font-family: var(--serif); font-size: clamp(32px, 5vw, 44px); margin: 0 0 8px; letter-spacing: -0.5px; }
.prose .updated { color: var(--faint); font-size: 15px; margin: 0 0 36px; }
.prose h2 { font-family: var(--serif); font-size: 26px; margin: 40px 0 12px; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose p, .prose li { color: #cdcdcd; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 820px) {
  body { font-size: 17px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-shot { order: -1; }
  .hero-shot img { max-width: 260px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.reverse .feature-text { order: 0; }
  .feature-text { text-align: center; }
  .feature-shot img { max-width: 260px; }
  .pillars { grid-template-columns: 1fr; }
  .nav-links a { margin-left: 18px; font-size: 15px; }
}
