/* Plain reading pages (FAQ, Disclaimer). Same tokens as the homepage. */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #1d1f33;
  --muted: #5d6077;
  --line: #e9e3d8;
  --accent: #8a6220; /* darker gold: 5:1 on white/cream */
  --hero-ink: #fbf6ee;
  --hero-muted: #d9d3e6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101226;
    --surface: #181b36;
    --ink: #efeaf6;
    --muted: #a9a8c2;
    --line: #2a2e52;
    --accent: #e8c27a;
  }
}
:root[data-theme="dark"] {
  --bg: #101226;
  --surface: #181b36;
  --ink: #efeaf6;
  --muted: #a9a8c2;
  --line: #2a2e52;
  --accent: #e8c27a;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; line-height: 1.15; margin: 0; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top {
  background: linear-gradient(180deg, #14183a 0%, #2a2f5e 100%);
  color: var(--hero-ink);
  padding: 22px 0 48px;
}
.top .brand { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font-weight: 600; letter-spacing: .02em; text-decoration: none; color: inherit; }
.top h1 { font-size: clamp(38px, 6vw, 56px); margin: 40px 0 10px; }
.top p { color: var(--hero-muted); margin: 0; max-width: 34em; }
.top p a { padding: 13px 0; }

main { padding: 40px 0 24px; }
main h2 { font-size: 30px; margin: 40px 0 12px; }
main h2:first-child { margin-top: 0; }
main p, main li { color: var(--ink); }
main ul { padding-left: 1.2em; }
main li { margin: 4px 0; }
.muted { color: var(--muted); }

/* Callout for the key safety lines */
.callout {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 14px; padding: 18px 20px; margin: 0 0 8px;
}
.callout p { margin: 0 0 8px; }
.callout p:last-child { margin-bottom: 0; }

/* FAQ */
details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  margin: 10px 0; padding: 0 18px;
}
summary {
  cursor: pointer; list-style: none; padding: 16px 28px 16px 0; position: relative;
  font-weight: 600;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 22px; color: var(--accent); }
details[open] summary::after { content: "–"; }
details > *:not(summary) { margin: 0 0 16px; }

.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: #e8c27a; color: #14183a; font-weight: 600; text-decoration: none;
}

footer { padding: 32px 0 56px; text-align: center; color: var(--muted); font-size: 16px; }
footer a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }

/* Links inside sentences: extra tap room above and below (does not change the line spacing) */
main p a, main li a { padding: 13px 0; }

/* Guide pages (breathing for sleep, 5-minute calm, pranayama for beginners) */
.steps { padding-left: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; margin: 14px 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--accent); font-weight: 600; font-size: 15px;
}
.cta { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 20px; margin: 32px 0; text-align: center; }
.cta h2 { margin: 0 0 8px; }
.cta p { margin: 0 0 16px; color: var(--muted); }
.cta .alt { display: block; margin-top: 4px; padding: 10px 0; font-size: 15px; }
.related { display: grid; gap: 12px; padding: 0; list-style: none; }
.related a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; text-decoration: none; }
.related strong { display: block; color: var(--ink); }
.related span { color: var(--muted); font-size: 15px; }

/* Breath Notes (list page + single notes): bigger text for easy reading */
.notes-list { display: grid; gap: 14px; padding: 0; list-style: none; }
.notes-list a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; text-decoration: none; }
.notes-list h2 { font-size: 30px; margin: 0 0 4px; color: var(--ink); }
.notes-list .date { display: block; color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.notes-list p { margin: 0; color: var(--muted); font-size: 18px; }
.note-body p { font-size: 21px; line-height: 1.7; margin: 0 0 20px; }
.note-body .sign { font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; color: var(--accent); }
.top .date { font-size: 16px; margin-top: 10px; }
.cta .btn-big { min-height: 60px; padding: 0 32px; font-size: 19px; }
.signup { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 20px; margin: 32px 0; }
.signup h2 { margin: 0 0 8px; text-align: center; }
.signup > p { margin: 0 0 12px; color: var(--muted); text-align: center; }
.ml-embedded p, .ml-embedded input, .ml-embedded button { font-size: 16px !important; }
.ml-embedded input, .ml-embedded button { min-height: 48px !important; }
.more-notes { text-align: center; margin: 8px 0 0; }
