:root {
  --font-harmony: "HarmonyOS Sans", "HarmonyOS Sans SC", "HarmonyOS Sans Web", "Hongmeng Sans", "鸿蒙 Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --acid: #00e7ff;
  --ink: #000920;
  --paper: #f6f8ff;
  --mist: #e4e9f7;
  --coral: #32f4ff;
  --blue: #0049ff;
  --yueda-blue: #0049ff;
  --ai-silver: #828282;
  --dark-blue: #000920;
  --electric-cyan: #00e7ff;
  --white: #ffffff;
  --muted: #61708f;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 73, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.site-booting body {
  opacity: 0;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-harmony);
  line-height: 1.5;
  overflow-x: hidden;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(0, 73, 255, 0.14);
  backdrop-filter: blur(12px);
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 14px 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
  backdrop-filter: blur(14px);
  box-shadow: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(0, 231, 255, 0.68);
}

.language-icon {
  position: relative;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  opacity: 0.92;
}

.language-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(0, 9, 32, 0.64), rgba(0, 9, 32, 0));
  border-bottom-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.home-page .lianlian-mark {
  color: var(--white);
}

.home-page .site-nav a:hover,
.home-page .site-nav a[aria-current="page"] {
  border-color: var(--white);
}

.brand-mark,
.brand-lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 20px;
  font-weight: 500;
}

.lianlian-mark {
  color: var(--yueda-blue);
  letter-spacing: -0.02em;
}

.brand-mark strong,
.brand-lockup strong {
  font-weight: 850;
}

.brand-logo-image {
  display: block;
  width: auto;
  max-width: 148px;
  height: 32px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 680;
  font-synthesis: none;
  font-synthesis-weight: none;
}

.site-header .site-nav {
  margin-left: auto;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  font-weight: inherit;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 19, 18, 0.16);
  border-radius: 999px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.home-page .nav-toggle {
  border-color: rgba(255, 255, 255, 0.42);
}

.home-page .nav-toggle span {
  background: var(--white);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: stretch;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(32px, 6vw, 76px) clamp(20px, 4vw, 56px) 40px;
}

.lianlian-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 32%, rgba(0, 231, 255, 0.26), transparent 28%),
    linear-gradient(135deg, #0049ff 0%, #0b56ff 56%, #0036c8 100%);
  color: var(--white);
}

.fullscreen-hero {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-columns: 1fr;
  align-items: center;
  padding-top: 120px;
  padding-bottom: clamp(36px, 6vw, 72px);
  perspective: 1400px;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 30%, rgba(0, 231, 255, 0.16), transparent 28%),
    linear-gradient(120deg, #001044 0%, #0049ff 52%, #0a56ff 100%);
}

.fullscreen-hero .hero-copy {
  z-index: 6;
  max-width: 900px;
}

.fullscreen-hero .hero-lede {
  color: rgba(255, 255, 255, 0.88);
}

.hero-meta {
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.grid-reactive::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: none;
}

.grid-glow {
  display: none;
}

.hero-image-mosaic {
  --cols: 8;
  --rows: 6;
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  grid-template-rows: repeat(var(--rows), 1fr);
  pointer-events: none;
  contain: layout paint style;
}

.mosaic-cell {
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.018);
  background-image: var(--scene-image, none);
  background-size: var(--scene-zoom, 220%) auto;
  background-position: var(--scene-x, 50%) var(--scene-y, 50%);
  filter: saturate(1.08) contrast(1.04) brightness(0.98);
  opacity: 0;
  transform: scale(1);
  transition: opacity 120ms ease, transform 220ms ease, box-shadow 140ms ease;
  pointer-events: none;
  contain: paint;
}

.mosaic-cell::before {
  content: none;
}

.mosaic-cell.is-visible {
  opacity: 1;
  transform: scale(1.01);
  box-shadow: inset 0 0 0 1px rgba(0, 231, 255, 0.48), 0 0 34px rgba(0, 231, 255, 0.24);
}

.mosaic-cell.is-soft {
  opacity: 0.62;
}

.mosaic-cell.is-tint {
  opacity: 1;
  background-image:
    radial-gradient(circle at 30% 28%, rgba(0, 231, 255, 0.2), transparent 58%),
    linear-gradient(135deg, rgba(0, 231, 255, 0.12), rgba(0, 73, 255, 0.2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-meta span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(14px);
  font-size: 14px;
  font-weight: 850;
}

.lianlian-hero > * {
  position: relative;
}

.grid-reactive > .grid-glow {
  position: absolute;
}

.grid-reactive > .hero-image-mosaic {
  position: absolute;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(76px, 12vw, 176px);
  line-height: 0.82;
  font-weight: 920;
  letter-spacing: 0;
}

.fullscreen-hero h1 {
  font-family: var(--font-harmony);
  font-weight: 500;
}

html[lang="zh-CN"] .fullscreen-hero h1 {
  font-family: var(--font-harmony);
  max-width: 640px;
  font-size: clamp(72px, 9vw, 136px);
  line-height: 1.02;
  font-weight: 720;
}

.hero-lede {
  max-width: 620px;
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 700;
}

html[lang="zh-CN"] .hero-lede {
  max-width: 560px;
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.65;
  font-weight: 650;
}

html[lang="zh-CN"] .eyebrow {
  letter-spacing: 0;
}

.hero-stage {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  overflow: hidden;
}

.ticker {
  display: flex;
  gap: 12px;
  white-space: nowrap;
  animation: drift 18s linear infinite;
}

.ticker span {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--yueda-blue);
  border-radius: 999px;
  font-weight: 850;
}

.video-orbit {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --glow-x: 58%;
  --glow-y: 36%;
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.video-shell {
  position: relative;
  width: min(100%, 760px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  background: var(--dark-blue);
  box-shadow:
    0 32px 90px rgba(0, 9, 32, 0.42),
    0 0 48px rgba(0, 231, 255, 0.24),
    inset 0 0 26px rgba(255, 255, 255, 0.24);
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 140ms ease, box-shadow 140ms ease;
  will-change: transform;
}

.video-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  mix-blend-mode: screen;
  opacity: 0.22;
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 255, 255, 0.5), transparent 16%),
    linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.22) 44%, transparent 64%);
  mix-blend-mode: screen;
}

.orbit-label {
  position: absolute;
  z-index: 4;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(0, 9, 32, 0.46);
  color: var(--white);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 44px rgba(0, 9, 32, 0.2);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 850;
}

.orbit-label.top {
  top: 58px;
  right: 7%;
}

.orbit-label.bottom {
  left: 5%;
  bottom: 50px;
}

.visual-board {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  grid-template-rows: 210px 170px 210px;
  gap: 14px;
}

.photo-tile,
.symbol-tile {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-tile {
  background-size: cover;
  background-position: center;
}

.tile-a {
  grid-row: span 2;
  background: url("../assets/lianlian-brand-cover.png");
  background-size: cover;
  background-position: center;
}

.tile-b {
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.9), transparent 12%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(130, 130, 130, 0.2) 36%, rgba(0, 73, 255, 0.9));
}

.tile-c {
  grid-column: span 2;
  background:
    linear-gradient(90deg, rgba(0, 9, 32, 0.76), rgba(0, 73, 255, 0.72)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 28px);
}

.symbol-tile {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ffffff, #828282 48%, #00e7ff);
  color: var(--dark-blue);
  font-size: 72px;
  font-weight: 920;
}

.lianlian-stage .photo-tile,
.lianlian-stage .symbol-tile {
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 28px 80px rgba(0, 9, 32, 0.3), inset 0 0 24px rgba(255, 255, 255, 0.22);
}

.split-band,
.scroll-story,
.detail-links,
.page-shell {
  padding: clamp(56px, 8vw, 112px) clamp(20px, 4vw, 56px);
}

.home-page .split-band {
  min-height: 37vh;
}

.home-page .scroll-story {
  min-height: 88vh;
}

.home-page .feature-grid {
  min-height: 53vh;
}

.home-page .detail-links {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-page .lianlian-statement,
.home-page .detail-links {
  padding-top: clamp(40px, 5.6vw, 78px);
  padding-bottom: clamp(40px, 5.6vw, 78px);
}

.split-band {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 32px;
  background: var(--dark-blue);
  color: var(--white);
}

.lianlian-statement {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 74% 32%, rgba(0, 231, 255, 0.2), transparent 28%),
    linear-gradient(115deg, #000920 0%, #00185f 38%, #0049ff 72%, #0b5cff 100%);
  background-size: 240% 240%;
  animation: statement-gradient 8s ease-in-out infinite alternate;
}

.lianlian-statement::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: 0;
  pointer-events: none;
}

.lianlian-statement::before {
  background:
    radial-gradient(ellipse at 18% 44%, rgba(0, 231, 255, 0.14) 0 12%, transparent 38%),
    radial-gradient(ellipse at 48% 54%, rgba(0, 73, 255, 0.48) 0 20%, transparent 50%),
    radial-gradient(ellipse at 82% 46%, rgba(0, 231, 255, 0.22) 0 18%, transparent 54%);
  mix-blend-mode: screen;
  filter: blur(30px) saturate(1.25);
  opacity: 0.82;
  animation: statement-flow 7s ease-in-out infinite alternate;
}

.lianlian-statement:hover::before {
  animation-duration: 3.2s;
}

.lianlian-statement:hover {
  animation-duration: 3.8s;
}

.lianlian-statement > * {
  position: relative;
  z-index: 1;
}

.has-admin-statement-bg .lianlian-statement {
  background:
    radial-gradient(circle at 74% 32%, rgba(0, 231, 255, 0.2), transparent 28%),
    linear-gradient(115deg, #000920 0%, #00185f 38%, #0049ff 72%, #0b5cff 100%);
  background-size: 240% 240%;
  animation: statement-gradient 8s ease-in-out infinite alternate;
}

.split-band.lianlian-statement h2 {
  font-size: clamp(32px, 3vw, 56px);
  line-height: 1.08;
}

.split-band.lianlian-statement > p:last-child {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
}

.about-band {
  background:
    radial-gradient(circle at 14% 78%, rgba(0, 231, 255, 0.2), transparent 26%),
    linear-gradient(135deg, #06143d, #0049ff 58%, #60c9ff);
}

.split-band h2,
.scroll-story h2,
.detail-links h2,
.doc-hero h1 {
  font-size: clamp(38px, 6vw, 86px);
  line-height: 0.95;
  margin-bottom: 0;
}

.split-band p:last-child,
.story-copy p:last-child,
.doc-hero p {
  font-size: clamp(18px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.76);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  --feature-grid-line: rgba(255, 255, 255, 0.18);
  --feature-cell-a: rgba(255, 255, 255, 0.18);
  --feature-cell-b: rgba(255, 255, 255, 0.1);
  --feature-cell-c: rgba(255, 255, 255, 0.06);
  --feature-grid-size: 42px;
  position: relative;
  min-height: 312px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-right: 1px solid rgba(17, 19, 18, 0.14);
  overflow: hidden;
  isolation: isolate;
  contain: layout paint style;
  transition: transform 180ms ease, filter 180ms ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease, transform 220ms ease;
}

.feature-card::before {
  background:
    linear-gradient(90deg, var(--feature-grid-line) 1px, transparent 1px),
    linear-gradient(0deg, var(--feature-grid-line) 1px, transparent 1px);
  background-size: var(--feature-grid-size) var(--feature-grid-size);
  transform: scale(1.015);
}

.feature-card > * {
  position: relative;
  z-index: 2;
}

.feature-cell-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(var(--feature-cols, 1), var(--feature-grid-size));
  grid-template-rows: repeat(var(--feature-rows, 1), var(--feature-grid-size));
  justify-content: start;
  align-content: start;
  pointer-events: none;
  overflow: hidden;
}

.feature-cell {
  opacity: 0;
  background: var(--feature-cell-c);
  transition: opacity 140ms ease, background-color 140ms ease;
}

.feature-cell.is-near {
  opacity: 0.42;
  background: var(--feature-cell-c);
}

.feature-cell.is-mid {
  opacity: 0.58;
  background: var(--feature-cell-b);
}

.feature-cell.is-active {
  opacity: 0.76;
  background: var(--feature-cell-a);
}

.feature-card:hover,
.feature-card:focus-visible,
.feature-card.is-feature-hovered {
  transform: translateY(-4px);
  filter: saturate(1.08);
}

.feature-card:hover::before,
.feature-card:focus-visible::before,
.feature-card.is-feature-hovered::before {
  opacity: 0.46;
  transform: scale(1);
}

.feature-card span,
.pattern-list span {
  font-weight: 900;
}

.feature-card h3 {
  font-size: clamp(28px, 2.6vw, 34px);
  line-height: 1;
}

.feature-card p {
  margin-bottom: 0;
  font-weight: 650;
}

.yueda {
  --feature-grid-line: rgba(202, 232, 255, 0.34);
  --feature-cell-a: rgba(141, 205, 255, 0.42);
  --feature-cell-b: rgba(0, 231, 255, 0.24);
  --feature-cell-c: rgba(255, 255, 255, 0.1);
  background: var(--yueda-blue);
  color: var(--white);
}

.silver {
  --feature-grid-line: rgba(0, 9, 32, 0.22);
  --feature-cell-a: rgba(255, 255, 255, 0.58);
  --feature-cell-b: rgba(0, 9, 32, 0.16);
  --feature-cell-c: rgba(130, 130, 130, 0.18);
  background: linear-gradient(135deg, #f8fbff, #828282);
  color: var(--dark-blue);
}

.dark-blue {
  --feature-grid-line: rgba(0, 231, 255, 0.28);
  --feature-cell-a: rgba(0, 231, 255, 0.24);
  --feature-cell-b: rgba(0, 73, 255, 0.2);
  --feature-cell-c: rgba(255, 255, 255, 0.08);
  background: var(--dark-blue);
  color: var(--white);
}

.lightline {
  --feature-grid-line: rgba(255, 255, 255, 0.3);
  --feature-cell-a: rgba(255, 255, 255, 0.34);
  --feature-cell-b: rgba(0, 231, 255, 0.26);
  --feature-cell-c: rgba(0, 73, 255, 0.18);
  background:
    linear-gradient(135deg, #00d9ff 0%, #0084ff 42%, #0049ff 72%, #000920 100%);
  color: var(--white);
}

.scroll-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  content-visibility: auto;
  contain-intrinsic-size: 820px;
}

.story-media {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background:
    radial-gradient(ellipse at 16% 22%, rgba(255, 255, 255, 0.96) 0 8%, transparent 28%),
    linear-gradient(115deg, #f2f6ff 0%, #bec9da 26%, #8f99ad 44%, #0049ff 76%, #1d38d6 100%);
  background-size: 160% 160%, 260% 260%;
  animation: material-base-flow 3.8s ease-in-out infinite alternate;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}

.story-media::before,
.story-media::after {
  content: "";
  position: absolute;
  inset: -28%;
  z-index: 0;
  pointer-events: none;
}

.story-media::before {
  background:
    radial-gradient(ellipse at 18% 38%, rgba(255, 255, 255, 0.78) 0 9%, rgba(198, 204, 216, 0.62) 19%, transparent 38%),
    radial-gradient(ellipse at 44% 54%, rgba(137, 142, 154, 0.68) 0 16%, rgba(255, 255, 255, 0.22) 29%, transparent 52%),
    radial-gradient(ellipse at 72% 46%, rgba(0, 73, 255, 0.86) 0 22%, rgba(0, 231, 255, 0.16) 38%, transparent 62%),
    linear-gradient(100deg, transparent 0 16%, rgba(255, 255, 255, 0.42) 26%, rgba(138, 144, 156, 0.38) 38%, rgba(0, 73, 255, 0.42) 58%, transparent 72% 100%);
  background-size: 150% 140%, 170% 160%, 180% 170%, 240% 100%;
  filter: blur(8px) saturate(1.16);
  opacity: 0.95;
  animation: material-flow 3s ease-in-out infinite alternate;
}

.story-media::after {
  background:
    radial-gradient(ellipse at 30% 46%, rgba(255, 255, 255, 0.44) 0 10%, transparent 30%),
    radial-gradient(ellipse at 50% 58%, rgba(138, 143, 154, 0.52) 0 17%, transparent 40%),
    radial-gradient(ellipse at 76% 42%, rgba(0, 73, 255, 0.48) 0 18%, transparent 48%);
  mix-blend-mode: screen;
  opacity: 0.9;
  filter: blur(20px);
  animation: material-liquid 2.8s ease-in-out infinite alternate-reverse;
}

.story-media > * {
  position: relative;
  z-index: 1;
}

.has-admin-story-image .story-media {
  background:
    linear-gradient(rgba(0, 73, 255, 0.22), rgba(0, 9, 32, 0.34)),
    var(--admin-story-image);
  background-size: cover;
  background-position: center;
}

.has-admin-story-image .story-media::before,
.has-admin-story-image .story-media::after {
  content: none;
}

.lianlian-story {
  background: var(--paper);
}

.large-symbol {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 2ch;
  overflow: hidden;
  white-space: nowrap;
  font-size: clamp(96px, 18vw, 240px);
  line-height: 1;
  padding-bottom: 0.12em;
  font-weight: 930;
  animation: symbol-type 1.35s steps(2, end) 0.15s both;
}

.story-media:hover .large-symbol {
  animation: symbol-type 0.9s steps(2, end) both;
}

.symbol-code {
  display: inline-flex;
  align-items: center;
  gap: 0.1em;
}

.symbol-underscore {
  display: inline-block;
  width: 0.48em;
  height: 0.08em;
  margin-top: 0.5em;
  background: currentColor;
}

.symbol-cursor {
  display: inline-block;
  width: 0.08em;
  height: 0.64em;
  margin-left: 0.04em;
  transform: translateY(0.08em);
  background: currentColor;
  animation: cursor-blink 0.72s steps(1, end) infinite;
}

.caption-strip {
  padding: 12px 14px;
  background: var(--dark-blue);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 780;
}

@keyframes material-base-flow {
  0% {
    background-position: 8% 18%, 0% 50%;
  }

  50% {
    background-position: 34% 42%, 58% 50%;
  }

  100% {
    background-position: 68% 28%, 100% 50%;
  }
}

@keyframes material-flow {
  0% {
    background-position: 0% 38%, 22% 52%, 92% 48%, 0% 50%;
    transform: translate3d(-10%, -2%, 0) skewX(-8deg) scale(1.08);
  }

  50% {
    background-position: 38% 44%, 54% 58%, 58% 50%, 72% 50%;
    transform: translate3d(4%, 2%, 0) skewX(5deg) scale(1.16);
  }

  100% {
    background-position: 78% 34%, 76% 48%, 28% 56%, 100% 50%;
    transform: translate3d(10%, 3%, 0) skewX(-4deg) scale(1.12);
  }
}

@keyframes material-liquid {
  0% {
    transform: translate3d(-12%, 5%, 0) rotate(-5deg) scale(1.05);
  }

  100% {
    transform: translate3d(12%, -6%, 0) rotate(5deg) scale(1.18);
  }
}

@keyframes statement-gradient {
  0% {
    background-position: 0% 45%;
  }

  50% {
    background-position: 58% 52%;
  }

  100% {
    background-position: 100% 48%;
  }
}

@keyframes statement-flow {
  0% {
    background-position: 0% 44%, 78% 52%, 0% 50%;
    transform: translate3d(-8%, -2%, 0) skewX(-8deg) scale(1.06);
  }

  50% {
    background-position: 42% 50%, 48% 44%, 68% 50%;
    transform: translate3d(3%, 2%, 0) skewX(5deg) scale(1.14);
  }

  100% {
    background-position: 96% 42%, 18% 56%, 100% 50%;
    transform: translate3d(9%, 0, 0) skewX(-4deg) scale(1.1);
  }
}

@keyframes statement-lines {
  from {
    transform: translate3d(-8%, 0, 0);
  }

  to {
    transform: translate3d(8%, 0, 0);
  }
}

@keyframes symbol-type {
  0%,
  18% {
    width: 0;
  }

  62%,
  100% {
    width: 2.25ch;
  }
}

@keyframes cursor-blink {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

@keyframes detail-sparks {
  from {
    opacity: 0.42;
    transform: translateX(-50%) translateY(8px) scale(0.96);
  }

  to {
    opacity: 0.92;
    transform: translateX(-50%) translateY(-10px) scale(1.08);
  }
}

@keyframes about-banner-flow {
  0% {
    background-position: 0% 48%, 0% 50%;
  }

  100% {
    background-position: 100% 52%, 100% 50%;
  }
}

@keyframes about-bars-sweep {
  0% {
    transform: translateX(9%);
  }

  100% {
    transform: translateX(-9%);
  }
}

@keyframes about-bar-length {
  0% {
    transform: scaleY(0.72);
  }

  38% {
    transform: scaleY(1.04);
  }

  67% {
    transform: scaleY(0.86);
  }

  100% {
    transform: scaleY(1.18);
  }
}

@keyframes about-image-drift {
  0% {
    transform: translate3d(2%, 2%, 0) scale(1.02);
  }

  100% {
    transform: translate3d(0, 0, 0) scale(1.08);
  }
}

@keyframes about-diffuse-flow {
  0% {
    opacity: 0.64;
    transform: translate3d(-4%, 2%, 0) scale(0.96);
  }

  100% {
    opacity: 0.92;
    transform: translate3d(5%, -5%, 0) scale(1.14);
  }
}

.story-copy p:last-child {
  color: var(--muted);
}

.detail-links {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-items: center;
  text-align: center;
  content-visibility: auto;
  contain-intrinsic-size: 520px;
  background:
    radial-gradient(ellipse at 50% 104%, rgba(0, 231, 255, 0.26), transparent 24%),
    linear-gradient(180deg, #000615 0%, #000920 48%, #00155a 100%);
  color: var(--white);
}

.detail-links::before,
.detail-links::after {
  content: "";
  position: absolute;
  left: 50%;
  pointer-events: none;
}

.detail-links::before {
  width: min(82vw, 980px);
  aspect-ratio: 1.9 / 1;
  top: 8%;
  z-index: 0;
  border: 1px solid rgba(178, 205, 255, 0.18);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
  box-shadow:
    0 0 0 90px rgba(0, 73, 255, 0.025),
    inset 0 0 62px rgba(0, 73, 255, 0.08);
}

.detail-links::after {
  --detail-glow-scale: 1;
  width: min(92vw, 1120px);
  height: 150px;
  bottom: -58px;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.96) 0 3%, rgba(0, 231, 255, 0.72) 10%, rgba(0, 73, 255, 0.5) 22%, rgba(0, 73, 255, 0.18) 45%, transparent 72%);
  filter: blur(6px);
  transform: translateX(-50%) scaleX(var(--detail-glow-scale));
  transition: transform 280ms ease, filter 280ms ease;
}

.detail-links:hover::after {
  --detail-glow-scale: 1.16;
  filter: blur(9px) saturate(1.24);
}

.detail-links h2,
.detail-links .link-cloud {
  position: relative;
  z-index: 1;
}

.detail-links h2 {
  max-width: 860px;
  color: var(--white);
  text-shadow: 0 0 28px rgba(0, 73, 255, 0.34);
}

.link-cloud {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.detail-links .link-cloud::before,
.detail-links .link-cloud::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 42%, rgba(255, 255, 255, 0.74) 0 1px, transparent 2px),
    radial-gradient(circle at 44% 22%, rgba(0, 231, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 56%, rgba(255, 255, 255, 0.62) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 78%, rgba(0, 231, 255, 0.6) 0 1px, transparent 2px);
  opacity: 0.68;
  animation: detail-sparks 3.8s ease-in-out infinite alternate;
}

.detail-links .link-cloud::before {
  width: 540px;
  height: 190px;
  bottom: -134px;
}

.detail-links .link-cloud::after {
  width: 680px;
  height: 240px;
  bottom: -170px;
  animation-delay: -1.2s;
}

.link-cloud a {
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 800;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px rgba(0, 9, 32, 0.22);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.link-cloud a:hover,
.link-cloud a:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(0, 231, 255, 0.68);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 56px);
  border-top: 1px solid rgba(17, 19, 18, 0.12);
  color: var(--muted);
  font-size: 14px;
}

.doc-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  padding: 44px clamp(20px, 4vw, 56px) 96px;
}

.doc-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(17, 19, 18, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
}

.doc-toc a {
  padding: 8px 10px;
  border-radius: 6px;
  font-weight: 750;
}

.doc-toc a:hover {
  background: var(--acid);
}

.doc-content,
.page-shell {
  max-width: 1120px;
}

.doc-hero {
  padding: 44px 0 56px;
}

.doc-hero p {
  max-width: 780px;
  color: var(--muted);
}

.doc-section {
  padding: 44px 0;
  border-top: 1px solid rgba(17, 19, 18, 0.14);
}

.doc-section h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.logo-demo,
.logo-image-grid,
.typography-assets,
.voice-image-pair,
.chart-showcase,
.component-demo,
.form-demo,
.mini-cards,
.rule-pair,
.pattern-list,
.resource-table {
  margin-top: 24px;
}

.logo-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
}

.clear-space {
  color: var(--muted);
  font-weight: 750;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.swatch {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border-radius: var(--radius);
  font-weight: 840;
}

.swatch code {
  font-size: 13px;
}

.swatch.acid {
  background: var(--acid);
}

.swatch.ink {
  background: var(--ink);
  color: var(--white);
}

.swatch.coral {
  background: var(--coral);
}

.swatch.blue {
  background: var(--blue);
  color: var(--white);
}

.logo-image-grid,
.typography-assets,
.voice-image-pair {
  display: grid;
  gap: 16px;
}

.logo-image-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.typography-assets,
.voice-image-pair {
  grid-template-columns: repeat(2, 1fr);
}

.image-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px dashed rgba(17, 19, 18, 0.24);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  font-weight: 820;
  text-align: center;
  overflow: hidden;
}

.image-placeholder:has(img) {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.image-placeholder small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 720;
}

.image-placeholder img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: var(--radius);
}

.component-icon-grid .image-placeholder {
  min-height: 180px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.component-icon-grid .image-placeholder:has(img) {
  min-height: auto;
  padding: 0;
}

.component-icon-grid .image-placeholder img {
  max-height: none;
}

.about-page-shell {
  padding-top: 0;
  background: #f4f7ff;
}

.about-page .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(0, 9, 32, 0.64), rgba(0, 9, 32, 0));
  border-bottom-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.about-page .lianlian-mark {
  color: var(--white);
}

.about-page .site-nav a:hover,
.about-page .site-nav a[aria-current="page"] {
  border-color: var(--white);
}

.about-hero {
  margin-top: 0;
  padding: 0;
  background: #080d17;
}

.about-hero-media {
  --about-depth: 0;
  --about-x: 72%;
  --about-y: 38%;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(72px, 9vw, 132px) clamp(24px, 6vw, 96px);
  border-radius: 0;
  background:
    radial-gradient(ellipse at 72% 36%, rgba(0, 231, 255, 0.24), transparent 35%),
    linear-gradient(90deg, #080d17 0%, #000920 36%, #061d70 62%, #0049ff 100%);
  background-size: 130% 100%, 120% 100%;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  animation: about-banner-flow 4.8s ease-in-out infinite alternate;
}

.about-hero-media::before,
.about-hero-media::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.about-hero-media::before {
  right: -8%;
  top: -8%;
  z-index: 1;
  width: 72%;
  height: 116%;
  background:
    radial-gradient(ellipse at 72% 32%, rgba(0, 231, 255, 0.58), transparent 34%),
    radial-gradient(ellipse at 52% 26%, rgba(0, 73, 255, 0.86), transparent 42%),
    linear-gradient(90deg, transparent 0%, rgba(0, 73, 255, 0.22) 24%, rgba(0, 132, 255, 0.72) 66%, rgba(0, 231, 255, 0.44) 100%);
  opacity: calc(0.86 + var(--about-depth) * 0.12);
  filter: blur(12px) saturate(1.2);
  transform: translateX(calc(var(--about-depth) * -30px));
  animation: about-diffuse-flow 3.4s ease-in-out infinite alternate;
}

.about-hero-media::after {
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(8, 13, 23, 0.98) 0%, rgba(8, 13, 23, 0.82) 34%, rgba(8, 13, 23, 0.34) 65%, rgba(8, 13, 23, 0.22) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 20%, rgba(8, 13, 23, 0.82) 100%);
  opacity: 0.8;
}

.about-glass-bars {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 0.68fr 0.92fr 0.78fr 1.1fr 0.72fr 1.2fr 0.88fr 1.18fr 0.86fr 1.32fr 0.78fr 1.08fr;
  align-items: stretch;
  pointer-events: none;
  transform: translateX(calc(var(--about-depth) * -26px));
  transition: transform 100ms cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: about-bars-sweep 6s linear infinite;
}

.about-glass-bars span {
  --bar-index: 0;
  --bar-dark: 0;
  --bar-highlight: 0;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent 22%, rgba(8, 13, 23, 0.52) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(0, 73, 255, 0.42), rgba(0, 231, 255, 0.18));
  box-shadow:
    inset 18px 0 46px rgba(255, 255, 255, 0.06),
    inset -34px 0 70px rgba(8, 13, 23, calc(0.28 + var(--bar-dark) * 0.48)),
    0 0 calc(18px + var(--bar-highlight) * 76px) rgba(0, 231, 255, calc(var(--bar-highlight) * 0.42));
  backdrop-filter: blur(10px);
  opacity: calc(0.36 + var(--bar-index) * 0.026 + var(--bar-dark) * 0.18 + var(--bar-highlight) * 0.28);
  transform: scaleY(calc(1 + var(--bar-dark) * var(--bar-swing, 0.14)));
  transition: opacity 120ms ease, transform 120ms ease;
  animation: about-bar-length 2.8s ease-in-out infinite alternate;
}

.about-glass-bars span::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 73, 255, 0), rgba(0, 231, 255, 0.78) 48%, rgba(0, 73, 255, 0.2)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 46%, rgba(0, 231, 255, 0.12));
  opacity: var(--bar-highlight);
  mix-blend-mode: screen;
  transition: opacity 140ms ease;
}

.about-glass-bars span::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  pointer-events: none;
  background: rgba(0, 231, 255, 0.88);
  box-shadow: 0 0 22px rgba(0, 231, 255, 0.92), 0 0 56px rgba(0, 73, 255, 0.62);
  opacity: calc(var(--bar-highlight) * 0.72);
  transform: translateX(-50%);
  transition: opacity 140ms ease;
}

.about-glass-bars span:nth-child(1) { --bar-index: 1; --bar-swing: 0.06; opacity: calc(0.18 + var(--bar-highlight) * 0.32); }
.about-glass-bars span:nth-child(2) { --bar-index: 2; --bar-swing: -0.08; animation-duration: 2.15s; animation-delay: -0.4s; transform-origin: bottom; opacity: calc(0.2 + var(--bar-highlight) * 0.34); }
.about-glass-bars span:nth-child(3) { --bar-index: 3; --bar-swing: 0.14; animation-duration: 3.05s; animation-delay: -1.1s; transform-origin: top; opacity: calc(0.22 + var(--bar-highlight) * 0.36); }
.about-glass-bars span:nth-child(4) { --bar-index: 4; --bar-swing: -0.05; animation-duration: 2.45s; animation-delay: -0.7s; transform-origin: center; }
.about-glass-bars span:nth-child(5) { --bar-index: 5; --bar-swing: 0.16; animation-duration: 3.35s; animation-delay: -1.8s; transform-origin: bottom; }
.about-glass-bars span:nth-child(6) { --bar-index: 6; --bar-swing: -0.07; animation-duration: 2.65s; animation-delay: -0.2s; transform-origin: top; }
.about-glass-bars span:nth-child(7) { --bar-index: 7; --bar-swing: 0.12; animation-duration: 3.6s; animation-delay: -2.1s; transform-origin: center; }
.about-glass-bars span:nth-child(8) { --bar-index: 8; --bar-swing: -0.06; animation-duration: 2.25s; animation-delay: -1.5s; transform-origin: bottom; }
.about-glass-bars span:nth-child(9) { --bar-index: 9; --bar-swing: 0.15; animation-duration: 3.1s; animation-delay: -0.9s; transform-origin: top; }
.about-glass-bars span:nth-child(10) { --bar-index: 10; --bar-swing: -0.08; animation-duration: 2.5s; animation-delay: -1.9s; transform-origin: center; }
.about-glass-bars span:nth-child(11) { --bar-index: 11; --bar-swing: 0.1; animation-duration: 3.4s; animation-delay: -0.5s; transform-origin: bottom; }
.about-glass-bars span:nth-child(12) { --bar-index: 12; --bar-swing: -0.05; animation-duration: 2.75s; animation-delay: -1.2s; transform-origin: top; }

.about-hero-media.is-depth-active .about-glass-bars span {
  filter:
    brightness(calc(1 - var(--bar-dark) * 0.18 + var(--bar-highlight) * 0.74))
    saturate(calc(1.12 + var(--bar-dark) * 0.12 + var(--bar-highlight) * 0.72));
}

.about-hero-media > :not(.about-glass-bars) {
  position: relative;
  z-index: 5;
}

.about-hero-media .eyebrow {
  display: none;
}

.about-hero-media h1 {
  max-width: 1240px;
  font-size: clamp(48px, 6.2vw, 112px);
  line-height: 1.06;
  font-weight: 640;
  letter-spacing: 0;
  text-wrap: balance;
}

.about-hero-subtitle {
  max-width: 980px;
  margin: clamp(24px, 3vw, 36px) auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 1.35vw, 24px);
  line-height: 1.5;
}


.about-content {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.28fr);
  align-items: start;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(24px, 3vw, 48px) clamp(20px, 4vw, 56px) clamp(56px, 8vw, 112px);
}

.about-copy {
  display: grid;
  align-content: start;
  gap: 20px;
}

.about-copy h2 {
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 0.98;
}

.about-copy p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 720;
}

.about-media-grid {
  align-self: start;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-height: clamp(180px, 21vw, 310px);
}

.about-media-grid .image-placeholder {
  min-height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.about-media-grid .image-placeholder + .image-placeholder {
  display: none;
}

.about-media-grid .image-placeholder img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}

.font-download {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
}

.font-download-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.font-download-list .font-download {
  margin-top: 0;
}

.font-download.is-disabled {
  cursor: default;
  opacity: 0.72;
}

.chart-showcase {
  display: grid;
  gap: 18px;
}

.bar-chart {
  min-height: 280px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
}

.bar-chart span {
  min-height: 48px;
  height: calc(var(--bar-value) * 2.2px);
  display: grid;
  align-items: start;
  justify-items: center;
  padding-top: 12px;
  border-radius: 16px 16px 4px 4px;
  background: linear-gradient(180deg, var(--electric-cyan), var(--yueda-blue));
  color: var(--white);
  animation: barRise 1.4s ease both;
}

.bar-chart span:nth-child(2) {
  animation-delay: 0.08s;
}

.bar-chart span:nth-child(3) {
  animation-delay: 0.16s;
}

.bar-chart span:nth-child(4) {
  animation-delay: 0.24s;
}

.number-style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.number-style-grid div {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.number-style-grid small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 760;
}

.number-style-grid strong {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.95;
}

.resource-downloads,
.resource-downloads a {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.upload-status {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.upload-status.is-success {
  color: #0b8f42;
}

.upload-status.is-error {
  color: #c82d2d;
}

.type-demo {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 26px;
  background: var(--white);
  border-radius: var(--radius);
}

.type-xl {
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.9;
  font-weight: 920;
}

.type-md {
  font-size: 24px;
  font-weight: 720;
}

.type-sm {
  color: var(--muted);
  font-size: 15px;
}

.rule-pair,
.mini-cards,
.pattern-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.rule-pair > div,
.mini-card,
.pattern-list article,
.resource-row {
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(17, 19, 18, 0.1);
  border-radius: var(--radius);
}

.button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 820;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: var(--electric-cyan);
  color: var(--ink);
  border-color: rgba(17, 19, 18, 0.18);
}

.button.ghost {
  background: transparent;
  border-color: rgba(17, 19, 18, 0.22);
}

.component-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-demo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.form-demo label {
  display: grid;
  gap: 8px;
  font-weight: 760;
}

.form-demo input,
.form-demo select {
  height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(17, 19, 18, 0.18);
  border-radius: var(--radius);
  background: var(--white);
}

.mini-card {
  display: grid;
  gap: 8px;
}

.mini-card span {
  color: var(--muted);
}

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

.pattern-list article {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pattern-list h2 {
  font-size: 34px;
}

.resource-table {
  display: grid;
  border-top: 1px solid rgba(17, 19, 18, 0.12);
}

.resource-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 16px;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

@keyframes barRise {
  from {
    transform: scaleY(0.15);
    transform-origin: bottom;
  }
  to {
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

.resource-row span {
  color: var(--muted);
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-160px);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px 24px;
    background: var(--paper);
    border-bottom: 1px solid rgba(17, 19, 18, 0.12);
  }

  .language-toggle {
    margin-left: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .home-page .site-nav.is-open {
    background: rgba(0, 9, 32, 0.92);
    color: var(--white);
    backdrop-filter: blur(18px);
  }

  .hero,
  .split-band,
  .scroll-story,
  .doc-layout,
  .about-content,
  .form-demo {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .fullscreen-hero {
    min-height: 100svh;
    align-items: end;
  }


  .hero-stage {
    min-height: 460px;
  }

  .video-orbit {
    min-height: 480px;
  }

  .visual-board {
    grid-template-rows: 150px 120px 150px;
  }

  .feature-grid,
  .swatch-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doc-toc {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: 68px;
  }


  .feature-grid,
  .swatch-grid,
  .rule-pair,
  .typography-assets,
  .voice-image-pair,
  .number-style-grid,
  .mini-cards,
  .pattern-list {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 360px;
  }

  .home-page .feature-grid {
    min-height: auto;
  }

  .story-media {
    min-height: 360px;
  }

  .video-orbit {
    min-height: 380px;
  }

  .video-shell {
    border-radius: 14px;
  }

  .orbit-label.top {
    top: 40px;
    right: 4%;
  }

  .orbit-label.bottom {
    left: 4%;
    bottom: 34px;
  }

  .resource-row {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .logo-demo {
    flex-direction: column;
    align-items: flex-start;
  }
}
