:root {
  --ink: #17352f;
  --green: #29665e;
  --paper: #faf8f2;
  --rule: #b9c8bd;
  font: 100%/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: auto; width: min(100% - 3rem, 76rem); }
header, footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; }
header { border-bottom: 1px solid var(--rule); }
a { color: var(--green); text-underline-offset: .25em; }
header a { display: inline-flex; min-height: 44px; align-items: center; }
.brand { gap: .65rem; color: var(--ink); font: bold 1.7rem Georgia, serif; text-decoration: none; }
.brand img { width: 2.65rem; height: 2.65rem; border-radius: 22%; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5%; padding: 4rem 0; }
.eyebrow, small { font-size: .85rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { font-family: ui-serif, Georgia, serif; font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(3.5rem, 6.3vw, 6.1rem); line-height: .99; letter-spacing: -.055em; margin: .26em 0; }
h1 em { display: block; color: var(--green); }
h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.08; letter-spacing: -.045em; margin: .25em 0; }
p { max-width: 65ch; }
.intro > p:not(.eyebrow) { max-width: 37ch; font-size: 1.2rem; }
.button { display: inline-block; background: var(--ink); color: var(--paper); border-radius: .35rem; padding: .8rem 1.4rem; margin-top: .6rem; }
.cover { background: var(--ink); aspect-ratio: 1.25; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.leaf { width: 34%; height: 65%; padding: 6% 4%; font: italic clamp(1.3rem, 2.4vw, 2.3rem)/1.1 Georgia, serif; box-shadow: 0 12px 22px #081c1840; }
.sage { background: #a7cdbb; transform: rotate(-9deg) translateY(5%); }
.paper { background: linear-gradient(90deg, transparent 8%, var(--green) 8% 9%, transparent 9%), var(--paper); transform: rotate(7deg) translateY(-4%); padding-inline-start: 6%; }
main > section + section { border-top: 1px solid var(--rule); padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
fieldset { position: relative; margin: 2rem 0 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: .4rem; font-weight: 600; }
input { position: absolute; opacity: 0; }
label { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1rem; border-radius: .3rem; cursor: pointer; }
input:checked + label { background: var(--ink); color: white; }
input:focus-visible + label, a:focus-visible { outline: 3px solid #45877b; outline-offset: 3px; }
.spread { margin-top: 1rem; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); background: var(--paper); color: #253c37; }
article { padding: clamp(1.5rem, 4vw, 3.5rem); }
article + article { border-inline-start: 1px solid var(--rule); }
h3 { font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.1; margin: .5em 0; }
ul { padding-inline-start: 1.3rem; }
#sepia:checked ~ .spread { background: #efe2c6; color: #493b2c; }
#night:checked ~ .spread { background: #172321; color: #e5eae2; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; }
.requirement, footer { font-size: .95rem; }
footer { border-top: 1px solid var(--rule); }
@media (max-width: 44rem) {
  body { width: calc(100% - 2.25rem); }
  .hero, .details, .spread { grid-template-columns: 1fr; }
  .hero { gap: 2rem; padding: 2rem 0; }
  .cover { aspect-ratio: 1.75; }
  .details { gap: 1.5rem; }
  article + article { border-inline-start: 0; border-top: 1px solid var(--rule); }
}
