/* Leeno site — Midnight Jade, the app's own design language.
   Dark is the default (like the app); light mode follows the device.
   Calm-fills rule applies here too: luminous jade #5FD0A4 only on thin or
   small elements; large fills use the deep receding jade. */

:root {
  --canvas: #0e100f;
  --card: #1a1e1c;
  --card-high: #232826;
  --ink: #f1efe9;
  --ink-soft: #b8bdb9;
  --outline: #767c77;
  --hairline: rgba(241, 239, 233, 0.08);
  --jade: #5fd0a4;
  --btn: #264a3c;
  --btn-ink: #cdeedd;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Fira Sans', -apple-system, 'Segoe UI', sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --canvas: #faf9f5;
    --card: #ffffff;
    --card-high: #f1efe9;
    --ink: #171a18;
    --ink-soft: #4c524e;
    --outline: #767c77;
    --hairline: rgba(23, 26, 24, 0.08);
    --jade: #1d9e75;
    --btn: #3f6b5b;
    --btn-ink: #ffffff;
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  padding: 0 24px;
}

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 0 64px;
}

/* ---- header / nav ---- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
}

.nav a { text-decoration: none; }

.nav-mark {
  display: block;
  height: 34px;
  width: auto;
  border-radius: 8px;
}

.nav-link {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
}

.nav-link:hover { color: var(--ink); }

/* ---- hero (landing) ---- */

.hero { text-align: center; padding: 24px 0 8px; }

/* The wordmark PNG carries the dark canvas; this tile makes it a deliberate
   brand card in light mode and disappears into the page in dark mode. */
.hero-card {
  display: inline-block;
  background: #0e100f;
  border-radius: 28px;
  padding: 8px 36px;
  margin-bottom: 28px;
}

.hero-card img { display: block; width: 260px; height: auto; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: 0.2px;
  margin-bottom: 14px;
}

.hero .sub {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 460px;
  margin: 0 auto 26px;
}

.beta-pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--jade);
  border: 1px solid var(--hairline);
  background: var(--card);
  border-radius: 999px;
  padding: 7px 16px;
}

/* ---- section groups (the app's CAPS-label + tile language) ---- */

.group { margin-top: 56px; }

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--outline);
  margin: 0 0 10px 4px;
}

.tile {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 6px 22px;
}

.tile .row {
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}

.tile .row:last-child { border-bottom: none; }

.row h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.row p { color: var(--ink-soft); font-size: 15px; }

/* ---- privacy page ---- */

.doc h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  margin-bottom: 8px;
}

.doc .updated { color: var(--outline); font-size: 14px; margin-bottom: 36px; }

.doc section { margin-bottom: 30px; }

.doc h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 6px;
}

.doc p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; }

/* ---- footer ---- */

.footer {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  color: var(--outline);
  font-size: 14px;
  text-align: center;
}

.footer p { margin-bottom: 8px; }

.footer a { color: var(--ink-soft); text-decoration: none; }

.footer a:hover { color: var(--ink); }

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