/* The same night look as the app (src/theme, dark): deep blue, cream text, moonlight gold. */
:root {
  --bg: #0e1229;
  --bg-deep: #080b1c;
  --paper: #181f42;
  --ink: #f1eadb;
  --soft: #f1eadbb3;
  --muted: #9aa3c4;
  --faint: #262e57;
  --gold: #f3dfa6;
  --on-gold: #141a36;
  --clay: #f2a58e;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
}
a { color: var(--gold); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { font: 600 26px/1 var(--serif); }
nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; }
h1 { font-size: clamp(38px, 7vw, 56px); margin: 0 0 14px; }
h2 { font-size: 32px; margin: 48px 0 10px; }
h3 { font-size: 23px; margin: 26px 0 6px; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 26px; }
.label { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.muted { color: var(--muted); }

/* Night sky with stars and the sea, like the "I'm tempted" screen. */
.sky {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #080b1c 0%, #141a3d 55%, #1e2753 100%);
}
.sky svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-sky { border-radius: 0 0 32px 32px; padding-bottom: 36px; }
.hero { position: relative; display: grid; gap: 30px; padding: 20px 0 10px; }
.verse { font: italic 500 22px/1.4 var(--serif); color: var(--soft); margin: 18px 0 4px; }

/* The app's recovery card, drawn in HTML. */
.phone-card {
  position: relative;
  border-radius: 30px;
  border: 1px solid #ffffff1a;
  padding: 24px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px #00000066;
}
.phone-card .row { display: flex; justify-content: space-between; position: relative; }
.phone-card .num { font: 600 34px/1.15 var(--sans); }
.phone-card .num.gold { color: var(--gold); }
.phone-card .small { font-size: 14px; color: var(--soft); position: relative; margin-top: 6px; }
.phone-card .grow { flex: 1; }
.pill {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; border-radius: 999px;
  background: var(--gold); color: var(--on-gold);
  font: 600 16px var(--sans);
}
.phone-card .links { position: relative; text-align: center; font-size: 14px; color: var(--soft); margin-top: 10px; }

.cards { display: grid; gap: 14px; margin: 30px 0; }
.card { background: var(--paper); border-radius: 24px; padding: 22px 24px; }
.card .icon {
  width: 40px; height: 40px; border-radius: 20px; background: #262d58;
  display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.card h3 { margin: 0 0 4px; }
.card p { margin: 0; color: var(--muted); }

form.inline { display: flex; gap: 10px; flex-wrap: wrap; }
input, textarea, select {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--faint);
  border-radius: 16px;
  padding: 14px 16px;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
form.inline input { flex: 1 1 240px; width: auto; }
textarea { min-height: 140px; resize: vertical; }
button {
  font: 600 16px var(--sans);
  background: var(--gold);
  color: var(--on-gold);
  border: 0;
  border-radius: 999px;
  padding: 15px 28px;
  cursor: pointer;
}
button:disabled { opacity: 0.5; cursor: default; }
.note { font-size: 14px; color: var(--muted); margin-top: 10px; min-height: 1.4em; }
.stack { display: grid; gap: 12px; }
.box { background: var(--paper); border-radius: 24px; padding: 22px 24px; margin-top: 18px; }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 22px; }
.prose h2 { font-size: 28px; margin-top: 40px; }
footer { margin: 60px 0 0; padding: 26px 0 40px; border-top: 1px solid var(--faint); color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); margin-right: 16px; }
@media (min-width: 760px) {
  .hero { grid-template-columns: 1.15fr 1fr; align-items: center; padding-top: 40px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}
.verse-quote { margin: 22px 0; padding: 18px 22px; border-left: 2px solid var(--gold); background: var(--paper); border-radius: 0 18px 18px 0; }
.verse-quote p:first-child { font: italic 500 22px/1.45 var(--serif); margin: 0 0 8px; }
.verse-quote .label { margin: 0; }
a.post { display: block; text-decoration: none; color: var(--ink); }
a.post h2 { margin: 0 0 6px; font-size: 26px; }
a.post p { margin: 0; }
