img { max-width: 100%; }
[hidden] { display: none !important; }
/* Layout: white ground, header with the HB mark, one window holding the paste box on the left and the assessment on the right. */
:root {
  --paper: #ffffff;
  --wash: #f3f6fb;
  --ink: #1a1a2e;
  --ink-soft: #4a5068;
  --line: #d9dfeb;
  --action: #d42f4f;
  --action-ink: #ffffff;
  --mark-a: #5aa9e0; --mark-b: #7a5bb5; --mark-c: #e0608a; --mark-d: #f09a72;
  --high: #b3243f; --high-wash: #fdeef1;
  --caution: #8a5a00; --caution-wash: #fdf4e1;
  --limited: #4a5068; --limited-wash: #eef1f6;
  --font: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.6; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
a { color: inherit; }
a:focus-visible, button:focus-visible, textarea:focus-visible { outline: 3px solid var(--mark-b); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; line-height: 1.15; margin: 0; }

.top { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 20; }
#check, #brian, #book { scroll-margin-top: 96px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ext { font-size: 0.8em; }
.back { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--action); text-decoration: none; font-size: 1.05rem; }
.back:hover { text-decoration: underline; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 1.25rem; }
.brand img { width: 52px; height: 52px; }
.top nav { display: flex; gap: 6px 26px; flex-wrap: wrap; }
.top nav a { text-decoration: none; font-size: 1rem; color: var(--ink-soft); padding-block: 4px; border-bottom: 2px solid transparent; }
.top nav a:hover { color: var(--ink); border-bottom-color: var(--line); }
.top nav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--action); }

.hero { text-align: center; padding-block: 52px 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 800; margin-block: 16px 14px; letter-spacing: -0.01em; }
.hero p { font-size: 1.25rem; color: var(--ink-soft); max-width: 44ch; margin: 0 auto; }

.btn { display: inline-block; font: inherit; font-weight: 600; font-size: 1.05rem; padding: 12px 24px; border-radius: 8px; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--action); color: var(--action-ink); }
.btn-primary:hover { filter: brightness(0.93); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { background: var(--wash); }
span.btn-ghost { cursor: default; }
span.btn-ghost:hover { background: var(--paper); }
.btn-small { font-size: 0.95rem; padding: 7px 16px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; font-weight: 600; cursor: pointer; font-family: inherit; }
.btn-small:hover { background: var(--wash); border-color: var(--ink-soft); }

.stage { padding-block: 8px 64px; }
.window { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 18px 50px -24px rgba(26, 26, 46, 0.35); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: var(--wash); font-size: 0.9rem; color: var(--ink-soft); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.window-rule { height: 3px; background: linear-gradient(90deg, var(--mark-a), var(--mark-b), var(--mark-c), var(--mark-d)); }
.panes { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.pane { padding: 26px 28px; min-width: 0; }
.pane + .pane { border-left: 1px solid var(--line); }
.pane h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.hint { margin: 0 0 14px; font-size: 0.95rem; color: var(--ink-soft); }
textarea { width: 100%; min-height: 190px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 2px solid var(--line); border-radius: 10px; padding: 14px 16px; resize: vertical; }
textarea::placeholder { color: #7b8198; }
.row { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin-top: 14px; }
.count { margin-left: auto; font-size: 0.9rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.examples { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.examples p { margin: 0 0 10px; font-size: 0.95rem; color: var(--ink-soft); }
.examples .row { margin-top: 0; }
#error { color: var(--high); font-weight: 600; font-size: 0.95rem; margin: 10px 0 0; }

.tag { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 3px 12px; margin-bottom: 12px; }
.level { border-radius: 12px; padding: 18px 22px; }
.level[data-level="scam"] { background: var(--high-wash); color: var(--high); }
.level[data-level="presumed_scam"] { background: var(--caution-wash); color: var(--caution); }
.level[data-level="low_risk"] { background: var(--limited-wash); color: var(--limited); }
.level strong { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1.25; text-wrap: balance; }
.facts-list { margin: 16px 0 0; }
.facts-list p { margin: 0 0 8px; font-size: 1.02rem; }
.facts-list b { font-weight: 800; }
.pane h3 { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin: 20px 0 8px; }
.reasons, .steps { margin: 0; padding: 0; list-style: none; }
.reasons li { position: relative; padding: 5px 0 5px 24px; }
.reasons li::before { content: ""; position: absolute; left: 4px; top: 0.85em; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-soft); }
.steps { counter-reset: step; }
.steps li { position: relative; padding: 6px 0 6px 38px; counter-increment: step; font-weight: 600; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 5px; width: 26px; height: 26px; border-radius: 50%; background: var(--action); color: var(--action-ink); font-size: 0.9rem; font-weight: 800; display: grid; place-items: center; }
.working { display: flex; align-items: center; gap: 12px; padding: 18px 0; color: var(--ink-soft); }
.working i { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--action); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .working i { animation: none; } }
.btn[disabled] { opacity: 0.6; cursor: default; }
.method { margin: 18px 0 0; font-size: 0.9rem; color: var(--ink-soft); }


.rule { background: var(--wash); padding-block: 26px; }
.rule p { margin: 0 auto; max-width: 70ch; text-align: center; font-size: 1.05rem; color: var(--ink-soft); }
.rule b { color: var(--ink); font-weight: 800; }

.founder { padding-block: 56px; }
.founder .card { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px 30px; align-items: center; max-width: 820px; margin-inline: auto; }
.founder img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; }
.founder h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.founder p { margin: 0; color: var(--ink-soft); }
.founder .row { margin-top: 16px; }
@media (max-width: 640px) { #check, #brian, #book { scroll-margin-top: 150px; } }

.book { background: var(--wash); padding-block: 56px; }
.book .card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px 40px; align-items: center; max-width: 820px; margin-inline: auto; }
.book img { width: 200px; height: auto; border-radius: 3px; box-shadow: 0 2px 4px rgba(26, 26, 46, 0.12), 0 14px 30px rgba(26, 26, 46, 0.18); }
.book h2 { font-size: 1.9rem; font-weight: 800; margin: 4px 0 6px; }
.book .sub { margin: 0; color: var(--ink-soft); }
.book .soon { margin: 16px 0 0; padding-left: 14px; border-left: 4px solid var(--mark-d); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.book .back { display: block; width: fit-content; }
footer .back { margin-top: 0; }

footer { border-top: 1px solid var(--line); padding-block: 26px; font-size: 0.95rem; color: var(--ink-soft); }
footer .wrap { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .panes { grid-template-columns: minmax(0, 1fr); }
  .pane + .pane { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding-inline: 18px; }
  .top .wrap { justify-content: center; }
  .top nav { justify-content: center; }
  .hero { padding-block: 36px 24px; }
  .pane { padding: 22px 18px; }
  .founder .card { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .founder .row { justify-content: center; }
  .book .card { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .book img { width: 180px; }
  .book .back { margin-inline: auto; }
  .book .soon { border-left: 0; padding-left: 0; }
}
