/* ============================================================
   Dynova Nutrition — storefront + assessment styling.

   Scoped under .dn-nutrition-site so nothing here can leak into the
   Health surface. Tailwind is loaded globally but its green/emerald/teal
   palettes are remapped to violet site-wide, so this brand paints its own
   colours instead of using colour utilities.
   ============================================================ */

.dn-nutrition-site {
  /* Dark surface throughout, matching the Dynova Health home page. The
     house violet carries the brand; mint is Nutrition's own signature,
     used for ticks, eyebrows and highlights — never as the base. */
  --nt-ink: #ffffff;
  --nt-ink-soft: rgba(255, 255, 255, 0.88);
  --nt-body: rgba(255, 255, 255, 0.62);
  --nt-muted: rgba(255, 255, 255, 0.42);
  --nt-line: rgba(255, 255, 255, 0.10);
  --nt-line-strong: rgba(255, 255, 255, 0.18);
  --nt-surface: rgba(255, 255, 255, 0.04);
  --nt-surface-alt: rgba(255, 255, 255, 0.07);

  --nt-page: #0a0a1f;
  --nt-band: #0d0d24;
  --nt-dark: #0a0a1f;
  --nt-dark-2: #1a1440;
  --nt-dark-3: #07061a;

  --nt-accent: #6d5dff;
  --nt-accent-dark: #5a47e6;
  --nt-accent-light: #b3a6ff;
  --nt-accent-soft: rgba(109, 93, 255, 0.16);
  --nt-accent-glow: rgba(109, 93, 255, 0.55);
  --nt-accent-line: rgba(109, 93, 255, 0.5);

  --nt-mint: #2fd8b4;
  --nt-mint-light: #7cf0d8;
  --nt-mint-soft: rgba(124, 240, 216, 0.14);

  --nt-danger: #fca5a5;
  --nt-warn: #fbbf24;

  --nt-radius: 20px;
  --nt-radius-sm: 12px;
  --nt-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.8);
  --nt-shadow-lg: 0 34px 66px -30px rgba(0, 0, 0, 0.85);
}

.dn-nutrition-site *,
.dn-nutrition-site *::before,
.dn-nutrition-site *::after { box-sizing: border-box; }

/* main.css paints html/body white and restyles every heading with
   `!important` for the Health surface. Nutrition is a dark surface, so it
   has to win those three declarations back — the only !important here. */
html:has(body.dn-nutrition-site) { background-color: var(--nt-page) !important; }
body.dn-nutrition-site {
  background-color: var(--nt-page) !important;
  color: var(--nt-body) !important;
  letter-spacing: normal !important;
}
.dn-nutrition-site :where(h1, h2, h3, h4) {
  color: var(--nt-ink);
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
}

.nt-shell {
  width: 100%;
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.nt-shell--narrow { max-width: 52rem; }

@media (min-width: 640px) {
  .nt-shell { padding: 0 2rem; }
}

/* ---------- Navigation ---------- */
.nt-nav {
  background: rgba(10, 10, 31, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nt-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.5rem;
}
.nt-brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.nt-brand__mark { display: inline-flex; height: 2.35rem; }
.nt-brand__mark img { height: 100%; width: auto; display: block; }
.nt-brand__text { display: flex; flex-direction: column; line-height: 1; }
.nt-brand__text b { color: #fff; font-weight: 800; font-size: 1rem; letter-spacing: 0.04em; }
.nt-brand__text small {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
  font-size: 0.5rem;
  letter-spacing: 0.34em;
  margin-top: 4px;
}
.nt-brand--light .nt-brand__text b { color: var(--nt-ink); }
.nt-brand--light .nt-brand__text small { color: var(--nt-muted); }

.nt-nav__links { display: none; align-items: center; gap: 1.9rem; }
.nt-nav__link {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease;
}
.nt-nav__link:hover, .nt-nav__link.is-active { color: #fff; }
.nt-nav__link.is-active { position: relative; }
.nt-nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -0.55rem;
  height: 2px;
  border-radius: 2px;
  background: var(--nt-accent);
}
.nt-nav__link--cross {
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.82rem;
}
.nt-nav__link--cross:hover { border-color: rgba(255, 255, 255, 0.45); }

.nt-nav__actions { display: flex; align-items: center; gap: 0.9rem; }
.nt-nav__icon {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  transition: color 0.18s ease;
}
.nt-nav__icon:hover { color: #fff; }
.nt-nav__badge {
  position: absolute;
  top: -0.5rem; right: -0.55rem;
  min-width: 1.15rem; height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--nt-mint);
  color: var(--nt-dark);
  font-size: 0.65rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nt-nav__link--user { display: none; }

@media (min-width: 900px) {
  .nt-nav__links { display: flex; }
  .nt-nav__link--user { display: inline-flex; }
  .nt-nav__icon--menu { display: none; }
  .dn-nutrition-site .nt-mobile-nav { display: none !important; }
}

/* ---------- Buttons ---------- */
.nt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.nt-btn--lg { padding: 0.95rem 1.9rem; font-size: 1rem; }
.nt-btn--block { width: 100%; }
.nt-btn--primary {
  background: var(--nt-accent);
  color: #ffffff;
  box-shadow: 0 14px 28px -16px var(--nt-accent-glow);
}
.nt-btn--primary:hover { background: var(--nt-accent-dark); transform: translateY(-1px); }
.nt-btn--outline { border-color: rgba(255, 255, 255, 0.35); color: #ffffff; background: transparent; }
.nt-btn--outline:hover { border-color: #ffffff; background: rgba(255, 255, 255, 0.08); }
.nt-page .nt-btn--outline { border-color: var(--nt-accent-line); color: var(--nt-accent-light); }
.nt-page .nt-btn--outline:hover { background: var(--nt-accent-soft); }
.nt-btn--ghost { background: var(--nt-surface); color: var(--nt-ink-soft); border-color: var(--nt-line); }
.nt-btn--ghost:hover { border-color: var(--nt-accent-line); color: var(--nt-accent-light); background: var(--nt-surface-alt); }
.nt-btn--disabled { background: var(--nt-surface-alt); color: var(--nt-muted); border-color: var(--nt-line); cursor: not-allowed; }

/* ---------- Shared bits ---------- */
.nt-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nt-accent-light);
  margin-bottom: 0.65rem;
}
.nt-eyebrow--light { color: var(--nt-mint-light); }

.nt-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--nt-accent-soft);
  color: var(--nt-accent-light);
  font-size: 0.78rem;
  font-weight: 650;
}

.nt-note {
  text-align: center;
  color: var(--nt-muted);
  font-size: 0.82rem;
  margin-top: 3rem;
}

.nt-page { padding: 3.5rem 0 4.5rem; }
.nt-page--detail { padding-top: 2rem; }
.nt-page--form { padding: 3rem 0 5rem; }

.nt-section { margin-bottom: 4.5rem; scroll-margin-top: 6rem; }
.nt-section:last-of-type { margin-bottom: 0; }
.nt-section__head { margin-bottom: 2rem; max-width: 44rem; }
.nt-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.nt-section__title { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 750; }
.nt-section__lead { margin-top: 0.7rem; font-size: 1rem; line-height: 1.65; color: var(--nt-body); }
.nt-section__foot { margin-top: 2.25rem; text-align: center; }

.nt-empty {
  text-align: center;
  background: var(--nt-surface);
  border: 1px dashed var(--nt-line-strong);
  border-radius: var(--nt-radius);
  padding: 3.5rem 1.5rem;
}
.nt-empty h2 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.nt-empty p { margin-bottom: 1.5rem; color: var(--nt-body); }

/* ---------- Hero ---------- */
.nt-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 12% -10%, var(--nt-dark-2) 0%, var(--nt-dark) 58%, var(--nt-dark-3) 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: 4rem 0 4.5rem;
}
.nt-hero--compact { padding: 3.25rem 0 3.5rem; }
.nt-hero__glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 34rem; height: 34rem;
  background: radial-gradient(circle, rgba(109, 93, 255, 0.5), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
.nt-hero__inner { position: relative; display: grid; gap: 3rem; align-items: center; }
.nt-hero__title {
  color: #ffffff;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 760;
  line-height: 1.1;
  margin-bottom: 1.1rem;
}
.nt-hero__accent {
  background: linear-gradient(100deg, var(--nt-mint-light), #b3a6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nt-hero__lead {
  font-size: clamp(1rem, 2.1vw, 1.12rem);
  line-height: 1.7;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.74);
}
.nt-hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.nt-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 1.25rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
}
.nt-hero__stats b { display: block; color: #fff; font-size: 0.98rem; font-weight: 700; }
.nt-hero__stats span { display: block; margin-top: 0.2rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }
.nt-hero__visual { display: none; }

/* Protocol mock-up — the hero's illustration, built in CSS so it stays
   crisp and needs no artwork. */
.nt-protocol {
  position: relative;
  border-radius: 24px;
  padding: 1.6rem 1.5rem 1.4rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.75);
}
.nt-protocol::before {
  content: '';
  position: absolute;
  inset: -14% -8% auto -8%;
  height: 60%;
  background: radial-gradient(circle at 70% 0%, rgba(124, 240, 216, 0.28), transparent 65%);
  border-radius: inherit;
  pointer-events: none;
}
.nt-protocol__top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nt-protocol__eyebrow {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nt-mint-light);
  margin-bottom: 0.4rem;
}
.nt-protocol__name { color: #fff; font-size: 1.02rem; font-weight: 700; }
.nt-protocol__tag {
  flex: 0 0 auto;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(109, 93, 255, 0.32);
  border: 1px solid rgba(179, 166, 255, 0.45);
  color: #d8d1ff;
  font-size: 0.66rem;
  font-weight: 700;
}
.nt-protocol__group { position: relative; padding-top: 1.15rem; }
.nt-protocol__time {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.7rem;
}
.nt-protocol__group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.nt-protocol__group li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.nt-protocol__group li b { flex: 1; color: #fff; font-size: 0.88rem; font-weight: 600; }
.nt-protocol__group li i {
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}
.nt-protocol__pill {
  width: 1.5rem;
  height: 0.85rem;
  border-radius: 999px;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.nt-protocol__pill--a { background: linear-gradient(90deg, #ffd166 50%, #ffe6a8 50%); }
.nt-protocol__pill--b { background: linear-gradient(90deg, #ff8fb1 50%, #ffd0dd 50%); }
.nt-protocol__pill--c { background: linear-gradient(90deg, #7cf0d8 50%, #c9fff2 50%); }
.nt-protocol__pill--d { background: linear-gradient(90deg, #b3a6ff 50%, #e2ddff 50%); }
.nt-protocol__foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.5);
}
.nt-protocol__dot {
  width: 0.45rem; height: 0.45rem;
  border-radius: 999px;
  background: var(--nt-mint);
  box-shadow: 0 0 0 3px rgba(47, 216, 180, 0.22);
}

@media (min-width: 960px) {
  .nt-hero { padding: 5.5rem 0 6rem; }
  .nt-hero__inner { grid-template-columns: 1.15fr 0.85fr; }
  .nt-hero__visual { display: block; }
}

/* ---------- How it works ---------- */
.nt-band { background: var(--nt-band); padding: 4rem 0; border-block: 1px solid var(--nt-line); }
.nt-steps {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  list-style: none;
  counter-reset: nt-step;
  padding: 0;
}
.nt-step {
  background: var(--nt-surface-alt);
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius);
  padding: 1.75rem 1.5rem;
}
.nt-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 999px;
  background: var(--nt-accent);
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
}
.nt-step h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.5rem; }
.nt-step p { font-size: 0.93rem; line-height: 1.65; }

@media (min-width: 820px) {
  .nt-steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* ---------- Product grid + cards ---------- */
.nt-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 620px) {
  .nt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .nt-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .nt-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .nt-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.nt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--nt-surface);
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius);
  overflow: hidden;
  box-shadow: var(--nt-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.nt-card:hover { transform: translateY(-3px); box-shadow: var(--nt-shadow-lg); border-color: var(--nt-accent-line); background: var(--nt-surface-alt); }
.nt-card--featured { border-color: var(--nt-accent); box-shadow: 0 24px 50px -30px var(--nt-accent-glow); }
.nt-card__badge {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  z-index: 2;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--nt-accent);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nt-card--featured .nt-card__badge { background: var(--nt-mint); color: var(--nt-dark); }
.nt-card__badge--static { position: static; display: inline-block; margin-bottom: 0.85rem; }

.nt-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, rgba(109, 93, 255, 0.16), rgba(124, 240, 216, 0.07));
  overflow: hidden;
}
.nt-card__media img { width: 100%; height: 100%; object-fit: cover; }
.nt-card__placeholder { width: 33%; max-width: 5.5rem; color: rgba(255, 255, 255, 0.2); }

.nt-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.35rem 1.5rem; }
.nt-card__title { font-size: 1.12rem; font-weight: 730; line-height: 1.3; }
.nt-card__title a { color: inherit; text-decoration: none; }
.nt-card__title a:hover { color: var(--nt-accent-light); }
.nt-card__tagline { margin-top: 0.45rem; font-size: 0.9rem; line-height: 1.55; color: var(--nt-body); }

.nt-card__list { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: 0.55rem; }
.nt-card__list li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.86rem; line-height: 1.5; }
.nt-card__list svg { width: 1rem; height: 1rem; flex: 0 0 auto; margin-top: 0.2rem; color: var(--nt-mint); }

.nt-card__foot { margin-top: auto; padding-top: 1.4rem; }
.nt-card__price { display: flex; align-items: baseline; gap: 0.55rem; margin-bottom: 0.9rem; flex-wrap: wrap; }
.nt-card__price-old { color: var(--nt-muted); text-decoration: line-through; font-size: 0.92rem; }
.nt-card__price-now { color: var(--nt-ink); font-size: 1.55rem; font-weight: 780; }
.nt-card__price-soon { color: var(--nt-muted); font-weight: 650; }
.nt-card__form { margin: 0; }
.nt-card__more {
  display: block;
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--nt-muted);
  text-decoration: none;
}
.nt-card__more:hover { color: var(--nt-accent-light); }

/* ---------- CTA band ---------- */
.nt-cta { padding: 0 0 4.5rem; }
.nt-cta__panel {
  display: grid;
  gap: 2rem;
  background: radial-gradient(110% 130% at 0% 0%, var(--nt-dark-2), var(--nt-dark) 68%);
  border-radius: 28px;
  padding: 2.5rem 1.75rem;
  color: rgba(255, 255, 255, 0.75);
}
.nt-cta__copy h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 740; margin-bottom: 0.7rem; }
.nt-cta__copy p { line-height: 1.65; }
.nt-cta__list { display: grid; gap: 0.75rem; }
.nt-cta__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--nt-radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.nt-cta__item:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(124, 240, 216, 0.5); transform: translateX(3px); }
.nt-cta__item h3 { color: #fff; font-size: 1.02rem; font-weight: 700; }
.nt-cta__item p { margin-top: 0.3rem; font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); line-height: 1.55; }
.nt-cta__item .nt-chip { margin-top: 0.6rem; background: rgba(124, 240, 216, 0.14); color: var(--nt-mint-light); }
.nt-cta__item svg { width: 1.4rem; height: 1.4rem; flex: 0 0 auto; color: var(--nt-mint-light); }

@media (min-width: 900px) {
  .nt-cta__panel { grid-template-columns: 0.9fr 1.1fr; align-items: center; padding: 3rem 3rem; gap: 3rem; }
}

/* ---------- Breadcrumb ---------- */
.nt-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.83rem;
  color: var(--nt-muted);
  margin-bottom: 1.75rem;
}
.nt-breadcrumb a { color: inherit; text-decoration: none; }
.nt-breadcrumb a:hover { color: var(--nt-accent-light); }
.nt-breadcrumb b { color: var(--nt-ink); font-weight: 650; }

/* ---------- Product detail ---------- */
.nt-detail { display: grid; gap: 2rem; margin-bottom: 4rem; }
.nt-detail__figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, rgba(109, 93, 255, 0.16), rgba(124, 240, 216, 0.07));
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius);
  overflow: hidden;
}
.nt-detail__figure img { width: 100%; height: 100%; object-fit: cover; }
.nt-detail__soldout {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.7rem;
  text-align: center;
  background: rgba(10, 10, 31, 0.85);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
}
.nt-thumbs { display: flex; gap: 0.6rem; margin-top: 0.85rem; overflow-x: auto; padding-bottom: 0.25rem; }
.nt-thumb {
  flex: 0 0 4.5rem;
  height: 4.5rem;
  border-radius: var(--nt-radius-sm);
  border: 2px solid var(--nt-line);
  background: var(--nt-surface);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}
.nt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nt-thumb.is-active { border-color: var(--nt-accent); }

.nt-detail__buy {
  background: var(--nt-surface);
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius);
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: var(--nt-shadow);
}
.nt-detail__title { font-size: clamp(1.55rem, 4vw, 2.15rem); font-weight: 760; line-height: 1.18; }
.nt-detail__tagline { margin-top: 0.7rem; font-size: 1rem; line-height: 1.6; }
.nt-detail__price { display: flex; align-items: baseline; gap: 0.65rem; flex-wrap: wrap; margin: 1.4rem 0 0.6rem; }
.nt-detail__price-now { font-size: 2.1rem; font-weight: 800; color: var(--nt-ink); }
.nt-detail__stock { display: flex; align-items: center; gap: 0.5rem; font-size: 0.87rem; font-weight: 600; }
.nt-detail__stock.is-in { color: var(--nt-mint); }
.nt-detail__stock.is-out { color: var(--nt-warn); }
.nt-dot { width: 0.55rem; height: 0.55rem; border-radius: 999px; background: currentColor; }
.nt-detail__list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.65rem; }
.nt-detail__list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.93rem; line-height: 1.55; }
.nt-detail__list svg { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; margin-top: 0.15rem; color: var(--nt-mint); }
.nt-detail__desc { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--nt-line); }
.nt-detail__desc p { font-size: 0.94rem; line-height: 1.7; margin-bottom: 0.9rem; }
.nt-detail__desc p:last-child { margin-bottom: 0; }

.nt-buy-form { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.nt-qty { display: inline-flex; align-items: center; border: 1px solid var(--nt-line); border-radius: 999px; overflow: hidden; width: fit-content; }
.nt-qty__btn {
  width: 2.75rem; height: 2.75rem;
  border: 0;
  background: var(--nt-surface-alt);
  color: var(--nt-ink-soft);
  font-size: 1.15rem;
  cursor: pointer;
  font-family: inherit;
}
.nt-qty__btn:hover { background: var(--nt-accent-soft); color: var(--nt-accent-light); }
.nt-qty__input {
  width: 3.5rem;
  height: 2.75rem;
  border: 0;
  text-align: center;
  font-weight: 700;
  color: var(--nt-ink);
  background: var(--nt-surface);
  -moz-appearance: textfield;
}
.nt-qty__input::-webkit-outer-spin-button,
.nt-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.nt-callout {
  margin-top: 1.4rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--nt-radius-sm);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fcd34d;
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (min-width: 900px) {
  .nt-detail { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
  .nt-detail__buy { padding: 2.25rem 2.25rem 2.5rem; }
}

/* ---------- Content blocks / tables / faq ---------- */
.nt-blocks { display: grid; gap: 1.25rem; }
.nt-block {
  background: var(--nt-surface);
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius);
  padding: 1.6rem 1.5rem;
}
.nt-block h2 { display: flex; align-items: center; gap: 0.55rem; font-size: 1.1rem; font-weight: 720; margin-bottom: 0.8rem; }
.nt-block__icon { font-size: 1.25rem; }
.nt-block p { font-size: 0.93rem; line-height: 1.7; margin-bottom: 0.8rem; }
.nt-block p:last-child { margin-bottom: 0; }
@media (min-width: 860px) { .nt-blocks { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }

.nt-tables { display: grid; gap: 1.5rem; }
.nt-table-card {
  background: var(--nt-surface);
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius);
  padding: 1.5rem;
}
.nt-table-card__title { font-size: 1.08rem; font-weight: 720; margin-bottom: 1.1rem; }
.nt-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nt-table { width: 100%; border-collapse: collapse; min-width: 20rem; }
.nt-table thead th {
  text-align: left;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nt-muted);
  padding: 0 0 0.7rem;
  border-bottom: 1px solid var(--nt-line);
}
.nt-table thead th:last-child { text-align: right; }
.nt-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--nt-ink-soft);
  font-size: 0.92rem;
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid var(--nt-line);
  vertical-align: top;
}
.nt-table tbody th small { display: block; margin-top: 0.2rem; font-weight: 400; font-size: 0.78rem; color: var(--nt-muted); }
.nt-table tbody td {
  text-align: right;
  font-weight: 700;
  color: var(--nt-ink);
  font-size: 0.92rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--nt-line);
  white-space: nowrap;
  vertical-align: top;
}
.nt-table tbody tr:last-child th,
.nt-table tbody tr:last-child td { border-bottom: 0; }
.nt-table-card__note { margin-top: 1rem; font-size: 0.8rem; color: var(--nt-muted); line-height: 1.55; }
@media (min-width: 900px) { .nt-tables { grid-template-columns: repeat(2, 1fr); } }

.nt-faq { display: grid; gap: 0.75rem; }
.nt-faq__item {
  background: var(--nt-surface);
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius-sm);
  overflow: hidden;
}
.nt-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 650;
  color: var(--nt-ink);
  list-style: none;
}
.nt-faq__item summary::-webkit-details-marker { display: none; }
.nt-faq__item summary svg { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; color: var(--nt-muted); transition: transform 0.2s ease; }
.nt-faq__item[open] summary svg { transform: rotate(180deg); }
.nt-faq__body { padding: 0 1.25rem 1.25rem; }
.nt-faq__body p { font-size: 0.92rem; line-height: 1.7; margin-bottom: 0.7rem; }
.nt-faq__body p:last-child { margin-bottom: 0; }

/* ---------- Assessment: list ---------- */
.nt-form-list { display: grid; gap: 1rem; }
.nt-form-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--nt-surface);
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius);
  padding: 1.5rem;
  text-decoration: none;
  box-shadow: var(--nt-shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.nt-form-list__item:hover { transform: translateY(-2px); border-color: var(--nt-accent); }
.nt-form-list__item h2 { font-size: 1.15rem; font-weight: 720; }
.nt-form-list__item p { margin-top: 0.45rem; font-size: 0.92rem; line-height: 1.6; }
.nt-form-list__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.nt-form-list__item svg { width: 1.5rem; height: 1.5rem; flex: 0 0 auto; color: var(--nt-mint-light); }

/* ---------- Assessment: form ----------
   The form is the page. The header stays to one line of title plus three
   facts; anything longer hides behind a disclosure so the questions start
   near the top of the viewport. */
.nt-form-head { text-align: center; margin-bottom: 1.5rem; }
.nt-form-head__title { font-size: clamp(1.45rem, 3.6vw, 1.95rem); font-weight: 720; }
.nt-form-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1.1rem;
  margin-top: 0.9rem;
}
.nt-fact {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.8rem;
  color: var(--nt-muted);
}
.nt-fact b { color: var(--nt-ink-soft); font-weight: 700; }
.nt-fact svg { width: 0.85rem; height: 0.85rem; }
.nt-fact--lock { color: var(--nt-mint); }

.nt-form-note-toggle { font-size: 0.8rem; }
.nt-form-note-toggle summary {
  cursor: pointer;
  color: var(--nt-accent-light);
  font-weight: 600;
  list-style: none;
}
.nt-form-note-toggle summary::-webkit-details-marker { display: none; }
.nt-form-note-toggle summary:hover { text-decoration: underline; }
.nt-form-note-toggle > div {
  margin-top: 0.85rem;
  padding: 1rem 1.15rem;
  border-radius: var(--nt-radius-sm);
  background: var(--nt-accent-soft);
  text-align: left;
}
.nt-form-note-toggle p { font-size: 0.86rem; line-height: 1.65; color: var(--nt-ink-soft); margin-bottom: 0.6rem; }
.nt-form-note-toggle p:last-child { margin-bottom: 0; }

.nt-form {
  position: relative;
  background: var(--nt-surface);
  border: 1px solid var(--nt-line);
  border-radius: 24px;
  padding: 1.75rem 1.25rem;
  box-shadow: var(--nt-shadow-lg);
}
@media (min-width: 720px) { .nt-form { padding: 2.5rem 2.75rem; } }

/* Progress rides at the top of the card and sticks under the navbar so the
   visitor always knows where they are in a long form. */
.nt-progress {
  position: sticky;
  top: 4.5rem;
  z-index: 5;
  margin: -1.75rem -1.25rem 2rem;
  padding: 1.15rem 1.25rem 0.9rem;
  background: rgba(13, 13, 36, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nt-line);
  border-radius: 24px 24px 0 0;
}
@media (min-width: 720px) { .nt-progress { margin: -2.5rem -2.75rem 2.5rem; padding: 1.35rem 2.75rem 1.1rem; } }
.nt-progress__bar { height: 5px; border-radius: 999px; background: var(--nt-line); overflow: hidden; }
.nt-progress__bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--nt-accent), var(--nt-mint));
  transition: width 0.28s ease;
}
.nt-progress__steps { display: flex; gap: 0.4rem; margin-top: 0.9rem; overflow-x: auto; padding-bottom: 0.25rem; }
.nt-progress__dot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--nt-line);
  background: var(--nt-surface);
  color: var(--nt-muted);
  font-size: 0.76rem;
  font-weight: 650;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.nt-progress__dot-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem; height: 1.15rem;
  border-radius: 999px;
  background: var(--nt-line);
  color: var(--nt-ink-soft);
  font-size: 0.68rem;
}
.nt-progress__dot.is-current { border-color: var(--nt-accent-line); color: var(--nt-accent-light); background: var(--nt-accent-soft); }
.nt-progress__dot.is-current .nt-progress__dot-num { background: var(--nt-accent); color: #fff; }
.nt-progress__dot.is-done { color: var(--nt-accent-light); }
.nt-progress__dot.is-done .nt-progress__dot-num { background: var(--nt-accent); color: #fff; }

.nt-step-panel { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.nt-step-panel__legend { display: flex; align-items: center; gap: 0.85rem; padding: 0; margin-bottom: 0.5rem; }
.nt-step-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: var(--nt-radius-sm);
  background: var(--nt-accent-soft);
  font-size: 1.25rem;
}
.nt-step-panel__count {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nt-muted);
  margin-bottom: 0.2rem;
}
.nt-step-panel__legend b { font-size: 1.2rem; font-weight: 740; color: var(--nt-ink); }
.nt-step-panel__desc { font-size: 0.92rem; line-height: 1.65; margin-bottom: 1.75rem; }

.nt-questions { display: grid; gap: 2.1rem; }
.nt-q { display: block; }
.nt-q__label { display: block; margin-bottom: 0.75rem; }
.nt-q__title { display: block; font-size: 1rem; font-weight: 680; color: var(--nt-ink); line-height: 1.45; }
.nt-q__req { color: var(--nt-danger); font-style: normal; margin-left: 0.15rem; }
.nt-q__help { display: block; margin-top: 0.3rem; font-size: 0.84rem; line-height: 1.5; color: var(--nt-muted); }
.nt-q__hint { margin-top: 0.55rem; font-size: 0.8rem; color: var(--nt-muted); }
.nt-q__error { margin-top: 0.55rem; font-size: 0.83rem; font-weight: 600; color: var(--nt-danger); }
.nt-q.has-error .nt-input,
.nt-q.has-error .nt-option__box { border-color: var(--nt-danger); }

.nt-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius-sm);
  background: var(--nt-surface);
  color: var(--nt-ink);
  font-size: 0.98rem;
  font-family: inherit;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.nt-input::placeholder { color: rgba(255, 255, 255, 0.32); }
.nt-input:focus {
  outline: none;
  border-color: var(--nt-accent);
  box-shadow: 0 0 0 3px rgba(109, 93, 255, 0.16);
}
.nt-input--area { resize: vertical; min-height: 6rem; line-height: 1.6; }
.nt-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.5) 50%), linear-gradient(135deg, rgba(255,255,255,0.5) 50%, transparent 50%); background-position: calc(100% - 1.15rem) 1.25rem, calc(100% - 0.8rem) 1.25rem; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }

.nt-input-group { position: relative; display: flex; align-items: center; }
/* The unit sits inside the field, so it has to be bounded: an over-long
   value typed into the admin would otherwise collide with the placeholder. */
.nt-input-group__unit {
  position: absolute;
  right: 1rem;
  max-width: 5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--nt-muted);
  pointer-events: none;
}
.nt-input-group .nt-input { padding-right: 6.25rem; }

.nt-options { display: grid; gap: 0.7rem; grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .nt-options--2 { grid-template-columns: repeat(2, 1fr); }
  .nt-options--3 { grid-template-columns: repeat(3, 1fr); }
}
.nt-option { display: block; cursor: pointer; }
.nt-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.nt-option__box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
  padding: 0.95rem 1rem;
  border: 1.5px solid var(--nt-line);
  border-radius: var(--nt-radius-sm);
  background: var(--nt-surface);
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}
.nt-option:hover .nt-option__box { border-color: var(--nt-line-strong); }
/* Bounded for the same reason: this slot is for one emoji, not a sentence. */
.nt-option__icon {
  font-size: 1.3rem;
  line-height: 1.2;
  flex: 0 0 auto;
  max-width: 1.75rem;
  overflow: hidden;
  white-space: nowrap;
}
.nt-option__text { flex: 1; min-width: 0; }
.nt-option__text b { display: block; font-size: 0.94rem; font-weight: 650; color: var(--nt-ink); line-height: 1.4; }
.nt-option__text small { display: block; margin-top: 0.2rem; font-size: 0.8rem; line-height: 1.45; color: var(--nt-muted); }
.nt-option__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem; height: 1.35rem;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1.5px solid var(--nt-line);
  color: transparent;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.nt-option__tick svg { width: 0.75rem; height: 0.75rem; }
.nt-option input:checked + .nt-option__box {
  border-color: var(--nt-accent);
  background: var(--nt-accent-soft);
  box-shadow: 0 0 0 3px rgba(109, 93, 255, 0.13);
}
.nt-option input:checked + .nt-option__box .nt-option__tick {
  background: var(--nt-accent);
  border-color: var(--nt-accent);
  color: #fff;
}
.nt-option input:focus-visible + .nt-option__box { outline: 2px solid var(--nt-accent); outline-offset: 2px; }

.nt-scale { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.nt-scale__item { flex: 1 1 2.5rem; min-width: 2.5rem; cursor: pointer; }
.nt-scale__item input { position: absolute; opacity: 0; width: 0; height: 0; }
.nt-scale__item span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.9rem;
  border: 1.5px solid var(--nt-line);
  border-radius: var(--nt-radius-sm);
  background: var(--nt-surface);
  font-weight: 700;
  color: var(--nt-ink-soft);
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.nt-scale__item:hover span { border-color: var(--nt-line-strong); }
.nt-scale__item input:checked + span { background: var(--nt-accent); border-color: var(--nt-accent); color: #fff; }
.nt-scale__item input:focus-visible + span { outline: 2px solid var(--nt-accent); outline-offset: 2px; }

.nt-consent { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; }
.nt-consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.nt-consent__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem; height: 1.4rem;
  flex: 0 0 auto;
  margin-top: 0.1rem;
  border: 1.5px solid var(--nt-line);
  border-radius: 6px;
  color: transparent;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.nt-consent__box svg { width: 0.8rem; height: 0.8rem; }
.nt-consent input:checked + .nt-consent__box { background: var(--nt-accent); border-color: var(--nt-accent); color: #fff; }
.nt-consent__text { font-size: 0.92rem; line-height: 1.55; color: var(--nt-ink-soft); }

.nt-q--contact {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--nt-line);
}
.nt-q--genetic-report {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--nt-line);
}
.nt-q--genetic-report + .nt-q--contact { margin-top: 1.5rem; }
.nt-form-note {
  margin-top: 2rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--nt-radius-sm);
  background: var(--nt-accent-soft);
  color: var(--nt-ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.nt-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--nt-line);
}
.nt-form-actions .nt-btn { flex: 1 1 auto; }
@media (min-width: 560px) { .nt-form-actions .nt-btn { flex: 0 0 auto; } }
.nt-form-actions #nt-prev { margin-right: auto; }
.nt-form-legal { margin-top: 1.25rem; font-size: 0.78rem; line-height: 1.55; color: var(--nt-muted); text-align: center; }

/* ---------- Thank-you ---------- */
.nt-page--done { padding-top: 4rem; }
.nt-done {
  background: var(--nt-surface);
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius);
  padding: 3rem 1.5rem;
  text-align: center;
  box-shadow: var(--nt-shadow);
  margin-bottom: 4rem;
}
.nt-done__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem; height: 4rem;
  border-radius: 999px;
  background: var(--nt-mint-soft);
  color: var(--nt-mint);
  margin-bottom: 1.5rem;
}
.nt-done__mark svg { width: 1.9rem; height: 1.9rem; }
.nt-done__title { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 760; }
.nt-done__body { margin-top: 1rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
.nt-done__body p { font-size: 0.98rem; line-height: 1.7; margin-bottom: 0.8rem; }
.nt-done__facts {
  display: grid;
  gap: 1rem;
  margin: 2rem auto 0;
  padding: 1.35rem;
  max-width: 34rem;
  border-radius: var(--nt-radius-sm);
  background: var(--nt-surface-alt);
  text-align: left;
}
.nt-done__facts dt { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--nt-muted); }
.nt-done__facts dd { margin: 0.25rem 0 0; font-size: 0.98rem; font-weight: 700; color: var(--nt-ink); }
.nt-done__hint { margin-top: 1.25rem; font-size: 0.85rem; line-height: 1.6; color: var(--nt-muted); max-width: 34rem; margin-left: auto; margin-right: auto; }
.nt-done__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2rem; }
@media (min-width: 560px) { .nt-done__facts { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sample needs map ---------- */
.nt-needs {
  margin: 0 0 4rem;
  padding: clamp(1.35rem, 4vw, 2.5rem);
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius);
  background:
    radial-gradient(circle at 92% 4%, rgba(109, 93, 255, 0.18), transparent 28%),
    var(--nt-surface);
  box-shadow: var(--nt-shadow);
}
.nt-needs__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}
.nt-needs__head > div { max-width: 39rem; }
.nt-needs__head h2 {
  margin-top: 0.55rem;
  color: var(--nt-ink);
  font-size: clamp(1.45rem, 4vw, 2.25rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.nt-needs__head p {
  margin-top: 0.9rem;
  color: var(--nt-body);
  font-size: 0.94rem;
  line-height: 1.7;
}
.nt-needs__demo {
  flex: 0 0 auto;
  padding: 0.48rem 0.72rem;
  border: 1px solid var(--nt-accent-line);
  border-radius: 999px;
  background: var(--nt-accent-soft);
  color: var(--nt-accent-light);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.nt-needs__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.75rem;
}
.nt-needs__summary > span {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.82rem 0.9rem;
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius-sm);
  background: rgba(255, 255, 255, 0.025);
  color: var(--nt-muted);
  font-size: 0.74rem;
  line-height: 1.35;
}
.nt-needs__summary b { color: var(--nt-ink); font-size: 1.15rem; }
.nt-needs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-top: 1.25rem;
}
.nt-need-card {
  position: relative;
  overflow: hidden;
  padding: 1.1rem;
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius-sm);
  background: rgba(255, 255, 255, 0.025);
}
.nt-need-card--high {
  border-color: rgba(109, 93, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(109, 93, 255, 0.12), rgba(109, 93, 255, 0.025)),
    rgba(255, 255, 255, 0.025);
}
.nt-need-card--high::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--nt-accent-light), var(--nt-mint));
  content: "";
}
.nt-need-card__top, .nt-need-card__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.nt-need-card__rank {
  color: var(--nt-muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.nt-need-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.55rem;
  border-radius: 999px;
  background: rgba(109, 93, 255, 0.18);
  color: var(--nt-accent-light);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nt-need-card__badge::before {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--nt-accent-light);
  box-shadow: 0 0 9px rgba(143, 124, 255, 0.75);
  content: "";
}
.nt-need-card__badge--soft { background: rgba(255, 255, 255, 0.055); color: var(--nt-muted); }
.nt-need-card__badge--soft::before { background: var(--nt-muted); box-shadow: none; }
.nt-need-card__title-row { align-items: flex-end; margin-top: 0.65rem; }
.nt-need-card__title-row h3 {
  color: var(--nt-ink);
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.3;
}
.nt-need-card__title-row strong {
  color: var(--nt-ink);
  font-size: 1.25rem;
  font-weight: 780;
  line-height: 1;
}
.nt-need-card__title-row small { margin-left: 0.12rem; color: var(--nt-muted); font-size: 0.58rem; font-weight: 700; }
.nt-need-card__meter {
  height: 0.34rem;
  margin-top: 0.7rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
}
.nt-need-card__meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.28);
}
.nt-need-card--high .nt-need-card__meter span {
  background: linear-gradient(90deg, var(--nt-accent), var(--nt-mint));
  box-shadow: 0 0 12px rgba(109, 93, 255, 0.45);
}
.nt-need-card > p { margin-top: 0.72rem; color: var(--nt-muted); font-size: 0.78rem; line-height: 1.55; }
.nt-needs__notice {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--nt-line);
  color: var(--nt-muted);
  font-size: 0.7rem;
  line-height: 1.6;
  text-align: center;
}

@media (min-width: 700px) {
  .nt-needs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .nt-needs__head { display: block; }
  .nt-needs__demo { display: inline-flex; margin-top: 1rem; }
  .nt-needs__summary { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.nt-footer { background: var(--nt-dark); padding: 3.5rem 0 2rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.nt-footer__grid { display: grid; gap: 2.25rem; grid-template-columns: 1fr; }
.nt-footer__about { margin-top: 1rem; color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; line-height: 1.65; max-width: 22rem; }
.nt-footer__title {
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.nt-footer__links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.nt-footer__links a { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; text-decoration: none; transition: color 0.16s ease; }
.nt-footer__links a:hover { color: var(--nt-mint-light); }
.nt-footer__links--plain li { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }
.nt-footer__bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.84rem;
}
.nt-footer__disclaimer { margin-top: 0.75rem; font-size: 0.74rem; line-height: 1.6; color: rgba(255, 255, 255, 0.3); max-width: 46rem; margin-left: auto; margin-right: auto; }

@media (min-width: 720px) {
  .nt-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
}

/* ---------- Mobile nav (base.html styles it light; Nutrition is dark) ---------- */
.dn-nutrition-site .nt-mobile-nav { background: var(--nt-page); }
.dn-nutrition-site .nt-mobile-nav .mobile-nav__top { border-bottom-color: var(--nt-line); }
.dn-nutrition-site .nt-mobile-nav .mobile-nav__close { background: var(--nt-surface); color: var(--nt-ink-soft); }
.dn-nutrition-site .nt-mobile-nav .mobile-nav__close:hover { background: var(--nt-surface-alt); color: #fff; }
.dn-nutrition-site .nt-mobile-nav .mobile-nav__link { color: var(--nt-ink); border-bottom-color: var(--nt-line); }
.dn-nutrition-site .nt-mobile-nav .mobile-nav__link:hover,
.dn-nutrition-site .nt-mobile-nav .mobile-nav__link:focus { color: var(--nt-accent-light); }
.dn-nutrition-site .nt-mobile-nav .mobile-nav__link svg { color: var(--nt-muted); }
.dn-nutrition-site .nt-mobile-nav .mobile-nav__link:hover svg { color: var(--nt-accent-light); }
.dn-nutrition-site .nt-mobile-nav .mobile-nav__user { border-top-color: var(--nt-line); }
.dn-nutrition-site .nt-mobile-nav .mobile-nav__user-name { color: var(--nt-ink); }
.dn-nutrition-site .nt-mobile-nav .mobile-nav__user-name-mark { background: var(--nt-accent-soft); color: var(--nt-accent-light); }
.dn-nutrition-site .nt-mobile-nav .mobile-nav__signin { border-color: var(--nt-line-strong); color: var(--nt-ink); }
.dn-nutrition-site .nt-mobile-nav .mobile-nav__signin:hover { border-color: var(--nt-accent-line); color: var(--nt-accent-light); }
.dn-nutrition-site .nt-mobile-nav .mobile-nav__signup,
.dn-nutrition-site .nt-mobile-nav .mobile-nav__logout { background: var(--nt-accent); }
.dn-nutrition-site .nt-mobile-nav .mobile-nav__signup:hover,
.dn-nutrition-site .nt-mobile-nav .mobile-nav__logout:hover { background: var(--nt-accent-dark); }
.dn-nutrition-site .nt-mobile-nav .mobile-nav__footer { color: var(--nt-muted); }
.dn-nutrition-site .nt-mobile-nav .lang-switcher { background: var(--nt-surface) !important; }
.dn-nutrition-site .nt-mobile-nav .lang-switcher__btn { color: var(--nt-body) !important; }
.dn-nutrition-site .nt-mobile-nav .lang-switcher__btn.is-active { background: var(--nt-accent) !important; color: #fff !important; }

@media (prefers-reduced-motion: reduce) {
  .dn-nutrition-site * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   Shared commerce pages (cart, checkout, order result, order list)
   under the Nutrition shell.

   These templates are written in Tailwind utilities against a light
   Health surface. Rather than fork them, this bridge repaints that fixed
   set of utilities for the dark Nutrition surface. Scoped to
   .dn-nutrition-site, so Health renders exactly as before.
   ============================================================ */
.dn-nutrition-site :is(.bg-gray-50, .bg-gray-100) { background-color: transparent !important; }
.dn-nutrition-site .bg-white { background-color: var(--nt-surface) !important; }

.dn-nutrition-site :is(.text-gray-900, .text-gray-800) { color: var(--nt-ink) !important; }
.dn-nutrition-site :is(.text-gray-700, .text-gray-600) { color: var(--nt-ink-soft) !important; }
.dn-nutrition-site :is(.text-gray-500, .text-gray-400, .text-gray-300, .text-gray-200) { color: var(--nt-muted) !important; }

.dn-nutrition-site :is(.border-gray-100, .border-gray-200, .border-gray-300) { border-color: var(--nt-line) !important; }
.dn-nutrition-site .divide-gray-100 > * + * { border-color: var(--nt-line) !important; }

/* The violet family is already on-brand; only its tinted backgrounds need
   to become translucent so they read on a dark card. */
.dn-nutrition-site :is(.bg-green-50, .bg-green-100) { background-color: var(--nt-accent-soft) !important; }
.dn-nutrition-site :is(.text-green-700, .text-green-600, .text-green-900) { color: var(--nt-accent-light) !important; }
.dn-nutrition-site :is(.text-green-500, .text-green-200) { color: var(--nt-mint) !important; }
.dn-nutrition-site .border-green-200 { border-color: var(--nt-accent-line) !important; }

.dn-nutrition-site :is(.bg-red-50, .bg-red-100) { background-color: rgba(248, 113, 113, 0.12) !important; }
.dn-nutrition-site :is(.text-red-700, .text-red-600, .text-red-900, .text-red-500) { color: var(--nt-danger) !important; }
.dn-nutrition-site .border-red-200 { border-color: rgba(248, 113, 113, 0.35) !important; }

.dn-nutrition-site :is(.bg-amber-50, .bg-amber-100) { background-color: rgba(251, 191, 36, 0.12) !important; }
.dn-nutrition-site :is(.text-amber-900, .text-amber-800, .text-amber-700, .text-amber-600) { color: #fcd34d !important; }
.dn-nutrition-site .border-amber-200 { border-color: rgba(251, 191, 36, 0.35) !important; }

/* Form controls inside those pages. */
.dn-nutrition-site :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea):not(.nt-input):not(.nt-qty__input) {
  background-color: var(--nt-surface) !important;
  border-color: var(--nt-line) !important;
  color: var(--nt-ink) !important;
}
.dn-nutrition-site :is(input, select, textarea)::placeholder { color: rgba(255, 255, 255, 0.32) !important; }

/* Shadows tuned for light cards disappear on dark; give the cards an edge. */
.dn-nutrition-site :is(.shadow-sm, .shadow, .shadow-md) { box-shadow: var(--nt-shadow) !important; }

/* The logo supplies transparency; keep its colors independent of the navbar. */
.nt-brand .dn-brand__navbar-logo { filter: none; }
