:root {
  --bg: #07080c;
  --bg-2: #0d1016;
  --panel: rgba(16, 19, 27, 0.72);
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef1f6;
  --muted: #8d95a5;
  --cyan: #3ce6c8;
  --violet: #9b7cff;
  --gold: #e4c07a;
  --max: 1180px;
  --nav: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3 {
  font-family: Syne, "IBM Plex Sans", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 700;
  max-width: 18ch;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

p {
  margin: 0;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  pointer-events: none;
  position: fixed;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  z-index: 0;
}

.orb-a {
  top: -10vw;
  right: -8vw;
  background: #3ce6c8;
}

.orb-b {
  bottom: -12vw;
  left: -10vw;
  background: #6a4dff;
}

.nav,
main,
.foot {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  backdrop-filter: blur(16px);
  background: rgba(7, 8, 12, 0.72);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Syne, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-pills {
  display: flex;
}

.lang-select-wrap {
  display: none;
}

.lang-select-wrap select {
  appearance: none;
  background-color: #0b0e14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%233ce6c8' d='M1.2 1.2 6 6l4.8-4.8L12 2.4 6 8.4 0 2.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
  color: var(--cyan);
  color-scheme: dark;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 28px 7px 12px;
  min-width: 68px;
  font: 500 0.7rem "IBM Plex Mono", monospace;
  cursor: pointer;
}

.lang button {
  background: transparent;
  color: var(--muted);
  border: 0;
  padding: 6px 8px;
  min-width: 34px;
  font: 500 0.7rem "IBM Plex Mono", monospace;
  cursor: pointer;
}

.lang button.active {
  background: #161a24;
  color: var(--cyan);
}

.yt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #ff0000;
  flex-shrink: 0;
}

.yt svg {
  width: 16px;
  height: 16px;
}

.yt:hover {
  border-color: #ff0000;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.yt-note {
  margin: 18px 0 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
}

.yt-note a {
  color: var(--cyan);
}

.yt-note a:hover {
  text-decoration: underline;
}

.hero-meta a {
  color: var(--muted);
}

.hero-meta a:hover {
  color: var(--cyan);
}

.foot-yt {
  color: var(--cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, var(--cyan), #7ee0ff 40%, var(--violet));
  color: #07110f;
  font-family: Syne, sans-serif;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  cursor: pointer;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 9px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 1.5px;
  background: #fff;
  margin: 6px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 28px 24px;
}

.eyebrow,
.kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.lead,
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 58ch;
  margin-top: 18px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

.hero-visual {
  margin: 0;
  position: relative;
}

.hero-visual img,
.media:not(.slider) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid var(--line);
  min-height: 420px;
  max-height: 560px;
}

.hero-visual figcaption,
.media figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 8, 12, 0.7);
  backdrop-filter: blur(10px);
  font-size: 0.8rem;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
  margin-top: 28px;
}

.strip article {
  background: var(--bg);
  padding: 28px;
}

.strip strong {
  display: block;
  font-family: Syne, sans-serif;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.strip span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.strip span + span,
.strip span + .patent-link {
  margin-top: 8px;
}

.patent-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.patent-link::after {
  content: "↗";
  font-size: 0.85em;
  line-height: 1;
}

.patent-link:hover {
  color: #7ee0ff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.section,
.strip {
  scroll-margin-top: calc(var(--nav) + 12px);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 28px 24px;
}

.section-head {
  margin-bottom: 40px;
}

.about-copy {
  display: grid;
  gap: 18px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.split.about-split {
  align-items: center;
}

.about-split .about-copy {
  max-width: none;
}

.about-split .media img {
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

.media {
  margin: 0;
  position: relative;
}

.media.wide img {
  min-height: 480px;
}

.slider {
  align-self: start;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #ece7dc;
  width: 100%;
}

.slider-viewport {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.slider .slider-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: #ece7dc;
  pointer-events: none;
  user-select: none;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(7, 8, 12, 0.72);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}

.slider-btn svg {
  width: 18px;
  height: 18px;
}

.slider-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.slider-prev {
  left: 12px;
}

.slider-next {
  right: 12px;
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 8, 12, 0.28);
  cursor: pointer;
}

.slider-dots button.active {
  background: var(--cyan);
  width: 22px;
  border-radius: 999px;
}

.slider-photo {
  background: #0b0e14;
}

.slider-photo .slider-viewport {
  aspect-ratio: 3 / 2;
}

.slider-photo .slider-track img {
  object-fit: contain;
  background: #0b0e14;
}

.slider-gallery {
  --gallery-slide: 56%;
  --gallery-gap: 18px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.slider-gallery .slider-viewport {
  overflow: hidden;
  aspect-ratio: auto;
  max-height: none;
  padding: 12px 0 56px;
}

.slider-gallery .slider-track {
  display: flex;
  align-items: center;
  gap: var(--gallery-gap);
  height: auto;
}

.slider-gallery .carousel-slide {
  flex: 0 0 var(--gallery-slide);
  aspect-ratio: 3 / 4;
  max-height: 70vh;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #0b0e14;
  transform: scale(0.86);
  opacity: 0.42;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.slider-gallery .carousel-slide.is-active {
  transform: scale(1);
  opacity: 1;
  cursor: default;
}

.slider-gallery.is-jumping .slider-track,
.slider-gallery.is-jumping .carousel-slide {
  transition: none;
}

.slider-gallery .slider-track img,
.slider-gallery .carousel-slide img {
  flex: none;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: #0b0e14;
  pointer-events: none;
  user-select: none;
}

.slider-count {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 2;
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(7, 8, 12, 0.72);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  transform: translateX(-50%);
  pointer-events: none;
}

.slider-gallery .slider-btn {
  top: calc(50% - 16px);
}

.slider-gallery[data-single] .slider-btn {
  display: none;
}

.slider-gallery[data-single] .carousel-slide {
  flex-basis: min(56%, 420px);
  margin: 0 auto;
  cursor: default;
}

.news h2 {
  max-width: 28ch;
}

.stack,
.grid-2 {
  display: grid;
  gap: 14px;
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  backdrop-filter: blur(12px);
}

.card p,
.spec b {
  color: var(--muted);
  font-weight: 400;
}

.spec {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.spec li {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}

.spec span {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.offer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.offer > div {
  min-height: 180px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(60, 230, 200, 0.12), transparent 40%),
    var(--panel);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
}

.contact-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  color: var(--text);
}

.contact-links a:hover {
  border-color: rgba(60, 230, 200, 0.4);
  color: var(--cyan);
}

.contact-links svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--cyan);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

.form .full,
.form button,
.form-note {
  grid-column: 1 / -1;
}

.form input,
.form select,
.form textarea {
  background: #0a0c12;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 12px;
  font: inherit;
}

.form-note {
  color: var(--cyan);
  margin: 0;
}

.contact-aside {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #0b0e14;
}

.aside-title {
  font-family: Syne, sans-serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.contact-aside p + p {
  margin-top: 14px;
}

.contact-aside a {
  color: var(--cyan);
}

.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

.foot {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px 28px 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 28px;
}

.foot-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 -28px;
  padding: 16px 28px;
  background: #000;
  font-size: 0.78rem;
}

.foot-credit-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.foot-credit-logo img {
  height: 18px;
  width: auto;
  filter: invert(1);
  opacity: 0.82;
}

.foot-credit-logo:hover img {
  opacity: 1;
}

.foot-credit-link:hover {
  color: var(--cyan);
}

@media (max-width: 1180px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--nav) - 8px);
    right: 16px;
    left: auto;
    width: min(260px, calc(100vw - 32px));
    flex-direction: column;
    gap: 0;
    background: #0b0e14;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 8px 0;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 18px;
  }

  .burger {
    display: block;
  }

  .lang {
    border: 0;
    overflow: visible;
    background: none;
  }

  .lang-pills {
    display: none;
  }

  .lang-select-wrap {
    display: block;
  }
}

@media (max-width: 1020px) {
  .strip,
  .offer,
  .contact-grid,
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 860px) {
  .slider-gallery {
    --gallery-slide: 74%;
    --gallery-gap: 10px;
  }

  .hero,
  .split,
  .split.reverse,
  .strip,
  .offer,
  .contact-grid,
  .grid-2,
  .form {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .hero-visual img,
  .media:not(.slider) img,
  .media.wide img {
    min-height: 260px;
    max-height: 360px;
  }

  .about-split .media img {
    min-height: 0;
    max-height: none;
  }

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