/* -------------------------------------------------------------
 * NutroCream™ Architectural Stylesheet
 * Medical Precision Blended with Confectionery Aesthetics
 * 100% Plain CSS · HSL Palettes · Cloudflare Edge Ready
 * ----------------------------------------------------------- */

:root {
  /* Chromatic Foundation */
  --c-navy-deep: hsl(210, 80%, 12%);
  --c-navy-rich: hsl(208, 70%, 20%);
  --c-navy-surface: hsl(210, 60%, 16%);
  
  --c-active-blue: hsl(202, 85%, 44%);
  --c-active-dark: hsl(205, 85%, 32%);
  --c-care-lavender: hsl(265, 46%, 52%);
  --c-care-dark: hsl(265, 52%, 36%);
  
  --c-gold: hsl(40, 92%, 48%);
  --c-emerald: hsl(165, 60%, 40%);
  
  --c-canvas: hsl(210, 24%, 98%);
  --c-surface: hsl(0, 0%, 100%);
  --c-border: hsl(210, 16%, 89%);
  --c-border-subtle: hsl(210, 16%, 94%);
  
  --c-text-title: hsl(215, 35%, 15%);
  --c-text-body: hsl(215, 20%, 32%);
  --c-text-muted: hsl(215, 14%, 50%);

  /* Spatial & UI Constants */
  --max-w: 1180px;
  --radius-sm: 0.35rem;
  --radius-md: 0.65rem;
  --radius-lg: 1.1rem;
  --shadow-subtle: 0 4px 20px -2px hsla(210, 25%, 20%, 0.06);
  --shadow-card: 0 10px 30px -4px hsla(210, 30%, 15%, 0.1);
  --transition: 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--c-canvas);
  color: var(--c-text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

/* ---------------- Top Banner ---------------- */
.top-banner {
  background-color: var(--c-navy-deep);
  color: hsl(210, 20%, 88%);
  font-size: 0.78rem;
  border-bottom: 1px solid hsla(210, 50%, 25%, 0.6);
  padding: 0.6rem 0;
}

.banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.banner-tag-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.badge {
  background-color: var(--c-active-blue);
  color: hsl(0, 0%, 100%);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.banner-status {
  font-weight: 500;
  color: hsl(210, 25%, 85%);
}

.banner-right {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill-outline {
  border: 1px solid hsla(210, 30%, 40%, 0.8);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: hsl(210, 25%, 88%);
  font-weight: 600;
}

/* ---------------- Masthead ---------------- */
.masthead {
  background-color: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: 1.25rem 0;
}

.masthead-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.brand-group {
  display: flex;
  flex-direction: column;
}

.brand-wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--c-navy-deep);
  letter-spacing: -0.02em;
  line-height: 1;
}

.trademark {
  font-size: 0.45em;
  font-family: 'Plus Jakarta Sans', sans-serif;
  vertical-align: super;
  margin-left: 0.15rem;
  color: var(--c-active-blue);
}

.brand-subline {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-top: 0.25rem;
}

.nav-metrics {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.metric-chip {
  background-color: var(--c-canvas);
  border: 1px solid var(--c-border);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  text-align: right;
  min-width: 110px;
}

.metric-chip.highlight {
  border-color: hsla(202, 85%, 44%, 0.4);
  background-color: hsla(202, 85%, 44%, 0.05);
}

.metric-num {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-navy-deep);
  line-height: 1.1;
}

.metric-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-text-muted);
}

/* ---------------- Hero Section ---------------- */
.hero-section {
  background: linear-gradient(180deg, var(--c-surface) 0%, var(--c-canvas) 100%);
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid var(--c-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--c-active-dark);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 3.85rem);
  font-weight: 700;
  color: var(--c-navy-deep);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.hero-italic {
  font-style: italic;
  font-weight: 600;
  color: var(--c-active-blue);
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: hsl(215, 25%, 26%);
  margin-bottom: 2rem;
}

.hero-lead strong {
  color: var(--c-navy-deep);
}

.hero-stats-band {
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat-cell {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-navy-deep);
  line-height: 1;
}

.stat-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-text-muted);
  margin-top: 0.35rem;
}

.stat-divider {
  width: 1px;
  height: 38px;
  background-color: var(--c-border);
}

.highlight-cell .stat-value {
  color: var(--c-emerald);
}

/* Hero Showcase Card */
.hero-card-featured {
  background-color: var(--c-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.showcase-img-wrap {
  position: relative;
  width: 100%;
  height: 440px;
  background-color: hsl(205, 30%, 92%);
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.showcase-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: hsla(210, 80%, 12%, 0.85);
  backdrop-filter: blur(8px);
  color: hsl(0, 0%, 100%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
}

.showcase-caption {
  padding: 1.5rem;
  background-color: var(--c-surface);
}

.showcase-pill {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--c-active-dark);
  margin-bottom: 0.35rem;
}

.showcase-caption p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--c-text-body);
}

/* ---------------- Section Headers ---------------- */
.section-header-centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--c-active-dark);
  margin-bottom: 0.5rem;
}

.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--c-navy-deep);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ---------------- Dual Products Grid ---------------- */
.products-section {
  padding: 4.5rem 0;
  background-color: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background-color: var(--c-canvas);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card-visual {
  position: relative;
  width: 100%;
  height: 380px;
  background-color: hsl(210, 20%, 93%);
  overflow: hidden;
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.category-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  color: hsl(0, 0%, 100%);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.active-tag {
  background-color: var(--c-active-dark);
}

.care-tag {
  background-color: var(--c-care-dark);
}

.card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: var(--c-surface);
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.product-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--c-navy-deep);
}

.text-active {
  color: var(--c-active-blue);
}

.text-care {
  color: var(--c-care-lavender);
}

.badge-accent {
  background-color: hsla(202, 85%, 44%, 0.12);
  color: var(--c-active-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.badge-accent-care {
  background-color: hsla(265, 46%, 52%, 0.12);
  color: var(--c-care-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.card-subhead {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-text-title);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.card-summary {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--c-text-body);
  margin-bottom: 1.75rem;
}

.specs-table {
  border-top: 1px solid var(--c-border-subtle);
  padding-top: 1.25rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.spec-row {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

.spec-key {
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-navy-rich);
  margin-bottom: 0.15rem;
}

.spec-val {
  color: hsl(215, 20%, 36%);
  line-height: 1.45;
}

/* ---------------- Technical Deep Dive Section ---------------- */
.deep-dive-section {
  padding: 4.5rem 0;
  background-color: var(--c-canvas);
  border-bottom: 1px solid var(--c-border);
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: start;
}

.info-panel {
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-subtle);
}

.panel-header {
  margin-bottom: 1.5rem;
}

.panel-pill {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--c-active-dark);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  display: block;
}

.panel-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-navy-deep);
  margin-bottom: 0.35rem;
}

.panel-desc {
  font-size: 0.84rem;
  color: var(--c-text-muted);
}

/* Donut Chart Component */
.chart-display {
  position: relative;
  width: 175px;
  height: 175px;
  margin: 0.5rem auto 1.5rem;
}

.donut-chart {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-segment {
  transition: stroke-dasharray var(--transition);
}

.chart-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.chart-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-navy-deep);
  line-height: 1;
  display: block;
}

.chart-unit {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-text-muted);
}

.macro-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--c-border-subtle);
  padding-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.macro-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.indicator {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.ind-carbs { background-color: var(--c-gold); }
.ind-fats { background-color: var(--c-emerald); }
.ind-protein { background-color: var(--c-active-blue); }
.ind-zero { background-color: hsl(210, 16%, 80%); }

.macro-data {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.85rem;
}

.macro-name {
  color: var(--c-text-title);
  font-weight: 500;
}

.macro-gram {
  font-weight: 700;
  color: var(--c-navy-deep);
}

.science-callout {
  background-color: hsla(202, 85%, 44%, 0.06);
  border-left: 3px solid var(--c-active-blue);
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: hsl(215, 25%, 30%);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------------- Nutrition Facts Box (FDA Regulation Spec) ---------------- */
.nf-panel {
  padding: 1.5rem;
  border: 2px solid var(--c-navy-deep);
}

.nf-box {
  background-color: var(--c-surface);
}

.nf-main-title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  border-bottom: 1px solid var(--c-navy-deep);
  padding-bottom: 0.35rem;
}

.nf-sub {
  font-size: 0.88rem;
  margin-top: 0.35rem;
}

.nf-serv-size {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  border-bottom: 8px solid var(--c-navy-deep);
  padding-bottom: 0.35rem;
  margin-bottom: 0.35rem;
}

.nf-rule-fat {
  border-bottom: 6px solid var(--c-navy-deep);
  margin: 0.35rem 0;
}

.nf-rule-mid {
  border-bottom: 3px solid var(--c-navy-deep);
  margin: 0.35rem 0;
}

.nf-cal-group {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.nf-cal-label {
  font-size: 0.75rem;
  font-weight: 700;
}

.nf-cal-text {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.nf-cal-value {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 0.9;
}

.nf-dv-text {
  text-align: right;
  font-size: 0.75rem;
  font-weight: 700;
  border-bottom: 1px solid var(--c-navy-deep);
  padding-bottom: 0.2rem;
}

.nf-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  border-bottom: 1px solid hsl(210, 16%, 86%);
  padding: 0.3rem 0;
}

.nf-line.indent {
  padding-left: 1.25rem;
}

.bold {
  font-weight: 800;
}

.nf-disclaimer {
  font-size: 0.68rem;
  line-height: 1.4;
  color: hsl(215, 20%, 38%);
  margin-top: 0.5rem;
}

/* Advantage Stack */
.advantage-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.adv-card {
  border-left: 3px solid var(--c-navy-rich);
  padding-left: 1rem;
}

.adv-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-navy-deep);
  margin-bottom: 0.3rem;
}

.adv-body {
  font-size: 0.85rem;
  line-height: 1.55;
  color: hsl(215, 20%, 35%);
}

/* ---------------- Scientific Pillars ---------------- */
.pillars-section {
  padding: 4.5rem 0;
  background-color: var(--c-surface);
}

.grid-four {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.pillar-box {
  background-color: var(--c-canvas);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform var(--transition);
}

.pillar-box:hover {
  transform: translateY(-3px);
}

.pillar-step {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--c-active-blue);
  margin-bottom: 0.75rem;
}

.pillar-headline {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-navy-deep);
  margin-bottom: 0.5rem;
}

.pillar-body {
  font-size: 0.85rem;
  color: hsl(215, 18%, 35%);
  line-height: 1.6;
}

/* ---------------- Site Footer ---------------- */
.site-footer {
  background-color: var(--c-navy-deep);
  color: hsl(210, 20%, 92%);
  padding: 4rem 0 3.5rem;
  border-top: 4px solid var(--c-active-blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
}

.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: hsl(0, 0%, 100%);
  margin-bottom: 0.5rem;
}

.footer-mission {
  font-size: 0.95rem;
  color: hsl(210, 25%, 82%);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.footer-domain-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: hsla(210, 60%, 16%, 0.8);
  border: 1px solid hsla(210, 40%, 30%, 0.8);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: hsl(210, 30%, 90%);
}

.status-indicator {
  width: 0.55rem;
  height: 0.55rem;
  background-color: var(--c-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--c-emerald);
}

.dossier-card {
  background-color: var(--c-navy-surface);
  border: 1px solid hsla(210, 40%, 28%, 0.8);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.dossier-badge {
  display: inline-block;
  background-color: var(--c-care-lavender);
  color: hsl(0, 0%, 100%);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.dossier-body {
  font-size: 0.82rem;
  line-height: 1.6;
  color: hsl(210, 20%, 82%);
  margin-bottom: 1rem;
}

.dossier-copyright {
  font-size: 0.72rem;
  color: hsl(210, 18%, 62%);
  border-top: 1px solid hsla(210, 30%, 25%, 0.8);
  padding-top: 0.75rem;
}

/* ---------------- Responsiveness ---------------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .showcase-img-wrap {
    height: 380px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .brand-wordmark {
    font-size: 1.85rem;
  }

  .nav-metrics {
    width: 100%;
    justify-content: space-between;
  }

  .metric-chip {
    min-width: 0;
    flex: 1;
    text-align: center;
  }

  .hero-stats-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-divider {
    display: none;
  }

  .card-visual {
    height: 300px;
  }
}