/* Vacpart Index. System fonts only. No third-party requests. */
:root {
  --bg: #f4f1ea;
  --ink: #1b1a17;
  --muted: #5b564d;
  --accent: #0d5551;
  --accent-ink: #08403d;
  --line: #d8d2c6;
  --card: #fffcf6;
  --notice: #f3e7d3;
  --notice-ink: #4a3518;
  --placeholder-bg: #efece4;
  --max: 44rem;
  --wide: 58rem;
}

* { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, "Noto Sans", sans-serif;
  line-height: 1.55;
}
a { color: var(--accent-ink); }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--card);
  padding: 0.5rem 0.75rem;
  z-index: 10;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap { width: min(var(--wide), calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(var(--max), 100%); }

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
header.site .bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.9rem 0;
}
.brand {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}
.brand span { color: var(--accent); font-weight: 650; }
nav.site { display: flex; flex-wrap: wrap; gap: 0.75rem 1.1rem; }
nav.site a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

main { padding: 1.6rem 0 3rem; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: 1.85rem; margin: 0 0 0.6rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
h3 { font-size: 1.05rem; margin: 1.4rem 0 0.4rem; }
p, li { color: var(--ink); }
.lede { font-size: 1.08rem; color: var(--ink); margin: 0 0 1rem; }
.meta, .muted { color: var(--muted); }
.meta { font-size: 0.92rem; margin: 0 0 1rem; }

.notice, .disclosure {
  background: var(--notice);
  color: var(--notice-ink);
  border: 1px solid #e4d3b3;
  padding: 0.75rem 0.9rem;
  border-radius: 4px;
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 2rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1rem 1.1rem;
}
.card h2 { margin-top: 0; font-size: 1.1rem; }
.card p:last-child { margin-bottom: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-size: 0.92rem;
  margin: 0.75rem 0 1.2rem;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--line);
}
th { background: #ece7dc; font-weight: 650; }
caption {
  text-align: left;
  font-weight: 650;
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.sources { font-size: 0.92rem; }
.sources li { margin: 0.4rem 0; }
.buy {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.8rem 0 1.2rem;
}
.buy a, .btn {
  display: inline-block;
  width: fit-content;
  padding: 0.45rem 0.7rem;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 0.92rem;
}
.buy a.official { border-color: var(--accent); }
.buy a.placeholder, .placeholder-link {
  background: var(--placeholder-bg);
  color: var(--muted);
  border-style: dashed;
  cursor: not-allowed;
  pointer-events: none;
}

ul.check { padding-left: 1.2rem; }
footer.site {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-bottom: 0.7rem; }
footer.site a { color: var(--muted); }
.tiny { font-size: 0.85rem; color: var(--muted); }

@media (max-width: 40rem) {
  html { font-size: 100%; }
  table { font-size: 0.85rem; }
  th, td { padding: 0.45rem 0.4rem; }
}
