:root {
  color-scheme: light;
  --paper: #faf7fd;
  --ink: #30223f;
  --soft-ink: #604b6b;
  --violet: #5a3486;
  --lilac: #eee3f8;
  --line: #d9cbe4;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--violet); text-underline-offset: .23em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #60358e; outline-offset: 5px; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: #d9c5ed; }
button, a[href] { min-height: 44px; min-width: 44px; }
p { margin: .85rem 0 0; max-width: 66ch; }
h1, h2, h3 { font-weight: 500; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.55rem, 5.4vw, 4.8rem); letter-spacing: -.055em; max-width: 15ch; }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.8rem); letter-spacing: -.04em; max-width: 23ch; }
h3 { font-size: 1.27rem; letter-spacing: -.025em; }
strong { font-weight: 600; }
[data-label] { font-family: var(--mono); font-size: 16px; letter-spacing: -.02em; line-height: 1.45; color: var(--soft-ink); margin: 0 0 1rem; }
#skip { position: fixed; z-index: 10; top: 12px; left: 16px; padding: 12px 18px; background: var(--paper); border: 2px solid var(--violet); transform: translateY(-180%); }
#skip:focus { transform: none; }
#masthead, nav, main, body > footer { width: min(1280px, calc(100% - 40px)); margin-inline: auto; }
#masthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 24px 0 20px; border-bottom: 1px solid var(--line); }
#masthead > div { display: flex; align-items: center; gap: 12px; }
#masthead p { font-size: 16px; line-height: 1.35; margin: 0; }
#masthead p span { display: block; color: var(--soft-ink); font-family: var(--mono); margin-top: 3px; }
#masthead > p { display: none; }
#mark { display: block; width: 27px; height: 27px; flex: 0 0 27px; border: 1px solid var(--violet); border-radius: 50% 50% 8% 50%; transform: rotate(-45deg); background: #cbb2e5; }
nav { padding: 13px 0; }
nav ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0; padding: 0; margin: 0; font-family: var(--mono); font-size: 16px; }
nav li { display: flex; align-items: center; min-height: 44px; color: var(--soft-ink); }
nav li + li::before { content: "/"; padding-inline: 12px; color: #75637e; }
nav a { display: inline-flex; align-items: center; padding: 4px 6px 4px 0; }
main { padding-bottom: 52px; outline: none; }
#page-heading { border-top: 1px solid var(--line); padding: 38px 0 16px; }
#page-heading + p { font-size: 1.1rem; margin-bottom: 2rem; }
main > section:not(#opening):not(#kit), main > aside, main > p, main > dl { max-width: 760px; margin-inline: auto; }
main > #page-heading { max-width: 760px; margin-inline: auto; }
main > section:not(#opening):not(#kit) { margin-top: 2.7rem; }
main > section > p:first-of-type { margin-top: 1.05rem; }
main > p { margin-top: 1.1rem; }
main > section h2 { font-size: clamp(1.55rem, 2.9vw, 2.15rem); max-width: 27ch; }
[data-kind="question"] { border: 1px solid var(--line); border-left: 5px solid #9067b2; background: var(--lilac); border-radius: 0 24px 24px 24px; padding: 26px; margin-top: 2rem; }
[data-kind="question"] h3 { max-width: 33ch; font-size: 1.45rem; line-height: 1.22; }
[data-kind="question"] [data-label] { margin-bottom: 14px; color: #5e4473; }
[data-kind="question"] p:last-child { margin-top: 15px; }
[data-action] { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--ink); color: #fff8ff; padding: 17px 23px; border-radius: 36px; text-decoration: none; margin-top: 24px; font-size: 18px; }
[data-action] > span { font-size: 25px; }
[data-action]:hover { background: var(--violet); }
#opening { border-top: 1px solid var(--line); padding: 38px 0 42px; display: grid; align-items: center; gap: 36px; }
#opening h1 { font-size: clamp(2.45rem, 6.9vw, 5rem); max-width: none; }
#opening [data-lead] { font-size: clamp(1.7rem, 3.8vw, 2.7rem); line-height: 1.13; letter-spacing: -.04em; margin-top: 27px; }
#opening p:not([data-label]):not([data-lead]) { max-width: 44ch; }
#bloom { position: relative; aspect-ratio: 1; background: #ede0f8; border-radius: 50% 50% 5% 50%; overflow: hidden; width: min(100%, 460px); margin-inline: auto; border: 1px solid #dbcae8; }
#bloom::before { content: ""; position: absolute; inset: 9%; border: 1px solid #b091c9; border-radius: 50%; }
#bloom::after { content: ""; position: absolute; right: 8%; bottom: 8%; width: 9%; height: 9%; background: #abc2b0; border-radius: 50%; }
#bloom > div { position: absolute; inset: 0; }
#bloom i { position: absolute; display: block; width: 55%; height: 24%; left: 50%; top: 38%; border-radius: 100%; transform-origin: 0 50%; border: 1px solid #775398; background: #c9a9e7; opacity: .82; }
#bloom i:nth-child(1) { transform: rotate(22.5deg) scaleX(.78); }
#bloom i:nth-child(2) { transform: rotate(67.5deg) scaleX(.78); background: #ad88ca; }
#bloom i:nth-child(3) { transform: rotate(112.5deg) scaleX(.78); }
#bloom i:nth-child(4) { transform: rotate(157.5deg) scaleX(.78); background: #ad88ca; }
#bloom i:nth-child(5) { transform: rotate(202.5deg) scaleX(.78); }
#bloom i:nth-child(6) { transform: rotate(247.5deg) scaleX(.78); background: #ad88ca; }
#bloom i:nth-child(7) { transform: rotate(292.5deg) scaleX(.78); }
#bloom i:nth-child(8) { transform: rotate(337.5deg) scaleX(.78); background: #ad88ca; }
#bloom b { position: absolute; width: 23%; height: 23%; border-radius: 50%; background: #f9f4dd; border: 1px solid #b09980; left: 38.5%; top: 38.5%; }
#home-notes { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; display: grid; gap: 32px; }
#home-notes h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
#home-notes [data-kind="question"] { margin: 0; align-self: center; }
#kit { margin-top: 3rem; }
#kit > header p:not([data-label]) { margin-top: 1rem; }
#kit-pages { margin-top: 32px; border-top: 1px solid var(--line); }
#kit-pages a { display: grid; grid-template-columns: 30px 1fr 24px; gap: 12px; align-items: start; padding: 27px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
#kit-pages a:hover { background: #efe7f7; }
#kit-pages h3 { font-size: 1.25rem; line-height: 1.2; }
#kit-pages p { margin: 10px 0 0; font-size: 18px; line-height: 1.55; color: var(--soft-ink); max-width: 54ch; }
#kit-pages [data-letter] { font-family: var(--mono); font-size: 16px; color: var(--violet); padding-top: 2px; }
#kit-pages a > span:last-child { font-size: 24px; line-height: 1.1; }
[data-kind="pause"] { margin-top: 3rem; padding: 32px; background: #e5ece1; border-radius: 26px 26px 26px 0; }
[data-kind="pause"] h2 { font-size: 2rem; }
dl { border-top: 1px solid var(--line); margin: 24px 0 0; }
dt { font-weight: 600; margin-top: 22px; }
dd { margin: 6px 0 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); max-width: 66ch; }
[data-kind="next"] { display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 760px; margin: 42px auto 0; padding: 23px 25px; background: #e7d9f3; color: var(--ink); border: 1px solid #cdb7df; border-radius: 24px 24px 0 24px; text-decoration: none; }
[data-kind="next"] [data-label] { display: block; margin-bottom: 7px; }
[data-kind="next"] strong { font-size: 20px; line-height: 1.35; display: block; }
[data-kind="next"] > span:last-child { font-size: 28px; }
[data-kind="next"]:hover { background: #ddc9ed; }
[data-kind="sources"] { margin-top: 3rem; border-top: 2px solid #b294cb; border-bottom: 1px solid var(--line); padding: 26px 0; }
[data-kind="sources"] header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
[data-kind="sources"] [data-label] { margin-bottom: 10px; }
[data-kind="sources"] h2 { font-size: 1.65rem; }
[data-open-evidence], dialog button { border: 1px solid #b59bca; border-radius: 25px; padding: 11px 17px; background: var(--paper); font-size: 16px; min-height: 48px; }
[data-open-evidence]:hover, dialog button:hover { background: var(--lilac); }
#evidence-content ul { padding: 0; list-style: none; margin: 24px 0 0; }
#evidence-content li { margin: 0; padding: 18px 0; border-top: 1px solid var(--line); }
#evidence-content a { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 18px; min-height: 48px; }
#evidence-content li p { color: var(--soft-ink); font-size: 18px; margin-top: 5px; }
dialog { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100%, 620px); max-width: 100%; height: 100%; height: 100dvh; max-height: 100%; padding: 26px 24px; color: var(--ink); background: var(--paper); border: 0; border-left: 1px solid var(--line); overflow-y: auto; }
dialog::backdrop { background: rgb(31 18 44 / .48); }
dialog header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
dialog h2 { font-size: 1.65rem; max-width: 16ch; }
dialog > p { font-size: 18px; }
body:has(dialog[open]) { overflow: hidden; }
body > footer { border-top: 1px solid var(--line); padding: 32px 0 36px; display: grid; gap: 20px; }
body > footer > p { margin: 0; font-size: 18px; }
body > footer a { display: inline-flex; align-items: center; gap: 12px; justify-self: start; padding: 9px 0; font-size: 16px; }
body > footer [data-label] { font-size: 16px; overflow-wrap: anywhere; }
@media (min-width: 760px) {
  #masthead, nav, main, body > footer { width: min(1280px, calc(100% - 96px)); }
  #masthead { padding-block: 31px; }
  #masthead p span { display: inline; margin: 0 0 0 6px; }
  #masthead > p { display: block; }
  #opening { grid-template-columns: 1.2fr 1fr; gap: 36px; padding-block: 40px 64px; }
  #bloom { width: 100%; max-width: 460px; }
  #home-notes { grid-template-columns: 1.25fr 1fr; gap: 65px; padding-block: 48px; }
  #kit { display: grid; grid-template-columns: 1fr 1.55fr; gap: 64px; margin-top: 64px; }
  #kit-pages { margin-top: 0; }
  #kit > header { align-self: start; padding-top: 22px; }
  #kit h2 { font-size: 3.35rem; max-width: 8ch; }
  #kit-pages a { padding: 28px 18px; grid-template-columns: 36px 1fr 24px; gap: 20px; }
  #page-heading { padding-top: 52px; }
  [data-kind="question"] { padding: 32px 36px; }
  [data-kind="pause"] { padding: 40px; }
  main { padding-bottom: 70px; }
  body > footer { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 20px 60px; padding-block: 36px; }
  body > footer a { justify-self: end; }
  body > footer [data-label] { grid-column: 1 / -1; }
  dialog { padding: 38px; border-radius: 26px 0 0 26px; }
}
@media (prefers-reduced-motion: no-preference) {
  button, [data-action], [data-kind="next"], #kit-pages a { transition: background-color 130ms ease; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  :root { font-size: 16px; background: white; color: black; }
  #skip, #bloom, button, nav, [data-kind="next"], body > footer a { display: none !important; }
  #masthead, main, body > footer { width: 100%; }
  #opening, #kit, #home-notes { display: block; }
  #kit-pages a { break-inside: avoid; }
  aside, section { break-inside: avoid; }
  dialog:not([open]), dialog[open] { display: block; position: static; width: 100%; height: auto; max-height: none; padding: 0; border: 0; overflow: visible; }
  dialog header { display: none; }
  body:has(dialog[open]) { overflow: visible; }
  a { color: black; }
}
