@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/fredoka-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/nunito-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/nunito-italic-latin.woff2") format("woff2");
}

:root {
  --green: #1b7a4b;
  --green-dark: #145c38;
  --ink: #1a211c;
  --muted: #4d5a52;
  --paper: #fff4e4;
  --card: rgba(255, 253, 248, 0.94);
  --line: #e6d4b8;
  --quote: rgba(238, 246, 241, 0.92);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Nunito", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("/images/eveats-logo.svg");
  background-repeat: repeat;
  background-position: center;
  background-size: 280px 280px;
  opacity: 0.2;
  pointer-events: none;
}

header, main, footer {
  width: min(44rem, calc(100% - 2.5rem));
  margin-left: auto;
  margin-right: auto;
}

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 1rem;
  padding: 1.75rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--green-dark);
  text-decoration: none;
  flex: 0 0 auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--green-dark); text-decoration: underline; }
nav a[aria-current="page"] { color: var(--green-dark); font-weight: 700; }

header nav {
  flex: 1 1 16rem;
  justify-content: flex-end;
}

@media (max-width: 640px) {
  header nav {
    flex-basis: 100%;
    justify-content: flex-start;
  }
}

main { padding: 2rem 0 3rem; }

.crumbs {
  margin: 0 0 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.crumbs a { color: var(--muted); }

h1, h2, h3, .cta {
  font-family: "Fredoka", "Nunito", sans-serif;
}

h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(2rem, 5vw, 2.7rem);
  font-weight: 650;
  line-height: 1.12;
  color: var(--green-dark);
}

main:has(.tagline) h1 {
  font-size: clamp(2.5rem, 6vw, 3.4rem);
}

h2 {
  margin: 2rem 0 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--green-dark);
}

.meta, .lede {
  margin: 0 0 1rem;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.tagline {
  margin: 0 0 1.25rem;
  font-size: 1.28rem;
  color: var(--muted);
}

.cta {
  display: inline-block;
  margin: 0 0 2.25rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}

.cta:hover { background: var(--green-dark); }

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

a { color: var(--green-dark); }

ul, ol {
  margin: 0 0 0.8rem;
  padding-left: 1.25rem;
}

li { margin: 0 0 0.4rem; }
li:last-child { margin-bottom: 0; }

section,
.callout, .stop, .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.25rem 1.05rem;
  margin: 0 0 0.9rem;
}

section h2 {
  margin: 0 0 0.65rem;
}

.callout p:last-child,
.stop p:last-child,
.card p:last-child,
section p:last-child { margin-bottom: 0; }

.facts {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

blockquote {
  margin: 0.7rem 0;
  padding: 0.75rem 0.9rem;
  background: var(--quote);
  border-left: 3px solid var(--green);
  border-radius: 0 12px 12px 0;
}

blockquote p { margin: 0; }

.catalog {
  list-style: none;
  padding: 0;
  margin: 0;
}

.catalog li { margin: 0 0 0.75rem; }
.catalog li:last-child { margin-bottom: 0; }

.catalog a {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
  text-decoration: none;
}

.catalog a:hover { text-decoration: underline; }

.catalog span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
}

footer {
  padding: 1.25rem 0 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}

footer p { margin: 0 0 0.5rem; }
footer nav { margin-bottom: 0.75rem; }
