:root {
  color-scheme: light;
  --bg: #fbfcff;
  --ink: #070817;
  --muted: #5d6477;
  --line: rgba(15, 23, 42, 0.12);
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --cyan: #18d6d8;
  --blue: #3577ff;
  --lime: #a7ef22;
  --coral: #ff6b68;
  --violet: #9a5cff;
  --shadow: 0 26px 80px rgba(29, 45, 92, 0.14);
  --page-bg:
    radial-gradient(circle at 78% 8%, color-mix(in srgb, var(--module-accent, #3577ff) 18%, transparent), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 42%, #ffffff 100%);
  --header-bg: rgba(255, 255, 255, 0.66);
  --button-solid: #050507;
  --button-solid-text: #ffffff;
  --button-soft: rgba(255, 255, 255, 0.58);
  --module-accent: var(--blue);
  --module-accent-2: var(--cyan);
  --visual-shadow: rgba(27, 44, 93, 0.24);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111d3a;
  --ink: #f4f7ff;
  --muted: #c9d4ec;
  --line: rgba(215, 226, 255, 0.18);
  --panel: rgba(31, 45, 84, 0.7);
  --panel-strong: rgba(31, 45, 84, 0.9);
  --cyan: #5cf3ff;
  --blue: #7fabff;
  --lime: #ffd56f;
  --coral: #ff8fd8;
  --violet: #b995ff;
  --shadow: 0 30px 90px rgba(18, 24, 55, 0.28);
  --page-bg:
    radial-gradient(circle at 76% 12%, color-mix(in srgb, var(--module-accent, #7fabff) 34%, transparent), transparent 28%),
    radial-gradient(circle at 18% 5%, rgba(92, 243, 255, 0.14), transparent 26%),
    linear-gradient(145deg, #111d3a 0%, #182b58 48%, #251d57 100%);
  --header-bg: rgba(20, 30, 61, 0.66);
  --button-solid: #f4f7ff;
  --button-solid-text: #12203d;
  --button-soft: rgba(255, 255, 255, 0.13);
  --visual-shadow: rgba(18, 24, 55, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 100vw;
  overflow-x: hidden;
  transition: background 240ms ease, color 240ms ease;
}

body[data-module="social"] { --module-accent: var(--cyan); --module-accent-2: var(--violet); }
body[data-module="games"] { --module-accent: var(--lime); --module-accent-2: var(--blue); }
body[data-module="finance"] { --module-accent: var(--blue); --module-accent-2: var(--cyan); }
body[data-module="entertainment"] { --module-accent: var(--coral); --module-accent-2: var(--violet); }
body[data-module="tools"] { --module-accent: var(--violet); --module-accent-2: var(--cyan); }
body[data-module="creation"] { --module-accent: var(--cyan); --module-accent-2: var(--lime); }

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.lang-zh,
:root[data-lang="zh"] .lang-en {
  display: none;
}

:root[data-lang="zh"] .lang-zh {
  display: inline;
}

:root[data-lang="zh"] .lang-block.lang-zh {
  display: block;
}

.lang-block.lang-zh {
  display: none;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(22px);
  background: var(--header-bg);
  display: flex;
  gap: 18px;
  height: 74px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(20px, 5vw, 74px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 62px;
  width: clamp(260px, 25vw, 368px);
}

.brand-logo-img {
  display: block;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  width: 100%;
}

.brand-logo-dark {
  display: none;
}

:root[data-theme="dark"] .brand-logo-light {
  display: none;
}

:root[data-theme="dark"] .brand-logo-dark {
  display: block;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 42px);
  font-size: 15px;
  font-weight: 800;
  margin-left: auto;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.language-control {
  position: relative;
}

.language-button,
.theme-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--line) 84%, transparent);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  gap: 8px;
  min-height: 38px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  justify-content: center;
}

.control-icon {
  color: color-mix(in srgb, var(--cyan) 72%, var(--blue));
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.language-button {
  min-width: 78px;
  padding: 0 12px;
}

.language-current {
  min-width: 28px;
  text-align: left;
}

.language-chevron {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  height: 7px;
  margin: -4px 1px 0 0;
  opacity: 0.74;
  transform: rotate(45deg);
  transition: transform 160ms ease;
  width: 7px;
}

.language-options {
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  backdrop-filter: blur(22px);
  border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  border-radius: 16px;
  box-shadow: 0 18px 48px color-mix(in srgb, var(--visual-shadow) 30%, transparent);
  display: grid;
  gap: 4px;
  min-width: 148px;
  opacity: 0;
  padding: 6px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 80;
}

.language-control.is-open .language-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.language-control.is-open .language-chevron {
  transform: translateY(3px) rotate(225deg);
}

.language-option {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 11px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 2px;
  grid-template-columns: 1fr auto;
  min-height: 44px;
  padding: 7px 10px;
  text-align: left;
}

.language-option span {
  font-size: 13px;
  font-weight: 900;
}

.language-option small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.language-option[aria-selected="true"] {
  background: color-mix(in srgb, var(--cyan) 16%, transparent);
}

.language-option[aria-selected="true"]::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  color: color-mix(in srgb, var(--cyan) 76%, var(--blue));
  content: "";
  height: 8px;
  margin-left: 8px;
  transform: rotate(45deg);
  width: 4px;
}

.theme-toggle {
  min-width: 38px;
  padding: 0;
  width: 38px;
}

.theme-toggle-icon {
  color: #ffbf3d;
  display: block;
  height: 15px;
  position: relative;
  width: 15px;
}

.theme-toggle-icon::before {
  background: currentColor;
  border-radius: 50%;
  content: "";
  height: 9px;
  left: 3px;
  position: absolute;
  top: 3px;
  width: 9px;
}

.theme-toggle-icon::after {
  background:
    linear-gradient(currentColor, currentColor) center 0 / 1.5px 100% no-repeat,
    linear-gradient(90deg, currentColor, currentColor) 0 center / 100% 1.5px no-repeat,
    linear-gradient(45deg, transparent 44%, currentColor 45% 55%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, currentColor 45% 55%, transparent 56%);
  content: "";
  inset: 0;
  position: absolute;
}

:root[data-theme="dark"] .theme-toggle-icon {
  color: #9badff;
}

:root[data-theme="dark"] .theme-toggle-icon::before {
  height: 14px;
  left: 0;
  top: 1px;
  width: 14px;
}

:root[data-theme="dark"] .theme-toggle-icon::after {
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  border-radius: 50%;
  height: 13px;
  inset: auto;
  left: 5px;
  top: -1px;
  width: 13px;
}

.language-button:hover,
.theme-toggle:hover,
.language-control:focus-within,
.theme-toggle:focus-visible {
  background: color-mix(in srgb, var(--button-soft) 86%, transparent);
  border-color: color-mix(in srgb, var(--cyan) 34%, var(--line));
}

.theme-toggle:focus-visible,
.language-button:focus-visible,
.language-option:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--cyan) 58%, transparent);
  outline-offset: 3px;
}
main {
  overflow: hidden;
}

.module-hero {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: none;
  min-height: 560px;
  padding: 70px clamp(22px, 12vw, 180px) 64px;
  position: relative;
  text-align: left;
}

.module-hero::after {
  content: none;
}

.hero-wave-ribbon {
  --ribbon-edge-mask: radial-gradient(ellipse 142% 126% at 50% 60%, #000 0%, #000 68%, rgb(0 0 0 / 0.82) 84%, transparent 100%);
  bottom: -188px;
  display: block;
  filter: saturate(0.96) drop-shadow(0 36px 82px color-mix(in srgb, var(--module-accent) 12%, transparent));
  left: 51%;
  mask-image: var(--ribbon-edge-mask);
  mask-mode: alpha;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  max-width: none;
  opacity: 0.9;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  -webkit-mask-image: var(--ribbon-edge-mask);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  width: min(3000px, 190vw);
  z-index: 0;
}

.hero-wave-ribbon img {
  display: block;
  height: auto;
  max-width: none;
  width: 100%;
}

.module-hero::before {
  background:
    radial-gradient(ellipse at 18% 18%, color-mix(in srgb, var(--module-accent) 30%, transparent), transparent 34%),
    radial-gradient(ellipse at 78% 66%, color-mix(in srgb, var(--module-accent-2) 22%, transparent), transparent 38%),
    radial-gradient(ellipse at 52% 78%, color-mix(in srgb, var(--cyan) 16%, transparent), transparent 30%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.hero-copy {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hero-copy {
  margin: 0 auto;
  max-width: 1060px;
  width: min(100%, 1060px);
}

.hero-title-row {
  align-items: center;
  display: flex;
  gap: clamp(16px, 2.4vw, 30px);
  justify-content: flex-start;
  min-width: 0;
}

.module-icon {
  filter: drop-shadow(0 20px 34px color-mix(in srgb, var(--module-accent) 24%, transparent));
  flex: 0 0 auto;
  height: clamp(92px, 8vw, 124px);
  margin: 0;
  width: clamp(92px, 8vw, 124px);
}

h1 {
  font-size: clamp(56px, 7.6vw, 116px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin: 0 -0.08em 0 0;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  padding-right: 0.08em;
  text-wrap: balance;
}

h1 br {
  display: none;
}

h1 span:first-child {
  background: linear-gradient(135deg, var(--module-accent) 0%, var(--module-accent-2) 76%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  padding-right: 0.06em;
}

.hero-copy p {
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.5;
  margin: 26px 0 0;
  max-width: min(100%, 1040px);
  text-wrap: balance;
}

.module-subtitle-line {
  color: var(--ink) !important;
  font-size: clamp(28px, 3.2vw, 46px) !important;
  font-weight: 850 !important;
  letter-spacing: -0.035em;
  line-height: 1.08 !important;
  margin-top: 16px !important;
  max-width: 100% !important;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
  margin-top: 34px;
}

.module-switcher {
  align-items: center;
  align-self: center;
  --switch-item-size: 74px;
  --switch-gap: 10px;
  --switch-pad-y: 16px;
  --switch-pad-x: 12px;
  backdrop-filter: blur(22px);
  background: color-mix(in srgb, var(--panel-strong) 84%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 28px 70px color-mix(in srgb, var(--visual-shadow) 68%, transparent);
  display: grid;
  gap: var(--switch-gap);
  justify-items: center;
  padding: var(--switch-pad-y) var(--switch-pad-x);
  position: fixed;
  right: clamp(18px, 2.2vw, 34px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
}

.module-switcher::before {
  background:
    radial-gradient(circle, color-mix(in srgb, var(--module-accent) 28%, transparent), transparent 62%),
    radial-gradient(circle, color-mix(in srgb, var(--module-accent-2) 22%, transparent), transparent 70%);
  border-radius: inherit;
  content: "";
  inset: 28% -14px 28% -14px;
  opacity: 0.88;
  pointer-events: none;
  position: absolute;
}

.module-switcher::after {
  background: color-mix(in srgb, var(--panel-strong) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--module-accent) 38%, var(--line));
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 22px 54px color-mix(in srgb, var(--module-accent) 24%, transparent);
  content: "";
  height: var(--switch-item-size);
  left: var(--switch-pad-x);
  pointer-events: none;
  position: absolute;
  top: var(--switch-pad-y);
  transform: translateY(var(--active-offset, 0px)) scale(1.15);
  transition: transform 340ms cubic-bezier(.2, .8, .2, 1), border-color 220ms ease, box-shadow 220ms ease;
  width: var(--switch-item-size);
  z-index: 0;
}

.module-switcher-item {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 24px;
  display: grid;
  height: var(--switch-item-size);
  justify-items: center;
  opacity: 0.58;
  position: relative;
  transform: scale(0.88);
  transition: opacity 220ms ease, transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  width: var(--switch-item-size);
  z-index: 1;
}

.module-switcher.is-switching .module-switcher-item {
  transition-duration: 320ms;
}

.module-switcher-item img {
  filter: drop-shadow(0 14px 22px color-mix(in srgb, var(--visual-shadow) 78%, transparent));
  height: 54px;
  object-fit: contain;
  transition: transform 220ms ease;
  width: 54px;
}

.module-switcher-item > span {
  background: color-mix(in srgb, var(--panel-strong) 94%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 18px 44px color-mix(in srgb, var(--visual-shadow) 54%, transparent);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  opacity: 0;
  padding: 10px 13px;
  pointer-events: none;
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translate(8px, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.module-switcher-item:hover,
.module-switcher-item:focus-visible {
  opacity: 0.96;
  transform: scale(1);
}

.module-switcher-item:hover > span,
.module-switcher-item:focus-visible > span,
.module-switcher-item.is-current > span {
  opacity: 1;
  transform: translate(0, -50%);
}

.module-switcher-item.is-current {
  opacity: 1;
  transform: scale(1.15);
}

.module-switcher-item.is-target {
  opacity: 1;
  transform: scale(1.15) translateX(-5px);
}

body.is-module-loading main {
  opacity: 0.45;
  transform: translateY(8px);
}

main {
  transition: opacity 220ms ease, transform 220ms ease;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 11px;
  justify-content: center;
  min-height: 54px;
  min-width: 138px;
  padding: 0 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button svg {
  height: 17px;
  width: 17px;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--button-solid);
  box-shadow: 0 18px 44px rgba(3, 5, 18, 0.18);
  color: var(--button-solid-text);
}

.button-light {
  background: var(--button-soft);
  border: 1px solid var(--line);
  color: var(--ink);
}

.detail-section {
  margin: 0 auto;
  max-width: 1220px;
  padding: 84px clamp(22px, 4vw, 42px) 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading.center {
  margin: 0 auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin: 18px 0 0;
}

.audience-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.audience-card,
.capability,
.module-link,
.timeline-panel,
.metric-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(29, 45, 92, 0.08);
}

.audience-card {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--panel-strong) 92%, transparent), color-mix(in srgb, var(--panel) 72%, transparent)),
    radial-gradient(circle at 18% 10%, color-mix(in srgb, var(--module-accent) 18%, transparent), transparent 34%),
    radial-gradient(circle at 92% 88%, color-mix(in srgb, var(--module-accent-2) 14%, transparent), transparent 38%);
  border-radius: 26px;
  display: grid;
  gap: 24px;
  min-height: 286px;
  overflow: hidden;
  padding: 30px;
  position: relative;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.audience-card::before {
  background: linear-gradient(90deg, var(--module-accent), var(--module-accent-2));
  content: "";
  height: 5px;
  left: 0;
  opacity: 0.9;
  position: absolute;
  right: 0;
  top: 0;
}

.audience-card::after {
  background: linear-gradient(145deg, color-mix(in srgb, var(--module-accent) 20%, transparent), transparent 58%);
  border-radius: 999px;
  content: "";
  height: 160px;
  opacity: 0.62;
  position: absolute;
  right: -78px;
  top: -70px;
  width: 160px;
}

.audience-card:hover {
  border-color: color-mix(in srgb, var(--module-accent) 34%, var(--line));
  box-shadow: 0 28px 70px color-mix(in srgb, var(--visual-shadow) 55%, transparent);
  transform: translateY(-4px);
}

.audience-card > span {
  align-items: center;
  background: color-mix(in srgb, var(--module-accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--module-accent) 30%, var(--line));
  border-radius: 999px;
  color: var(--module-accent);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-bottom: 26px;
  position: relative;
  text-transform: uppercase;
  width: 54px;
  z-index: 1;
}

.audience-card h3,
.audience-card p {
  position: relative;
  z-index: 1;
}

.audience-card h3,
.capability h3,
.module-link h3,
.timeline-panel h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.14;
  margin: 0;
}

.audience-card p,
.capability p,
.module-link p,
.timeline-panel p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.56;
  margin: 14px 0 0;
}

.capability-list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.capability {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 88px 1fr minmax(180px, 0.42fr);
  padding: 24px;
}

.capability-number {
  align-items: center;
  background: linear-gradient(135deg, var(--module-accent), var(--module-accent-2));
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 18px;
  font-weight: 900;
  height: 62px;
  justify-content: center;
  width: 62px;
}

.capability-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.capability-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
}

.timeline {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.86fr) minmax(330px, 0.6fr);
  margin-top: 36px;
}

.timeline-panel {
  padding: 32px;
}

.timeline-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
}

.timeline-list li {
  display: grid;
  gap: 4px;
  grid-template-columns: 34px 1fr;
  list-style: none;
}

.timeline-list b {
  align-items: center;
  background: color-mix(in srgb, var(--module-accent) 14%, transparent);
  border-radius: 50%;
  color: var(--module-accent);
  display: inline-flex;
  font-size: 13px;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.timeline-list strong {
  font-size: 15px;
}

.timeline-list span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.metric-stack {
  display: grid;
  gap: 16px;
}

.metric-card {
  overflow: hidden;
  padding: 24px;
  position: relative;
}

.metric-card::before {
  background: linear-gradient(90deg, var(--module-accent), var(--module-accent-2));
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.metric-card strong {
  display: block;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  margin-top: 12px;
}

.module-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.module-link {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 72px 1fr;
  min-height: 146px;
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.module-link:hover {
  box-shadow: 0 24px 58px rgba(29, 45, 92, 0.13);
  transform: translateY(-3px);
}

.module-link img {
  height: 70px;
  object-fit: contain;
  width: 70px;
}

.module-link p {
  font-size: 13px;
  margin-top: 7px;
}

.site-footer {
  align-items: end;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  margin: 96px auto 0;
  max-width: 1380px;
  padding: 38px clamp(22px, 5vw, 74px) 44px;
}

.footer-brand {
  display: grid;
  gap: 14px;
}

.footer-brand .brand {
  height: 42px;
  width: 150px;
}

.footer-brand .brand-logo-img {
  max-height: 42px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  margin: 0;
}

.footer-links,
.footer-social {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-links a,
.footer-social a {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 13px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.footer-links a:hover,
.footer-social a:hover {
  background: color-mix(in srgb, var(--module-accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--module-accent) 36%, var(--line));
  transform: translateY(-1px);
}

.footer-social a {
  height: 42px;
  min-width: 42px;
  text-align: center;
}

.footer-social svg {
  display: block;
  height: 18px;
  width: 18px;
}

.sr-only {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.legal-hero {
  margin: 0 auto;
  max-width: 1120px;
  padding: 118px clamp(22px, 5vw, 74px) 40px;
}

.legal-kicker {
  color: var(--module-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.legal-hero h1 {
  font-size: clamp(54px, 8vw, 108px);
}

.legal-hero p:not(.legal-kicker) {
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 650;
  line-height: 1.45;
  margin: 24px 0 0;
  max-width: 860px;
}

.legal-updated {
  color: var(--muted);
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  margin-top: 28px;
}

.legal-content,
.contact-grid {
  margin: 0 auto;
  max-width: 1120px;
  padding: 34px clamp(22px, 5vw, 74px) 0;
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-content article,
.contact-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 60px color-mix(in srgb, var(--visual-shadow) 38%, transparent);
  padding: 28px;
}

.legal-content h2,
.contact-grid h2 {
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
}

.legal-content p,
.contact-grid p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.62;
  margin: 16px 0 0;
}

.legal-note {
  color: var(--muted);
  font-size: 13px !important;
  margin-top: 8px !important;
}

.contact-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.contact-grid article > span {
  color: var(--module-accent);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 28px;
}

.contact-grid a,
.social-pill-row a {
  color: var(--ink);
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  margin-top: 18px;
}

.social-directory {
  padding-top: 18px;
}

.social-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.social-pill-row a {
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-top: 0;
  padding: 10px 14px;
}

.lang-zh,
:root[data-lang="zh"] .lang-en {
  display: none !important;
}

:root[data-lang="zh"] .lang-zh {
  display: inline !important;
}

:root[data-lang="zh"] .lang-block.lang-zh {
  display: block !important;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.module-switcher,
.module-switcher[data-reveal],
.module-switcher[data-reveal].is-visible {
  transform: translateY(-50%);
}

@media (max-width: 980px) {
  .module-hero,
  .timeline {
    grid-template-columns: 1fr;
  }

  .module-hero {
    gap: 28px;
    min-height: auto;
    padding-top: 52px;
  }

  .hero-wave-ribbon {
    bottom: -160px;
    left: 54%;
    width: min(2100px, 210vw);
  }

  .audience-grid,
  .module-grid {
    grid-template-columns: 1fr 1fr;
  }

  .capability {
    grid-template-columns: 72px 1fr;
  }

  .capability-meta {
    grid-column: 2;
    justify-content: flex-start;
  }

  .site-footer,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: start;
  }

  .footer-links,
  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: auto;
    gap: 12px;
    margin-left: 0;
    max-width: 100vw;
    padding-bottom: 16px;
    padding-top: 16px;
    width: 100vw;
  }

  .brand {
    height: 48px;
    width: min(176px, calc(100vw - 182px));
  }

  .brand-logo-img {
    max-height: 46px;
  }

  .header-actions {
    gap: 3px;
    padding: 3px;
  }

  .language-button,
  .theme-toggle {
    font-size: 12px;
    min-height: 34px;
  }

  .language-button {
    min-width: 66px;
    padding: 0 9px;
  }

  .theme-toggle {
    min-width: 34px;
    width: 34px;
  }

  .nav-links {
    display: none;
  }

  .module-hero {
    margin-left: 0;
    max-width: 100vw;
    overflow: hidden;
    padding-bottom: 34px;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
  }

  .hero-wave-ribbon {
    bottom: -86px;
    left: 58%;
    opacity: 0.72;
    width: 1160px;
  }

  .detail-section,
  .page-footer {
    margin-left: 0;
    width: 100%;
  }

  .module-icon {
    height: 54px;
    width: 54px;
  }

  .hero-title-row {
    gap: 12px;
  }

  h1 {
    flex: 0 0 auto;
    font-size: clamp(24px, 6.8vw, 36px);
    letter-spacing: 0;
    margin-right: 0;
    max-width: calc(100vw - 118px);
    overflow-wrap: normal;
    padding-right: 0.16em;
    white-space: nowrap;
    width: max-content;
  }

  h1 span:first-child {
    white-space: nowrap;
  }

  .module-subtitle-line {
    font-size: clamp(25px, 8vw, 34px) !important;
    white-space: normal;
  }

  .hero-copy p,
  .section-heading p {
    font-size: 16px;
  }

  .module-switcher {
    --switch-gap: 8px;
    --switch-item-size: 62px;
    --switch-pad-x: 12px;
    --switch-pad-y: 12px;
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    left: auto;
    justify-self: stretch;
    bottom: auto;
    margin-right: 0;
    margin-top: 26px;
    max-width: 100%;
    overflow-x: auto;
    padding: 12px;
    position: relative;
    right: auto;
    scroll-padding: 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    top: auto;
    transform: none;
  }

  .module-switcher::-webkit-scrollbar {
    display: none;
  }

  .module-switcher::before {
    inset: -10px 28% -10px 28%;
  }

  .module-switcher::after {
    transform: translateX(var(--active-offset, 0px)) scale(1.15);
  }

  .module-switcher-item {
    border-radius: 20px;
    flex: 0 0 62px;
    height: 62px;
    scroll-snap-align: center;
    width: 62px;
  }

  .module-switcher-item img {
    height: 46px;
    width: 46px;
  }

  .module-switcher-item > span {
    display: none;
  }

  .audience-grid,
  .capability {
    grid-template-columns: 1fr;
  }

  .capability-meta {
    grid-column: auto;
  }

  .detail-section {
    padding-top: 64px;
  }

  .site-footer {
    margin-top: 70px;
    padding-top: 30px;
  }

  .footer-links,
  .footer-social {
    gap: 8px;
  }

  .footer-links a,
  .footer-social a {
    font-size: 12px;
    padding: 9px 11px;
  }

  .legal-hero {
    padding-top: 70px;
  }

  .legal-hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .legal-content article,
  .contact-grid article {
    border-radius: 20px;
    padding: 22px;
  }
}
