:root {
  --navy-950: #050d1d;
  --navy-900: #07152f;
  --navy-800: #0b2246;
  --gold-500: #d9ad4b;
  --gold-400: #edca72;
  --gold-200: #f7e8b7;
  --cream-100: #fbf6e9;
  --cream-50: #fffdf8;
  --paper: #ffffff;
  --ink: #1d2634;
  --muted: #5b6470;
  --green: #286548;
  --line: #e6dcc5;
  --shadow: 0 18px 50px rgba(34, 29, 19, .10);
  --radius-lg: 26px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-50);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed; z-index: 2000; top: 12px; left: 12px;
  padding: 12px 16px; border-radius: 10px; color: #fff;
  background: var(--navy-900); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(100% - 36px, 1040px); margin-inline: auto; }
.reading-width { max-width: 790px; }

.access-bar {
  display: flex; min-height: 46px; align-items: center; justify-content: center;
  gap: 10px; padding: 9px 18px; color: #fff; background: var(--navy-950);
  font-size: 15px; font-weight: 700; text-align: center;
}
.access-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #56d395;
  box-shadow: 0 0 0 5px rgba(86, 211, 149, .15);
}
.hero {
  position: relative; overflow: hidden; padding: 66px 0 72px; color: #fff;
  background: radial-gradient(circle at 50% 16%, rgba(240, 194, 92, .23), transparent 29rem),
    linear-gradient(145deg, var(--navy-900), var(--navy-950));
  text-align: center;
}
.hero::before, .hero::after {
  position: absolute; width: 380px; height: 380px;
  border: 1px solid rgba(237, 202, 114, .15); border-radius: 50%; content: '';
}
.hero::before { top: -250px; left: -100px; }
.hero::after { right: -160px; bottom: -260px; }
.hero-content { position: relative; z-index: 1; }
.book-mark {
  display: grid; width: 84px; height: 100px; margin: 0 auto 22px; place-items: center;
  border: 2px solid rgba(247, 232, 183, .7); border-radius: 8px 16px 16px 8px;
  color: var(--gold-400); background: linear-gradient(145deg, #53331f, #2d1a12);
  box-shadow: 0 15px 35px rgba(0, 0, 0, .35), inset 5px 0 0 rgba(255,255,255,.05);
}
.book-cross { font-size: 42px; line-height: 1; }
.eyebrow, .section-kicker, .bonus-label, .day-theme {
  margin: 0 0 10px; color: #9a711c; font-size: 14px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
.hero .eyebrow { color: var(--gold-400); }
h1, h2, h3, h4, p { overflow-wrap: break-word; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; text-wrap: balance; }
h1 {
  margin: 0; color: #fff8dc; font-size: clamp(48px, 9vw, 80px); line-height: 1.02;
  letter-spacing: -.035em; text-shadow: 0 4px 22px rgba(218, 173, 75, .2);
}
h2 { margin: 0 0 18px; font-size: clamp(36px, 6vw, 54px); line-height: 1.12; letter-spacing: -.025em; }
h3 { margin: 0; font-size: clamp(27px, 4vw, 36px); line-height: 1.22; }
h4 { margin: 28px 0 7px; color: var(--navy-800); font-size: 20px; line-height: 1.35; }
p { margin: 0 0 18px; }
.hero-lead {
  max-width: 760px; margin: 22px auto 26px; color: #e9edf4;
  font-size: clamp(20px, 3vw, 24px); line-height: 1.55;
}
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 30px; }
.hero-facts span {
  padding: 8px 14px; border: 1px solid rgba(247, 232, 183, .3); border-radius: 999px;
  color: var(--gold-200); background: rgba(255,255,255,.05); font-size: 15px; font-weight: 700;
}
.button {
  display: inline-flex; min-height: 56px; align-items: center; justify-content: center;
  padding: 14px 26px; border: 2px solid transparent; border-radius: 14px;
  text-decoration: none; font-weight: 800; line-height: 1.2; cursor: pointer;
}
.button-primary {
  color: #172033; background: linear-gradient(180deg, #f3d582, var(--gold-500));
  box-shadow: 0 12px 28px rgba(217, 173, 75, .22);
}
.button-primary:hover { background: #f4da91; }
.button-primary:focus-visible, .button-secondary:focus-visible, .complete-button:focus-visible, .reset-button:focus-visible {
  outline: 4px solid #62a8ff; outline-offset: 3px;
}
.scroll-help { margin: 18px 0 0; color: #b9c2d1; font-size: 15px; }
.section { padding: 76px 0; }
.section-light { background: var(--cream-50); }
.section-cream { background: var(--cream-100); }
.section-night { color: #fff; background: var(--navy-900); }
.section-heading { margin-bottom: 36px; text-align: center; }
.section-intro { color: var(--muted); font-size: 21px; }
.section-night .section-intro { color: #c9d1de; }
.section-kicker-gold { color: var(--gold-400); }
.simple-steps { display: grid; gap: 14px; margin: 32px 0; }
.simple-step {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff;
}
.step-number {
  display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%;
  color: #fff; background: var(--navy-800); font-weight: 800;
}
.simple-step h3 { margin-bottom: 2px; font-family: Arial, Helvetica, sans-serif; font-size: 21px; }
.simple-step p { margin: 0; color: var(--muted); font-size: 17px; }
.important-note {
  padding: 26px 28px; border-left: 6px solid var(--gold-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0; background: #fff5d9;
}
.important-note h3 { margin-bottom: 8px; font-family: Arial, Helvetica, sans-serif; font-size: 21px; }
.important-note p { margin: 0; font-size: 17px; }

.progress-card {
  display: grid; grid-template-columns: minmax(220px, .7fr) 1fr; gap: 28px; align-items: center;
  max-width: 900px; margin: 0 auto 26px; padding: 22px 26px; border: 1px solid #dacbaa;
  border-radius: var(--radius-md); background: #fff; box-shadow: 0 8px 28px rgba(45, 35, 15, .06);
}
.progress-card strong { display: block; color: var(--navy-800); font-size: 19px; }
.progress-card span { color: var(--muted); font-size: 14px; }
.progress-track { overflow: hidden; height: 14px; border-radius: 999px; background: #e8e2d7; }
.progress-track span {
  display: block; width: 0; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #b88625, #e3bd5c); transition: width .25s ease;
}
.days { display: grid; gap: 28px; }
.day-card {
  overflow: hidden; max-width: 900px; margin-inline: auto; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow);
}
.day-card.is-complete { border-color: #76a78b; }
.day-heading {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
  padding: 27px 32px; color: #fff; background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
}
.day-label {
  display: grid; width: 72px; height: 72px; place-items: center; border: 2px solid rgba(237,202,114,.5);
  border-radius: 50%; color: var(--gold-200); font-size: 16px; font-weight: 800;
}
.day-theme { margin-bottom: 2px; color: var(--gold-400); font-size: 12px; }
.day-heading h3 { font-size: clamp(26px, 4vw, 34px); }
.day-content { padding: clamp(25px, 5vw, 42px); }
.inspiration {
  padding: 20px 22px; border-left: 5px solid var(--gold-500);
  border-radius: 0 14px 14px 0; background: #fff8e6;
}
.inspiration span {
  display: block; margin-bottom: 5px; color: #8b6417; font-size: 13px;
  font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.inspiration p {
  margin: 0; color: #493f2e; font-family: Georgia, 'Times New Roman', serif;
  font-size: 21px; font-style: italic; line-height: 1.55;
}
.prayer {
  padding-left: 18px; border-left: 3px solid #c6ac70; color: #3e4754;
  font-family: Georgia, 'Times New Roman', serif; font-size: 20px; font-style: italic;
}
.today-action {
  margin: 28px 0 24px; padding: 22px; border: 1px solid #cadfcf;
  border-radius: var(--radius-md); background: #f1f8f3;
}
.today-action strong {
  display: block; margin-bottom: 4px; color: var(--green); font-size: 15px;
  letter-spacing: .08em; text-transform: uppercase;
}
.today-action p { margin: 0; }
.complete-button {
  display: flex; width: 100%; min-height: 58px; align-items: center; justify-content: center;
  gap: 10px; padding: 13px 18px; border: 2px solid var(--navy-800); border-radius: 14px;
  color: var(--navy-800); background: #fff; font-size: 17px; font-weight: 800; cursor: pointer;
}
.complete-button:hover { background: #f1f5fa; }
.complete-button .check { display: none; }
.complete-button[aria-pressed="true"] { border-color: var(--green); color: #fff; background: var(--green); }
.complete-button[aria-pressed="true"] .check { display: inline; }

.bonus-list { display: grid; gap: 28px; }
.bonus-card {
  display: grid; grid-template-columns: 100px 1fr; overflow: hidden; max-width: 940px;
  margin-inline: auto; border: 1px solid rgba(237,202,114,.3);
  border-radius: var(--radius-lg); background: rgba(255,255,255,.06);
}
.bonus-number {
  display: flex; align-items: flex-start; justify-content: center; padding-top: 34px;
  color: var(--gold-400); background: rgba(0,0,0,.16);
  font-family: Georgia, 'Times New Roman', serif; font-size: 34px;
}
.bonus-content { padding: clamp(28px, 5vw, 46px); }
.bonus-label { color: var(--gold-400); }
.bonus-lead { margin-top: 12px; color: #d8dee8; font-size: 20px; }
.bonus-practice {
  margin: 28px 0; padding: 23px 26px; border-radius: var(--radius-md);
  color: var(--ink); background: #fff;
}
.bonus-practice h4 { margin-top: 0; }
.bonus-practice ol { margin: 10px 0 0; padding-left: 25px; }
.bonus-practice li { margin-bottom: 10px; padding-left: 5px; }
blockquote {
  margin: 26px 0; padding: 24px 26px; border-left: 5px solid var(--gold-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0; color: #fff7dd;
  background: rgba(0,0,0,.2); font-family: Georgia, 'Times New Roman', serif;
  font-size: 21px; font-style: italic;
}
.gentle-note { margin-bottom: 0; color: #bfc8d6; font-size: 15px; }
.three-pillars { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.three-pillars span {
  padding: 9px 18px; border: 1px solid rgba(237,202,114,.45); border-radius: 999px;
  color: var(--gold-200); font-weight: 700;
}
.dark-action { border-color: rgba(118,167,139,.4); color: #fff; background: rgba(40,101,72,.24); }
.dark-action strong { color: #9ee0bb; }
.night-words { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin: 28px 0; }
.night-words div {
  padding: 22px 17px; border: 1px solid rgba(237,202,114,.28);
  border-radius: var(--radius-md); background: rgba(255,255,255,.06); text-align: center;
}
.night-words span {
  display: grid; width: 34px; height: 34px; margin: 0 auto 10px; place-items: center;
  border-radius: 50%; color: var(--navy-900); background: var(--gold-400);
  font-size: 14px; font-weight: 800;
}
.night-words strong { display: block; color: var(--gold-200); font-size: 20px; }
.night-words p { margin: 6px 0 0; color: #cbd3df; font-size: 15px; line-height: 1.5; }

.final-section { text-align: center; }
.final-mark { margin-bottom: 12px; color: var(--gold-500); font-size: 44px; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.button-secondary { border-color: var(--navy-800); color: var(--navy-800); background: #fff; }
.reset-button {
  margin-top: 25px; padding: 10px; border: 0; color: #66717e; background: transparent;
  font-size: 14px; text-decoration: underline; cursor: pointer;
}
footer {
  padding: 42px 0; color: #b9c2cf; background: var(--navy-950);
  text-align: center; font-size: 14px;
}
footer strong { color: var(--gold-200); font-size: 18px; }
footer p { margin: 6px 0; }
.copyright { margin-top: 16px; color: #8e99a9; }
.toast {
  position: fixed; z-index: 1000; right: 18px; bottom: 18px;
  max-width: min(380px, calc(100% - 36px)); padding: 14px 18px; border-radius: 12px;
  color: #fff; background: var(--green); box-shadow: 0 12px 35px rgba(0,0,0,.25);
  font-size: 16px; font-weight: 700; opacity: 0; pointer-events: none;
  transform: translateY(12px); transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 720px) {
  body { font-size: 18px; }
  .shell { width: min(100% - 24px, 1040px); }
  .hero { padding: 50px 0 58px; }
  .section { padding: 58px 0; }
  .hero-facts { display: grid; }
  .progress-card { grid-template-columns: 1fr; gap: 14px; }
  .day-heading { grid-template-columns: 1fr; padding: 24px; }
  .day-label { width: auto; height: auto; justify-self: start; padding: 7px 13px; border-radius: 999px; }
  .bonus-card { grid-template-columns: 1fr; }
  .bonus-number { justify-content: flex-start; padding: 18px 24px; font-size: 24px; }
  .night-words { grid-template-columns: 1fr; }
  .final-actions { display: grid; }
  .button { width: 100%; }
  .toast { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
@media print {
  @page { margin: 16mm; }
  body { color: #111; background: #fff; font-size: 12pt; }
  .access-bar, .hero .button, .scroll-help, .progress-card, .complete-button,
  .final-actions, .reset-button, .toast, .skip-link { display: none !important; }
  .hero, .section-night { color: #111; background: #fff; }
  .hero { padding: 20px 0 30px; }
  .hero-lead, .section-night .section-intro, .bonus-lead, .gentle-note, .night-words p { color: #333; }
  .hero-facts span, .three-pillars span { color: #111; border-color: #777; }
  h1, .hero .eyebrow, .section-kicker-gold, .bonus-label { color: #111; text-shadow: none; }
  .section { padding: 24px 0; }
  .day-card, .bonus-card { break-inside: avoid; border: 1px solid #888; box-shadow: none; }
  .day-heading, .bonus-number { color: #111; background: #eee; }
  .day-label, .day-theme, .bonus-number, .night-words strong { color: #111; border-color: #777; }
  .bonus-card { grid-template-columns: 70px 1fr; }
  .bonus-practice, .night-words div { color: #111; background: #fff; border-color: #aaa; }
  blockquote, .dark-action { color: #111; background: #f5f5f5; }
  footer { color: #333; background: #fff; border-top: 1px solid #aaa; }
  footer strong { color: #111; }
}
