/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --white:        oklch(0.992 0.005 94);
  --sage-50:      oklch(0.964 0.024 144);
  --sage-100:     oklch(0.912 0.044 144);
  --green:        oklch(0.400 0.118 144);
  --green-dark:   oklch(0.295 0.095 142);
  --green-text:   oklch(0.360 0.108 143);
  --amber:        oklch(0.730 0.142 72);
  --amber-dark:   oklch(0.595 0.148 68);
  --ink:          oklch(0.220 0.010 78);
  --ink-2:        oklch(0.430 0.010 78);
  --ink-3:        oklch(0.660 0.008 78);
  --line:         oklch(0.882 0.016 94);
  --line-sage:    oklch(0.870 0.030 144);

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body:    "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(18px, 4vw, 52px);
  --maxw: 1240px;
}

/* ─── RESET ──────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--white); }
body {
  font-family: var(--f-body); font-size: 17px; line-height: 1.55;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ─── TYPE SCALE ─────────────────────────────────────── */
.disp {
  font-family: var(--f-display); font-weight: 340; letter-spacing: -0.025em;
  line-height: 1.0; font-variation-settings: "opsz" 144, "SOFT" 50;
}
h1.disp { font-size: clamp(44px, 7vw, 100px); }
h2.disp { font-size: clamp(30px, 4vw, 56px); line-height: 1.05; }
h3.disp { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.1; }
.italic { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; }
.eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-3);
}
.eyebrow.green { color: var(--green-text); }

/* ─── LAYOUT ─────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
section { padding: clamp(56px, 8vw, 112px) 0; }
.section-label { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 10px; }

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease),
              color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-dark); box-shadow: 0 6px 24px -8px color-mix(in oklch, var(--amber) 55%, transparent); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { border-color: var(--white); }
.btn .arr {
  width: 14px; height: 14px; background: currentColor; flex-shrink: 0;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M4 12h16m-6-6 6 6-6 6'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M4 12h16m-6-6 6 6-6 6'/></svg>") center/contain no-repeat;
}

/* ─── TOP BAR ────────────────────────────────────────── */
.topbar {
  background: var(--green-dark); color: var(--white);
  font-size: 12px; padding: 8px 0; font-family: var(--f-mono); letter-spacing: 0.06em;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--white); opacity: 0.82; transition: opacity 0.3s; }
.topbar a:hover { opacity: 1; }

/* ─── NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--white) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px) saturate(150%);
}
.navbar-inner {
  display: flex; align-items: stretch; justify-content: space-between;
  height: 64px; gap: 4px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; padding-right: 20px; }
.nav-logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.nav-logo span {
  font-family: var(--f-display); font-size: 16px; font-weight: 420;
  letter-spacing: -0.01em; white-space: nowrap;
  font-variation-settings: "opsz" 24, "SOFT" 40;
}

nav.main-nav { display: flex; align-items: stretch; flex: 1; }
nav.main-nav > ul { display: flex; align-items: stretch; flex: 1; }
nav.main-nav > ul > li { display: flex; align-items: stretch; position: relative; }
nav.main-nav > ul > li > a,
nav.main-nav > ul > li > button {
  display: flex; align-items: center; gap: 4px;
  padding: 0 11px; font-size: 13px; font-weight: 500;
  color: var(--ink-2); white-space: nowrap;
  transition: color 0.3s;
  border-bottom: 2px solid transparent;
}
nav.main-nav > ul > li:hover > a,
nav.main-nav > ul > li:hover > button,
nav.main-nav > ul > li:focus-within > a,
nav.main-nav > ul > li:focus-within > button,
nav.main-nav > ul > li.active > a,
nav.main-nav > ul > li.active > button {
  color: var(--green-text); border-bottom-color: var(--green);
}
nav.main-nav [aria-current="page"] { color: var(--green-text) !important; }
.caret {
  width: 10px; height: 10px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/></svg>") center/contain no-repeat;
  flex-shrink: 0; transition: transform 0.3s;
}
nav.main-nav > ul > li:hover .caret,
nav.main-nav > ul > li:focus-within .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--white); border: 1px solid var(--line);
  border-top: 2px solid var(--green);
  border-radius: 0 0 8px 8px;
  min-width: 210px; padding: 8px 0;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.12);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.25s var(--ease), visibility 0.25s, transform 0.25s var(--ease);
  pointer-events: none;
}
nav.main-nav > ul > li:hover .dropdown,
nav.main-nav > ul > li:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
}
.dropdown a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px; font-size: 13.5px; color: var(--ink-2);
  transition: background 0.2s, color 0.2s; gap: 8px;
}
.dropdown a:hover { background: var(--sage-50); color: var(--green-text); }
.dropdown a[aria-current="page"] { background: var(--sage-50); color: var(--green-text); font-weight: 600; }
.cn-tag {
  font-family: var(--f-mono); font-size: 10px; color: var(--green-text);
  background: var(--sage-50); padding: 2px 6px; border-radius: 3px; white-space: nowrap;
}
.dropdown-divider { height: 1px; background: var(--line); margin: 6px 10px; }

.nav-book { display: flex; align-items: center; flex-shrink: 0; padding-left: 14px; }

/* Hamburger */
.hamburger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  transition: background 0.4s var(--ease);
  position: relative;
}
.hamburger span::before, .hamburger span::after {
  content: ""; display: block; width: 100%; height: 100%; background: var(--ink);
  position: absolute;
  transition: transform 0.4s var(--ease);
}
.hamburger span::before { transform: translateY(-7px); }
.hamburger span::after  { transform: translateY(7px); }
.hamburger.open span { background: transparent; }
.hamburger.open span::before { transform: rotate(45deg); }
.hamburger.open span::after  { transform: rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; top: 113px; z-index: 45;
  background: var(--white); overflow-y: auto;
  padding: 16px 0 48px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  border-top: 1px solid var(--line);
}
.mobile-nav.open { transform: none; }
.mobile-nav a { display: block; padding: 14px var(--gutter); font-size: 16px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-sage); }
.mobile-nav .m-item { padding: 14px var(--gutter); font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line-sage); }
.mobile-nav .m-sub a { padding-left: calc(var(--gutter) + 20px); font-size: 14px; color: var(--ink-2); background: var(--sage-50); }
.mobile-nav .m-book { margin: 20px var(--gutter) 0; display: block; text-align: center; }

@media (max-width: 1080px) { nav.main-nav > ul > li > a, nav.main-nav > ul > li > button { padding: 0 8px; font-size: 12px; } }
@media (max-width: 900px) {
  nav.main-nav, .nav-book { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
}

/* ─── INNER PAGE HERO ────────────────────────────────── */
.page-hero {
  background: var(--sage-50);
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line-sage);
}
.page-hero .breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px;
}
.page-hero .breadcrumb a { color: var(--green-text); transition: opacity 0.3s; }
.page-hero .breadcrumb a:hover { opacity: 0.75; }
.page-hero .breadcrumb span { color: var(--ink-3); }
.page-hero h1 { margin-top: 10px; }
.page-hero .sub {
  font-size: clamp(16px, 1.4vw, 20px); color: var(--ink-2);
  max-width: 58ch; line-height: 1.5; margin-top: 14px;
}
.page-hero .hero-cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero-photo {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 60px); align-items: center;
}
.page-hero-photo .ph-side { aspect-ratio: 4/3; border-radius: 6px; overflow: hidden; }
.page-hero-photo .ph-side img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .page-hero-photo { grid-template-columns: 1fr; } }

/* ─── PROSE / CONTENT ────────────────────────────────── */
.prose p { font-size: 17px; color: var(--ink-2); max-width: 68ch; line-height: 1.65; margin-bottom: 1.2em; }
.prose h3 { font-size: 22px; color: var(--ink); margin-bottom: 10px; margin-top: 2em; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose ul li { color: var(--ink-2); font-size: 16px; margin-bottom: 6px; }

.benefit-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.benefit-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; background: var(--sage-50); border-radius: 6px;
  border: 1px solid var(--line-sage); font-size: 15px; color: var(--ink-2);
}
.benefit-list li::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='m5 12 5 5L20 7'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='m5 12 5 5L20 7'/></svg>") center/contain no-repeat;
}

/* ─── STEPS ──────────────────────────────────────────── */
.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 20px; padding: 24px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--f-display); font-style: italic;
  font-size: 20px; font-weight: 380; flex-shrink: 0;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.step h4 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--ink-2); }

/* ─── PRICING BLOCK ──────────────────────────────────── */
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.price-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 8px; padding: 24px; text-align: center;
}
.price-card.featured { background: var(--green); color: var(--white); border-color: transparent; }
.price-card .pc-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.price-card.featured .pc-label { color: rgba(255,255,255,0.7); }
.price-card .pc-price { font-family: var(--f-display); font-style: italic; font-size: 44px; font-weight: 360; color: var(--amber); line-height: 1; font-variation-settings: "opsz" 144, "SOFT" 100; }
.price-card .pc-note { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.price-card.featured .pc-note { color: rgba(255,255,255,0.65); }

/* ─── 2-COL CONTENT LAYOUT ───────────────────────────── */
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.two-col.rev { direction: rtl; }
.two-col.rev > * { direction: ltr; }
@media (max-width: 760px) { .two-col, .two-col.rev { grid-template-columns: 1fr; direction: ltr; } }

/* ─── PRODUCT GRID ───────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product-card {
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  cursor: pointer;
}
.product-card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: 0 10px 28px -10px rgba(0,0,0,0.10); }
.product-card .pc-img { aspect-ratio: 1/1; overflow: hidden; background: var(--sage-50); }
.product-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card:hover .pc-img img { transform: scale(1.05); }
.product-card .pc-body { padding: 16px; }
.product-card .pc-body .name { font-family: var(--f-display); font-size: 17px; font-weight: 360; letter-spacing: -0.01em; margin-bottom: 4px; font-variation-settings: "opsz" 24, "SOFT" 60; }
.product-card .pc-body .cn { font-size: 12px; color: var(--ink-3); margin-bottom: 8px; font-family: var(--f-mono); }
.product-card .pc-body .price { font-family: var(--f-mono); font-size: 15px; color: var(--green-text); font-weight: 500; }

/* ─── TRUST STRIP ────────────────────────────────────── */
.trust-strip {
  background: var(--green); color: var(--white);
  padding: clamp(36px, 5vw, 64px) 0;
}
.trust-inner { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 0; align-items: center; }
.trust-divider { width: 1px; height: 56px; background: rgba(255,255,255,0.2); }
.trust-item { padding: 0 clamp(14px, 2.5vw, 36px); text-align: center; }
.trust-item .figure { font-family: var(--f-display); font-style: italic; font-size: clamp(30px, 3.5vw, 48px); font-weight: 360; color: var(--amber); display: block; line-height: 1; font-variation-settings: "opsz" 144, "SOFT" 100; }
.trust-item .label { font-size: 13px; opacity: 0.85; margin-top: 4px; }
@media (max-width: 760px) { .trust-inner { grid-template-columns: 1fr 1fr; gap: 24px 0; } .trust-divider { display: none; } }

/* ─── FOOTER CTA ─────────────────────────────────────── */
.footer-cta {
  background: var(--green-dark); color: var(--white);
  padding: clamp(64px, 9vw, 120px) 0; text-align: center; position: relative; overflow: hidden;
}
.footer-cta::before {
  content: "健康"; position: absolute; font-family: var(--f-display);
  font-size: 52vw; line-height: 0.85; top: -10%; left: -5%;
  color: var(--green); opacity: 0.15; pointer-events: none; font-weight: 300;
}
.footer-cta > .wrap { position: relative; z-index: 1; }
.footer-cta .eyebrow { color: var(--amber); margin-bottom: 14px; }
.footer-cta h2 { color: var(--white); max-width: 18ch; margin: 0 auto 16px; }
.footer-cta p { font-size: 17px; color: rgba(255,255,255,0.76); max-width: 52ch; margin: 0 auto 32px; }
.footer-cta .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.footer-cta .contact-quick { margin-top: 32px; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.contact-item { font-size: 14px; color: rgba(255,255,255,0.70); display: flex; align-items: center; gap: 8px; }

/* ─── FOOTER ─────────────────────────────────────────── */
footer.site-footer { background: var(--ink); color: var(--white); padding: 48px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand .brand-name { font-family: var(--f-display); font-size: 20px; font-weight: 400; letter-spacing: -0.01em; margin-bottom: 10px; font-variation-settings: "opsz" 24, "SOFT" 60; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.62); max-width: 38ch; line-height: 1.6; }
.footer-col h4 { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.68); transition: color 0.3s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.10); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom .copy { font-size: 12px; color: rgba(255,255,255,0.40); }
.socials { display: flex; gap: 12px; }
.socials a { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.20); display: grid; place-items: center; color: rgba(255,255,255,0.58); transition: border-color 0.3s, color 0.3s; font-size: 13px; }
.socials a:hover { border-color: rgba(255,255,255,0.75); color: var(--white); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ─── FORM ───────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid.full { grid-template-columns: 1fr; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 6px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); outline: none;
  transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); }
.field textarea { min-height: 120px; resize: vertical; }
.field-span-2 { grid-column: 1 / -1; }

/* ─── UTILITIES ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.text-center { text-align: center; }
.mt-8  { margin-top:  8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-36 { margin-top: 36px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom:  8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-36 { margin-bottom: 36px; }
.gap-16 { display: flex; flex-wrap: wrap; gap: 16px; }
.gap-14 { display: flex; flex-wrap: wrap; gap: 14px; }
