/* Pastor Z — pastorz.dev
   Navy / gold / sepia system shared with the iOS app. */

:root {
  --page: #EDE6D4;
  --surface: #FAF6EC;
  --surface-2: #FBF7EC;
  --line: rgba(33, 30, 23, .08);
  --divider: rgba(33, 30, 23, .12);
  --navy: #22345E;
  --navy-tint: rgba(34, 52, 94, .1);
  --navy-ink: #22345E;
  --ink: #211E17;
  --ink-2: #2A251C;
  --ink-3: #3A342A;
  --ink-soft: #5A5342;
  --muted: #8A8069;
  --gold: #C9A24A;
  --gold-text: #A9812B;
  --gold-soft: #8A6E3E;
  --hero-gold: #D9B65E;
  --hero-text: #EDE9DF;
  --hero-muted: #B9C2D8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #17161A;
    --surface: #211F26;
    --surface-2: #26242C;
    --line: rgba(255, 255, 255, .10);
    --divider: rgba(255, 255, 255, .14);
    --navy-tint: rgba(140, 166, 228, .18);
    --navy-ink: #9FB6EE;
    --ink: #EDE9DF;
    --ink-2: #E7E2D6;
    --ink-3: #C7C1B3;
    --ink-soft: #B2AB98;
    --muted: #9A9079;
    --gold-text: #DFC06A;
    --gold-soft: #D9B65E;
  }
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.serif { font-family: "Newsreader", Georgia, "Times New Roman", serif; }

a { color: inherit; text-decoration: none; }

/* ---- nav ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 56px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 14px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--navy);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mark::before, .mark::after {
  content: "";
  position: absolute;
  background: rgb(244, 238, 221);
  border-radius: 2px;
}
.mark::before { width: 3.5px; height: 17px; }
.mark::after { width: 11px; height: 3.5px; top: 9.5px; }

.brand-name {
  font-family: "Newsreader", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
}

.nav-links { display: flex; align-items: center; gap: 34px; font-size: 14.5px; }
.nav-links a { color: var(--ink-soft); }
.nav-links a.active {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
}
.nav-links a:hover { color: var(--ink); }

/* ---- page shell ---- */
main { flex: 1; width: 100%; }

.narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 24px 64px;
  width: 100%;
}

.page-title {
  font-family: "Newsreader", Georgia, serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.1;
  margin: 0;
}

.page-sub { font-size: 16px; color: var(--ink-soft); margin-top: 12px; line-height: 1.55; }
.page-date { font-size: 14px; color: var(--muted); margin-top: 10px; }

.gold-rule {
  width: 44px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  border: none;
  margin: 20px 0 32px;
}

.body-copy { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin: 0 0 22px; }

h2.section {
  font-family: "Newsreader", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}

.section-copy { font-size: 16px; line-height: 1.6; color: var(--ink-3); margin: 0 0 26px; }
.section-copy a, .inline-email { color: var(--navy-ink); font-weight: 600; }

/* ---- cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 12px;
}

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  padding: 20px 24px;
}

.callout .eyebrow { margin-bottom: 8px; }
.callout p { font-size: 15.5px; line-height: 1.6; color: var(--ink-3); margin: 0; }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-text);
}

/* ---- home ---- */
.hero { text-align: center; padding: 84px 24px 64px; }

.hero .eyebrow { font-size: 12.5px; letter-spacing: .14em; margin-bottom: 20px; display: block; }

.hero h1 {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(38px, 7vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  max-width: 760px;
  margin: 0 auto;
}

.hero .lede {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 560px;
  margin: 22px auto 36px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 15px 28px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(34, 52, 94, .25);
}

.cta svg { flex-shrink: 0; }

.hero .fine { font-size: 13px; color: var(--muted); margin-top: 16px; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 56px;
  max-width: 1128px;
  margin: 0 auto;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.pillar .icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--navy-tint);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-ink);
  margin-bottom: 14px;
}

.pillar h3 {
  font-family: "Newsreader", Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  margin: 0;
}

.pillar p { font-size: 14px; color: var(--muted); margin: 4px 0 0; line-height: 1.5; }

.verse-strip {
  margin: 28px auto 0;
  max-width: 1016px;
  background: var(--navy);
  border-radius: 18px;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.verse-strip blockquote {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 19px;
  color: var(--hero-text);
  line-height: 1.45;
  margin: 0;
}

.verse-strip cite {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--hero-gold);
  white-space: nowrap;
}

/* ---- grounding ---- */
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 10px;
}

.step .num {
  font-family: "Newsreader", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-text);
  flex-shrink: 0;
  width: 22px;
}

.step h3 { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.step p { font-size: 15px; line-height: 1.55; color: var(--ink-3); margin: 0; }

.contact-callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-callout p { font-size: 15px; line-height: 1.55; color: var(--ink-3); margin: 0; }

.pill-btn {
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 11px 20px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* ---- support ---- */
.email-card {
  background: var(--navy);
  border-radius: 18px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.email-card .eyebrow { color: var(--hero-gold); margin-bottom: 8px; display: block; }

.email-card .address {
  font-family: "Newsreader", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.email-card .note { font-size: 13.5px; color: var(--hero-muted); margin-top: 6px; }

.email-card .icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  display: flex; align-items: center; justify-content: center;
  color: #EDE6D4;
  flex-shrink: 0;
}

.faq-title {
  font-family: "Newsreader", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 18px;
}

.faq h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.faq p { font-size: 15px; line-height: 1.55; color: var(--ink-3); margin: 0; }

/* ---- footer ---- */
footer {
  border-top: 1px solid var(--line);
  padding: 20px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

footer nav { display: flex; gap: 26px; }
footer a:hover { color: var(--ink); }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .nav { padding: 18px 24px; }
  .nav-links { gap: 18px; font-size: 14px; flex-wrap: wrap; }
  .pillars { grid-template-columns: 1fr; padding: 0 24px; }
  .verse-strip { flex-direction: column; align-items: flex-start; margin-left: 24px; margin-right: 24px; }
  .hero { padding: 56px 24px 44px; }
  .narrow { padding: 44px 24px; }
  .page-title { font-size: 36px; }
  footer { padding: 20px 24px; }
  .email-card { flex-direction: column; align-items: flex-start; }
}
