/* PantryPal's own tokens (design-system/tokens/colors.json), so a reviewer
   cross-checking these pages against the app sees the same kitchen. */
:root {
  --butter:  #FFD67E;
  --coral:   #FF7E7D;
  --brand:   #FF4B4B;
  --ink:     #000000;
  --card:    #FFFFFF;
  --muted:   #5A5A5A;
  --display: "Fugaz One", "Arial Black", system-ui, sans-serif;
  --body:    "Faustina", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--butter);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

header {
  background: var(--coral);
  border-bottom: 3px solid var(--ink);
  padding: 1.5rem 1.25rem;
}

.wrap { max-width: 40rem; margin: 0 auto; }

.wordmark {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--brand);
  text-decoration: none;
  -webkit-text-stroke: 1px var(--ink);
  letter-spacing: .01em;
}

main { padding: 2.25rem 1.25rem 4rem; }

h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 2.9rem);
  line-height: 1.05;
  margin: 0 0 .35rem;
  text-wrap: balance;
}

.updated { font-size: .95rem; color: var(--muted); margin: 0 0 2rem; }

.card {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 1.25rem 1.4rem 1.4rem;
  margin-bottom: 1.1rem;
}

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0 0 .5rem;
  text-wrap: balance;
}

p { margin: 0 0 .85rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 3px; }

.links {
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem;
  margin-top: 2rem; padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
  font-family: var(--display); font-size: .95rem;
}

footer {
  max-width: 40rem; margin: 0 auto; padding: 0 1.25rem 3rem;
  color: var(--muted); font-size: .9rem;
}
