:root {
  --bg: #f7fbf5;
  --paper: #ffffff;
  --ink: #102019;
  --ink-2: #33443d;
  --muted: #748177;
  --line: #dfe9df;
  --green: #20d876;
  --green-deep: #096b43;
  --mint: #bafc7e;
  --cyan: #47cde7;
  --coral: #ff6c78;
  --pink: #ffd9df;
  --shadow: 0 28px 80px rgba(19, 45, 31, 0.13);
  --shadow-soft: 0 18px 42px rgba(19, 45, 31, 0.09);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 40px));
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(247, 251, 245, 0.96), rgba(247, 251, 245, 1) 42%),
    radial-gradient(circle at 78% 10%, rgba(186, 252, 126, 0.18), transparent 28%),
    radial-gradient(circle at 18% 38%, rgba(71, 205, 231, 0.1), transparent 24%);
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

svg {
  display: block;
}

section[id] {
  scroll-margin-top: 92px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  background: rgba(247, 251, 245, 0.84);
  border-bottom: 1px solid rgba(223, 233, 223, 0.74);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.brand-copy strong,
.brand-copy small {
  display: block;
  white-space: nowrap;
}

.brand-copy strong {
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0;
}

.brand-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(223, 233, 223, 0.82);
  border-radius: var(--radius);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 16px;
  color: var(--ink-2);
  border-radius: calc(var(--radius) - 2px);
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: #ffffff;
  outline: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.menu-toggle path,
.button path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  width: var(--container);
  min-height: min(760px, calc(100svh - 72px));
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  align-items: center;
  gap: 56px;
  margin: 0 auto;
  padding: 70px 0 78px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 880;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy p {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.84;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

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

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

.button-primary {
  color: #ffffff;
  background: #102019;
  box-shadow: 0 16px 32px rgba(16, 32, 25, 0.17);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #07110d;
  outline: none;
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #ffffff;
  border-color: #cbdccb;
  outline: none;
}

.hero-stage {
  position: relative;
  min-height: 610px;
}

.stage-panel {
  position: absolute;
  overflow: hidden;
  width: 260px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.stage-panel-fitness {
  top: 20px;
  left: 30px;
  transform: rotate(-6deg);
}

.stage-panel-fasting {
  top: 78px;
  right: 12px;
  transform: rotate(5deg);
}

.stage-product {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.stage-product img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 10px 18px rgba(16, 32, 25, 0.14);
}

.stage-product span {
  font-size: 15px;
  font-weight: 850;
}

.stage-shot {
  width: 100%;
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
  object-position: top center;
  border-radius: calc(var(--radius) - 2px);
}

.stage-float {
  position: absolute;
  width: 198px;
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: 0 20px 52px rgba(16, 32, 25, 0.14);
}

.stage-float-a {
  left: 222px;
  bottom: 30px;
  transform: rotate(4deg);
}

.stage-float-b {
  right: 76px;
  bottom: 0;
  transform: rotate(-4deg);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading h2,
.method-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 860;
  line-height: 1.1;
  letter-spacing: 0;
}

.section-heading p,
.method-section > .section-heading p {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.8;
}

.product-matrix {
  border-top: 1px solid rgba(223, 233, 223, 0.76);
}

.product-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 42px;
  min-height: 560px;
  margin-top: 20px;
  padding: 42px;
  border: 1px solid rgba(223, 233, 223, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.product-band + .product-band {
  margin-top: 24px;
}

.product-band-fitness {
  background:
    linear-gradient(135deg, rgba(232, 255, 239, 0.96), rgba(235, 249, 255, 0.94)),
    radial-gradient(circle at 92% 12%, rgba(71, 205, 231, 0.18), transparent 28%);
}

.product-band-fasting {
  background:
    linear-gradient(135deg, rgba(255, 247, 238, 0.96), rgba(246, 255, 232, 0.94)),
    radial-gradient(circle at 90% 18%, rgba(255, 108, 120, 0.14), transparent 28%);
}

.product-content {
  position: relative;
  z-index: 1;
}

.product-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(16, 32, 25, 0.12);
}

.product-content h3 {
  margin: 24px 0 0;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 880;
  line-height: 1;
}

.product-content p {
  max-width: 480px;
  margin: 20px 0 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.78;
}

.product-content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.product-content li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(223, 233, 223, 0.86);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 760;
}

.product-band-fasting .product-content li {
  color: #9d4050;
}

.product-gallery {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  margin-inline: auto;
}

.product-gallery > img {
  width: 100%;
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
  object-position: top center;
  border: 10px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  box-shadow: 0 22px 54px rgba(16, 32, 25, 0.15);
}

.gallery-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.gallery-controls button {
  min-height: 38px;
  padding: 0 8px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(223, 233, 223, 0.94);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  font-weight: 780;
  line-height: 1;
}

.gallery-controls button:hover,
.gallery-controls button:focus-visible {
  background: #ffffff;
  outline: none;
}

.gallery-controls button.is-active {
  color: #ffffff;
  background: #102019;
  border-color: #102019;
}

.method-section {
  width: 100%;
  padding: 96px max(20px, calc((100vw - 1120px) / 2));
  background: #ffffff;
  border-block: 1px solid rgba(223, 233, 223, 0.86);
}

.method-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.method-list article {
  min-height: 250px;
  padding: 26px 24px;
  background: #ffffff;
}

.method-list span {
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 880;
}

.method-list h3 {
  margin: 84px 0 0;
  font-size: 22px;
  line-height: 1.2;
}

.method-list p {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.72;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px max(24px, calc((100vw - 1120px) / 2));
  color: var(--ink-2);
  background: #102019;
}

.site-footer strong {
  color: #ffffff;
  font-size: 16px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

.site-footer a {
  color: #ffffff;
  font-weight: 760;
}

@media (prefers-reduced-motion: no-preference) {
  .stage-panel,
  .stage-float {
    animation: floatMedia 7s ease-in-out infinite;
  }

  .stage-panel-fasting,
  .stage-float-b {
    animation-delay: -2.5s;
  }

  @keyframes floatMedia {
    0%,
    100% {
      translate: 0 0;
    }

    50% {
      translate: 0 -10px;
    }
  }
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding-top: 56px;
  }

  .hero-stage {
    min-height: 520px;
  }

  .stage-panel-fitness {
    left: 8%;
  }

  .stage-panel-fasting {
    right: 8%;
  }

  .stage-float-a {
    left: 34%;
  }

  .stage-float-b {
    right: 20%;
  }

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

  .product-gallery {
    width: min(100%, 320px);
  }

  .method-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 720px) {
  .site-header {
    height: 66px;
    padding-inline: 16px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    z-index: 30;
    left: 16px;
    right: 16px;
    top: 76px;
    display: grid;
    padding: 10px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    box-shadow: var(--shadow-soft);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    justify-content: center;
    height: 44px;
  }

  .hero {
    width: min(100vw - 28px, 1120px);
    padding: 46px 0 52px;
  }

  .hero h1 {
    font-size: clamp(42px, 14vw, 60px);
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-height: 0;
  }

  .stage-panel,
  .stage-float {
    position: static;
    width: 100%;
    transform: none;
    animation: none;
  }

  .stage-panel {
    padding: 10px;
  }

  .stage-product {
    margin-bottom: 8px;
  }

  .stage-product img {
    width: 26px;
    height: 26px;
  }

  .stage-product span {
    font-size: 13px;
  }

  .stage-shot,
  .stage-float {
    max-height: 210px;
  }

  .stage-float {
    display: none;
  }

  .section {
    width: min(100vw - 28px, 1120px);
    padding: 70px 0;
  }

  .product-band {
    min-height: 0;
    padding: 24px;
  }

  .product-content h3 {
    font-size: 38px;
  }

  .gallery-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-section {
    padding-block: 70px;
  }

  .method-list {
    grid-template-columns: 1fr;
  }

  .method-list article {
    min-height: 190px;
  }

  .method-list h3 {
    margin-top: 48px;
  }

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

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

@media (max-width: 420px) {
  .brand-copy small {
    display: none;
  }

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

  .stage-shot,
  .stage-float {
    max-height: 180px;
  }
}
