:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #d8dde6;
  --paper: #f7f8f5;
  --surface: #ffffff;
  --dark: #0e131b;
  --blue: #2f6fed;
  --green: #16a66a;
  --amber: #d48a19;
  --shadow: 0 20px 50px rgba(17, 24, 39, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  background: var(--paper);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 64px);
  color: #fff;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 2px solid currentColor;
  border-radius: 7px;
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.brand-mark::before {
  width: 10px;
  height: 2px;
  left: 7px;
  top: 8px;
}

.brand-mark::after {
  width: 14px;
  height: 2px;
  left: 5px;
  top: 15px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 650;
}

.main-nav a {
  opacity: 0.86;
}

.main-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 11, 18, 0.86) 0%, rgba(7, 11, 18, 0.58) 42%, rgba(7, 11, 18, 0.08) 78%),
    linear-gradient(0deg, rgba(7, 11, 18, 0.42) 0%, rgba(7, 11, 18, 0) 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 92px);
  padding-top: 84px;
}

.eyebrow,
.section-kicker,
.model-label {
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 780;
}

.eyebrow {
  color: #7ef0b9;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 10ch;
  font-size: clamp(54px, 8vw, 108px);
  line-height: 0.92;
  font-weight: 840;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.04;
  font-weight: 810;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.hero-copy {
  width: min(640px, 100%);
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.7;
}

.hero-actions,
.hero-metrics,
.footer-row {
  display: flex;
  align-items: center;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button:focus-visible {
  outline: 3px solid rgba(47, 111, 237, 0.28);
  outline-offset: 3px;
}

.button-primary {
  color: #fff;
  background: var(--blue);
}

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

.hero-metrics {
  gap: clamp(18px, 4vw, 48px);
  flex-wrap: wrap;
  margin: 40px 0 0;
}

.hero-metrics div {
  min-width: 100px;
}

.hero-metrics dt {
  font-size: 25px;
  font-weight: 820;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-band,
.feature-band,
.spec-band,
.scene-band,
.models-band,
.board-band,
.contact-band {
  padding: clamp(64px, 10vw, 116px) 0;
}

.intro-band {
  background: #fff;
}

.brand-logo {
  width: 178px;
  height: auto;
  margin-bottom: 22px;
}

.intro-grid,
.spec-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.intro-grid p,
.section-heading p,
.contact-layout p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

.feature-band {
  background: #eef5f1;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 36px;
}

.feature-grid,
.scene-grid,
.model-grid {
  display: grid;
  gap: 16px;
}

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

.feature-card,
.model-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.feature-card p,
.scene-grid p,
.model-card p,
.model-card li {
  color: var(--muted);
  line-height: 1.72;
}

.feature-token {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 34px;
  margin-bottom: 22px;
  border-radius: 6px;
  color: #fff;
  background: var(--ink);
  font-size: 12px;
  font-weight: 830;
}

.feature-card:nth-child(2) .feature-token {
  background: var(--blue);
}

.feature-card:nth-child(3) .feature-token {
  background: var(--amber);
}

.feature-card:nth-child(4) .feature-token {
  background: var(--green);
}

.spec-band {
  background: #fff;
}

.sticky-heading {
  position: sticky;
  top: 104px;
  margin-bottom: 0;
}

.spec-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.spec-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.spec-tab {
  min-height: 52px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 760;
}

.spec-tab:last-child {
  border-right: 0;
}

.spec-tab.is-active {
  color: #fff;
  background: var(--ink);
}

.spec-content {
  display: none;
  padding: 8px 26px 26px;
}

.spec-content.is-active {
  display: block;
}

.spec-content dl {
  margin: 0;
}

.spec-content div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.spec-content div:last-child {
  border-bottom: 0;
}

.spec-content dt {
  color: var(--ink);
  font-weight: 800;
}

.spec-content dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.scene-band {
  background: #101820;
  color: #fff;
}

.scene-band .section-kicker {
  color: #8be7c0;
}

.scene-band .section-heading p,
.scene-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.scene-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.scene-grid article {
  min-height: 230px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 22px;
}

.models-band {
  background: #f6f2ea;
}

.model-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.model-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  overflow: hidden;
}

.model-card-featured {
  border-color: rgba(47, 111, 237, 0.36);
  box-shadow: var(--shadow);
}

.model-card h3 {
  margin-top: 10px;
  font-size: 30px;
}

.model-image {
  width: 100%;
  height: 170px;
  margin-bottom: 22px;
  object-fit: contain;
}

.model-card ul {
  margin: auto 0 0;
  padding-left: 18px;
}

.board-band {
  color: #fff;
  background: #111827;
}

.board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.board-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
}

.board-layout p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.button-dark {
  color: var(--ink);
  background: #fff;
}

.contact-band {
  background: #fff;
}

.lead-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 30px);
  background: #fbfcfd;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  outline: 0;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.14);
}

.form-submit {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.form-note.is-ready {
  color: var(--ink);
  border-left: 3px solid var(--green);
  padding-left: 12px;
}

.domain-card {
  display: inline-grid;
  gap: 6px;
  margin-top: 24px;
  border-left: 4px solid var(--blue);
  padding: 10px 0 10px 16px;
}

.domain-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.domain-card strong {
  font-size: clamp(24px, 4vw, 36px);
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--dark);
}

.footer-row {
  justify-content: space-between;
  gap: 20px;
}

.footer-row p {
  margin: 0;
}

.footer-row a {
  font-weight: 720;
}

@media (max-width: 980px) {
  .feature-grid,
  .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .spec-layout,
  .board-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

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

@media (max-width: 720px) {
  .site-header {
    height: 64px;
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 18px 22px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 34px rgba(17, 24, 39, 0.12);
    backdrop-filter: blur(16px);
  }

  .site-header.is-open .main-nav {
    display: grid;
  }

  .main-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

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

  .hero-media img {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(7, 11, 18, 0.94) 0%, rgba(7, 11, 18, 0.7) 48%, rgba(7, 11, 18, 0.08) 100%),
      linear-gradient(90deg, rgba(7, 11, 18, 0.44), rgba(7, 11, 18, 0.06));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding: 96px 0 42px;
  }

  h1 {
    font-size: clamp(48px, 14vw, 72px);
  }

  h2 {
    font-size: clamp(30px, 9vw, 44px);
  }

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

  .button {
    width: 100%;
  }

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

  .hero-metrics dt {
    font-size: 19px;
  }

  .feature-grid,
  .scene-grid,
  .model-grid {
    grid-template-columns: 1fr;
  }

  .model-card {
    min-height: 0;
  }

  .scene-grid article {
    min-height: auto;
  }

  .spec-content {
    padding: 4px 18px 18px;
  }

  .spec-content div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
