:root {
  --primary: #5d8402;
  --primary-dark: #3f5d01;
  --bg: #f9fbf4;
  --bg-soft: #eef4e4;
  --text: #1a2214;
  --muted: #4a5641;
  --card: #ffffff;
  --contrast: #3f5d01;
  --danger: #b53a3a;
  --border: #c8d4b8;
  --shadow: rgba(26, 34, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--contrast);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(249, 251, 244, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px var(--shadow);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 700;
}

.brand img {
  width: 42px;
  height: 42px;
}

.nav-toggle {
  display: none;
  background: var(--primary);
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu a {
  font-size: 0.95rem;
}

.menu a.is-active {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
}

.hero {
  min-height: 78vh;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(rgba(249, 251, 244, 0.72), rgba(238, 244, 228, 0.88)),
    url("../image/picture.jpg") center/cover no-repeat;
}

.hero-content {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px var(--shadow);
  backdrop-filter: blur(4px);
  padding: 2rem;
  border-radius: 14px;
  width: min(760px, 92%);
  color: var(--text);
}

h1,
h2,
h3 {
  line-height: 1.25;
}

.btn-row,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  border: 1px solid #7cab1a;
  font-weight: 600;
}

.btn.secondary {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary);
}

.ph,
i[class^="ph"] {
  color: var(--primary);
}

.section {
  padding: 3.2rem 0;
}

.section.alt {
  background: var(--bg-soft);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 14px var(--shadow);
}

.feature-list,
.timeline,
.faq-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.feature-list li,
.timeline li,
.faq-list li {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  padding: 0.75rem;
  box-shadow: 0 2px 8px var(--shadow);
}

.section-illustration {
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 8px 24px var(--shadow);
  width: 100%;
  height: auto;
  object-fit: cover;
}

form {
  display: grid;
  gap: 0.8rem;
}

input,
textarea {
  width: 100%;
  padding: 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

textarea {
  min-height: 130px;
}

.consent-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.93rem;
}

.disclaimer {
  margin-top: 1rem;
  padding: 0.8rem;
  border: 1px dashed var(--primary);
  color: var(--muted);
  background: #fff;
}

.map-wrap iframe {
  width: 100%;
  border: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 1.8rem 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0.7rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: #fff;
  border-top: 2px solid var(--primary);
  box-shadow: 0 -6px 24px var(--shadow);
  padding: 1rem 0;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-panel {
  display: grid;
  gap: 0.75rem;
}

.cookie-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.toggle {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  color: var(--text);
}

.thanks {
  min-height: 65vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.info-hub {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, var(--bg-soft) 100%);
  box-shadow: 0 10px 28px var(--shadow);
}

.info-hub__lead {
  font-size: 1.05rem;
  max-width: 72ch;
}

.info-hub__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.2rem 0;
}

.info-hub__grid article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.info-hub__grid article h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.stat-pill {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.split-insight {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.2rem;
  align-items: start;
}

.step-rail {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.step-rail li {
  position: relative;
  padding: 0.75rem 0.75rem 0.75rem 2.6rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.step-rail li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.nutrient-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.nutrient-table th,
.nutrient-table td {
  border: 1px solid var(--border);
  padding: 0.65rem;
  text-align: left;
}

.nutrient-table th {
  background: var(--bg-soft);
  color: var(--primary-dark);
}

.nutrient-table tr:nth-child(even) td {
  background: #fafdf6;
}

.recipe-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.recipe-matrix article {
  border: 1px dashed var(--primary);
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
}

.recipe-matrix article header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.recipe-matrix .kcal-tag {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.2rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.evidence-stack {
  display: grid;
  gap: 1rem;
}

.evidence-stack blockquote {
  margin: 0;
  padding: 1rem 1rem 1rem 1.2rem;
  border-left: 5px solid var(--primary);
  background: var(--card);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 4px 14px var(--shadow);
}

.evidence-stack cite {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

.check-columns {
  columns: 2;
  column-gap: 1.5rem;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.check-columns li {
  break-inside: avoid;
  margin-bottom: 0.5rem;
}

.modern-section {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #fff 0%, var(--bg-soft) 55%, #f3f8ea 100%);
  box-shadow: 0 14px 36px var(--shadow);
  padding: clamp(1.2rem, 3vw, 2rem);
  overflow: hidden;
}

.modern-section__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: #e6f2cf;
  border: 1px solid #c5db9a;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.8rem;
}

.modern-section h2 {
  margin-top: 0;
}

.kcal-bands {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 1.2rem 0;
}

.kcal-bands article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kcal-bands article:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow);
}

.kcal-bands strong {
  display: block;
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin: 0.35rem 0;
}

.formula-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 1.2rem 0;
  counter-reset: formula;
}

.formula-flow article {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 1rem;
  position: relative;
}

.formula-flow article::before {
  counter-increment: formula;
  content: counter(formula);
  position: absolute;
  top: -0.55rem;
  left: 0.8rem;
  background: var(--primary);
  color: #fff;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.menu-week {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
  margin: 1.2rem 0;
}

.menu-week article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem;
  border-top: 4px solid var(--primary);
}

.menu-week h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.menu-week .meal-line {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0.2rem 0;
}

.recipe-showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.2rem;
  align-items: start;
}

.recipe-showcase__media img {
  border-radius: 16px;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.recipe-showcase__panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
}

.nutrient-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0 1rem;
}

.nutrient-badges span {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.recipe-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.recipe-columns h4 {
  margin: 0 0 0.5rem;
  color: var(--primary-dark);
}

.recipe-columns ul,
.recipe-columns ol {
  margin: 0;
  padding-left: 1.1rem;
}

.insight-panel {
  border-radius: 18px;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 12px 30px var(--shadow);
}

.insight-panel--accent {
  background: linear-gradient(135deg, #fff 0%, #edf6dc 100%);
}

.insight-highlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1rem 0;
}

.insight-highlight div {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
}

.insight-highlight strong {
  display: block;
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.prose-block {
  max-width: 78ch;
}

.prose-block p + p {
  margin-top: 0.85rem;
}

.collage-intro {
  max-width: 62ch;
  margin-bottom: 1rem;
  color: var(--muted);
}

.photo-collage {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(160px, 220px));
  gap: 0.75rem;
  margin: 0 auto 1rem;
}

.collage-tile {
  position: relative;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 8px 22px var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.collage-tile:first-child {
  grid-row: 1 / span 2;
  grid-column: 1;
}

.collage-tile:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.collage-tile:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.collage-tile:nth-child(4) {
  grid-column: 2 / span 2;
  grid-row: 2;
}

.collage-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.collage-tile__label {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  background: rgba(15, 18, 16, 0.72);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.collage-tile:hover img,
.collage-tile.is-active img {
  transform: scale(1.05);
}

.collage-tile.is-active {
  border-color: var(--primary);
  box-shadow: 0 14px 32px rgba(93, 132, 2, 0.28);
  transform: translateY(-4px);
}

.collage-tile:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.collage-caption {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  max-width: 72ch;
  box-shadow: 0 4px 14px var(--shadow);
}

.collage-caption__text {
  font-weight: 500;
}

.legal-doc h2 {
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.legal-doc h3 {
  margin-top: 1rem;
  font-size: 1.05rem;
}

.legal-doc p,
.legal-doc li {
  max-width: 78ch;
}

.legal-doc ul,
.legal-doc ol {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.legal-doc .legal-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.legal-doc table {
  width: 100%;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.legal-doc table th,
.legal-doc table td {
  vertical-align: top;
}

.trust-panel {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  background: #fff;
  box-shadow: 0 8px 24px var(--shadow);
}

.trust-panel h2 {
  margin-top: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.trust-grid article {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem;
}

.trust-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--primary-dark);
}

.disclaimer-prominent {
  border-left: 4px solid var(--primary);
  background: #fff;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  color: var(--text);
}

.compliance-strip {
  margin: 0;
  padding: 0.45rem 0;
  font-size: 0.82rem;
  text-align: center;
  color: var(--muted);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.compliance-strip a {
  font-weight: 600;
}

.footer-trust {
  margin-bottom: 1rem;
  font-size: 0.93rem;
  color: var(--muted);
}

.footer-trust a {
  color: var(--primary-dark);
}

.footer-legal {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 720px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .info-hub__grid,
  .recipe-matrix,
  .split-insight,
  .recipe-showcase,
  .kcal-bands,
  .formula-flow,
  .insight-highlight,
  .recipe-columns {
    grid-template-columns: 1fr;
  }

  .photo-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .collage-tile:first-child,
  .collage-tile:nth-child(2),
  .collage-tile:nth-child(3),
  .collage-tile:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
    min-height: 180px;
  }

  .collage-tile:first-child {
    grid-column: 1 / span 2;
  }

  .check-columns {
    columns: 1;
  }
}

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 0.8rem;
    padding: 0.7rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 20px var(--shadow);
  }

  .menu.open {
    display: flex;
  }

  .header-wrap {
    flex-wrap: wrap;
  }
}

@media (max-width: 320px) {
  .hero-content {
    padding: 1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
