:root {
  color-scheme: dark;
  --bg: #08080c;
  --bg-2: #101014;
  --ink: #f7f3ea;
  --muted: #b6b0a5;
  --line: rgba(247, 243, 234, 0.16);
  --panel: rgba(255, 255, 255, 0.07);
  --cyan: #1bd8f2;
  --red: #ff5b3f;
  --lime: #c8ff59;
  --violet: #9b86ff;
  --gold: #d8b76b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 10px clamp(20px, 4vw, 64px);
  background: linear-gradient(180deg, rgba(8, 8, 12, 0.78), rgba(8, 8, 12, 0));
  transition: background 200ms ease, border-color 200ms ease;
}

.site-header[data-elevated="true"] {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 12, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-lockup {
  position: relative;
  display: block;
  width: 215px;
  aspect-ratio: 1179 / 473;
}

.brand-lockup img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-lockup-color {
  clip-path: inset(0 61.5% 0 0);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(247, 243, 234, 0.78);
  font-size: 14px;
}

.main-nav a {
  transition: color 160ms ease;
}

.main-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

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

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 128px clamp(22px, 5vw, 80px) 56px;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("./assets/product-lingrang-platform.png");
  background-position: center 48%;
  background-size: cover;
  filter: saturate(0.9) contrast(1.08);
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 7, 11, 0.97) 0%, rgba(6, 7, 11, 0.76) 48%, rgba(6, 7, 11, 0.2) 100%),
    linear-gradient(0deg, rgba(6, 7, 11, 0.96) 0%, rgba(6, 7, 11, 0.1) 58%, rgba(6, 7, 11, 0.64) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 940px;
}

.eyebrow,
.section-kicker,
.proof-label {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.02;
  font-weight: 850;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 720px;
  color: rgba(247, 243, 234, 0.82);
  font-size: 19px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

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

.button.ghost {
  border: 1px solid rgba(247, 243, 234, 0.28);
  color: var(--ink);
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 54px 0 0;
}

.signal-row div {
  border-top: 2px solid var(--line);
  padding-top: 16px;
}

.signal-row dt {
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.signal-row dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #0d0d11;
}

.proof-strip div {
  min-width: 0;
  min-height: 116px;
  border-right: 1px solid var(--line);
  padding: 26px clamp(20px, 4vw, 54px);
}

.proof-strip strong {
  display: block;
  max-width: 100%;
  margin-top: 8px;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(22px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  margin-bottom: 24px;
}

.universe {
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 91, 63, 0.14), transparent 32%),
    radial-gradient(circle at 75% 22%, rgba(200, 255, 89, 0.1), transparent 30%),
    var(--bg-2);
}

.universe-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}

.universe-head h2 {
  max-width: none;
  white-space: nowrap;
}

.universe-intro-copy {
  max-width: 430px;
}

.universe-intro-copy p {
  color: var(--muted);
}

.universe-intro-copy p:last-child {
  margin-bottom: 0;
}

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

.universe-showcase {
  display: grid;
  grid-template-columns: minmax(360px, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.universe-showcase figure {
  margin: 0;
}

.universe-showcase img,
.section-visual img,
.memory-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.universe-showcase h3 {
  margin: 0 0 14px;
  font-size: clamp(25px, 3vw, 42px);
}

.universe-showcase p {
  color: var(--muted);
}

.universe-card,
.timeline article {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 26px;
}

.universe-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.universe-card span,
.timeline span {
  font-weight: 900;
}

.universe-card p,
.timeline p,
.platform-copy p,
.product-copy p,
.contact p {
  color: var(--muted);
}

.accent-red {
  border-top: 3px solid var(--red);
}

.accent-cyan {
  border-top: 3px solid var(--cyan);
}

.accent-lime {
  border-top: 3px solid var(--lime);
}

.accent-violet {
  border-top: 3px solid var(--violet);
}

.platform-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(360px, 1.16fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
}

.section-visual {
  margin: 0;
}

.platform-visual figcaption {
  margin-top: 12px;
}

.architecture {
  display: grid;
  grid-template-columns: 1fr 36px 1fr 36px 1fr 36px 1fr;
  align-items: center;
  grid-column: 1 / -1;
  margin-top: 18px;
}

.arch-node {
  min-height: 128px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 243, 234, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  text-align: center;
}

.arch-line {
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--cyan));
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(340px, 1.25fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  border-left: 3px solid var(--cyan);
  padding-left: 16px;
  color: rgba(247, 243, 234, 0.84);
}

.product-figure {
  margin: 0;
}

.product-figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-figure img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.product-index {
  display: block;
  margin-bottom: 13px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.memory {
  background:
    linear-gradient(120deg, rgba(27, 216, 242, 0.08), transparent 42%),
    linear-gradient(315deg, rgba(255, 91, 63, 0.06), transparent 38%),
    #0d1117;
  color: var(--ink);
}

.memory .section-kicker {
  color: var(--cyan);
}

.memory-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(36px, 7vw, 92px);
}

.memory-lead {
  display: grid;
  align-content: start;
  gap: 28px;
}

.memory-lead h2 {
  margin: 0;
}

.memory-visual {
  margin: 0;
}

.memory-visual img {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.memory-visual figcaption {
  color: var(--muted);
}

.memory-steps {
  display: grid;
  gap: 12px;
}

.memory-steps div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 0 0 18px;
}

.memory-steps strong {
  color: var(--ink);
  font-size: 18px;
}

.memory-steps span {
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.timeline article:nth-child(1) {
  border-top: 3px solid var(--red);
}

.timeline article:nth-child(2) {
  border-top: 3px solid var(--cyan);
}

.timeline article:nth-child(3) {
  border-top: 3px solid var(--lime);
}

.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0a0c10;
}

.contact-background,
.contact-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-background {
  z-index: -2;
  object-fit: cover;
  object-position: 46% center;
  filter: saturate(0.78) contrast(1.06) brightness(0.66);
}

.contact-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.62) 0%, rgba(5, 9, 13, 0.44) 56%, rgba(5, 9, 13, 0.22) 100%),
    linear-gradient(180deg, rgba(5, 8, 12, 0.12), rgba(5, 8, 12, 0.5));
}

.contact-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 32px;
  align-items: end;
}

.contact-panel h2 {
  max-width: 900px;
}

.contact-panel p {
  max-width: 760px;
}

.contact-actions {
  justify-content: flex-end;
  min-width: 270px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(22px, 5vw, 80px);
  color: var(--muted);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal a {
  color: rgba(247, 243, 234, 0.72);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal a:hover {
  color: var(--ink);
}

@media (max-width: 1200px) and (min-width: 981px) {
  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-strip div:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    inset: 104px 14px auto;
    display: none;
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: rgba(8, 8, 12, 0.95);
    box-shadow: var(--shadow);
  }

  .main-nav[data-open="true"] {
    display: grid;
  }

  .nav-toggle {
    display: block;
  }

  .proof-strip,
  .platform-layout,
  .product-feature,
  .universe-showcase,
  .memory-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .universe-head {
    display: block;
  }

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

  .architecture {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .arch-line {
    width: 2px;
    height: 26px;
    justify-self: center;
    background: linear-gradient(180deg, var(--red), var(--cyan));
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 18px;
  }

  .brand-lockup {
    width: 195px;
  }

  .hero {
    min-height: 82svh;
    padding: 112px 20px 38px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 8, 12, 0.98) 0%, rgba(8, 8, 12, 0.78) 70%, rgba(8, 8, 12, 0.34) 100%),
      linear-gradient(0deg, rgba(8, 8, 12, 0.94) 0%, rgba(8, 8, 12, 0.22) 62%, rgba(8, 8, 12, 0.72) 100%);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero .eyebrow {
    max-width: 300px;
    font-size: 11px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: 38px;
    line-height: 1.08;
  }

  .universe-head h2 {
    white-space: normal;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .button {
    min-height: 44px;
    padding: 10px 14px;
  }

  .signal-row {
    margin-top: 34px;
  }

  .signal-row,
  .proof-strip,
  .universe-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .universe-showcase {
    margin-top: 36px;
    padding-top: 26px;
  }

  .proof-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .memory-steps div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    display: grid;
  }
}
