@font-face {
  font-family: 'Frankfurter D';
  src: url('./fonts/FrankfurterD.woff2') format('woff2'),
       url('./fonts/FrankfurterD.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --mint: #7fc990;
  --mint-deep: #377f55;
  --leaf: #eef9ee;
  --ink: #2c211b;
  --muted: #6d625c;
  --cream: #fffaf0;
  --yellow: #ffd96d;
  --yellow-soft: #fff0b9;
  --pink: #f58bac;
  --pink-soft: #ffe2ea;
  --lavender: #a995d0;
  --lavender-soft: #eee7fb;
  --cocoa: #7a442d;
  --line: rgba(44, 33, 27, 0.12);
  --shadow: 0 24px 70px rgba(94, 64, 41, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 217, 109, 0.28), transparent 28rem),
    radial-gradient(circle at 92% 22%, rgba(169, 149, 208, 0.22), transparent 26rem),
    #fffdf8;
  font-family: "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 248, 0.88);
  border-bottom: 1px solid rgba(44, 33, 27, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 34px rgba(88, 58, 42, 0.08);
}

.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 38px;
  padding: 7px 20px;
  color: #fff;
  background: var(--mint-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

.announcement a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  height: 74px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand img {
  width: 146px;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: #4d433e;
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 3px;
  content: "";
  background: var(--mint);
  border-radius: 99px;
  transition: width 180ms ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.nav-cta,
.button.primary {
  color: #fff;
  background: var(--mint-deep);
  box-shadow: 0 14px 30px rgba(55, 127, 85, 0.24);
}

.button.secondary,
.button.marketplace {
  color: var(--mint-deep);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(55, 127, 85, 0.24);
}

.button.marketplace {
  color: var(--cocoa);
  border-color: rgba(122, 68, 45, 0.22);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(55, 127, 85, 0.2);
}

.button-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
}

.secondary .button-icon,
.marketplace .button-icon {
  background: rgba(127, 201, 144, 0.18);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100vh - 112px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(44, 33, 27, 0.08);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.99) 0%, rgba(255, 253, 248, 0.93) 44%, rgba(255, 253, 248, 0.42) 74%, rgba(255, 253, 248, 0.1) 100%),
    url("./assets/products-lineup.jpg") center right / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 170px;
  content: "";
  background: linear-gradient(0deg, rgba(255, 253, 248, 1), rgba(255, 253, 248, 0));
}

.hero-content {
  width: min(620px, calc(100% - 42px));
  margin-left: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  padding: 66px 0 118px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint-deep);
  font-family: "Frankfurter D", "Noto Sans Thai", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.story-copy h2,
.shop h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Frankfurter D", "Noto Sans Thai", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(3.35rem, 6.1vw, 5.95rem);
  line-height: 0.9;
}

.hero-thai {
  margin: 18px 0 0;
  color: var(--cocoa);
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 1.16;
}

.hero-copy {
  max-width: 540px;
  margin: 14px 0 0;
  color: #514740;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-strip {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  width: min(720px, calc(100% - 42px));
  overflow: hidden;
  border: 1px solid rgba(44, 33, 27, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.hero-strip span {
  padding: 17px 16px;
  font-family: "Frankfurter D", "Noto Sans Thai", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  text-align: center;
}

.hero-strip span:nth-child(1) {
  background: var(--yellow);
}

.hero-strip span:nth-child(2) {
  background: var(--pink-soft);
}

.hero-strip span:nth-child(3) {
  background: var(--lavender-soft);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 98px 24px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-heading.wide {
  max-width: 820px;
  text-align: center;
  margin-inline: auto;
}

.section-heading h2,
.story-copy h2,
.shop h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 232px;
  padding: 26px;
  border: 1px solid rgba(44, 33, 27, 0.08);
  border-radius: var(--radius);
}

.feature-card.yellow {
  background: linear-gradient(180deg, #fff8d8, #fffdf8);
}

.feature-card.pink {
  background: linear-gradient(180deg, #ffe8ef, #fffdf8);
}

.feature-card.mint {
  background: linear-gradient(180deg, #e7f7e9, #fffdf8);
}

.feature-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 40px;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-family: "Frankfurter D", sans-serif;
  font-weight: 700;
}

.feature-card h3,
.product-copy h3 {
  margin: 0;
  font-family: "Frankfurter D", "Noto Sans Thai", sans-serif;
  font-size: 1.55rem;
  line-height: 1.08;
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.65;
}

.chooser {
  padding-top: 76px;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  background: #fff;
  border: 1px solid rgba(44, 33, 27, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 20px 54px rgba(88, 58, 42, 0.08);
}

.product-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.product-card.growth img {
  object-position: center 38%;
}

.product-card.immune img {
  object-position: center center;
}

.product-card.brain img {
  object-position: center center;
}

.product-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.tag {
  align-self: flex-start;
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: "Frankfurter D", sans-serif;
  font-weight: 800;
}

.growth .tag {
  background: var(--yellow-soft);
}

.immune .tag {
  background: var(--pink-soft);
}

.brain .tag {
  background: var(--lavender-soft);
}

.flavor {
  margin: 8px 0 0;
  color: var(--cocoa);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-copy ul {
  margin: 18px 0 22px;
  padding-left: 19px;
  color: #514740;
  font-weight: 600;
  line-height: 1.62;
}

.text-link {
  margin-top: auto;
  color: var(--mint-deep);
  font-weight: 900;
}

.text-link::after {
  content: " →";
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px 24px;
}

.story-image {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: var(--radius);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.calmino-story .story-image img {
  object-position: center;
}

.immune-story .story-image img {
  object-position: center center;
}

.dha-story .story-image img {
  object-position: center center;
}

.story-copy > p:not(.eyebrow) {
  margin: 20px 0 0;
  color: #524740;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.8;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill-list span {
  padding: 10px 14px;
  background: #fff;
  border: 1px solid rgba(44, 33, 27, 0.1);
  border-radius: 999px;
  color: #463b35;
  font-size: 0.92rem;
  font-weight: 900;
}

.mini-facts {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.mini-facts div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.mini-facts strong {
  color: var(--mint-deep);
}

.mini-facts span {
  color: #514740;
  font-weight: 700;
  line-height: 1.55;
}

.clean {
  max-width: none;
  margin-top: 40px;
  padding-block: 100px;
  background:
    linear-gradient(90deg, rgba(255, 217, 109, 0.32), rgba(245, 139, 172, 0.2), rgba(169, 149, 208, 0.28)),
    #fff9ea;
}

.clean-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.no-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.no-grid span {
  display: grid;
  place-items: center;
  min-height: 108px;
  padding: 18px 12px;
  color: var(--cocoa);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(122, 68, 45, 0.14);
  border-radius: var(--radius);
  font-family: "Frankfurter D", "Noto Sans Thai", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.routine {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.routine-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.8;
}

.routine-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.routine-steps div {
  min-height: 230px;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(44, 33, 27, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(88, 58, 42, 0.07);
}

.routine-steps span {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--cocoa);
  font-size: 0.9rem;
  font-weight: 900;
}

.routine-steps strong {
  display: block;
  font-family: "Frankfurter D", "Noto Sans Thai", sans-serif;
  font-size: 1.45rem;
  line-height: 1.08;
}

.routine-steps p {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.55;
}

.faq {
  padding-top: 72px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

details {
  background: #fff;
  border: 1px solid rgba(44, 33, 27, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(88, 58, 42, 0.06);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: 18px;
  content: "+";
  color: #fff;
  background: var(--mint-deep);
  border-radius: 50%;
  font-family: "Frankfurter D", sans-serif;
  font-weight: 700;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.8;
}

.shop {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  max-width: calc(var(--max) - 48px);
  margin: 34px auto 98px;
  padding: 52px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(55, 127, 85, 0.96), rgba(87, 151, 102, 0.92)),
    var(--mint-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.shop .eyebrow,
.shop h2,
.shop p {
  color: #fff;
}

.shop p {
  margin: 18px 0 0;
  font-weight: 600;
  line-height: 1.75;
}

.shop-actions {
  display: grid;
  gap: 12px;
  justify-items: stretch;
}

.shop-actions .button {
  width: 100%;
  min-height: 56px;
}

.shop-actions .primary {
  color: var(--mint-deep);
  background: #fff;
  box-shadow: none;
}

.shop-actions .primary .button-icon {
  color: #fff;
  background: var(--mint-deep);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 24px 54px;
  color: var(--muted);
  border-top: 1px solid rgba(44, 33, 27, 0.08);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.7;
}

.footer img {
  width: 126px;
}

.footer p {
  max-width: 680px;
  margin: 0;
  text-align: right;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 1) 0%, rgba(255, 253, 248, 0.96) 48%, rgba(255, 253, 248, 0.64) 100%),
      url("./assets/products-lineup.jpg") center bottom / cover no-repeat;
  }

  .hero-content {
    padding-top: 70px;
  }

  .feature-row,
  .product-grid,
  .routine,
  .shop {
    grid-template-columns: 1fr;
  }

  .split-section,
  .immune-story {
    grid-template-columns: 1fr;
  }

  .immune-story .story-copy {
    order: 2;
  }

  .immune-story .story-image {
    order: 1;
  }

  .no-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .routine-steps {
    grid-template-columns: 1fr;
  }

  .routine-steps div {
    min-height: 170px;
  }

  .routine-steps span {
    margin-bottom: 24px;
  }
}

@media (max-width: 640px) {
  .announcement {
    flex-direction: column;
    gap: 2px;
    min-height: auto;
    text-align: center;
    line-height: 1.45;
  }

  .navbar {
    height: 66px;
    padding-inline: 18px;
  }

  .brand img {
    width: 122px;
  }

  .nav-cta {
    min-height: 42px;
    padding-inline: 14px;
  }

  .hero {
    min-height: 730px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-left: 18px;
    padding: 50px 0 150px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12.8vw, 3.1rem);
    line-height: 0.96;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-strip {
    grid-template-columns: 1fr;
    bottom: 18px;
  }

  .hero-strip span {
    padding-block: 12px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 270px;
  }

  .section,
  .split-section {
    padding: 70px 18px;
  }

  .section-heading h2,
  .story-copy h2,
  .shop h2 {
    font-size: clamp(1.8rem, 9vw, 2.65rem);
  }

  .product-card img {
    height: 260px;
  }

  .story-image {
    aspect-ratio: 4 / 3;
  }

  .mini-facts div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .no-grid {
    grid-template-columns: 1fr 1fr;
  }

  .no-grid span {
    min-height: 92px;
    font-size: 0.9rem;
  }

  .shop {
    margin: 20px 18px 70px;
    padding: 32px 22px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 18px;
  }

  .footer p {
    text-align: left;
  }
}
