/* Addit — soft, left-aligned, quiet.
   Everything is set ragged-right off a single left margin, corners are
   generous, edges are washes rather than hairlines, and there is a lot of
   air. No mark, no monospace, no rules between things. */

@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/Geist-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/Geist-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/Geist-SemiBold.woff2") format("woff2");
}

:root {
  /* Dark only, for now — there is no light palette to fall back to, so these
     are plain values rather than a prefers-color-scheme pair. `color-scheme`
     is what makes the browser render the email input, its caret, the
     scrollbars and the page canvas dark to match. */
  color-scheme: dark;

  --bg:       #131316;
  --surface:  #1c1c20;
  --soft:     #232329;
  --ink:      #edecea;
  --muted:    #9b9892;
  --hairline: rgba(255, 255, 255, 0.08);

  --accent:     #c6e2e9;  /* from the app's own accent palette */
  --accent-ink: #16202b;

  --shadow:    0 1px 2px rgba(0, 0, 0, 0.35), 0 12px 32px rgba(0, 0, 0, 0.30);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.40), 0 24px 60px rgba(0, 0, 0, 0.45);

  --r:    18px;
  --r-sm: 12px;

  --ui: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --gutter: 1.5rem;
  --measure: 33rem;   /* deliberately narrow — the old page was too wide to read */
}


* { box-sizing: border-box; }
/* An explicit display value beats the UA's [hidden] rule, so restate it. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.65 var(--ui);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ── Sticky header ────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  /* Transparent until there is something behind it worth blurring. */
  background: transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-block: 0.9rem;
}

.wordmark {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
}

.orb {
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  display: block;
  /* Hidden until the shader is confirmed running, so a failed context leaves
     a clean wordmark rather than an empty square beside it. */
  visibility: hidden;
}
.orb.live { visibility: visible; }

.topbar.stuck {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  box-shadow: 0 1px 0 var(--hairline);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .topbar.stuck {
    /* Enough ground that content passing under it reads as a soft wash
       rather than as legible text showing through. */
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
  }
}

/* A single soft wash behind the top of the page. No shape, no mark — just
   somewhere for the light to come from. */
.glow {
  position: absolute;
  inset: 0 0 auto;
  height: 34rem;
  background: radial-gradient(60% 70% at 22% 0%,
              color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero { padding-block: 3.5rem 4rem; }

h1 {
  font-size: clamp(3rem, 12vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 1.25rem;
}

/* Scoped: the privacy page has its own .lede and must not inherit this width. */
.hero .lede {
  font-size: clamp(1.6rem, 6.5vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 2.5rem;
  text-wrap: balance;
  max-width: 18ch;
}

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 500 1rem/1 var(--ui);
  text-decoration: none;
  padding: 1.05rem 1.9rem;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); }

.btn-quiet {
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  padding: 1.05rem 0.5rem;
}
.btn-quiet:hover, .btn-quiet:focus-visible { color: var(--ink); transform: none; box-shadow: none; }

.btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { transform: none; box-shadow: var(--shadow); }

/* ── Signup ───────────────────────────────────────────────────────────── */

.signup { margin: 0; }

.signup-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.signup input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  font: 400 1.05rem/1 var(--ui);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 1.05rem 1.35rem;
  box-shadow: var(--shadow);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  /* 16px+ or iOS Safari zooms the page on focus. */
}
.signup input[type="email"]::placeholder { color: var(--muted); opacity: 0.7; }
.signup input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.signup .btn { flex: 0 0 auto; cursor: pointer; }

.signup-note {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 1rem 0 0;
  max-width: 27rem;
}
.signup-note.ok  { color: var(--ink); }
.signup-note.bad { color: var(--ink); }

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup[aria-busy="true"] { opacity: 0.6; }


:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ── Sections ─────────────────────────────────────────────────────────── */

section { padding-block: 3.5rem; }

h2 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 0 0 1rem;
  text-wrap: balance;
}

/* Heading with the cloud marks beside it. Wraps to its own line on narrow
   screens rather than squeezing the heading. */
.head-with-marks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin-bottom: 1rem;
}
.head-with-marks h2 { margin-bottom: 0; }

.marks { display: inline-flex; align-items: center; gap: 0.7rem; }
/* Height-matched, width auto — the two marks have different aspect ratios and
   are drawn to sit on a common height. */
.marks img { height: 1.7rem; width: auto; display: block; }

p { margin: 0 0 1.15rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }

/* ── Feature list — rows, not a grid of boxes ─────────────────────────── */

.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 1.4rem 0; border-top: 1px solid var(--hairline); }
.list li:first-child { border-top: 0; padding-top: 0; }
.list b { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.list span { color: var(--muted); }

/* ── Soft card ────────────────────────────────────────────────────────── */

.card {
  background: var(--surface);
  border-radius: var(--r);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.card p { font-size: 1rem; }

/* ── Footer ───────────────────────────────────────────────────────────── */

footer { padding-block: 3rem 4rem; color: var(--muted); font-size: 0.95rem; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0 0 1.25rem; }

@media (min-width: 40rem) {
  :root { --gutter: 2rem; --measure: 36rem; }
  .hero { padding-block: 5rem 5rem; }
  section { padding-block: 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
