/* ============================================================================
   Sovereign Health — shared stylesheet
   Warm, calm, uncluttered, faith-friendly, mature-audience readable.
   18px+ body, high contrast, 44px+ tap targets, no thin gray-on-white.
   No em dashes in reader-facing copy (enforced in HTML/JS, not CSS).
   ========================================================================== */

:root{
  --cream:      #f7f2e9;   /* page background */
  --cream-deep: #efe7d6;   /* panels / cards */
  --ink:        #2b2721;   /* primary text */
  --ink-soft:   #4a443b;   /* secondary text */
  --gold:       #a9812f;   /* accent / rule */
  --gold-deep:  #8a6a24;   /* button, hover */
  --line:       #ddd1bb;   /* dividers */
  --white:      #fffdf8;
  --maxw:       680px;
}

*{ box-sizing:border-box; }

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

body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:"EB Garamond", Georgia, "Times New Roman", serif;
  font-size:20px;
  line-height:1.72;
  -webkit-font-smoothing:antialiased;
}

/* ---------- Layout ---------- */
.wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 22px;
}

main{ padding:8px 0 40px; }

section{ padding:34px 0; }

/* ---------- Opening screen watercolor wash ---------- */
section[data-step="opening"]{
  position:relative;
  background-image:url('opening-bg.jpg');
  background-size:cover;
  background-position:center 40%;
  background-repeat:no-repeat;
}
section[data-step="opening"]::before{
  content:'';
  position:absolute;
  inset:0;
  background:var(--cream);
  opacity:0.78;
  pointer-events:none;
}
section[data-step="opening"] .wrap{
  position:relative;
  z-index:1;
}

/* ---------- Masthead ---------- */
.masthead{
  text-align:center;
  padding:30px 22px 22px;
  border-bottom:1px solid var(--line);
  background:var(--white);
}
.masthead--dark{
  background:var(--ink);
  border-bottom-color:transparent;
}
.masthead--dark .tagline{ color:var(--gold); }
.masthead-logo{
  display:block;
  margin:0 auto 4px;
  max-width:260px;
  height:auto;
}
.masthead .brandmark{
  font-size:14px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--ink-soft);
}
.masthead .brandname{
  font-family:"Cormorant Garamond", Georgia, serif;
  font-weight:700;
  font-size:30px;
  letter-spacing:.14em;
  color:var(--ink);
  margin-top:6px;
}
.masthead .tagline{
  font-style:italic;
  color:var(--gold-deep);
  margin-top:6px;
  font-size:18px;
}

/* ---------- Progress dots ---------- */
.dots{
  display:flex;
  gap:12px;
  justify-content:center;
  padding:22px 0 2px;
}
.dots span{
  width:11px; height:11px;
  border-radius:50%;
  background:var(--line);
  transition:background .3s ease;
}
.dots span.on{ background:var(--gold); }

/* ---------- Typography ---------- */
h1{
  font-family:"Cormorant Garamond", Georgia, serif;
  font-weight:700;
  font-size:34px;
  line-height:1.24;
  color:var(--ink);
  margin:.2em 0 .5em;
}
h2{
  font-family:"Cormorant Garamond", Georgia, serif;
  font-weight:700;
  font-size:28px;
  line-height:1.28;
  color:var(--ink);
  margin:0 0 .5em;
}
h3{
  font-family:"Cormorant Garamond", Georgia, serif;
  font-weight:600;
  font-size:24px;
  color:var(--gold-deep);
  margin:1.4em 0 .4em;
}
h4{
  font-family:"Cormorant Garamond", Georgia, serif;
  font-weight:600;
  font-size:20px;
  color:var(--ink);
  margin:0 0 .3em;
}

p{ margin:0 0 1.05em; color:var(--ink-soft); }
p:last-child{ margin-bottom:0; }

.eyebrow{
  font-family:"Cormorant Garamond", Georgia, serif;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:15px;
  color:var(--gold-deep);
  margin-bottom:.6em;
}
.center{ text-align:center; }

.emphasis-line{
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:23px;
  color:var(--ink);
  font-weight:600;
  margin:1.1em 0;
}
.section-intro{
  font-style:italic;
  color:var(--ink-soft);
  margin-bottom:1.2em;
}
.notice{
  font-style:italic;
  color:var(--ink);
  font-size:21px;
  border-left:3px solid var(--gold);
  padding-left:16px;
  margin:1.1em 0 1.4em;
}
.closing-note{
  font-style:italic;
  color:var(--ink-soft);
  font-size:18px;
  margin-top:1.2em;
}

/* ---------- Steps ---------- */
.step{ display:none; }
.step.active{ display:block; }

/* ---------- Checkboxes (large tap targets) ---------- */
.check{
  display:flex;
  align-items:flex-start;
  gap:14px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px 18px;
  margin:12px 0;
  min-height:44px;
  cursor:pointer;
  transition:border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.check:hover{ border-color:var(--gold); }
.check.is-checked{
  border-color:var(--gold);
  background:var(--cream-deep);
  box-shadow:inset 3px 0 0 var(--gold);
}
.check input[type=checkbox]{
  appearance:none; -webkit-appearance:none;
  flex:0 0 auto;
  width:26px; height:26px;
  margin-top:2px;
  border:2px solid var(--gold);
  border-radius:6px;
  background:var(--white);
  cursor:pointer;
  position:relative;
}
.check input[type=checkbox]:checked{ background:var(--gold); border-color:var(--gold); }
.check input[type=checkbox]:checked::after{
  content:"";
  position:absolute;
  left:8px; top:3px;
  width:6px; height:12px;
  border:solid var(--white);
  border-width:0 3px 3px 0;
  transform:rotate(45deg);
}
.check span{ font-size:19px; line-height:1.5; color:var(--ink); }

/* ---------- Buttons ---------- */
.btn-wrap{ text-align:center; margin:30px 0 6px; }
.btn{
  display:inline-block;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-weight:600;
  font-size:20px;
  letter-spacing:.02em;
  color:var(--white);
  background:var(--gold-deep);
  border:none;
  border-radius:999px;
  padding:16px 34px;
  min-height:52px;
  text-decoration:none;
  cursor:pointer;
  transition:background .2s ease, transform .1s ease;
  line-height:1.3;
}
.btn:hover{ background:var(--gold); }
.btn:active{ transform:translateY(1px); }
.btn-sub{
  font-size:16px;
  font-style:italic;
  color:var(--ink-soft);
  margin-top:12px;
}

/* ---------- Reveal list ---------- */
#reveal-list{ margin:8px 0 4px; }
.reveal-group{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px 20px;
  margin:14px 0;
}
.reveal-group ul{ margin:.3em 0 0; padding-left:1.2em; }
.reveal-group li{ margin:.35em 0; color:var(--ink-soft); font-size:18px; }

/* ---------- Next-step panel ---------- */
.next-step{
  background:var(--cream-deep);
  border:1px solid var(--line);
  border-radius:16px;
  padding:26px 24px;
  margin-top:8px;
}

/* ---------- Reveal: pullquote paragraphs ---------- */
.p-pullquote{
  background:var(--cream-deep);
  border-left:3px solid var(--gold);
  border-radius:0 8px 8px 0;
  padding:18px 22px;
  margin:1.5em 0;
  color:var(--ink);
}

/* ---------- "A map." emphasis box ---------- */
.emphasis-box{
  text-align:center;
  border:1px solid var(--gold);
  background:var(--cream-deep);
  border-radius:10px;
  padding:14px 28px;
  margin:1.6em 0;
}

/* ---------- Dividers + footer ---------- */
.divider{
  width:64px; height:2px;
  background:var(--gold);
  margin:30px auto;
  opacity:.7;
}
footer{
  text-align:center;
  padding:28px 22px 40px;
  border-top:1px solid var(--line);
  color:var(--ink-soft);
  font-size:15px;
  font-style:italic;
  background:var(--white);
}

/* ---------- Responsive ---------- */
@media (max-width:560px){
  body{ font-size:19px; }
  h1{ font-size:29px; }
  h2{ font-size:25px; }
  .emphasis-line{ font-size:21px; }
  .btn{ font-size:19px; padding:15px 26px; width:100%; }
  .wrap{ padding:0 18px; }
}
