:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --ink: #161713;
  --quiet: #65675f;
  --line: #cbc8bd;
  --accent: #6849e8;
  --raised: #faf8f2;
  --danger: #9b2f25;
  --grid-line: rgba(22, 23, 19, 0.035);
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 24px 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
.page { width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 56px; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: var(--paper); background: var(--ink); font: 12px ui-monospace, monospace; }
.section-label, .updated, label, .notice strong { font: 800 11px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .09em; text-transform: uppercase; }
.updated { color: var(--quiet); }
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .65fr); gap: 48px; align-items: end; padding: 64px 0 44px; border-bottom: 1px solid var(--ink); }
.section-label { margin: 0 0 12px; color: var(--accent); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(48px, 7vw, 82px); line-height: .95; }
h2 { margin: 38px 0 10px; font-size: 30px; line-height: 1.1; }
h3 { margin: 24px 0 6px; font-size: 17px; }
p, li { max-width: 74ch; }
.lede { margin: 0; color: var(--quiet); font-size: 17px; }
.content { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 48px; padding-top: 36px; }
.contents { align-self: start; position: sticky; top: 24px; padding: 18px 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); }
.contents a { display: block; padding: 5px 0; color: var(--quiet); font-size: 13px; text-decoration: none; }
.contents a:hover { color: var(--accent); }
.prose > :first-child { margin-top: 0; }
.notice { margin: 26px 0; padding: 18px 20px; border: 1px solid var(--ink); border-left: 6px solid var(--accent); background: var(--raised); }
.notice strong { display: block; margin-bottom: 4px; }
.danger { border-left-color: var(--danger); }
.steps { padding-left: 22px; }
.form { max-width: 620px; margin-top: 28px; padding: 24px; border: 1px solid var(--ink); background: var(--raised); }
.field { margin-bottom: 18px; }
label { display: block; margin-bottom: 7px; }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: var(--paper); font: inherit; }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.optional { color: var(--quiet); font-weight: 400; text-transform: none; letter-spacing: 0; }
.rating-field { margin: 0 0 18px; padding: 0; border: 0; }
.rating-row { display: flex; gap: 8px; margin-top: 8px; }
.rating { position: relative; flex: 0 0 auto; margin: 0; cursor: pointer; }
.rating input { position: absolute; inset: 0; width: 100%; min-height: 0; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rating input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.rating span { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--ink); background: var(--paper); font: 800 14px ui-monospace, monospace; }
.rating input:checked + span { color: var(--paper); background: var(--accent); border-color: var(--accent); }
.rating-hint { margin: 8px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hp label, .hp input { font-size: 1px; }
button { min-height: 50px; padding: 0 18px; border: 1px solid var(--ink); color: #fff; background: var(--danger); font: 800 12px ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
button:hover:not(:disabled) { filter: brightness(.9); }
button:disabled { cursor: not-allowed; opacity: .55; }
.status { min-height: 28px; margin: 16px 0 0; font-weight: 700; }
.status.error { color: var(--danger); }
.status.success { color: #236844; }
.fine { color: var(--quiet); font-size: 13px; }
.footer { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 13px; }
@media (max-width: 720px) {
  .page { width: min(100% - 28px, 620px); padding-top: 18px; }
  .hero { display: block; padding: 44px 0 32px; }
  .lede { margin-top: 24px; }
  .content { display: block; padding-top: 26px; }
  .contents { position: static; margin-bottom: 30px; }
  .form { padding: 18px; }
}
