/* The Plainly Faith site. The colours, fonts and sizes come from the app's design (design/tokens.css, olive scheme). */

@font-face { font-family: "Fraunces"; src: url("fonts/Fraunces.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/Fraunces-Italic.ttf") format("truetype"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/HankenGrotesk.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light dark;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --page: #f7f5ee;
  --surface: #ffffff;
  --tint: #e9ecd9;
  --tint-strong: #dce2c4;
  --line: #d9d8c6;
  --ink: #232a1f;
  --ink-muted: #5a6152;
  --accent: #56683a;
  --accent-ink: #3b4a27;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #171a14;
    --surface: #20241c;
    --tint: #2b3320;
    --tint-strong: #3a4529;
    --line: #353a2e;
    --ink: #eef0e6;
    --ink-muted: #a9ae9c;
    --accent: #a9bc84;
    --accent-ink: #b9cb95;
  }
}

body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { box-sizing: border-box; max-width: 720px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.site-header { padding-top: 24px; padding-bottom: 8px; }
.wordmark { font-family: var(--font-serif); font-size: 24px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.wordmark em { color: var(--accent); }

h1, h2 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
h1 { margin: 32px 0 8px; font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; }
h2 { margin: 40px 0 8px; font-size: 26px; line-height: 1.25; }
h3 { margin: 24px 0 4px; font-size: 17px; line-height: 1.5; }
p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 6px; }
.updated { color: var(--ink-muted); font-size: 15px; }
.lead { font-size: 19px; }
.note { padding: 16px 20px; border-radius: 18px; background: var(--tint); }

.hero { padding: 40px 0 8px; text-align: center; }
.doors { display: flex; justify-content: center; gap: 10px; }
.door { display: flex; align-items: center; justify-content: center; width: 96px; height: 150px; border: 1px solid var(--line); border-radius: 48px 48px 16px 16px; background: var(--surface); color: var(--accent); }
.door svg { width: 58px; height: auto; }
.door .leaf { fill: var(--tint-strong); }
.hero h1 { margin: 36px 0 12px; font-size: 52px; font-weight: 600; line-height: 1.05; }
.hero h1 em { color: var(--accent); }
.tagline { margin: 0 auto 12px; max-width: 420px; font-family: var(--font-serif); font-size: 22px; line-height: 1.35; }
.welcome { margin: 0 auto; max-width: 420px; color: var(--ink-muted); font-size: 16px; }
.soon { display: inline-block; margin-top: 24px; padding: 8px 18px; border-radius: 999px; background: var(--tint); color: var(--accent-ink); font-size: 15px; font-weight: 600; }

.features { display: grid; gap: 12px; margin-top: 56px; }
.feature { padding: 20px 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.feature h2 { margin: 0 0 4px; font-size: 24px; }
.feature p { margin: 0; color: var(--ink-muted); }

.site-footer { margin-top: 64px; padding-top: 24px; padding-bottom: 48px; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 15px; }
.site-footer nav a { margin-right: 16px; }
