/* Handoff Register. Direction from seed hash 400e88a1 (sha256, full hash in design-brief.md): a route card. One continuous
   warm chalk sheet with no dark band, brick as the single accent, a transitional serif for display (Source Serif 4),
   a geometric sans for body (DM Sans) and DM Mono for step numbers and system names. A numbered gutter runs down the
   register with dotted leaders; verdicts are edge flags (a 3px coloured left edge, small mono caps, no fill). Hairline
   rules, 2px radii, no shadows, no gradients, no illustration. */
:root {
  --stock: #f6f2ef; --stock-2: #ece6e1; --card: #fffdfb; --ink: #27201b; --ink-2: #5a524b; --ink-3: #857b73;
  --hair: #d9d2cc; --hair-2: #e8e2dd; --rule: #27201b;
  --brick: #a25230; --brick-2: #7f3f24; --brick-wash: #f3e4dc;
  --hand: #a25230; --hand-wash: #f3e4dc; --keep: #385f3a; --keep-wash: #e2ebe1; --unclear: #6b655f; --unclear-wash: #e9e5e1; --warn: #9a3a2a;
  --serif: "Source Serif 4", "Source Serif Pro", "Charter", "Georgia", serif;
  --sans: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --max: 1160px; --r: 2px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--stock); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
body { margin: 0; }
a { color: var(--brick); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 4.4vw, 50px); }
h2 { font-size: clamp(22px, 2.6vw, 29px); }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }
code, .mono { font-family: var(--mono); font-size: 0.9em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
/* Header: a light strip with a hairline below */
header.site { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; border-bottom: 1px solid var(--hair); }
header.site .brand { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
header.site .brand::before { content: '\2192'; color: var(--brick); margin-right: 8px; font-family: var(--mono); font-weight: 400; }
header.site nav a { margin-left: 20px; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
header.site nav a:hover { color: var(--brick); }
/* Hero: a two-column ledger, headline left, photograph in a hairline frame right, specimen list beneath it */
.hero { padding: 44px 0 30px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 44px; align-items: start; }
.hero .lede { font-size: 18px; color: var(--ink-2); max-width: 580px; margin-bottom: 22px; }
.hero .lede b { color: var(--ink); font-weight: 500; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brick); margin-bottom: 14px; }
@media (max-width: 480px) { .eyebrow { font-size: 10px; letter-spacing: 0.05em; } }
.hero .cta { margin-bottom: 26px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 14px 0 0; border-top: 1px dotted var(--hair); font-size: 13.5px; color: var(--ink-3); } .facts div { display: flex; gap: 6px; align-items: baseline; } .facts dt { font-family: var(--mono); font-weight: 500; color: var(--ink); } .facts dd { margin: 0; }
figure.person { margin: 0; border-bottom: 1px solid var(--hair); padding: 0 0 10px; }
figure.person img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
figure.person figcaption { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.01em; color: var(--ink-2); padding: 10px 0 0; line-height: 1.45; } figure.person figcaption a { color: var(--ink-3); text-decoration: none; }
.specimen { margin-top: 16px; font-size: 13.5px; }
.specimen .legend { margin-bottom: 8px; }
.specimen ol { list-style: none; margin: 0; padding: 0; }
.specimen li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px dotted var(--hair); }
.specimen li:last-child { border-bottom: 0; }
.specimen li .num { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.specimen li .st { color: var(--ink); }
.specimen .cap { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 8px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; } .specimen { display: none; } figure.person img { aspect-ratio: 16 / 9; } }
/* Legends: small mono caps with a hairline rule */
.legend { display: inline-block; font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; color: var(--ink-2); }
.legend::before { content: ''; display: inline-block; width: 18px; height: 1px; background: var(--brick); vertical-align: middle; margin-right: 8px; }
.tool { border: 1px solid var(--hair); background: var(--card); margin-top: 8px; border-radius: var(--r); }
.tool > .legend { display: block; padding: 12px 16px 0; }
.tool .bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px 16px 12px; }
.tool .bar .spacer { flex: 1; }
textarea.paste { width: 100%; min-height: 220px; border: 0; border-top: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2); padding: 14px 16px; font: 13.5px/1.55 var(--mono); color: var(--ink); resize: vertical; background: #fff; display: block; }
textarea.paste:focus { outline: 2px solid var(--brick); outline-offset: -2px; }
.btn { display: inline-block; border: 1px solid var(--ink); background: var(--ink); color: var(--card); padding: 10px 18px; font: 500 14px var(--sans); cursor: pointer; text-decoration: none; letter-spacing: 0.01em; border-radius: var(--r); }
.btn:hover { background: var(--brick); border-color: var(--brick); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--brick-wash); color: var(--brick-2); border-color: var(--brick); }
.btn.small { padding: 7px 12px; font-size: 13px; }
.hint { font-size: 13px; color: var(--ink-3); }
.hint.warn, .warn { color: var(--warn); }
/* Summary strip: six readings, hairline dividers */
.summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--hair); background: var(--card); margin-bottom: 22px; border-radius: var(--r); }
.summary .derived { grid-column: 1 / -1; border-top: 1px dotted var(--hair); font-family: var(--mono); font-size: 12px; color: var(--ink-2); padding: 8px 14px; }
.summary > div { padding: 14px 14px 12px; border-right: 1px solid var(--hair-2); }
.summary > div:last-child { border-right: 0; }
.summary .n { font-family: var(--serif); font-weight: 600; font-size: 36px; line-height: 1; color: var(--ink); }
.summary .n.read { color: var(--ink-2); } .summary .n.hand-over { color: var(--hand); } .summary .n.keep { color: var(--keep); } .summary .n.unclear { color: var(--unclear); }
.summary .l { font-size: 12.5px; color: var(--ink-2); margin-top: 5px; line-height: 1.3; }
@media (max-width: 480px) { .summary { grid-template-columns: repeat(2, 1fr); } .summary > div:nth-child(2n) { border-right: 0; } .summary > div:nth-child(-n+2) { border-bottom: 1px solid var(--hair-2); } .summary .derived { border-right: 0; } }
/* Verdict flags: a coloured left edge and small mono caps, no fill. One vocabulary everywhere. */
.flag { display: inline-block; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; padding: 1px 0 1px 8px; border-left: 3px solid var(--ink); color: var(--ink); white-space: nowrap; line-height: 1.4; }
.flag.hand-over { border-color: var(--hand); color: var(--hand); } .flag.keep { border-color: var(--keep); color: var(--keep); } .flag.unclear { border-color: var(--unclear); color: var(--unclear); }
.kind { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; color: var(--ink-2); white-space: nowrap; }
.kind.unclear { color: var(--unclear); }
.sys { display: inline-block; font-family: var(--mono); font-size: 11px; color: var(--ink-2); border: 1px solid var(--hair); padding: 0 6px; margin: 0 4px 4px 0; border-radius: var(--r); }
.notice { border: 1px solid var(--hair); border-left: 3px solid var(--brick); background: var(--card); padding: 12px 16px; margin: 14px 0; font-size: 14.5px; border-radius: var(--r); }
.notice.lock { border-left-color: var(--unclear); }
/* The register: one table in process order with a numbered gutter */
section.grp { margin: 24px 0 0; }
.grp-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 10px; }
.grp-head h2 { margin: 0; font-size: 22px; }
.sheet-wrap { overflow-x: auto; border: 1px solid var(--hair); background: var(--card); border-radius: var(--r); }
table.sheet { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
table.sheet col.c-n { width: 44px; } table.sheet col.c-step { width: 26%; } table.sheet col.c-owner { width: 10%; } table.sheet col.c-kind { width: 8%; } table.sheet col.c-sys { width: 11%; } table.sheet col.c-verdict { width: 9%; } table.sheet col.c-lose { width: auto; }
table.sheet th { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; font-size: 10.5px; font-weight: 500; color: var(--ink-2); text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--rule); background: var(--stock); }
table.sheet td { padding: 10px 10px 8px; vertical-align: top; border-bottom: 0; overflow-wrap: anywhere; }
table.sheet tr.f td { border-top: 1px solid var(--hair-2); }
table.sheet td.num { font-family: var(--mono); font-size: 12px; color: var(--ink-3); text-align: right; border-right: 1px dotted var(--hair); padding-right: 8px; white-space: nowrap; }
table.sheet td.num .chev { display: none; }
table.sheet .rf { color: var(--ink-2); }
table.sheet td.step .st { color: var(--ink); }
table.sheet td.small { font-size: 13px; color: var(--ink-2); }
table.sheet td.lose { font-size: 13.5px; color: var(--ink); line-height: 1.45; }
table.sheet td.sysl { font-size: 12px; color: var(--ink-2); }
table.sheet td .more { font: 500 10.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; } table.sheet td .more::after { content: ' \25B8'; } table.sheet tr.f.open td .more::after { content: ' \25BE'; }
table.sheet td.lose .keep-why { color: var(--ink); font-weight: 500; }
table.sheet .pk { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-right: 6px; }
table.sheet tr.why { display: none; } table.sheet tr.why.open { display: table-row; } table.sheet tr.f { cursor: pointer; } @media (hover: hover) { table.sheet tr.f:hover td { background: #faf6f3; } }
table.sheet tr.why td { padding: 0 12px 12px 54px; font-size: 13px; color: var(--ink-2); line-height: 1.45; background: transparent; }
table.sheet tr.why td > div { display: flex; gap: 10px; margin-top: 3px; } table.sheet tr.why td > div > .k { flex: 0 0 96px; }
table.sheet tr.why .k { font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }
table.sheet.locked td { color: var(--ink-3); }
.phone-only { display: none; }
.plan-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid currentColor; padding: 0 4px; margin-left: 6px; vertical-align: 1px; opacity: 0.8; border-radius: var(--r); }
/* Delegation map: three columns, numbered lists */
section.map { margin-top: 34px; }
.map-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--hair); background: var(--card); border-radius: var(--r); }
.map-grid > div { padding: 14px 16px 10px; border-right: 1px solid var(--hair-2); min-width: 0; }
.map-grid > div:last-child { border-right: 0; }
.map-grid h3 { font-family: var(--sans); font-size: 14px; font-weight: 500; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.map-grid h3 .cnt { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); }
ol.steps { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
ol.steps li { display: flex; gap: 10px; padding: 6px 0; border-top: 1px dotted var(--hair); align-items: baseline; }
ol.steps li .num { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); flex: 0 0 22px; text-align: right; }
ol.steps li > div { min-width: 0; } ol.steps li .hint { display: block; margin-top: 2px; }
@media (max-width: 860px) { .map-grid { grid-template-columns: 1fr; } .map-grid > div { border-right: 0; border-bottom: 1px solid var(--hair-2); } .map-grid > div:last-child { border-bottom: 0; } }
/* Findings */
section.finds { margin-top: 34px; }
.find-list { border: 1px solid var(--hair); background: var(--card); border-radius: var(--r); }
.find { display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 12px 14px 10px 0; border-top: 1px solid var(--hair-2); }
.find:first-child { border-top: 0; }
.find .fn { font-family: var(--mono); font-size: 12px; color: var(--ink-3); text-align: right; padding-right: 8px; border-right: 1px dotted var(--hair); margin-right: 12px; padding-top: 4px; }
.find .fh { font-family: var(--serif); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.find .fh .cnt { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--ink-3); margin-left: 8px; }
.find p { font-size: 13.5px; color: var(--ink-2); margin-bottom: 6px; max-width: 760px; }
/* Controls */
section.ctrls { margin-top: 34px; }
section.ctrls details, .ctrls-inline details { border: 1px solid var(--hair); background: var(--card); padding: 0 16px; margin-bottom: -1px; }
section.ctrls summary, .ctrls-inline summary { cursor: pointer; padding: 11px 0; font-family: var(--serif); font-weight: 600; font-size: 16px; }
section.ctrls summary .codes, .ctrls-inline summary .codes { font-family: var(--mono); font-weight: 400; font-size: 12px; display: block; margin-top: 2px; color: var(--ink-3); }
section.ctrls .ctrl, .ctrls-inline .ctrl { padding: 6px 0 8px; border-top: 1px dotted var(--hair); border-left: 0; border-right: 0; border-bottom: 0; margin: 0; background: transparent; }
section.ctrls .ctrl summary, .ctrls-inline .ctrl summary { font-family: var(--sans); font-weight: 500; font-size: 14.5px; padding: 4px 0; }
section.ctrls .ch, .ctrls-inline .ch { font-weight: 500; margin-bottom: 4px; } section.ctrls .ch code, .ctrls-inline .ch code { color: var(--ink-2); margin-right: 6px; }
.ch a.code { text-decoration: none; } .ch a.code:hover code { text-decoration: underline; }
section.ctrls .ctrl p, .ctrls-inline .ctrl p { font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
/* Sections and the three-step form */
section { padding: 36px 0; }
section > h2 { position: relative; }
.form { border: 1px solid var(--hair); background: var(--card); border-radius: var(--r); }
.form > div { display: grid; grid-template-columns: 56px 240px 1fr; gap: 20px; padding: 18px 16px; border-bottom: 1px solid var(--hair-2); align-items: baseline; }
.form > div:last-child { border-bottom: 0; }
.form .k { font-family: var(--mono); font-weight: 500; color: var(--ink-3); font-size: 12px; letter-spacing: 0.08em; }
.form h3 { margin: 0; }
.form p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .form > div { grid-template-columns: 40px 1fr; } .form p { grid-column: 2; } }
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border: 1px solid var(--hair); background: var(--card); border-radius: var(--r); }
.pricing > div { padding: 22px 20px 24px; border-right: 1px solid var(--hair-2); display: flex; flex-direction: column; position: relative; }
.pricing > div:last-child { border-right: 0; }
@media (max-width: 860px) { .pricing > div { border-right: 0; border-bottom: 1px solid var(--hair-2); } .pricing > div:last-child { border-bottom: 0; } }
.pricing .price { font-family: var(--serif); font-weight: 600; font-size: 46px; line-height: 1; margin: 8px 0 2px; }
.pricing .price small { font-size: 12px; letter-spacing: 0.08em; color: var(--ink-3); margin-right: 6px; vertical-align: 16px; font-family: var(--mono); font-weight: 400; }
.pricing .per { color: var(--ink-3); font-size: 13px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px dotted var(--hair); }
.pricing ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: 14.5px; }
.pricing li { margin-bottom: 7px; padding-left: 1.1em; text-indent: -1.1em; }
.pricing li::before { content: "\2192  "; color: var(--ink-3); font-family: var(--mono); }
.pricing .btn { margin-top: auto; align-self: flex-start; }
footer.site { border-top: 1px solid var(--hair); margin-top: 30px; padding-block: 22px 44px; font-size: 13.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer.site a { color: var(--ink-3); }
/* Forms and modal */
.modal { position: fixed; inset: 0; background: rgba(39,32,27,0.5); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 10; }
.modal.open { display: flex; }
.modal .box { background: var(--card); border: 1px solid var(--hair); padding: 26px; max-width: 440px; width: 100%; position: relative; border-radius: var(--r); }
.modal .box > .legend { display: block; margin-bottom: 10px; }
input[type=email], input[type=text] { width: 100%; padding: 10px 12px; border: 1px solid var(--hair); font: 15px var(--sans); background: #fff; color: var(--ink); border-radius: var(--r); }
input:focus { outline: 2px solid var(--brick); outline-offset: -1px; }
.row { display: flex; gap: 10px; align-items: center; }
.ok { color: var(--keep); } .err { color: var(--warn); }
.list { border: 1px solid var(--hair); background: var(--card); border-radius: var(--r); }
.list a.item { display: flex; justify-content: space-between; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--hair-2); text-decoration: none; color: var(--ink); }
.list a.item:last-child { border-bottom: 0; }
.list a.item:hover { background: var(--brick-wash); }
.list .meta { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.steps-index { columns: 2; column-gap: 40px; font-size: 14px; }
.steps-index a { display: flex; justify-content: space-between; gap: 10px; text-decoration: none; color: var(--ink); padding: 5px 0; border-bottom: 1px dotted var(--hair); break-inside: avoid; }
.strip3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .strip3 { grid-template-columns: 1fr !important; } .strip3 > div { border-right: 0; border-bottom: 1px solid var(--hair-2); } .strip3 > div:last-child { border-bottom: 0; } }
.kv { display: grid; grid-template-columns: 200px 1fr; gap: 8px 18px; font-size: 15px; border: 1px solid var(--hair); background: var(--card); padding: 16px 18px; margin: 0 0 18px; border-radius: var(--r); }
.kv dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.kv dd { margin: 0; }
@media (max-width: 640px) { .kv { grid-template-columns: 1fr; gap: 2px 0; } .kv dd { margin-bottom: 10px; } }
/* Phone: the register becomes stacked cards; the flag moves up beside the step number */
@media (max-width: 700px) { table.sheet, table.sheet tbody, table.sheet td { display: block; } table.sheet thead, table.sheet colgroup { display: none; } table.sheet tr { display: block; } table.sheet tr.f { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 8px; border-top: 1px solid var(--hair); padding: 10px 12px 6px; } table.sheet tr.f td { border: 0; padding: 4px 0; white-space: normal; min-width: 0; max-width: none; grid-column: 2; } table.sheet tr.f td.num { grid-column: 1; grid-row: 1 / span 7; border-right: 1px dotted var(--hair); text-align: left; padding: 6px 0 0; margin-right: 2px; } table.sheet tr.f td.num .chev { display: none; } table.sheet td.step .st { display: block; font-size: 14.5px; } table.sheet td.step .phone-only { display: inline-block; margin: 8px 14px 0 0; vertical-align: middle; } table.sheet td.desk-only { display: none; } table.sheet tr.f td[data-l]:not(.step):not(.num)::before { content: attr(data-l); display: block; font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1px; } table.sheet tr.why td { padding: 6px 12px 12px 40px; border-left: 3px solid var(--hair); margin-left: 12px; } table.sheet tr.f:not(.open) td[data-l]:not(.step):not(.num):not([data-l="What you lose"]), table.sheet tr.why:not(.open) { display: none; } table.sheet tr.f td.lose { padding-top: 6px; } table.sheet tr.f td.step::after { content: 'more \25B8'; display: inline-block; font: 500 10.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; vertical-align: middle; } table.sheet tr.f.open td.step::after { content: 'less \25BE'; } table.sheet tr.why.open { display: block; } .sheet-wrap { overflow: visible; } table.sheet tr.why td > div > .k { flex: 0 0 80px; } .summary .n { font-size: 26px; } .summary > div { padding: 8px 10px; } .pricing .price { font-size: 34px; } section.ctrls summary .codes { white-space: normal; } .steps-index { columns: 1; } header.site { gap: 10px; } header.site .brand { white-space: nowrap; } header.site nav { white-space: nowrap; } header.site nav a { margin-left: 10px; font-size: 13.5px; } table.sheet { font-size: 13px; } }
@media (max-width: 480px) { header.site nav a.nav-steps { display: none; } h1 { font-size: 1.85rem; } .eyebrow { font-size: 11px; } .hero .lede { font-size: 1.02rem; line-height: 1.45; } .tool .bar .btn { width: 100%; text-align: center; } .tool .bar .spacer { display: none; } header.site .brand { font-size: 18px; } .hero .cta .btn { width: 100%; text-align: center; } }
@media print { header.site nav, .tool .bar, .btn, footer.site, .no-print, .specimen { display: none !important; } html { background: #fff; } details { display: block; } details > * { display: block; } }
