:root {
  color-scheme: light;
  --paper: #fcf8ef;
  --ink: #25372c;
  --forest: #16382c;
  --line: #d9d1bf;
  --gold: #f1cf8c;
  --serif: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: #21543f; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid #985716; outline-offset: 4px; }
.skip-link { position: absolute; z-index: 12; top: 8px; left: 8px; padding: .8rem; background: white; }
.skip-link:not(:focus) { clip-path: inset(50%); }
.shell { width: min(100% - 36px, 1100px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.5rem, 7vw, 4.9rem); letter-spacing: -.05em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.65rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.5rem, 3vw, 1.95rem); }
p { line-height: 1.6; }
.plan-hero { color: var(--paper); background: radial-gradient(ellipse at 88% 20%, #3a5040, var(--forest) 70%); }
.hero-layout { display: grid; align-items: center; gap: 1.65rem; padding-block: clamp(2rem, 5vw, 4.15rem); }
.eyebrow, .duration { font-size: .77rem; font-weight: 720; letter-spacing: .11em; text-transform: uppercase; margin: 0 0 .65rem; }
.eyebrow, .plan-hero em { color: var(--gold); }
.plan-hero p:not(.eyebrow) { max-width: 46ch; }
.plan-hero figure { width: min(100%, 350px); margin: 0; }
.plan-hero img { display: block; width: 100%; height: auto; aspect-ratio: 1.35; object-fit: cover; object-position: center 42%; border-radius: 42% 42% 6px 6px / 19% 19% 6px 6px; }
.plan-hero figcaption { font-size: .76rem; padding: .45rem 0 0; }
.plan-hero figcaption a { color: #fff5dd; }
.plan-hero :focus-visible { outline-color: white; }
.button {
  display: inline-flex; gap: .65rem; align-items: center; justify-content: center;
  min-height: 48px; width: fit-content; padding: .55rem 1rem;
  color: white; background: var(--forest); border: 1px solid transparent; border-radius: 7px;
  font: 680 .97rem/1.3 system-ui, sans-serif; text-decoration: none; cursor: pointer; text-align: center;
}
.button:hover { background: #245540; }
.button-gold { color: #16291f; background: var(--gold); }
.button-gold:hover { background: #ffe1a9; }
.choices { padding-block: clamp(36px, 6vw, 68px) 1.2rem; }
.choices > p { margin: .6rem 0 1.4rem; }
.plan-list { display: grid; gap: 1rem; }
.plan-list article { display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 3px solid #86774b; background: #fffdf7; border-radius: 9px; padding: clamp(1rem, 3vw, 1.55rem); }
.plan-list article > p:not(.duration) { margin: .65rem 0; }
.plan-list article .estimate { font-size: .84rem; }
.plan-list article > .button { margin-top: auto; }
.saved-progress:not(:empty) { margin-block: 0 .8rem; }
.meter { display: block; width: 100%; height: .64rem; margin: .4rem 0; accent-color: #286347; }
.progress-label { font-size: .9rem; display: block; }
.daily { max-width: 720px; padding-top: clamp(1.4rem, 5vw, 3.7rem); }
.back { min-height: 44px; display: inline-flex; align-items: center; margin-bottom: .45rem; }
.daily h1 { font-size: clamp(2.25rem, 7vw, 4rem); }
.day-meta { margin: 1.2rem 0 .65rem; font-size: .92rem; }
.day-card { margin-top: 1.3rem; padding: clamp(1rem, 4vw, 2rem); background: #fffdf7; border: 1px solid var(--line); border-radius: 9px; }
.day-card p { margin: .7rem 0; }
.day-card .button { margin-top: .25rem; }
.reading-list { padding-left: 1.5rem; }
.reading-list li { padding: .13rem 0; }
.reading-list a { display: inline-flex; align-items: center; min-height: 44px; }
.question { margin-top: 1.05rem; padding: .85rem 1rem; border-inline-start: 3px solid #936941; background: #f0e6d5; }
.question h3 { font-size: 1.25rem; }
.question p { margin-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; margin-top: 1.15rem; }
.secondary { min-height: 44px; padding: .4rem .55rem; border: 0; background: transparent; color: #21543f; text-decoration: underline; font: inherit; cursor: pointer; }
#plan-status { margin: .7rem 0; }
.storage-note { font-size: .86rem; margin-block: .9rem 1.2rem; }
.plan-footer { display: flex; flex-wrap: wrap; gap: 0 1rem; border-top: 1px solid var(--line); padding-block: .35rem; font-size: .87rem; }
.plan-footer a { display: inline-flex; min-height: 44px; align-items: center; }
@media (min-width: 740px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 350px); }
  .plan-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (forced-colors: active) { .button { border-color: ButtonText; } }
