:root {
  --bg: #0b0f18;
  --bg-deep: #080c14;
  --surface: #111827;
  --surface-raised: #172033;
  --surface-bright: #202b3e;
  --text: #f3f6fb;
  --muted: #a6b0c2;
  --subtle: #cbd3df;
  --line: rgba(219, 231, 247, 0.12);
  --line-strong: rgba(107, 208, 232, 0.4);
  --cyan: #6bd0e8;
  --blue: #62aee7;
  --violet: #7b61ff;
  --lime: #b7f36a;
  --signal-board: #eaf8ff;
  --signal-ink: #0d1b2d;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

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

.page-shell {
  overflow: clip;
}

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

.nav-wrap {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 15, 24, 0.88);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  /* background: #d9e9e2; */
  object-fit: contain;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: clamp(16px, 2.5vw, 34px);
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.language-switch {
  transition: color 160ms ease;
}

.nav-links a:hover,
.language-switch:hover {
  color: var(--cyan);
}

.nav-actions {
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 4px;
  color: var(--subtle);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 760;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease,
    color 160ms ease;
}

.nav-cta {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(183, 243, 106, 0.7);
  color: var(--lime);
  font-size: 13px;
}

.nav-cta:hover {
  color: var(--bg);
  background: var(--lime);
}

.hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 38%, rgba(123, 97, 255, 0.19), transparent 29%),
    radial-gradient(circle at 5% 93%, rgba(107, 208, 232, 0.12), transparent 24%),
    var(--bg);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 62px 62px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.hero-grid {
  display: grid;
  min-height: min(760px, calc(100vh - 70px));
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.75fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
  padding: clamp(74px, 10vw, 132px) 0 76px;
}

.eyebrow,
.section-index,
.product-kicker,
.step-number,
.faq-label,
.footer-title {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--cyan);
}

.eyebrow::before {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
}

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

h1,
h2,
h3 {
  letter-spacing: -0.045em;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(46px, 5.3vw, 76px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 1;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 34px;
  color: var(--subtle);
  font-size: clamp(17px, 1.55vw, 19px);
  line-height: 1.8;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 51px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-size: 15px;
}

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

.button-primary {
  color: var(--bg);
  background: var(--lime);
}

.button-secondary {
  border-color: rgba(243, 246, 251, 0.27);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--cyan);
  background: rgba(107, 208, 232, 0.1);
}

.arrow {
  font-size: 18px;
  line-height: 1;
}

.signal-board {
  position: relative;
  min-height: 418px;
  overflow: hidden;
  border: 1px solid rgba(107, 208, 232, 0.75);
  background:
    linear-gradient(rgba(13, 27, 45, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 27, 45, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 80% 14%, rgba(123, 97, 255, 0.26), transparent 28%),
    var(--signal-board);
  background-size: 42px 42px, 42px 42px, auto;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.22);
}

.signal-board::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(234, 248, 255, 0.42));
  content: "";
  pointer-events: none;
}

.signal-tag,
.signal-caption {
  position: absolute;
  z-index: 2;
  color: rgba(13, 27, 45, 0.7);
}

.signal-tag {
  top: 19px;
  left: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.signal-caption {
  right: 18px;
  bottom: 17px;
  max-width: 180px;
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.signal-logo {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(105%, 500px);
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
}

.section {
  padding: clamp(78px, 10vw, 130px) 0;
  border-top: 1px solid var(--line);
}

.products-section {
  background: #0e141f;
}

.approach-section {
  background: var(--surface);
}

.knowledge-section {
  background: #0d131e;
}

.faq-section {
  background: var(--surface);
}

.about-section {
  background:
    radial-gradient(circle at 88% 34%, rgba(98, 174, 231, 0.11), transparent 28%),
    var(--bg-deep);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(110px, 0.28fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 68px);
}

.section-index {
  margin-top: 8px;
  color: var(--cyan);
}

h2 {
  max-width: 800px;
  margin-bottom: 16px;
  font-size: clamp(37px, 5vw, 65px);
  font-weight: 760;
  line-height: 1.03;
}

.section-lead {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

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

.product-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent, var(--cyan));
  background: var(--surface-raised);
}

.product-card--cyan {
  --accent: var(--cyan);
}

.product-card--blue {
  --accent: var(--blue);
}

.product-card--violet {
  --accent: var(--violet);
}

.product-kicker {
  color: var(--accent, var(--cyan));
}

.product-card h3 {
  margin-bottom: 13px;
  font-size: clamp(28px, 3vw, 39px);
  font-weight: 740;
  line-height: 1.05;
}

.product-description {
  min-height: 76px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.product-meta {
  margin: 0 0 20px;
  color: var(--subtle);
  font-size: 13px;
}

.product-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent, var(--cyan));
  font-size: 14px;
  font-weight: 800;
}

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

.step {
  min-height: 294px;
  padding: 28px 28px 25px 0;
  border-right: 1px solid var(--line);
}

.step + .step {
  padding-left: 28px;
}

.step:last-child {
  border-right: 0;
}

.step-number {
  color: var(--cyan);
}

.step h3,
.topic-card h3 {
  margin: 54px 0 12px;
  font-size: 25px;
  font-weight: 720;
  line-height: 1.18;
}

.step p,
.topic-card p {
  max-width: 294px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

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

.topic-card {
  min-height: 248px;
  padding: 27px;
  border: 1px solid var(--line);
  background: rgba(23, 32, 51, 0.56);
}

.topic-card h3 {
  margin-top: 46px;
}

.topic-tag {
  color: var(--violet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.knowledge-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.knowledge-footer p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.18fr);
  gap: clamp(42px, 8vw, 124px);
  align-items: start;
}

.faq-label {
  margin-bottom: 19px;
  color: var(--cyan);
}

.faq-layout h2 {
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 34px 22px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 21px;
  right: 2px;
  color: var(--cyan);
  content: "+";
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  max-width: 660px;
  padding-bottom: 23px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.76;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(210px, 0.45fr);
  gap: 32px;
  align-items: end;
}

.about-grid h2 {
  max-width: 720px;
}

.about-copy {
  max-width: 635px;
  margin-bottom: 0;
  color: var(--subtle);
  font-size: 18px;
  line-height: 1.8;
}

.about-aside {
  padding-bottom: 7px;
}

.about-aside p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(110px, 0.62fr));
  gap: 28px;
  padding: 50px 0 28px;
}

.footer-brand p {
  max-width: 300px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer-title {
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 11px;
}

.footer-links {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 25px;
  border-top: 1px solid var(--line);
  color: rgba(166, 176, 194, 0.7);
  font-size: 12px;
}

@media (max-width: 880px) {
  .container {
    width: min(100% - 32px, 680px);
  }

  .nav {
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 76px;
  }

  .signal-board {
    min-height: 330px;
  }

  .section-heading,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .product-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 270px;
  }

  .product-description {
    min-height: auto;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step,
  .step + .step,
  .step:last-child {
    min-height: auto;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child {
    border-bottom: 0;
  }

  .step h3 {
    margin-top: 34px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.25fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 530px) {
  .nav-actions {
    gap: 7px;
  }

  .nav-cta {
    display: none;
  }

  h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .button {
    width: 100%;
  }

  .signal-board {
    min-height: 265px;
  }

  .signal-caption {
    max-width: 138px;
    font-size: 11px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-base {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
