:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #201c30;
  background: #f7f6fb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #6241a1; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: #45217a; }
a:focus-visible { outline: 3px solid #7046f4; outline-offset: 4px; border-radius: 2px; }
.skip-link { position: absolute; top: .5rem; left: 1rem; z-index: 1; padding: .7rem 1rem; background: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header, main, .site-footer { width: min(100% - 3rem, 900px); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1.8rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: #201c30; text-decoration: none; }
.brand img { flex: 0 0 auto; width: 46px; height: 46px; }
.wordmark { display: block; font-size: 1.375rem; font-weight: 800; line-height: 1.2; letter-spacing: -1px; }
.wordmark span { color: #8d75b3; font-weight: 650; }
.tagline { display: block; margin-top: .3rem; color: #756b81; font-size: .5625rem; font-weight: 650; letter-spacing: .09em; line-height: 1.5; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 600; }
main { margin-block: 1rem 3rem; }
article { padding: clamp(1.3rem, 5vw, 3.25rem); border: 1px solid #e7e1ed; border-radius: 24px; background: #fff; box-shadow: 0 20px 65px #21172c06; }
.eyebrow { margin: 0 0 .8rem; color: #746480; font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); font-weight: 750; letter-spacing: -.045em; line-height: 1.12; }
.date { margin-block: .9rem 1.5rem; color: #746b81; font-size: .875rem; }
.intro { padding: 1rem 1.2rem; border-left: 3px solid #ad92ed; border-radius: 0 10px 10px 0; background: #f7f3fd; color: #49385d; }
h2 { margin: 2rem 0 .55rem; font-size: 1.15rem; font-weight: 700; line-height: 1.4; letter-spacing: -.015em; }
p, li { font-size: 1rem; line-height: 1.75; }
p { margin-block: .65rem; }
article a { overflow-wrap: anywhere; }
.related { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid #e7e1ed; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 0 2rem; color: #746b81; font-size: .8rem; line-height: 1.6; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer > span { align-self: center; }

@media (max-width: 540px) {
  .site-header, main, .site-footer { width: calc(100% - 2rem); }
  .site-header { gap: .6rem; padding-block: 1.2rem .75rem; }
  .brand { width: 100%; gap: .55rem; }
  .brand img { width: 42px; height: 42px; }
  main { margin-top: .5rem; }
  article { border-radius: 18px; }
  .intro { padding: .85rem 1rem; }
  .site-footer { flex-direction: column; }
  .site-footer > span { align-self: start; }
}

@media print {
  :root, article { background: #fff; color: #000; }
  .site-header, main, .site-footer { width: 100%; }
  .skip-link, .back-link, .site-footer nav { display: none; }
  article { padding: 0; border: 0; box-shadow: none; }
  h2 { break-after: avoid; }
  a { color: inherit; }
}
