:root {
  --paper: #fff;
  --soft: #f7f7f8;
  --ink: #111;
  --muted: #626268;
  --line: #d7d7da;
  --signal: #e4002b;
  --content: 1180px;
}

* { box-sizing: border-box; }

html { color-scheme: light; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--signal); }
a:focus-visible, input:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header, main, .site-footer {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
  background: var(--paper);
  border-inline: 1px solid var(--line);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 24px;
  padding: 22px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand { font-size: 1.05rem; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }

nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
nav a { padding-block: 6px; text-decoration: none; border-bottom: 1px solid transparent; }
nav a:hover, nav a[aria-current="page"] { color: var(--signal); border-color: currentColor; }

main { min-height: 68vh; padding: 64px 48px 80px; }

h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 980px; margin: 0 0 24px; font-size: clamp(2.5rem, 5vw, 4.75rem); }
.page-recall-detail h1 { max-width: 900px; font-size: clamp(2.25rem, 4.5vw, 4rem); }
h2 { margin: 56px 0 18px; font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.15rem; }
p, li { max-width: 780px; }
main > p:first-of-type { margin-top: 0; color: var(--muted); font-size: 1.18rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.cell {
  min-width: 0;
  min-height: 150px;
  padding: 24px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cell h2, .cell h3, .cell .card-title { margin: 14px 0 12px; font-size: 1.35rem; letter-spacing: -.02em; font-weight: 700; }
.cell .card-title { line-height: 1.08; }
.cell p { margin: 10px 0; }
.cell .button { margin-top: 12px; }

.label, .context-line {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.context-line { margin: 0 0 18px; color: var(--signal); }
.mark { color: var(--signal); font-weight: 800; }

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.button:hover { border-color: var(--signal); color: var(--signal); }
.button-primary { border-color: var(--signal); background: var(--signal); color: var(--paper); }
.button-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button-secondary { background: var(--paper); }
.actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.recall-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 32px 0;
  align-items: end;
}
.recall-filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .85rem;
  font-weight: 700;
}
.recall-filters .button { width: 100%; }

select {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.how-to-steps {
  max-width: 780px;
  margin: 0;
  padding-left: 1.2rem;
}
.how-to-steps li { margin: 0 0 16px; }
.how-to-steps h3 { margin: 0 0 6px; }
.how-to-steps p { margin: 0; }

.cite { max-width: 860px; margin: 32px 0 0; color: var(--muted); font-size: .92rem; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }

.notice {
  max-width: 980px;
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 6px solid var(--signal);
  background: var(--soft);
}

.recall-hero { padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.recall-hero > p { color: var(--muted); font-size: 1.12rem; }
.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 40px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.fact {
  min-width: 0;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact p { margin: 8px 0 0; font-size: 1.05rem; font-weight: 700; overflow-wrap: anywhere; }
.fact-distribution { grid-column: 1 / -1; }
.content-section { max-width: 860px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.content-section h2 { margin: 0 0 14px; }
.content-section p { margin: 0; overflow-wrap: anywhere; }

.faq-pair { display: block; }
.faq-pair summary {
  list-style: none;
  cursor: pointer;
}
.faq-pair summary::-webkit-details-marker { display: none; }
.faq-pair summary h2 { margin: 0; }
.faq-pair .faq-answer { margin-top: 14px; }
.sync-stamp { max-width: 860px; margin: 16px 0 0; color: var(--muted); font-size: .92rem; }

input {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.site-footer {
  margin-bottom: 24px;
  padding: 28px 32px;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}
.site-footer p { margin: 0; }
.site-footer nav { margin-top: 10px; }

@media (max-width: 700px) {
  .site-header, main, .site-footer { width: 100%; border-inline: 0; }
  .site-header { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 0; padding: 18px 20px; }
  nav { width: 100%; gap: 6px 18px; }
  nav a { min-height: 44px; display: inline-flex; align-items: center; }
  main { padding: 42px 20px 60px; }
  h1, .page-recall-detail h1 { font-size: clamp(2.15rem, 11vw, 3.25rem); overflow-wrap: anywhere; }
  h2 { margin-top: 44px; }
  .grid { grid-template-columns: 1fr; }
  .cell { min-height: 0; padding: 20px; }
  .fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-distribution { grid-column: 1 / -1; }
  .actions { flex-direction: column; }
  .actions .button { width: 100%; }
  .site-footer { margin-bottom: 0; padding: 24px 20px; }
}

@media (max-width: 420px) {
  .fact-strip { grid-template-columns: 1fr; }
  .fact-distribution { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
