:root{font-family:system-ui,sans-serif;color:#172d29;background:#fffdf7;line-height:1.55;--green:#173e34;--line:#d9ddd1;--yellow:#ffdf73}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-underline-offset:3px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8c4ba9;outline-offset:3px}.wrap{width:min(1080px,calc(100% - 32px));margin-inline:auto}header{background:#fff8e5;border-bottom:1px solid #f0e0b9}.bar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:72px}.brand{display:flex;align-items:center;gap:8px;text-decoration:none;font-weight:800}.brand img{border-radius:10px}.brand span{color:#375f54}.tabs{display:flex;gap:8px;padding-block:14px;flex-wrap:wrap}.tabs a{font-weight:700;text-decoration:none;padding:8px 12px;border-radius:12px}.tabs a[aria-current=page]{background:var(--green);color:white}.hero,.heading{background:var(--yellow);padding:clamp(22px,4vw,48px);border-radius:24px}.hero{display:grid;grid-template-columns:1fr .76fr;gap:26px;align-items:center}.hero figure{margin:0}.hero img{width:100%;height:auto;display:block;border-radius:14px}.hero figcaption{font-size:.8rem;margin-top:5px}h1,h2,h3{line-height:1.12;margin:0 0 .5em}h1,h2{font-family:Georgia,serif}h1{font-size:clamp(2.25rem,5vw,4rem);letter-spacing:-.04em}h2{font-size:clamp(1.7rem,3vw,2.3rem)}h3{font-size:1.26rem}p{margin:.5em 0 1em}section>h2{margin-top:28px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cards article,.cards form,.resources>a,.document{border:1px solid var(--line);padding:clamp(16px,3vw,24px);border-radius:16px;background:white}.cards article{display:flex;flex-direction:column;align-items:flex-start}.cards article .button{margin-top:auto}.cards article ul{padding-left:22px;margin-top:0}.cards article li{margin-bottom:7px}.price{color:var(--green);font-size:1.28rem;font-weight:850}.note{font-size:.88rem;color:#445b52}.button,.secondary{font:inherit;font-weight:750;text-decoration:none;border-radius:9px;padding:9px 13px;display:inline-block;cursor:pointer}.button{background:var(--green);color:white;border:1px solid var(--green)}.secondary{background:white;color:var(--green);border:1px solid #6e8e80}.resources a{display:grid;gap:5px}.resources span{color:#40574e}.document,.plan{margin-top:18px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}label{display:grid;gap:5px;margin-bottom:10px;font-weight:650}input,select,textarea{width:100%;min-width:0;padding:9px 10px;border:1px solid #839990;border-radius:8px;font:inherit;color:inherit;background:white}footer{margin-top:26px;padding-block:20px;border-top:1px solid var(--line);font-size:.9rem}dialog{border:1px solid var(--line);border-radius:16px;padding:22px;width:min(460px,calc(100% - 24px));color:inherit}dialog::backdrop{background:#10271f91}[hidden]{display:none!important}@media(max-width:690px){.cards,.hero{grid-template-columns:1fr}.hero img{max-height:245px;object-fit:cover}.brand{flex-wrap:wrap;gap:3px 6px}.brand span{font-size:.8rem}.bar>.secondary{font-size:.75rem}.tabs{gap:3px}.tabs a{font-size:.84rem;padding-inline:9px}}

/* Creative Hats Press school palette */
:root {
  color: #28112d;
  background: #fff8ee;
  --green: #173b87;
  --line: #dfd1e2;
}
header { background: #fce2ef; border-color: #f2b9d7; }
.brand span { color: #632596; }
.tabs { justify-content: center; }
.tabs a { background: #ede0fa; text-align: center; }
.tabs a:nth-child(2) { background: #dbefb7; }
.tabs a:nth-child(3) { background: #ffd9bd; }
.tabs a[aria-current=page], .button {
  background: var(--green);
  color: white;
}
.hero { background: #ead8fa; border-top: 6px solid #7829b5; }
.heading { background: #ffe1c9; border-top: 6px solid #f26422; }
#policies .heading { background: #e3f1c7; border-color: #54802c; }
.cards article:nth-child(4n+1), .resources a:nth-child(4n+1) { background: #e2ebff; border-top: 4px solid #2462c8; }
.cards article:nth-child(4n+2), .resources a:nth-child(4n+2) { background: #ffe3ef; border-top: 4px solid #cc3379; }
.cards article:nth-child(4n+3), .resources a:nth-child(4n+3) { background: #ffe6d3; border-top: 4px solid #f26422; }
.cards article:nth-child(4n+4), .resources a:nth-child(4n+4) { background: #e3f1c7; border-top: 4px solid #54802c; }
.document { background: #f0e4fa; }
.secondary { border-color: #65518d; }
.hero .button, .document .button, .plan form > .button {
  display: table;
  margin-inline: auto;
}
.cards article .button { align-self: center; }
.button { text-align: center; }
.button:hover { background: #102b67; }

.hero figure { position: relative; }
.hero-covers {
  position: absolute;
  top: 8%;
  left: 4%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 8px 4px;
  width: 35%;
  max-width: 142px;
  pointer-events: none;
}
.hero-covers img {
  width: 100%;
  height: auto;
  border: 2px solid #fff8ee;
  border-radius: 4px;
  box-shadow: 0 3px 9px #28112d70;
  transform: rotate(-7deg);
}
.hero-covers img:nth-child(even) { margin-top: 10px; transform: rotate(6deg); }
.hero-covers img:nth-child(n + 3) { translate: 70% 0; }
@media (max-width: 690px) {
  .hero figure > img:first-child { object-position: center 30%; }
  .hero-covers { top: 10px; max-width: 105px; }
}
