/* Ported from the original WeChat miniprogram stylesheets.
 * The responsive unit (750 per screen width) is preserved as
 * calc(N * var(--rpx)) with --rpx = 100vw/750, so the mobile layout
 * maps 1:1 to the source.
 */
:root { --rpx: 0.1333vw; }

html, body {
  background: #0a0a0d;
  color: #f0eee8;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

div,
span,
button {
  box-sizing: border-box;
}

html, body {
  background: #0a0a0d;
  color: #f0eee8;
}

.page {
  position: relative;
  min-height: 100vh;
  background: #0a0a0d;
}

.page-scroll {
  height: 100vh;
}

.wrap {
  padding: 0 calc(32 * var(--rpx));
}

.section {
  padding: calc(96 * var(--rpx)) 0;
}

#stages.section {
  padding-top: calc(40 * var(--rpx));
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  background: rgba(10, 10, 13, 0.94);
  border-bottom: calc(1 * var(--rpx)) solid rgba(240, 238, 232, 0.12);
}

.top-nav--show {
  transform: translateY(0);
}

.top-nav__inner {
  display: flex;
  align-items: center;
  gap: calc(24 * var(--rpx));
  padding: calc(18 * var(--rpx)) calc(32 * var(--rpx));
}

.top-nav__brand {
  font-size: calc(28 * var(--rpx));
  font-weight: 800;
}

.top-nav__links {
  display: flex;
  flex: 1;
  gap: calc(20 * var(--rpx));
  overflow: hidden;
}

.top-nav__link {
  font-size: calc(24 * var(--rpx));
  color: #b4b4be;
  white-space: nowrap;
}

.top-nav__cta {
  padding: calc(12 * var(--rpx)) calc(20 * var(--rpx));
  border-radius: calc(8 * var(--rpx));
  background: #e0342b;
  color: #ffffff;
  font-size: calc(24 * var(--rpx));
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding-top: calc(160 * var(--rpx));
  padding-bottom: calc(48 * var(--rpx));
}

.glow {
  position: absolute;
  top: calc(-180 * var(--rpx));
  right: calc(-180 * var(--rpx));
  width: calc(560 * var(--rpx));
  height: calc(560 * var(--rpx));
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 52, 43, 0.4), rgba(224, 52, 43, 0));
}

.eyebrow {
  font-size: calc(22 * var(--rpx));
  letter-spacing: calc(8 * var(--rpx));
  color: #ff4a3d;
  font-weight: 700;
}

.hero__title {
  font-size: calc(92 * var(--rpx));
  line-height: 1.02;
  font-weight: 900;
}

.hero__title:first-of-type {
  margin-top: calc(36 * var(--rpx));
}

.hero__claim {
  display: inline-block;
  margin-top: calc(28 * var(--rpx));
  padding: calc(10 * var(--rpx)) calc(24 * var(--rpx));
  background: #e0342b;
  color: #ffffff;
  font-size: calc(34 * var(--rpx));
  font-weight: 900;
}

.hero__thesis {
  margin-top: calc(34 * var(--rpx));
  max-width: calc(680 * var(--rpx));
  color: #f0eee8;
  font-size: calc(30 * var(--rpx));
  line-height: 1.65;
}

.hero__meta {
  margin-top: calc(48 * var(--rpx));
  padding-top: calc(28 * var(--rpx));
  border-top: calc(1 * var(--rpx)) solid rgba(240, 238, 232, 0.18);
}

.hero__meta-title {
  font-size: calc(38 * var(--rpx));
  font-weight: 900;
}

.hero__meta-sub {
  margin-top: calc(14 * var(--rpx));
  font-size: calc(26 * var(--rpx));
  color: #ffb199;
}

.hero__cue {
  display: inline-block;
  margin-top: calc(56 * var(--rpx));
  color: #8a8a96;
  font-size: calc(24 * var(--rpx));
  letter-spacing: calc(4 * var(--rpx));
}

.section-head__kicker {
  font-size: calc(22 * var(--rpx));
  color: #ff4a3d;
  font-weight: 700;
  letter-spacing: calc(8 * var(--rpx));
}

.section-head__title {
  margin-top: calc(16 * var(--rpx));
  font-size: calc(52 * var(--rpx));
  line-height: 1.25;
  font-weight: 900;
}

.section-head__desc {
  margin-top: calc(20 * var(--rpx));
  color: #b4b4be;
  font-size: calc(28 * var(--rpx));
  line-height: 1.65;
}

.stage-grid {
  margin-top: calc(40 * var(--rpx));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.stage-card {
  width: 48.8%;
  min-height: calc(220 * var(--rpx));
  margin-bottom: calc(16 * var(--rpx));
  padding: calc(28 * var(--rpx)) calc(24 * var(--rpx));
  background: #17171f;
  border: calc(1 * var(--rpx)) solid rgba(240, 238, 232, 0.1);
  border-radius: calc(16 * var(--rpx));
}

.stage-card--active {
  border-color: #e0342b;
  background: linear-gradient(180deg, rgba(224, 52, 43, 0.18), rgba(224, 52, 43, 0.06));
}

.stage-card__index {
  font-size: calc(22 * var(--rpx));
  font-weight: 800;
  color: #ff4a3d;
}

.stage-card__title {
  margin-top: calc(12 * var(--rpx));
  font-size: calc(32 * var(--rpx));
  line-height: 1.35;
  font-weight: 900;
}

.stage-card__summary {
  margin-top: calc(10 * var(--rpx));
  font-size: calc(24 * var(--rpx));
  line-height: 1.6;
  color: #b4b4be;
}

.stage-detail {
  margin-top: calc(24 * var(--rpx));
  padding: calc(24 * var(--rpx));
  border-left: calc(6 * var(--rpx)) solid #e0342b;
  background: #121218;
}

.stage-detail__label {
  font-size: calc(22 * var(--rpx));
  color: #ff4a3d;
  font-weight: 700;
  letter-spacing: calc(6 * var(--rpx));
}

.stage-detail__text {
  display: block;
  margin-top: calc(12 * var(--rpx));
  font-size: calc(30 * var(--rpx));
  line-height: 1.7;
  color: #f0eee8;
}

.tabs {
  display: flex;
  gap: calc(12 * var(--rpx));
  margin-top: calc(36 * var(--rpx));
  padding-bottom: calc(6 * var(--rpx));
  overflow-x: auto;
}

.tab {
  flex: none;
  min-width: calc(220 * var(--rpx));
  padding: calc(18 * var(--rpx)) calc(22 * var(--rpx));
  border-bottom: calc(4 * var(--rpx)) solid transparent;
  color: #8a8a96;
  font-size: calc(26 * var(--rpx));
  font-weight: 700;
}

.tab--active {
  color: #f0eee8;
  border-bottom-color: #e0342b;
}

.tab__num {
  display: block;
  margin-bottom: calc(8 * var(--rpx));
  color: #ff4a3d;
  font-size: calc(20 * var(--rpx));
  letter-spacing: calc(4 * var(--rpx));
}

.day-panel {
  margin-top: calc(28 * var(--rpx));
}

.day-panel__head {
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--rpx));
}

.day-panel__title {
  font-size: calc(44 * var(--rpx));
  line-height: 1.3;
  font-weight: 900;
}

.day-panel__time {
  color: #8a8a96;
  font-size: calc(24 * var(--rpx));
  letter-spacing: calc(2 * var(--rpx));
}

.save-box {
  margin-top: calc(28 * var(--rpx));
  padding: calc(22 * var(--rpx)) calc(24 * var(--rpx));
  border: calc(1 * var(--rpx)) solid rgba(224, 52, 43, 0.34);
  border-radius: calc(16 * var(--rpx));
  background: rgba(224, 52, 43, 0.1);
  font-size: calc(28 * var(--rpx));
  line-height: 1.6;
}

.save-box__label {
  margin-right: calc(16 * var(--rpx));
  color: #ff4a3d;
  font-size: calc(22 * var(--rpx));
  font-weight: 800;
  letter-spacing: calc(4 * var(--rpx));
}

.slot-list {
  margin-top: calc(22 * var(--rpx));
}

.slot-card {
  margin-bottom: calc(16 * var(--rpx));
  background: #17171f;
  border: calc(1 * var(--rpx)) solid rgba(240, 238, 232, 0.1);
  border-radius: calc(16 * var(--rpx));
  overflow: hidden;
}

.slot-card__head {
  display: flex;
  align-items: center;
  gap: calc(18 * var(--rpx));
  padding: calc(24 * var(--rpx));
}

.slot-card__tag {
  flex: none;
  padding: calc(6 * var(--rpx)) calc(14 * var(--rpx));
  border-radius: calc(999 * var(--rpx));
  background: #e0342b;
  color: #ffffff;
  font-size: calc(22 * var(--rpx));
  font-weight: 800;
}

.slot-card__title {
  flex: 1;
  font-size: calc(30 * var(--rpx));
  line-height: 1.4;
  font-weight: 900;
}

.slot-card__chev {
  width: calc(18 * var(--rpx));
  height: calc(18 * var(--rpx));
  border-right: calc(4 * var(--rpx)) solid #8a8a96;
  border-bottom: calc(4 * var(--rpx)) solid #8a8a96;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.slot-card.open .slot-card__chev {
  transform: rotate(-135deg);
}

.slot-card__body {
  padding: 0 calc(24 * var(--rpx)) calc(24 * var(--rpx));
}

.slot-card__item {
  position: relative;
  padding-left: calc(20 * var(--rpx));
  margin-top: calc(14 * var(--rpx));
  color: #b4b4be;
  font-size: calc(27 * var(--rpx));
  line-height: 1.7;
}

.slot-card__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(18 * var(--rpx));
  width: calc(8 * var(--rpx));
  height: calc(8 * var(--rpx));
  border-radius: 50%;
  background: #e0342b;
}

.takeaway {
  display: flex;
  gap: calc(16 * var(--rpx));
  margin-top: calc(28 * var(--rpx));
  padding-top: calc(24 * var(--rpx));
  border-top: calc(1 * var(--rpx)) solid rgba(240, 238, 232, 0.12);
}

.takeaway__label {
  color: #ff4a3d;
  font-size: calc(22 * var(--rpx));
  font-weight: 800;
  letter-spacing: calc(4 * var(--rpx));
}

.takeaway__value {
  flex: 1;
  font-size: calc(30 * var(--rpx));
  line-height: 1.6;
  font-weight: 700;
}

.reason-list {
  margin-top: calc(36 * var(--rpx));
}

.reason-card {
  margin-bottom: calc(16 * var(--rpx));
  padding: calc(28 * var(--rpx)) calc(24 * var(--rpx));
  border: calc(1 * var(--rpx)) solid rgba(240, 238, 232, 0.1);
  border-radius: calc(16 * var(--rpx));
  background: #17171f;
}

.reason-card--lead {
  border-color: #e0342b;
  background: linear-gradient(155deg, rgba(224, 52, 43, 0.18), rgba(224, 52, 43, 0.03));
}

.reason-card__index {
  color: #ff4a3d;
  font-size: calc(22 * var(--rpx));
  font-weight: 800;
  letter-spacing: calc(4 * var(--rpx));
}

.reason-card__title {
  margin-top: calc(12 * var(--rpx));
  font-size: calc(34 * var(--rpx));
  line-height: 1.35;
  font-weight: 900;
}

.reason-card__desc {
  margin-top: calc(12 * var(--rpx));
  color: #b4b4be;
  font-size: calc(28 * var(--rpx));
  line-height: 1.7;
}

.who-list {
  margin-top: calc(36 * var(--rpx));
  border-top: calc(1 * var(--rpx)) solid rgba(240, 238, 232, 0.1);
}

.who-row {
  padding: calc(28 * var(--rpx)) 0;
  border-bottom: calc(1 * var(--rpx)) solid rgba(240, 238, 232, 0.1);
}

.who-row__title {
  font-size: calc(30 * var(--rpx));
  font-weight: 900;
}

.who-row__desc {
  margin-top: calc(10 * var(--rpx));
  color: #b4b4be;
  font-size: calc(28 * var(--rpx));
  line-height: 1.65;
}

.prep-list {
  margin-top: calc(36 * var(--rpx));
}

.prep-item {
  display: flex;
  gap: calc(20 * var(--rpx));
  align-items: flex-start;
  margin-bottom: calc(16 * var(--rpx));
  padding: calc(24 * var(--rpx));
  border: calc(1 * var(--rpx)) solid rgba(240, 238, 232, 0.1);
  border-radius: calc(16 * var(--rpx));
  background: #17171f;
}

.prep-item--done {
  opacity: 0.82;
}

.prep-item__box {
  width: calc(36 * var(--rpx));
  height: calc(36 * var(--rpx));
  border: calc(2 * var(--rpx)) solid rgba(240, 238, 232, 0.3);
  border-radius: calc(8 * var(--rpx));
  flex: none;
  margin-top: calc(6 * var(--rpx));
}

.prep-item__box--checked {
  background: #e0342b;
  border-color: #e0342b;
}

.prep-item__tick {
  width: calc(14 * var(--rpx));
  height: calc(8 * var(--rpx));
  margin: calc(10 * var(--rpx)) auto 0;
  border-left: calc(3 * var(--rpx)) solid #ffffff;
  border-bottom: calc(3 * var(--rpx)) solid #ffffff;
  transform: rotate(-45deg);
}

.prep-item__content {
  flex: 1;
}

.prep-item__title {
  font-size: calc(30 * var(--rpx));
  line-height: 1.45;
  font-weight: 900;
}

.prep-item__desc {
  margin-top: calc(8 * var(--rpx));
  color: #8a8a96;
  font-size: calc(26 * var(--rpx));
  line-height: 1.6;
}

.prep-tip {
  margin-top: calc(18 * var(--rpx));
  color: #8a8a96;
  font-size: calc(24 * var(--rpx));
}

.contact-card {
  margin-top: calc(36 * var(--rpx));
  padding: calc(28 * var(--rpx));
  border: calc(1 * var(--rpx)) solid rgba(240, 238, 232, 0.1);
  border-radius: calc(20 * var(--rpx));
  background: #17171f;
}

.contact-card__qr {
  width: calc(320 * var(--rpx));
  height: calc(320 * var(--rpx));
  margin: 0 auto;
  padding: calc(16 * var(--rpx));
  border-radius: calc(12 * var(--rpx));
  background: #ffffff;
}

.contact-card__body {
  margin-top: calc(28 * var(--rpx));
}

.contact-card__tag {
  color: #ff4a3d;
  font-size: calc(22 * var(--rpx));
  font-weight: 800;
  letter-spacing: calc(6 * var(--rpx));
}

.contact-card__title {
  margin-top: calc(14 * var(--rpx));
  font-size: calc(42 * var(--rpx));
  line-height: 1.3;
  font-weight: 900;
}

.contact-card__desc {
  margin-top: calc(16 * var(--rpx));
  color: #b4b4be;
  font-size: calc(28 * var(--rpx));
  line-height: 1.7;
}

.contact-card__tips {
  display: flex;
  flex-wrap: wrap;
  gap: calc(12 * var(--rpx));
  margin-top: calc(22 * var(--rpx));
}

.contact-card__tip {
  padding: calc(10 * var(--rpx)) calc(16 * var(--rpx));
  border: calc(1 * var(--rpx)) solid rgba(240, 238, 232, 0.14);
  border-radius: calc(999 * var(--rpx));
  color: #b4b4be;
  font-size: calc(24 * var(--rpx));
}

.ending {
  margin-top: calc(20 * var(--rpx));
  padding: calc(70 * var(--rpx)) calc(28 * var(--rpx));
  border-radius: calc(20 * var(--rpx));
  text-align: center;
  background: linear-gradient(140deg, #d8231c, #8e1712);
}

.ending__title {
  font-size: calc(42 * var(--rpx));
  line-height: 1.45;
  font-weight: 900;
}

.ending__desc {
  margin-top: calc(18 * var(--rpx));
  color: rgba(255, 255, 255, 0.88);
  font-size: calc(26 * var(--rpx));
  line-height: 1.6;
}

.ending__stamp {
  margin-top: calc(26 * var(--rpx));
  color: rgba(255, 255, 255, 0.56);
  font-size: calc(22 * var(--rpx));
  letter-spacing: calc(8 * var(--rpx));
  font-weight: 800;
}

.footer {
  padding: calc(34 * var(--rpx)) 0 calc(calc(60 * var(--rpx)) + env(safe-area-inset-bottom));
  text-align: center;
  color: #8a8a96;
  font-size: calc(24 * var(--rpx));
}


/* ---- web-only overrides (original used conditional render; web uses class toggles) ---- */
html, body { margin: 0; padding: 0; }
/* body is the scroller (not a nested scroll-view) */
.page-scroll { height: auto; min-height: 100vh; }
/* hide / show toggles */
.hidden { display: none !important; }
.slot-card__body { display: none; }
.slot-card.open .slot-card__body { display: block; }
/* prep tick only visible when the box is checked (originally conditional render) */
.prep-item__tick { display: none; }
.prep-item__box--checked .prep-item__tick { display: block; }
