:root {
  --editorial-violet: #a77af3;
  --editorial-lilac: #d4c0ff;
  --editorial-line: rgba(231, 220, 250, .17);
}

html { scroll-padding-top: 110px; }
body { background: #101014; color: #f5f4f8; }
.shell { width: min(1160px, calc(100% - 48px)); max-width: 1160px; margin-inline: auto; }

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  width: min(1280px, calc(100% - 32px));
  min-height: 72px;
  margin: 12px auto 0;
  padding: 10px clamp(18px, 3vw, 34px);
  border: 1px solid rgba(240, 232, 252, .19);
  border-radius: 19px;
  background: rgba(27, 25, 32, .88);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .25);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.site-header .brand img { width: 34px; height: 34px; object-fit: contain; }
.site-header nav { align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.site-header nav a { transition: color .25s ease, background-color .25s ease; }
.site-header nav a:hover { color: #fff; }
.header-account {
  flex: none;
  white-space: nowrap;
  padding: 12px 20px;
  border-radius: 999px;
  background: #f2ecfb;
  color: #1b1525;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .25s ease, transform .25s ease;
}
.header-account:hover { background: #d9c6fc; color: #17121d; transform: translateY(-1px); }
.header-account:focus-visible { outline: 2px solid #d9c6fc; outline-offset: 4px; }

.hero {
  min-height: 0;
  padding: clamp(38px, 4vw, 56px) 0 clamp(58px, 6vw, 76px);
  background: radial-gradient(70% 75% at 78% 28%, rgba(77, 62, 132, .17), transparent 75%), #101014;
}
.hero-grid { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: center; gap: clamp(26px, 3.5vw, 50px); }
.hero-copy { max-width: 520px; }
.hero h1 {
  max-width: 520px;
  margin-top: 18px;
  font-family: var(--body);
  font-size: clamp(46px, 4.2vw, 54px);
  line-height: 1.04;
  letter-spacing: -.056em;
  text-transform: none;
}
.hero h1 .outline { color: #d5c3f5; -webkit-text-stroke: 0; }
.hero-lead {
  max-width: 490px;
  margin-top: 24px;
  color: #c8c2d0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
}
.hero-actions { margin-top: 30px; }
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 52px;
  padding: 15px 26px;
  border-radius: 999px;
  background: linear-gradient(110deg, #6f3cd6, #a579ef);
  box-shadow: 0 14px 30px rgba(105, 55, 202, .2);
  transition: transform .28s ease, box-shadow .28s ease;
}
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(105, 55, 202, .3); }
.hero-art {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(229, 215, 252, .2);
  border-radius: 24px;
  background: #17182b;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.hero-art::before, .hero-art::after { display: none; }
.hero-art .hero-scene {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transform: none;
  filter: none;
}
.hero-product-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #1b1b2c;
  border-top: 1px solid rgba(226, 220, 247, .14);
}
.hero-product-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 70px;
  padding: 10px 7px;
  color: #f5f3fa;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.hero-product-links a + a { border-left: 1px solid rgba(226, 220, 247, .1); }
.hero-product-links a:hover, .hero-product-links a:focus-visible { background: #282640; }
.hero-product-links img {
  position: static;
  flex: none;
  width: 34px;
  height: 34px;
  max-width: 34px;
  object-fit: contain;
  border-radius: 8px;
  background: #0b0c16;
  transform: none;
  filter: none;
}
.section.about {
  padding-block: clamp(72px, 7vw, 100px);
  background: #f4f2f7;
  color: #1c1922;
}
#about .section-grid, #company .section-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
#about .section-grid > .eyebrow, #company .section-grid > .eyebrow { margin-top: 0; }
.about .eyebrow { color: #70509d; }
.about h2, .company h2 {
  max-width: 950px;
  font-size: clamp(45px, 5.3vw, 68px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.about .outline { color: #8059b4; -webkit-text-stroke: 0; }
.about .section-lead {
  max-width: 790px;
  margin-top: 26px;
  color: #282430;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.43;
}
.about .section-copy { max-width: 740px; color: #625b6b; line-height: 1.7; }
.about .capabilities { margin-top: 28px; }
.about .capabilities span {
  border: 1px solid #ded8e7;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: #393040;
}

.section.products {
  padding-block: clamp(78px, 8vw, 112px);
  background: radial-gradient(65% 65% at 50% 8%, rgba(91, 55, 151, .18), transparent 75%), #111015;
}
.products .section-heading { display: block; max-width: 900px; margin-inline: auto; text-align: center; }
.products .section-heading h2 { font-size: clamp(48px, 5.5vw, 70px); line-height: 1.02; letter-spacing: -.045em; }
.products .section-heading .outline { color: var(--editorial-lilac); -webkit-text-stroke: 0; }
.products .section-heading .section-copy { max-width: 650px; margin: 24px auto 0; color: #bdb6c8; }
#products .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 48px; }
#products .product-card {
  --card-glow: rgba(145, 93, 229, .2);
  min-height: 340px;
  padding: clamp(30px, 3.2vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(224, 209, 245, .17);
  border-radius: 24px;
  background: radial-gradient(circle at 84% 16%, var(--card-glow), transparent 48%), linear-gradient(150deg, #24202d, #17151e 78%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
#products .product-card:nth-child(2) { --card-glow: rgba(51, 130, 219, .22); }
#products .product-card:nth-child(3) { --card-glow: rgba(28, 180, 193, .18); }
#products .product-card:nth-child(4) { --card-glow: rgba(31, 195, 131, .17); }
#products .product-card::before, #products .product-card::after { display: none; }
#products .product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(215, 188, 255, .45);
  box-shadow: 0 28px 60px rgba(0, 0, 0, .27);
}
#products .product-card:focus-visible { outline: 2px solid #cbb0ff; outline-offset: 5px; }
#products .product-status { color: #c7a8fa; letter-spacing: .16em; }
#products .product-card .product-brand { align-items: center; gap: 20px; margin-top: clamp(42px, 5vw, 62px); }
#products .product-card .product-brand img {
  width: 78px;
  height: 78px;
  border-radius: 19px;
  background: #13131a;
  box-shadow: 0 0 0 1px rgba(231, 221, 246, .2), 0 12px 28px rgba(0, 0, 0, .25);
  transition: transform .35s ease;
}
#products .product-card:hover .product-brand img { transform: scale(1.04); }
#products .product-card .product-brand h3 { margin: 0 0 12px; font-size: clamp(32px, 3vw, 44px); line-height: 1.05; }
#products .product-card p { max-width: 360px; color: #c9c3d1; font-size: 18px; line-height: 1.48; }
#products .product-action { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; color: #e3d3ff; letter-spacing: .07em; text-transform: uppercase; }
#products .product-action span { transition: transform .28s ease; }
#products .product-card:hover .product-action span { transform: translate(3px, -3px); }

.section.company { padding-block: clamp(88px, 9vw, 132px); background: #111015; }
.company .section-lead { max-width: 780px; color: #c9c3d1; font-size: clamp(19px, 2.1vw, 26px); line-height: 1.5; }
.company .entity-grid { gap: 22px; margin-top: 48px; }
.company .entity { padding: 28px; border: 1px solid var(--editorial-line); border-radius: 20px; background: #1b1922; }
.company .button-primary { margin-top: 42px; }
.site-footer { background: #0b0b0f; border-top: 1px solid var(--editorial-line); }
.site-footer nav a:hover { color: #d6baff; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy, .hero h1 { max-width: 760px; }
  .hero h1 { font-size: clamp(50px, 7vw, 70px); }
  #products .product-grid { grid-template-columns: 1fr; }
  #products .product-card { min-height: 340px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 126px; }
  .shell { width: calc(100% - 36px); }
  .site-header { top: 8px; width: calc(100% - 20px); min-height: 0; margin: 8px auto 0; padding: 12px 16px 10px; border-radius: 17px; }
  .site-header .brand b { display: inline; }
  .site-header nav { gap: 5px; }
  .site-header nav a:last-child { padding: 5px 0; border-radius: 0; background: none; color: #f5f4f8; }
  .header-account { order: 1; padding: 8px 12px; font-size: 9px; }
  .hero { padding: 40px 0 64px; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(43px, 10vw, 54px); }
  .hero-lead { font-size: 18px; }
  .hero-art { border-radius: 20px; }
  .hero-product-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-product-links a { min-height: 62px; justify-content: flex-start; padding-inline: 12px; }
  .hero-product-links a:nth-child(3) { border-left: 0; }
  .hero-product-links a:nth-child(n + 3) { border-top: 1px solid rgba(226, 220, 247, .1); }
  .hero-product-links img { width: 30px; height: 30px; max-width: 30px; }
  .section.about, .section.products, .section.company { padding-block: 82px; }
  .about h2, .company h2, .products .section-heading h2 { font-size: clamp(42px, 10vw, 58px); }
  .products .section-heading { text-align: left; }
  .products .section-heading .section-copy { margin: 20px 0 0; }
  #products .product-grid { gap: 16px; margin-top: 42px; }
  #products .product-card { min-height: 320px; padding: 27px; border-radius: 20px; }
  #products .product-card .product-brand { gap: 15px; }
  #products .product-card .product-brand { margin-top: 40px; }
  #products .product-card .product-brand img { width: 62px; height: 62px; border-radius: 15px; }
  #products .product-card .product-brand h3 { font-size: clamp(27px, 7vw, 36px); }
  #products .product-card p { font-size: 16px; }
  .company .entity-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header nav a, .header-account, .button-primary, #products .product-card,
  #products .product-card .product-brand img, #products .product-action span,
  .hero-product-links a { transition: none; }
  .button-primary:hover, #products .product-card:hover,
  #products .product-card:hover .product-brand img,
  #products .product-card:hover .product-action span { transform: none; }
}
