/* =============================================================
   Meridian One — bespoke layer (one.css)
   Loaded AFTER styles.css. Additive, override-only refinements
   that elevate the shared "future city" system toward
   world-class craft without destabilising the base.
   ============================================================= */

:root {
  --read: #dee5f2;        /* high-contrast ink for long-form prose */
  --measure: 66ch;        /* comfortable line length */
}

/* ===================== ROUND 1 · typography, measure, rhythm, focus ===================== */

/* Reading comfort — measure + line-height tuned for calm reading */
.section-copy { color: var(--muted); max-width: 62ch; line-height: 1.8; }
body.zh .section-copy { line-height: 1.95; letter-spacing: 0.01em; }

.warm-prose { max-width: var(--measure); }
.warm-prose p { color: var(--read); font-size: 1.07rem; line-height: 1.86; margin: 0 0 1.05em; }
body.zh .warm-prose p { font-size: 1.05rem; line-height: 2.0; letter-spacing: 0.01em; }

.hero-copy { line-height: 1.72; }
body.zh .hero-copy { line-height: 1.95; }
.hero-soft-line { color: var(--muted); font-size: 1.04rem; line-height: 1.8; max-width: 50ch; }
body.zh .hero-soft-line { line-height: 1.95; }

/* Modern, progressive niceties — ignored safely by old engines */
h1, h2, h3, .hero-title { text-wrap: balance; }
p, li, .pdesc { text-wrap: pretty; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* Vertical rhythm — a touch more breathing room around headings/grids */
.section-heading { margin-bottom: clamp(26px, 3.4vw, 44px); }
.definition-grid, .assurance-grid, .pricing-grid, .merchant-flow { margin-top: clamp(10px, 2vw, 22px); }

/* Keep the closing statement as airy as a coda */
.closing-cta p { color: var(--read); line-height: 1.85; max-width: 60ch; }
body.zh .closing-cta p { line-height: 2.0; }

/* Focus visibility — a single, confident gold ring everywhere (a11y) */
a:focus-visible,
.button:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ===================== ROUND 2 · signature visuals ===================== */

/* "A day" — the trust loop reads as light moving from dawn to night.
   Each step's label and top-rule is tinted along the day's spectrum. */
#loop .merchant-flow .merchant-step {
  border-top: 2px solid var(--line-gold);
  padding-top: 22px;
  transition: transform 0.32s cubic-bezier(0.16,0.84,0.32,1), border-color 0.32s ease, box-shadow 0.32s ease;
}
#loop .merchant-step .step-no { font-weight: 600; letter-spacing: 0.04em; }
#loop .merchant-step:nth-child(1) { border-top-color: rgba(227,189,99,0.55); }
#loop .merchant-step:nth-child(1) .step-no { color: #e3bd63; }   /* 清晨 / Dawn */
#loop .merchant-step:nth-child(2) { border-top-color: rgba(255,210,122,0.60); }
#loop .merchant-step:nth-child(2) .step-no { color: #ffd27a; }   /* 上午 / Morning */
#loop .merchant-step:nth-child(3) { border-top-color: rgba(255,244,208,0.70); }
#loop .merchant-step:nth-child(3) .step-no { color: #fff4d0; }   /* 正午 / Noon */
#loop .merchant-step:nth-child(4) { border-top-color: rgba(255,207,158,0.60); }
#loop .merchant-step:nth-child(4) .step-no { color: #ffcf9e; }   /* 午后 / Afternoon */
#loop .merchant-step:nth-child(5) { border-top-color: rgba(242,164,140,0.62); }
#loop .merchant-step:nth-child(5) .step-no { color: #f2a48c; }   /* 傍晚 / Dusk */
#loop .merchant-step:nth-child(6) { border-top-color: rgba(108,224,214,0.60); }
#loop .merchant-step:nth-child(6) .step-no { color: #6ce0d6; }   /* 夜里 / Night */
#loop .merchant-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

/* Card craft — a quiet, consistent lift + gold edge on hover */
.definition-card,
.assurance-item,
.pricing-card,
.boundary-panel,
.std-chip {
  transition: transform 0.32s cubic-bezier(0.16,0.84,0.32,1), border-color 0.32s ease, box-shadow 0.32s ease, background 0.32s ease;
}
.definition-card:hover,
.assurance-item:hover,
.pricing-card:hover,
.boundary-panel:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow-soft);
}

/* The "underneath" card closes the capabilities grid — a faint cyan kinship */
#capabilities .definition-grid .definition-card:last-child small { color: var(--cyan-soft); }

/* ===================== ROUND 3 · motion & interaction (reduced-motion aware) ===================== */

/* Inline links draw a calm underline on hover/focus */
.next-step a,
.warm-prose a {
  text-decoration: none;
  background-image: linear-gradient(var(--gold-bright), var(--gold-bright));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s cubic-bezier(0.22,0.61,0.36,1), color 0.2s ease;
}
.next-step a:hover, .next-step a:focus-visible,
.warm-prose a:hover, .warm-prose a:focus-visible { background-size: 100% 1px; color: var(--gold-bright); }

/* Buttons settle a touch faster than they lift — feels responsive, not floaty */
.button:active { transform: translateY(0); transition-duration: 0.06s; }

/* Motion that only plays when the visitor welcomes it */
@media (prefers-reduced-motion: no-preference) {
  /* The wordmark holds a slow dawn — light breathing across the letters */
  .hero-title { background-size: 100% 220%; animation: oneDawn 16s ease-in-out infinite alternate; }
  @keyframes oneDawn {
    from { background-position: 50% 4%; }
    to   { background-position: 50% 40%; }
  }
}

/* Respect a reduced-motion preference: no auto-motion, no hover travel */
@media (prefers-reduced-motion: reduce) {
  .hero-title { animation: none; }
  .definition-card:hover,
  .assurance-item:hover,
  .pricing-card:hover,
  .boundary-panel:hover,
  #loop .merchant-step:hover { transform: none; }
}

/* ===================== ROUND 4 · a11y / responsive / performance ===================== */

/* Comfortable on the smallest screens */
@media (max-width: 520px) {
  .warm-prose p { font-size: 1rem; line-height: 1.8; }
  .hero-soft-line { font-size: 1rem; }
  .hero-metrics { gap: 14px; }
  .closing-cta p { line-height: 1.8; }
}

/* Honour Windows High Contrast / forced-colors: keep structure visible */
@media (forced-colors: active) {
  .button,
  .definition-card,
  .pricing-card,
  .assurance-item,
  .boundary-panel { border-color: CanvasText; }
  a:focus-visible,
  .button:focus-visible,
  button:focus-visible { outline-color: Highlight; }
}

/* Crisp mark, no layout shift */
.brand-logo, .packet-logo { image-rendering: -webkit-optimize-contrast; }

/* ===================== ROUND 6 · 中文阅读体验 (CJK typography) =====================
   中文读起来最舒服的版心是每行 ~36–40 字、行距 ~2.0、字间留一点点呼吸。
   拉丁文的 ch 测量对中文偏窄，这里按字符宽度(em)重新给中文设定。 */
body.zh .hero-copy { font-size: clamp(1.1rem, 1.6vw, 1.34rem); line-height: 2.0; letter-spacing: 0.02em; max-width: 30em; }
body.zh .hero-soft-line { font-size: 1.08rem; line-height: 2.0; letter-spacing: 0.02em; max-width: 32em; }
body.zh .notice { line-height: 1.9; }
body.zh .section-copy { max-width: 40rem; line-height: 2.0; letter-spacing: 0.02em; }
body.zh .warm-prose { max-width: 40rem; }
body.zh .warm-prose p { font-size: 1.1rem; line-height: 2.05; letter-spacing: 0.02em; margin: 0 0 1.25em; }
body.zh .closing-cta p { font-size: 1.12rem; line-height: 2.05; letter-spacing: 0.02em; max-width: 38rem; }
body.zh .definition-card p,
body.zh .assurance-item p,
body.zh .pricing-card .pdesc,
body.zh .merchant-step p { line-height: 1.95; letter-spacing: 0.015em; }
body.zh .memory-spine span { line-height: 1.95; letter-spacing: 0.015em; }
body.zh .section-heading h2 { line-height: 1.42; }

/* ===================== ROUND 7 (post-launch polish) ===================== */
/* Capabilities has 6 cards — balance them as a clean 3×2 on wider screens
   (the shared definition-grid otherwise wraps to a lopsided 4 + 2). */
@media (min-width: 761px) {
  #capabilities .definition-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ===================== ROUND 8 · mobile polish ===================== */
/* A phone shouldn't feel sparse — tighten the long scroll's vertical rhythm. */
@media (max-width: 600px) {
  .section-band { padding: clamp(46px, 12vw, 74px) 0; }
  .hero { padding-top: clamp(82px, 22vw, 120px); padding-bottom: clamp(52px, 14vw, 92px); }
  .memory-spine { margin-top: clamp(40px, 10vw, 64px); }
}
/* Phone-sized hero: the wordmark always fits; CTAs become full-width tap targets.
   (Qualified selectors so they beat the base `body:not(.zh) .hero-title` rule.) */
@media (max-width: 520px) {
  body:not(.zh) .hero-title,
  body.zh .hero-title { font-size: clamp(2.9rem, 15.5vw, 4.1rem); line-height: 1.05; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { width: 100%; justify-content: center; }
}
/* Comfortable hamburger tap target (the button only shows ≤920). */
.menu-button { min-width: 44px; min-height: 44px; }

/* ===================== ROUND 9 · ImageGen service-gateway hero =====================
   The first screen now carries a real civic-service visual instead of relying only
   on generated gradients and canvas lines. */
.hero {
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.99) 0%, rgba(5, 8, 15, 0.93) 36%, rgba(5, 8, 15, 0.68) 68%, rgba(5, 8, 15, 0.5) 100%),
    linear-gradient(180deg, rgba(5, 8, 15, 0.18), rgba(5, 8, 15, 0.84)),
    url("one-service-gateway-imagegen-v78.webp") center right / cover no-repeat;
}

.hero::before { opacity: 0.38; }
.hero::after { opacity: 0.34; }

.review-packet {
  background:
    linear-gradient(165deg, rgba(227, 189, 99, 0.1), transparent 54%),
    rgba(8, 15, 28, 0.76);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.notice,
.next-step {
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
}

@media (max-width: 920px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(5, 8, 15, 0.96) 0%, rgba(5, 8, 15, 0.78) 44%, rgba(5, 8, 15, 0.98) 100%),
      url("one-service-gateway-imagegen-v78.webp") 58% top / cover no-repeat;
  }
}

@media (max-width: 520px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(5, 8, 15, 0.98) 0%, rgba(5, 8, 15, 0.86) 42%, rgba(5, 8, 15, 1) 100%),
      url("one-service-gateway-imagegen-v78.webp") 62% top / auto 64vh no-repeat;
  }
}

/* ===================== ROUND 10 · ImageGen day corridor ===================== */
.one-section-image {
  position: relative;
  overflow: hidden;
  margin: clamp(18px, 3vw, 34px) 0 clamp(24px, 4vw, 44px);
  border: 1px solid rgba(227, 189, 99, 0.22);
  border-radius: 10px;
  background: rgba(6, 12, 23, 0.78);
  box-shadow:
    0 28px 78px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 248, 226, 0.045) inset;
  aspect-ratio: 16 / 7.5;
}

.one-section-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.9) contrast(1.03) brightness(0.9);
  transform: scale(1.002);
}

.one-section-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.24), rgba(5, 8, 15, 0) 46%, rgba(5, 8, 15, 0.34)),
    linear-gradient(180deg, rgba(255, 248, 226, 0.04), rgba(5, 8, 15, 0.34));
}

#loop .merchant-flow {
  margin-top: clamp(20px, 3vw, 34px);
}

@media (max-width: 760px) {
  .one-section-image {
    aspect-ratio: 4 / 3;
  }

  .one-section-image img {
    object-position: 42% center;
  }
}

@media (max-width: 520px) {
  .one-section-image {
    margin-left: -2px;
    margin-right: -2px;
    aspect-ratio: 1 / 1;
  }
}

/* ===================== ROUND 11 · MSD-grade homepage hero =====================
   Bring Meridian One's first screen closer to the main MSD site: more cinematic,
   less busy, and clearer about the institutional boundary. */
.hero {
  min-height: min(880px, 92dvh);
  display: flex;
  align-items: center;
  padding-top: clamp(42px, 6vh, 78px);
  padding-bottom: clamp(52px, 8vh, 96px);
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.99) 0%, rgba(5, 8, 15, 0.94) 31%, rgba(5, 8, 15, 0.58) 62%, rgba(5, 8, 15, 0.38) 100%),
    linear-gradient(180deg, rgba(5, 8, 15, 0.08) 0%, rgba(5, 8, 15, 0.14) 46%, rgba(5, 8, 15, 0.88) 100%),
    radial-gradient(54% 42% at 72% 36%, rgba(227, 189, 99, 0.24), transparent 66%),
    url("one-service-gateway-imagegen-v78.webp") center right / cover no-repeat;
  box-shadow: inset 0 -1px 0 rgba(227, 189, 99, 0.12);
}

.hero::before {
  inset: 0;
  z-index: 0;
  opacity: 1;
  background:
    radial-gradient(56% 48% at 72% 42%, rgba(95, 227, 214, 0.08), transparent 66%),
    radial-gradient(70% 72% at 30% 92%, rgba(227, 189, 99, 0.1), transparent 62%);
}

.hero::after {
  inset: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: auto;
  opacity: 0.42;
  transform: none;
  transform-origin: center;
  background:
    linear-gradient(rgba(168, 188, 220, 0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 188, 220, 0.032) 1px, transparent 1px),
    radial-gradient(68% 62% at 62% 44%, transparent 0%, rgba(5, 8, 15, 0.24) 100%);
  background-size: 72px 72px, 72px 72px, auto;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.22) 72%, transparent);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.22) 72%, transparent);
}

.hero .meridian-field,
.js .hero .meridian-field {
  z-index: 1;
  opacity: 0.28;
  mix-blend-mode: screen;
}

.js .hero .reveal {
  opacity: 1;
  transform: none;
}

.hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.84fr);
  gap: clamp(32px, 4.6vw, 68px);
  align-items: center;
}

.hero-institutional-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(247, 230, 172, 0.86);
}

.hero-institutional-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(227, 189, 99, 0.96), transparent);
}

body.zh .hero-institutional-kicker {
  font-family: var(--font-cjk-sans);
  letter-spacing: 0.22em;
  text-transform: none;
}

.notice {
  max-width: 56ch;
  padding: 11px 16px;
  margin-bottom: 22px;
  font-size: 0.88rem;
  color: rgba(216, 224, 238, 0.76);
  border-color: rgba(227, 189, 99, 0.22);
  border-left-color: rgba(227, 189, 99, 0.86);
  border-radius: 0 8px 8px 0;
  background: rgba(5, 10, 19, 0.48);
}

.notice strong { color: rgba(247, 230, 172, 0.94); }

.hero-title,
body:not(.zh) .hero-title,
body.zh .hero-title {
  max-width: 8.5ch;
  margin-bottom: 24px;
  font-family: var(--font-serif);
  font-size: clamp(4.1rem, 8.2vw, 7.15rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8ecd0 48%, #d7ad54 132%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 22px 70px rgba(227, 189, 99, 0.14);
}

.hero-copy {
  max-width: 45ch;
  font-size: clamp(1.08rem, 1.26vw, 1.2rem);
  line-height: 1.68;
  color: rgba(250, 246, 236, 0.92);
}

.hero-soft-line {
  max-width: 48ch;
  margin-bottom: 26px;
  color: rgba(203, 214, 232, 0.72);
}

.hero-actions {
  margin-bottom: 18px;
}

.next-step {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 54ch;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: rgba(203, 214, 232, 0.6);
  background: transparent;
}

.next-step br {
  display: none;
}

.hero-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
  padding-top: 0;
  border-top: 0;
}

.hero-metrics div {
  min-height: 88px;
  justify-content: space-between;
  padding: 14px 14px 13px;
  border: 1px solid rgba(227, 189, 99, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.045), transparent 58%),
    rgba(5, 10, 19, 0.42);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.hero-metrics strong {
  font-size: clamp(1.32rem, 2.1vw, 2.12rem);
  letter-spacing: 0.01em;
  color: rgba(247, 230, 172, 0.96);
}

.hero-metrics span {
  color: rgba(203, 214, 232, 0.66);
  line-height: 1.35;
}

.review-packet {
  align-self: center;
  max-width: 520px;
  margin-left: auto;
  padding: clamp(30px, 2.6vw, 38px);
  border-color: rgba(227, 189, 99, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(13, 22, 38, 0.9), rgba(6, 12, 23, 0.82));
  box-shadow:
    0 34px 96px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 248, 226, 0.04) inset;
}

.review-packet::before {
  inset: 0;
  top: 0;
  right: 0;
  width: auto;
  height: auto;
  background:
    radial-gradient(56% 46% at 88% 8%, rgba(95, 227, 214, 0.12), transparent 72%),
    linear-gradient(90deg, rgba(255, 248, 226, 0.04), transparent 42%);
  opacity: 0.78;
}

.review-packet::after {
  content: "ONE";
  position: absolute;
  right: 22px;
  bottom: 16px;
  font-family: var(--font-mono);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  letter-spacing: 0.14em;
  color: rgba(247, 230, 172, 0.035);
  pointer-events: none;
}

.review-packet > * {
  position: relative;
  z-index: 1;
}

.packet-logo {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 34px;
  height: 34px;
  opacity: 0.7;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(227, 189, 99, 0.16), 0 10px 24px rgba(0, 0, 0, 0.22);
}

.packet-kicker {
  max-width: none;
  padding-right: 58px;
  margin: 0 0 18px;
  font-size: 0.62rem;
  line-height: 1.45;
  letter-spacing: 0.22em;
  color: rgba(247, 230, 172, 0.86);
}

.review-packet h2 {
  max-width: 35ch;
  margin: 0;
  font-size: clamp(1.12rem, 1.36vw, 1.34rem);
  line-height: 1.54;
}

.review-packet .rule {
  margin: 20px 0;
  background: linear-gradient(90deg, rgba(227, 189, 99, 0.88), transparent);
}

.packet-list {
  gap: 0;
}

.packet-item {
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(227, 189, 99, 0.12);
}

.packet-item:first-child { border-top: 0; padding-top: 0; }
.packet-item:last-child { padding-bottom: 0; }

.item-index {
  min-width: 2.5rem;
  padding-top: 0;
  color: rgba(247, 230, 172, 0.86);
}

.packet-item p {
  color: rgba(203, 214, 232, 0.66);
}

.review-packet .packet-item p {
  display: none;
}

.review-packet .packet-item strong {
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 540px;
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    padding-top: clamp(54px, 12vw, 96px);
    padding-bottom: clamp(54px, 12vw, 92px);
    background:
      linear-gradient(180deg, rgba(5, 8, 15, 0.96) 0%, rgba(5, 8, 15, 0.78) 38%, rgba(5, 8, 15, 0.97) 100%),
      radial-gradient(70% 52% at 50% 18%, rgba(227, 189, 99, 0.2), transparent 68%),
      url("one-service-gateway-imagegen-v78.webp") 58% top / cover no-repeat;
  }

  .hero::after {
    opacity: 0.28;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 78%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 78%);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .review-packet {
    max-width: none;
    margin-left: 0;
  }

  .review-packet h2 {
    font-size: clamp(1rem, 2.4vw, 1.22rem);
  }

  .review-packet .packet-logo {
    display: none;
  }

  .review-packet .packet-kicker {
    max-width: none;
    padding-right: 0;
  }

  .packet-item p {
    display: none;
  }

  .packet-item strong {
    margin-bottom: 0;
  }
}

@media (min-width: 761px) and (max-width: 920px) {
  .hero {
    min-height: min(900px, 94dvh);
    padding-top: clamp(38px, 5.5vh, 58px);
    padding-bottom: clamp(42px, 6vh, 66px);
    background:
      linear-gradient(90deg, rgba(5, 8, 15, 0.99) 0%, rgba(5, 8, 15, 0.92) 42%, rgba(5, 8, 15, 0.68) 100%),
      linear-gradient(180deg, rgba(5, 8, 15, 0.1) 0%, rgba(5, 8, 15, 0.86) 100%),
      url("one-service-gateway-imagegen-v78.webp") 66% center / cover no-repeat;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(284px, 0.74fr);
    gap: 22px;
    align-items: center;
  }

  .hero-title,
  body:not(.zh) .hero-title,
  body.zh .hero-title {
    font-size: clamp(3.55rem, 8vw, 4.9rem);
  }

  .hero-copy {
    font-size: 1.02rem;
    line-height: 1.62;
  }

  .hero-soft-line {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 430px;
  }

  .review-packet {
    padding: 24px 20px;
  }

  .packet-logo {
    width: 34px;
    height: 34px;
  }

  .packet-kicker {
    max-width: none;
    padding-right: 0;
    font-size: 0.6rem;
  }

  .review-packet h2 {
    font-size: 1rem;
    line-height: 1.48;
  }

  .packet-item {
    grid-template-columns: 2rem 1fr;
    gap: 10px;
    padding: 11px 0;
  }

  .packet-item p { display: none; }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 46px;
    padding-bottom: 54px;
    background:
      linear-gradient(180deg, rgba(5, 8, 15, 0.98) 0%, rgba(5, 8, 15, 0.84) 35%, rgba(5, 8, 15, 0.98) 100%),
      url("one-service-gateway-imagegen-v78.webp") 60% top / auto 62vh no-repeat;
  }

  .hero-institutional-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
  }

  .notice {
    display: block;
    max-width: none;
    margin-bottom: 18px;
  }

  .hero-title,
  body:not(.zh) .hero-title,
  body.zh .hero-title {
    font-size: clamp(3.15rem, 16vw, 4.15rem);
    line-height: 0.98;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .hero-metrics div {
    min-height: 86px;
    padding: 12px;
  }

  .hero-metrics strong {
    font-size: clamp(1.08rem, 5.1vw, 1.4rem);
  }

  .review-packet {
    padding: 26px 20px;
  }
}

/* ===================== ROUND 12 · MSD-standard homepage composition =====================
   A cleaner first screen: one sharp institutional claim, one warm operating
   charter panel, and a compact trust row like the main MSD homepage. */
.hero {
  min-height: min(860px, 92dvh);
  padding-top: clamp(36px, 5vh, 66px);
  padding-bottom: clamp(40px, 6vh, 76px);
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.99) 0%, rgba(5, 8, 15, 0.91) 31%, rgba(5, 8, 15, 0.46) 62%, rgba(5, 8, 15, 0.34) 100%),
    linear-gradient(180deg, rgba(5, 8, 15, 0.14) 0%, rgba(5, 8, 15, 0.04) 46%, rgba(5, 8, 15, 0.82) 100%),
    radial-gradient(62% 48% at 64% 43%, rgba(227, 189, 99, 0.16), transparent 66%),
    url("one-service-gateway-imagegen-v78.webp") center right / cover no-repeat;
}

.hero-inner {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.88fr);
  gap: clamp(36px, 5vw, 78px);
}

.notice {
  display: inline-flex;
  max-width: 58ch;
  padding: 0;
  margin-bottom: 28px;
  border: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 230, 172, 0.86);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.notice strong {
  color: inherit;
  font-weight: 500;
}

body.zh .notice {
  font-family: var(--font-cjk-sans);
  letter-spacing: 0.16em;
  text-transform: none;
}

.hero-title,
body:not(.zh) .hero-title,
body.zh .hero-title {
  margin-bottom: 24px;
  font-size: clamp(4.2rem, 7.6vw, 6.65rem);
  line-height: 0.92;
}

.hero-copy {
  max-width: 13.5em;
  margin-bottom: 22px;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.25vw, 2.15rem);
  line-height: 1.24;
  letter-spacing: 0;
  color: rgba(247, 217, 135, 0.96);
}

body.zh .hero-copy {
  max-width: 12em;
  font-family: var(--font-cjk-serif);
  font-size: clamp(1.42rem, 2.05vw, 1.92rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.hero-soft-line {
  max-width: 47ch;
  margin-bottom: 28px;
  font-size: 1.02rem;
  line-height: 1.72;
  color: rgba(216, 224, 238, 0.76);
}

.hero-actions {
  margin-bottom: 18px;
}

.next-step {
  margin-top: 0;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

.hero-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 608px;
  margin-top: 26px;
  border: 1px solid rgba(227, 189, 99, 0.16);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(5, 10, 19, 0.38);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.18);
}

.hero-metrics div {
  min-height: 72px;
  padding: 13px 16px;
  border: 0;
  border-left: 1px solid rgba(227, 189, 99, 0.13);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-metrics div:first-child {
  border-left: 0;
}

.hero-metrics strong {
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.hero-metrics span {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.review-packet {
  max-width: 520px;
  padding: clamp(24px, 2.6vw, 36px);
  border-color: rgba(227, 201, 142, 0.5);
  background:
    radial-gradient(110% 82% at 18% -10%, rgba(250, 240, 214, 0.62), transparent 58%),
    linear-gradient(168deg, rgba(225, 211, 178, 0.96), rgba(184, 166, 124, 0.93));
  box-shadow:
    0 34px 96px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 248, 226, 0.24) inset;
}

.review-packet::before {
  background:
    linear-gradient(rgba(96, 72, 22, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 72, 22, 0.04) 1px, transparent 1px),
    radial-gradient(82% 58% at 72% 20%, rgba(255, 248, 226, 0.5), transparent 72%);
  background-size: 32px 32px, 32px 32px, auto;
  opacity: 0.76;
}

.review-packet::after {
  color: rgba(74, 48, 8, 0.055);
}

.packet-logo {
  background: rgba(5, 10, 19, 0.88);
  opacity: 0.86;
}

.packet-kicker {
  color: rgba(92, 70, 28, 0.86);
}

.review-packet h2 {
  max-width: 34ch;
  color: rgba(18, 24, 36, 0.96);
  font-size: clamp(1.04rem, 1.25vw, 1.22rem);
  line-height: 1.52;
}

.review-packet .rule {
  margin: 18px 0;
  background: linear-gradient(90deg, rgba(136, 101, 34, 0.86), transparent);
}

.packet-item {
  padding: 13px 0;
  border-top-color: rgba(99, 76, 35, 0.18);
}

.item-index {
  color: rgba(104, 76, 24, 0.88);
}

.packet-item small {
  color: rgba(96, 76, 45, 0.62);
}

.packet-item strong {
  color: rgba(18, 24, 36, 0.92);
}

@media (min-width: 761px) and (max-width: 920px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(276px, 0.68fr);
    gap: 24px;
  }

  .notice {
    display: block;
    margin-bottom: 20px;
  }

  .hero-metrics {
    max-width: 420px;
  }

  .hero-metrics div {
    min-height: 68px;
  }

  .review-packet {
    padding: 22px 18px;
  }
}

@media (max-width: 760px) {
  .hero-inner {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-inner > div {
    width: 100%;
    min-width: 0;
  }

  .notice {
    display: block;
    width: 100%;
    max-width: none;
    margin-bottom: 20px;
  }

  .hero-copy {
    max-width: 11em;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .hero-metrics div:nth-child(odd) {
    border-left: 0;
  }

  .hero-metrics div:nth-child(n + 3) {
    border-top: 1px solid rgba(227, 189, 99, 0.13);
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-title,
  body:not(.zh) .hero-title,
  body.zh .hero-title {
    margin-bottom: 18px;
    font-size: clamp(3.15rem, 15.2vw, 4rem);
  }

  .notice {
    font-size: 0.66rem;
    line-height: 1.62;
    letter-spacing: 0.12em;
  }

  .hero-soft-line {
    font-size: 1rem;
    line-height: 1.68;
  }

  .next-step {
    display: none;
  }

  .review-packet {
    display: none;
  }
}

/* ===================== ROUND 13 · MSD-grade review rail =====================
   A slim institutional layer borrowed from the main MSD homepage: clear scope
   before spectacle, so Meridian One reads as civic infrastructure first. */
.one-review-rail {
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(227, 189, 99, 0.13);
  border-bottom: 1px solid rgba(168, 188, 220, 0.12);
  background:
    linear-gradient(90deg, rgba(227, 189, 99, 0.075), rgba(95, 227, 214, 0.045)),
    linear-gradient(180deg, rgba(5, 8, 15, 0.96), rgba(7, 13, 23, 0.9));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.one-review-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(227, 189, 99, 0.12), transparent 24%, transparent 76%, rgba(95, 227, 214, 0.08)),
    linear-gradient(rgba(168, 188, 220, 0.04) 1px, transparent 1px);
  background-size: auto, 100% 24px;
  opacity: 0.58;
}

.one-review-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: var(--max);
  min-height: 45px;
  margin: 0 auto;
  padding: 8px var(--gutter);
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.one-review-inner::-webkit-scrollbar {
  display: none;
}

.one-review-pill {
  flex: none;
  padding: 4px 10px;
  border-radius: 5px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #171103;
  font-weight: 600;
  letter-spacing: 0.18em;
  box-shadow: 0 8px 22px rgba(227, 189, 99, 0.16);
}

.one-review-scope {
  flex: none;
  color: rgba(247, 230, 172, 0.78);
}

.one-review-text {
  min-width: 0;
  color: rgba(216, 224, 238, 0.78);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

body.zh .one-review-inner {
  font-family: var(--font-cjk-sans);
  letter-spacing: 0.08em;
  text-transform: none;
}

body.zh .one-review-pill {
  letter-spacing: 0.12em;
}

body.zh .one-review-text {
  font-family: var(--font-cjk-sans);
  letter-spacing: 0.02em;
}

@media (min-width: 761px) {
  .hero {
    min-height: min(820px, calc(100dvh - 96px));
  }
}

@media (max-width: 1080px) {
  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 100px 24px 40px;
    margin: 0;
    background: rgba(7, 12, 22, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--line);
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
    overflow-y: auto;
  }

  .site-nav[data-open] {
    transform: translateX(0);
  }

  .site-nav a {
    padding: 13px 16px;
    font-size: 1.05rem;
  }

  .site-nav a::after {
    display: none;
  }

  .menu-button {
    display: flex;
    margin-left: auto;
  }

  .language-link {
    display: none;
  }

  .site-nav .language-link-menu {
    display: block;
    margin-top: 20px;
    padding: 13px 18px;
    border: 1px solid var(--line-gold);
    border-radius: 10px;
    color: var(--gold);
    font-family: var(--font-mono);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-align: center;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  }

  body.zh .site-nav .language-link-menu {
    font-family: var(--font-cjk-sans);
    letter-spacing: 0.04em;
  }

  .one-review-text {
    display: none;
  }
}

@media (max-width: 760px) {
  .one-review-inner {
    gap: 12px;
    min-height: 42px;
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .hero {
    padding-top: 38px;
  }
}

@media (max-width: 390px) {
  .one-review-scope {
    display: none;
  }
}

/* ===================== ROUND 14 · v77 MSD-homepage-grade first screen =====================
   Push the homepage closer to www.msd.ms: less product-page card weight,
   stronger mobile impact, and a cleaner institutional reading order. */
@media (min-width: 921px) {
  .hero {
    min-height: min(828px, calc(100dvh - 96px));
    background:
      linear-gradient(90deg, rgba(5, 8, 15, 0.99) 0%, rgba(5, 8, 15, 0.93) 30%, rgba(5, 8, 15, 0.52) 62%, rgba(5, 8, 15, 0.28) 100%),
      linear-gradient(180deg, rgba(5, 8, 15, 0.06) 0%, rgba(5, 8, 15, 0.14) 46%, rgba(5, 8, 15, 0.84) 100%),
      radial-gradient(52% 46% at 72% 38%, rgba(227, 189, 99, 0.18), transparent 66%),
      url("one-service-gateway-imagegen-v78.webp") center right / cover no-repeat;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.82fr);
    gap: clamp(48px, 6vw, 96px);
  }

  .review-packet {
    max-width: 500px;
    padding: clamp(24px, 2.35vw, 32px);
    border-color: rgba(227, 201, 142, 0.46);
    background:
      radial-gradient(100% 74% at 14% -8%, rgba(255, 250, 232, 0.68), transparent 58%),
      linear-gradient(172deg, rgba(222, 208, 174, 0.94), rgba(178, 158, 112, 0.9));
    box-shadow:
      0 30px 86px rgba(0, 0, 0, 0.34),
      0 0 0 1px rgba(255, 248, 226, 0.22) inset;
  }

  .packet-kicker {
    margin-bottom: 14px;
    color: rgba(83, 60, 17, 0.78);
  }

  .review-packet h2 {
    max-width: 31ch;
    font-size: clamp(1.03rem, 1.12vw, 1.18rem);
    line-height: 1.48;
  }

  .review-packet .rule {
    margin: 17px 0 14px;
    background: linear-gradient(90deg, rgba(101, 74, 24, 0.72), transparent);
  }

  .packet-list {
    display: grid;
    gap: 9px;
  }

  .packet-item,
  .packet-item:first-child,
  .packet-item:last-child {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: center;
    padding: 11px 12px;
    border: 1px solid rgba(94, 71, 28, 0.14);
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(255, 250, 232, 0.56), rgba(255, 246, 218, 0.36));
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset;
  }

  .item-index {
    display: grid;
    place-items: center;
    width: 31px;
    min-width: 31px;
    height: 31px;
    padding: 0;
    border-radius: 8px;
    background: rgba(5, 12, 22, 0.88);
    color: rgba(247, 230, 172, 0.92);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  }

  .packet-item small {
    margin-bottom: 2px;
    color: rgba(105, 80, 32, 0.68);
    letter-spacing: 0.16em;
  }

  .packet-item strong {
    color: rgba(13, 20, 31, 0.94);
    font-size: 0.96rem;
  }
}

@media (max-width: 720px) {
  .one-review-rail {
    display: none;
  }

  .hero {
    min-height: min(850px, calc(100dvh - 77px));
    padding-top: clamp(44px, 12vw, 62px);
    padding-bottom: clamp(48px, 13vw, 74px);
    background:
      linear-gradient(180deg, rgba(5, 8, 15, 0.76) 0%, rgba(5, 8, 15, 0.52) 34%, rgba(5, 8, 15, 0.93) 100%),
      linear-gradient(90deg, rgba(5, 8, 15, 0.86), rgba(5, 8, 15, 0.38) 64%, rgba(5, 8, 15, 0.74)),
      url("one-service-gateway-imagegen-v78.webp") 55% top / auto 78vh no-repeat;
  }

  .hero::before {
    opacity: 0.88;
  }

  .hero::after {
    opacity: 0.3;
  }

  .hero-inner {
    gap: 28px;
  }

  .hero-institutional-kicker {
    margin-bottom: 12px;
    font-size: 0.64rem;
    letter-spacing: 0.22em;
  }

  .hero-title,
  body:not(.zh) .hero-title,
  body.zh .hero-title {
    width: 100%;
    max-width: none;
    margin-bottom: 20px;
    font-size: clamp(4.05rem, 18.6vw, 4.82rem);
    line-height: 0.91;
  }

  .hero-copy {
    max-width: 11.5em;
    margin-bottom: 22px;
    font-size: clamp(1.52rem, 6.3vw, 1.82rem);
    line-height: 1.22;
  }

  body.zh .hero-copy {
    max-width: 10.5em;
    font-size: clamp(1.42rem, 5.7vw, 1.72rem);
    line-height: 1.36;
  }

  .hero-soft-line {
    max-width: 34ch;
    margin-bottom: 28px;
    color: rgba(224, 231, 242, 0.82);
    font-size: 1.02rem;
    line-height: 1.7;
  }

  .hero-actions {
    margin-bottom: 24px;
  }

  .hero-actions .button {
    min-height: 50px;
  }

  .hero-metrics {
    margin-top: 0;
    background: rgba(5, 10, 19, 0.52);
  }

  .hero-metrics div {
    min-height: 74px;
  }
}

@media (max-width: 390px) {
  .hero-title,
  body:not(.zh) .hero-title,
  body.zh .hero-title {
    font-size: clamp(3.82rem, 18vw, 4.45rem);
  }
}

/* ===================== ROUND 15 · Cycle 2 self-check refinement =====================
   The new ImageGen hero has real depth; keep the review card lighter so the
   gateway image remains visible instead of becoming a background afterthought. */
@media (min-width: 921px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.68fr);
    gap: clamp(54px, 7vw, 112px);
  }

  .review-packet {
    max-width: 430px;
    margin-left: auto;
    padding: clamp(22px, 2vw, 28px);
    background:
      radial-gradient(100% 72% at 16% -8%, rgba(255, 250, 232, 0.58), transparent 58%),
      linear-gradient(172deg, rgba(222, 208, 174, 0.86), rgba(165, 145, 100, 0.78));
    backdrop-filter: blur(10px) saturate(1.04);
    -webkit-backdrop-filter: blur(10px) saturate(1.04);
  }

  .review-packet h2 {
    max-width: 28ch;
    font-size: clamp(1rem, 1vw, 1.1rem);
    line-height: 1.44;
  }

  .packet-list {
    gap: 8px;
  }

  .packet-item,
  .packet-item:first-child,
  .packet-item:last-child {
    min-height: 56px;
    padding: 9px 10px;
  }

  .packet-item small {
    font-size: 0.58rem;
  }

  .packet-item strong {
    font-size: 0.92rem;
    line-height: 1.36;
  }
}

/* ===================== ROUND 16 · Cycle 3/4 ImageGen integration refinement =====================
   The day-corridor image is now a real generated visual asset. Keep it luminous
   enough to read as a service environment, then let the cards carry the detail. */
.one-section-image {
  border-color: rgba(227, 201, 142, 0.3);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 248, 226, 0.075) inset;
}

.one-section-image img {
  filter: saturate(0.98) contrast(1.04) brightness(1.02);
}

.one-section-image::after {
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.11), rgba(5, 8, 15, 0) 45%, rgba(5, 8, 15, 0.16)),
    linear-gradient(180deg, rgba(255, 248, 226, 0.035), rgba(5, 8, 15, 0.16));
}

#loop .merchant-flow {
  gap: clamp(12px, 1.8vw, 18px);
}

#loop .merchant-step {
  min-height: 226px;
  padding: clamp(20px, 2.2vw, 26px);
  border: 1px solid rgba(227, 189, 99, 0.14);
  border-top-width: 2px;
  border-radius: 10px;
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.012) 42%, transparent),
    rgba(7, 13, 23, 0.66);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
}

#loop .merchant-step h3 {
  margin-top: 16px;
  color: rgba(250, 246, 236, 0.94);
}

#loop .merchant-step p {
  color: rgba(203, 214, 232, 0.72);
}

body.zh #loop .merchant-step {
  min-height: 218px;
}

@media (max-width: 760px) {
  #loop .merchant-step,
  body.zh #loop .merchant-step {
    min-height: auto;
  }
}

/* ===================== ROUND 17 · Cycle 4 mobile ImageGen hero + control polish ===================== */
@media (max-width: 720px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(5, 8, 15, 0.7) 0%, rgba(5, 8, 15, 0.46) 34%, rgba(5, 8, 15, 0.96) 100%),
      linear-gradient(90deg, rgba(5, 8, 15, 0.86), rgba(5, 8, 15, 0.3) 58%, rgba(5, 8, 15, 0.74)),
      url("one-service-gateway-mobile-imagegen-v81.webp") 50% top / cover no-repeat;
  }

  .hero::before {
    opacity: 0.72;
  }
}

.hero-actions .button {
  min-height: 49px;
  border-radius: 8px;
}

.hero-actions .button.primary {
  box-shadow:
    0 18px 42px rgba(227, 189, 99, 0.2),
    0 0 0 1px rgba(255, 248, 226, 0.22) inset;
}

.hero-metrics {
  backdrop-filter: blur(12px) saturate(1.04);
  -webkit-backdrop-filter: blur(12px) saturate(1.04);
}

.hero-metrics strong {
  white-space: nowrap;
}

.hero-metrics span {
  max-width: 13ch;
}

body.zh .hero-metrics span {
  max-width: 8em;
}

@media (max-width: 520px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(5, 8, 15, 0.66) 0%, rgba(5, 8, 15, 0.42) 34%, rgba(5, 8, 15, 0.96) 100%),
      linear-gradient(90deg, rgba(5, 8, 15, 0.84), rgba(5, 8, 15, 0.24) 58%, rgba(5, 8, 15, 0.72)),
      url("one-service-gateway-mobile-imagegen-v81.webp") 50% top / cover no-repeat;
  }

  .hero-actions .button {
    min-height: 48px;
  }

  .hero-metrics div {
    min-height: 78px;
  }
}

/* ===================== ROUND 18 · Cycle 5 narrow-desktop self-check =====================
   At the in-app-browser width, four metric cells become too tight. Treat this
   range as a compact institutional dashboard: two by two, legible, no collision. */
@media (min-width: 761px) and (max-width: 1040px) {
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 440px;
  }

  .hero-metrics div {
    min-height: 70px;
  }

  .hero-metrics div:nth-child(odd) {
    border-left: 0;
  }

  .hero-metrics div:nth-child(n + 3) {
    border-top: 1px solid rgba(227, 189, 99, 0.13);
  }

  .hero-metrics span,
  body.zh .hero-metrics span {
    max-width: none;
  }
}

/* ===================== ROUND 19 · Cycle 2 ImageGen wallet chamber =====================
   The wallet section now has a real institutional recovery scene, while the
   HTML cards retain the reviewable mechanism text. */
.wallet-visual-stack {
  display: grid;
  gap: clamp(14px, 2vw, 18px);
}

.wallet-service-visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(227, 201, 142, 0.26);
  border-radius: 12px;
  background:
    radial-gradient(72% 58% at 82% 48%, rgba(227, 189, 99, 0.13), transparent 68%),
    rgba(6, 12, 23, 0.72);
  box-shadow:
    0 30px 82px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 248, 226, 0.06) inset;
  aspect-ratio: 16 / 9;
}

.wallet-service-visual-mobile {
  display: none;
}

.wallet-service-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center right;
  filter: saturate(0.96) contrast(1.04) brightness(0.96);
}

.wallet-service-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.5), rgba(5, 8, 15, 0.06) 46%, rgba(5, 8, 15, 0.14)),
    linear-gradient(180deg, rgba(255, 248, 226, 0.04), rgba(5, 8, 15, 0.2));
}

#wallet .credential-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#wallet .cred-card {
  min-height: 224px;
  padding: 22px 22px 20px;
  border-radius: 12px;
  background:
    linear-gradient(150deg, rgba(227, 189, 99, 0.11), transparent 52%),
    linear-gradient(330deg, rgba(95, 227, 214, 0.07), transparent 58%),
    rgba(10, 18, 32, 0.82);
}

#wallet .cred-kind {
  font-size: clamp(1.04rem, 1.1vw, 1.18rem);
}

#wallet .cred-attrs {
  gap: 7px;
}

#wallet .cred-attrs li {
  padding: 5px 10px;
}

@media (max-width: 1120px) {
  #wallet .credential-pair {
    grid-template-columns: 1fr;
  }

  #wallet .cred-card {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .wallet-service-visual-mobile {
    display: block;
    margin: 0 0 24px;
  }

  .wallet-visual-stack > .wallet-service-visual {
    display: none;
  }

  .wallet-service-visual {
    aspect-ratio: 4 / 3;
  }

  .wallet-service-visual img {
    object-position: 58% center;
  }
}

/* ===================== ROUND 20 · Cycle 4 ImageGen adoption city =====================
   Give the adoption section a real institutional scene: one city first, then
   others by configuration, without turning it into a dashboard or speculative map. */
.adoption-city-visual {
  position: relative;
  overflow: hidden;
  margin: clamp(6px, 1.5vw, 14px) 0 clamp(24px, 3vw, 36px);
  border: 1px solid rgba(227, 201, 142, 0.24);
  border-radius: 12px;
  background: rgba(5, 10, 19, 0.78);
  box-shadow:
    0 30px 86px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 248, 226, 0.055) inset;
  aspect-ratio: 16 / 6.2;
  max-height: 462px;
}

.adoption-city-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 56%;
  filter: saturate(0.94) contrast(1.03) brightness(0.92);
}

.adoption-city-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.44), rgba(5, 8, 15, 0.05) 46%, rgba(5, 8, 15, 0.28)),
    linear-gradient(180deg, rgba(255, 248, 226, 0.02), rgba(5, 8, 15, 0.3));
}

#jurisdictions .pricing-grid {
  margin-top: 0;
  gap: clamp(14px, 2vw, 18px);
}

#jurisdictions .pricing-card {
  border-radius: 12px;
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.045), transparent 46%),
    rgba(7, 13, 23, 0.68);
}

@media (max-width: 760px) {
  .adoption-city-visual {
    margin-bottom: 20px;
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .adoption-city-visual img {
    object-position: 60% center;
  }
}

/* ===================== ROUND 21 · Cycle 2 ImageGen boundary threshold =====================
   The boundary section is not just a list of rules; it is the inspectable
   threshold that makes the service gateway trustworthy. */
#boundary .path-a {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.08fr);
  align-items: stretch;
  overflow: hidden;
  padding: clamp(18px, 2.2vw, 26px);
  gap: clamp(24px, 3.6vw, 48px);
}

.boundary-threshold-visual {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  margin: 0;
  border: 1px solid rgba(227, 201, 142, 0.22);
  border-radius: 12px;
  background: rgba(5, 10, 19, 0.72);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 248, 226, 0.045) inset;
}

.boundary-threshold-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: block;
  object-fit: cover;
  object-position: 53% center;
  filter: saturate(0.94) contrast(1.04) brightness(0.88);
}

.boundary-threshold-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.46), rgba(5, 8, 15, 0.08) 50%, rgba(5, 8, 15, 0.16)),
    linear-gradient(180deg, rgba(255, 248, 226, 0.035), rgba(5, 8, 15, 0.22));
}

#boundary .path-a > div:not(.pa-lines) {
  align-self: center;
}

#boundary .path-a .pa-lines {
  grid-column: 2;
  align-self: stretch;
  justify-content: center;
}

#boundary .path-a .pa-line {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04), transparent 52%),
    rgba(8, 15, 28, 0.72);
}

/* ===================== ROUND 22 · Cycle 3 boundary integration polish =====================
   Self-check from the new image: the visual should carry the same institutional
   weight as the rule set, not sit above a blank left column on desktop. */
@media (min-width: 1081px) {
  #boundary .path-a {
    grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.1fr);
  }

  .boundary-threshold-visual {
    grid-row: 1 / span 2;
    min-height: 100%;
  }

  .boundary-threshold-visual img {
    min-height: 780px;
    object-position: 56% center;
  }

  #boundary .path-a > div:not(.pa-lines) {
    align-self: end;
    padding-top: clamp(18px, 2vw, 30px);
  }

  #boundary .path-a .pa-lines {
    align-self: start;
  }
}

#boundary .path-a > div:not(.pa-lines) p {
  max-width: 58ch;
  line-height: 1.78;
}

body.zh #boundary .path-a > div:not(.pa-lines) p {
  line-height: 1.95;
  letter-spacing: 0.018em;
}

#boundary .path-a .pa-line {
  border-color: rgba(227, 201, 142, 0.13);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

#boundary .path-a .pa-line.no {
  background:
    linear-gradient(165deg, rgba(227, 189, 99, 0.035), transparent 52%),
    rgba(8, 15, 28, 0.62);
}

#boundary .path-a .pa-line.no strong {
  color: #f2d29a;
}

#boundary .path-a .pa-line.no .check {
  background: rgba(210, 126, 100, 0.14);
  color: #e6b0a0;
}

@media (max-width: 720px) {
  #boundary .path-a > div:not(.pa-lines) p {
    line-height: 1.74;
  }

  body.zh #boundary .path-a > div:not(.pa-lines) p {
    line-height: 1.9;
  }

  #boundary .path-a .pa-lines {
    gap: 10px;
  }

  #boundary .path-a .pa-line {
    padding: 14px 15px;
    grid-template-columns: 24px 1fr;
    gap: 11px;
  }
}

/* ===================== ROUND 23 · Cycle 4 ImageGen five-surface visual =====================
   The capability section should feel like a composed service system before it
   becomes six explanatory cards. */
.capability-surfaces-visual {
  position: relative;
  overflow: hidden;
  margin: 0 0 clamp(22px, 3vw, 34px);
  aspect-ratio: 16 / 6.4;
  border: 1px solid rgba(227, 201, 142, 0.22);
  border-radius: 14px;
  background: rgba(5, 10, 19, 0.72);
  box-shadow:
    0 28px 78px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 248, 226, 0.045) inset;
}

.capability-surfaces-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 57%;
  filter: saturate(0.92) contrast(1.04) brightness(0.86);
}

.capability-surfaces-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.2), transparent 24%, transparent 76%, rgba(5, 8, 15, 0.26)),
    linear-gradient(180deg, rgba(255, 248, 226, 0.025), transparent 44%, rgba(5, 8, 15, 0.18));
}

#capabilities .definition-grid {
  margin-top: 0;
}

#capabilities .definition-card {
  background:
    linear-gradient(160deg, rgba(227, 189, 99, 0.055), transparent 54%),
    rgba(10, 18, 32, 0.72);
}

@media (max-width: 760px) {
  .capability-surfaces-visual {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }

  .capability-surfaces-visual img {
    object-position: center center;
  }
}

/* ===================== ROUND 24 · Cycle 5 ImageGen closing coda =====================
   The final section should end with the same spatial confidence as the opening:
   a door, a morning, and enough quiet space for the promise to land. */
.closing-cta {
  isolation: isolate;
  min-height: clamp(660px, 72vh, 820px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.99) 0%, rgba(5, 8, 15, 0.95) 38%, rgba(5, 8, 15, 0.68) 61%, rgba(5, 8, 15, 0.42) 100%),
    linear-gradient(180deg, rgba(5, 8, 15, 0.28), rgba(5, 8, 15, 0.76)),
    url("one-closing-door-imagegen-v91.webp") center right / cover no-repeat;
}

.closing-cta::before {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(227, 189, 99, 0.12), transparent 14%, transparent 84%, rgba(95, 227, 214, 0.08)),
    radial-gradient(60% 80% at 74% 54%, rgba(227, 189, 99, 0.2), transparent 58%);
  border-top: 1px solid rgba(227, 201, 142, 0.18);
}

.closing-cta .closing-layout {
  position: relative;
  z-index: 1;
}

.closing-cta h2 {
  max-width: 13ch;
  text-shadow: 0 18px 58px rgba(0, 0, 0, 0.46);
}

.closing-actions {
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid rgba(227, 201, 142, 0.16);
  border-radius: 18px;
  background: rgba(6, 12, 22, 0.36);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px) saturate(1.04);
  -webkit-backdrop-filter: blur(14px) saturate(1.04);
}

@media (max-width: 880px) {
  .closing-cta {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(5, 8, 15, 0.84) 0%, rgba(5, 8, 15, 0.97) 44%, rgba(5, 8, 15, 0.98) 100%),
      url("one-closing-door-imagegen-v91.webp") 60% top / auto 52% no-repeat;
    align-items: flex-end;
    padding-top: clamp(250px, 64vw, 360px);
  }

  .closing-cta h2 {
    max-width: 17ch;
    font-size: clamp(2.05rem, 10vw, 2.8rem);
  }

  .closing-actions {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ===================== ROUND 25 · Cycle 2 ImageGen origin transition =====================
   The origin section now shows the system moving from institutional record into
   everyday access before asking the visitor to read the deeper explanation. */
.origin-door-visual {
  position: relative;
  overflow: hidden;
  margin: 0 0 clamp(28px, 4vw, 48px);
  aspect-ratio: 16 / 6.8;
  border: 1px solid rgba(227, 201, 142, 0.2);
  border-radius: 14px;
  background: rgba(5, 10, 19, 0.76);
  box-shadow:
    0 30px 82px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 248, 226, 0.04) inset;
}

.origin-door-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(0.9) contrast(1.03) brightness(0.82);
}

.origin-door-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.28), transparent 24%, transparent 72%, rgba(5, 8, 15, 0.1)),
    linear-gradient(180deg, rgba(255, 248, 226, 0.026), transparent 48%, rgba(5, 8, 15, 0.2));
}

#concept .warm-prose {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  max-width: none;
  margin-bottom: clamp(26px, 3vw, 42px);
}

#concept .warm-prose p {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .origin-door-visual {
    aspect-ratio: 16 / 9;
    margin-bottom: 24px;
  }

  .origin-door-visual img {
    object-position: 56% center;
  }

  #concept .warm-prose {
    display: block;
    margin-bottom: 24px;
  }

  #concept .warm-prose p + p {
    margin-top: 1.15em;
  }
}

/* ===================== ROUND 26 · Cycle 3 origin rhythm self-check =====================
   After adding the image, tighten the reading path so mobile does not feel like
   a long text block before the visual arrives. */
#concept .section-heading {
  margin-bottom: clamp(22px, 3vw, 34px);
}

#concept .origin-door-visual + .warm-prose {
  padding-top: clamp(2px, 0.8vw, 10px);
}

#concept .definition-grid {
  padding-top: clamp(8px, 1.5vw, 16px);
}

@media (max-width: 760px) {
  #concept .section-heading {
    margin-bottom: 18px;
  }

  #concept .section-heading .section-copy {
    line-height: 1.72;
  }

  body.zh #concept .section-heading .section-copy {
    line-height: 1.9;
  }

  #concept .origin-door-visual {
    margin-bottom: 20px;
  }
}

@media (max-width: 1080px) {
  #boundary .path-a {
    grid-template-columns: 1fr;
  }

  #boundary .path-a .pa-lines {
    grid-column: auto;
  }

  .boundary-threshold-visual {
    aspect-ratio: 16 / 7.5;
    min-height: 0;
  }

  .boundary-threshold-visual img {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  #boundary .path-a {
    padding: 16px;
  }

  .boundary-threshold-visual {
    aspect-ratio: 4 / 3;
    margin-bottom: 6px;
  }

  .boundary-threshold-visual img {
    object-position: 58% center;
  }
}

/* ===================== ROUND 26 · Final system integration pass =====================
   Use the strongest ImageGen gateway for desktop, add the institutional model
   as a first-class visual chapter, and keep every new element on the same
   restrained civic design language. */
@media (min-width: 721px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(5, 8, 15, 0.99) 0%, rgba(5, 8, 15, 0.95) 30%, rgba(5, 8, 15, 0.56) 62%, rgba(5, 8, 15, 0.3) 100%),
      linear-gradient(180deg, rgba(5, 8, 15, 0.05) 0%, rgba(5, 8, 15, 0.1) 44%, rgba(5, 8, 15, 0.88) 100%),
      radial-gradient(50% 46% at 73% 42%, rgba(247, 230, 172, 0.22), transparent 68%),
      url("one-service-gateway-imagegen-v94.webp") center right / cover no-repeat;
  }
}

.model-section {
  overflow: hidden;
}

.model-section .section-heading {
  margin-bottom: clamp(24px, 4vw, 48px);
}

.infrastructure-spine-visual {
  position: relative;
  overflow: hidden;
  margin: 0 0 clamp(28px, 4vw, 52px);
  aspect-ratio: 16 / 8.1;
  border: 1px solid rgba(227, 201, 142, 0.26);
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(227, 189, 99, 0.08), transparent 62%),
    rgba(5, 10, 19, 0.78);
  box-shadow:
    0 34px 94px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 248, 226, 0.055) inset;
}

.infrastructure-spine-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.9) contrast(1.06) brightness(0.88);
}

.infrastructure-spine-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.3), transparent 23%, transparent 77%, rgba(5, 8, 15, 0.3)),
    linear-gradient(180deg, rgba(255, 248, 226, 0.032), transparent 52%, rgba(5, 8, 15, 0.2));
}

.model-section .institutional-strip {
  max-width: 1080px;
}

.model-section .institutional-strip article {
  min-height: 116px;
  border-color: rgba(227, 201, 142, 0.18);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.012) 46%, transparent),
    rgba(8, 15, 28, 0.72);
}

.model-section .institutional-strip article:first-child {
  background:
    linear-gradient(160deg, rgba(227, 189, 99, 0.13), transparent 62%),
    rgba(9, 17, 31, 0.78);
}

.model-section .institutional-strip strong {
  color: rgba(250, 246, 236, 0.96);
  font-size: 1rem;
  line-height: 1.42;
}

.model-section .institutional-strip span {
  display: block;
  margin-top: 6px;
  color: rgba(203, 214, 232, 0.74);
  font-size: 0.94rem;
  line-height: 1.68;
}

body.zh .model-section .institutional-strip span {
  line-height: 1.9;
  letter-spacing: 0.015em;
}

.model-section .institutional-strip small {
  color: rgba(154, 240, 230, 0.82);
}

@media (max-width: 760px) {
  .infrastructure-spine-visual {
    aspect-ratio: 4 / 3;
    margin-bottom: 28px;
    border-radius: 12px;
  }

  .infrastructure-spine-visual img {
    object-position: center center;
  }

  .model-section .institutional-strip article {
    min-height: auto;
  }
}

/* ===================== ROUND 27 · Security evidence architecture =====================
   Turn the security chapter into a reviewable trust architecture: one ImageGen
   evidence visual, a concise assurance register, and the existing compliance
   controls below it. */
#security {
  position: relative;
  overflow: hidden;
}

#security::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(227, 189, 99, 0.055), transparent 28%, transparent 74%, rgba(108, 224, 214, 0.035)),
    linear-gradient(90deg, rgba(255, 248, 226, 0.025), transparent 20%, transparent 80%, rgba(255, 248, 226, 0.02));
  opacity: 0.72;
}

#security .section-inner {
  position: relative;
  z-index: 1;
}

.security-evidence-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: stretch;
  overflow: hidden;
  margin: 0 0 clamp(24px, 4vw, 44px);
  border: 1px solid rgba(227, 201, 142, 0.26);
  border-radius: 14px;
  background:
    linear-gradient(150deg, rgba(227, 189, 99, 0.08), rgba(108, 224, 214, 0.035) 54%, rgba(5, 10, 19, 0.84)),
    rgba(6, 11, 20, 0.84);
  box-shadow:
    0 38px 110px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 248, 226, 0.052) inset;
}

.security-evidence-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.9) contrast(1.08) brightness(0.86);
}

.security-evidence-visual figcaption {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  min-height: 100%;
  padding: clamp(24px, 3.6vw, 42px);
  border-left: 1px solid rgba(227, 201, 142, 0.2);
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.28), rgba(5, 9, 18, 0.92)),
    linear-gradient(135deg, rgba(255, 248, 226, 0.08), transparent 52%);
}

.security-evidence-visual figcaption span {
  color: rgba(154, 240, 230, 0.86);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.security-evidence-visual figcaption strong {
  color: rgba(250, 246, 236, 0.97);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.1vw, 2.05rem);
  font-weight: 600;
  line-height: 1.12;
  max-width: 13.5em;
}

.security-evidence-visual figcaption p {
  color: rgba(213, 222, 237, 0.76);
  font-size: 0.98rem;
  line-height: 1.76;
  margin: 0;
  max-width: 34rem;
}

body.zh .security-evidence-visual figcaption strong {
  font-family: var(--font-cjk-serif);
  font-size: clamp(1.28rem, 2.05vw, 1.9rem);
  line-height: 1.32;
  letter-spacing: 0.01em;
}

body.zh .security-evidence-visual figcaption p {
  line-height: 1.95;
  letter-spacing: 0.015em;
}

.assurance-register {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin: clamp(22px, 3vw, 34px) 0 clamp(24px, 4vw, 44px);
  border: 1px solid rgba(227, 201, 142, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(227, 189, 99, 0.07), transparent 42%, rgba(108, 224, 214, 0.035)),
    rgba(7, 14, 26, 0.66);
}

.assurance-register article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 150px;
  padding: clamp(18px, 2.4vw, 28px);
  border-right: 1px solid rgba(255, 248, 226, 0.085);
}

.assurance-register article:last-child {
  border-right: 0;
}

.assurance-register small {
  color: rgba(227, 189, 99, 0.86);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.assurance-register strong {
  color: rgba(250, 246, 236, 0.95);
  font-size: 1rem;
  line-height: 1.34;
}

.assurance-register span {
  color: rgba(203, 214, 232, 0.72);
  font-size: 0.92rem;
  line-height: 1.66;
}

body.zh .assurance-register span {
  line-height: 1.88;
}

@media (max-width: 980px) {
  .security-evidence-visual {
    grid-template-columns: 1fr;
  }

  .security-evidence-visual figcaption {
    border-left: 0;
    border-top: 1px solid rgba(227, 201, 142, 0.18);
  }

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

  .assurance-register article:nth-child(2) {
    border-right: 0;
  }

  .assurance-register article:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 248, 226, 0.085);
  }
}

@media (max-width: 640px) {
  .security-evidence-visual {
    border-radius: 12px;
  }

  .security-evidence-visual img {
    min-height: 204px;
  }

  .security-evidence-visual figcaption {
    gap: 10px;
    padding: 18px;
  }

  .security-evidence-visual figcaption strong {
    font-size: clamp(1.08rem, 6.1vw, 1.42rem);
    line-height: 1.22;
    max-width: 16em;
  }

  .security-evidence-visual figcaption p {
    display: none;
  }

  .assurance-register {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 10px;
  }

  .assurance-register article,
  .assurance-register article:nth-child(2) {
    min-height: auto;
    gap: 6px;
    padding: 16px 14px;
    border-top: 1px solid rgba(255, 248, 226, 0.085);
  }

  .assurance-register article:nth-child(odd) {
    border-right: 1px solid rgba(255, 248, 226, 0.085);
  }

  .assurance-register article:first-child,
  .assurance-register article:nth-child(2) {
    border-top: 0;
  }

  .assurance-register strong {
    font-size: 0.92rem;
  }

  .assurance-register span {
    display: none;
  }
}

/* ===================== ROUND 28 · Jurisdiction configuration architecture =====================
   Adoption now reads as institutional replication by configuration: one core,
   local sovereign controls, and an explicit operating register. */
.adoption-city-visual.config-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(280px, 0.58fr);
  align-items: stretch;
  aspect-ratio: auto;
  max-height: none;
  min-height: 520px;
  margin: 0 0 clamp(24px, 3.8vw, 44px);
  border-color: rgba(227, 201, 142, 0.27);
  background:
    linear-gradient(145deg, rgba(227, 189, 99, 0.075), rgba(95, 227, 214, 0.035) 56%, rgba(5, 9, 18, 0.88)),
    rgba(5, 10, 19, 0.84);
}

.adoption-city-visual.config-visual img {
  min-height: 520px;
  object-position: center center;
  filter: saturate(0.9) contrast(1.06) brightness(0.86);
}

.adoption-city-visual.config-visual::after {
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.2), transparent 36%, rgba(5, 8, 15, 0.42)),
    linear-gradient(180deg, rgba(255, 248, 226, 0.018), rgba(5, 8, 15, 0.24));
}

.adoption-city-visual.config-visual figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding: clamp(24px, 3.5vw, 42px);
  border-left: 1px solid rgba(227, 201, 142, 0.2);
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.25), rgba(5, 9, 18, 0.92)),
    linear-gradient(135deg, rgba(95, 227, 214, 0.07), transparent 54%);
}

.adoption-city-visual.config-visual figcaption span {
  color: rgba(154, 240, 230, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.adoption-city-visual.config-visual figcaption strong {
  color: rgba(250, 246, 236, 0.97);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.05vw, 2.0rem);
  font-weight: 600;
  line-height: 1.12;
  max-width: 13em;
}

.adoption-city-visual.config-visual figcaption p {
  color: rgba(213, 222, 237, 0.76);
  font-size: 0.98rem;
  line-height: 1.76;
  margin: 0;
  max-width: 34rem;
}

body.zh .adoption-city-visual.config-visual figcaption strong {
  font-family: var(--font-cjk-serif);
  font-size: clamp(1.28rem, 2.05vw, 1.88rem);
  line-height: 1.36;
}

body.zh .adoption-city-visual.config-visual figcaption p {
  line-height: 1.95;
  letter-spacing: 0.015em;
}

.configuration-register {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin: 0 0 clamp(24px, 3.6vw, 42px);
  border: 1px solid rgba(227, 201, 142, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(95, 227, 214, 0.045), transparent 44%, rgba(227, 189, 99, 0.06)),
    rgba(7, 14, 26, 0.66);
}

.configuration-register article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 154px;
  padding: clamp(18px, 2.4vw, 28px);
  border-right: 1px solid rgba(255, 248, 226, 0.085);
}

.configuration-register article:last-child {
  border-right: 0;
}

.configuration-register small {
  color: rgba(227, 189, 99, 0.86);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.zh .configuration-register small {
  font-family: var(--font-cjk-sans);
  letter-spacing: 0.12em;
  text-transform: none;
}

.configuration-register strong {
  color: rgba(250, 246, 236, 0.95);
  font-size: 1rem;
  line-height: 1.34;
}

.configuration-register span {
  color: rgba(203, 214, 232, 0.72);
  font-size: 0.92rem;
  line-height: 1.66;
}

body.zh .configuration-register span {
  line-height: 1.88;
}

@media (max-width: 980px) {
  .adoption-city-visual.config-visual {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .adoption-city-visual.config-visual img {
    min-height: 360px;
  }

  .adoption-city-visual.config-visual figcaption {
    border-left: 0;
    border-top: 1px solid rgba(227, 201, 142, 0.18);
  }

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

  .configuration-register article:nth-child(2) {
    border-right: 0;
  }

  .configuration-register article:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 248, 226, 0.085);
  }
}

@media (max-width: 640px) {
  .adoption-city-visual.config-visual {
    border-radius: 12px;
  }

  .adoption-city-visual.config-visual img {
    min-height: 260px;
  }

  .adoption-city-visual.config-visual figcaption {
    gap: 12px;
    padding: 22px;
  }

  .configuration-register {
    grid-template-columns: 1fr;
    border-radius: 10px;
  }

  .configuration-register article,
  .configuration-register article:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-top: 1px solid rgba(255, 248, 226, 0.085);
  }

  .configuration-register article:first-child {
    border-top: 0;
  }
}

/* ===================== ROUND 29 · Institutional review dossier =====================
   Give the page a formal reading protocol immediately after the hero:
   mandate, boundary, assurance and adoption become the review path for the
   whole public-infrastructure story. */
.review-dossier-section {
  position: relative;
  overflow: hidden;
}

.review-dossier-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(95, 227, 214, 0.04), transparent 28%, transparent 72%, rgba(227, 189, 99, 0.05)),
    linear-gradient(90deg, rgba(255, 248, 226, 0.024), transparent 22%, transparent 78%, rgba(255, 248, 226, 0.018));
}

.review-dossier-section .section-inner {
  position: relative;
  z-index: 1;
}

.review-dossier-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: stretch;
  overflow: hidden;
  margin: 0 0 clamp(24px, 3.8vw, 44px);
  border: 1px solid rgba(227, 201, 142, 0.27);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(227, 189, 99, 0.075), rgba(95, 227, 214, 0.04) 56%, rgba(5, 9, 18, 0.88)),
    rgba(5, 10, 19, 0.84);
  box-shadow:
    0 38px 110px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 248, 226, 0.052) inset;
}

.review-dossier-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.9) contrast(1.06) brightness(0.86);
}

.review-dossier-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.18), transparent 34%, rgba(5, 8, 15, 0.42)),
    linear-gradient(180deg, rgba(255, 248, 226, 0.018), rgba(5, 8, 15, 0.24));
}

.review-dossier-visual figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding: clamp(24px, 3.5vw, 42px);
  border-left: 1px solid rgba(227, 201, 142, 0.2);
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.25), rgba(5, 9, 18, 0.92)),
    linear-gradient(135deg, rgba(95, 227, 214, 0.07), transparent 54%);
}

.review-dossier-visual figcaption span {
  color: rgba(154, 240, 230, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.review-dossier-visual figcaption strong {
  color: rgba(250, 246, 236, 0.97);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.05vw, 2.0rem);
  font-weight: 600;
  line-height: 1.12;
  max-width: 13.5em;
}

.review-dossier-visual figcaption p {
  color: rgba(213, 222, 237, 0.76);
  font-size: 0.98rem;
  line-height: 1.76;
  margin: 0;
  max-width: 34rem;
}

body.zh .review-dossier-visual figcaption strong {
  font-family: var(--font-cjk-serif);
  font-size: clamp(1.28rem, 2.05vw, 1.88rem);
  line-height: 1.36;
}

body.zh .review-dossier-visual figcaption p {
  line-height: 1.95;
  letter-spacing: 0.015em;
}

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(227, 201, 142, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(227, 189, 99, 0.06), transparent 44%, rgba(95, 227, 214, 0.045)),
    rgba(7, 14, 26, 0.66);
}

.dossier-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 168px;
  padding: clamp(18px, 2.4vw, 28px);
  border-right: 1px solid rgba(255, 248, 226, 0.085);
}

.dossier-grid article:last-child {
  border-right: 0;
}

.dossier-grid small {
  color: rgba(227, 189, 99, 0.86);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.zh .dossier-grid small {
  font-family: var(--font-cjk-sans);
  letter-spacing: 0.12em;
  text-transform: none;
}

.dossier-grid strong {
  color: rgba(250, 246, 236, 0.95);
  font-size: 1rem;
  line-height: 1.34;
}

.dossier-grid span {
  color: rgba(203, 214, 232, 0.72);
  font-size: 0.92rem;
  line-height: 1.66;
}

body.zh .dossier-grid span {
  line-height: 1.88;
}

@media (max-width: 980px) {
  .review-dossier-visual {
    grid-template-columns: 1fr;
  }

  .review-dossier-visual img {
    min-height: 360px;
  }

  .review-dossier-visual figcaption {
    border-left: 0;
    border-top: 1px solid rgba(227, 201, 142, 0.18);
  }

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

  .dossier-grid article:nth-child(2) {
    border-right: 0;
  }

  .dossier-grid article:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 248, 226, 0.085);
  }
}

@media (max-width: 640px) {
  .review-dossier-visual {
    border-radius: 12px;
  }

  .review-dossier-visual img {
    min-height: 260px;
  }

  .review-dossier-visual figcaption {
    gap: 12px;
    padding: 22px;
  }

  .dossier-grid {
    grid-template-columns: 1fr;
    border-radius: 10px;
  }

  .dossier-grid article,
  .dossier-grid article:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-top: 1px solid rgba(255, 248, 226, 0.085);
  }

  .dossier-grid article:first-child {
    border-top: 0;
  }
}

/* ===================== ROUND 30 · Public operating compact =====================
   The adoption story now closes with an operating compact: the site shows
   how authority, local configuration, supervised operation and transfer remain
   legible after launch. */
.operating-compact-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 18, 31, 0.98), rgba(5, 9, 18, 0.98)),
    radial-gradient(circle at 50% 0%, rgba(227, 189, 99, 0.1), transparent 34%);
}

.operating-compact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(227, 189, 99, 0.055) 50%, transparent),
    linear-gradient(180deg, rgba(95, 227, 214, 0.045), transparent 34%, rgba(227, 189, 99, 0.045));
}

.operating-compact-section .section-inner {
  position: relative;
  z-index: 1;
}

.operating-compact-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(280px, 0.62fr);
  align-items: stretch;
  overflow: hidden;
  margin: 0 0 clamp(24px, 3.8vw, 44px);
  border: 1px solid rgba(227, 201, 142, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(227, 189, 99, 0.09), rgba(95, 227, 214, 0.04) 56%, rgba(5, 9, 18, 0.9)),
    rgba(5, 10, 19, 0.86);
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 248, 226, 0.052) inset;
}

.operating-compact-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.88) contrast(1.08) brightness(0.88);
}

.operating-compact-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.1), transparent 34%, rgba(5, 8, 15, 0.46)),
    linear-gradient(180deg, rgba(255, 248, 226, 0.015), rgba(5, 8, 15, 0.28));
}

.operating-compact-visual figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding: clamp(24px, 3.5vw, 42px);
  border-left: 1px solid rgba(227, 201, 142, 0.2);
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.22), rgba(5, 9, 18, 0.94)),
    linear-gradient(135deg, rgba(227, 189, 99, 0.08), transparent 56%);
}

.operating-compact-visual figcaption span,
.compact-statement span {
  color: rgba(154, 240, 230, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

body.zh .operating-compact-visual figcaption span,
body.zh .compact-statement span {
  font-family: var(--font-cjk-sans);
  letter-spacing: 0.12em;
  text-transform: none;
}

.operating-compact-visual figcaption strong {
  color: rgba(250, 246, 236, 0.97);
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 1.92rem);
  font-weight: 600;
  line-height: 1.16;
  max-width: 14em;
}

.operating-compact-visual figcaption p {
  color: rgba(213, 222, 237, 0.76);
  font-size: 0.98rem;
  line-height: 1.76;
  margin: 0;
  max-width: 34rem;
}

body.zh .operating-compact-visual figcaption strong {
  font-family: var(--font-cjk-serif);
  font-size: clamp(1.25rem, 2vw, 1.82rem);
  line-height: 1.38;
}

body.zh .operating-compact-visual figcaption p {
  line-height: 1.95;
  letter-spacing: 0.015em;
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(227, 201, 142, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(227, 189, 99, 0.07), transparent 46%, rgba(95, 227, 214, 0.04)),
    rgba(7, 14, 26, 0.7);
}

.compact-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 182px;
  padding: clamp(18px, 2.4vw, 28px);
  border-right: 1px solid rgba(255, 248, 226, 0.085);
}

.compact-grid article:last-child {
  border-right: 0;
}

.compact-grid small {
  color: rgba(227, 189, 99, 0.88);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.zh .compact-grid small {
  font-family: var(--font-cjk-sans);
  letter-spacing: 0.12em;
  text-transform: none;
}

.compact-grid strong {
  color: rgba(250, 246, 236, 0.95);
  font-size: 1rem;
  line-height: 1.34;
}

.compact-grid span {
  color: rgba(203, 214, 232, 0.73);
  font-size: 0.92rem;
  line-height: 1.66;
}

body.zh .compact-grid span {
  line-height: 1.88;
}

.compact-statement {
  display: grid;
  grid-template-columns: minmax(130px, 0.24fr) minmax(0, 0.76fr);
  align-items: start;
  gap: clamp(18px, 3vw, 38px);
  margin-top: clamp(18px, 3vw, 34px);
  padding: clamp(22px, 3.4vw, 36px);
  border: 1px solid rgba(227, 201, 142, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(227, 189, 99, 0.08), rgba(95, 227, 214, 0.045)),
    rgba(6, 12, 23, 0.72);
}

.compact-statement p {
  color: rgba(225, 232, 243, 0.86);
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 1.65vw, 1.48rem);
  line-height: 1.55;
  margin: 0;
}

body.zh .compact-statement p {
  font-family: var(--font-cjk-serif);
  line-height: 1.85;
  letter-spacing: 0.015em;
}

@media (max-width: 980px) {
  .operating-compact-visual {
    grid-template-columns: 1fr;
  }

  .operating-compact-visual img {
    min-height: 360px;
  }

  .operating-compact-visual figcaption {
    border-left: 0;
    border-top: 1px solid rgba(227, 201, 142, 0.18);
  }

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

  .compact-grid article:nth-child(2) {
    border-right: 0;
  }

  .compact-grid article:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 248, 226, 0.085);
  }
}

@media (max-width: 640px) {
  .operating-compact-visual {
    border-radius: 12px;
  }

  .operating-compact-visual img {
    min-height: 260px;
  }

  .operating-compact-visual figcaption {
    gap: 12px;
    padding: 22px;
  }

  .compact-grid {
    grid-template-columns: 1fr;
    border-radius: 10px;
  }

  .compact-grid article,
  .compact-grid article:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-top: 1px solid rgba(255, 248, 226, 0.085);
  }

  .compact-grid article:first-child {
    border-top: 0;
  }

  .compact-statement {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px;
  }
}

/* MSD ecosystem navigation */
.msd-ecosystem-rail {
  position: relative;
  z-index: 35;
  margin-top: 76px;
  border-top: 1px solid rgba(231, 198, 117, 0.18);
  border-bottom: 1px solid rgba(92, 122, 170, 0.2);
  background: linear-gradient(90deg, rgba(5, 10, 19, 0.94), rgba(14, 27, 48, 0.9));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.msd-ecosystem-rail__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.msd-ecosystem-rail__home,
.msd-ecosystem-rail__links a {
  color: rgba(232, 238, 248, 0.82);
  text-decoration: none;
}

.msd-ecosystem-rail__home {
  min-width: 238px;
  display: grid;
  gap: 3px;
}

.msd-ecosystem-rail__home span,
.msd-ecosystem-note small {
  color: rgba(186, 203, 226, 0.7);
  font-family: var(--font-mono, var(--mono, ui-monospace, Menlo, Consolas, monospace));
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.msd-ecosystem-rail__home strong {
  color: var(--gold-bright, var(--gold, #f4d784));
  font-family: var(--font-serif, var(--serif, Georgia, "Times New Roman", serif));
  font-size: 1rem;
  letter-spacing: 0;
}

.msd-ecosystem-rail__links {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.msd-ecosystem-rail__links a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(151, 180, 220, 0.18);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.035);
  font-family: var(--font-mono, var(--mono, ui-monospace, Menlo, Consolas, monospace));
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.msd-ecosystem-rail__links a:hover,
.msd-ecosystem-rail__links a:focus-visible,
.msd-ecosystem-rail__links a[aria-current="page"] {
  color: #08111f;
  border-color: rgba(241, 207, 126, 0.78);
  background: linear-gradient(135deg, #f2d88c, #d9a943);
}

.msd-ecosystem-note {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 18px;
  padding: 18px 20px;
  border: 1px solid rgba(231, 198, 117, 0.18);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)), rgba(8, 15, 28, 0.72);
}

.msd-ecosystem-note p {
  margin: 6px 0 0;
  color: rgba(231, 238, 248, 0.82);
  font-size: 0.95rem;
  line-height: 1.62;
}

body.zh .msd-ecosystem-rail__home span,
body.zh .msd-ecosystem-note small,
body.zh .msd-ecosystem-rail__links a {
  font-family: var(--font-cjk-sans, system-ui, sans-serif);
  letter-spacing: 0.06em;
  text-transform: none;
}

body.zh .msd-ecosystem-rail__home strong {
  font-family: var(--font-cjk-serif, var(--font-serif, serif));
}

body.zh .msd-ecosystem-note p {
  line-height: 1.8;
}

/* ===================== ROUND 31 · Public assurance standard =====================
   Adds a standards-facing assurance layer after the operating compact: the
   page now speaks to due diligence, restraint, continuity and interoperability
   without pretending to be a certification registry. */
.assurance-standard-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 15, 27, 0.98), rgba(5, 9, 17, 0.98)),
    radial-gradient(circle at 50% 8%, rgba(95, 227, 214, 0.07), transparent 36%);
}

.assurance-standard-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 248, 226, 0.018), transparent 22%, transparent 78%, rgba(255, 248, 226, 0.018)),
    linear-gradient(180deg, transparent, rgba(227, 189, 99, 0.05));
}

.assurance-standard-section .section-inner {
  position: relative;
  z-index: 1;
}

.assurance-standard-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(280px, 0.58fr);
  align-items: stretch;
  overflow: hidden;
  margin: 0 0 clamp(24px, 3.8vw, 44px);
  border: 1px solid rgba(227, 201, 142, 0.27);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(95, 227, 214, 0.055), rgba(227, 189, 99, 0.07) 58%, rgba(5, 9, 18, 0.9)),
    rgba(5, 10, 19, 0.86);
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 248, 226, 0.052) inset;
}

.assurance-standard-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.88) contrast(1.08) brightness(0.88);
}

.assurance-standard-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.08), transparent 34%, rgba(5, 8, 15, 0.48)),
    linear-gradient(180deg, rgba(255, 248, 226, 0.014), rgba(5, 8, 15, 0.3));
}

.assurance-standard-visual figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding: clamp(24px, 3.5vw, 42px);
  border-left: 1px solid rgba(227, 201, 142, 0.2);
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.22), rgba(5, 9, 18, 0.94)),
    linear-gradient(135deg, rgba(95, 227, 214, 0.075), transparent 56%);
}

.assurance-standard-visual figcaption span,
.standard-ledger span {
  color: rgba(154, 240, 230, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

body.zh .assurance-standard-visual figcaption span,
body.zh .standard-ledger span {
  font-family: var(--font-cjk-sans);
  letter-spacing: 0.12em;
  text-transform: none;
}

.assurance-standard-visual figcaption strong {
  color: rgba(250, 246, 236, 0.97);
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 1.92rem);
  font-weight: 600;
  line-height: 1.16;
  max-width: 14.4em;
}

.assurance-standard-visual figcaption p {
  color: rgba(213, 222, 237, 0.76);
  font-size: 0.98rem;
  line-height: 1.76;
  margin: 0;
  max-width: 34rem;
}

body.zh .assurance-standard-visual figcaption strong {
  font-family: var(--font-cjk-serif);
  font-size: clamp(1.25rem, 2vw, 1.82rem);
  line-height: 1.38;
}

body.zh .assurance-standard-visual figcaption p {
  line-height: 1.95;
  letter-spacing: 0.015em;
}

.standard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(227, 201, 142, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(95, 227, 214, 0.045), transparent 46%, rgba(227, 189, 99, 0.06)),
    rgba(7, 14, 26, 0.7);
}

.standard-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 182px;
  padding: clamp(18px, 2.4vw, 28px);
  border-right: 1px solid rgba(255, 248, 226, 0.085);
}

.standard-grid article:last-child {
  border-right: 0;
}

.standard-grid small {
  color: rgba(227, 189, 99, 0.88);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.zh .standard-grid small {
  font-family: var(--font-cjk-sans);
  letter-spacing: 0.12em;
  text-transform: none;
}

.standard-grid strong {
  color: rgba(250, 246, 236, 0.95);
  font-size: 1rem;
  line-height: 1.34;
}

.standard-grid span {
  color: rgba(203, 214, 232, 0.73);
  font-size: 0.92rem;
  line-height: 1.66;
}

body.zh .standard-grid span {
  line-height: 1.88;
}

.standard-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(227, 201, 142, 0.2);
  border-radius: 12px;
  background: rgba(227, 201, 142, 0.13);
}

.standard-ledger article {
  display: grid;
  gap: 8px;
  padding: clamp(18px, 2.5vw, 30px);
  background:
    linear-gradient(135deg, rgba(255, 248, 226, 0.055), rgba(95, 227, 214, 0.028)),
    rgba(6, 12, 23, 0.82);
}

.standard-ledger strong {
  color: rgba(250, 246, 236, 0.96);
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.65vw, 1.46rem);
  font-weight: 600;
  line-height: 1.22;
}

body.zh .standard-ledger strong {
  font-family: var(--font-cjk-serif);
  line-height: 1.45;
}

@media (max-width: 980px) {
  .assurance-standard-visual {
    grid-template-columns: 1fr;
  }

  .assurance-standard-visual img {
    min-height: 360px;
  }

  .assurance-standard-visual figcaption {
    border-left: 0;
    border-top: 1px solid rgba(227, 201, 142, 0.18);
  }

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

  .standard-grid article:nth-child(2) {
    border-right: 0;
  }

  .standard-grid article:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 248, 226, 0.085);
  }
}

@media (max-width: 640px) {
  .assurance-standard-visual {
    border-radius: 12px;
  }

  .assurance-standard-visual img {
    min-height: 260px;
  }

  .assurance-standard-visual figcaption {
    gap: 12px;
    padding: 22px;
  }

  .standard-grid,
  .standard-ledger {
    grid-template-columns: 1fr;
    border-radius: 10px;
  }

  .standard-grid article,
  .standard-grid article:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-top: 1px solid rgba(255, 248, 226, 0.085);
  }

  .standard-grid article:first-child {
    border-top: 0;
  }
}

@media (max-width: 900px) {
  .msd-ecosystem-rail__inner {
    display: grid;
    align-items: stretch;
  }

  .msd-ecosystem-rail__home {
    min-width: 0;
  }

  .msd-ecosystem-rail__links {
    margin-left: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .msd-ecosystem-rail {
    margin-top: 70px;
  }

  .msd-ecosystem-rail__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .msd-ecosystem-rail__links a {
    justify-content: center;
    min-width: 0;
    text-align: center;
  }
}

/* ===================== ROUND 32 · First-screen ecosystem rail rhythm =====================
   The ecosystem rail should read as part of the header system, not as a
   separated block that drops the first screen too low. */
.msd-ecosystem-rail {
  margin-top: clamp(22px, 2.2vw, 30px);
}

@media (max-width: 900px) {
  .msd-ecosystem-rail {
    margin-top: clamp(18px, 4vw, 26px);
  }
}

@media (max-width: 560px) {
  .msd-ecosystem-rail {
    margin-top: clamp(14px, 4.8vw, 22px);
  }
}

/* ROUND 33 · Refined MSD ecosystem switcher
   Treat the family links as a quiet product-line switcher, not a separate banner. */
.msd-ecosystem-rail {
  position: sticky;
  top: var(--msd-ecosystem-offset, 76px);
  z-index: 90;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(231, 198, 117, 0.14);
  background: linear-gradient(180deg, rgba(5, 8, 15, 0.82), rgba(5, 8, 15, 0.64));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
}

.msd-ecosystem-rail__inner {
  min-height: 38px;
  padding: 4px 0;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.msd-ecosystem-rail__inner::-webkit-scrollbar,
.msd-ecosystem-rail__links::-webkit-scrollbar {
  display: none;
}

.msd-ecosystem-rail__home {
  flex: 0 0 auto;
  min-width: 0;
  max-width: min(42vw, 460px);
  min-height: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.msd-ecosystem-rail__home span,
.msd-ecosystem-rail__home strong {
  display: inline;
  white-space: nowrap;
}

.msd-ecosystem-rail__home span {
  max-width: 30ch;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(202, 213, 230, 0.62);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}

.msd-ecosystem-rail__home span::after {
  content: "/";
  margin-left: 8px;
  color: rgba(231, 198, 117, 0.48);
}

.msd-ecosystem-rail__home strong {
  color: rgba(247, 230, 172, 0.92);
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.msd-ecosystem-rail__links {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.msd-ecosystem-rail__links::before {
  content: "MSD Ecosystem";
  flex: 0 0 auto;
  margin-right: 6px;
  color: rgba(202, 213, 230, 0.48);
  font-family: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.msd-ecosystem-rail__links a {
  flex: 0 0 auto;
  min-width: max-content;
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(218, 226, 239, 0.68);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  box-shadow: none;
}

.msd-ecosystem-rail__links a:hover,
.msd-ecosystem-rail__links a:focus-visible {
  color: rgba(247, 230, 172, 0.94);
  border-color: rgba(231, 198, 117, 0.22);
  background: rgba(231, 198, 117, 0.075);
}

.msd-ecosystem-rail__links a[aria-current="page"] {
  color: rgba(247, 230, 172, 0.96);
  border-color: rgba(231, 198, 117, 0.30);
  background: rgba(231, 198, 117, 0.12);
}

body.zh .msd-ecosystem-rail__links::before,
html[lang|="zh"] .msd-ecosystem-rail__links::before {
  content: "MSD 生态";
}

body.zh .msd-ecosystem-rail__home span,
body.zh .msd-ecosystem-rail__home strong,
body.zh .msd-ecosystem-rail__links a,
html[lang|="zh"] .msd-ecosystem-rail__home span,
html[lang|="zh"] .msd-ecosystem-rail__home strong,
html[lang|="zh"] .msd-ecosystem-rail__links a {
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .msd-ecosystem-rail {
    top: var(--msd-ecosystem-offset-mobile, 72px);
    margin-top: 0;
  }

  .msd-ecosystem-rail__inner {
    width: 100%;
    padding: 5px 16px;
    gap: 13px;
  }

  .msd-ecosystem-rail__home {
    max-width: none;
  }

  .msd-ecosystem-rail__home span,
  .msd-ecosystem-rail__links::before {
    display: none;
  }

  .msd-ecosystem-rail__links {
    margin-left: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .msd-ecosystem-rail {
    margin-top: 0;
  }

  .msd-ecosystem-rail__links {
    display: flex;
    grid-template-columns: none;
  }

  .msd-ecosystem-rail__links a {
    min-width: max-content;
    justify-content: center;
    text-align: center;
  }
}

/* ROUND 34 · Keep the ecosystem switcher single-line on mobile. */
.msd-ecosystem-rail__inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

@media (max-width: 900px) {
  .msd-ecosystem-rail__inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }

  .msd-ecosystem-rail__links {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* ROUND 34 · First-screen hierarchy completion
   Pair the slimmer ecosystem switcher with a lighter review rail and anchor
   offsets that respect the sticky header stack. */
html {
  scroll-padding-top: 136px;
}

.one-review-rail {
  z-index: 42;
  border-top-color: rgba(227, 189, 99, 0.07);
  border-bottom-color: rgba(168, 188, 220, 0.095);
  background:
    linear-gradient(90deg, rgba(227, 189, 99, 0.048), rgba(95, 227, 214, 0.028)),
    linear-gradient(180deg, rgba(5, 8, 15, 0.925), rgba(7, 13, 23, 0.88));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.one-review-rail::before {
  opacity: 0.36;
}

.one-review-inner {
  min-height: 36px;
  padding: 5px var(--gutter);
  gap: 14px;
  font-size: 0.66rem;
  letter-spacing: 0.13em;
}

.one-review-pill {
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.16em;
  box-shadow: 0 6px 16px rgba(227, 189, 99, 0.12);
}

.one-review-scope {
  color: rgba(247, 230, 172, 0.72);
}

.one-review-text {
  color: rgba(216, 224, 238, 0.7);
  font-size: 0.74rem;
}

@media (min-width: 761px) {
  .hero {
    min-height: min(780px, calc(100dvh - 160px));
    padding-top: clamp(30px, 4.8vh, 58px);
  }
}

@media (min-width: 1280px) {
  .hero {
    padding-top: clamp(28px, 4.4vh, 54px);
  }
}

@media (max-width: 1080px) {
  html {
    scroll-padding-top: 126px;
  }

  .one-review-inner {
    font-size: 0.64rem;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 120px;
  }

  .one-review-inner {
    min-height: 38px;
    padding: 6px 20px;
    gap: 11px;
  }

  .hero {
    padding-top: 30px;
  }
}

@media (max-width: 560px) {
  .msd-ecosystem-rail__links a {
    min-height: 40px;
    padding: 8px 10px;
  }

  .one-review-inner {
    min-height: 40px;
    font-size: 0.62rem;
  }
}

/* ROUND 35 · Institutional design-system unification
   Use one controlled visual language for the infrastructure narrative:
   thin civic rules, inspectable surfaces, a central meridian axis and restrained
   public-institution contrast. */
:root {
  --one-rule: rgba(227, 201, 142, 0.2);
  --one-rule-soft: rgba(168, 188, 220, 0.105);
  --one-civic-panel: rgba(7, 14, 26, 0.78);
  --one-civic-panel-strong: rgba(5, 10, 19, 0.88);
  --one-caption-glass: rgba(5, 9, 18, 0.76);
  --one-civic-shadow: 0 38px 110px rgba(0, 0, 0, 0.36);
  --one-section-space: clamp(78px, 9vw, 132px);
}

.section-band {
  position: relative;
  padding-top: var(--one-section-space);
  padding-bottom: var(--one-section-space);
}

.section-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 248, 226, 0.016), transparent 18%, transparent 82%, rgba(255, 248, 226, 0.016)),
    linear-gradient(rgba(168, 188, 220, 0.018) 1px, transparent 1px);
  background-size: auto, 100% 32px;
  opacity: 0.38;
}

.section-band > .section-inner {
  position: relative;
  z-index: 1;
}

.section-heading {
  position: relative;
  align-items: end;
  padding-top: clamp(14px, 1.6vw, 22px);
}

.section-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(220px, 24vw);
  height: 1px;
  background: linear-gradient(90deg, rgba(227, 201, 142, 0.82), rgba(95, 227, 214, 0.22), transparent);
}

.section-heading .eyebrow {
  color: rgba(247, 230, 172, 0.86);
}

.section-heading h2 {
  max-width: 14em;
}

.section-heading .section-copy {
  color: rgba(211, 221, 236, 0.76);
  max-width: 58ch;
}

.review-dossier-visual,
.infrastructure-spine-visual,
.origin-door-visual,
.boundary-threshold-visual,
.one-section-image,
.capability-surfaces-visual,
.wallet-service-visual,
.security-evidence-visual,
.adoption-city-visual.config-visual,
.operating-compact-visual,
.assurance-standard-visual {
  border-radius: 12px;
  border-color: var(--one-rule);
  box-shadow:
    var(--one-civic-shadow),
    0 0 0 1px rgba(255, 248, 226, 0.046) inset;
}

.institutional-atlas-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.38fr);
  aspect-ratio: auto;
  min-height: 560px;
  background:
    linear-gradient(145deg, rgba(227, 189, 99, 0.075), rgba(95, 227, 214, 0.04) 48%, rgba(5, 9, 18, 0.9)),
    var(--one-civic-panel-strong);
}

.institutional-atlas-visual img {
  min-height: 560px;
  object-position: center center;
}

.institutional-atlas-visual::after {
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.04), transparent 46%, rgba(5, 8, 15, 0.68)),
    linear-gradient(180deg, rgba(255, 248, 226, 0.018), rgba(5, 8, 15, 0.26));
}

.institutional-atlas-visual figcaption {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: clamp(24px, 3.2vw, 42px);
  border-left: 1px solid rgba(227, 201, 142, 0.2);
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.24), rgba(5, 9, 18, 0.92)),
    linear-gradient(135deg, rgba(95, 227, 214, 0.068), transparent 58%);
}

.institutional-atlas-visual figcaption span {
  color: rgba(154, 240, 230, 0.86);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.institutional-atlas-visual figcaption strong {
  color: rgba(250, 246, 236, 0.97);
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.75vw, 1.72rem);
  font-weight: 600;
  line-height: 1.16;
}

.institutional-atlas-visual figcaption p {
  margin: 0;
  color: rgba(211, 221, 236, 0.74);
  font-size: 0.94rem;
  line-height: 1.72;
}

body.zh .institutional-atlas-visual figcaption span {
  font-family: var(--font-cjk-sans);
  letter-spacing: 0.12em;
  text-transform: none;
}

body.zh .institutional-atlas-visual figcaption strong {
  font-family: var(--font-cjk-serif);
  line-height: 1.38;
}

body.zh .institutional-atlas-visual figcaption p {
  line-height: 1.9;
  letter-spacing: 0.015em;
}

.dossier-grid article,
.model-section .institutional-strip article,
.definition-card,
.assurance-item,
.assurance-register article,
.configuration-register article,
.pricing-card,
.compact-grid article,
.standard-grid article,
.standard-ledger article {
  border-color: rgba(227, 201, 142, 0.16);
  background:
    linear-gradient(150deg, rgba(255, 248, 226, 0.045), rgba(95, 227, 214, 0.022) 44%, transparent),
    var(--one-civic-panel);
}

.dossier-grid small,
.model-section .institutional-strip small,
.definition-card small,
.assurance-item small,
.assurance-register small,
.configuration-register small,
.pricing-card .ptag,
.compact-grid small,
.standard-grid small,
.standard-ledger span {
  color: rgba(247, 230, 172, 0.84);
}

@media (max-width: 980px) {
  .institutional-atlas-visual {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .institutional-atlas-visual img {
    min-height: 360px;
  }

  .institutional-atlas-visual figcaption {
    border-left: 0;
    border-top: 1px solid rgba(227, 201, 142, 0.2);
  }
}

@media (max-width: 640px) {
  :root {
    --one-section-space: clamp(58px, 15vw, 82px);
  }

  .section-heading {
    padding-top: 14px;
  }

  .section-heading::before {
    width: 172px;
  }

  .institutional-atlas-visual img {
    min-height: 260px;
  }

  .institutional-atlas-visual figcaption {
    padding: 22px;
  }
}

/* ROUND 36 · Final top ecosystem switcher guard. */
body .msd-ecosystem-rail > .msd-ecosystem-rail__inner {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  min-height: 38px !important;
  padding: 4px 0 !important;
  gap: 16px !important;
  overflow-x: auto !important;
}

body .msd-ecosystem-rail .msd-ecosystem-rail__home {
  width: auto !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  min-height: auto !important;
  max-width: min(42vw, 460px) !important;
  padding: 0 !important;
}

body .msd-ecosystem-rail .msd-ecosystem-rail__links {
  display: flex !important;
  grid-template-columns: none !important;
  width: auto !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
  overflow-x: auto !important;
}

body .msd-ecosystem-rail .msd-ecosystem-rail__links a {
  min-width: max-content !important;
  min-height: 28px !important;
  padding: 5px 8px !important;
  line-height: 1.2 !important;
}

@media (max-width: 900px) {
  body .msd-ecosystem-rail > .msd-ecosystem-rail__inner {
    width: 100% !important;
    padding: 5px 16px !important;
    gap: 13px !important;
  }

  body .msd-ecosystem-rail .msd-ecosystem-rail__home {
    max-width: none !important;
  }

  body .msd-ecosystem-rail .msd-ecosystem-rail__home span,
  body .msd-ecosystem-rail .msd-ecosystem-rail__links::before {
    display: none !important;
  }
}

/* ROUND 37 · Product-line polish for the MSD ecosystem switcher. */
.msd-ecosystem-rail {
  isolation: isolate;
}

.msd-ecosystem-rail::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(247, 230, 172, 0.36), transparent);
  opacity: 0.64;
}

body .msd-ecosystem-rail .msd-ecosystem-rail__home::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(247, 230, 172, 0.86);
  box-shadow: 0 0 12px rgba(247, 230, 172, 0.32);
}

body .msd-ecosystem-rail .msd-ecosystem-rail__links {
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

body .msd-ecosystem-rail .msd-ecosystem-rail__links a {
  position: relative;
  box-sizing: border-box !important;
  scroll-snap-align: start;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

body .msd-ecosystem-rail .msd-ecosystem-rail__links a[aria-current="page"] {
  color: rgba(255, 248, 226, 0.98);
  border-color: rgba(247, 230, 172, 0.34);
  background: linear-gradient(180deg, rgba(247, 230, 172, 0.15), rgba(247, 230, 172, 0.07));
  box-shadow: inset 0 0 0 1px rgba(255, 248, 226, 0.045);
}

body .msd-ecosystem-rail .msd-ecosystem-rail__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 1px;
  border-radius: 999px;
  background: rgba(247, 230, 172, 0.74);
}

body .msd-ecosystem-rail .msd-ecosystem-rail__home:focus-visible,
body .msd-ecosystem-rail .msd-ecosystem-rail__links a:focus-visible {
  outline: 2px solid rgba(95, 227, 214, 0.64);
  outline-offset: 2px;
}

@media (hover: hover) {
  body .msd-ecosystem-rail .msd-ecosystem-rail__home:hover strong {
    color: rgba(255, 248, 226, 1);
  }
}

@media (max-width: 900px) {
  body .msd-ecosystem-rail .msd-ecosystem-rail__links {
    padding-right: 22px;
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body .msd-ecosystem-rail .msd-ecosystem-rail__links a {
    transition: none;
  }
}

/* ROUND 38 · Desktop header containment.
   Medium desktop widths should keep the product navigation inside the viewport. */
body .site-nav .language-link-menu {
  display: none !important;
}

@media (min-width: 1081px) and (max-width: 1360px) {
  body .topbar {
    gap: 10px;
  }

  body .site-nav {
    min-width: 0;
    gap: 2px;
  }

  body .site-nav a {
    min-height: 40px;
    padding: 8px 8px;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
  }

  body .site-nav a::after {
    left: 8px;
    right: 8px;
  }

  body .language-link {
    flex: 0 0 auto;
    min-height: 40px;
    margin-left: 0;
    padding: 7px 10px;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }
}

/* Shared footer ecosystem matrix */
.msd-footer-family {
  width: min(1120px, calc(100% - 48px));
  margin: 18px auto 0;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(227, 189, 99, 0.14);
}

.msd-footer-family a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(227, 189, 99, 0.16);
  border-radius: 999px;
  color: rgba(216, 224, 238, 0.74);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.025);
}

.msd-footer-family a:hover,
.msd-footer-family a:focus-visible,
.msd-footer-family a[aria-current="page"] {
  color: var(--gold-bright, #f7e6ac);
  border-color: rgba(247, 230, 172, 0.34);
  background: rgba(227, 189, 99, 0.07);
}

body.zh .msd-footer-family a {
  font-family: var(--font-cjk-sans, system-ui, sans-serif);
  letter-spacing: 0.04em;
}

/* ROUND 38 · Public review path and standards-oriented navigation. */
.review-route-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 26px);
  margin-top: clamp(18px, 2.2vw, 28px);
  padding: clamp(14px, 1.8vw, 20px) clamp(16px, 2.2vw, 26px);
  border: 1px solid rgba(227, 201, 142, 0.2);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(227, 201, 142, 0.12), rgba(95, 227, 214, 0.052) 48%, rgba(7, 13, 25, 0.78)),
    rgba(7, 12, 22, 0.86);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(255, 248, 226, 0.035) inset;
}

.review-route-footer::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(180deg, rgba(248, 218, 136, 0.96), rgba(95, 227, 214, 0.54));
}

.review-route-footer span {
  flex: 0 0 auto;
  color: rgba(247, 230, 172, 0.9);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.review-route-footer strong {
  flex: 1 1 auto;
  min-width: 0;
  color: rgba(250, 246, 236, 0.94);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  font-weight: 600;
  line-height: 1.32;
  text-align: right;
  overflow-wrap: anywhere;
}

body.zh .review-route-footer span {
  font-family: var(--font-cjk-sans);
  letter-spacing: 0.16em;
  text-transform: none;
}

body.zh .review-route-footer strong {
  font-family: var(--font-cjk-serif);
  line-height: 1.54;
}

body .site-nav a[href="#standard"] {
  color: rgba(248, 218, 136, 0.9);
}

body .site-nav a[href="#standard"]::after {
  opacity: 0.72;
}

@media (max-width: 760px) {
  .review-route-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-route-footer strong {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .review-route-footer {
    border-radius: 8px;
    padding: 14px 16px 15px 18px;
  }

  .review-route-footer strong {
    font-size: 0.98rem;
  }
}

/* ROUND 39 · MSD homepage visual-system alignment for Meridian One. */
body .site-header {
  background: rgba(5, 8, 15, 0.92);
  border-bottom: 1px solid rgba(168, 188, 220, 0.12);
}

body .site-header.is-stuck {
  background: rgba(6, 10, 19, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

body .topbar {
  max-width: var(--max);
  padding: 16px var(--gutter);
  gap: 28px;
}

body .brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 9px;
}

body .brand-name {
  font-size: 1.16rem;
}

body:not(.zh) .brand-name {
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
}

body .brand-subtitle {
  font-size: 0.7rem;
  color: var(--subtle);
  letter-spacing: 0.16em;
}

body .site-nav {
  gap: 6px;
}

body .site-nav a {
  min-height: 40px;
  padding: 9px 14px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

body .site-nav a[href="#standard"]:not(.is-active) {
  color: var(--muted);
}

body .site-nav a:hover,
body .site-nav a.is-active,
body .site-nav a[href="#standard"]:hover,
body .site-nav a[href="#standard"].is-active {
  color: var(--gold-bright);
}

body .language-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

body .msd-ecosystem-rail {
  position: sticky !important;
  top: var(--msd-central-offset, 76px) !important;
  z-index: 90 !important;
  margin-top: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(231, 198, 117, 0.14);
  background:
    linear-gradient(180deg, rgba(5, 8, 15, 0.86), rgba(5, 8, 15, 0.66));
  box-shadow: none;
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
}

body .msd-ecosystem-rail > .msd-ecosystem-rail__inner {
  width: min(var(--max), calc(100% - (var(--gutter) * 2))) !important;
  min-height: 38px !important;
  margin: 0 auto !important;
  padding: 4px 0 !important;
  gap: 16px !important;
}

body .msd-ecosystem-rail .msd-ecosystem-rail__home {
  max-width: min(42vw, 460px) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
}

body .msd-ecosystem-rail .msd-ecosystem-rail__home span,
body .msd-ecosystem-rail .msd-ecosystem-rail__home strong,
body .msd-ecosystem-rail .msd-ecosystem-rail__links a {
  font-family: var(--font-mono);
  white-space: nowrap;
}

body .msd-ecosystem-rail .msd-ecosystem-rail__home span {
  color: rgba(200, 210, 226, 0.66);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body .msd-ecosystem-rail .msd-ecosystem-rail__home strong {
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

body .msd-ecosystem-rail .msd-ecosystem-rail__links {
  gap: 4px !important;
  scroll-snap-type: x proximity;
}

body .msd-ecosystem-rail .msd-ecosystem-rail__links::before {
  content: "MSD Ecosystem";
  flex: 0 0 auto;
  margin-right: 4px;
  color: rgba(154, 240, 230, 0.66);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body .msd-ecosystem-rail .msd-ecosystem-rail__links a {
  min-height: 28px !important;
  padding: 5px 8px !important;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(200, 210, 226, 0.78);
  font-size: 0.68rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

body .msd-ecosystem-rail .msd-ecosystem-rail__links a:hover,
body .msd-ecosystem-rail .msd-ecosystem-rail__links a:focus-visible,
body .msd-ecosystem-rail .msd-ecosystem-rail__links a[aria-current="page"] {
  color: var(--gold-bright);
  border-color: rgba(227, 189, 99, 0.2);
  background: rgba(227, 189, 99, 0.06);
  box-shadow: none;
}

body.zh .msd-ecosystem-rail .msd-ecosystem-rail__links::before {
  content: "MSD 生态";
}

body.zh .msd-ecosystem-rail .msd-ecosystem-rail__home span,
body.zh .msd-ecosystem-rail .msd-ecosystem-rail__home strong,
body.zh .msd-ecosystem-rail .msd-ecosystem-rail__links a {
  font-family: var(--font-cjk-sans);
  letter-spacing: 0.05em;
  text-transform: none;
}

.one-review-rail {
  border-top: 0;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(227, 189, 99, 0.05), rgba(95, 227, 214, 0.04));
  box-shadow: none;
}

.one-review-rail::before {
  opacity: 0.36;
}

.one-review-inner {
  max-width: var(--max);
  min-height: 38px;
  padding: 10px var(--gutter);
  gap: 18px;
  color: var(--muted);
  font-size: 0.78rem;
}

.one-review-pill {
  border-radius: 5px;
  background: var(--gold);
  color: #1a1305;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
}

.one-review-scope {
  color: var(--subtle);
}

.one-review-text {
  color: var(--ink);
  font-weight: 500;
}

.hero {
  min-height: min(820px, 88dvh);
  padding: clamp(52px, 7vw, 88px) 0 clamp(54px, 6vw, 82px);
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.99) 0%, rgba(5, 8, 15, 0.91) 31%, rgba(5, 8, 15, 0.46) 62%, rgba(5, 8, 15, 0.36) 100%),
    linear-gradient(180deg, rgba(5, 8, 15, 0.08) 0%, rgba(5, 8, 15, 0.14) 46%, rgba(5, 8, 15, 0.88) 100%),
    radial-gradient(54% 42% at 72% 36%, rgba(227, 189, 99, 0.24), transparent 66%),
    url("one-service-gateway-msd-hero-v114.webp") center right / cover no-repeat;
}

.hero::before {
  opacity: 1;
  background:
    radial-gradient(56% 48% at 72% 42%, rgba(95, 227, 214, 0.08), transparent 66%),
    radial-gradient(70% 72% at 30% 92%, rgba(227, 189, 99, 0.1), transparent 62%);
}

.hero::after {
  inset: 0;
  height: auto;
  opacity: 0.42;
  transform: none;
  background:
    linear-gradient(rgba(168, 188, 220, 0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 188, 220, 0.032) 1px, transparent 1px),
    radial-gradient(68% 62% at 62% 44%, transparent 0%, rgba(5, 8, 15, 0.24) 100%);
  background-size: 72px 72px, 72px 72px, auto;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.22) 72%, transparent);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.22) 72%, transparent);
}

.hero-inner {
  max-width: var(--max);
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}

.hero-institutional-kicker {
  margin: 0 0 18px;
  color: rgba(247, 230, 172, 0.86);
}

.hero-title,
body:not(.zh) .hero-title,
body.zh .hero-title {
  max-width: 9.8ch;
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: clamp(4rem, 8.5vw, 6.45rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.005em;
  background: linear-gradient(180deg, #ffffff 0%, #fdf3d6 52%, var(--gold) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title em {
  display: inline-block;
  color: var(--gold);
  font-style: italic;
  -webkit-text-fill-color: var(--gold);
}

.hero-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 8px 0 16px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.5vw, 2.08rem);
  letter-spacing: 0.01em;
}

.hero-formula span {
  background: linear-gradient(135deg, #b8862e, #e3bd63 42%, #f7e6ac);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-formula i {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62em;
  font-style: normal;
}

body.zh .hero-formula {
  font-family: var(--font-cjk-serif);
  font-weight: 900;
}

.hero-copy {
  max-width: 44ch;
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.62;
}

body.zh .hero-copy {
  max-width: 30em;
  font-family: var(--font-cjk-sans);
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.9;
}

.hero-system-line {
  max-width: 58ch;
  margin: 0 0 24px;
  color: rgba(200, 210, 226, 0.78);
  font-size: 1rem;
  line-height: 1.62;
}

body.zh .hero-system-line {
  max-width: 36em;
  line-height: 1.95;
  letter-spacing: 0.015em;
}

.hero-actions {
  margin-bottom: 26px;
}

.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 608px;
  border: 1px solid rgba(227, 189, 99, 0.16);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(5, 10, 19, 0.5);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.18);
}

.hero-trust-row span {
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 13px 16px;
  border-right: 1px solid rgba(227, 189, 99, 0.13);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-trust-row span:last-child {
  border-right: 0;
}

.hero-trust-row small {
  color: var(--gold);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

body.zh .hero-trust-row span {
  font-family: var(--font-cjk-sans);
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: none;
}

.hero-seal {
  max-width: 58ch;
  margin: 16px 0 0;
  color: rgba(200, 210, 226, 0.62);
  font-size: 0.84rem;
  line-height: 1.7;
}

.review-packet {
  align-self: start;
  margin-top: clamp(8px, 2vw, 28px);
  max-width: 540px;
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid rgba(231, 210, 150, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(86% 64% at 12% 0%, rgba(95, 227, 214, 0.09), transparent 62%),
    linear-gradient(165deg, rgba(227, 189, 99, 0.08), transparent 55%),
    rgba(16, 26, 46, 0.82);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
}

.review-packet::before {
  background:
    radial-gradient(circle, rgba(95, 227, 214, 0.12), transparent 70%);
  opacity: 0.78;
}

.review-packet::after {
  display: none;
}

.packet-logo {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: rgba(5, 10, 19, 0.88);
  opacity: 0.74;
}

.packet-kicker {
  color: var(--gold);
}

.review-packet h2 {
  max-width: 34ch;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.18rem, 1.65vw, 1.48rem);
  line-height: 1.48;
}

body.zh .review-packet h2 {
  font-family: var(--font-cjk-serif);
  line-height: 1.62;
}

.review-packet .rule {
  margin: 20px 0;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.packet-list {
  gap: 9px;
}

.packet-item {
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(168, 188, 220, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.item-index {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(39, 113, 87, 0.82);
  color: var(--warm-ink);
  font-size: 0.72rem;
  padding-top: 0;
}

.packet-item:nth-child(3) .item-index {
  background: rgba(198, 154, 62, 0.88);
}

.packet-item small {
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

.packet-item strong {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.35;
}

.packet-item p {
  color: rgba(200, 210, 226, 0.72);
  font-size: 0.84rem;
  line-height: 1.55;
}

@media (max-width: 1080px) {
  body .topbar > .language-link {
    display: none;
  }

  body .site-nav:not([data-open]) {
    display: none !important;
  }

  body .site-nav[data-open] {
    display: flex !important;
  }

  body .msd-ecosystem-rail {
    top: var(--msd-central-offset-mobile, 72px) !important;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .review-packet {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-top: clamp(70px, 18vw, 110px);
    background:
      linear-gradient(180deg, rgba(5, 8, 15, 0.98) 0%, rgba(5, 8, 15, 0.78) 44%, rgba(5, 8, 15, 0.98) 100%),
      url("one-service-gateway-msd-hero-v114.webp") 58% top / cover no-repeat;
  }

  .hero-title,
  body:not(.zh) .hero-title,
  body.zh .hero-title {
    font-size: clamp(3.15rem, 16vw, 4.55rem);
  }

  .hero-formula {
    gap: 10px;
    font-size: 1.24rem;
  }

  .hero-trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-trust-row span:nth-child(2) {
    border-right: 0;
  }

  .hero-trust-row span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(227, 189, 99, 0.13);
  }
}

@media (max-width: 520px) {
  body .msd-ecosystem-rail > .msd-ecosystem-rail__inner {
    width: 100% !important;
    padding: 5px 16px !important;
  }

  body .msd-ecosystem-rail .msd-ecosystem-rail__home span,
  body .msd-ecosystem-rail .msd-ecosystem-rail__links::before {
    display: none !important;
  }

  .one-review-inner {
    padding: 9px 16px;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .packet-item {
    grid-template-columns: 36px 1fr;
    padding: 11px 12px;
  }

  .item-index {
    width: 36px;
    height: 36px;
  }
}

/* ROUND 40 · Institutional system pass, Meridian One as an MSD-grade service gateway. */
:root {
  --one-plate: rgba(11, 18, 31, 0.84);
  --one-plate-strong: rgba(14, 23, 39, 0.94);
  --one-rule-gold: rgba(227, 189, 99, 0.28);
  --one-rule-cyan: rgba(95, 227, 214, 0.16);
  --one-official-border: rgba(231, 210, 150, 0.18);
}

html {
  scroll-padding-top: calc(var(--msd-central-offset, 76px) + 96px);
}

body {
  overflow-x: hidden;
}

body .site-header {
  box-shadow: 0 1px 0 rgba(231, 210, 150, 0.08);
}

body .brand-subtitle,
body .hero-institutional-kicker,
.eyebrow,
.one-review-scope,
.packet-kicker,
.ptag {
  text-transform: uppercase;
}

body.zh .brand-subtitle,
body.zh .hero-institutional-kicker,
body.zh .eyebrow,
body.zh .one-review-scope,
body.zh .packet-kicker,
body.zh .ptag {
  text-transform: none;
}

body .msd-ecosystem-rail {
  top: var(--msd-central-offset, 74px) !important;
}

body .msd-ecosystem-rail::after {
  background: linear-gradient(90deg, transparent, rgba(227, 189, 99, 0.36), rgba(95, 227, 214, 0.2), transparent);
  opacity: 0.46;
}

body .msd-ecosystem-rail > .msd-ecosystem-rail__inner {
  min-height: 34px !important;
  padding: 2px 0 !important;
}

.one-review-rail {
  border-bottom-color: rgba(231, 210, 150, 0.13);
  background:
    linear-gradient(90deg, rgba(227, 189, 99, 0.07), rgba(95, 227, 214, 0.035) 44%, rgba(5, 8, 15, 0.2)),
    rgba(5, 8, 15, 0.76);
}

.one-review-inner {
  min-height: 34px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.hero {
  min-height: min(848px, 90dvh);
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.995) 0%, rgba(5, 8, 15, 0.93) 29%, rgba(5, 8, 15, 0.56) 58%, rgba(5, 8, 15, 0.4) 100%),
    linear-gradient(180deg, rgba(5, 8, 15, 0.06) 0%, rgba(5, 8, 15, 0.16) 48%, rgba(5, 8, 15, 0.93) 100%),
    radial-gradient(42% 44% at 69% 42%, rgba(227, 189, 99, 0.22), transparent 70%),
    url("one-service-gateway-msd-hero-v114.webp") center right / cover no-repeat;
}

.hero::before {
  background:
    radial-gradient(48% 52% at 68% 47%, rgba(95, 227, 214, 0.1), transparent 66%),
    linear-gradient(90deg, rgba(227, 189, 99, 0.08), transparent 40%),
    radial-gradient(70% 70% at 20% 100%, rgba(227, 189, 99, 0.08), transparent 62%);
}

.hero::after {
  opacity: 0.34;
}

.meridian-field {
  opacity: 0.34;
  mix-blend-mode: screen;
}

.hero-inner > div:first-child {
  padding-top: clamp(4px, 2vw, 28px);
}

.hero-institutional-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hero-institutional-kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-title,
body:not(.zh) .hero-title,
body.zh .hero-title {
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.48);
}

.hero-copy,
.hero-system-line,
.hero-seal {
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
}

.button {
  border-radius: 999px;
  box-shadow: none;
}

.button.primary {
  color: #151007;
  background: linear-gradient(135deg, #f8df8b 0%, #d5a945 100%);
}

.button:not(.primary) {
  background: rgba(8, 14, 25, 0.42);
}

.hero-trust-row,
.review-packet,
.packet-item,
.definition-card,
.assurance-item,
.pricing-card,
.merchant-step,
.boundary-panel,
.cred-card,
.dossier-grid article,
.assurance-register article,
.configuration-register article,
.compact-grid article,
.standard-grid article,
.standard-ledger article,
.compact-statement,
.memory-spine,
.review-route-footer {
  border-radius: 8px;
}

.hero-trust-row {
  background:
    linear-gradient(180deg, rgba(17, 27, 45, 0.78), rgba(7, 12, 22, 0.68));
  border-color: rgba(231, 210, 150, 0.18);
  backdrop-filter: blur(10px) saturate(1.08);
  -webkit-backdrop-filter: blur(10px) saturate(1.08);
}

.review-packet {
  max-width: 560px;
  border-color: rgba(231, 210, 150, 0.22);
  background:
    linear-gradient(180deg, rgba(19, 29, 48, 0.9), rgba(10, 17, 29, 0.86)),
    radial-gradient(76% 52% at 12% 0%, rgba(95, 227, 214, 0.08), transparent 62%);
}

.section-band {
  position: relative;
  overflow: clip;
}

.section-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(168, 188, 220, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 188, 220, 0.022) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.26;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.68) 15%, rgba(0, 0, 0, 0.72) 84%, transparent);
}

.section-inner {
  position: relative;
  z-index: 1;
}

.section-heading {
  align-items: end;
  padding-top: clamp(12px, 1.6vw, 24px);
  border-top: 1px solid rgba(231, 210, 150, 0.14);
}

.section-heading .eyebrow {
  color: rgba(247, 230, 172, 0.74);
}

.section-heading h2 {
  max-width: 13ch;
}

.section-heading .section-copy {
  max-width: 58ch;
  color: rgba(222, 229, 242, 0.77);
}

:is(
  .institutional-atlas-visual,
  .review-dossier-visual,
  .origin-door-visual,
  .boundary-threshold-visual,
  .one-section-image,
  .capability-surfaces-visual,
  .wallet-service-visual,
  .security-evidence-visual,
  .adoption-city-visual.config-visual,
  .operating-compact-visual,
  .assurance-standard-visual
) {
  border-radius: 8px;
  border: 1px solid var(--one-official-border);
  background: var(--one-plate);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

:is(
  .institutional-atlas-visual,
  .review-dossier-visual,
  .origin-door-visual,
  .boundary-threshold-visual,
  .one-section-image,
  .capability-surfaces-visual,
  .wallet-service-visual,
  .security-evidence-visual,
  .adoption-city-visual.config-visual,
  .operating-compact-visual,
  .assurance-standard-visual
) img {
  filter: saturate(0.94) contrast(1.03);
}

:is(
  .institutional-atlas-visual,
  .review-dossier-visual,
  .security-evidence-visual,
  .adoption-city-visual.config-visual,
  .operating-compact-visual,
  .assurance-standard-visual
) figcaption {
  border-top: 1px solid rgba(231, 210, 150, 0.14);
  background:
    linear-gradient(90deg, rgba(227, 189, 99, 0.1), rgba(95, 227, 214, 0.045)),
    rgba(8, 14, 25, 0.88);
}

:is(
  .institutional-atlas-visual,
  .review-dossier-visual,
  .security-evidence-visual,
  .adoption-city-visual.config-visual,
  .operating-compact-visual,
  .assurance-standard-visual
) figcaption span {
  color: rgba(247, 230, 172, 0.78);
}

:is(
  .dossier-grid,
  .assurance-register,
  .configuration-register,
  .compact-grid,
  .standard-grid
) article {
  background:
    linear-gradient(180deg, rgba(19, 29, 48, 0.82), rgba(8, 14, 25, 0.7));
  border-color: rgba(231, 210, 150, 0.14);
}

:is(
  .dossier-grid,
  .assurance-register,
  .configuration-register,
  .compact-grid,
  .standard-grid
) small {
  color: rgba(247, 230, 172, 0.78);
}

.definition-card,
.assurance-item,
.pricing-card,
.merchant-step {
  background:
    linear-gradient(180deg, rgba(18, 28, 47, 0.8), rgba(7, 12, 22, 0.72));
  border-color: rgba(168, 188, 220, 0.13);
}

.definition-card:hover,
.assurance-item:hover,
.pricing-card:hover,
.merchant-step:hover {
  border-color: rgba(227, 189, 99, 0.28);
}

.closing-cta {
  background:
    linear-gradient(180deg, rgba(5, 8, 15, 0.2), rgba(5, 8, 15, 0.94)),
    radial-gradient(42% 52% at 72% 20%, rgba(227, 189, 99, 0.12), transparent 68%);
}

.site-footer {
  border-top: 1px solid rgba(231, 210, 150, 0.13);
}

@media (max-width: 1080px) {
  html {
    scroll-padding-top: calc(var(--msd-central-offset-mobile, 72px) + 86px);
  }

  body .msd-ecosystem-rail {
    top: var(--msd-central-offset-mobile, 70px) !important;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: clamp(56px, 14vw, 82px);
    background:
      linear-gradient(180deg, rgba(5, 8, 15, 0.98) 0%, rgba(5, 8, 15, 0.86) 36%, rgba(5, 8, 15, 0.98) 100%),
      linear-gradient(90deg, rgba(5, 8, 15, 0.94), rgba(5, 8, 15, 0.34)),
      url("one-service-gateway-msd-hero-v114.webp") 61% top / cover no-repeat;
  }

  .hero-inner > div:first-child {
    padding-top: 0;
  }

  .hero-institutional-kicker::before {
    width: 30px;
  }

  .section-heading {
    align-items: start;
  }

  .section-heading h2 {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  body .msd-ecosystem-rail > .msd-ecosystem-rail__inner {
    min-height: 32px !important;
  }

  .one-review-text {
    flex-basis: 100%;
  }

  .hero-trust-row span {
    min-height: 64px;
    padding: 12px 13px;
    font-size: 0.76rem;
  }

  .review-packet {
    padding: 20px;
  }

  :is(
    .institutional-atlas-visual,
    .review-dossier-visual,
    .origin-door-visual,
    .boundary-threshold-visual,
    .one-section-image,
    .capability-surfaces-visual,
    .wallet-service-visual,
    .security-evidence-visual,
    .adoption-city-visual.config-visual,
    .operating-compact-visual,
    .assurance-standard-visual
  ) {
    border-radius: 8px;
  }
}

/* ROUND 41 · Align the gateway packet with the hero title cap line. */
@media (min-width: 1081px) {
  .review-packet {
    margin-top: clamp(56px, 5vw, 74px);
  }
}

@media (max-width: 1080px) {
  .review-packet {
    margin-top: 26px;
  }
}
