:root {
  color-scheme: light;
  --ink: #203332;
  --ink-soft: #526562;
  --teal: #0a6c68;
  --teal-dark: #064b48;
  --mint: #e7f4ef;
  --coral: #e56b5d;
  --yellow: #f3c94d;
  --paper: #ffffff;
  --cloud: #f5f8f7;
  --line: #d7e1de;
  --max: 1120px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(10, 108, 104, 0.14);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: 184px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-actions a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  color: #fff;
  background: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button-secondary {
  color: var(--teal-dark);
  background: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: #fff;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.products-hero {
  padding: 96px 0 76px;
  border-bottom: 1px solid var(--line);
  background: var(--mint);
}

.products-hero h1,
.detail-hero h1 {
  max-width: 840px;
  margin: 0;
  font-family: "Songti SC", "STSong", SimSun, serif;
  font-size: 62px;
  line-height: 1.18;
}

.hero-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.section {
  padding: 88px 0;
}

.section-muted {
  background: var(--cloud);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.3;
}

.section-heading p:last-child {
  margin: 16px 0 0;
  color: var(--ink-soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.product-visual {
  width: 92px;
  height: 112px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 46px 46px 16px 16px;
  color: #fff;
  background: var(--teal);
  font-family: "Songti SC", "STSong", SimSun, serif;
  font-size: 40px;
  font-weight: 700;
}

.product-card:nth-child(2) .product-visual,
.product-visual-coconut {
  color: var(--ink);
  background: var(--yellow);
}

.status {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: #70443d;
  background: #fff0ec;
  font-size: 12px;
  font-weight: 800;
}

.product-card h2 {
  margin: 16px 0 10px;
  font-size: 30px;
}

.product-card p {
  margin: 0;
  color: var(--ink-soft);
}

.card-action {
  margin-top: auto;
  padding-top: 28px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.principle {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.principle:first-child {
  padding-left: 0;
}

.principle:last-child {
  padding-right: 0;
  border-right: 0;
}

.principle strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 18px;
}

.principle p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.detail-hero {
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--line);
  background: var(--mint);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 72px;
  align-items: center;
}

.detail-visual {
  width: 230px;
  height: 280px;
  display: grid;
  place-items: center;
  border-radius: 115px 115px 28px 28px;
  color: #fff;
  background: var(--teal);
  font-family: "Songti SC", "STSong", SimSun, serif;
  font-size: 84px;
  font-weight: 700;
}

.detail-visual-coconut {
  color: var(--ink);
  background: var(--yellow);
}

.detail-hero .status {
  margin-bottom: 22px;
}

.detail-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 64px;
}

.detail-copy h2 {
  margin: 0 0 18px;
  font-size: 34px;
}

.detail-copy p {
  color: var(--ink-soft);
}

.detail-copy + .detail-copy {
  margin-top: 48px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.info-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.info-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  background: #fff;
}

.info-row dt {
  color: var(--teal-dark);
  font-weight: 800;
}

.info-row dd {
  margin: 0;
  color: var(--ink-soft);
}

.detail-aside {
  height: fit-content;
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--yellow);
  border-radius: var(--radius);
  background: var(--cloud);
}

.detail-aside h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.detail-aside p {
  margin: 0 0 20px;
  color: var(--ink-soft);
}

.detail-aside .button {
  width: 100%;
}

.notice {
  padding: 20px 22px;
  border-left: 4px solid var(--coral);
  color: #70443d;
  background: #fff4f1;
  font-size: 14px;
}

.coconut-hero {
  padding-bottom: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(243, 201, 77, 0.32), transparent 28%),
    linear-gradient(135deg, #edf8f3 0%, #e7f4ef 58%, #f9f2d5 100%);
}

.coconut-hero-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.status-formula {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(10, 108, 104, 0.18);
}

.formula-visual {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px;
  border: 1px solid rgba(10, 108, 104, 0.18);
  border-radius: 180px 180px 32px 32px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 28px 70px rgba(31, 70, 65, 0.12);
  text-align: center;
}

.formula-visual::before,
.formula-visual::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
}

.formula-visual::before {
  top: 72px;
  left: 36px;
  box-shadow: 226px 42px 0 rgba(10, 108, 104, 0.45);
}

.formula-visual::after {
  right: 52px;
  bottom: 82px;
  box-shadow: -226px -30px 0 rgba(229, 107, 93, 0.34);
}

.formula-visual-kicker {
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.formula-orb {
  width: 134px;
  height: 134px;
  display: grid;
  place-items: center;
  margin: 24px 0;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  box-shadow: inset -14px -16px 0 rgba(0, 0, 0, 0.08);
  font-family: "Songti SC", "STSong", SimSun, serif;
  font-size: 64px;
  font-weight: 700;
}

.formula-visual strong {
  font-size: 22px;
}

.formula-visual p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 64px;
  border-top: 1px solid rgba(10, 108, 104, 0.18);
}

.fact-strip div {
  padding: 24px 30px 28px;
  border-right: 1px solid rgba(10, 108, 104, 0.18);
}

.fact-strip div:first-child {
  padding-left: 0;
}

.fact-strip div:last-child {
  border-right: 0;
}

.fact-strip span,
.fact-strip strong {
  display: block;
}

.fact-strip span {
  margin-bottom: 3px;
  color: var(--ink-soft);
  font-size: 12px;
}

.fact-strip strong {
  color: var(--teal-dark);
  font-size: 18px;
}

.formula-heading {
  margin-bottom: 28px;
}

.ingredient-lead {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
  padding: 22px 24px;
  border-left: 4px solid var(--yellow);
  background: #fffaf0;
}

.ingredient-lead span {
  color: #81670f;
  font-size: 13px;
  font-weight: 900;
}

.ingredient-lead p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ingredient-card {
  min-height: 238px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.ingredient-card:hover {
  border-color: rgba(10, 108, 104, 0.42);
  box-shadow: 0 18px 46px rgba(31, 70, 65, 0.08);
  transform: translateY(-2px);
}

.ingredient-card,
.ingredient-card:hover {
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ingredient-primary {
  min-height: 210px;
  grid-column: 1 / -1;
  background: var(--teal-dark);
  color: #fff;
}

.ingredient-number {
  color: var(--teal);
  font-family: Georgia, serif;
  font-size: 24px;
  font-style: italic;
}

.ingredient-primary .ingredient-number {
  color: var(--yellow);
}

.ingredient-role {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.ingredient-primary .ingredient-role {
  color: #94d8cc;
}

.ingredient-card h3 {
  margin: 8px 0 10px;
  font-size: 28px;
}

.ingredient-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.ingredient-primary p {
  max-width: 700px;
  color: #d7e7e3;
}

.section-casein {
  color: #fff;
  background: #163f3b;
}

.casein-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: center;
}

.casein-statement .eyebrow {
  color: #94d8cc;
}

.casein-statement h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", SimSun, serif;
  font-size: 48px;
  line-height: 1.25;
}

.casein-statement sup {
  color: var(--yellow);
  font-size: 20px;
}

.casein-explainer {
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.casein-explainer p {
  margin: 0;
  color: #e0eeeb;
  font-size: 17px;
}

.casein-explainer .fine-print {
  margin-top: 18px;
  color: #abc5bf;
  font-size: 13px;
}

.checklist-list .info-row dt::before {
  content: "✓";
  display: inline-block;
  margin-right: 8px;
  color: var(--teal);
}

.coconut-aside {
  border-top-color: var(--teal);
  background: #fff;
  box-shadow: 0 18px 50px rgba(31, 70, 65, 0.08);
}

.consultation-section {
  padding: 64px 0;
}

.consultation-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  align-items: center;
  padding: 34px 38px;
}

.consultation-panel h2 {
  font-size: 30px;
}

.consultation-panel p {
  max-width: 680px;
  margin-bottom: 0;
}

.consultation-action {
  display: flex;
  flex-direction: column;
}

.aside-label,
.aside-note {
  display: block;
}

.aside-label {
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.aside-note {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 12px;
  text-align: center;
}

.faq-section {
  background: #fff;
}

.faq-shell {
  max-width: 920px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 46px 24px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 0;
  color: var(--teal);
  font-size: 30px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 780px;
  margin: -4px 0 24px;
  color: var(--ink-soft);
}

.site-footer {
  padding: 34px 0;
  color: #b9cbc7;
  background: #162624;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(229, 107, 93, 0.45);
  outline-offset: 3px;
}

@media (max-width: 780px) {
  .shell {
    width: min(var(--max), calc(100% - 32px));
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    width: 144px;
  }

  .header-actions a:not(.button) {
    display: none;
  }

  .products-hero,
  .detail-hero {
    padding: 64px 0 56px;
  }

  .products-hero h1,
  .detail-hero h1 {
    font-size: 42px;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .product-grid,
  .principles,
  .detail-hero-grid,
  .detail-grid,
  .ingredient-grid,
  .casein-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }

  .principle,
  .principle:first-child,
  .principle:last-child {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle:last-child {
    border-bottom: 0;
  }

  .detail-visual {
    width: 150px;
    height: 184px;
    border-radius: 75px 75px 20px 20px;
    font-size: 58px;
  }

  .detail-grid {
    gap: 42px;
  }

  .coconut-hero-grid {
    gap: 42px;
  }

  .formula-visual {
    min-height: 320px;
    border-radius: 160px 160px 26px 26px;
  }

  .formula-orb {
    width: 112px;
    height: 112px;
    font-size: 52px;
  }

  .fact-strip {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .fact-strip div,
  .fact-strip div:first-child,
  .fact-strip div:last-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(10, 108, 104, 0.18);
  }

  .fact-strip div:last-child {
    border-bottom: 0;
  }

  .ingredient-lead,
  .ingredient-card {
    grid-template-columns: 1fr;
  }

  .ingredient-card,
  .ingredient-primary {
    min-height: 0;
    grid-column: auto;
  }

  .casein-grid {
    gap: 34px;
  }

  .casein-statement h2 {
    font-size: 38px;
  }

  .casein-explainer {
    padding: 26px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .consultation-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
