/* roamjourneys.app: Roam's warm palette (pine ink, terracotta, paper),
   the same colors as the app's default theme, in light and dark. */
:root {
  --paper: #f6f3eb;
  --surface: #fffdfa;
  --ink: #274a42;
  --muted: #5e716a;
  --accent: #96502f;
  --create: #dd7151;
  --line: #e4e5dc;
  --soft: #e8e9df;
  --button: #203934;
  --on-button: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121a17;
    --surface: #1b2622;
    --ink: #e4eee9;
    --muted: #a9bab3;
    --accent: #e7a88c;
    --create: #e5805f;
    --line: #33413b;
    --soft: #26332e;
    --button: #d7e6df;
    --on-button: #13201b;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--create); }

.site-header, .site-footer, main {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.site-header nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.site-header nav a[aria-current="page"], .site-header nav a:hover { color: var(--ink); }

main { padding-top: 12px; padding-bottom: 56px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 10px;
}
h1 {
  font-size: clamp(32px, 7vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 18px;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 36px 0 10px;
}
p, li { color: var(--ink); }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }

/* Legal pages: smaller title, comfortable reading width. */
.doc h1 { font-size: clamp(30px, 6vw, 40px); }
.doc h2 { font-size: 20px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc blockquote {
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--create);
  background: var(--soft);
  border-radius: 8px;
}

.hero { padding: 36px 0 12px; }
.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 36px 0 8px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 14px;
}
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

.button {
  display: inline-block;
  background: var(--button);
  color: var(--on-button);
  text-decoration: none;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 14px;
  margin-top: 8px;
}
.button:hover { color: var(--on-button); opacity: 0.92; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 10px 0;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p, .faq details ul { margin: 10px 0 2px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  padding-bottom: 40px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer p { margin: 6px 0; color: var(--muted); }
