:root {
  --ink: #17332d;
  --ink-2: #274b42;
  --forest: #143d34;
  --forest-2: #0f302a;
  --sage: #8caa8a;
  --mint: #dbe8df;
  --paper: #f4f2eb;
  --stone: #e8e5dc;
  --white: #fffdf8;
  --warm: #d7643f;
  --warm-dark: #b74c2e;
  --amber: #c6924c;
  --muted: #68766f;
  --line: rgba(23, 51, 45, 0.14);
  --shadow: 0 18px 50px rgba(19, 48, 42, 0.12);
  --radius: 8px;
  --shell: min(1240px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.announcement {
  background: var(--forest-2);
  color: #e8eee9;
  font-size: 12px;
}

.announcement__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.announcement strong {
  color: #f0bf8d;
  font-weight: 600;
}

.announcement a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.announcement a svg {
  width: 14px;
  height: 14px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(244, 242, 235, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(22, 55, 47, 0.08);
}

.header__main {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.menu-button,
.mobile-nav,
.mobile-dock {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--forest);
  border-radius: 50% 50% 45% 55%;
  font-family: "STSong", "Songti SC", serif;
  font-size: 21px;
  transform: rotate(-4deg);
}

.brand > span:last-child {
  display: grid;
  gap: 0;
}

.brand strong {
  font-family: "STSong", "Songti SC", serif;
  font-size: 22px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 8px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 14px;
}

.desktop-nav a {
  position: relative;
  padding: 27px 0 24px;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 18px;
  height: 2px;
  background: var(--warm);
  transition: 0.2s ease;
}

.desktop-nav a:hover::after {
  left: 0;
  right: 0;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
}

.icon-button:hover {
  background: rgba(20, 61, 52, 0.08);
}

.bag-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
}

.bag-button b {
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--warm);
  font-size: 11px;
}

.hero {
  padding-top: 64px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--ink-2);
}

.eyebrow--light {
  color: #d7e7df;
}

.eyebrow svg {
  width: 16px;
  height: 16px;
}

.eyebrow__divider {
  width: 1px;
  height: 12px;
  background: currentColor;
  opacity: 0.45;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(198, 146, 76, 0.15);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 9px rgba(198, 146, 76, 0); }
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-family: "STSong", "Songti SC", serif;
  font-size: clamp(42px, 5.2vw, 74px);
  font-weight: 500;
  line-height: 1.08;
}

.hero__copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--white);
  background: var(--forest);
}

.button--primary:hover {
  background: var(--forest-2);
}

.button--ghost {
  border-color: var(--line);
  background: transparent;
}

.button--ghost:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.45);
}

.button--dark {
  color: var(--white);
  background: var(--ink);
}

.button--warm {
  color: var(--white);
  background: var(--warm);
}

.button svg {
  width: 17px;
  height: 17px;
}

.hero__trust {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero__trust svg {
  width: 15px;
  height: 15px;
  color: var(--forest);
}

.hero__visual {
  position: relative;
  height: clamp(500px, 48vw, 650px);
}

.hero__photo {
  position: absolute;
  overflow: hidden;
  background: var(--stone);
  border-radius: var(--radius);
}

.hero__photo img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.hero__photo:hover img {
  transform: scale(1.03);
}

.hero__photo--main {
  inset: 0 18% 10% 0;
  z-index: 2;
  box-shadow: var(--shadow);
}

.hero__photo--main img {
  object-position: center;
}

.hero__photo--food {
  right: 0;
  bottom: 0;
  width: 42%;
  height: 46%;
  z-index: 3;
  border: 7px solid var(--paper);
  box-shadow: 0 20px 40px rgba(20, 61, 52, 0.18);
}

.photo-label {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 7px 11px;
  color: var(--white);
  background: rgba(15, 48, 42, 0.86);
  border-radius: 999px;
  font-size: 11px;
  backdrop-filter: blur(8px);
}

.hero__note,
.hero__batch {
  position: absolute;
  z-index: 4;
  padding: 13px 15px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(23, 51, 45, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(20, 61, 52, 0.14);
  backdrop-filter: blur(12px);
}

.hero__note {
  left: 7%;
  bottom: 4%;
  display: grid;
}

.hero__batch {
  right: 4%;
  top: 10%;
}

.hero__note span,
.hero__batch span {
  color: var(--muted);
  font-size: 10px;
}

.hero__note strong,
.hero__batch strong {
  font-family: "STSong", "Songti SC", serif;
  font-size: 20px;
  font-weight: 600;
}

.hero__note small {
  color: var(--muted);
}

.daily-rail {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.daily-rail > div {
  padding: 20px 24px;
  display: grid;
  gap: 2px;
  border-right: 1px solid var(--line);
}

.daily-rail > div:first-child {
  padding-left: 0;
}

.daily-rail > div:last-child {
  border-right: 0;
}

.daily-rail span {
  color: var(--muted);
  font-size: 11px;
}

.daily-rail strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-heading {
  margin-bottom: 44px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading h2,
.knowledge-heading h2,
.member-panel h2,
.gift-panel h2 {
  margin: 0;
  font-family: "STSong", "Songti SC", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.13;
}

.section-heading__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.soft-badge {
  padding: 7px 11px;
  color: var(--ink-2);
  background: var(--mint);
  border-radius: 999px;
  font-size: 11px;
}

.text-button {
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-weight: 650;
}

.text-button svg {
  width: 16px;
  height: 16px;
}

.recipe-section {
  background: var(--white);
}

.recipe-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: stretch;
}

.recipe-photo {
  position: relative;
  min-height: 610px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stone);
}

.recipe-photo img {
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease, transform 0.5s ease;
}

.recipe-photo.is-changing img {
  opacity: 0.35;
  transform: scale(1.02);
}

.recipe-photo figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(15, 48, 42, 0.82);
  border-radius: var(--radius);
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.recipe-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.recipe-meta span {
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  background: var(--paper);
  border-radius: 999px;
  font-size: 11px;
}

.recipe-meta svg {
  width: 14px;
  height: 14px;
}

.recipe-meta b {
  color: var(--ink);
  font-weight: 600;
}

.recipe-lead {
  margin: 24px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.recipe-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.recipe-steps li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.recipe-steps li > span {
  color: var(--warm);
  font-family: Georgia, serif;
  font-size: 13px;
}

.recipe-steps strong {
  display: block;
  font-size: 14px;
}

.recipe-steps p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.recipe-product {
  margin-top: 24px;
  padding: 12px;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border-radius: var(--radius);
}

.recipe-product img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}

.recipe-product > div {
  display: grid;
  gap: 2px;
}

.recipe-product span,
.recipe-product small {
  color: var(--muted);
  font-size: 10px;
}

.recipe-product strong {
  font-size: 14px;
}

.recipe-product .button {
  min-height: 40px;
  padding: 0 15px;
  font-size: 12px;
}

.series-section {
  color: var(--white);
  background: var(--forest);
}

.section-heading--light {
  color: var(--white);
}

.section-heading__note {
  max-width: 450px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.9;
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.product-card__image {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: var(--stone);
}

.product-card__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-card__image span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  color: var(--white);
  background: rgba(20, 61, 52, 0.82);
  border-radius: 999px;
  font-size: 10px;
}

.product-card__body {
  padding: 20px;
}

.product-card__body > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.product-card h3 {
  margin: 4px 0 14px;
  font-family: "STSong", "Songti SC", serif;
  font-size: 25px;
  font-weight: 550;
}

.product-card ul {
  min-height: 72px;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  list-style: none;
}

.product-card li::before {
  content: "·";
  margin-right: 7px;
  color: var(--warm);
}

.price-row {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.price-row strong {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}

.price-row span {
  color: var(--muted);
  font-size: 10px;
}

.card-action {
  width: 100%;
  margin-top: 16px;
  padding: 11px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
}

.card-action svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.card-action:hover svg {
  transform: translateX(4px);
}

.product-card--accent {
  background: #f0e3d5;
}

.ai-section {
  overflow: hidden;
  color: var(--white);
  background: var(--forest-2);
}

.ai-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.ai-copy h2 {
  margin: 0;
  font-family: "STSong", "Songti SC", serif;
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 500;
  line-height: 1.12;
}

.ai-copy > p:not(.eyebrow) {
  max-width: 510px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.9;
}

.ai-prompts {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-prompts button {
  padding: 9px 12px;
  color: #e6eee9;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
}

.ai-prompts button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.ai-console {
  min-height: 520px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
}

.ai-console__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.ai-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--warm);
  border-radius: 50%;
}

.ai-console__header > div:nth-child(2) {
  display: grid;
}

.ai-console__header strong {
  font-size: 13px;
}

.ai-console__header span {
  color: var(--muted);
  font-size: 10px;
}

.ai-console__header i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #62a36b;
  box-shadow: 0 0 0 4px rgba(98, 163, 107, 0.14);
}

.ai-console__messages {
  height: 350px;
  padding: 18px 4px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 2px 14px 14px 14px;
  font-size: 13px;
  line-height: 1.75;
}

.message p {
  margin: 0;
}

.message--ai {
  align-self: flex-start;
  background: var(--paper);
}

.message--user {
  align-self: flex-end;
  color: var(--white);
  background: var(--forest);
  border-radius: 14px 2px 14px 14px;
}

.message--result {
  width: 100%;
  max-width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
}

.result-title {
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.result-title strong {
  font-size: 14px;
}

.result-title span {
  color: var(--warm);
  font-size: 10px;
}

.result-items {
  display: grid;
  gap: 8px;
}

.result-items > div {
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  background: var(--paper);
  border-radius: 6px;
}

.result-items strong {
  font-size: 12px;
}

.result-items small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.result-total {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-form {
  height: 48px;
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
}

.ai-form input,
.chat-form input,
.search-panel input,
.trace-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  outline: none;
}

.ai-form input,
.chat-form input {
  padding: 0 16px;
  font-size: 12px;
}

.ai-form button,
.chat-form button {
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: var(--forest);
  border-radius: 50%;
  cursor: pointer;
}

.ai-form button svg,
.chat-form button svg {
  width: 16px;
  height: 16px;
}

.ai-disclaimer {
  margin: 8px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 9px;
}

.guide-section {
  background: var(--white);
}

.guide-tabs {
  padding: 4px;
  display: inline-flex;
  background: var(--paper);
  border-radius: 999px;
}

.guide-tabs button {
  padding: 8px 15px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
}

.guide-tabs button.is-active {
  color: var(--white);
  background: var(--forest);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.guide-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stone);
}

.guide-visual > img {
  height: 100%;
  object-fit: cover;
}

.guide-visual__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  min-width: 210px;
  padding: 16px 18px;
  display: grid;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.92);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.guide-visual__badge span,
.guide-visual__badge small {
  color: var(--muted);
  font-size: 10px;
}

.guide-visual__badge strong {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 500;
}

.guide-steps {
  display: grid;
  border-top: 1px solid var(--line);
}

.guide-steps article {
  padding: 23px 0;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.guide-steps article > span {
  color: var(--warm);
  font-family: Georgia, serif;
  font-size: 13px;
}

.guide-steps strong {
  font-size: 15px;
}

.guide-steps p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.knowledge-heading {
  margin-bottom: 44px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.knowledge-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}

.knowledge-feature {
  min-height: 450px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
}

.knowledge-feature img {
  height: 100%;
  object-fit: cover;
}

.knowledge-feature > div {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.knowledge-feature span {
  color: var(--warm);
  font-size: 11px;
}

.knowledge-feature h3 {
  margin: 12px 0;
  font-family: "STSong", "Songti SC", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
}

.knowledge-feature p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.knowledge-feature a {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 650;
}

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

.knowledge-list a {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.knowledge-list a > span {
  color: var(--warm);
  font-family: Georgia, serif;
  font-size: 12px;
}

.knowledge-list a div {
  display: grid;
  gap: 3px;
}

.knowledge-list strong {
  font-size: 15px;
}

.knowledge-list small {
  color: var(--muted);
  font-size: 11px;
}

.knowledge-list svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.knowledge-list a:hover svg {
  transform: translateX(4px);
}

.trace-section {
  color: var(--white);
  background: var(--ink-2);
}

.trace-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.trace-copy h2 {
  margin: 0;
  font-family: "STSong", "Songti SC", serif;
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1.13;
}

.trace-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.9;
}

.trace-form {
  margin-top: 28px;
}

.trace-form label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.trace-form > div {
  max-width: 460px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.trace-form input {
  height: 48px;
  padding: 0 16px;
  color: var(--ink);
}

.trace-form button {
  padding: 0 22px;
  border: 0;
  color: var(--white);
  background: var(--warm);
  border-radius: 999px;
  cursor: pointer;
}

.trace-result {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.trace-result > div {
  padding: 13px 15px;
  display: grid;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.trace-result span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
}

.trace-result strong {
  font-size: 12px;
}

.trace-visual {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border-radius: var(--radius);
}

.trace-visual img {
  height: 100%;
  object-fit: cover;
}

.trace-seal {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  color: var(--white);
  background: rgba(20, 61, 52, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  text-align: center;
  backdrop-filter: blur(8px);
}

.trace-seal svg {
  width: 25px;
  height: 25px;
  color: #f0bf8d;
}

.trace-seal span {
  font-size: 10px;
  line-height: 1.4;
}

.member-gift-section {
  background: #e8ede7;
}

.duo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.member-panel,
.gift-panel {
  min-height: 510px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: var(--radius);
}

.member-panel {
  background: var(--white);
}

.member-panel h2,
.gift-panel h2 {
  font-size: clamp(32px, 3.6vw, 48px);
}

.member-progress {
  margin-top: 34px;
  padding: 22px;
  background: var(--paper);
  border-radius: var(--radius);
}

.member-progress__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.member-progress__top span {
  color: var(--muted);
  font-size: 12px;
}

.member-progress__top strong {
  font-size: 17px;
}

.member-progress__bar {
  height: 7px;
  margin: 16px 0 12px;
  overflow: hidden;
  background: #d7ddd8;
  border-radius: 999px;
}

.member-progress__bar i {
  display: block;
  height: 100%;
  background: var(--warm);
  border-radius: inherit;
}

.member-progress p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.member-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.gift-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 20px;
  color: var(--white);
  background: var(--warm);
}

.gift-panel > div {
  position: relative;
  z-index: 2;
}

.gift-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.8;
}

.gift-panel img {
  height: 390px;
  object-fit: cover;
  border-radius: 6px;
}

.review-section {
  background: var(--white);
}

.review-stats {
  display: flex;
  gap: 30px;
}

.review-stats > div {
  display: grid;
}

.review-stats strong {
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 500;
}

.review-stats span {
  color: var(--muted);
  font-size: 9px;
}

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

.review-grid article {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
  border-radius: var(--radius);
}

.review-grid article > span {
  align-self: flex-start;
  padding: 5px 8px;
  color: var(--ink-2);
  background: var(--mint);
  border-radius: 999px;
  font-size: 10px;
}

.review-grid p {
  margin: 28px 0;
  font-family: "STSong", "Songti SC", serif;
  font-size: 20px;
  line-height: 1.65;
}

.review-grid strong {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.site-footer {
  padding: 64px 0 96px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--forest-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
}

.brand--footer {
  color: var(--white);
}

.footer-brand p {
  max-width: 360px;
  font-size: 12px;
  line-height: 1.9;
}

.footer-grid > div:not(.footer-brand) {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-grid > div > strong {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 12px;
}

.footer-grid a:not(.brand) {
  font-size: 11px;
}

.footer-grid a:not(.brand):hover {
  color: #f0bf8d;
}

.footer-bottom {
  margin-top: 54px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 9px;
}

.chat-fab {
  position: fixed;
  z-index: 40;
  right: 24px;
  bottom: 24px;
  height: 50px;
  padding: 0 17px 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  background: var(--warm);
  border-radius: 999px;
  box-shadow: 0 15px 35px rgba(117, 54, 34, 0.28);
  cursor: pointer;
}

.chat-fab svg {
  width: 19px;
  height: 19px;
}

.chat-fab span {
  font-size: 12px;
  font-weight: 650;
}

.chat-drawer,
.cart-drawer {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100dvh;
  padding: 18px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: -30px 0 80px rgba(13, 40, 34, 0.2);
  transform: translateX(105%);
  transition: transform 0.28s ease;
}

.chat-drawer.is-open,
.cart-drawer.is-open {
  transform: translateX(0);
}

.chat-drawer__header,
.cart-drawer__header {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.chat-drawer__header > div:nth-child(2),
.cart-drawer__header > div {
  display: grid;
}

.chat-drawer__header strong,
.cart-drawer__header strong {
  font-size: 13px;
}

.chat-drawer__header span,
.cart-drawer__header span {
  color: var(--muted);
  font-size: 10px;
}

.chat-drawer__messages {
  flex: 1;
  padding: 20px 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-quick {
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  border-top: 1px solid var(--line);
}

.chat-quick button {
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 10px;
}

.chat-form {
  height: 48px;
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
}

.search-overlay {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: start center;
  padding: 16vh 24px 24px;
  background: rgba(15, 48, 42, 0.62);
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(10px);
  transition: 0.2s ease;
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.search-panel {
  position: relative;
  width: min(720px, 100%);
  padding: 34px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-panel > .icon-button {
  position: absolute;
  top: 14px;
  right: 14px;
}

.search-panel input {
  height: 58px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-size: 16px;
}

.search-suggestions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-suggestions button {
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
}

.cart-drawer__header {
  grid-template-columns: 1fr auto;
}

.cart-empty {
  flex: 1;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.cart-empty > svg {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--muted);
}

.cart-empty p {
  margin: 6px 0 22px;
  color: var(--muted);
  font-size: 12px;
}

.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 30px;
  padding: 11px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: 0.25s ease;
  font-size: 12px;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  height: 14px;
}

.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  animation: type-bounce 1s infinite ease-in-out;
}

.typing i:nth-child(2) { animation-delay: 0.12s; }
.typing i:nth-child(3) { animation-delay: 0.24s; }

@keyframes type-bounce {
  50% { transform: translateY(-4px); }
}

@media (max-width: 1080px) {
  .header__main {
    grid-template-columns: auto auto 1fr;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .header__actions {
    justify-self: end;
  }

  .mobile-nav {
    width: var(--shell);
    margin: 0 auto;
    padding: 0 0 20px;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .mobile-nav a {
    padding: 10px 12px;
    background: var(--white);
    border-radius: 6px;
    font-size: 12px;
  }

  .hero__grid,
  .recipe-layout,
  .ai-layout,
  .guide-layout,
  .trace-layout {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 780px;
  }

  .hero__visual {
    height: min(680px, 80vw);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card--wide .product-card__image {
    height: 290px;
  }

  .ai-console {
    min-height: 500px;
  }

  .knowledge-layout {
    grid-template-columns: 1fr;
  }

  .trace-visual {
    min-height: 520px;
  }

  .duo-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 28px, 640px);
  }

  .section {
    padding: 68px 0;
  }

  .announcement__desktop,
  .bag-button span {
    display: none;
  }

  .announcement__inner {
    justify-content: center;
  }

  .announcement__inner a {
    display: none;
  }

  .header__main {
    min-height: 64px;
    gap: 10px;
  }

  .brand__mark {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .brand strong {
    font-size: 19px;
  }

  .header__actions {
    gap: 0;
  }

  .header__actions > .icon-button:first-child {
    display: none;
  }

  .bag-button {
    padding: 0 8px;
    border: 0;
    background: transparent;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .hero__copy > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.8;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    min-height: 50px;
  }

  .hero__trust {
    display: grid;
  }

  .hero__visual {
    height: 500px;
  }

  .hero__photo--main {
    inset: 0 12% 12% 0;
  }

  .hero__photo--food {
    width: 46%;
    height: 42%;
  }

  .hero__note {
    left: 10px;
    bottom: 10px;
  }

  .hero__batch {
    right: 8px;
    top: 12px;
  }

  .daily-rail {
    margin-top: 34px;
    grid-template-columns: repeat(2, 1fr);
  }

  .daily-rail > div {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .daily-rail strong {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .daily-rail > div:first-child {
    padding-left: 14px;
  }

  .daily-rail > div:nth-child(2) {
    border-right: 0;
  }

  .section-heading,
  .knowledge-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .section-heading h2,
  .knowledge-heading h2,
  .member-panel h2,
  .gift-panel h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .recipe-photo {
    min-height: 440px;
  }

  .recipe-product {
    grid-template-columns: 56px 1fr;
  }

  .recipe-product img {
    width: 56px;
    height: 56px;
  }

  .recipe-product .button {
    grid-column: 1 / -1;
  }

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

  .product-card__image,
  .product-card--wide .product-card__image {
    height: 330px;
  }

  .ai-console {
    min-height: 520px;
    padding: 14px;
  }

  .ai-console__messages {
    height: 360px;
  }

  .guide-visual {
    min-height: 440px;
  }

  .guide-tabs {
    align-self: stretch;
    justify-content: space-between;
  }

  .guide-tabs button {
    flex: 1;
  }

  .knowledge-feature {
    grid-template-columns: 1fr;
  }

  .knowledge-feature img {
    height: 300px;
  }

  .knowledge-feature > div {
    padding: 24px;
  }

  .trace-visual {
    min-height: 410px;
  }

  .trace-result {
    grid-template-columns: 1fr;
  }

  .member-panel,
  .gift-panel {
    min-height: auto;
  }

  .gift-panel {
    grid-template-columns: 1fr;
  }

  .gift-panel img {
    height: 300px;
  }

  .review-stats {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .chat-fab {
    right: 14px;
    bottom: 82px;
  }

  .mobile-dock {
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 66px;
    padding-bottom: env(safe-area-inset-bottom);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    color: var(--ink);
    background: rgba(255, 253, 248, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }

  .mobile-dock a,
  .mobile-dock button {
    min-width: 0;
    display: grid;
    place-items: center;
    gap: 2px;
    border: 0;
    background: transparent;
    font-size: 9px;
  }

  .mobile-dock svg {
    width: 19px;
    height: 19px;
  }

  .site-footer {
    padding-bottom: 110px;
  }

  .search-panel {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
