@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('./fonts/plus-jakarta-sans.woff2') format('woff2');
}

:root {
  --bg: #f6f2eb;
  --bg-2: #efe8dc;
  --surface: #fffdf9;
  --ink: #16151f;
  --ink-2: #4a4756;
  --muted: #7a7684;
  --line: rgb(22 21 31 / 0.1);
  --food: #c8553d;
  --food-soft: #f7e3dc;
  --sage: #2f4a3a;
  --fit: #355bd7;
  --fit-soft: #e4eafc;
  --fit-btn: #355bd7;
  --radius: 22px;
  --shadow: 0 1px 2px rgb(22 21 31 / 0.05), 0 12px 32px -12px rgb(22 21 31 / 0.18);
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111018;
    --bg-2: #17161f;
    --surface: #1c1b25;
    --ink: #f4efe6;
    --ink-2: #c9c4d2;
    --muted: #9893a4;
    --line: rgb(255 255 255 / 0.09);
    --food: #e27a60;
    --food-soft: #3a2521;
    --fit: #7d9bff;
    --fit-soft: #1f2748;
    --fit-btn: #3f63e6;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 40px -16px rgb(0 0 0 / 0.6);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, color-mix(in srgb, var(--fit) 10%, transparent), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, color-mix(in srgb, var(--food) 10%, transparent), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--fit);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  z-index: 10;
}
.skip:focus {
  left: 12px;
}

/* ---------- Header ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
}
.brand img {
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line);
}
.top-nav {
  display: flex;
  gap: 6px;
}
.top-nav a {
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.top-nav a:hover {
  background: var(--line);
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(36px, 7vw, 84px);
  padding-bottom: clamp(36px, 5vw, 56px);
  max-width: 1120px;
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 7.5vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
h1 em {
  font-style: italic;
  color: var(--fit);
}
.lede {
  margin: 22px 0 0;
  max-width: 60ch;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-2);
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  padding-bottom: 56px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  scroll-margin-top: 16px;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
}
.card-food::before {
  background: linear-gradient(90deg, var(--food), #e2b865, var(--sage));
}
.card-fit::before {
  background: linear-gradient(90deg, var(--fit), #7d9bff);
}
.card-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.card-head p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--ink-2);
}
.card-food .eyebrow {
  color: var(--food);
}
.card-fit .eyebrow {
  color: var(--fit);
  margin: 0;
}

/* Food ventures */
.venture {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  text-decoration: none;
  background: var(--bg-2);
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}
.venture:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--food) 45%, transparent);
  background: var(--food-soft);
}
.venture img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgb(166 124 46 / 0.35), 0 4px 12px -4px rgb(22 21 31 / 0.25);
}
.venture-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.venture-text strong {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.venture-text > span:not(.tag) {
  color: var(--ink-2);
  font-size: 0.95rem;
}
.tag {
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.go {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 1.05rem;
  transition: background 0.15s ease;
}
.venture:hover .go {
  background: var(--food);
  color: #fff;
  border-color: var(--food);
}

/* Fitness Daily */
.fit-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.fit-brand img {
  width: 56px;
  height: auto;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stats li {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--fit-soft);
}
.stats strong {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--fit);
}
.stats span {
  font-size: 0.82rem;
  color: var(--ink-2);
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 999px;
  background: var(--fit-btn);
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--fit) 80%, transparent);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--fit) 90%, transparent);
}
.quick {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.quick a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.quick a:hover {
  background: var(--fit-soft);
}
.quick strong {
  display: block;
  font-size: 0.98rem;
}
.quick small {
  color: var(--muted);
  font-size: 0.85rem;
}
.q-icon {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: var(--fit-soft);
  fill: none;
  stroke: var(--fit);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Footer ---------- */
.foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-2);
}
.foot-links {
  display: flex;
  gap: 18px;
}
.foot-links a {
  text-decoration: none;
  font-weight: 600;
}
.foot-links a:hover {
  text-decoration: underline;
}
.muted {
  color: var(--muted);
}

/* ---------- Small screens ---------- */
@media (max-width: 820px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .top-nav {
    display: none;
  }
  .venture {
    grid-template-columns: auto 1fr;
    gap: 14px;
  }
  .go {
    display: none;
  }
  .stats strong {
    font-size: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

@media (prefers-color-scheme: dark) {
  .brand img {
    box-shadow: 0 0 0 1px rgb(255 255 255 / 0.25);
  }
}
