/* Pastors Guide to AI — shared site styles.
   Tokens and sizes come from brand-guide.md (Nov 2026). Mobile first. */

:root {
  --navy: #0B1F45;
  --navy-soft: #132B5C;
  --gold: #E0A526;
  --gold-hover: #C99220;
  --gold-pale: #F6E3A8;
  --gold-deep: #8A6100;
  --steel: #4A6FA5;
  --paper: #FBFAF6;
  --white: #FFFFFF;
  --gray: #6B7280;
  --gray-on-navy: #A9B4C8;
  --line: #E4E1D8;
  --line-on-navy: #2A4170;
  --success: #1E7A4F;
  --error: #B4231A;

  --font-head: "Outfit", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --gutter: 24px;
  --content: 1120px;
  --text: 680px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font: 400 16px/26px var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--steel); text-underline-offset: 2px; }
a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--steel); outline-offset: 2px; }

.wrap {
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- Type ---------- */

h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; color: var(--navy); }

.display { font-weight: 700; font-size: 40px; line-height: 44px; letter-spacing: -0.01em; }
h1, .h1  { font-weight: 700; font-size: 34px; line-height: 40px; }
h2, .h2  { font-weight: 700; font-size: 28px; line-height: 34px; }
h3, .h3  { font-weight: 600; font-size: 22px; line-height: 28px; }
h4, .h4  { font-weight: 600; font-size: 18px; line-height: 24px; }

.lead { font-size: 18px; line-height: 28px; }
.small { font-size: 14px; line-height: 22px; }
.muted { color: var(--gray); }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 16px;
}

/* The page's one gold moment: pale gold highlighter behind a word. */
.hl {
  background: linear-gradient(transparent 12%, var(--gold-pale) 12%, var(--gold-pale) 92%, transparent 92%);
  padding: 0 0.06em;
  margin: 0 -0.02em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

/* ---------- Header and footer ---------- */

.site-header { padding: 24px 0; }
.site-header .wordmark { width: 220px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--gray);
  font-size: 14px;
  line-height: 22px;
}
.site-footer a { color: var(--gray); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 28px;
  border: 0;
  border-radius: var(--r-pill);
  font: 500 16px/20px var(--font-head);
  text-decoration: none;
  cursor: pointer;
  background: var(--navy);
  color: var(--white);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--navy-soft); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-hover); color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--small { min-height: 40px; padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
}

.panel-navy {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 24px;
}
.panel-navy h2, .panel-navy h3 { color: var(--white); }
.panel-navy .eyebrow { color: var(--gray-on-navy); }
.panel-navy a { color: #8FB0DE; }

/* ---------- Form ---------- */

.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font: 500 14px/20px var(--font-body);
  margin-bottom: 8px;
}
.form-field input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #CFCAB9;
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--navy);
  font: 400 16px/24px var(--font-body); /* 16px stops iOS zooming in on focus */
  -webkit-appearance: none;
  appearance: none;
}
.form-field input:focus { outline: 3px solid var(--steel); outline-offset: 1px; border-color: var(--steel); }
.form-field input::placeholder { color: #9AA0AA; }

.form-note { margin-top: 16px; }
.form-status { margin-top: 16px; font-weight: 600; }
.form-status--ok { color: var(--success); }
.form-status--err { color: var(--error); }

/* ---------- Lists with the star mark ---------- */

.star-list { list-style: none; padding: 0; margin: 0; }
.star-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}
.star-list li:last-child { margin-bottom: 0; }
.star-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  background: var(--navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.8 7.6 16.4 11.2 24 12 16.4 12.8 12.8 16.4 12 24 11.2 16.4 7.6 12.8 0 12 7.6 11.2 11.2 7.6 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.8 7.6 16.4 11.2 24 12 16.4 12.8 12.8 16.4 12 24 11.2 16.4 7.6 12.8 0 12 7.6 11.2 11.2 7.6 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Sections ---------- */

.section { padding: 64px 0; }
.section + .section { padding-top: 0; }
.prose { max-width: var(--text); }
.prose p { margin-bottom: 24px; }

/* ---------- Landing page ---------- */

.hero { padding: 16px 0 64px; }
.hero .display { margin-bottom: 16px; }
.hero .lead { margin-bottom: 32px; }
.hero-form .card { padding: 24px; }
.hero-inside { margin-top: 24px; }

@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .site-header { padding: 32px 0; }
  .site-header .wordmark { width: 260px; }
  .display { font-size: 52px; line-height: 56px; }
  h1, .h1 { font-size: 48px; line-height: 52px; }
  h2, .h2 { font-size: 36px; line-height: 42px; }
  h3, .h3 { font-size: 24px; line-height: 30px; }
  h4, .h4 { font-size: 20px; line-height: 26px; }
  .lead { font-size: 20px; line-height: 30px; }
  .section { padding: 96px 0; }
  .panel-navy { padding: 48px; }
  .card { padding: 32px; }
}

@media (min-width: 1000px) {
  .display { font-size: 64px; line-height: 68px; }
  .hero { padding: 32px 0 96px; }
  .hero-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 64px;
    align-items: start;
  }
  .hero-copy { padding-top: 24px; }
}

/* ---------- Start page ---------- */

.start-intro { padding: 16px 0 48px; }
.start-intro .signoff { font-family: var(--font-head); font-weight: 600; margin-top: 8px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }

.steps { padding-left: 0; margin: 0 0 32px; list-style: none; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding-left: 48px; margin-bottom: 24px; }
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  font: 700 24px/30px var(--font-head);
  color: var(--steel);
}
.shot {
  margin: 16px 0 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 8px 24px rgba(11, 31, 69, 0.08);
  overflow: hidden;
}
.shot img { width: 100%; }

.cheat li { margin-bottom: 16px; }

.cards { display: grid; gap: 32px; }
.prompt-card h3 { margin-bottom: 16px; }
.prompt-card > p { margin-bottom: 16px; }

.prompt-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  margin: 24px 0;
}
.prompt-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 16px;
  border-bottom: 1px solid var(--line);
}
.prompt-label { font: 600 13px/16px var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); }
.prompt-text { position: relative; }
.prompt-text pre {
  margin: 0;
  padding: 16px;
  font: 400 15px/24px var(--font-body);
  color: var(--navy);
  white-space: pre-wrap;
  word-wrap: break-word;
}
.prompt-text.is-long:not(.is-open) { max-height: 240px; overflow: hidden; }
.prompt-text.is-long:not(.is-open)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px;
  background: linear-gradient(rgba(251, 250, 246, 0), var(--paper));
}
.expand-btn {
  display: block; width: 100%;
  padding: 12px 16px;
  border: 0; border-top: 1px solid var(--line);
  background: transparent;
  color: var(--steel);
  font: 500 15px/20px var(--font-body);
  text-decoration: underline; text-underline-offset: 2px;
  cursor: pointer;
}
.copy-btn { min-width: 128px; }
.copy-btn.is-copied { background: var(--success); }

.skill-note {
  border-left: 3px solid var(--steel);
  padding: 4px 0 4px 16px;
  margin: 0 0 24px;
  font-size: 14px; line-height: 22px;
}
.skill-note p { margin-bottom: 8px; }
.good-h { margin: 0 0 8px; }
