/* Potina Facts — shared styles. Pack-label aesthetic: cream ground, deep green ink, banana accent. */
:root {
  --cream: #FFFCF3;
  --ink: #22301F;
  --green: #1C5B3A;
  --banana: #FFD23F;
  --oat: #F4EBD6;
  --rule: #22301F;
  --muted: #5C6657;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }
header.site {
  border-bottom: 4px solid var(--rule);
  background: var(--banana);
}
header.site .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.5rem;
  padding-top: 1.1rem; padding-bottom: 1.1rem;
}
.brand {
  font-family: "Nunito", -apple-system, sans-serif;
  font-weight: 900; font-size: 1.5rem; letter-spacing: 0.04em;
  color: var(--ink); text-decoration: none;
}
.brand span { color: var(--green); }
nav.site a {
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.95rem;
  margin-right: 1.1rem;
}
nav.site a:hover, nav.site a:focus { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
main { padding: 2.5rem 0 3rem; }
h1 {
  font-family: "Nunito", -apple-system, sans-serif;
  font-weight: 900; font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  line-height: 1.15; margin: 0 0 1rem; color: var(--green);
}
h2 {
  font-family: "Nunito", -apple-system, sans-serif;
  font-weight: 800; font-size: 1.25rem; margin: 2.4rem 0 0.6rem;
  padding-top: 0.6rem; border-top: 4px solid var(--rule);
}
h3 { font-weight: 800; font-size: 1.05rem; margin: 1.6rem 0 0.3rem; }
p { margin: 0 0 1rem; }
.lede { font-size: 1.15rem; }
a { color: var(--green); }
/* Pack-panel tables: thick top rule like a UK nutrition label */
table {
  width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem;
  border-top: 6px solid var(--rule); font-size: 0.98rem;
}
caption { text-align: left; font-weight: 800; padding: 0.5rem 0; }
th, td { text-align: left; padding: 0.45rem 0.6rem; border-bottom: 1px solid #D8D2C0; }
thead th { background: var(--oat); font-weight: 800; }
tbody tr:nth-child(even) { background: #FBF6E8; }
td:nth-child(2), td:nth-child(3), th:nth-child(2), th:nth-child(3) { text-align: right; }
.factcard {
  background: var(--oat); border: 2px solid var(--rule); border-radius: 10px;
  padding: 1.1rem 1.3rem; margin: 1.4rem 0;
}
.factcard ul { margin: 0.3rem 0 0; padding-left: 1.2rem; }
.factcard li { margin-bottom: 0.35rem; }
.btn {
  display: inline-block; background: var(--green); color: #fff; font-weight: 800;
  padding: 0.7rem 1.3rem; border-radius: 999px; text-decoration: none; margin: 0.3rem 0.6rem 0.3rem 0;
}
.btn:hover, .btn:focus { background: #14492D; }
.btn.alt { background: var(--ink); }
.note { font-size: 0.88rem; color: var(--muted); }
dl.faq dt { font-weight: 800; margin-top: 1.4rem; }
dl.faq dd { margin: 0.3rem 0 0; }
footer.site {
  border-top: 4px solid var(--rule); background: var(--oat);
  margin-top: 2rem; font-size: 0.92rem;
}
footer.site .wrap { padding-top: 1.4rem; padding-bottom: 1.6rem; }
footer.site p { margin-bottom: 0.4rem; }
@media (max-width: 540px) {
  nav.site a { margin-right: 0.8rem; }
  th, td { padding: 0.4rem 0.4rem; }
}

/* Store list */
#store-filter {
  width: 100%; max-width: 420px; padding: 0.6rem 0.9rem;
  border: 2px solid var(--rule); border-radius: 8px;
  font-size: 1rem; background: #fff; color: var(--ink);
}
#store-filter:focus { outline: 3px solid var(--green); outline-offset: 1px; }
ul.stores {
  list-style: none; padding: 0; margin: 0.4rem 0 1.2rem;
  columns: 2; column-gap: 2rem;
}
ul.stores li { padding: 0.18rem 0; break-inside: avoid; border-bottom: 1px dotted #D8D2C0; }
@media (max-width: 540px) { ul.stores { columns: 1; } }
#store-list h3 { color: var(--green); border-bottom: 3px solid var(--banana); display: inline-block; padding-right: 1rem; }
/* Awards */
ul.awards { list-style: none; padding-left: 0; }
ul.awards li { padding: 0.3rem 0 0.3rem 1.8rem; position: relative; border-bottom: 1px dotted #D8D2C0; }
ul.awards li::before { content: "🏆"; position: absolute; left: 0; }
