:root {
  --text: #252525;
  --muted: #626262;
  --line: #d8d8d8;
  --bg: #f6f6f6;
  --panel: #ffffff;
  --nav: #e9e9e9;
  --dark: #30343a;
  --accent: #196f8f;
  --accent-dark: #0f526a;
  --accent-soft: #e7f4f7;
  --green: #3f7b5d;
  --gold: #9a7237;
  --red: #9b4b45;
  --radius: 6px;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 400 14px/1.8 "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
}

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

button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: #fff;
}

.page-main {
  background: var(--bg);
}

.page-title-band {
  padding: 38px 0;
  background: #d5d5d5;
  border-bottom: 1px solid #c7c7c7;
}

.page-title-band h1 {
  margin: 0;
  color: #202327;
  font-size: 32px;
  line-height: 1.25;
}

.page-section {
  padding-top: 50px;
  padding-bottom: 56px;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 62px;
  background: rgba(234, 234, 234, 0.96);
  border-bottom: 1px solid #d0d0d0;
  backdrop-filter: blur(8px);
}

.nav-inner {
  width: calc(100% - 56px);
  min-height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--dark);
  border-radius: 3px;
  font-weight: 700;
  font-size: 22px;
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #333;
  border-bottom: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: #111;
  background: rgba(255, 255, 255, 0.36);
  border-bottom-color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-left: auto;
  padding-right: 6px;
  color: #111;
  font-size: 16px;
  white-space: nowrap;
}

.language-link,
.auth-link {
  min-height: 24px;
  padding: 0;
  border: 0;
  color: #111;
  background: transparent;
  cursor: pointer;
  line-height: 1.2;
}

.language-link:hover,
.auth-link:hover {
  color: var(--accent-dark);
}

.language-link.is-active {
  font-weight: 400;
}

.divider {
  color: #333;
}

.user-chip {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 2px 8px;
  border: 0;
  color: #fff;
  background: var(--dark);
  border-radius: 4px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #333;
}

.hero {
  position: relative;
  min-height: clamp(360px, 52vw, 560px);
  overflow: hidden;
  background: #202327;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.48) 40%, rgba(0, 0, 0, 0.12) 100%);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  min-height: clamp(360px, 52vw, 560px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 0 72px;
  color: #fff;
}

.eyebrow {
  max-width: 720px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 6px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
}

.hero-subtitle {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
}

.hero-actions,
.dataset-toolbar,
.taxonomy-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button,
.bt-more,
.scene-action,
.filter,
.tab {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button.primary,
.bt-more {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.muted {
  border-color: var(--line);
  background: #fff;
  color: #333;
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
}

.button:hover,
.bt-more:hover,
.scene-action:hover,
.filter:hover,
.tab:hover {
  transform: translateY(-1px);
}

.intro-section,
.split-section,
.taxonomy-section,
.dataset-section,
.access-section {
  padding: 48px 0;
}

.intro-section {
  background: var(--bg);
}

.intro-section p,
.split-section p,
.access-section p {
  max-width: 980px;
  color: #373737;
  text-align: justify;
}

.intro-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
}

.intro-showcase h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.intro-showcase figure,
.build-figure,
.workflow-grid figure,
.scenario-hero-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.intro-showcase img,
.build-figure img,
.workflow-grid img,
.scenario-hero-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-showcase figure {
  aspect-ratio: 1.6;
}

.intro-insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.intro-insights article {
  min-height: 140px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.intro-insights span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 16px;
  font-weight: 700;
}

.intro-insights p {
  margin-bottom: 0;
  color: var(--muted);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.metrics-grid article {
  min-height: 112px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.metrics-grid strong {
  display: block;
  color: var(--accent-dark);
  font-size: 30px;
  line-height: 1.2;
}

.metrics-grid span {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 42px;
  align-items: start;
}

.build-method-section {
  padding-bottom: 52px;
}

.build-method-grid {
  display: grid;
  gap: 20px;
}

.build-method-card {
  display: grid;
  grid-template-columns: minmax(360px, 50%) minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.build-method-card:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 50%);
}

.build-method-card:nth-child(even) figure {
  order: 2;
}

.build-method-card figure {
  min-height: 340px;
  aspect-ratio: 1.45;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f6f8f9;
}

.build-method-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.build-method-card:nth-child(2) figure:not(.build-media-collage) img,
.build-method-card:nth-child(3) figure:not(.build-media-collage) img {
  object-fit: contain;
  padding: 12px;
  background: #101316;
}

.build-media-collage {
  display: grid;
  gap: 6px;
  min-height: 360px;
  padding: 6px;
  background: #eef3f4;
}

.build-media-collage img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 4px;
  object-fit: cover;
  object-position: center;
  background: #fff;
}

.build-media-collage .fit-contain {
  object-fit: contain;
  padding: 8px;
}

.build-media-collage .crop-tight {
  transform: scale(1.12);
}

.build-media-collage .private-thumb {
  filter: blur(0.7px) saturate(0.9);
  transform: scale(1.04);
}

.build-media-collage .pos-top {
  object-position: center top;
}

.build-media-collage .pos-center {
  object-position: center center;
}

.evidence-mosaic {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.build-method-card figure.reconstruction-mosaic {
  grid-template-columns: 1fr;
  grid-template-rows: none;
  gap: 12px;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  align-self: start;
  overflow: visible;
}

.reconstruction-pair {
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
  min-height: 0;
  padding: 10px;
  align-self: stretch;
  background: #fff;
  border: 1px solid #dce5e8;
  border-radius: 6px;
}

.reconstruction-images {
  display: grid;
  gap: 8px;
  min-height: 0;
  align-self: stretch;
}

.reconstruction-images img {
  min-height: 0;
  height: auto;
  object-fit: contain;
  padding: 4px;
  background: #f8fafb;
  border: 1px solid #e3eaed;
  border-radius: 4px;
}

.map-to-cad {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.45fr);
}

.map-to-cad img {
  height: 168px;
}

.map-to-cad img:first-child {
  object-fit: cover;
}

.pccrash-flow {
  grid-template-columns: minmax(120px, 0.55fr) minmax(0, 1.45fr);
}

.pccrash-flow img {
  height: 180px;
}

.pccrash-flow img:first-child {
  padding: 14px;
  background: #1f2025;
}

.damage-evidence-pair {
  grid-template-rows: auto auto;
}

.damage-evidence-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.damage-evidence-grid img {
  aspect-ratio: 1.34;
  height: 148px;
  object-fit: cover;
  padding: 0;
}

.reconstruction-pair figcaption {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.reconstruction-pair figcaption b {
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
}

.validation-framework {
  display: block;
  min-height: 430px;
  padding: 3px;
  aspect-ratio: 1.31;
  background: #fff;
}

.validation-framework img {
  object-fit: contain;
  padding: 0;
  background: #fff;
}

.validation-framework .fit-contain {
  padding: 0;
}

.build-method-card div {
  min-width: 0;
  align-self: center;
}

.build-method-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 700;
}

.build-method-card h2 {
  margin-bottom: 10px;
  font-size: 20px;
}

.build-method-card p {
  margin-bottom: 12px;
  color: var(--muted);
  text-align: justify;
}

.build-method-card p:last-child {
  margin-bottom: 0;
}

.build-method-card:nth-child(2) .method-copy {
  align-self: stretch;
  display: grid;
  align-content: center;
}

.method-flow-panel {
  margin-top: 22px;
  width: 100%;
  align-self: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.method-flow-panel h3 {
  margin: 0;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 16px;
}

.method-flow-panel ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-flow-panel li {
  display: grid;
  grid-template-columns: minmax(136px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.method-flow-panel li:last-child {
  border-bottom: 0;
}

.method-flow-panel b {
  display: block;
  min-width: 0;
  color: var(--accent-dark);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.method-flow-panel span {
  display: block;
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.method-output-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  width: 100%;
  align-self: stretch;
}

.method-output-strip div {
  align-self: stretch;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.method-output-strip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 14px;
}

.method-output-strip em {
  display: block;
  color: var(--accent-dark);
  font-style: normal;
  font-size: 12px;
  line-height: 1.5;
}

.workflow-band {
  padding: 46px 0;
  background: #f1f5f6;
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: center;
}

.workflow-grid p {
  color: #363636;
  text-align: justify;
}

.workflow-grid figure {
  aspect-ratio: 1.45;
}

.workflow-grid img {
  object-fit: cover;
}

.scenario-derivation-section {
  padding: 56px 0 68px;
}

.scenario-derivation-section .section-title {
  display: block;
}

.scenario-derivation-section .section-title h2 {
  max-width: 820px;
  margin-bottom: 10px;
  white-space: normal;
  line-height: 1.15;
}

.scenario-derivation-section .section-title p {
  max-width: 900px;
  overflow-wrap: anywhere;
}

.derivation-showcase {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #18252a 0%, #176276 100%);
  color: #fff;
  box-shadow: 0 24px 54px rgba(18, 37, 45, 0.18);
}

.derivation-case-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 24px;
  align-items: end;
}

.derivation-case-head h3 {
  max-width: 720px;
  margin: 6px 0 10px;
  color: #fff;
  font-size: 30px;
}

.derivation-case-head p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
}

.derivation-case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.derivation-case-metrics div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.derivation-case-metrics strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 26px;
  line-height: 1.08;
}

.derivation-case-metrics span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

.derivation-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.derivation-pipeline article {
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
}

.derivation-pipeline article:not(:last-child)::after {
  position: absolute;
  top: 32px;
  right: -19px;
  width: 24px;
  height: 2px;
  background: rgba(126, 216, 238, 0.75);
  content: "";
}

.derivation-pipeline article:not(:last-child)::before {
  position: absolute;
  top: 27px;
  right: -22px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 7px solid rgba(126, 216, 238, 0.75);
  content: "";
}

.derivation-pipeline span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  place-items: center;
  border: 1px solid rgba(126, 216, 238, 0.72);
  border-radius: 50%;
  color: #7ed8ee;
  font-weight: 800;
}

.derivation-pipeline h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 20px;
}

.derivation-pipeline p {
  margin: 0;
  color: rgba(255, 255, 255, 0.77);
  line-height: 1.72;
}

.derivation-application-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 20px;
  align-items: stretch;
  margin-top: 22px;
}

.derivation-media-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 18px 12px;
  align-items: start;
  align-content: stretch;
  height: 100%;
}

.derivation-media-wall figure,
.derivation-support figure {
  min-width: 0;
  margin: 0;
  align-self: start;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.derivation-media-wall img,
.derivation-media-wall video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #102129;
}

.derivation-media-wall video {
  height: 100%;
  border: 0;
}

.derivation-media-wall figcaption {
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
}

.derivation-media-wall figcaption b {
  color: #fff;
  font-size: 17px;
}

.derivation-media-wall figcaption span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.62;
}

.derivation-media-wall .media-wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.28fr) minmax(220px, 0.72fr);
}

.derivation-media-wall .media-vil {
  grid-template-columns: minmax(0, 1.14fr) minmax(260px, 0.86fr);
}

.derivation-media-wall .media-panorama {
  grid-column: 1 / -1;
}

.derivation-media-wall .media-panorama img {
  aspect-ratio: 720 / 202;
  object-fit: contain;
  background: #142a32;
}

.derivation-media-wall .media-wide img {
  height: 100%;
  min-height: 230px;
}

.derivation-media-wall .media-wide figcaption {
  align-content: center;
  min-height: 0;
}

.derivation-media-wall .media-road-test {
  grid-column: 1 / -1;
  align-self: end;
}

.road-video-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  background: #102129;
}

.road-video-pair video {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  object-fit: cover;
  pointer-events: none;
}

.road-video-pair video:last-child {
  border-right: 0;
}

.derivation-media-wall .media-road-test figcaption {
  min-height: 92px;
  padding: 12px 14px;
}

.derivation-support {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  height: 100%;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(249, 252, 253, 0.95);
  color: var(--ink);
}

.derivation-support h3 {
  margin: 0;
  color: var(--accent-dark);
  font-size: 23px;
  font-weight: 800;
}

.derivation-support p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.support-list {
  display: grid;
  gap: 12px;
}

.support-item {
  min-width: 0;
  padding: 10px 12px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.support-copy {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 36px;
}

.support-copy b {
  color: var(--accent-dark);
}

.support-copy span {
  color: #3f4b50;
  line-height: 1.5;
}

.support-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1.82;
  margin-top: 8px;
  padding: 6px;
  border: 1px solid #e2e7ea;
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
}

.derivation-support figure {
  border-color: var(--line);
  background: #fff;
}

.derivation-support > figure img {
  display: block;
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: contain;
  padding: 8px;
  background: #fff;
}

.derivation-support figcaption {
  padding: 0 12px 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.process-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  background: #fff;
}

.process-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.process-list span {
  color: var(--accent);
  font-weight: 700;
}

.feature-band {
  padding: 44px 0;
  background: #d5d5d5;
}

.feature-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.feature-columns article {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid #c6c6c6;
}

.feature-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-columns li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
}

.feature-columns li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 36px;
  margin-bottom: 22px;
}

.section-title h2 {
  margin-bottom: 0;
  white-space: nowrap;
}

.section-title p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.taxonomy-tabs,
.dataset-toolbar {
  margin-bottom: 20px;
}

.tab,
.filter {
  color: #333;
  background: #fff;
}

.tab.active,
.filter.active {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}

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

.taxonomy-item {
  min-height: 132px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.taxonomy-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.taxonomy-item span {
  display: block;
  color: var(--muted);
  line-height: 1.65;
}

.dataset-list {
  display: grid;
  gap: 22px;
}

.dataset-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dataset-card.is-hidden {
  display: none;
}

.card-visual {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  background: #9ca4a8;
}

.card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 32%, rgba(255, 255, 255, 0.42) 32% 33%, transparent 33% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0 42px, transparent 42px 82px),
    linear-gradient(180deg, #a8b1b5, #707a80);
  transform: skewY(-7deg) scale(1.18);
}

.card-visual::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: 48%;
  height: 92px;
  background: #383f45;
  border-top: 4px solid rgba(255, 255, 255, 0.5);
  border-bottom: 4px solid rgba(255, 255, 255, 0.5);
  transform: rotate(-7deg);
}

.card-visual span {
  position: absolute;
  z-index: 1;
  display: block;
  width: 44px;
  height: 22px;
  background: #f4f4f4;
  border-radius: 3px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.card-visual span:nth-child(1) {
  left: 18%;
  top: 45%;
  transform: rotate(-7deg);
}

.card-visual span:nth-child(2) {
  left: 58%;
  top: 54%;
  background: #2b6f8f;
  transform: rotate(-7deg);
}

.card-visual span:nth-child(3) {
  left: 72%;
  top: 35%;
  background: #d9b45f;
  transform: rotate(14deg);
}

.card-visual.has-image {
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #eef3f5;
}

.card-visual.has-image::before,
.card-visual.has-image::after,
.card-visual.has-image span {
  display: none;
}

.card-visual.has-image img {
  display: block;
  width: 100%;
  min-height: 310px;
  height: 100%;
  object-fit: cover;
}

.card-visual.has-image.is-diagram {
  align-items: center;
  padding: 14px;
}

.card-visual.has-image.is-diagram img {
  min-height: 0;
  max-height: 310px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}

.visual-sim::before {
  background:
    radial-gradient(circle at 30% 25%, rgba(25, 111, 143, 0.32), transparent 24%),
    linear-gradient(115deg, transparent 0 32%, rgba(255, 255, 255, 0.42) 32% 33%, transparent 33% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0 42px, transparent 42px 82px),
    linear-gradient(180deg, #c2c8c5, #6d7670);
}

.visual-platform::before {
  background:
    linear-gradient(90deg, rgba(63, 123, 93, 0.28), transparent),
    linear-gradient(115deg, transparent 0 32%, rgba(255, 255, 255, 0.42) 32% 33%, transparent 33% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0 42px, transparent 42px 82px),
    linear-gradient(180deg, #b8c0ba, #647268);
}

.visual-general::before {
  background:
    radial-gradient(circle at 65% 30%, rgba(154, 114, 55, 0.32), transparent 24%),
    linear-gradient(115deg, transparent 0 32%, rgba(255, 255, 255, 0.42) 32% 33%, transparent 33% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0 42px, transparent 42px 82px),
    linear-gradient(180deg, #c7c3b8, #777161);
}

.card-body {
  padding: 28px 30px 26px;
}

.dataset-name {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
}

.card-body p {
  margin-bottom: 18px;
  color: #3b3b3b;
  text-align: justify;
}

table {
  width: 100%;
  margin: 0 0 18px;
  border-collapse: collapse;
  border-top: 1px solid #bcbcbc;
  border-left: 1px solid #bcbcbc;
}

th,
td {
  padding: 8px 10px;
  border-right: 1px solid #bcbcbc;
  border-bottom: 1px solid #bcbcbc;
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

th {
  width: 96px;
  color: #333;
  font-weight: 700;
  background: #f0f0f0;
}

.notice-row {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.notice-row span {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #fff;
  border-right: 1px solid var(--line);
}

.notice-row span:first-child {
  color: #fff;
  background: var(--dark);
  font-weight: 700;
}

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

.scenario-hero {
  padding: 48px 0;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(32, 35, 39, 0.96), rgba(25, 111, 143, 0.82)),
    #202327;
}

.scenario-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: center;
}

.scenario-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
}

.page-cover-hero h1 {
  font-size: clamp(40px, 5.2vw, 66px);
}

.scenario-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
}

.page-cover-hero p {
  font-size: 15px;
}

.scenario-hero .section-kicker {
  color: #8bd5e8;
}

.scenario-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.scenario-hero-stats span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 15px;
  line-height: 1.35;
}

.scenario-hero-stats b {
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.page-cover-hero .scenario-hero-stats span {
  font-size: 14px;
}

.page-cover-hero .scenario-hero-stats b {
  font-size: 20px;
}

.scenario-hero-figure {
  aspect-ratio: 1.75;
  border-color: rgba(255, 255, 255, 0.16);
}

.scenario-browser {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.scenario-sidebar {
  position: sticky;
  top: 82px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.scenario-sidebar h2 {
  margin-bottom: 8px;
}

.scenario-sidebar p {
  margin-bottom: 16px;
  color: var(--muted);
}

.scene-filter {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #333;
  background: #f8f8f8;
  cursor: pointer;
}

.scene-filter b {
  color: var(--accent-dark);
  font-weight: 700;
}

.scene-filter.active {
  color: #fff;
  border-color: var(--dark);
  background: var(--dark);
}

.scene-filter.active b {
  color: #fff;
}

.scenario-results-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 16px;
}

.scenario-results-head p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.scenario-count {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: var(--accent-dark);
  border: 1px solid #b8d7df;
  border-radius: 4px;
  background: var(--accent-soft);
}

.scene-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.scene-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.scene-card.is-hidden {
  display: none;
}

.scene-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.scene-card-top span,
.scene-card-top b {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.scene-card-top span {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.scene-card-top b {
  color: #fff;
  background: var(--dark);
}

.scene-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.scene-card p {
  color: #444;
  text-align: justify;
}

.scene-card dl {
  display: grid;
  gap: 8px;
  margin: auto 0 18px;
}

.scene-card dl div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #ececec;
}

.scene-card dt {
  color: var(--muted);
}

.scene-card dd {
  margin: 0;
  color: #252525;
  overflow-wrap: anywhere;
}

.scene-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.scene-action {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 0;
  font-weight: 700;
}

.scene-action + .scene-action {
  border-left: 1px solid var(--line);
}

.scene-action-preview {
  color: #fff;
  background: var(--accent);
}

.scene-action-data {
  color: var(--dark);
  background: #f7fafb;
}

.scenario-detail-band {
  padding: 48px 0;
  background: #d5d5d5;
}

.scenario-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 32px;
  align-items: center;
}

.scenario-detail-grid p {
  color: #3d3d3d;
}

.detail-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid #bfc3c5;
  border-radius: var(--radius);
  background: #fff;
}

.detail-matrix span {
  min-height: 66px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-right: 1px solid #d5d5d5;
  border-bottom: 1px solid #d5d5d5;
  text-align: center;
}

.detail-matrix span:nth-child(4n) {
  border-right: 0;
}

.detail-matrix span:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.footer {
  padding: 34px 0 0;
  color: #e8e8e8;
  background: #202327;
}

.footer h2 {
  margin-bottom: 8px;
}

.footer p {
  margin-bottom: 6px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: 38px;
  align-items: center;
}

.footer-identity {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-badge {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 3px solid rgba(255, 255, 255, 0.86);
}

.contact-table {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-table p {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 36px;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-table span {
  color: rgba(255, 255, 255, 0.7);
}

.contact-table b {
  min-height: 28px;
  font-weight: 400;
}

.site-records {
  margin-top: 34px;
  padding: 10px 16px 12px;
  color: #222;
  text-align: center;
  background: #ededed;
  font-size: 12px;
  line-height: 1.8;
}

.site-records p {
  margin: 0;
}

.site-records a {
  color: #222;
  text-decoration: none;
}

.site-records a:hover,
.site-records a:focus-visible {
  color: var(--red);
  text-decoration: underline;
}

.request-dialog,
.auth-dialog {
  width: min(480px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.request-dialog.has-media {
  width: min(900px, calc(100% - 32px));
}

.request-dialog::backdrop,
.auth-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.request-dialog form,
.auth-panel {
  position: relative;
  padding: 28px;
}

.dialog-media {
  margin: 16px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111;
}

.dialog-media[hidden] {
  display: none;
}

.dialog-media video {
  display: block;
  width: 100%;
  max-height: min(62vh, 520px);
  background: #111;
}

.auth-panel label {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  color: #333;
}

.auth-panel input {
  width: 100%;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid #bcbcbc;
  border-radius: 4px;
  outline: none;
}

.auth-panel input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(25, 111, 143, 0.12);
}

.form-note {
  margin: 4px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.auth-message {
  margin: 0 0 14px;
  padding: 9px 10px;
  border: 1px solid #d7eaf0;
  border-radius: 4px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 13px;
}

.auth-message[hidden] {
  display: none;
}

.auth-message[data-type="error"] {
  color: #8c2d22;
  border-color: #edc9c2;
  background: #fff1ee;
}

.auth-message[data-type="success"] {
  color: #286044;
  border-color: #b8dec8;
  background: #edf8f1;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.text-button {
  min-height: 36px;
  padding: 0 4px;
  border: 0;
  color: var(--accent-dark);
  background: transparent;
  cursor: pointer;
}

.button.danger {
  color: #8c2d22;
  border-color: #edc9c2;
  background: #fff7f5;
}

.dialog-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

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

  .nav-inner {
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav-actions {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 10px;
  }

  .nav-links {
    display: none;
    order: 4;
    width: 100%;
    padding: 8px 0 14px;
    justify-content: flex-start;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    min-height: 36px;
  }

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

  .intro-showcase,
  .workflow-grid,
  .derivation-case-head,
  .derivation-application-grid,
  .derivation-board,
  .scenario-hero-grid,
  .scenario-browser,
  .scenario-detail-grid {
    grid-template-columns: 1fr;
  }

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

  .derivation-pipeline article::before,
  .derivation-pipeline article::after {
    display: none;
  }

  .derivation-flow {
    grid-template-columns: 1fr;
  }

  .derivation-flow::before {
    top: 18px;
    bottom: 18px;
    left: 17px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .build-method-card,
  .build-method-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .build-method-card:nth-child(even) figure {
    order: 0;
  }

  .evidence-mosaic,
  .validation-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .reconstruction-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .validation-mosaic .mosaic-wide {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 180px;
  }

  .scenario-sidebar {
    position: static;
  }

  .scene-card-list {
    grid-template-columns: 1fr;
  }

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

  .detail-matrix span:nth-child(4n) {
    border-right: 1px solid #d5d5d5;
  }

  .detail-matrix span:nth-child(2n) {
    border-right: 0;
  }

  .detail-matrix span:nth-last-child(-n + 4) {
    border-bottom: 1px solid #d5d5d5;
  }

  .detail-matrix span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .split-section,
  .feature-columns,
  .dataset-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-visual {
    min-height: 240px;
  }

  .card-visual.has-image img {
    min-height: 240px;
  }

  .card-visual.has-image.is-diagram img {
    max-height: 260px;
  }

  .section-title {
    display: block;
  }

  .section-title h2 {
    white-space: normal;
    margin-bottom: 8px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 13px;
  }

  .container,
  .nav-inner,
  .hero-overlay {
    width: min(100% - 24px, 1120px);
  }

  .hero::after {
    background: rgba(0, 0, 0, 0.62);
  }

  .hero-overlay {
    padding-bottom: 42px;
  }

  .metrics-grid,
  .taxonomy-grid,
  .intro-insights {
    grid-template-columns: 1fr;
  }

  .scenario-hero {
    padding: 36px 0;
  }

  .scenario-hero-stats {
    display: grid;
  }

  .derivation-showcase {
    padding: 16px;
  }

  .derivation-case-head h3 {
    font-size: 24px;
  }

  .derivation-case-metrics,
  .derivation-pipeline,
  .derivation-media-wall,
  .derivation-media-wall .media-road-test,
  .derivation-media-wall .media-wide {
    grid-template-columns: 1fr;
  }

  .road-video-pair {
    grid-template-columns: 1fr;
  }

  .road-video-pair video {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .road-video-pair video:last-child {
    border-bottom: 0;
  }

  .derivation-media-wall figcaption {
    min-height: 0;
  }

  .derivation-media-wall .media-wide img {
    min-height: 180px;
  }

  .support-copy {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .derivation-proof {
    grid-template-columns: 1fr;
  }

  .derivation-tech li {
    display: block;
  }

  .derivation-tech li span {
    display: block;
    margin-top: 4px;
    text-align: left;
  }

  .build-media-collage {
    grid-template-columns: 1fr;
  }

  .reconstruction-mosaic {
    grid-template-rows: none;
    min-height: auto;
  }

  .reconstruction-images {
    grid-template-columns: 1fr;
  }

  .reconstruction-pair figcaption {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .validation-mosaic .mosaic-wide {
    min-height: 160px;
  }

  .scenario-results-head {
    display: block;
  }

  .scenario-count {
    display: inline-flex;
    margin-top: 12px;
  }

  .detail-matrix {
    grid-template-columns: 1fr;
  }

  .detail-matrix span,
  .detail-matrix span:nth-child(2n),
  .detail-matrix span:nth-child(4n) {
    border-right: 0;
    border-bottom: 1px solid #d5d5d5;
  }

  .detail-matrix span:last-child {
    border-bottom: 0;
  }

  .feature-columns article,
  .card-body {
    padding: 22px;
  }

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

  .notice-row span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .notice-row span:last-child {
    border-bottom: 0;
  }

  .brand {
    min-width: auto;
  }

  .footer-identity {
    align-items: flex-start;
  }

  .footer-badge {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }
}
