/* HERO */
.hero {
  position: relative;
  min-height: 860px;
  padding: 0 48px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
}
#color-bends {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}
.hero-copy {
  text-align: center;
  position: relative;
  z-index: 2;
  width: 100%;
}
h1 {
  font-weight: 600;
  font-size: var(--fs-hero);
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
  color: var(--d-ink);
}
.hero-desc {
  font-size: var(--fs-lead);
  color: #c7c7cc;
  line-height: 1.55;
  margin: 28px auto 0;
  max-width: 780px;
  font-weight: 400;
}
.hero-desc a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.hero-desc a:hover {
  border-color: #fff;
}

/* BELIEF */
.belief {
  background: var(--l-bg);
  color: var(--l-ink);
  padding: 120px 48px;
}
.belief-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 72px;
}
.belief-head h2 {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--l-ink);
  margin: 20px 0 0;
}
.belief-head p {
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--l-mut);
  margin-top: 16px;
}
.belief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.belief-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 40px 42px;
  background: var(--l-alt);
  border: 1px solid var(--l-line-soft);
  border-radius: 16px;
  transition:
    border-color 0.25s,
    transform 0.25s;
  min-width: 0;
}
.belief-card:hover {
  border-color: var(--l-line);
  transform: translateY(-2px);
}
.belief-num {
  display: block;
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: var(--fs-cap);
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--l-line);
  margin-bottom: 28px;
}
.belief-card h3 {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 1px;
  color: var(--l-ink);
  min-height: auto;
  margin-bottom: 24px;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.belief-card p {
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--l-mut);
  margin-top: 0;
  text-wrap: pretty;
  word-break: auto-phrase;
  overflow-wrap: break-word;
}
@media (min-width: 961px) {
  html:lang(en) .belief-card h3 {
    min-height: 2.7em;
  }
}
.belief-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--l-ink);
  line-height: 1.35;
}
.belief-tag {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--l-alt);
  border: 1px solid var(--l-line-soft);
  border-radius: 999px;
  white-space: nowrap;
}
.belief-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--l-ink);
  flex: 0 0 auto;
}

/* PRODUCTS */
.products {
  background: var(--d-bg);
  padding: var(--sec-y) 48px;
}
.section-heading {
  margin-bottom: 48px;
}
.section-heading h2 {
  font-size: var(--fs-h1);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
  margin-top: 16px;
  color: var(--d-ink);
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 385px;
  gap: 64px;
  align-items: stretch;
}
.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.im-stage {
  position: relative;
  border: 1px solid var(--d-line);
  border-radius: 16px;
  background: var(--d-alt);
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color 0.3s,
    opacity 0.25s;
  min-height: 200px;
}
.im-stage:hover {
  border-color: #48484a;
}
.im-stage.stage-empty {
  visibility: hidden;
  pointer-events: none;
}
.im-mount {
  position: relative;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
}
.im-mount .workspace {
  position: absolute;
  top: 0;
  left: 0;
  width: 1240px;
  transform-origin: top left;
  pointer-events: none;
}
.im-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.55) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}
.im-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(28, 28, 30, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition:
    background 0.2s,
    border-color 0.2s;
}
.im-stage:hover .im-cta {
  background: rgba(40, 40, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.24);
}
.im-cta .chev {
  font-size: 18px;
  line-height: 1;
  opacity: 0.85;
}

/* ===== DIET MALL 卡片 ===== */
.mall-stage {
  position: relative;
  border: 1px solid var(--d-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #141417 0%, #18181b 100%);
  overflow: hidden;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.asset-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.asset-grid-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 2px;
}
.asset-grid-eyebrow {
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 10px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--d-mut);
}
.asset-grid-plus {
  font-size: 14px;
  line-height: 1;
  color: var(--d-mut);
}

.asset-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  flex: 1;
}

.asset-card {
  display: flex;
  flex-direction: column;
  padding: 12px 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--d-line);
  border-radius: 8px;
  min-height: 110px;
  transition:
    border-color 0.25s,
    background 0.25s;
}
.asset-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}
.asset-card-head {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 500;
  color: #c7c7cc;
  padding-bottom: 7px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.asset-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}
.asset-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 0;
}
.asset-line {
  height: 5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
}
.asset-line.short {
  width: 38%;
}
.asset-line.mid {
  width: 62%;
}
.asset-line.long {
  width: 100%;
}
.asset-line-3 {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
}
.asset-line-2 {
  flex: 1;
  height: 5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
}
.asset-line-group {
  display: flex;
  gap: 5px;
}
.asset-block {
  height: 20px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
  margin-top: 2px;
}

.asset-list-row {
  display: flex;
  gap: 6px;
  height: 100%;
}
.asset-list-col {
  width: 14px;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 0;
}
.asset-list-col::before,
.asset-list-col::after {
  content: "";
  height: 3px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 1px;
}
.asset-list-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.asset-tiles-row {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}
.asset-tile-sm {
  flex: 1;
  height: 14px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
}

.asset-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 42px;
  padding-bottom: 2px;
}
.asset-bar {
  flex: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.42),
    rgba(255, 255, 255, 0.16)
  );
  border-radius: 2px 2px 0 0;
  min-height: 5px;
}

.asset-tile-lg {
  flex: 1;
  height: 24px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.asset-flow {
  align-items: center;
  justify-content: center;
  gap: 0;
}
.asset-flow-row {
  display: flex;
  gap: 5px;
  justify-content: center;
  width: 100%;
}
.asset-flow-box {
  width: 38%;
  height: 11px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
}
.asset-flow-connector {
  width: 1px;
  height: 6px;
  background: rgba(255, 255, 255, 0.18);
}

.asset-grid-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 2px 2px 0;
}
.asset-grid-foot-right {
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--d-mut);
}

.product-copy {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
}
.product-copy p {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: #c7c7cc;
  min-height: 3.2em;
}
@media (min-width: 961px) {
  html[lang="en"] .product-copy p {
    min-height: 4.8em;
  }
}
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  padding-bottom: 2px;
  width: max-content;
  margin-top: 12px;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.inline-link:hover {
  border-color: #fff;
}
.inline-link .chev {
  font-size: 20px;
  line-height: 1;
  opacity: 0.85;
}

/* PRACTICE */
.practice {
  background: var(--l-bg);
  color: var(--l-ink);
  padding: var(--sec-y) 48px;
  border-top: 1px solid var(--l-line-soft);
}
.practice-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.practice-head h2 {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--l-ink);
  margin: 20px 0 0;
}
.practice-head p {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--l-mut);
  margin-top: 16px;
}
/* COOPERATION */
.cooperation {
  background: var(--d-bg);
  color: var(--d-ink);
  text-align: center;
  padding: 120px 48px 120px;
  isolation: isolate;
}
.cooperation h2 {
  font-size: var(--fs-h1);
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 600;
  margin: 20px 0;
}
.cooperation p {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: #c7c7cc;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.cooperation .btn {
  margin-top: 32px;
  min-width: 168px;
}
.cooperation-types {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 64px;
  gap: 0;
}
.cooperation-types > span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--d-mut);
  white-space: nowrap;
}
.cooperation-types > span + span {
  border-left: 1px solid var(--d-line);
}
