/* ── Type ──────────────────────────────────────────────────────────
   Self-hosted variable fonts (latin subset). Archivo carries display
   type and the wordmark; Inter carries UI and body. Two files, no
   third-party request, and the 6-weight Google request is gone. */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62.5% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Brand palette — realigned to board.jpg. The poster's green is a
     bright produce green, not the teal-leaning forest the site had.
     Two greens with distinct jobs, because the bright one cannot carry
     white button text at AA:
       --leaf       the poster green — graphics, tints, rules, wordmark
       --green-500  deep leaf — filled buttons with white labels (5.2:1) */
  --leaf: #2f9e44;
  --green-50: #f2f9f3;
  --green-100: #e2f2e5;
  --green-200: #c4e5cb;
  --green-300: #96d1a3;
  --green-400: #5ab373;
  --green-500: #1a7d36;
  --green-600: #166b2d;
  --green-700: #145c27;
  --green-800: #123f22;
  --green-900: #0d2f1a;
  --orange-50: #fef3ec;
  --orange-100: #fde2cf;
  --orange-400: #f59a3d;
  --orange-500: #ee701c;
  --orange-600: #d96217;
  --orange-700: #b84e0f;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --radius-full: 9999px;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px rgba(34, 197, 94, 0.25);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-base: cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* The poster's own device: a letterspaced caps line. */
  --tracking-wide: 0.18em;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* clip (not hidden): clips horizontal overflow like hidden, but does NOT
   create a scroll container on the root — so position: sticky on the nav
   anchors to the viewport instead of a never-scrolling html element.
   (hidden breaks sticky on desktop engines; clip fixes it everywhere.) */
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--font);
  color: var(--gray-800);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/* ── Wordmark ──────────────────────────────────────────────────────
   The FitFuel wordmark is the one piece of brand identity that must
   never drift between surfaces. Every occurrence is:

     Fit<span class="wordmark-accent">Fuel</span> Nutrition

   The accent (orange) + the 6px Fit|Fuel gap live here, once. The
   surrounding colour is contextual — green-800 on light surfaces,
   green-300 on the dark footer — so it is deliberately NOT set here. */
.wordmark-accent {
  color: var(--orange-500);
  margin-right: 6px;
}
/* The mark is a wide, heavy grotesque in the poster — not the UI sans.
   Archivo's width axis reproduces that. Every surface that renders the
   wordmark picks it up here, so the mark is set one way everywhere. */
.nav-brand,
.footer-brand,
.wordmark {
  font-family: var(--font-display);
  font-stretch: 108%;
  letter-spacing: -0.01em;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-500);
  color: #fff;
  padding: 15px 34px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  transition: all 0.3s var(--ease-base);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  color: var(--green-700);
  padding: 15px 34px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 600;
  border: 2px solid var(--green-200);
  transition: all 0.3s var(--ease-base);
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--green-400);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
