/* ===== DESIGN TOKENS ===== */
:root {
  --color-primary:   #34C759;
  --color-secondary: #007AFF;
  --color-accent:    #AF52DE;
  --color-bg:        #F7F8FA;
  --color-surface:   #FFFFFF;
  --color-surface-2: #F2F3F7;
  --color-text:      #000000;
  --color-text-2:    #3C3C43;
  --color-error:     #FF3B30;
  --color-warning:   #FF9500;
  --color-white:     #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --max-width: 1100px;
  --nav-height: 64px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--color-text);
}
.section-subtitle {
  font-size: 18px;
  color: var(--color-text-2);
  margin-top: 16px;
  max-width: 560px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-white);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

/* ===== DARK MODE ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg:        #000000;
    --color-surface:   #1C1C1E;
    --color-surface-2: #2C2C2E;
    --color-text:      #FFFFFF;
    --color-text-2:    #EBEBF5;
  }
}

/* ===== ANIMATION BASE ===== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(247,248,250,.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  z-index: 100;
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.nav__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-2);
  transition: color .15s;
}
.nav__links a:hover { color: var(--color-primary); }
.nav__cta { margin-left: 16px; padding: 10px 20px; font-size: 14px; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 8px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: .2s;
}
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-surface-2);
  z-index: 99;
  padding: 24px;
}
.nav__mobile ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.nav__mobile a { font-size: 18px; font-weight: 600; }
.nav__mobile.open { display: block; }

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
}
@media (prefers-color-scheme: dark) {
  .nav { background: rgba(0,0,0,.85); border-color: rgba(255,255,255,.08); }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 48px) 0 80px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-bg) 60%, rgba(52,199,89,.08) 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  border: 1px solid rgba(52,199,89,.3);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-2);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero__badge-dot {
  width: 8px; height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  position: relative;
}
.hero__badge-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: .6; }
  50%      { transform: scale(2.5); opacity: 0; }
}
.hero__title {
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.hero__title-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: 18px;
  color: var(--color-text-2);
  margin: 20px 0 32px;
  max-width: 480px;
  line-height: 1.65;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--color-text-2);
}
.hero__stars { color: var(--color-warning); font-size: 16px; letter-spacing: 1px; }

/* Phone visual */
.hero__visual {
  display: flex;
  justify-content: center;
  transition-delay: .15s;
}
.hero__phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__phone-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle, rgba(52,199,89,.22) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero__screenshot {
  position: relative;
  z-index: 1;
  width: 360px;
  height: auto;
  padding: 12px 0;
  border-radius: 28px;
  box-shadow:
    0 0 0 10px rgba(255,255,255,.08),
    0 0 0 11px rgba(0,0,0,.10),
    0 32px 80px rgba(0,0,0,.28),
    0 8px 20px rgba(0,0,0,.12);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.hero__screenshot:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 0 0 10px rgba(255,255,255,.08),
    0 0 0 11px rgba(0,0,0,.10),
    0 48px 100px rgba(0,0,0,.32),
    0 12px 28px rgba(0,0,0,.14);
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__social-proof { margin-left: auto; margin-right: auto; justify-content: center; }
  .hero__actions { justify-content: center; }
  .hero__visual { order: -1; }
  .hero__screenshot { width: 280px; padding: 8px 0; }
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  background: var(--color-surface);
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.feature-card__icon--green  { background: rgba(52,199,89,.12);  color: var(--color-primary); }
.feature-card__icon--blue   { background: rgba(0,122,255,.12);   color: var(--color-secondary); }
.feature-card__icon--purple { background: rgba(175,82,222,.12);  color: var(--color-accent); }
.feature-card__icon--orange { background: rgba(255,149,0,.12);   color: var(--color-warning); }
.feature-card__icon--red    { background: rgba(255,59,48,.12);   color: var(--color-error); }
.feature-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card__desc {
  font-size: 15px;
  color: var(--color-text-2);
  line-height: 1.65;
}
/* Staggered entrance delays via nth-child (replaces inline style="transition-delay") */
.features__grid .feature-card:nth-child(2) { transition-delay: .08s; }
.features__grid .feature-card:nth-child(3) { transition-delay: .16s; }
.features__grid .feature-card:nth-child(4) { transition-delay: .24s; }
.features__grid .feature-card:nth-child(5) { transition-delay: .32s; }
.features__grid .feature-card:nth-child(6) { transition-delay: .40s; }
@media (max-width: 900px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .features__grid { grid-template-columns: 1fr; } }
@media (prefers-color-scheme: dark) {
  .features { background: var(--color-surface); }
  .feature-card { background: var(--color-surface-2); border-color: rgba(255,255,255,.06); }
}

/* ===== HOW IT WORKS ===== */
.how {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, rgba(52,199,89,.05) 100%);
}
.how__steps {
  display: flex;
  align-items: flex-start;
  margin-top: 60px;
}
.how__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.how__step-num {
  width: 64px; height: 64px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(52,199,89,.4);
}
.how__step-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.how__step-body p {
  font-size: 15px;
  color: var(--color-text-2);
  line-height: 1.65;
  max-width: 260px;
  margin: 0 auto;
}
.how__connector {
  flex-shrink: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  margin-top: 32px;
  opacity: .4;
}
/* Staggered entrance delays for how steps (replaces inline style="transition-delay") */
.how__steps .how__step:nth-child(3) { transition-delay: .1s; }
.how__steps .how__step:nth-child(5) { transition-delay: .2s; }
@media (max-width: 768px) {
  .how__steps { flex-direction: column; align-items: center; gap: 16px; }
  .how__connector { width: 2px; height: 40px; background: linear-gradient(180deg, var(--color-primary), var(--color-secondary)); margin-top: 0; }
  .how__step-body p { max-width: 320px; }
}

/* ===== SCREENSHOTS ===== */
.screenshots {
  padding: 100px 0;
  background: var(--color-surface);
  overflow: hidden;
}
.screenshots__scroll {
  margin-top: 60px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 24px 24px 40px;
  scrollbar-width: none;
  cursor: grab;
}
.screenshots__scroll::-webkit-scrollbar { display: none; }
.screenshots__scroll.dragging { cursor: grabbing; }
.screenshots__track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 0 max(24px, calc((100vw - 1100px) / 2));
}
.ss-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.ss-card__img {
  width: 220px;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  transition: transform .25s ease, box-shadow .25s ease;
  display: block;
}
.ss-card:hover .ss-card__img {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 32px 80px rgba(0,0,0,.24);
}
.ss-card__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-2);
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a3d2b 0%, #0a1f3d 100%);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(52,199,89,.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta__label {
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}
.cta__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.cta__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  margin-bottom: 40px;
}
.cta__btn {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 18px;
  padding: 18px 36px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(52,199,89,.4);
}
.cta__btn:hover { box-shadow: 0 12px 40px rgba(52,199,89,.5); }
.cta__note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,.8);
  padding: 60px 0 0;
}
.footer__inner {
  display: flex;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.footer__brand { flex: 1; min-width: 200px; }
.footer__logo-link .nav__logo-text { color: var(--color-white); }
.footer__tagline {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.45);
}
.footer__links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  transition: color .15s;
}
.footer__col a:hover { color: var(--color-primary); }
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,.3);
  gap: 8px;
  text-align: center;
}
.footer__disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,.25);
  max-width: 640px;
  line-height: 1.6;
}
@media (max-width: 640px) {
  .footer__inner { flex-direction: column; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  z-index: 999;
  transition: top .15s;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== LEGAL PAGES (privacy.html, terms.html) ===== */
.legal-hero {
  padding: 120px 0 60px;
  background: linear-gradient(160deg, #f0faf3 0%, var(--color-bg) 60%);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.legal-hero__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.legal-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.legal-hero__meta { font-size: 14px; color: var(--color-text-2); }
.legal-body { padding: 72px 0 100px; }
.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}
.legal-toc__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-text-2);
  margin-bottom: 12px;
}
.legal-toc__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal-toc__list a {
  display: block;
  font-size: 13px;
  color: var(--color-text-2);
  text-decoration: none;
  padding: 5px 10px;
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
  transition: color .15s, border-color .15s, background .15s;
}
.legal-toc__list a:hover {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  background: rgba(52,199,89,.06);
}
.legal-content { max-width: 680px; }
.legal-section { margin-bottom: 56px; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  scroll-margin-top: calc(var(--nav-height) + 32px);
}
.legal-section p { color: var(--color-text-2); margin-bottom: 14px; line-height: 1.75; }
.legal-section ul {
  color: var(--color-text-2);
  padding-left: 20px;
  margin-bottom: 14px;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-section a { color: var(--color-primary); text-decoration: none; }
.legal-section a:hover { text-decoration: underline; }
.legal-highlight {
  background: #f0faf3;
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin-bottom: 14px;
  color: var(--color-text-2);
  font-size: 14px;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc {
    position: static;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
  }
}
@media (prefers-color-scheme: dark) {
  .legal-hero { background: linear-gradient(160deg, #0d1f11 0%, var(--color-bg) 60%); }
  .legal-highlight { background: rgba(52,199,89,.08); }
  .legal-toc { background: transparent; }
}

/* ===== 404 PAGE ===== */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 48px) 24px 80px;
  text-align: center;
}
.error-page__code {
  font-size: clamp(5rem, 18vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, #34C759 0%, #007AFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  will-change: transform;
  animation: error-float 4s ease-in-out infinite;
}
@keyframes error-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.error-page__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.error-page__subtitle {
  font-size: 1rem;
  color: var(--color-text-2);
  max-width: 380px;
  line-height: 1.6;
  margin: 0 auto 40px;
}
.error-page__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Nutrition label ─────────────────────────────────────────────────────── */
.nf {
  display: inline-block;
  text-align: left;
  border: 2px solid var(--color-text);
  padding: 6px 8px 4px;
  width: 280px;
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 13px;
  line-height: 1.3;
  margin-bottom: 40px;
  background: var(--color-surface);
  border-radius: 2px;
}
.nf__heading {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 2px;
  margin-bottom: 2px;
}
.nf__subheading {
  font-size: 11px;
  border-bottom: 8px solid var(--color-text);
  padding-bottom: 3px;
  margin-bottom: 3px;
}
.nf__servings {
  font-size: 12px;
  border-bottom: 3px solid var(--color-text);
  padding-bottom: 3px;
  margin-bottom: 3px;
}
.nf__servings strong { font-size: 13px; }
.nf__calories-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 3px solid var(--color-text);
  padding-bottom: 3px;
  margin-bottom: 3px;
}
.nf__calories-label { font-size: 16px; font-weight: 700; }
.nf__calories-amount-label { font-size: 10px; font-weight: 700; }
.nf__calories-value {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  color: var(--color-error);
}
.nf__dv-header {
  text-align: right;
  font-size: 10px;
  font-weight: 700;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 2px;
  margin-bottom: 2px;
}
.nf__row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-text);
  padding: 2px 0;
  font-size: 12px;
}
.nf__row--indent { padding-left: 14px; font-weight: 400; }
.nf__row--highlight .nf__pct { color: var(--color-error); font-weight: 900; }
.nf__label { font-weight: 700; }
.nf__label span { font-weight: 400; }
.nf__pct { font-weight: 700; }
.nf__footer {
  font-size: 9px;
  margin-top: 4px;
  line-height: 1.4;
  color: var(--color-text-2);
}
@media (prefers-color-scheme: dark) {
  .nf,
  .nf__heading,
  .nf__subheading,
  .nf__servings,
  .nf__dv-header,
  .nf__row,
  .nf__calories-row { border-color: #FFFFFF; }
}
@media (max-width: 400px) {
  .nf { width: 100%; }
}

/* Bot honeypot — hidden from humans, only crawlers follow it */
.bot-trap { display: none; }
