:root {
  color-scheme: light;
  --paper: #faf8f3;
  --ink: #28213e;
  --soft-ink: #514662;
  --line: #ded7e8;
  --purple: #55338f;
  --lavender: #eee5ff;
  --peach: #ffd5c7;
  --butter: #fff0bb;
  --cream: #fffdf8;
  --display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--text); }
a { color: var(--purple); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #7857c7; outline-offset: 5px; border-radius: 3px; }
svg { display: block; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.08; letter-spacing: -.04em; }
p { margin-block: 0 1em; }
.site-width { width: min(1140px, calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; inset: .5rem auto auto .5rem; padding: .65rem .9rem; background: var(--cream); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.masthead { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: .65rem 2rem; }
.wordmark { display: inline-flex; gap: .62rem; align-items: center; color: var(--ink); text-decoration: none; font: 800 1.22rem/1 var(--display); letter-spacing: -.035em; }
.wordmark svg { flex: none; }
.masthead nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.7rem; }
.masthead nav a { color: var(--ink); text-decoration: none; font-weight: 650; font-size: .95rem; white-space: nowrap; }
.masthead nav a:hover, .masthead nav a[aria-current="page"] { color: var(--purple); text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: 2.65rem 2.85rem; }
.hero h1 { font-size: clamp(3.6rem, 7.6vw, 7.1rem); letter-spacing: -.072em; line-height: .93; }
.hero h1 span { display: block; color: var(--purple); }
.hero-copy p { max-width: 40ch; margin: 1.55rem 0 1.6rem; color: var(--soft-ink); font-size: clamp(1.06rem, 1.75vw, 1.2rem); }
.hero-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); padding: .65rem 1.15rem; border-radius: .6rem; color: white; background: var(--ink); font-weight: 700; font-size: .94rem; text-decoration: none; }
.button:hover { background: var(--purple); border-color: var(--purple); }
.button-outline { color: var(--ink); background: transparent; }
.button-outline:hover { color: var(--purple); background: var(--lavender); }
.hero-art { background: var(--lavender); border: 1px solid #e5d9f6; border-radius: 1.55rem; overflow: hidden; }
.hero-art svg { width: 100%; height: auto; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; margin-bottom: .9rem; }
.section-head h2, .home-details h2 { font-size: clamp(1.7rem, 3.5vw, 2.55rem); }
.section-head p, .checked { color: var(--soft-ink); font-size: .9rem; margin: 0; }
.shelf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.shelf-card { min-width: 0; display: flex; align-items: start; flex-direction: column; border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.2rem 1.25rem 1.1rem; background: var(--cream); }
.card-top { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: .5rem; margin-bottom: .85rem; }
.tile-icon { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: .6rem; background: var(--peach); }
.tile-icon svg { width: 24px; height: 24px; stroke: var(--ink); stroke-width: 1.55px; stroke-linecap: round; stroke-linejoin: round; }
.base .tile-icon { background: var(--butter); }
.gallery .tile-icon { background: var(--lavender); }
.card-label { color: var(--soft-ink); font-size: .82rem; font-weight: 700; }
.shelf-card h3 { font-size: clamp(1.3rem, 2.15vw, 1.72rem); }
.shelf-card h3 a { color: var(--ink); text-decoration: none; }
.shelf-card h3 a:hover { text-decoration: underline; }
.shelf-card p { color: var(--soft-ink); margin-block: .55rem .85rem; }
.card-link { margin-top: auto; font-weight: 700; }
.home-details { display: grid; grid-template-columns: 1.08fr 1fr; align-items: start; gap: clamp(1.6rem, 5vw, 5.2rem); margin-block: 3.7rem 4rem; }
.prose { overflow-wrap: anywhere; }
.prose h2 { font-size: clamp(1.55rem, 3vw, 2.24rem); margin-top: 1.85em; margin-bottom: .48em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin: 1.5em 0 .45em; }
.prose li + li { margin-top: .38em; }
.prose ul, .prose ol { padding-inline-start: 1.45em; margin-block: .85em 1.25em; }
.prose strong { color: var(--ink); }
.faq { margin: 0; padding: 1.35rem 1.55rem; border-radius: 1.1rem; background: var(--lavender); }
.faq h2 { margin: 0 0 .7rem; }
.faq details { border-top: 1px solid #d7c7ef; }
.faq summary { cursor: pointer; padding: .8rem 0; font-weight: 700; }
.faq details p { color: var(--soft-ink); margin-bottom: .8rem; }
.article-page { padding-block: 2.65rem 4.5rem; }
.article-head { padding: clamp(1.25rem, 5vw, 3.3rem); background: var(--lavender); border-radius: 1.45rem; }
.article-head h1 { max-width: 22ch; font-size: clamp(2.4rem, 6vw, 5rem); margin: .43em 0 .22em; letter-spacing: -.06em; }
.back-link { font-size: .9rem; font-weight: 750; }
.article-content { max-width: 730px; margin: 2rem auto 0; }
.article-content > p:first-child { font-size: 1.2rem; color: var(--soft-ink); line-height: 1.6; }
.article-content .faq { margin-top: 2.7rem; }
.article-content .faq h2 { margin-top: 0; }
.legal-page .article-head { background: #f0e9f9; }
.site-footer { border-top: 1px solid var(--line); background: #f2edf9; padding-block: 1.8rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 1rem 2.75rem; }
.footer-brand { color: var(--ink); font: 800 1.23rem/1.2 var(--display); text-decoration: none; }
.site-footer p { color: var(--soft-ink); font-size: .88rem; max-width: 51ch; margin: .42rem 0 0; }
.site-footer nav a { font-size: .91rem; }
@media (max-width: 800px) {
  .hero { gap: 1.35rem; }
  .shelf-grid { gap: .65rem; }
  .shelf-card { padding: .95rem; }
}
@media (max-width: 665px) {
  .site-width { width: calc(100% - 2rem); }
  .masthead { flex-wrap: wrap; padding-block: .65rem .82rem; }
  .masthead nav { gap: .45rem 1.2rem; }
  .hero { grid-template-columns: 1fr; padding-block: 1.7rem 2rem; }
  .hero h1 { font-size: clamp(3.4rem, 12.3vw, 5.6rem); }
  .hero-copy p { margin-block: .95rem 1.15rem; }
  .hero-art svg { margin-inline: auto; max-width: 395px; }
  .shelf-grid, .home-details { grid-template-columns: 1fr; }
  .home-details { gap: 1.55rem; margin-block: 2.4rem; }
  .faq { padding-inline: 1.15rem; }
  .article-page { padding-block: 1.4rem 3rem; }
}
@media (max-width: 350px) {
  .hero-links .button { width: 100%; }
}