/* Ebb - cycle and period tracker.
   Same palette as the app: near-black ground, one warm accent, generous
   line height. No webfonts, the system stack carries two pages fine. */

:root {
  --bg: #0B0B0E;
  --surface: #141419;
  --border: #24242C;
  --text: #F4F2F6;
  --muted: #A5A3AE;
  --dim: #77757F;
  --accent: #E2818A;
  --radius: 14px;
  --gutter: 20px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

header.site {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  border-top-color: transparent;
  transform: rotate(-30deg);
}

main { padding: 56px 0 80px; }

h1 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

h2 {
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 40px 0 10px;
}

p, li { color: var(--muted); }
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 20px; }
li { margin-bottom: 8px; }

strong { color: var(--text); font-weight: 600; }

.lead {
  font-size: 19px;
  color: var(--text);
}

.stamp {
  color: var(--dim);
  font-size: 15px;
  margin-bottom: 36px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 28px 0;
}

.card p:last-child { margin-bottom: 0; }

a { color: var(--accent); }

footer.site {
  border-top: 1px solid var(--border);
  padding: 24px 0 48px;
  color: var(--dim);
  font-size: 15px;
}

footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); }

.dot { padding: 0 8px; color: var(--border); }

@media (max-width: 540px) {
  body { font-size: 16px; }
  h1 { font-size: 31px; }
  main { padding: 40px 0 56px; }
}
