/* Murmur — readwithmurmur.com
   Dark, warm, bedtime-first. Static CSS, no dependencies. */

:root {
  --bg: #0e0c0a;
  --surface: #17140f;
  --raised: #201b14;
  --line: rgba(255, 244, 224, 0.08);
  --line-strong: rgba(255, 244, 224, 0.16);
  --text: #efe7da;
  --text2: #b3a893;
  --text3: #837a6e;
  --accent: #e0a458;
  --accent-dim: rgba(224, 164, 88, 0.14);
  --max: 960px;
}

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

html { scroll-behavior: smooth; }

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

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

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

/* Header */
header.site {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(14, 12, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.wordmark {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}
.wordmark:hover { text-decoration: none; }
.wordmark .dot { color: var(--accent); }
nav.site a {
  color: var(--text2);
  margin-left: 22px;
  font-size: 15px;
}
nav.site a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 96px 0 72px; text-align: center; }
.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin: 0 auto;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p.sub {
  color: var(--text2);
  font-size: clamp(17px, 2.4vw, 21px);
  max-width: 560px;
  margin: 20px auto 0;
}
.hero .cta { margin-top: 36px; }

/* App Store badge placeholder */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--raised);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 22px;
  color: var(--text);
  font-size: 16px;
}
.appstore-badge:hover { text-decoration: none; border-color: var(--accent); }
.appstore-badge .small { display: block; font-size: 11px; color: var(--text3); line-height: 1.2; }
.appstore-badge .big { display: block; font-size: 17px; font-weight: 600; line-height: 1.25; }
.coming-soon { display: block; margin-top: 12px; color: var(--text3); font-size: 14px; }

/* Screenshot slots */
.shots {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 24px 0 64px;
  flex-wrap: wrap;
}
.shot {
  width: 220px;
  aspect-ratio: 9 / 19.5;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 13px;
  text-align: center;
  padding: 12px;
}

/* Sections */
section { padding: 64px 0; border-top: 1px solid var(--line); }
section h2 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
section p.lead { color: var(--text2); max-width: 640px; margin-bottom: 36px; }

/* Feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.card h3 { font-size: 18px; font-weight: 650; margin-bottom: 6px; }
.card p { color: var(--text2); font-size: 15px; }
.card .glyph { font-size: 22px; margin-bottom: 12px; display: block; }

/* Sleep section */
.sleep-list { list-style: none; margin-top: 8px; }
.sleep-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.sleep-list li:last-child { border-bottom: none; }
.sleep-list b { color: var(--text); font-weight: 650; white-space: nowrap; }
.sleep-list span { color: var(--text2); font-size: 15.5px; }
.tag-pro {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 5px;
  padding: 2px 7px;
  vertical-align: middle;
  margin-left: 8px;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 640px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
}
.plan.best { border-color: var(--accent); }
.plan .price { font-size: 34px; font-weight: 800; }
.plan .per { color: var(--text3); font-size: 14px; }
.plan .note { color: var(--text2); font-size: 14px; margin-top: 10px; }
.trial-note { color: var(--text2); font-size: 15px; margin-top: 22px; max-width: 640px; }
.trial-note a { color: var(--accent); }

/* Privacy strip */
.quiet {
  text-align: center;
  color: var(--text2);
  max-width: 620px;
  margin: 0 auto;
}
.quiet h2 { margin-bottom: 12px; }

/* Footer */
footer.site {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  color: var(--text3);
  font-size: 14px;
}
footer.site .cols {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
footer.site a { color: var(--text2); margin-right: 18px; }
footer.site a:hover { color: var(--text); }

/* Legal / document pages */
.doc { padding: 56px 0 80px; max-width: 760px; margin: 0 auto; }
.doc h1 { font-size: clamp(28px, 4.5vw, 38px); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; }
.doc .meta { color: var(--text3); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 21px; font-weight: 700; margin: 36px 0 10px; }
.doc h3 { font-size: 17px; font-weight: 650; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--text2); font-size: 16px; }
.doc ul, .doc ol { padding-left: 22px; margin: 10px 0; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--text); }
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 15px;
}
.doc th, .doc td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  color: var(--text2);
  vertical-align: top;
}
.doc th { color: var(--text); background: var(--surface); font-weight: 650; }
.doc .table-scroll { overflow-x: auto; }

/* Draft banner */
.draft-banner {
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  color: var(--text);
  font-size: 16.5px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+ "; color: var(--accent); font-weight: 700; }
.faq details[open] summary::before { content: "− "; }
.faq details p { padding: 0 0 16px; color: var(--text2); font-size: 15.5px; }

@media (max-width: 560px) {
  .hero { padding: 64px 0 48px; }
  nav.site a { margin-left: 14px; font-size: 14px; }
}
