: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;
}

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(247, 244, 236, 0.88);
  border-bottom: 1px solid rgba(0, 73, 255, 0.14);
  backdrop-filter: blur(18px);
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  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);
}

.language-icon {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-block;
  border: 1.7px solid currentColor;
  border-radius: 999px;
}

.language-icon::before,
.language-icon::after {
  content: "";
  position: absolute;
  inset: 3px -2px;
  border-top: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
}

.language-icon::after {
  inset: -2px 5px;
  border: 0;
  border-left: 1.4px solid currentColor;
}

.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;
}

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

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

.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;
}

.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;
}

.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: 53vh;
}

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

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

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

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

.lianlian-statement {
  background:
    radial-gradient(circle at 82% 24%, rgba(0, 231, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #000920, #001f78 58%, #0049ff);
}

.has-admin-statement-bg .lianlian-statement {
  background:
    linear-gradient(90deg, rgba(0, 9, 32, 0.82) 0%, rgba(0, 16, 68, 0.58) 46%, rgba(0, 73, 255, 0.32) 100%),
    var(--admin-statement-bg-image);
  background-size: cover;
  background-position: center;
}

.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;
  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:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.9), transparent 12%),
    linear-gradient(135deg, #00e7ff, #0049ff 62%, #000920);
  color: var(--white);
}

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

.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.9) 0 8%, transparent 28%),
    linear-gradient(115deg, #e7edff 0%, #aeb4c0 34%, #6f7788 48%, #0049ff 78%, #1d38d6 100%);
  background-size: 160% 160%, 260% 260%;
  animation: material-base-flow 7s 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 6s 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.82;
  filter: blur(24px);
  animation: material-liquid 5.5s 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 {
  font-size: clamp(96px, 18vw, 240px);
  line-height: 0.8;
  font-weight: 930;
}

.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);
  }
}

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

.detail-links {
  background:
    linear-gradient(135deg, rgba(0, 73, 255, 0.08), rgba(130, 130, 130, 0.12)),
    var(--mist);
}

.link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.link-cloud a {
  padding: 13px 18px;
  border: 1px solid rgba(17, 19, 18, 0.16);
  border-radius: 999px;
  background: var(--white);
  font-weight: 800;
}

.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,
.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);
}

.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;
}

.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,
  .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,
  .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;
  }
}
