:root {
  color-scheme: light;
  --ink: #1d1732;
  --muted: #544b69;
  --purple: #5635af;
  --lilac: #eee8ff;
  --peach: #fff0df;
  --line: #dad3e9;
  --paper: #fdfbff;
  font: 100%/1.65 system-ui, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: var(--purple); text-underline-offset: .19em; }
:focus-visible { outline: 3px solid #7852d4; outline-offset: 4px; }
p { color: var(--muted); }
h1, h2, h3 { letter-spacing: -.047em; line-height: 1.06; }
h1 { font-size: clamp(3rem, 7vw, 6.3rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.43rem; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: .5rem; padding: .55rem .9rem; background: white; transform: translateY(-180%); z-index: 2; }
.skip:focus { transform: none; }
header { border-bottom: 1px solid var(--line); }
.top, .foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.top { min-height: 74px; padding-block: .6rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-size: 1.32rem; font-weight: 800; text-decoration: none; letter-spacing: -.055em; }
.logo span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: .48rem; background: var(--purple); color: white; font-weight: 750; }
nav { display: flex; flex-wrap: wrap; gap: .45rem 1.4rem; }
nav a { color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 650; }
nav a:hover { text-decoration: underline; }
.hero { background: linear-gradient(108deg, #f3edff, #faf5ff 62%, #fff2e3); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(2rem, 5vw, 4.6rem); padding-block: clamp(3rem, 7vw, 6rem); }
.tag { color: var(--purple); font-size: .73rem; text-transform: uppercase; font-weight: 800; letter-spacing: .14em; margin-bottom: .85rem; }
h1 em { color: var(--purple); font-family: Georgia, serif; font-weight: 500; }
.lead { margin-top: 1.2rem; font-size: clamp(1.1rem, 2vw, 1.27rem); max-width: 46rem; }
.button { display: inline-flex; gap: .9rem; align-items: center; width: fit-content; border-radius: .45rem; padding: .77rem 1.1rem; color: white; background: var(--purple); text-decoration: none; font-weight: 750; font-size: .94rem; }
.button:hover { background: #41248f; }
.hero .button { margin-top: 1.55rem; }
.feature-photo { overflow: hidden; border-radius: .8rem; background: #281d42; box-shadow: 0 12px 30px #23113a1a; }
.feature-photo img, .card img { display: block; width: 100%; object-fit: cover; background: var(--lilac); }
.feature-photo img { aspect-ratio: 1.32; }
.feature-photo figcaption { padding: .6rem .9rem; font-size: .7rem; font-weight: 750; letter-spacing: .08em; color: #f0eaff; }
.task-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 2rem; padding-block: clamp(2.6rem, 6vw, 5rem); }
.task-grid h2 + p { margin-top: .6rem; }
.tasks details { border-bottom: 1px solid var(--line); padding: .86rem 0; }
.tasks details:first-child { border-top: 1px solid var(--line); }
.tasks summary { cursor: pointer; font-weight: 750; }
.tasks summary::marker { color: var(--purple); }
.tasks details p { margin: .7rem 0 .4rem; }
.tasks details a { font-weight: 650; }
.collection { padding-block: clamp(2.5rem, 5vw, 4.25rem); border-top: 1px solid var(--line); }
.alt { background: #f3effb; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: .75rem 2rem; margin-bottom: 1.45rem; }
.section-head > p { max-width: 31rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.card { border: 1px solid var(--line); border-radius: .66rem; background: white; overflow: clip; }
.card > a { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.card > a:focus-visible { outline-offset: -4px; }
.card img { aspect-ratio: 1.75; }
.card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: .72rem; padding: 1.2rem; }
.card > a:hover h3 { text-decoration: underline; text-underline-offset: .13em; }
.glyph { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; border-radius: .47rem; background: var(--lilac); color: var(--purple); font-size: 1.2rem; }
.more { margin-top: auto; color: var(--purple); font-size: .9rem; font-weight: 750; }
.bottom-call { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--peach); border-radius: .7rem; padding: 1.4rem; margin-block: 1.4rem 3.2rem; }
.bottom-call h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.bottom-call .button { flex-shrink: 0; }
footer { border-top: 1px solid var(--line); background: #f3effb; padding-block: 2rem; }
.foot p { margin-top: .5rem; font-size: .9rem; }
.foot { align-items: flex-start; }
address { color: var(--muted); font-style: normal; }
address span { display: block; }
address span:first-child { font-weight: 750; color: var(--ink); }
.foot address { font-size: .88rem; max-width: 22rem; }
.document address { padding: .85rem 1.05rem; margin-block: .6rem 1rem; background: var(--lilac); border-radius: .5rem; }
.article-hero { background: var(--lilac); padding-block: clamp(2.4rem, 5vw, 4.4rem); }
.article-hero-grid { display: grid; grid-template-columns: 1.17fr .83fr; align-items: center; gap: clamp(1.5rem, 5vw, 4.25rem); }
.article-hero .feature-photo img { aspect-ratio: 1.57; }
.article-width { max-width: 930px; }
.article-hero h1, .document h1 { font-size: clamp(2.5rem, 6vw, 5.25rem); }
.back { display: inline-block; margin-bottom: 1.2rem; font-size: .89rem; font-weight: 700; }
.byline { margin-top: .85rem; font-size: .9rem; }
.review-note { display: flex; gap: .4rem 1.15rem; align-items: baseline; background: var(--peach); padding: .85rem 1.05rem; border-radius: .55rem; margin-top: 1.3rem; }
.review-note strong { flex-shrink: 0; }
.article-grid { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 46rem); gap: clamp(1.5rem, 5vw, 4rem); padding-block: clamp(2rem, 5vw, 4.3rem); }
.toc { border-top: 2px solid var(--purple); padding-top: .85rem; }
.toc ol, .prose ul { padding-left: 1.25rem; }
.toc ol { margin: 0; font-size: .91rem; }
.toc li + li { margin-top: .4rem; }
.prose h2 { font-size: clamp(1.55rem, 2.65vw, 2.18rem); margin-bottom: .55rem; }
.prose section + section, .document h2 { margin-top: 1.7rem; }
.prose p { overflow-wrap: anywhere; }
.prose code { background: var(--lilac); padding: .1rem .25rem; }
.document { padding-block: clamp(2.8rem, 6vw, 5rem); }
@media (max-width: 780px) {
  .wrap { width: calc(100% - 40px); }
  .hero-grid, .task-grid, .article-grid, .article-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head, .bottom-call, .foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 500px) {
  .top, .review-note { flex-direction: column; align-items: flex-start; }
  nav { column-gap: 1rem; }
}
