@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(/fonts/barlow-cond-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(/fonts/barlow-cond-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(/fonts/barlow-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(/fonts/barlow-600.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --paper: #f3efe4;
  --paper-2: #ebe5d5;
  --ink: #1c2f52;
  --ink-soft: #3b4d6e;
  --pencil: #575d69;
  --rule: #1c2f52;
  --grid: rgba(28, 47, 82, .06);
  --grid-major: rgba(28, 47, 82, .1);
  --red: #c2321b;
  --red-deep: #9b2414;
  --tape: #f2c230;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px;
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--text);
  font-variant-numeric: tabular-nums;
}
::selection { background: var(--tape); color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: .95; text-wrap: balance; margin: 0; }
html { scrollbar-color: var(--ink-soft) var(--paper-2); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 8px; z-index: 10; background: var(--paper); padding: 8px 12px; border: 2px solid var(--ink); }

/* Title bar: the sheet's top border strip */
.titlebar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: stretch; gap: 0;
  background: var(--paper);
  border-bottom: 2px solid var(--rule);
  font-family: var(--cond); font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
}
.brand { display: flex; flex-direction: column; justify-content: center; padding: 10px var(--gutter); text-decoration: none; border-right: 1px solid var(--rule); background: var(--tape); }
.brand:hover { color: var(--ink); }
.brand-name { font-weight: 700; font-size: 1.35rem; line-height: 1; }
.brand-trade { font-size: .8rem; line-height: 1.2; }
.titlebar nav { display: flex; flex: 1; }
.titlebar nav a, .titlebar-mail { display: flex; align-items: center; padding: 0 18px; text-decoration: none; border-right: 1px solid var(--rule); font-size: .95rem; }
.titlebar nav a:hover, .titlebar-mail:hover { background: var(--paper-2); color: var(--ink); }
.titlebar-mail { border-right: 0; border-left: 1px solid var(--rule); margin-left: auto; text-transform: none; letter-spacing: .02em; }

/* Sheet 1: headline, plan, title block, schedule */
.sheet {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "copy plan"
    "form plan"
    "form sched";
  gap: 0;
  border-bottom: 2px solid var(--rule);
}
.sheet-copy { grid-area: copy; padding: clamp(24px, 3.5vw, 52px) var(--gutter) 20px; align-self: start; }
h1 { font-size: clamp(2.1rem, 3.7vw, 4rem); }
h1 span { display: block; white-space: nowrap; }
.lede { max-width: 40ch; margin: 16px 0 0; font-size: 1.12rem; color: var(--ink-soft); }

.plan { grid-area: plan; margin: 0; padding: clamp(16px, 2.5vw, 32px) var(--gutter) 8px; border-left: 1px solid var(--rule); }
.plan svg { display: block; width: 100%; height: auto; overflow: visible; }
.plan-cap { font: 600 .82rem/1.3 var(--cond); text-transform: uppercase; letter-spacing: .05em; color: var(--pencil); margin-top: 6px; }
.frame { fill: rgba(243, 239, 228, .7); stroke: var(--ink); stroke-width: 2; }
.zones line { stroke: var(--ink); stroke-width: .75; stroke-dasharray: 2 4; opacity: .5; }
.part, .part rect { fill: none; stroke: var(--ink); stroke-width: 1.25; }
.part.dashed { stroke-dasharray: 4 3; }
.heavy line { stroke: var(--ink); stroke-width: 6; }
.thin line { stroke: var(--ink-soft); stroke-width: 1; }
.hatch { stroke: var(--ink); stroke-width: 1.2; }
.note { font: 600 11px var(--cond); letter-spacing: .08em; fill: var(--ink-soft); }
.dimline line { stroke: var(--ink-soft); stroke-width: .75; }
.dim { stroke: var(--ink-soft); stroke-width: 1; }

.snag circle { fill: rgba(243, 239, 228, .85); stroke: var(--red); stroke-width: 2.5; }
.snag text { font: 700 16px var(--cond); fill: var(--red); text-anchor: middle; dominant-baseline: central; }
.snag .ring { fill: none; stroke: var(--red); stroke-width: 1.5; opacity: 0; }
.snag.is-on .ring { opacity: 1; animation: ring 900ms var(--ease) both; }
.snag circle.mark { stroke-dasharray: 100; stroke-dashoffset: 0; }
.snags.drawing-in .snag circle.mark { animation: draw 420ms var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes draw { from { stroke-dashoffset: 100; } }
@keyframes ring { from { r: 16; opacity: 1; } to { r: 34; opacity: 0; } }

/* Title block: the sheet's bottom-right box, holding the check */
.titleblock {
  grid-area: form;
  margin: 8px var(--gutter) clamp(24px, 4vw, 48px);
  border: 2px solid var(--rule);
  background: var(--paper);
  display: grid; grid-template-columns: 1fr 1fr;
  align-self: start;
}
.tb-head { grid-column: 1 / -1; display: flex; justify-content: space-between; padding: 6px 14px; border-bottom: 1px solid var(--rule); background: var(--ink); color: var(--paper); font: 600 .9rem/1.3 var(--cond); text-transform: uppercase; letter-spacing: .08em; }
.field { display: flex; flex-direction: column; padding: 10px 14px 12px; border-bottom: 1px solid var(--rule); }
.field + .field { border-left: 1px solid var(--rule); }
.field > span { font: 600 .82rem/1.3 var(--cond); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.field small { display: block; text-transform: none; letter-spacing: 0; font: 400 .78rem/1.3 var(--text); color: var(--pencil); }
.field input { margin-top: 6px; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 400 1.15rem/1.4 var(--text); padding: 4px 0; border-radius: 0; caret-color: var(--red); width: 100%; }
.field input::placeholder { color: #5f6470; }
.field input:focus { outline: none; border-bottom-color: var(--red); }
.field input[aria-invalid="true"] { border-bottom: 2px solid var(--red); }
.optin { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-bottom: 1px solid var(--rule); font-size: .92rem; color: var(--ink-soft); cursor: pointer; }
.optin input { appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid var(--ink); background: var(--paper); display: grid; place-content: center; cursor: pointer; }
.optin input:checked::after { content: ""; width: 11px; height: 6px; border: solid var(--ink); border-width: 0 0 2.5px 2.5px; transform: translateY(-2px) rotate(-45deg); }
.tb-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 12px 14px; flex-wrap: wrap; }
.tb-small { margin: 0; font-size: .85rem; color: var(--pencil); flex: 1 1 200px; }
.status { grid-column: 1 / -1; margin: 0; padding: 0 14px; font-size: .95rem; }
.status:not(:empty) { padding: 10px 14px; border-top: 1px solid var(--rule); }
.status.is-err { color: var(--red-deep); font-weight: 600; }

.act {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 1.2rem/1 var(--cond); text-transform: uppercase; letter-spacing: .06em;
  background: var(--red); color: #fff8f0; border: 2px solid var(--red); border-radius: 0;
  padding: 14px 22px; cursor: pointer; text-decoration: none;
  box-shadow: 0 0 0 1px var(--ink);
  transition: background-color 160ms var(--ease), transform 160ms var(--ease);
}
.act:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff8f0; }
.act:active { transform: translateY(1px); }
.act[disabled] { cursor: progress; background: var(--ink-soft); border-color: var(--ink-soft); box-shadow: none; }
.act-line { background: transparent; color: var(--red-deep); box-shadow: none; }
.act-line:hover { background: var(--red); color: #fff8f0; }

/* Snag schedule */
.schedule { grid-area: sched; padding: 8px var(--gutter) clamp(24px, 4vw, 48px); outline: none; border-left: 1px solid var(--rule); }
.sched-h { font-size: 1.6rem; }
.sched-src { margin: 4px 0 12px; font-size: .9rem; color: var(--pencil); }
.snaglist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--rule); }
.snaglist li { display: grid; grid-template-columns: 34px 1fr auto auto; gap: 4px 12px; align-items: baseline; padding: 9px 2px; border-bottom: 1px solid var(--rule); cursor: pointer; }
.snaglist li:hover .slabel, .snaglist li.is-on .slabel { color: var(--red-deep); }
.snum { width: 26px; height: 26px; border: 2px solid var(--red); border-radius: 50%; display: grid; place-content: center; font: 700 .9rem/1 var(--cond); color: var(--red); align-self: start; margin-top: 1px; }
.slabel { font-weight: 600; }
.sshare { font: 700 1.1rem/1 var(--cond); min-width: 3ch; text-align: right; }
.stick { width: 18px; height: 18px; border: 1.5px solid var(--ink); align-self: center; }
.stick:empty + .sshare:empty { display: none; }
.spitch { grid-column: 2 / -1; color: var(--ink-soft); font-size: .95rem; }
.swhy { grid-column: 2 / -1; color: var(--pencil); font-size: .82rem; }
.snaglist li[data-w="10"] .slabel, .snaglist li[data-w="9"] .slabel, .snaglist li[data-w="8"] .slabel { font-size: 1.3rem; }
.snaglist li[data-w="7"] .slabel, .snaglist li[data-w="6"] .slabel { font-size: 1.15rem; }
.snaglist li[data-w="1"] .slabel, .snaglist li[data-w="2"] .slabel { font-weight: 400; }
.ok-h { font-size: 1.25rem; margin-top: 24px; }
.oklist { list-style: none; margin: 18px 0 0; padding: 0; columns: 2 220px; column-gap: 24px; font-size: .95rem; }
.oklist li { padding: 3px 0 3px 26px; position: relative; break-inside: avoid; }
.oklist li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 11px; height: 6px; border: solid var(--ink); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.result-cta { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule); }
.result-cta p { margin: 0 0 12px; }

/* Lower bands: one per sheet note */
.band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-bottom: 1px solid var(--rule); }
.band > h2 { padding: clamp(28px, 4vw, 48px) var(--gutter); font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.band > h2::after { content: attr(data-dim); display: block; margin-top: 18px; max-width: 220px; padding: 0 6px 9px; font: 600 0.8rem/1 "Barlow Condensed", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); text-align: center; border: solid var(--ink-soft); border-width: 0 1px; background: linear-gradient(var(--ink-soft), var(--ink-soft)) left calc(100% - 4px) / 100% 1px no-repeat; }
.band > :not(h2) { padding: clamp(28px, 4vw, 48px) var(--gutter); border-left: 1px solid var(--rule); }
.prose p { max-width: 62ch; margin: 0 0 14px; }
.notes { margin: 0; padding-left: 0; list-style: none; counter-reset: n; }
.notes li { counter-increment: n; position: relative; padding: 0 0 16px 46px; max-width: 64ch; }
.notes li::before { content: counter(n); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border: 1.5px solid var(--ink); display: grid; place-content: center; font: 700 1rem/1 var(--cond); }
.faq details { border-top: 1px solid var(--rule); max-width: 66ch; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 14px 32px 14px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { margin: 0 0 16px; color: var(--ink-soft); }
.register { border-collapse: collapse; width: 100%; font-size: .98rem; }
.register th, .register td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); }
.register thead th { font: 600 .82rem/1.2 var(--cond); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); border-bottom: 2px solid var(--rule); }
.register tbody th { font: 700 1.15rem/1.2 var(--cond); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.register td:last-child { white-space: nowrap; }

.sheetfoot { display: flex; gap: 24px; flex-wrap: wrap; padding: 18px var(--gutter) 28px; font: 600 .9rem/1.4 var(--cond); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.sheetfoot a { color: var(--ink-soft); }
.rev { border: 1.5px solid var(--ink); padding: 2px 10px; color: var(--ink); }

/* Privacy page */
.doc { max-width: 70ch; padding: clamp(28px, 5vw, 64px) var(--gutter) 48px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: none; margin-bottom: 18px; }
.doc h2 { font-size: 1.5rem; margin: 30px 0 8px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--rule); }

@media (max-width: 880px) {
  .titlebar { flex-wrap: wrap; }
  .titlebar nav { order: 3; flex: 1 0 100%; border-top: 1px solid var(--rule); overflow-x: auto; }
  .titlebar nav a { padding: 8px 12px; font-size: .85rem; white-space: nowrap; }
  .titlebar-mail { font-size: .85rem; padding: 0 var(--gutter); }
  .sheet { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "form" "plan" "sched"; }
  .sheet-copy { padding-bottom: 18px; }
  .plan { border-left: 0; border-top: 1px solid var(--rule); padding-top: 18px; }
  .schedule { border-left: 0; }
  .titleblock { margin: 0 var(--gutter) 24px; }
  .band { grid-template-columns: minmax(0, 1fr); }
  .band > h2 { padding-bottom: 0; }
  .band > :not(h2) { border-left: 0; padding-top: 16px; }
}
@media (max-width: 560px) {
  .brand-trade { display: none; }
  .titlebar-mail { font-size: .8rem; letter-spacing: 0; }
  .titleblock { grid-template-columns: minmax(0, 1fr); }
  .field + .field { border-left: 0; }
  .act { width: 100%; justify-content: center; }
  .register thead { display: none; }
  .register tr { display: grid; grid-template-columns: 1fr; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .register th, .register td { border: 0; padding: 2px 0; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .snag.is-on .ring { opacity: 1; }
}
