/* Shepherd public site. Shared by /, /get-started, /support and /privacy. */
:root {
  --green: #2e6b4e;
  --green-deep: #1f4a36;
  --mint: #e0eee6;
  --cream: #f6f4ef;
  --paper: #fffdf8;
  --ink: #1b1a17;
  --muted: #6b675f;
  --line: #ddd8cc;
  --error: #b4433b;
  --error-bg: #f6e0dd;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
}
a { color: var(--green); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 6vw, 56px); }
h2 { font-size: clamp(26px, 3.6vw, 34px); }
h3 { font-size: 20px; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }

/* Header */
.top { background: var(--cream); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.top .wrap > * { min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); font-family: var(--serif); font-size: 24px; font-weight: 600; }
.brand img { width: 32px; height: 32px; border-radius: 9px; flex: none; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav a:hover { color: var(--green); }
.nav .btn { margin: 0; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 20px; border-radius: 12px; border: 0; cursor: pointer;
  font: 600 16px/1.2 var(--sans); text-decoration: none; text-align: center; white-space: nowrap;
}
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-deep); }
.btn.secondary { background: var(--mint); color: var(--green); }
.btn.secondary:hover { background: #d1e5d9; }
.btn.light { background: var(--cream); color: var(--green); }
.btn.light:hover { background: #fff; }
.btn.block { display: block; width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero .lead { font-size: 20px; color: var(--muted); max-width: 34em; margin: 20px 0 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .note { margin: 16px 0 0; font-size: 15px; color: var(--muted); }

/* The "Today" card: what a leader sees each morning, drawn in CSS so the page stays a few kilobytes. */
.today { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: 0 16px 40px -28px rgba(31, 74, 54, .45); font-size: 15px; }
.today .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.today .head strong { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.today .head span { color: var(--muted); font-size: 14px; }
.today .group { padding: 12px 0 4px; border-top: 1px solid var(--line); }
.today .group h4 { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--green); }
.today .row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.today .row .who { flex: 1; min-width: 0; }
.today .row .who small { display: block; color: var(--muted); }
.today .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: var(--green); font: 600 13px/34px var(--sans); text-align: center; flex: none; }
.today .chip { font: 600 12px/1 var(--sans); color: var(--green); background: var(--mint); padding: 7px 10px; border-radius: 999px; }
.today .dots { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: middle; }
.today .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); display: inline-block; }
.today .dots i.miss { background: transparent; border: 1.5px solid var(--error); }

/* Feature list */
.features { padding: 40px 0 56px; }
.features h2 { margin-bottom: 8px; }
.features .intro { color: var(--muted); max-width: 36em; margin-bottom: 24px; }
.features dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 0; }
.features .item { padding: 20px 0 22px; border-top: 1px solid var(--line); }
.features dt { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.features dd { margin: 0; color: var(--muted); }

/* Open-to-any-church band */
.open { background: var(--green); color: #fff; padding: 56px 0; }
.open h2 { color: #fff; max-width: 18em; }
.open p { color: #dcebe2; max-width: 36em; font-size: 18px; margin: 14px 0 24px; }
.open .btn.light { color: var(--green); }

/* Footer */
footer { padding: 32px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--muted); }

/* Inner pages */
.page { padding: 48px 0 64px; }
.page h1 { margin-bottom: 12px; }
.page h2 { font-size: 24px; margin: 32px 0 10px; }
.page ul { padding-left: 22px; }
.page li { margin-bottom: 6px; }
.callout { background: var(--mint); border-radius: 16px; padding: 22px 24px; margin: 24px 0; }
.callout h2 { margin: 0 0 8px; font-size: 24px; }
.callout p { margin-bottom: 14px; }

/* Form */
form { margin-top: 28px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: 17px var(--sans); color: var(--ink);
  background: var(--paper); border: 1px solid #c9c3b5; border-radius: 12px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b675f' stroke-width='2'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field.invalid input, .field.invalid select { border-color: var(--error); }
.field .err { display: none; color: var(--error); font-size: 14px; margin-top: 6px; }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { background: var(--error-bg); color: var(--error); padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; }
.success { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; margin-top: 28px; }
.success .mark { width: 48px; height: 48px; border-radius: 50%; background: var(--mint); color: var(--green); display: grid; place-items: center; margin-bottom: 16px; }
.success h2 { margin: 0 0 8px; }
.form-foot { color: var(--muted); font-size: 15px; margin-top: 12px; }
[hidden] { display: none !important; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav a:not(.btn) { display: none; }
  .hero { padding: 32px 0 28px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero .lead { font-size: 18px; margin: 14px 0 20px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .features dl { grid-template-columns: 1fr; }
  .open { padding: 40px 0; }
  .grid2 { grid-template-columns: 1fr; gap: 0; }
  .btn { padding: 14px 18px; }
}
@media (max-width: 480px) {
  .brand { font-size: 21px; }
  .brand img { width: 28px; height: 28px; border-radius: 8px; }
  .nav .btn { padding: 11px 14px; font-size: 15px; }
  .nav .btn .long { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color .15s ease; }
}
