:root {
  color-scheme: light;
  --ink: #183229;
  --muted: #63736d;
  --paper: #f8f5ed;
  --card: #fffdf8;
  --line: #d7d5c9;
  --green: #1c684c;
  --green-dark: #154b39;
  --mint: #dceee4;
  --coral: #d5543f;
  --coral-soft: #f8ded7;
  --amber: #9a6415;
  --amber-soft: #f7ebcf;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); line-height: 1.55; }
button, input, textarea { font: inherit; }
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 850; text-decoration: none; letter-spacing: -.02em; }
.brand-mark {
  width: 38px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 11px 11px 18px 18px;
  background: var(--green);
  color: white;
  font-size: 11px;
  letter-spacing: .08em;
}
.site-header nav { display: flex; align-items: center; gap: 22px; }
.site-header nav > a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; }
.hero {
  padding: 88px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  align-items: center;
  gap: 70px;
}
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 12px; font-weight: 900; letter-spacing: .15em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; font-size: clamp(3.4rem, 8vw, 6.8rem); line-height: .89; letter-spacing: -.075em; }
h1 span { color: var(--green); }
h2 { font-size: clamp(2.25rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.055em; }
h3 { font-size: 1.4rem; line-height: 1.2; letter-spacing: -.025em; }
.hero-lede { max-width: 700px; color: var(--muted); font-size: 20px; }
.hero-actions, .form-actions, .account-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.button {
  border: 1px solid var(--green);
  border-radius: 12px;
  padding: 13px 18px;
  background: var(--green);
  color: white;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.button:hover { background: var(--green-dark); transform: translateY(-1px); }
.button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.button-small { padding: 8px 13px; border-radius: 9px; font-size: 13px; }
.button-outline { background: transparent; color: var(--green-dark); }
.button-dark { border-color: var(--ink); background: var(--ink); }
.plain-button {
  padding: 6px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.text-link { color: var(--green-dark); font-weight: 800; text-underline-offset: 4px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; font-weight: 700; }
.trust-row li::before { content: "✓"; margin-right: 7px; color: var(--green); }
.criteria-card { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); box-shadow: 0 22px 60px rgb(29 56 46 / 10%); transform: rotate(1.4deg); }
.criteria-card ol { display: grid; gap: 12px; margin: 22px 0; padding: 0; list-style: none; }
.criteria-card li { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 13px; background: #f2f5ef; }
.criteria-card li > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: white; font-size: 11px; font-weight: 900; }
.criteria-card li div { display: flex; flex-direction: column; }
.criteria-card small { color: var(--muted); }
.criteria-note { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--coral); font-weight: 800; }
.notice { border-block: 1px solid #bfd5c8; background: var(--mint); }
.notice-inner { display: flex; gap: 12px; padding-block: 16px; font-size: 14px; }
.checker, .pricing, .source, .faq { padding-block: 100px; }
.section-heading, .result-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2 { margin-bottom: 0; max-width: 760px; }
.checker-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.entry-card, .batch-card, .current-batch, .results, .price-card, .source, .faq details, dialog {
  border: 1px solid var(--line);
  background: var(--card);
}
.entry-card, .batch-card { min-height: 430px; padding: 28px; border-radius: 22px; }
label { display: grid; gap: 7px; margin-bottom: 17px; font-weight: 800; }
label > span { color: var(--muted); font-size: 12px; font-weight: 500; }
input, textarea {
  width: 100%;
  border: 1px solid #bdc5bf;
  border-radius: 10px;
  padding: 12px 13px;
  background: white;
  color: var(--ink);
  outline: none;
}
input:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgb(28 104 76 / 12%); }
.field-pair { display: grid; grid-template-columns: .55fr 1fr; gap: 14px; }
.microcopy { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.batch-card { display: flex; flex-direction: column; }
.batch-card p { color: var(--muted); }
.batch-card textarea { flex: 1; resize: vertical; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.batch-card .button { align-self: flex-start; margin-top: 16px; }
.form-error { min-height: 1.5em; margin: 12px 0 0; color: #a63124 !important; font-weight: 750; }
.current-batch { margin-top: 22px; padding: 24px; border-radius: 18px; }
.result-heading { align-items: center; margin-bottom: 16px; }
.result-heading h3 { margin-bottom: 0; }
.batch-list { display: grid; gap: 7px; margin-bottom: 18px; }
.batch-list > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 13px; border-radius: 10px; background: #f0f2ed; }
.batch-list span { display: flex; flex-direction: column; }
.batch-list small { color: var(--muted); }
.results { margin-top: 28px; padding: 28px; border-radius: 24px; }
.result-banner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px; padding: 24px; border-radius: 18px; background: var(--mint); }
.result-banner[data-status="recalled"] { background: var(--coral-soft); }
.result-banner[data-status="incomplete"] { background: var(--amber-soft); }
.result-banner h2 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 3.3rem); }
.result-banner p:last-child { margin-bottom: 0; }
.result-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: white; font-size: 30px; font-weight: 900; }
[data-status="recalled"] .result-icon { background: var(--coral); }
[data-status="incomplete"] .result-icon { background: var(--amber); }
.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
.summary-grid article { display: grid; gap: 8px; padding: 17px; border: 1px solid var(--line); border-radius: 13px; }
.summary-grid span { color: var(--muted); font-size: 13px; }
.summary-grid strong { font-size: 28px; }
.result-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 13px; }
table { width: 100%; border-collapse: collapse; background: white; font-size: 14px; }
th, td { padding: 13px; border-bottom: 1px solid #e3e4de; text-align: left; white-space: nowrap; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.status { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.status-recalled { background: var(--coral-soft); color: #922d22; }
.status-not_recalled { background: var(--mint); color: var(--green-dark); }
.status-incomplete { background: var(--amber-soft); color: #79500f; }
.unlock-card, .download-card { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin-top: 22px; padding: 26px; border-radius: 18px; background: var(--ink); color: white; }
.unlock-card .eyebrow, .download-card .eyebrow { color: #9fd3bb; }
.unlock-card h3, .download-card h3 { margin-bottom: 10px; }
.unlock-card ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding-left: 18px; color: #d2ded8; font-size: 13px; }
.unlock-action { display: grid; justify-items: center; gap: 8px; }
.unlock-action > strong { font-size: 35px; }
.unlock-action > strong small { font-size: 16px; }
.unlock-action > small { color: #aebdb6; }
.download-card { background: var(--green); }
.download-card p:last-child { margin-bottom: 0; color: #dcebe4; }
.pricing { border-top: 1px solid var(--line); }
.pricing-heading { max-width: 800px; margin-bottom: 36px; }
.pricing-heading > p:last-child { max-width: 670px; color: var(--muted); font-size: 18px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 22px; }
.price-card.selected { box-shadow: 0 0 0 3px rgb(28 104 76 / 18%); }
.price-card.featured { border-color: var(--green); transform: translateY(-10px); }
.price-card em { position: absolute; top: 0; right: 22px; padding: 7px 11px; border-radius: 0 0 9px 9px; background: var(--green); color: white; font-size: 11px; font-style: normal; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.price-card > span { color: var(--green); font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.price-card > strong { margin: 10px 0; font-size: 45px; letter-spacing: -.05em; }
.price-card > strong small { font-size: 18px; }
.price-card > p { min-height: 52px; color: var(--muted); }
.price-card ul { min-height: 160px; padding-left: 19px; }
.price-card li { margin-bottom: 7px; }
.price-card .button { margin-top: auto; }
.source { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-inline: max(24px, calc((100vw - 1120px) / 2)); width: 100%; max-width: none; background: var(--mint); border-inline: 0; }
.source h2 { margin-bottom: 0; }
.source-copy p { color: #415950; font-size: 18px; }
.source-copy small { display: block; margin-top: 15px; color: var(--muted); }
.faq { max-width: 850px; }
.faq details { margin-bottom: 10px; padding: 18px 20px; border-radius: 12px; }
.faq summary { font-weight: 850; cursor: pointer; }
.faq details p { margin: 12px 0 0; color: var(--muted); }
footer { display: flex; justify-content: space-between; gap: 40px; padding: 44px max(24px, calc((100vw - 1120px) / 2)); border-top: 1px solid var(--line); background: #efede5; }
footer p { max-width: 650px; margin: 6px 0 0; color: var(--muted); font-size: 13px; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; font-weight: 750; }
dialog { width: min(620px, calc(100% - 30px)); padding: 30px; border-radius: 22px; color: var(--ink); }
dialog::backdrop { background: rgb(18 34 28 / 60%); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 12px; right: 15px; border: 0; background: transparent; color: var(--muted); font-size: 28px; cursor: pointer; }
.auth-tabs { display: flex; gap: 4px; margin: 20px 0; padding: 4px; border-radius: 11px; background: #edf0eb; }
.auth-tabs button { flex: 1; padding: 9px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-weight: 800; cursor: pointer; }
.auth-tabs button.active { background: white; color: var(--ink); box-shadow: 0 2px 10px rgb(0 0 0 / 8%); }
.job-history { display: grid; gap: 9px; margin-top: 22px; }
.job-history article { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 13px; border-radius: 11px; background: #f0f2ed; }
.job-history article div { display: flex; flex-direction: column; }
.job-history small { color: var(--muted); }
.job-status { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.content-header { padding: 80px 0 48px; border-bottom: 1px solid var(--line); }
.content-header h1 { max-width: 900px; font-size: clamp(3rem, 7vw, 6rem); }
.content-header p:last-child { max-width: 760px; color: var(--muted); font-size: 19px; }
.content-page { width: min(820px, calc(100% - 40px)); margin: auto; padding: 64px 0 100px; }
.content-page section { margin-bottom: 52px; }
.content-page h2 { margin-bottom: 18px; font-size: clamp(2rem, 5vw, 3.4rem); }
.content-page h3 { margin-top: 30px; }
.content-page p, .content-page li { color: #4f625a; }
.content-page li { margin-bottom: 9px; }
.content-callout { padding: 22px; border: 1px solid #b9d3c4; border-radius: 16px; background: var(--mint); }
.example-report { padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.example-report dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border-radius: 10px; background: var(--line); }
.example-report dl > div { padding: 14px; background: #f9faf7; }
.example-report dt { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.example-report dd { margin: 5px 0 0; font-weight: 850; }

@media (max-width: 820px) {
  .site-header nav > a { display: none; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 58px; }
  .criteria-card { transform: none; }
  .checker-layout, .pricing-grid, .source { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .summary-grid { grid-template-columns: 1fr 1fr; }
  .source { gap: 25px; }
  .entry-card, .batch-card { min-height: 0; }
}

@media (max-width: 560px) {
  .shell, .site-header { width: min(100% - 24px, 1120px); }
  h1 { font-size: 3.5rem; }
  .hero { padding: 45px 0; }
  .checker, .pricing, .source, .faq { padding-block: 70px; }
  .section-heading, .result-heading { align-items: flex-start; flex-direction: column; }
  .field-pair { grid-template-columns: 1fr; }
  .notice-inner, .unlock-card, .download-card, footer { grid-template-columns: 1fr; flex-direction: column; }
  .unlock-card, .download-card { display: grid; }
  .unlock-action { justify-items: start; }
  .result-banner { grid-template-columns: 1fr; }
  .job-history article { grid-template-columns: 1fr; }
}
