/* The SAME two OFL typefaces the mobile app self-hosts, reused here as the variable
   TTFs already committed in apps/mobile — a static website and a bundled RN app are two
   runtimes with two asset pipelines; this is not the internal duplication CONTRACT warns
   about. build.ts copies them from apps/web/fonts into dist/fonts. */
@font-face {
  font-family: 'Literata';
  src: url('/fonts/Literata.ttf') format('truetype');
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/PlusJakartaSans.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}

/* DESIGN.md's weekday-light palette, hand-carried here — apps/web has no
   Unistyles runtime. No pure #fff, no pure #000, same as everywhere else. */
:root {
  --canvas: #F7F4EF; --surface: #FFFDF9; --ink: #1F1B17; --ink-muted: #6B625A;
  --accent: #2A6154; --accent-ink: #FFFDF9; --hairline: #E2DBD1;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
}
#app { width: 100%; max-width: 420px; }
#app.loading { text-align: center; color: var(--ink-muted); }

.canvas {
  position: relative; width: 100%; aspect-ratio: 1080 / 1350; border-radius: 16px;
  overflow: hidden; background-size: cover; background-position: center;
}
.dim { position: absolute; inset: 0; background: rgba(18, 17, 14, 0.3); }
.scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18, 17, 14, 0.72), rgba(18, 17, 14, 0.18));
}
.text-zone {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 30%;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 28px;
}
.verse { font-family: 'Literata', serif; font-size: 20px; line-height: 1.35; color: #FAF3E8; margin: 0; }
.ref { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: #FAF3E8; margin: 0; }
.brand { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700; color: #FAF3E8; opacity: 0.85; margin: 4px 0 0; }

.panel { padding: 20px 4px; text-align: center; }
.lede { font-family: 'Literata', serif; font-size: 16px; color: var(--ink-muted); margin: 0 0 16px; }
.ai-note { font-size: 12px; color: var(--ink-muted); margin-top: 16px; }
.cta {
  display: block; min-height: 44px; line-height: 44px; border-radius: 10px;
  text-decoration: none; font-weight: 600; margin-bottom: 10px;
}
.cta.primary { background: var(--accent); color: var(--accent-ink); }
.cta.secondary { background: transparent; color: var(--accent); border: 1px solid var(--hairline); }

.state-card { text-align: center; padding: 40px 20px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.body { font-family: 'Literata', serif; font-size: 16px; color: var(--ink-muted); }
