/* WakePray marketing site. Palette.swift hexes, verbatim: gold #D9963C, deep amber #8A5A1E,
   lavender #9E87D4, highlight #F2CC61, ivory #F7F3E8, surface #FDFBF3, ink #2A2C38,
   night #151226 / #211B36 / ivory-ink #EDE9DA. */
:root {
  --brand: #D9963C;
  --deep: #8A5A1E;
  --calm: #9E87D4;
  --gold: #F2CC61;
  --bg: #F7F3E8;
  --surface: #FDFBF3;
  --ink: #2A2C38;
  --muted: rgba(42, 44, 56, 0.62);
  --line: rgba(138, 90, 30, 0.18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151226;
    --surface: #211B36;
    --ink: #EDE9DA;
    --muted: rgba(237, 233, 218, 0.62);
    --line: rgba(158, 135, 212, 0.22);
  }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.serif { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
header.site .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
header.site .brand img { width: 40px; height: 40px; border-radius: 10px; }
header.site .brand span { font-weight: 700; font-size: 19px; }
header.site nav a {
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600;
  margin-left: 20px;
}
header.site nav a:hover { color: var(--brand); }

.hero { text-align: center; padding: 56px 0 40px; }
.hero img.appicon {
  width: 148px; height: 148px; border-radius: 33px;
  box-shadow: 0 18px 44px rgba(138, 90, 30, 0.28);
}
.hero h1 { font-size: clamp(38px, 7vw, 58px); margin: 26px 0 14px; }
.hero p.tag { font-size: 21px; color: var(--muted); max-width: 560px; margin: 0 auto; }
.hero .cta {
  display: inline-block; margin-top: 28px; padding: 14px 30px;
  background: var(--brand); color: #fff; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 17px;
  box-shadow: 0 8px 22px rgba(217, 150, 60, 0.4);
}
.hero .cta.soon { cursor: default; }
.hero .sub { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 34px 0; }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 22px;
}
.step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(217, 150, 60, 0.16); color: var(--brand);
  font-weight: 800; margin-bottom: 10px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); }

.kards { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding: 8px 0 30px; }
.kard {
  width: 168px; min-height: 190px; border-radius: 14px; padding: 14px;
  color: #fff; display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 8px 20px rgba(42, 44, 56, 0.16);
}
.kard .ref { font: 700 9px/1 ui-monospace, Menlo, monospace; letter-spacing: 0.6px; opacity: 0.75; }
.kard .txt { font-family: Georgia, serif; font-size: 14px; line-height: 1.45; }

.quiet {
  text-align: center; padding: 36px 0 56px; color: var(--muted); font-size: 15px;
  max-width: 620px; margin: 0 auto;
}
.quiet strong { color: var(--ink); }

footer.site {
  border-top: 1px solid var(--line); padding: 26px 0 44px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: var(--muted); font-size: 14px;
}
footer.site a { color: var(--muted); text-decoration: none; margin-right: 16px; }
footer.site a:hover { color: var(--brand); }

/* Legal pages */
main.legal { padding: 30px 0 70px; }
main.legal h1 { font-size: 34px; margin-bottom: 4px; }
main.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
main.legal h2 { font-size: 21px; margin: 30px 0 8px; }
main.legal p, main.legal li { color: var(--ink); font-size: 16px; margin-bottom: 10px; }
main.legal ul { padding-left: 22px; margin-bottom: 12px; }
main.legal a { color: var(--brand); }
