@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;1,14..32,400&display=swap');

/* Calling Board for Bishoprics — Landing Page Styles
   Palette (matches bair.dev dark theme):
   - Background:  #2E3E31  (leather desk)
   - Surface:     #364b3c  (raised card)
   - Ink:         #F7EBDF  (parchment)
   - Muted:       #D5CBB3  (subdued text)
   - Accent:      #D5A873  (warm brass)
*/

:root {
  --bg:         #2E3E31;
  --surface:    #364b3c;
  --surface2:   #3d5443;
  --ink:        #F7EBDF;
  --muted:      #D5CBB3;
  --accent:     #D5A873;
  --accent-ink: #2B200F;
  --ring:       rgba(213,168,115,.5);
  --border:     rgba(255,255,255,.07);
  --shadow:     0 10px 30px rgba(0,0,0,.3);
  --radius:     16px;

  /* Stage colors */
  --current:    rgba(100,160,120,.25);
  --working:    rgba(180,160,90,.22);
  --proposed:   rgba(180,120,70,.22);
  --approved:   rgba(100,170,140,.3);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(1200px 800px at 20% -10%, #3b5244 0%, var(--bg) 55%), var(--bg);
  color: var(--ink);
  font: 16px/1.6 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: .85; text-decoration: underline; }

/* ── Layout ── */
.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 20px;
}

/* ── Header ── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 12px; }

.logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #c8905a);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .5px;
  color: var(--accent-ink);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.brand strong { display: block; font-size: 17px; line-height: 1.2; }
.brand .kicker {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.topnav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.topnav a {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: 14px;
  transition: color .15s, border-color .15s;
}
.topnav a:hover { color: var(--ink); border-color: rgba(255,255,255,.18); text-decoration: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .15s ease, opacity .15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); opacity: 1; text-decoration: none; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--ring); }

.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.ghost   { border-color: rgba(247,235,223,.2); color: var(--ink); background: rgba(255,255,255,.04); }

/* ── Cards ── */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.45); border-color: rgba(255,255,255,.12); }

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 28px;
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border: 1px solid rgba(213,168,115,.4);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: 36px;
  line-height: 1.12;
  margin: 0 0 14px;
  letter-spacing: -.3px;
}

.hero-copy .lede {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 22px;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.note { font-size: 13px; color: var(--muted); margin: 0; }
.note a { color: var(--muted); text-decoration: underline; }

/* ── Pipeline card ── */
.pipeline-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pipeline-label {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  font-weight: 600;
}

.pipeline {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.stage-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  text-align: center;
}

.current-head  { background: var(--current);  color: #a8e6c0; }
.working-head  { background: var(--working);  color: #e6d8a0; }
.proposed-head { background: var(--proposed); color: #e6b890; }
.approved-head { background: var(--approved); color: #90e6c8; }

.member-chip {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.muted-chip  { color: var(--muted); font-style: italic; }
.accent-chip { border-color: rgba(213,168,115,.4); color: var(--accent); }

.stage-arrow {
  color: var(--muted);
  font-size: 18px;
  padding-top: 22px;
  flex-shrink: 0;
  opacity: .5;
}

.pipeline-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  text-align: center;
  font-style: italic;
}

/* ── Promise bar ── */
.promise-bar {
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  background: rgba(213,168,115,.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 28px;
}
.promise-bar p { margin: 0; font-size: 15px; color: var(--muted); }
.promise-bar strong { color: var(--accent); }

/* ── Features ── */
.section { margin-bottom: 28px; }
.section-title {
  font-size: 22px;
  margin: 0 0 16px;
  color: var(--ink);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card { display: flex; flex-direction: column; gap: 8px; }
.feature-icon { font-size: 24px; line-height: 1; margin-bottom: 4px; }
.feature-card h3 { margin: 0; font-size: 16px; }
.feature-card p  { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ── Stage detail cards ── */
.stage-detail-card { display: flex; flex-direction: column; gap: 8px; }
.stage-detail-card h3 { margin: 0; font-size: 16px; }
.stage-detail-card p  { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

.stage-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  width: fit-content;
}

.current-badge  { background: var(--current);  color: #a8e6c0; }
.working-badge  { background: var(--working);  color: #e6d8a0; }
.proposed-badge { background: var(--proposed); color: #e6b890; }
.approved-badge { background: var(--approved); color: #90e6c8; }

/* ── Why section ── */
.why-section { margin-bottom: 28px; }

.why-header {
  text-align: center;
  margin-bottom: 24px;
}

.why-header h2 { font-size: 28px; margin: 10px 0 8px; }

.tag-pill {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(213,168,115,.4);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.compare-grid { margin-top: 16px; }

.compare-card { display: flex; flex-direction: column; gap: 8px; }
.compare-card h3 { margin: 0 0 4px; }

.compare-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare-label.accent-label { color: var(--accent); }

.compare-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
}
.compare-list li { line-height: 1.5; }
.old-way .compare-list li::marker { color: #7a3535; }
.new-way .compare-list li::marker { color: var(--accent); }

.callout-card {
  margin-top: 16px;
  border-color: rgba(213,168,115,.25);
  background: linear-gradient(135deg, rgba(213,168,115,.07), rgba(213,168,115,.03));
}

.callout-inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.callout-stat {
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  line-height: 1;
  padding-top: 4px;
}

.callout-text strong {
  font-size: 17px;
  display: block;
  margin-bottom: 6px;
}
.callout-text p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── Privacy card ── */
.privacy-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  border-color: rgba(213,168,115,.2);
}

.privacy-icon { font-size: 40px; line-height: 1; flex-shrink: 0; padding-top: 4px; }

.privacy-copy h2 { margin: 0 0 10px; font-size: 20px; }
.privacy-copy p  { margin: 0 0 12px; color: var(--muted); font-size: 15px; line-height: 1.55; }

.privacy-list {
  margin: 0 0 4px;
  padding-left: 20px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}
.privacy-list li { line-height: 1.5; }
.privacy-list strong { color: var(--ink); }

/* ── Info cards ── */
.info-card { display: flex; flex-direction: column; gap: 6px; }
.info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.info-value { font-size: 15px; font-weight: 600; color: var(--ink); }

/* ── Footer ── */
footer {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }

/* ── Privacy page ── */
.prose h1 { font-size: 30px; margin: 0 0 6px; }
.prose .updated { color: var(--muted); font-style: italic; margin: 0 0 24px; font-size: 14px; }
.prose h2 { font-size: 18px; margin: 24px 0 8px; color: var(--accent); }
.prose p  { margin: 0 0 12px; color: var(--muted); line-height: 1.65; }
.prose ul { margin: 0 0 12px; padding-left: 22px; color: var(--muted); }
.prose li { margin-bottom: 6px; line-height: 1.55; }
.prose strong { color: var(--ink); }

/* ── Responsive ── */
@media (max-width: 820px) {
  .hero    { grid-template-columns: 1fr; }
  .grid-3  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-3, .grid-2  { grid-template-columns: 1fr; }
  .hero-copy h1     { font-size: 28px; }
  header            { flex-direction: column; align-items: flex-start; }
  .privacy-card     { flex-direction: column; gap: 12px; }
  .callout-inner    { flex-direction: column; gap: 12px; }
  .pipeline         { flex-wrap: wrap; }
  .stage-arrow      { display: none; }
}
