/* Pack Check website: the app's retro "kitchen label" look (paper, ink outlines,
   hard shadows, #FFA500 bands with ink text). Light and dark, like the app. */
:root {
  --bg: #F6E7CD;
  --surface: #FFF8E8;
  --tint: #F3DCAB;
  --text: #2A1A10;
  --muted: #6B4A32;
  --ink: #2A1A10;
  --rule: #D8BC8E;
  --primary: #FFA500;
  --on-primary: #2A1A10;
  --link: #A63E0D;
  --shadow: #2A1A10;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1E140E;
    --surface: #2B1D14;
    --tint: #3D2A1A;
    --text: #F6E7CD;
    --muted: #CDB08A;
    --ink: #B38E63;
    --rule: #4E3A28;
    --link: #F2A65A;
    --shadow: #000000;
  }
}
:root[data-theme="dark"] {
  --bg: #1E140E;
  --surface: #2B1D14;
  --tint: #3D2A1A;
  --text: #F6E7CD;
  --muted: #CDB08A;
  --ink: #B38E63;
  --rule: #4E3A28;
  --link: #F2A65A;
  --shadow: #000000;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
h1, h2, h3 { font-family: "Alfa Slab One", Georgia, serif; font-weight: 400; line-height: 1.2; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* Orange band with an ink rule and the sunset stripe, like the app's headers. */
.band { background: var(--primary); color: var(--on-primary); border-bottom: 3px solid #2A1A10; }
.band a { color: var(--on-primary); }
.band-inner { max-width: 820px; margin: 0 auto; padding: 28px 16px 32px; }
.band h1 { margin: 6px 0 6px; font-size: clamp(30px, 6vw, 46px); }
.band p { margin: 0; font-weight: 600; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.stripes { height: 20px; background: linear-gradient(180deg, #E9B949 0 20%, #F2A65A 20% 40%, #E5641C 40% 60%, #B5450F 60% 80%, #8E3A0E 80% 100%); }

.nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-bottom: 18px; font-weight: 700; }
.nav .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Alfa Slab One", Georgia, serif; font-weight: 400; font-size: 20px; }
.nav .brand img { width: 40px; height: 40px; border-radius: 10px; border: 2px solid #2A1A10; }
.nav .spacer { flex: 1; }
@media (max-width: 400px) {
  .nav { gap: 8px 14px; font-size: 15px; }
  .nav .brand { font-size: 17px; gap: 8px; }
  .nav .brand img { width: 34px; height: 34px; }
}

main { max-width: 820px; margin: 0 auto; padding: 28px 16px 56px; }
main h2 { font-size: 24px; margin: 40px 0 10px; }
main h3 { font-size: 19px; margin: 24px 0 6px; }
ul { padding-left: 22px; }
li { margin: 4px 0; }

.card {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--shadow);
  padding: 18px 20px;
  margin: 18px 0;
}
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.note { background: var(--tint); }
.muted { color: var(--muted); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--rule); }
th { font-weight: 700; }

.button {
  display: inline-block;
  background: var(--primary);
  color: var(--on-primary);
  border: 2px solid #2A1A10;
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--shadow);
  padding: 12px 20px;
  min-height: 48px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.button:active { transform: translate(4px, 4px); box-shadow: none; }

.hero { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.hero img { width: 120px; height: 120px; border-radius: 26px; border: 3px solid #2A1A10; box-shadow: 5px 5px 0 #2A1A10; }
.hero .text { flex: 1 1 260px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.features .card { margin: 0; }
.features h3 { margin: 0 0 6px; }

.verdicts { list-style: none; padding: 0; }
.verdicts li { margin: 8px 0; }

footer { border-top: 2px solid var(--ink); }
footer .inner { max-width: 820px; margin: 0 auto; padding: 20px 16px 32px; font-size: 15px; color: var(--muted); }
footer p { margin: 6px 0; }
