:root {
  --font-60: clamp(30px, 3.1vw, 60px);
  --font-48: clamp(24px, 2.5vw, 48px);
  --font-30: clamp(18px, 1.57vw, 30px);
  --font-24: clamp(15px, 1.25vw, 24px);
  --font-20: clamp(14px, 1.05vw, 20px);
  --font-18: clamp(13px, 1vw, 18px);

  --color-282828: #282828;
  --color-af513c: #af513c;
  --color-6a6a6a: #6a6a6a;
}

.ri20-page {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  color: var(--color-282828);
  text-rendering: optimizeLegibility;
  letter-spacing: -0.8px;
}

:lang(zh-CN) .ri20-page {
  letter-spacing: 2px;
}

.ri20-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.section-picture,
.section-image {
  display: block;
  width: 100%;
}

.section-image {
  height: auto;
}

.section-copy,
.feature-card {
  position: absolute;
  z-index: 1;
}

.section-title,
.hero-title,
.section-description,
.hero-subtitle {
  padding: 0;
  color: var(--color-282828);
}

.section-title {
  margin: 0;
  font-size: var(--font-48);
  font-weight: 700;
  line-height: 1.2;
}

.section-description {
  margin: 2.15em 0 0;
  font-size: var(--font-20);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.4px;
  max-width: 900px;
}

:lang(zh-CN) .section-description {
  max-width: 620px;
  letter-spacing: 1px;
}

.accent {
  color: var(--color-af513c);
}

.mobile-break {
  display: none;
}

.hero-copy {
  top: 11.7%;
  left: 5.1%;
  width: 90%;
}

.hero-title {
  position: relative;
  margin: 0;
  padding-right: 1.5em;
  font-size: var(--font-60);
  font-weight: 800;
  line-height: 1.2;
  width: fit-content;
}

.hero-title > span {
  display: block;
}

.hero-title-line {
  display: flex !important;
  align-items: flex-end;
  white-space: normal;
}

.hero-title-line > span {
  min-width: 0;
}

.hero-mark {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  display: block;
  width: 2.15em !important;
  height: auto;
  display: none;
}

.hero-subtitle {
  margin: 0.78em 0 0;
  font-size: var(--font-24);
  font-weight: 400;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.hero-subtitle span {
  display: inline-block;
  padding: 0.05em 0.55em;
  border-radius: 0.2em;
  font-size: var(--font-18);
  border: 1px solid var(--color-282828);
}

.section-2 .section-copy {
  top: 11.7%;
  left: 5.1%;
  width: 58%;
}

.section-3 .section-copy {
  top: 11.7%;
  left: 5.1%;
  width: 70%;
}

.metrics {
  display: flex;
  color: var(--color-282828);
}

.section-3 .metrics {
  position: static;
  margin-top: 2.15em;
  flex-direction: column;
  gap: 1.6em;
}

.metric-value {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  font-weight: 700;
  line-height: 1.2;
}

.metric-number {
  font-size: var(--font-48);
}

.metric-unit {
  margin-left: 0.12em;
  font-size: var(--font-18);
  letter-spacing: 0;
}

.metric-label {
  display: block;
  margin-top: 0.45em;
  color: var(--color-6a6a6a);
  font-size: var(--font-18);
  font-weight: 400;
  line-height: 1.5;
}

.section-4 .section-copy {
  top: 10%;
  left: 50%;
  width: 78%;
  text-align: center;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card {
  bottom: 10.5%;
  left: 4.5%;
  display: grid;
  width: 91%;
  grid-template-columns: repeat(3, 1fr);
  padding: 4% 0 4%;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 20px rgba(40, 40, 40, 0.08);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  color: var(--color-6a6a6a);
  font-size: var(--font-18);
  font-weight: 400;
  line-height: 1.5;
  padding-left: 0.5em;
  padding-right: 0.5em;
  text-align: center;
}

.feature-item + .feature-item {
  border-left: 2px solid rgb(106, 106, 106);
}

.feature-item img {
  display: block;
  width: 18% !important;
  height: auto;
}

.stacked-copy {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;

  text-align: center;
  transform: none;
}

.section-5 .stacked-copy {
  background: #fdfdfd;
  padding: 6.2% 5% 15.5%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-6 .stacked-copy {
  background: #f2f2f2;
  padding: 11% 5% 7.5%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 750px) {
  :root {
    --font-60: clamp(30px, 3.1vw, 60px);
    --font-48: clamp(27px, 2.5vw, 48px);
    --font-30: clamp(20px, 1.57vw, 30px);
    --font-24: clamp(16px, 1.25vw, 24px);
    --font-20: clamp(15px, 1.05vw, 20px);
    --font-18: clamp(14px, 1vw, 18px);

    --color-282828: #282828;
    --color-af513c: #af513c;
    --color-6a6a6a: #6a6a6a;
  }

  .ri20-page {
    max-width: 750px;
  }

  .mobile-break {
    display: initial;
  }

  .desktop-break {
    display: none;
  }

  .hero-copy {
    top: 10.5%;
    left: 4.5%;
    width: 91%;
  }

  .hero-mark {
    width: 1.95em !important;
  }

  .section-2 .section-copy {
    top: 7.8%;
    left: 4.5%;
    width: 76%;
  }

  .section-3 .section-copy {
    top: 7.8%;
    left: 4.5%;
    width: 88%;
  }

  .section-3 .metrics {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }

  .section-4 .section-copy {
    top: 7.8%;
    width: 92%;
  }

  .feature-card {
    bottom: 5.8%;
    left: 5%;
    width: 90%;
    border-radius: 10px;
  }

  .stacked-copy {
    padding: 10.5% 5% 9%;
  }

  .section-5 .stacked-copy {
    background: #fafafa;
  }

  :lang(zh-CN).section-2 .section-image {
    margin-top: -40%;
  }
  :lang(zh-CN).section-4 .section-image {
    margin-top: -40%;
  }
}
