/* 5 Minutes — marketing site. Mirrors the app's monochrome liquid-glass system:
   Fraunces display + Inter body, the woven orb, faint contour, dark by default, light via OS. */

:root {
  --bg: #000000;
  --bg-top: #17171c;
  --bg-bottom: #000000;
  --text: #ffffff;
  --muted: #9a9aa2;
  --faint: #5c5c63;
  --accent: #ffffff;
  --on-accent: #000000;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --orb: rgba(255, 255, 255, 0.55);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 22px;
  --radius-full: 999px;
  --maxw: 1040px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f2f2f0;
    --bg-top: #ffffff;
    --bg-bottom: #e7e7e4;
    --text: #191a1f;
    --muted: #6b6b73;
    --faint: #a6a6ae;
    --accent: #191a1f;
    --on-accent: #ffffff;
    --glass: rgba(20, 20, 26, 0.04);
    --glass-strong: rgba(20, 20, 26, 0.07);
    --border: rgba(20, 20, 26, 0.1);
    --border-strong: rgba(20, 20, 26, 0.16);
    --orb: rgba(20, 20, 26, 0.5);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

/* faint topographic contour, fixed behind everything */
.contour {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.wrap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── nav ─────────────────────────────────────────────────────────────────── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 20px; }
.brand .mark { width: 34px; height: 34px; }
nav .links { display: flex; gap: 24px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
nav a:hover { color: var(--text); }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { text-align: center; padding: 56px 0 88px; display: flex; flex-direction: column; align-items: center; }
.hero .orb { width: 240px; height: 240px; margin-bottom: 28px; }
.eyebrow { color: var(--muted); font-size: 13px; letter-spacing: 5px; text-transform: uppercase; }
h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 8vw, 76px); line-height: 1.04; letter-spacing: 0.2px;
  margin: 16px 0 18px;
}
.lede { color: var(--muted); font-size: clamp(16px, 2.4vw, 20px); max-width: 540px; margin: 0 auto; }

/* ── waitlist form ───────────────────────────────────────────────────────── */
.waitlist { margin-top: 34px; width: 100%; max-width: 440px; }
.field { display: flex; gap: 10px; }
.field input {
  flex: 1; background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius-full); color: var(--text);
  padding: 15px 22px; font-size: 16px; font-family: var(--sans); outline: none;
}
.field input::placeholder { color: var(--faint); }
.field input:focus { border-color: var(--border-strong); }
button {
  background: var(--accent); color: var(--on-accent); border: none; cursor: pointer;
  border-radius: var(--radius-full); padding: 15px 26px; font-size: 16px;
  font-family: var(--sans); font-weight: 600; white-space: nowrap;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
button:hover { opacity: 0.9; }
button:active { transform: scale(0.97); }
button:disabled { opacity: 0.5; cursor: default; }
.form-note { color: var(--faint); font-size: 13px; margin-top: 12px; min-height: 18px; }
.form-note.ok { color: var(--text); }

/* ── sections ────────────────────────────────────────────────────────────── */
section { padding: 64px 0; }
.section-eyebrow { color: var(--muted); font-size: 13px; letter-spacing: 4px; text-transform: uppercase; text-align: center; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 5vw, 42px); text-align: center; margin: 12px 0 44px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px; text-align: center;
}
.card .num { font-family: var(--serif); font-size: 38px; color: var(--text); }
.card h3 { font-size: 18px; margin: 8px 0 6px; font-weight: 600; }
.card p { color: var(--muted); font-size: 15px; }

.manifesto { text-align: center; max-width: 680px; margin: 0 auto; }
.manifesto p { font-family: var(--serif); font-size: clamp(22px, 4vw, 32px); line-height: 1.35; }
.manifesto .small { font-family: var(--sans); font-size: 16px; color: var(--muted); margin-top: 22px; line-height: 1.6; }

/* ── article (privacy / support) ─────────────────────────────────────────── */
.article { max-width: 720px; margin: 0 auto; padding: 24px 0 80px; }
.article h1 { font-size: clamp(32px, 6vw, 48px); text-align: left; margin-bottom: 8px; }
.article h2 { font-size: 22px; text-align: left; margin: 34px 0 10px; font-family: var(--serif); }
.article p, .article li { color: var(--muted); font-size: 16px; margin-bottom: 12px; }
.article ul { padding-left: 22px; }
.article a { color: var(--text); }
.article .meta { color: var(--faint); font-size: 14px; margin-bottom: 24px; }
.article table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.article th, .article td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); font-size: 15px; }
.article th { color: var(--text); }
.back-link { display: inline-block; color: var(--muted); text-decoration: none; font-size: 14px; margin: 8px 0 24px; }
.back-link:hover { color: var(--text); }

/* ── footer ──────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 36px 0 56px; margin-top: 40px; }
.foot-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--muted); text-decoration: none; font-size: 14px; margin-right: 22px; }
footer a:hover { color: var(--text); }
.copy { color: var(--faint); font-size: 13px; }

/* ── orb animation ───────────────────────────────────────────────────────── */
.orb svg { width: 100%; height: 100%; color: var(--orb); animation: spin 64s linear infinite; }
.brand .mark svg { width: 100%; height: 100%; color: var(--orb); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orb svg { animation: none; } }

/* ── responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  nav .links { display: none; }
  .field { flex-direction: column; }
  .hero { padding: 32px 0 64px; }
}
