/* Desktop scale. The poster and opening line fit down to the second layout width. */
:root {
  --type-poster: min(120px, 10vw, 23svh);
  --type-interlude: min(68px, 6.4vw);
  --type-hero: min(48px, 5.3cqw);
  --type-chapter: 36px;
  --type-card: 22px;
  --type-body: 17px;
  --type-label: 14px;
}
.category-title {
  font-size: var(--type-poster);
  line-height: 1.08;
}
.category-title:lang(zh) {
  font-size: min(160px, 13vw, 22.5svh);
  line-height: 1.08;
}
.intro-slogan span {
  font-size: var(--type-hero);
  line-height: 1.24;
  letter-spacing: normal;
}
.intro-slogan:lang(zh) span {
  letter-spacing: .045em;
}
.interlude-eyebrow { display: none; }
.interlude-title {
  font-weight: 700;
  font-size: var(--type-interlude);
  line-height: 1.25;
}
.sequence-title,
#title-closing.sequence-title {
  font-size: var(--type-chapter);
  line-height: 1.32;
}
.sequence-title { font-weight: 500; }
.recognize-strip h3,
.subscription-card h3,
.delivery-spaces h3 {
  font-size: var(--type-card);
  font-weight: 600;
  line-height: 1.3;
}

#starHero .intro-prose {
  --original-caption-gap: 1.75rem;
  width: min(56rem, calc(100% - 3rem));
  /* Scale both the margin and the top spacer; account for the leading inside the text lines. */
  margin-block-start: calc(var(--original-caption-gap) * 2 / 3 - .3rem);
  grid-template-rows: 2fr 24fr 3fr;
}
@media (max-width: 1199px) {
  #starHero .intro-prose { --original-caption-gap: .75rem; }
}
.intro-prose-text {
  width: 100%;
  font-size: var(--type-body);
  line-height: 1.72;
}
.interlude-body,
.closing-letter {
  font-size: var(--type-body);
  line-height: 1.72;
}

.chapter-divider strong,
.recognize-strip > span,
.mktc-nav-right :is(.mktc-lang, .mktc-theme, .mktc-escape) {
  font-size: var(--type-label);
}

/* Let the three scenario cards follow their grid tracks at narrower desktop widths. */
.subscription-plans .subscription-card {
  width: 100%;
  min-width: 0;
}

/* Give the diagonals enough pixel coverage; use opacity for the fine-line contrast. */
.lens-ray {
  shape-rendering: geometricPrecision;
  stroke-linecap: round;
  stroke-width: 1px;
  opacity: .24;
}
.lens-ray.is-major { opacity: .42; }
.lens-ray.is-current { stroke-width: 1px; opacity: .78; }

/* Align the brand, divider and legal row with the desktop header gutters. */
#action ~ .mktc-footer {
  --footer-height: 342px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  box-sizing: border-box;
  min-height: var(--footer-height);
  padding: 64px 40px 32px;
  border-block-start: 0;
}
#action ~ .mktc-footer:lang(en) { --footer-height: 352px; }
.mktc-footer-top {
  grid-template-columns: 55% minmax(0, 1fr);
  column-gap: 0;
  padding-bottom: 36px;
}
.mktc-footer-brand img {
  display: block;
  margin-bottom: 18px;
}
.mktc-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 40px);
}
.mktc-footer-tagline,
.mktc-footer-nav-col-label,
.mktc-footer-nav-col a { font-size: 9.8px; }
.mktc-footer-nav-col { gap: 12px; }
.mktc-footer-nav-col-label { margin-bottom: 4px; }
.mktc-footer-bottom { padding-top: 20px; font-size: 7.7px; }

@media (max-width: 720px) {
  #action ~ .mktc-footer { --footer-height: 696px; padding-inline: 18px; }
  #action ~ .mktc-footer:lang(en) { --footer-height: 742px; }
  .mktc-footer-top { align-content: center; }
  .mktc-footer-bottom { flex-direction: row; align-items: center; }
}
