:root {
  color-scheme: dark;
  --bg: #090c12;
  --bg-deep: #07090e;
  --surface: #10151d;
  --surface-strong: #141b25;
  --line: #252d39;
  --line-soft: #1a212b;
  --text: #f3f5f8;
  --muted: #9ba5b2;
  --muted-strong: #c1c7d0;
  --gold: #ffc437;
  --gold-soft: #dfaa27;
  --shell: 1380px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p, dl, dd, figure { margin-top: 0; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  padding: .65rem 1rem;
  border-radius: .5rem;
  color: var(--bg);
  background: var(--gold);
  transform: translateY(-180%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(calc(100% - 4rem), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(9, 12, 18, .96);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-weight: 800;
  letter-spacing: .075em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  color: var(--muted-strong);
  font-size: .9rem;
}

.main-nav a,
.lang-switch button,
.text-link {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible { color: var(--gold); }

.lang-switch {
  justify-self: end;
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.lang-switch button {
  min-width: 42px;
  min-height: 34px;
  padding: 0 .65rem;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  color: var(--bg);
  background: var(--gold);
  font-weight: 760;
}

.hero {
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-deep);
}

.hero-grid {
  min-height: 600px;
  padding-block: clamp(2.75rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: minmax(370px, .72fr) minmax(0, 1.7fr);
  align-items: center;
  gap: clamp(2.5rem, 3.5vw, 3.5rem);
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.45rem;
}

.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(255, 196, 55, .1);
}

h1 {
  max-width: 560px;
  margin-bottom: 1.35rem;
  font-size: clamp(2.65rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 820;
}

.hero-lead {
  max-width: 540px;
  margin-bottom: 1.8rem;
  color: var(--muted-strong);
  font-size: 1.02rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.button {
  min-height: 48px;
  padding: .72rem 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-size: .92rem;
  font-weight: 760;
  transition: transform .2s var(--ease), background-color .2s ease, border-color .2s ease;
}

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

.button-primary {
  color: #090b10;
  background: var(--gold);
  box-shadow: 0 14px 38px rgba(255, 196, 55, .12);
}

.button-primary:hover { background: #ffd363; }

.text-link {
  color: var(--muted-strong);
  font-size: .9rem;
  font-weight: 680;
}

.button:focus-visible,
.main-nav a:focus-visible,
.lang-switch button:focus-visible,
.text-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.hero-facts {
  margin: 2.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}

.hero-facts div {
  padding-left: .75rem;
  border-left: 1px solid #725a21;
}

.hero-facts dt {
  color: var(--text);
  font-size: .88rem;
  font-weight: 750;
}

.hero-facts dd {
  margin: .1rem 0 0;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.5;
}

.product-figure {
  min-width: 0;
  margin: 0;
}

.product-frame {
  overflow: hidden;
  border: 1px solid #5f4b20;
  border-radius: 14px;
  background: #111722;
  box-shadow: 0 34px 85px rgba(0, 0, 0, .42), 0 0 48px rgba(255, 187, 48, .07);
}

.product-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 3438 / 1710;
  object-fit: contain;
  object-position: center;
}

.product-figure figcaption {
  margin-top: .8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .74rem;
}

.capability-section,
.method-section,
.boundary-section,
.closing-section {
  scroll-margin-top: 88px;
}

.capability-section {
  padding-block: 2rem 3rem;
  border-bottom: 1px solid var(--line-soft);
}

.section-intro {
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 3rem;
}

.section-intro h2,
.method-copy h2,
.boundary-heading h2,
.closing-inner h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  line-height: 1.16;
  letter-spacing: -.035em;
}

.section-intro h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.8rem);
}

.section-intro > p {
  max-width: 590px;
  margin-bottom: .3rem;
  color: var(--muted);
}

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

.capability-item {
  min-height: 170px;
  padding: 1.6rem clamp(1.4rem, 2.5vw, 2.5rem);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  border-right: 1px solid var(--line);
}

.capability-item:last-child { border-right: 0; }

.item-index {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #66501d;
  border-radius: 50%;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 800;
}

.capability-item h3,
.method-steps h3,
.boundary-grid h3 {
  margin-bottom: .55rem;
  font-size: 1.08rem;
}

.capability-item p,
.method-steps p,
.boundary-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.75;
}

.method-section {
  padding-block: clamp(4.5rem, 7vw, 7rem);
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(560px, 1.2fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.method-copy > p:last-child {
  max-width: 510px;
  margin: 1.25rem 0 0;
  color: var(--muted);
}

.method-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.method-steps li {
  padding: 1.35rem 0;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.method-steps > li > span {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.boundary-section { padding-block: clamp(4.5rem, 7vw, 7rem); }

.boundary-panel {
  display: grid;
  grid-template-columns: .74fr 1.26fr;
  border: 1px solid #4e401f;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
}

.boundary-heading {
  padding: clamp(2rem, 4vw, 4rem);
  border-right: 1px solid var(--line);
}

.boundary-heading > p:last-child {
  margin: 1.25rem 0 0;
  color: var(--muted);
}

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

.boundary-grid article {
  padding: clamp(2rem, 3vw, 3rem) clamp(1.4rem, 2.4vw, 2.3rem);
  border-right: 1px solid var(--line);
}

.boundary-grid article:last-child { border-right: 0; }

.boundary-grid article > span {
  display: block;
  margin-bottom: 2.4rem;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.closing-section {
  padding-block: 3.25rem;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-deep);
}

.closing-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr auto;
  align-items: center;
  gap: 2.5rem;
}

.closing-inner h2 { font-size: clamp(1.8rem, 2.7vw, 3rem); }
.closing-inner > p { margin-bottom: 0; color: var(--muted); }

.site-footer { background: #07090d; }

.footer-inner {
  min-height: 118px;
  display: grid;
  grid-template-columns: auto minmax(300px, 1fr) auto;
  align-items: center;
  gap: 3rem;
  color: var(--muted);
  font-size: .78rem;
}

.footer-brand { color: var(--text); font-size: .84rem; }
.footer-brand img { width: 32px; height: 32px; border-radius: 7px; }
.footer-inner p { margin-bottom: 0; }
.footer-inner > p:nth-child(2) { justify-self: center; max-width: 680px; text-align: center; }
.copyright { white-space: nowrap; }

@media (max-width: 1160px) {
  .hero-grid {
    grid-template-columns: minmax(330px, .8fr) minmax(480px, 1.2fr);
    gap: 2.5rem;
  }

  h1 { font-size: clamp(2.55rem, 4vw, 3rem); }

  .boundary-panel { grid-template-columns: 1fr; }
  .boundary-heading { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .shell { width: min(calc(100% - 2.5rem), var(--shell)); }
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .hero-copy { max-width: 650px; }
  .product-figure { width: 100%; }

  .section-intro,
  .method-layout,
  .closing-inner { grid-template-columns: 1fr; }

  .section-intro { gap: 1rem; }
  .capability-grid { grid-template-columns: 1fr; }

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

  .capability-item:last-child { border-bottom: 0; }

  .boundary-grid { grid-template-columns: 1fr; }
  .boundary-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .boundary-grid article:last-child { border-bottom: 0; }

  .closing-inner { gap: 1.2rem; }
  .closing-inner .button { width: fit-content; }

  .footer-inner {
    padding-block: 2rem;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-inner > p:nth-child(2) { justify-self: start; text-align: left; }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 2rem), var(--shell)); }
  .header-inner { min-height: 64px; }
  .brand { gap: .6rem; font-size: .83rem; }
  .brand img { width: 34px; height: 34px; border-radius: 8px; }
  .lang-switch button { min-width: 36px; min-height: 31px; padding: 0 .5rem; font-size: .78rem; }

  .hero-grid { padding-block: 3rem; }
  h1 { font-size: clamp(2.05rem, 8.8vw, 2.6rem); }
  .hero-lead { font-size: .95rem; }

  .hero-facts { grid-template-columns: 1fr; gap: .75rem; }
  .product-frame { border-radius: 9px; }

  .product-figure figcaption {
    display: grid;
    gap: .25rem;
  }

  .capability-item { padding-inline: 0; grid-template-columns: 44px 1fr; }
  .method-steps li { grid-template-columns: 44px 1fr; }
  .boundary-panel { border-radius: 12px; }
  .boundary-heading,
  .boundary-grid article { padding: 1.75rem; }
  .boundary-grid article > span { margin-bottom: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
