:root {
  color-scheme: light dark;
  --paper: #fbf8f5;
  --ink: #241827;
  --muted: #64566a;
  --plum: #682a68;
  --line: #ded4df;
  --panel: #f4edf3;
  --code: #211522;
  --code-text: #f6eaf6;
  font: 1rem/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1a0a1a;
    --ink: #f7edf4;
    --muted: #d8c6df;
    --plum: #f0b9f0;
    --line: #694a6d;
    --panel: #341534;
    --code: #241227;
    --code-text: #f7edf4;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
.frame { width: min(69rem, calc(100% - 2.5rem)); margin-inline: auto; }
a { color: var(--plum); text-underline-offset: .2em; text-decoration-thickness: .09em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: .17rem solid var(--plum); outline-offset: .2rem; }
.skip { position: absolute; inset: .5rem auto auto .5rem; padding: .6rem .9rem; background: var(--paper); transform: translateY(-180%); }
.skip:focus { transform: none; z-index: 2; }
.masthead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; min-height: 4.5rem; border-bottom: 1px solid var(--line); }
.brand, nav { display: flex; align-items: center; gap: .7rem 1.2rem; }
.brand { font-weight: 750; letter-spacing: -.025em; }
.brand img { display: block; border-radius: 6px; }
nav { flex-wrap: wrap; font-size: .9rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
.intro { padding-block: clamp(2rem, 7vw, 6rem) 2.75rem; border-bottom: 1px solid var(--line); }
.eyebrow, .label { margin: 0; color: var(--plum); font-size: .79rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.04em; line-height: 1.09; }
h1 { font-size: clamp(2.65rem, 7.2vw, 5.6rem); margin: .65rem 0 1.15rem; max-width: 16ch; }
h1 em { color: var(--plum); font-style: normal; }
.lead { max-width: 59ch; color: var(--muted); font-size: clamp(1.06rem, 2.4vw, 1.32rem); }
.byline { margin: 1.5rem 0 0; color: var(--muted); font-size: .9rem; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(13rem, 17rem); align-items: start; gap: clamp(1.8rem, 6vw, 5rem); padding-block: 2.5rem 4.5rem; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 0 0 1.2rem; }
h3 { font-size: 1.02rem; line-height: 1.4; margin: 0 0 .35rem; }
p { margin: 0 0 1rem; }
.steps { margin: 1.2rem 0 0; padding-inline-start: 1.5rem; }
.steps li { margin-block: 0 1.25rem; padding-inline-start: .45rem; }
.steps li::marker { color: var(--plum); font-weight: 750; }
article section + section { margin-top: 2.85rem; }
.example { background: var(--panel); border-radius: .85rem; padding: clamp(1rem, 4vw, 2rem); }
.example .label { margin-bottom: .75rem; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1rem; }
pre { padding: .9rem; background: var(--code); color: var(--code-text); border-radius: .4rem; white-space: pre-wrap; overflow-wrap: anywhere; font: .8rem/1.55 ui-monospace, "SF Mono", Menlo, monospace; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; overflow-wrap: anywhere; }
aside { border-block: 1px solid var(--line); padding-block: 1.2rem .45rem; }
aside h2 { font-size: 1.75rem; }
details { border-top: 1px solid var(--line); padding-block: .7rem; }
summary { cursor: pointer; padding-block: .4rem; font-weight: 700; }
details p { margin-top: .55rem; }
footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between; padding-block: 1.15rem 1.5rem; color: var(--muted); font-size: .86rem; }
@media(max-width: 48rem) { .content-grid { grid-template-columns: minmax(0,1fr); } }
@media(max-width: 27rem) { .compare { grid-template-columns: minmax(0,1fr); } .frame { width: calc(100% - 1.75rem); } }
