/* Static page styles — used by /nutrition, /features, /health-tracking.
   Mirrors the brand tokens in src/styles/globals.css so the static pages
   feel of-a-piece with the React home, but ships standalone (these files
   are served as plain HTML, outside the Vite bundle). */

:root {
  --page: #fafaf7;
  --page-2: #f4ede0;
  --ink: #15170f;
  --ink-2: #3a3d33;
  --ink-3: #6b6e62;
  --rule: #e6e2d6;
  --sage: #5a7c65;
  --sage-deep: #2f4a3a;
  --terra: #c97b5a;

  --container: 1200px;
  --container-narrow: 880px;
  --gutter: clamp(20px, 4vw, 56px);

  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, p, ul, blockquote { margin: 0; }

img, svg { display: block; max-width: 100%; }

::selection { background: var(--sage); color: var(--page); }

/* Type */

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 500;
}

.headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 18ch;
}

.headline em {
  font-style: italic;
  color: var(--sage-deep);
}

.headline--xl {
  font-size: clamp(56px, 9vw, 124px);
  letter-spacing: -0.025em;
}

.body {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
}

.body--lede {
  font-size: clamp(19px, 1.6vw, 24px);
  color: var(--ink-2);
  max-width: 50ch;
}

/* Logo */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.logo-mark {
  width: 22px;
  height: 22px;
  color: var(--sage-deep);
}

.logo-wordmark {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}

/* Nav */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  background: rgba(250, 250, 247, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.nav__links {
  display: flex;
  justify-content: center;
  gap: 36px;
}

.nav__links a {
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav__links a:hover { color: var(--sage-deep); }

.nav__right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.nav__lang {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  padding: 8px 10px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__lang:hover {
  color: var(--sage-deep);
  background: rgba(90, 124, 101, 0.10);
}

.nav__cta {
  background: var(--ink);
  color: var(--page);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav__cta:hover {
  background: var(--sage-deep);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .nav__links { display: none; }
}

/* Hero (page-level) */

.page-hero {
  padding: 160px var(--gutter) 80px;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 28px;
  position: relative;
  isolation: isolate;
}

.page-hero__wash {
  position: absolute;
  inset: -10vh -20vw 0 30%;
  z-index: -1;
  background:
    radial-gradient(60% 60% at 70% 40%, rgba(90, 124, 101, 0.18) 0%, rgba(90, 124, 101, 0) 70%),
    radial-gradient(50% 50% at 30% 80%, rgba(201, 123, 90, 0.10) 0%, rgba(201, 123, 90, 0) 70%);
  filter: blur(20px);
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7.2vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 18ch;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--sage-deep);
}

/* Bands */

.band {
  padding: clamp(80px, 12vw, 160px) var(--gutter);
}

.band--cream { background: var(--page-2); }

.band__inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.band__inner--wide {
  max-width: var(--container);
}

.band__inner--center {
  text-align: center;
  justify-items: center;
}

.band__inner--center .body { margin-inline: auto; }

/* Three-up */

.threeup {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: 24px;
}

.threeup__item h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}

.threeup__item p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.55;
}

@media (max-width: 760px) {
  .threeup { grid-template-columns: 1fr; }
}

/* Quiet list */

.quiet-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
  font-size: 17px;
  color: var(--ink-2);
}

.quiet-list li {
  position: relative;
  padding-left: 22px;
}

.quiet-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 12px; height: 1.5px;
  background: var(--sage);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.btn--primary {
  background: var(--ink);
  color: var(--page);
  box-shadow: 0 8px 24px rgba(21, 23, 15, 0.18);
}

.btn--primary:hover {
  background: var(--sage-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  padding-left: 4px;
}

.btn--ghost:hover {
  color: var(--sage-deep);
  transform: translateX(2px);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* Footer */

.footer {
  background: var(--page);
  border-top: 1px solid var(--rule);
  padding: 64px var(--gutter) 32px;
  color: var(--ink-3);
  font-size: 13px;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}

.footer__tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  margin-top: 16px;
  color: var(--ink-2);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer__cols h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 500;
}

.footer__cols a {
  display: block;
  font-size: 13px;
  color: var(--ink-3);
  padding: 4px 0;
  transition: color 0.2s ease;
}

.footer__cols a:hover { color: var(--sage-deep); }

.footer__base {
  max-width: var(--container);
  margin: 48px auto 0;
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  letter-spacing: 0.02em;
}

@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__base { flex-direction: column; gap: 8px; }
}
