/* Fire Product Record — server-rendered public site.
   Hand-written; no build step. Tokens mirror docs/DESIGN.md and the Tailwind palette used by
   the SPA, so the two halves of the application look like one product. */

:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --surface: #ffffff;
  --canvas: #f8fafc;
  --accent: #1d4ed8;
  --accent-soft: #dbeafe;
  --ok: #047857;
  --ok-soft: #d1fae5;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --danger: #b91c1c;
  --danger-soft: #fee2e2;
  --info: #0369a1;
  --info-soft: #e0f2fe;

  --radius: 6px;
  --radius-lg: 8px;
  --shadow: 0 1px 2px rgb(15 23 42 / 0.06);
  --shell: 1120px;
  --shell-narrow: 760px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--canvas);
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem);
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.15rem;
}
h4 {
  font-size: 1rem;
}
h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

p {
  margin: 0 0 1em;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-underline-offset: 2px;
}
a:hover {
  color: #1e40af;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

code {
  font-family: var(--mono);
  font-size: 0.85em;
  word-break: break-all;
}

img,
svg {
  max-width: 100%;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}
.shell-narrow {
  max-width: var(--shell-narrow);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

/* Header ------------------------------------------------------------------------------------ */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  min-height: 64px;
  padding-block: 10px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark-mark {
  color: var(--accent);
  flex: none;
}
.site-nav {
  flex: 1 1 auto;
}
.site-nav ul,
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px 18px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.94rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* Buttons ----------------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 9px 16px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: #1e293b;
  color: #fff;
}
.btn-quiet {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-quiet:hover {
  border-color: var(--muted);
  color: var(--ink);
}

/* Sections and hero -------------------------------------------------------------------------- */

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 64px;
}
.hero-topic {
  padding: 56px 0 44px;
}
.hero h1 {
  max-width: 20ch;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-note,
.muted-line {
  color: var(--muted);
  font-size: 0.9rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}

.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.section-tint {
  background: var(--surface);
}
.section-heading {
  max-width: 26ch;
}
.lede {
  font-size: 1.08rem;
  max-width: 68ch;
  margin-bottom: 28px;
}
.section-action {
  margin-top: 24px;
}

.prose {
  max-width: 68ch;
}
.prose-wide {
  max-width: 78ch;
}
.prose h2 {
  margin-top: 1.6em;
}
.prose h3,
.prose h4 {
  margin-top: 1.4em;
}
.two-col {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: start;
}

/* Lists -------------------------------------------------------------------------------------- */

.tick-list,
.link-list,
.plain-list,
.constraint-list,
.scope-list,
.variant-list,
.component-list,
.file-list,
.hash-list {
  list-style: none;
  margin: 1em 0 0;
  padding: 0;
}
.tick-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
}
.tick-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}
.tick-list-wide {
  columns: 2;
  column-gap: 40px;
}
.link-list li,
.plain-list li,
.constraint-list li,
.scope-list li,
.variant-list li,
.component-list li,
.file-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.link-list a {
  font-weight: 500;
}

/* Cards and grids ---------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}
.section-tint .card {
  background: var(--canvas);
}
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.card-link:hover {
  border-color: var(--accent);
}
.card-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}
.card-heading {
  font-size: 1.02rem;
}
.card-body p:last-child {
  margin-bottom: 0;
}

/* Badges and callouts ------------------------------------------------------------------------ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  background: var(--canvas);
  white-space: nowrap;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.badge-ink {
  color: var(--ink);
  background: var(--line);
  border-color: var(--line-strong);
}
.badge-accent {
  color: #1e3a8a;
  background: var(--accent-soft);
  border-color: #bfdbfe;
}
.badge-ok {
  color: var(--ok);
  background: var(--ok-soft);
  border-color: #a7f3d0;
}
.badge-warn {
  color: var(--warn);
  background: var(--warn-soft);
  border-color: #fde68a;
}
.badge-danger {
  color: var(--danger);
  background: var(--danger-soft);
  border-color: #fecaca;
}
.badge-info {
  color: var(--info);
  background: var(--info-soft);
  border-color: #bae6fd;
}

.callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--muted);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px 20px;
  margin: 24px 0 0;
  max-width: 78ch;
}
.section-tint .callout {
  background: var(--canvas);
}
.callout-heading {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.callout-accent {
  border-left-color: var(--accent);
}
.callout-warn {
  border-left-color: var(--warn);
}
.callout-info {
  border-left-color: var(--info);
}
.callout-ok {
  border-left-color: var(--ok);
}
.callout-danger {
  border-left-color: var(--danger);
}

.disclaimer {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 24px;
  max-width: 82ch;
}
.disclaimer-heading {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.cta-band {
  background: var(--ink);
  color: #cbd5e1;
  padding: 56px 0;
}
.cta-band h2 {
  color: #fff;
  max-width: 24ch;
}
.cta-band p {
  max-width: 62ch;
}
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.cta-band .btn-primary {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.cta-band .btn-quiet {
  background: transparent;
  border-color: #475569;
  color: #fff;
}

/* Definition rows ---------------------------------------------------------------------------- */

.def-list,
.entry-meta,
.record-facts,
.plan-limits,
.status-list {
  margin: 0;
}
.def-row,
.status-row {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 8px 20px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.def-row dt,
.status-row dt {
  color: var(--muted);
  font-size: 0.9rem;
}
.def-row dd,
.status-row dd {
  margin: 0;
  color: var(--ink-soft);
}
.def-list-wide .def-row {
  grid-template-columns: minmax(160px, 240px) 1fr;
}
.status-list {
  max-width: 82ch;
}

/* Diagrams ----------------------------------------------------------------------------------- */

.figure {
  margin: 0;
}
.figure-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
}
.diagram {
  height: auto;
  max-width: 100%;
  min-width: 520px;
}
.figure figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 74ch;
  margin-top: 12px;
}
.d-box {
  fill: var(--surface);
  stroke: var(--ink);
  stroke-width: 1.4;
}
.section-tint .d-box {
  fill: var(--canvas);
}
.d-box-ghost {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.2;
}
.d-box-claim {
  fill: var(--accent-soft);
}
.d-box-scope {
  fill: var(--canvas);
  stroke: var(--line-strong);
  stroke-dasharray: 4 3;
}
.d-label {
  fill: var(--ink);
  font: 600 13px/1 var(--font);
  letter-spacing: 0.04em;
}
.d-node-label {
  fill: var(--ink);
  font: 500 14px/1 var(--font);
}
.d-sub,
.d-note {
  fill: var(--muted);
  font: 400 12.5px/1 var(--font);
}
.d-line {
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.4;
  stroke-linecap: round;
}
.d-arrowhead {
  fill: var(--ink-soft);
}
.d-dot {
  fill: var(--accent);
}
.glyph-row {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 68ch;
}
.qr-glyph {
  color: var(--ink);
  flex: none;
}

/* Tables ------------------------------------------------------------------------------------- */

.table-scroll {
  overflow-x: auto;
  margin: 12px 0 0;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  min-width: 520px;
}
.data-table th,
.data-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px 10px 0;
  border-bottom: 1px solid var(--line);
}
.data-table thead th {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  border-bottom-color: var(--line-strong);
}
.data-table tbody th {
  font-weight: 600;
  color: var(--ink);
}

/* Forms -------------------------------------------------------------------------------------- */

.field {
  margin-bottom: 18px;
}
.field label,
.question legend {
  display: block;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.req {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.85rem;
}
input[type='text'],
input[type='email'],
select,
textarea {
  width: 100%;
  max-width: 40rem;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 9px 12px;
}
textarea {
  resize: vertical;
}
.field-invalid input,
.field-invalid textarea {
  border-color: var(--danger);
}
.field-help {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 6px 0 0;
  max-width: 52ch;
}
.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  margin: 6px 0 0;
}
.form-error {
  border: 1px solid #fecaca;
  border-left: 3px solid var(--danger);
  background: var(--danger-soft);
  color: #7f1d1d;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 24px;
  max-width: 68ch;
}
.form-actions {
  margin: 24px 0 0;
}
.field-grid {
  display: grid;
  gap: 0 24px;
  grid-template-columns: 1fr;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.beta-form,
.checklist-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 800px;
}
.section-tint .beta-form,
.section-tint .checklist-form {
  background: var(--canvas);
}
.form-lede {
  color: var(--muted);
  max-width: 60ch;
}

/* Checklist ---------------------------------------------------------------------------------- */

.question-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  counter-reset: none;
}
.question {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.question fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.question legend {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.question-number {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  min-width: 1.6em;
}
.question-text {
  flex: 1;
}
.question-why {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 10px 2.2em;
  max-width: 60ch;
}
.radio-row {
  display: flex;
  gap: 10px;
  margin-left: 2.2em;
}
.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 7px 16px;
  cursor: pointer;
  font-weight: 400;
  margin-bottom: 0;
  background: var(--surface);
}
.radio:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}
.checklist-progress {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 16px;
}

.result-summary {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  align-items: start;
}
.result-score {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.result-percent {
  font-size: 3rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin: 12px 0;
}
.meter {
  height: 10px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.meter-fill {
  height: 100%;
  background: var(--muted);
}
.meter-strong {
  background: var(--ok);
}
.meter-some_gaps {
  background: var(--warn);
}
.meter-significant_gaps {
  background: var(--danger);
}
.gap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: gap;
}
.gap {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  max-width: 78ch;
}
.gap h3 {
  font-size: 1.02rem;
}
.gap-why {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}
.gap-why-label {
  color: var(--ink-soft);
  font-weight: 600;
}

/* Pricing ------------------------------------------------------------------------------------ */

.plan-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.plan-featured {
  border-color: var(--accent);
}
.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.plan-head h3 {
  margin: 0;
}
.price {
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin: 12px 0 4px;
}
.price-unit {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
}
.plan-headline {
  color: var(--muted);
  font-size: 0.93rem;
}
.plan-limits {
  margin: 8px 0;
}
.plan .tick-list {
  flex: 1;
  font-size: 0.93rem;
}
.plan-action {
  margin: 20px 0 0;
}
.pricing-teaser {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  align-items: start;
}
.price-note {
  margin-top: 20px;
}

/* FAQ ---------------------------------------------------------------------------------------- */

.faq {
  max-width: 78ch;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 500;
  color: var(--ink);
  list-style-position: outside;
}
.faq-body {
  padding: 0 0 16px 4px;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* Tracker ------------------------------------------------------------------------------------ */

.entry-list {
  display: grid;
  gap: 20px;
}
.entry {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.section-tint .entry {
  background: var(--canvas);
}
.entry-head h3 {
  margin-bottom: 8px;
}
.entry-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.entry-meta {
  margin-bottom: 16px;
}
.entry .prose h4 {
  margin-top: 1.2em;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.entry-foot {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 14px;
  font-size: 0.9rem;
}
.entry-source-label {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.entry-checked {
  margin: 4px 0 0;
}

/* Articles ----------------------------------------------------------------------------------- */

.breadcrumbs {
  margin: 24px 0 8px;
  font-size: 0.88rem;
}
.breadcrumbs ol {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
}
.breadcrumbs li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--line-strong);
}

.article,
.legal {
  padding: 8px 0 56px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.article-head {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.article-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 66ch;
}
.article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
}
.article-body {
  max-width: none;
}
.article-body section {
  margin-bottom: 8px;
}
.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  max-width: 78ch;
}
.article-item h2 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.article-item h2 a {
  text-decoration: none;
}
.article-item h2 a:hover {
  text-decoration: underline;
}
.article-sources,
.article-related {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.article-sources ul {
  padding-left: 20px;
}
.article-sources li {
  margin-bottom: 8px;
  font-size: 0.94rem;
}
.draft-note {
  border: 1px solid #fde68a;
  border-left: 3px solid var(--warn);
  background: var(--warn-soft);
  color: #78350f;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 24px 0;
  max-width: 74ch;
}
.draft-note-heading {
  font-weight: 600;
  margin-bottom: 6px;
}
.draft-note .muted-line {
  color: #92400e;
}

/* Public product record ---------------------------------------------------------------------- */

.body-record .section {
  padding: 40px 0;
}
.record-banners {
  padding: 16px 0 0;
}
.banner {
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  background: var(--surface);
}
.banner strong {
  color: var(--ink);
}
.banner-current {
  border-left: 3px solid var(--ok);
  background: var(--ok-soft);
  color: #064e3b;
}
.banner-superseded {
  border-left: 3px solid var(--warn);
  background: var(--warn-soft);
  color: #78350f;
  font-size: 1rem;
}
.banner-withdrawn {
  border-left: 3px solid var(--danger);
  background: var(--danger-soft);
  color: #7f1d1d;
}
.banner-demo {
  border-left: 3px solid var(--info);
  background: var(--info-soft);
  color: #0c4a6e;
}
.banner-empty {
  border-left: 3px solid var(--muted);
}

.record-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 24px 0 40px;
}
.record-lede {
  max-width: 70ch;
  color: var(--ink-soft);
}
.record-summary {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: start;
  margin-top: 24px;
}
.record-qr {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  background: var(--canvas);
  justify-self: start;
}
.record-qr img {
  display: block;
  margin: 0 auto 8px;
}
.record-links {
  font-size: 0.9rem;
  margin: 0;
}

.claim-grid,
.evidence-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.claim,
.evidence-card,
.configuration {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.section-tint .claim,
.section-tint .evidence-card,
.section-tint .configuration {
  background: var(--canvas);
}
.configuration {
  margin-bottom: 20px;
}
.claim-head,
.evidence-head,
.configuration-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.claim-head h3,
.evidence-head h4,
.configuration-head h3 {
  margin-bottom: 4px;
}
.claim-value {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin: 4px 0 14px;
}
.claim-unit,
.claim-class {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
}
.claim-evidence h4 {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 16px 0 6px;
}
.claim-evidence ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.93rem;
}
.claim-evidence li {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.claim-note,
.component-condition {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 4px 0 0;
}
.evidence-group {
  margin-bottom: 32px;
}
.evidence-ref strong {
  color: var(--ink);
}
.component-group {
  margin-bottom: 18px;
}
.component-group h5 {
  margin-bottom: 4px;
}
.component-name {
  font-weight: 500;
  color: var(--ink);
}
.component-flags {
  display: inline-flex;
  gap: 6px;
  margin-left: 8px;
}
.constraint-list li,
.scope-list li {
  font-size: 0.94rem;
}
.hash {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.hash-details {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.82rem;
}
.hash-details summary {
  cursor: pointer;
  color: var(--accent);
}
.hash-details code {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
}
.hash-list {
  font-size: 0.85rem;
}
.copy-btn {
  font: inherit;
  font-size: 0.78rem;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-soft);
  border-radius: var(--radius);
  padding: 2px 8px;
  margin-left: 8px;
  cursor: pointer;
}

/* Footer ------------------------------------------------------------------------------------- */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .footer-line {
  color: var(--muted);
  max-width: 34ch;
  margin-top: 10px;
}
.footer-heading {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.footer-disclaimer {
  color: var(--muted);
  font-size: 0.86rem;
  max-width: 90ch;
  margin: 24px 0 12px;
}
.footer-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0;
}

/* Responsive --------------------------------------------------------------------------------- */

@media (min-width: 700px) {
  .grid-2,
  .field-grid,
  .two-col,
  .result-summary,
  .pricing-teaser,
  .claim-grid,
  .evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .record-summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .grid-3,
  .plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .plan-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }
  .def-row,
  .status-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .tick-list-wide {
    columns: 1;
  }
  .hero {
    padding: 48px 0 40px;
  }
  .section {
    padding: 40px 0;
  }
  .beta-form,
  .checklist-form {
    padding: 20px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .skip-link {
    display: none;
  }
  body {
    background: #fff;
    font-size: 11pt;
  }
  .section,
  .record-header {
    border: 0;
    padding: 12px 0;
  }
  .hash-details {
    display: block;
  }
}
