:root {
  --paper: #fbf6ec;
  --paper-2: #f3ecdd;
  --bg: #efe8da;
  --ink: #1f2430;
  --ink-2: #5b606b;
  --line: #e2d8c5;
  --red: #e5484d;
  --red-ink: #b8323a;
  --gold: #b38312;
  --shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 18px 50px -18px rgba(60,45,20,.35), 0 3px 10px rgba(60,45,20,.08);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Caveat', 'Bradley Hand', cursive;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.62;
  background:
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(31,36,48,.035) 46px 48px),
    var(--bg);
  min-height: 100vh;
}
a { color: var(--ink); text-decoration-color: rgba(229,72,77,.55); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--red-ink); }

.top { max-width: 760px; margin: 0 auto; padding: 18px 16px 0; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.wordmark { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 24px; letter-spacing: -.01em; text-decoration: none; margin-right: auto; }
.wordmark span { color: var(--red); }
.top nav { display: flex; gap: 14px; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--ink-2); }
.top nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); }

main { max-width: 760px; margin: 0 auto; padding: 18px 16px 8px; }
.sheet { background: var(--paper); border: 1px solid rgba(226,216,197,.8); border-radius: 26px; box-shadow: var(--shadow); padding: 30px 20px 26px; }
@media (min-width: 640px) { .sheet { padding: 48px 56px 40px; } }

.kicker { margin: 0 0 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
h1 { font-family: var(--serif); font-weight: 600; font-size: 44px; line-height: 1; letter-spacing: -.03em; margin: 0 0 14px; }
h1 em { font-style: italic; color: var(--red); }
@media (min-width: 640px) { h1 { font-size: 58px; } }
.lede { font-size: 19px; color: var(--ink-2); margin: 0 0 28px; max-width: 34em; }
h2 { font-family: var(--serif); font-weight: 600; font-size: 27px; line-height: 1.15; letter-spacing: -.015em; margin: 40px 0 10px; }
h3 { font-size: 17px; font-weight: 600; margin: 24px 0 4px; }
p { margin: 0 0 14px; }
ul, ol { padding-left: 1.25em; margin: 0 0 16px; }
li { margin-bottom: 6px; }
li::marker { color: var(--red); }
strong { font-weight: 600; }
kbd { font-family: var(--sans); font-size: 13px; background: var(--paper); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 0 6px; white-space: nowrap; }
hr { border: 0; border-top: 1px dashed var(--line); margin: 36px 0; }

.note { position: relative; background: var(--paper-2); border-radius: 16px; padding: 14px 18px 12px; margin: 22px 0; font-family: var(--hand); font-size: 25px; line-height: 1.1; transform: rotate(-.6deg); }
.note::before { content: 'Examiner'; display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.note[data-who]::before { content: attr(data-who); }

.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 46px; margin-bottom: 16px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--serif); font-weight: 600; font-size: 17px; display: grid; place-items: center; line-height: 1; }

.diagram { margin: 22px -8px 8px; background: var(--paper-2); border-radius: 16px; padding: 6px; }
@media (min-width: 640px) { .diagram { margin: 22px 0 8px; padding: 10px; } }
.diagram svg { display: block; width: 100%; height: auto; }
.caption { font-size: 13.5px; color: var(--ink-2); margin: 0 0 18px; }

.score { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
.score div { background: var(--paper-2); border-radius: 14px; padding: 12px 8px 10px; text-align: center; }
.score b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.1; }
.score span { display: block; line-height: 1.35; margin-top: 4px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }

table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15.5px; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
td:first-child { color: var(--gold); letter-spacing: 2px; white-space: nowrap; }
.plain td:first-child { color: inherit; letter-spacing: normal; white-space: normal; font-weight: 600; }

.share { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 14.5px; line-height: 1.5; background: var(--paper-2); border-radius: 14px; padding: 14px 16px; white-space: pre; overflow-x: auto; margin: 12px 0 18px; }

details { border-top: 1px solid var(--line); padding: 12px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; padding-right: 28px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: -2px; font-family: var(--serif); font-size: 22px; color: var(--red); }
details[open] summary::after { content: '\2212'; }
details p { margin: 8px 0 2px; color: var(--ink-2); }

.cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 40px 0 4px; text-align: center; }
.btn { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 16px; padding: 15px 28px; border-radius: 16px; box-shadow: 0 5px 0 #000; transition: transform .08s, box-shadow .08s; }
.btn:hover { color: var(--paper); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #000; }
.cta small { font-size: 13px; color: var(--ink-2); }

footer { max-width: 760px; margin: 0 auto; padding: 18px 16px 40px; font-size: 13.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer a { color: var(--ink-2); }
footer .sp { margin-right: auto; }
@media (max-width: 559px) { footer .sp { flex-basis: 100%; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
