:root {
  color-scheme: dark;
  --page: #111110;
  --surface: #181816;
  --surface-raised: #201f1c;
  --line: #2b2a27;
  --line-soft: #232220;
  --text: #eceae4;
  --muted: #aaa79f;
  --quiet: #96938b;
  --accent: #d9ae43;
  --accent-soft: #edcf77;
  --danger: #d98b79;
  --radius: 9px;
  --font-body: "Atkinson Hyperlegible", Arial, sans-serif;
  --font-display: "Recursive", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;
  --font-size-body: 1.125rem;
  --font-size-lead: 1.25rem;
  --font-size-support: 1.125rem;
  --font-size-label: 1rem;
  --font-size-metadata: .875rem;
  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  background: var(--page);
  color: var(--text);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 78px; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--text);
  font-size: var(--font-size-body);
  line-height: 1.6;
}

button, input { font: inherit; }

a { color: inherit; text-decoration: none; }

a:hover { color: var(--accent-soft); }

button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--accent);
  color: #17140c;
  padding: 8px 12px;
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  height: 56px;
  border-bottom: 1px solid #292825;
  background: #111110;
}

.header-inner {
  width: min(100% - 48px, 1240px);
  height: 100%;
  display: flex;
  align-items: center;
  margin: 0 auto;
  gap: 34px;
}

.brand { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font-size: var(--font-size-label); font-weight: 700; }

.brand-mark {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 5px;
  background: #3b82f6;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.top-nav { display: flex; align-items: center; gap: 29px; color: #b6b2a8; font-size: var(--font-size-label); }
.top-nav a, .header-cta { white-space: nowrap; }
.top-nav a:hover { color: var(--text); }

.header-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #eceae4;
  border-radius: 6px;
  background: #e8e6df;
  color: #171715;
  padding: 8px 12px;
  font-size: var(--font-size-label);
  font-weight: 700;
}

.header-cta:hover { background: #fff; color: #171715; }
.header-cta span { font-size: 13px; }

.page-shell {
  width: min(100% - 48px, 1240px);
  display: grid;
  grid-template-columns: minmax(0, 850px) 276px;
  gap: 48px;
  align-items: start;
  margin: 0 auto;
  padding: 26px 0 112px;
}

.main-column { min-width: 0; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--quiet);
  font: var(--font-size-metadata)/1.5 var(--font-mono);
}

.breadcrumbs a { color: #b6b2a8; }
.breadcrumbs span:last-child { color: var(--text); }

.hero-block { padding-top: 35px; }

.hero-block h1 {
  max-width: 760px;
  margin: 0 0 14px;
  color: #efeee9;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.hero-block > p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: var(--font-size-lead);
  line-height: 1.6;
}

.hero-block > p strong { color: #e9e7e0; font-weight: 700; }

.scan-form {
  margin-top: 27px;
  padding: 0;
}

.scan-input-row { display: flex; gap: 6px; }

.scan-input-row input {
  min-width: 0;
  flex: 1;
  height: 43px;
  border: 1px solid #292825;
  border-radius: 7px;
  background: #201f1c;
  color: var(--text);
  padding: 0 13px;
  font: var(--font-size-label) var(--font-mono);
}

.scan-input-row input::placeholder { color: #96938b; opacity: 1; }
.scan-input-row input:disabled { opacity: .65; }

.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: var(--font-size-label);
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .6; cursor: wait; transform: none; }
.button-primary { background: #e7e5de; color: #161614; padding: 0 16px; }
.button-primary:hover { background: #fff; color: #161614; }
.button-arrow { font-size: 14px; font-weight: 400; }
.button-secondary { background: #e7e5de; color: #161614; padding: 0 13px; }
.button-secondary:hover { background: #fff; color: #161614; }
.button-quiet { border-color: var(--line); background: transparent; color: #d0cdc5; padding: 0 13px; }
.button-quiet:hover { border-color: #57544d; background: #1c1b19; color: var(--text); }

.scan-note {
  padding: 7px 5px 1px;
  color: var(--quiet);
  font-size: var(--font-size-support);
  line-height: 1.5;
}

.scan-note span { color: #b0ada5; }

.text-link { color: var(--accent-soft); text-decoration: underline; text-decoration-color: #6c592d; text-underline-offset: 3px; }
.text-link:hover { text-decoration-color: currentColor; }
.status-mark { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); }

.scan-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #36342f;
  border-radius: 7px;
  background: #191916;
  color: #d4d0c5;
  font-size: var(--font-size-support);
}

.scan-status[hidden] { display: none; }
.scan-status.status-error { align-items: flex-start; border-color: #533f38; color: #e0b9aa; }
.scan-status.status-error .status-mark { margin-top: 6px; background: var(--danger); }
.spinner { width: 14px; height: 14px; flex: 0 0 auto; border: 1.5px solid #59564d; border-top-color: var(--accent); border-radius: 50%; animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.examples-section { margin-top: 39px; }
.section-kicker-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-kicker-row h2, .guide-section h2, .found-section h2, .badge-section h2, .report-method-note h2, .check-another h2 {
  margin: 0;
  color: #e6e4de;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.35;
}

.section-kicker-row p { margin: 5px 0 0; color: var(--quiet); font-size: var(--font-size-label); line-height: 1.5; }
.micro-label { color: #aaa79f; font: var(--font-size-metadata) var(--font-mono); letter-spacing: .08em; white-space: nowrap; }

.example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; margin-top: 14px; border-top: 1px solid var(--line); }

.example-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  background: transparent;
  padding: 7px 4px;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.example-card:nth-last-child(-n + 2) { border-bottom: 0; }
.example-card:hover { border-color: #49463e; background: transparent; color: var(--text); }
.site-favicon { width: 25px; height: 25px; display: grid; place-items: center; color: #aaa69b; font: var(--font-size-metadata) var(--font-mono); }
.example-copy { display: grid; min-width: 0; gap: 1px; }
.example-copy strong { overflow: hidden; color: #dad8d1; font: var(--font-size-label) var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.example-copy small { color: #96938b; font-size: var(--font-size-metadata); }
.example-score { color: #dedbd3; font: 19px var(--font-mono); letter-spacing: -.08em; }
.example-score small { font-size: var(--font-size-metadata); letter-spacing: 0; }
.source-note { margin: 8px 2px 0; color: #96938b; font-size: var(--font-size-metadata); }

.guide-content { margin-top: 69px; }
.guide-section { margin: 0 0 48px; scroll-margin-top: 80px; }
.guide-section h2 { margin-bottom: 14px; font-size: 26px; letter-spacing: -.015em; }
.guide-section > p { max-width: 65ch; margin: 0; color: #b6b3ab; font-size: var(--font-size-support); line-height: 1.65; }
.guide-section a { color: #d5c48f; text-decoration: underline; text-decoration-color: #625637; text-underline-offset: 3px; }

.method-list { display: grid; gap: 17px; margin: 16px 0 0; padding: 0; list-style: none; }
.method-list li { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 10px; }
.method-index { padding-top: 2px; color: #96938b; font: var(--font-size-metadata) var(--font-mono); letter-spacing: .035em; }
.method-list h3 { margin: 0 0 4px; color: #d9d6ce; font-size: var(--font-size-body); font-weight: 700; }
.method-list p { max-width: 65ch; margin: 0; color: #aaa79f; font-size: var(--font-size-support); line-height: 1.6; }

.score-table { margin-top: 18px; border-top: 1px solid var(--line); }
.score-table-head, .score-row { display: grid; grid-template-columns: 88px minmax(130px, .8fr) minmax(0, 1.4fr); gap: 16px; align-items: center; }
.score-table-head { min-height: 35px; color: #96938b; font: var(--font-size-metadata) var(--font-mono); }
.score-row { min-height: 48px; border-top: 1px solid var(--line-soft); font-size: var(--font-size-label); }
.score-range { color: #c2beb4; font: var(--font-size-label) var(--font-mono); }
.score-range i { padding: 0 4px; color: #6f6c64; font-style: normal; }
.score-row strong { color: #dcd9d1; font-weight: 700; }
.score-row > span:last-child { color: #aaa79f; }
.formula-note { margin: 12px 0 0 !important; color: #aaa79f !important; font-size: var(--font-size-support) !important; }

.rubric-heading { align-items: flex-start; }
.rubric-heading p { max-width: 65ch; margin-top: 7px; color: #aaa79f; font-size: var(--font-size-support); line-height: 1.6; }
.rubric-category { margin-top: 24px; }
.rubric-category > h3, .result-category > h3 { margin: 0; padding-bottom: 9px; border-bottom: 1px solid var(--line); color: #c8c5bd; font-size: var(--font-size-support); font-weight: 700; }
.tells-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.tell-card { min-width: 0; padding: 12px 0 13px; border-bottom: 1px solid var(--line-soft); }
.tell-card h4 { margin: 0 0 4px; color: #d0cdc5; font-size: var(--font-size-label); font-weight: 700; line-height: 1.45; }
.tell-card p { margin: 0; color: #aaa79f; font-size: var(--font-size-support); line-height: 1.55; }
.tell-card p span { color: #c8c4ba; font-weight: 700; }
.tell-rule-details { margin: 5px 0; }
.tell-rule-details summary { width: fit-content; color: #c0bcb2; font-size: var(--font-size-label); cursor: pointer; }
.tell-rule-details summary:hover { color: var(--accent-soft); }
.tell-rule-details p { padding: 5px 0 2px; color: #aaa79f; }
.tell-card .tell-fix { margin-top: 5px; }

.side-column { padding-top: 44px; }
.side-card { border: 1px solid #3d3828; border-radius: 9px; background: #1d1b15; padding: 15px; }
.side-card + .side-card { margin-top: 14px; }
.side-column .side-card { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; padding: 15px 0 17px; }
.side-column .side-card + .side-card { margin-top: 10px; }
.side-card-heading, .key-card-top { display: flex; align-items: center; gap: 8px; color: #cbb066; font: var(--font-size-metadata) var(--font-mono); letter-spacing: .06em; }
.side-icon { color: #d5b044; font-size: 14px; }
.fact-item { display: grid; grid-template-columns: 42px 1fr; gap: 8px; align-items: start; margin-top: 17px; }
.fact-number { padding-top: 2px; color: #d5ad49; font: var(--font-size-metadata) var(--font-mono); }
.fact-item strong, .fact-item small { display: block; }
.fact-item strong { color: #dedbd3; font-size: var(--font-size-label); font-weight: 700; }
.fact-item small { margin-top: 2px; color: #aaa79f; font-size: var(--font-size-support); line-height: 1.5; }
.side-card-link { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding: 8px 10px; border: 1px solid #4b432d; border-radius: 5px; color: #e0c46f; font-size: var(--font-size-label); font-weight: 700; }
.side-card-link:hover { background: #2a261b; color: #f3d880; }
.side-column .side-card-link { display: inline-flex; justify-content: flex-start; gap: 10px; margin-top: 13px; padding: 0; border: 0; border-radius: 0; background: transparent; text-decoration: underline; text-decoration-color: #6c592d; text-underline-offset: 3px; }
.side-column .side-card-link:hover { background: transparent; color: var(--accent-soft); }
.key-card { border-color: #2c2b26; background: #181816; }
.key-card-top { color: #aaa69b; }
.key-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.key-card h2 { margin: 13px 0 6px; color: #e2dfd8; font-size: var(--font-size-body); font-weight: 700; }
.key-card p { margin: 0; color: #aaa79f; font-size: var(--font-size-support); line-height: 1.6; }
.key-card .side-card-link { border-color: #32312b; color: #d0cdc4; }
.key-card .side-card-link:hover { background: #21201d; }
.side-column .key-card { border-bottom: 1px solid var(--line); }
.side-disclaimer { margin: 13px 2px 0; color: #96938b; font-size: var(--font-size-metadata); line-height: 1.55; }

.site-footer { border-top: 1px solid #242320; background: #10100f; }
.footer-inner { width: min(100% - 48px, 1240px); display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 20px 35px; margin: 0 auto; padding: 26px 0 30px; }
.footer-inner strong { color: #d0cdc5; font-size: var(--font-size-label); }
.footer-inner p { margin: 5px 0 0; color: #96938b; font-size: var(--font-size-metadata); }
.footer-links { display: flex; align-items: flex-start; gap: 20px; color: #aaa79f; font-size: var(--font-size-metadata); }
.footer-note { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid #22211f; }

.report-loading { min-height: 45vh; display: block; }
.loading-line { display: flex; align-items: center; gap: 10px; color: #bdb9b0; }
.report-summary { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: center; gap: 24px; margin-top: 34px; }
.report-score-block { display: grid; justify-items: center; gap: 9px; }
.score-ring { width: 138px; height: 138px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--score) * 1%), #292824 0); }
.score-ring-inner { width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #141412; }
.score-ring-inner strong { color: #f0eee7; font: 39px/1 var(--font-mono); letter-spacing: -.08em; }
.score-ring-inner span { align-self: center; margin: 9px 0 0 5px; color: #aaa79f; font: var(--font-size-metadata) var(--font-mono); }
.score-band { color: #d2bf7d; font-size: var(--font-size-metadata); font-weight: 700; }
.report-title-copy { min-width: 0; }
.report-domain { display: inline-block; color: #d1cdc3; font: var(--font-size-label) var(--font-mono); }
.report-domain span { color: #aaa79f; font-size: var(--font-size-metadata); }
.report-title-copy h1 { margin: 8px 0; color: #e8e6df; font-family: var(--font-display); font-size: clamp(30px, 3vw, 38px); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.report-title-copy h1 span { color: #e4c46b; }
.report-verdict { max-width: 65ch; margin: 0; color: #c0bcb2; font-size: var(--font-size-support); line-height: 1.6; }
.report-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.report-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; margin-top: 30px; border-top: 1px solid var(--line); }
.report-meta-grid > div { min-width: 0; display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.report-meta-grid span { color: #96938b; font: var(--font-size-metadata) var(--font-mono); }
.report-meta-grid strong { overflow-wrap: anywhere; color: #c2bfb6; font-size: var(--font-size-label); font-weight: 700; line-height: 1.45; }
.found-section { margin-top: 42px; }
.found-list { margin-top: 17px; border-top: 1px solid var(--line); }
.found-item { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 15px; align-items: start; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.found-item h3 { margin: 0; color: #d9d6ce; font-size: var(--font-size-body); font-weight: 700; }
.found-item p { margin: 4px 0 0; color: #aaa79f; font-size: var(--font-size-support); line-height: 1.55; }
.found-item > strong { color: #e2c56e; font: 17px var(--font-mono); text-align: right; }
.found-item > strong small { margin-left: 2px; color: #c0b078; font-size: var(--font-size-metadata); }
.low-score-note { display: flex; align-items: center; gap: 10px; margin-top: 17px; padding: 12px 14px; border: 1px solid #2d2c27; border-radius: 7px; background: #171715; }
.low-score-mark { color: #9ab783; font-size: 17px; }
.low-score-note p { margin: 0; color: #b4b1a8; font-size: var(--font-size-support); }
.badge-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 22px; align-items: start; margin-top: 37px; padding: 18px; border: 1px solid #302e29; border-radius: 8px; background: #171715; }
.badge-section h2 { font-size: var(--font-size-body); }
.badge-section p { margin: 6px 0 0; color: #aaa79f; font-size: var(--font-size-support); line-height: 1.55; }
.badge-preview { min-width: 0; display: grid; gap: 10px; }
.badge-preview img { display: block; max-width: 100%; }
.badge-preview code { display: block; overflow-wrap: anywhere; color: #aaa79f; font: var(--font-size-metadata)/1.55 var(--font-mono); }
.all-results-section { margin-top: 42px; }
.result-category { margin-top: 25px; }
.result-list { border-bottom: 1px solid var(--line-soft); }
.result-row { padding: 12px 0; border-bottom: 1px solid var(--line-soft); opacity: .9; }
.result-row:last-child { border-bottom: 0; }
.result-row.is-found { opacity: 1; }
.result-row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.result-row-top strong { color: #cecbc3; font-size: var(--font-size-label); font-weight: 700; }
.result-row.is-found .result-row-top strong { color: #e3dbbc; }
.result-row-top span { color: #a9a59b; font: var(--font-size-label) var(--font-mono); }
.result-row.is-found .result-row-top span { color: #e1c56d; }
.result-row-top small { margin-left: 2px; font-size: var(--font-size-metadata); }
.result-row p { margin: 3px 0 0; color: #aaa79f; font-size: var(--font-size-support); line-height: 1.55; }
.report-method-note { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }
.report-method-note h2 { font-size: var(--font-size-body); }
.report-method-note p { margin: 7px 0 10px; color: #aaa79f; font-size: var(--font-size-support); line-height: 1.6; }
.report-method-note .text-link { font-size: var(--font-size-support); }
.check-another { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.check-another h2 { font-size: var(--font-size-body); }
.check-another p { margin: 4px 0 0; color: #aaa79f; font-size: var(--font-size-support); }
.report-aside-card { border-color: #38352c; background: #191916; }
.summary-score { display: flex; align-items: baseline; margin-top: 18px; color: #e9e6dc; }
.summary-score strong { font: 46px/1 var(--font-mono); letter-spacing: -.1em; }
.summary-score > span { margin-left: 4px; color: #c8b56e; font-size: 14px; }
.summary-score small { align-self: center; margin-left: 10px; color: #aaa79f; font-size: var(--font-size-metadata); }
.summary-band { display: flex; align-items: center; gap: 7px; margin-top: 12px; color: #d0c080; font-size: var(--font-size-metadata); }
.summary-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.summary-divider { margin: 16px 0 7px; border-top: 1px solid #30302a; }
.summary-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; color: #aaa79f; font-size: var(--font-size-metadata); }
.summary-row strong { color: #c9c5bb; font: var(--font-size-metadata) var(--font-mono); text-align: right; }
.report-aside-cta { border-color: #2d2c27; background: #181816; }
.report-aside-cta h2 { margin: 0; color: #dcd9d1; font-size: var(--font-size-label); font-weight: 700; }
.report-aside-cta p { margin: 6px 0 0; color: #aaa79f; font-size: var(--font-size-support); line-height: 1.55; }
.report-aside-cta .side-card-link { border-color: #393832; color: #dedbd1; }
.report-side-column { padding-top: 43px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1260px) {
  .page-shell, .header-inner, .footer-inner { width: min(100% - 40px, 1120px); }
  .page-shell { grid-template-columns: minmax(0, 1fr) 254px; gap: 35px; }
}

@media (max-width: 900px) {
  .page-shell { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .side-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 0; }
  .side-card + .side-card { margin-top: 0; }
  .side-disclaimer { grid-column: 1 / -1; }
  .report-side-column { grid-row: 1; }
}

@media (max-width: 650px) {
  .site-header { height: 54px; }
  .header-inner, .page-shell, .footer-inner { width: min(100% - 32px, 560px); }
  .header-inner { gap: 4px; }
  .brand { font-size: var(--font-size-metadata); }
  .top-nav { gap: 10px; margin-left: auto; font-size: var(--font-size-metadata); }
  .top-nav a:nth-child(2) { display: none; }
  .header-cta { gap: 7px; margin-left: 0; padding: 7px 8px; font-size: var(--font-size-metadata); }
  .page-shell { padding-top: 21px; padding-bottom: 75px; }
  .hero-block { padding-top: 27px; }
  .hero-block h1 { font-size: clamp(33px, 9vw, 43px); letter-spacing: -.03em; }
  .hero-block > p { font-size: var(--font-size-lead); }
  .scan-form { margin-top: 21px; }
  .scan-input-row { flex-direction: column; }
  .scan-input-row input { flex: none; width: 100%; }
  .scan-input-row .button { width: 100%; }
  .scan-note { padding-top: 8px; }
  .examples-section { margin-top: 32px; }
  .example-grid { grid-template-columns: minmax(0, 1fr); }
  .example-card:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line-soft); }
  .example-card:last-child { border-bottom: 0; }
  .guide-content { margin-top: 55px; }
  .guide-section { margin-bottom: 38px; }
  .guide-section h2 { font-size: 24px; }
  .score-table-head, .score-row { grid-template-columns: 84px minmax(102px, .9fr) minmax(0, 1.3fr); gap: 9px; }
  .score-row { font-size: var(--font-size-label); }
  .score-range { font-size: var(--font-size-label); }
  .tells-grid { grid-template-columns: minmax(0, 1fr); }
  .side-column { grid-template-columns: minmax(0, 1fr); }
  .side-disclaimer { grid-column: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 15px; }
  .footer-links { flex-wrap: wrap; }
  .footer-note { grid-column: auto; }
  .report-summary { grid-template-columns: 102px minmax(0, 1fr); gap: 15px; margin-top: 26px; }
  .score-ring { width: 98px; height: 98px; }
  .score-ring-inner { width: 84px; height: 84px; }
  .score-ring-inner strong { font-size: 29px; }
  .score-ring-inner span { font-size: var(--font-size-metadata); }
  .score-band { font-size: var(--font-size-metadata); text-align: center; }
  .report-title-copy h1 { font-size: 30px; letter-spacing: -.02em; }
  .report-verdict { font-size: var(--font-size-support); }
  .report-actions { gap: 5px; }
  .report-actions .button { min-height: 38px; padding: 0 9px; font-size: var(--font-size-label); }
  .report-meta-grid { gap: 0 15px; margin-top: 22px; }
  .report-meta-grid > div { padding: 10px 0; }
  .report-meta-grid strong { font-size: var(--font-size-label); }
  .badge-section { grid-template-columns: 1fr; }
  .check-another { align-items: flex-start; flex-direction: column; }
  .check-another .button { width: 100%; }
  .report-side-column { grid-row: auto; }
}

@media (max-width: 390px) {
  .header-inner, .page-shell, .footer-inner { width: min(100% - 24px, 560px); }
  .top-nav { display: none; }
  .brand { font-size: var(--font-size-metadata); }
  .header-cta { font-size: var(--font-size-metadata); }
  .report-summary { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .score-ring { width: 80px; height: 80px; }
  .score-ring-inner { width: 68px; height: 68px; }
  .score-ring-inner strong { font-size: 24px; }
  .score-ring-inner span { display: none; }
  .score-band { max-width: 86px; }
  .report-title-copy h1 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Home hero and scan illustration */
.home-shell {
  display: block;
  width: min(100% - 48px, 1240px);
  padding-top: 25px;
}

.home-shell > .breadcrumbs { margin-bottom: 30px; }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  margin-bottom: 56px;
}

.hero-copy { min-width: 0; }
.hero-eyebrow { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 0 0 20px; color: var(--accent-soft); font: 12px/1.4 var(--font-mono); letter-spacing: .08em; }
.hero-eyebrow span + span { color: var(--quiet); }
.home-shell .hero-block { padding: 0; }
.home-shell .hero-block h1 { max-width: 710px; margin-bottom: 19px; font-size: clamp(46px, 5vw, 68px); letter-spacing: -.055em; line-height: 1.01; text-wrap: balance; }
.home-shell .hero-block h1 em { color: var(--accent-soft); font-style: normal; }
.home-shell .hero-block > p { max-width: 620px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; text-wrap: pretty; }
.home-shell .scan-form { margin-top: 29px; }
.scan-label { display: block; margin-bottom: 7px; color: #c9c5b9; font-size: 14px; font-weight: 700; }
.home-shell .scan-input-row { gap: 8px; }
.home-shell .scan-input-row input { height: 52px; border-color: #39372f; background: #1c1b18; transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
.home-shell .scan-input-row input:hover { border-color: #575245; }
.home-shell .scan-input-row input:focus { border-color: var(--accent); background: #201f1b; box-shadow: 0 0 0 3px rgb(217 174 67 / 12%); }
.home-shell .scan-input-row .button { min-height: 52px; padding-inline: 19px; }
.home-shell .scan-note { max-width: 620px; padding: 10px 2px 0; font-size: 15px; }
.home-shell .scan-note span { color: #d0cbbd; }

.hero-aside { min-width: 0; }
.scan-visual { overflow: hidden; border: 1px solid #37352e; border-radius: 10px; background: #171715; box-shadow: 0 24px 60px rgb(0 0 0 / 18%); }
.visual-topline { display: flex; justify-content: space-between; gap: 12px; padding: 15px 16px 0; color: #aaa69a; font: 11px/1.4 var(--font-mono); letter-spacing: .06em; }
.visual-topline span:first-child { color: #e1c979; }
.visual-stage { position: relative; height: 248px; overflow: hidden; margin: 0 12px; background: radial-gradient(ellipse at 50% 50%, rgb(217 174 67 / 10%), transparent 55%); }
.visual-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgb(228 224 209 / 12%) 1px, transparent 1px), linear-gradient(90deg, rgb(228 224 209 / 12%) 1px, transparent 1px); background-size: 27px 27px; mask-image: radial-gradient(ellipse at center, #000 10%, transparent 74%); }
.signal-orbit { position: absolute; top: 50%; left: 50%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.signal-orbit-outer { width: 87%; background: repeating-conic-gradient(from 1deg, rgb(217 174 67 / 80%) 0deg 1deg, transparent 1deg 10.588deg); mask: radial-gradient(circle, transparent 0 84%, #000 84.7% 100%); opacity: .44; }
.orbit-tick { position: absolute; top: 0; left: 50%; width: 1px; height: 14px; background: var(--accent-soft); transform: translateX(-50%); }
.orbit-node { position: absolute; width: 7px; height: 7px; border: 1px solid #e0c46f; border-radius: 50%; background: #171715; box-shadow: 0 0 13px rgb(217 174 67 / 50%); }
.orbit-node-one { top: 28%; right: 8%; }
.orbit-node-two { bottom: 17%; left: 14%; width: 5px; height: 5px; }
.signal-orbit-inner { width: 63%; border: 1px solid rgb(217 174 67 / 19%); background: conic-gradient(from 188deg, transparent 0 59%, rgb(217 174 67 / 7%) 65%, rgb(217 174 67 / 41%) 70%, transparent 77%); animation: orbit-turn 18s linear infinite; }
.signal-orbit-inner::before, .signal-orbit-inner::after { position: absolute; inset: 12%; border: 1px solid rgb(217 174 67 / 15%); border-radius: 50%; content: ""; }
.signal-orbit-inner::after { inset: 25%; border-color: rgb(217 174 67 / 12%); }
.orbit-sweep { position: absolute; top: 50%; left: 50%; width: 50%; height: 1px; background: linear-gradient(90deg, rgb(217 174 67 / 42%), transparent); transform-origin: left center; }
.page-specimen { position: absolute; top: 50%; left: 50%; width: 43%; height: 73%; overflow: hidden; border: 1px solid #71653e; border-radius: 4px; background: #d9d7cf; box-shadow: 0 0 0 5px rgb(12 12 11 / 58%), 0 12px 40px rgb(0 0 0 / 42%); transform: translate(-50%, -50%) rotate(-3deg); animation: specimen-float 5.5s ease-in-out infinite; }
.specimen-browser { height: 11%; display: flex; align-items: center; gap: 4px; padding: 0 7px; border-bottom: 1px solid #bebcb5; background: #efeee9; }
.specimen-browser i { width: 4px; height: 4px; border-radius: 50%; background: #a6a49c; }
.specimen-browser span { height: 3px; flex: 1; margin-left: 5px; border-radius: 2px; background: #d0cec7; }
.specimen-content { position: relative; display: flex; flex-direction: column; gap: 5px; padding: 13px 10px; }
.specimen-kicker { width: 24%; height: 3px; margin: 0 auto 2px; background: #9c8b58; }
.specimen-title { width: 86%; height: 7px; margin: 0 auto; background: #363631; }
.specimen-title-short { width: 58%; margin-bottom: 3px; }
.specimen-copy { width: 92%; height: 3px; margin: 0 auto; background: #a5a39b; }
.specimen-copy-short { width: 67%; margin-bottom: 6px; }
.specimen-blocks { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 4px; height: 52px; margin-top: 2px; }
.specimen-blocks i { border: 1px solid #c5c2b8; background: linear-gradient(145deg, #b8b4a6 0 35%, #d1cec4 35%); }
.specimen-blocks i:nth-child(2) { background: linear-gradient(160deg, #a8aa9e 0 45%, #c9c8bf 45%); }
.specimen-blocks i:nth-child(3) { background: linear-gradient(135deg, #d3c49a 0 40%, #b0aa98 40%); }
.specimen-scanline { position: absolute; z-index: 2; top: -20%; left: 0; width: 100%; height: 12%; background: linear-gradient(180deg, transparent, rgb(217 174 67 / 28%), transparent); animation: scan-sweep 4.4s ease-in-out infinite; }
.signal-label { position: absolute; padding: 4px 6px; border: 1px solid #494432; background: #171715; color: #d0c58e; font: 9px/1 var(--font-mono); letter-spacing: .08em; }
.signal-label-type { top: 22%; left: 5%; }
.signal-label-color { top: 29%; right: 4%; }
.signal-label-layout { bottom: 19%; left: 8%; }
.visual-readout { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 13px; padding: 13px 16px 15px; border-top: 1px solid #302e28; }
.visual-readout > div { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; align-items: baseline; }
.visual-readout strong { grid-row: span 2; color: #e6d087; font: 23px/1 var(--font-mono); letter-spacing: -.08em; }
.visual-readout div span { color: #aaa69a; font-size: 11px; line-height: 1.2; }
.readout-wave { height: 28px; display: flex; align-items: center; gap: 2px; }
.readout-wave i { width: 2px; height: 25%; background: #8d793b; transform-origin: center; animation: wave-shift 1.1s ease-in-out infinite alternate; }
.readout-wave i:nth-child(3n) { animation-delay: -.3s; }
.readout-wave i:nth-child(3n + 1) { animation-delay: -.7s; }
.readout-wave i:nth-child(4n) { animation-duration: .8s; }

.home-shell .hero-aside .key-card { margin-top: 14px; padding: 13px 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-shell .key-card h2 { margin-top: 9px; }
.home-shell .key-card p { font-size: 14px; }
.home-shell .key-card .side-card-link { display: inline-flex; width: auto; margin-top: 8px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--accent-soft); font-size: 14px; text-decoration: underline; text-decoration-color: #6c592d; text-underline-offset: 3px; }
.home-shell .side-disclaimer { max-width: 38ch; margin-top: 10px; font-size: 12px; }

/* Tactile states and small data visuals */
.button { transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms cubic-bezier(.2,.8,.2,1), box-shadow 180ms ease; }
.button:active { transform: translateY(1px) scale(.985); }
.header-cta { transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgb(232 230 223 / 10%); }
.top-nav a { position: relative; transition: color 160ms ease; }
.top-nav a::after { position: absolute; right: 0; bottom: -5px; left: 0; height: 1px; background: var(--accent); content: ""; transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.top-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.example-card { transition: color 170ms ease, transform 170ms ease, background-color 170ms ease; }
.example-card:hover { transform: translateX(3px); }
.example-copy { gap: 2px; }
.example-meter { height: 2px; display: block; overflow: hidden; margin-top: 5px; background: #302e28; }
.example-meter i { width: var(--score); height: 100%; display: block; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 620ms cubic-bezier(.2,.8,.2,1) 150ms; }
.example-card:hover .example-meter i { transform: scaleX(1); }
.examples-section.is-visible .example-meter i { transform: scaleX(1); }
.example-score { font-variant-numeric: tabular-nums; }
.score-ring { animation: score-arrive 680ms cubic-bezier(.2,.8,.2,1) both; }
.result-meter { height: 3px; overflow: hidden; margin-top: 8px; background: #282722; }
.result-meter span { width: var(--probability); height: 100%; display: block; background: #98813c; transform: scaleX(0); transform-origin: left; transition: transform 700ms cubic-bezier(.2,.8,.2,1) 120ms; }
.result-row.is-found .result-meter span { background: var(--accent); }
.all-results-section.is-visible .result-meter span { transform: scaleX(1); }
.tell-card, .found-item, .result-row { transition: background-color 180ms ease, border-color 180ms ease; }
.tell-card:hover, .found-item:hover, .result-row:hover { background: rgb(255 255 255 / 1.2%); }
.side-card-link { transition: color 170ms ease, transform 170ms ease; }
.side-card-link:hover { transform: translateX(2px); }
.tell-rule-details summary { transition: color 150ms ease; }

/* Content reveals use IntersectionObserver and only run when motion is allowed. */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 650ms cubic-bezier(.2,.75,.25,1) var(--reveal-delay, 0ms), transform 650ms cubic-bezier(.2,.75,.25,1) var(--reveal-delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.home-hero[data-reveal] { transform: translateY(12px); }

@keyframes orbit-turn { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes specimen-float { 0%, 100% { transform: translate(-50%, -50%) rotate(-3deg); } 50% { transform: translate(-50%, calc(-50% - 5px)) rotate(-2deg); } }
@keyframes scan-sweep { 0%, 12% { transform: translateY(0); opacity: 0; } 24% { opacity: 1; } 72% { opacity: .65; } 88%, 100% { transform: translateY(980%); opacity: 0; } }
@keyframes wave-shift { to { transform: scaleY(3.3); opacity: .6; } }
@keyframes score-arrive { from { opacity: .45; transform: scale(.92) rotate(-12deg); } to { opacity: 1; transform: scale(1) rotate(0); } }

@media (max-width: 900px) {
  .home-shell { width: min(100% - 40px, 760px); }
  .home-hero { grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr); gap: 28px; }
  .home-shell .hero-block h1 { font-size: clamp(43px, 6vw, 58px); }
  .visual-stage { height: 228px; }
  .visual-readout { gap: 7px; padding-inline: 12px; }
  .visual-readout strong { font-size: 20px; }
}

@media (max-width: 700px) {
  .home-shell { width: min(100% - 32px, 560px); }
  .home-shell > .breadcrumbs { margin-bottom: 25px; }
  .home-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 43px; }
  .hero-eyebrow { margin-bottom: 15px; font-size: 10px; }
  .home-shell .hero-block h1 { max-width: 540px; font-size: clamp(42px, 11vw, 60px); }
  .home-shell .hero-block > p { font-size: 18px; }
  .home-shell .scan-form { margin-top: 22px; }
  .home-shell .scan-input-row { flex-direction: column; }
  .home-shell .scan-input-row input, .home-shell .scan-input-row .button { width: 100%; }
  .visual-stage { height: 270px; }
  .visual-readout { gap: 13px; }
}

@media (max-width: 390px) {
  .home-shell { width: min(100% - 24px, 560px); }
  .visual-stage { height: 252px; }
  .visual-readout { grid-template-columns: 1fr 1fr; }
  .readout-wave { display: none; }
  .visual-readout div span { font-size: 10px; }
  .home-shell .hero-block h1 { font-size: 41px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal].is-visible { opacity: 1; transform: none; }
  .scan-visual *, .score-ring, .result-meter span, .example-meter i { animation: none !important; transition: none !important; }
  .result-meter span, .example-meter i { transform: scaleX(1); }
}
