/* Hymn Along's website, in the app's own look: warm paper, ink, a burgundy accent, the sunrise.
   Layout: one calm column; the sunrise opens each page, paper rises over it like the app's sheet. */
:root {
  --paper: #F6F1E6;
  --paper-raised: #FBF7EF;
  --sand: #EFE4D0;
  --border: #E2D4BB;
  --ink: #2B2620;
  --ink-soft: #4A4037;
  --ink-muted: #6B5F52;
  --accent: #7A2F24;
  --on-accent: #FFF8EE;
  --gold: #E8C77E;
  --sky: #F3DCBC;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--sky); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--ink); text-wrap: balance; margin: 0; }
p { margin: 0; }

/* The sunrise, as in the app, with the page's title on the sky. */
.sky { position: relative; background: var(--sky); overflow: hidden; }
.sky svg { display: block; width: 100%; height: auto; }
.sky .on-sky { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 24px 7%; max-width: 980px; margin: 0 auto; }
.brand { font: 600 0.8rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); text-decoration: none; }

/* Paper rising over the hills, like the app's sheet. */
.sheet { position: relative; margin-top: -48px; background: var(--paper); border-radius: 32px 32px 0 0; padding: 40px 24px 72px; }
.column { max-width: 720px; margin: 0 auto; display: grid; gap: 56px; }
.eyebrow { font: 600 0.78rem/1.2 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: 1.25rem; color: var(--ink-soft); max-width: 34em; }
.quiet { color: var(--ink-muted); }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 1.05rem/1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.button.primary { background: var(--accent); color: var(--on-accent); }
.button.outline { border-color: #CBB797; color: var(--ink); background: transparent; }
.button:hover { filter: brightness(1.05); }

section { display: grid; gap: 18px; }
section h2 { font-size: clamp(1.9rem, 5vw, 2.4rem); line-height: 1.1; }

/* The three moments of a morning with it. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.steps .n { width: 44px; height: 44px; border-radius: 50%; background: var(--sand); color: var(--accent); display: grid; place-items: center; font: 600 1.35rem/1 var(--display); }
.steps h3 { font-size: 1.5rem; line-height: 1.2; }
.steps p { color: var(--ink-soft); }

.shots { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 6px; }
.phone { flex: 0 0 auto; width: min(240px, 62vw); border-radius: 28px; overflow: hidden; border: 6px solid var(--ink); background: var(--ink); box-shadow: 0 12px 30px rgba(43, 38, 32, 0.18); }
.phone img, .wide img { display: block; width: 100%; height: auto; }
.wide { border-radius: 22px; overflow: hidden; border: 6px solid var(--ink); box-shadow: 0 12px 30px rgba(43, 38, 32, 0.18); max-width: 100%; }
figure { margin: 0; display: grid; gap: 10px; }
figcaption { font-size: 0.95rem; color: var(--ink-muted); }

.promise { background: var(--sand); border-radius: 24px; padding: 28px; display: grid; gap: 14px; }
.promise ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.promise li { background: var(--paper-raised); border: 1px solid var(--border); border-radius: 999px; padding: 6px 16px; font-weight: 600; color: var(--ink-soft); }

/* Plain pages: privacy, support. */
.prose { display: grid; gap: 16px; max-width: 40em; }
.prose h2 { font-size: 1.7rem; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.prose p, .prose li { color: var(--ink-soft); }
details { border-bottom: 1px solid var(--border); padding: 12px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--ink); }
details p { margin-top: 8px; color: var(--ink-soft); }

footer { border-top: 1px solid var(--border); padding: 28px 24px 40px; background: var(--paper); }
footer .column { gap: 10px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
footer p { color: var(--ink-muted); font-size: 0.9rem; }

@media (max-width: 520px) {
  body { font-size: 17px; }
  .sheet { padding-top: 32px; border-radius: 26px 26px 0 0; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
