:root {
  color-scheme: dark;
  --color-bg: #08090c;
  --color-surface: #101218;
  --color-surface-raised: #171a22;
  --color-line: rgba(255, 255, 255, 0.11);
  --color-text: #f5f7fb;
  --color-muted: #a4a9b6;
  --accent-solo: #ff304f;
  --accent-ml: #ff593d;
  --accent-shutdown: #35a7ff;
  --content-width: 1180px;
  --header-height: 76px;
  --radius-large: 32px;
  --radius-medium: 18px;
  --shadow-large: 0 32px 90px rgba(0, 0, 0, 0.42);
  font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 28px);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--color-text);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 48, 79, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 78%, rgba(53, 167, 255, 0.08), transparent 30rem),
    var(--color-bg);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

p,
h1,
h2,
h3,
li,
a,
button {
  overflow-wrap: anywhere;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 12px 18px;
  color: #08090c;
  background: #fff;
  border-radius: 10px;
  transform: translateY(-150%);
}

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

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  padding: 12px max(24px, calc((100vw - var(--content-width)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 12, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  width: max-content;
  min-height: 44px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.site-header nav a,
footer > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-header nav a:hover,
footer > a:hover {
  color: #fff;
}

.language-switch {
  display: flex;
  justify-self: end;
  padding: 4px;
  border: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.language-switch button {
  min-width: 44px;
  min-height: 36px;
  padding: 0 12px;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: 0;
  background: transparent;
  border-radius: 999px;
}

.language-switch button[aria-pressed="true"] {
  color: #090a0d;
  background: #fff;
}

main,
footer {
  width: min(calc(100% - 48px), var(--content-width));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  padding-block: clamp(82px, 12vw, 148px);
}

.hero__content {
  position: relative;
  z-index: 2;
}

.eyebrow,
.product__number {
  margin: 0 0 20px;
  color: var(--product-accent, var(--accent-solo));
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(3.6rem, 8vw, 7.5rem);
  font-weight: 830;
  line-height: 0.89;
  letter-spacing: -0.068em;
}

h1 strong {
  display: block;
  color: transparent;
  background: linear-gradient(95deg, #fff 8%, #ff536d 50%, #ff253f 90%);
  background-clip: text;
  -webkit-background-clip: text;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero__lead,
.section-heading > p:last-child,
.about > p:last-child {
  max-width: 680px;
  color: var(--color-muted);
  font-size: clamp(1.03rem, 1.8vw, 1.28rem);
  line-height: 1.72;
}

.hero__actions,
.product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero__actions {
  margin-top: 38px;
}

.platform-note {
  color: #7f8492;
  font-size: 0.85rem;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--product-accent, var(--accent-solo)) 72%, #fff 10%);
  background: color-mix(in srgb, var(--product-accent, var(--accent-solo)) 82%, #050608 18%);
  border-radius: 12px;
  box-shadow: 0 12px 36px color-mix(in srgb, var(--product-accent, var(--accent-solo)) 22%, transparent);
  transition: transform 180ms ease, filter 180ms ease, border-color 180ms ease;
}

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

.button--ghost {
  color: var(--color-text);
  border-color: var(--color-line);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.button--disabled {
  color: #8e93a0;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.1);
  background: repeating-linear-gradient(-45deg, #191c23 0 8px, #15171d 8px 16px);
  box-shadow: none;
  opacity: 0.78;
}

.button--disabled:hover {
  filter: none;
  transform: none;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
}

.hero__visual::before,
.hero__visual::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.hero__visual::before {
  inset: 9%;
  animation: spin 28s linear infinite;
  border-top-color: rgba(255, 48, 79, 0.65);
  border-right-color: rgba(53, 167, 255, 0.35);
}

.hero__visual::after {
  inset: 23%;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.hero__mark {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: clamp(4.4rem, 10vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  text-shadow: 0 0 55px rgba(255, 48, 79, 0.35);
}

.orb {
  position: absolute;
  width: 44%;
  aspect-ratio: 1;
  filter: blur(75px);
  border-radius: 50%;
  opacity: 0.28;
}

.orb--red {
  top: 12%;
  left: 6%;
  background: var(--accent-solo);
}

.orb--blue {
  right: 5%;
  bottom: 10%;
  background: var(--accent-shutdown);
}

.products {
  padding-block: 100px 70px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 72px;
}

.product {
  --product-accent: var(--accent-solo);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  min-width: 0;
  margin-bottom: clamp(52px, 8vw, 110px);
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-large);
}

.product::after {
  position: absolute;
  inset: auto -15% -55% 20%;
  height: 65%;
  pointer-events: none;
  content: "";
  background: var(--product-accent);
  filter: blur(100px);
  border-radius: 50%;
  opacity: 0.08;
}

.product--solo {
  --product-accent: var(--accent-solo);
}

.product--ml-solo {
  --product-accent: var(--accent-ml);
}

.product--shutdown {
  --product-accent: var(--accent-shutdown);
}

.product:nth-of-type(odd) .product__visual {
  order: 2;
}

.product__visual {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: #0c0e12;
}

.product__visual::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(8, 9, 12, 0.1), rgba(8, 9, 12, 0.5));
}

.product__visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.product:hover .product__visual > img {
  transform: scale(1.025);
}

.product__visual--screenshot {
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--product-accent) 12%, transparent), transparent 62%),
    #07080b;
}

.product__visual--screenshot::after {
  display: none;
}

.product__visual--screenshot > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.42);
}

.product:hover .product__visual--screenshot > img {
  transform: none;
}

.product__visual--icon {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(53, 167, 255, 0.22), transparent 38%),
    linear-gradient(145deg, #0b1726, #090b11 70%);
}

.product__visual--icon > img {
  width: min(46%, 250px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 40px rgba(53, 167, 255, 0.24));
}

.product__content {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  padding: clamp(40px, 6vw, 76px);
}

.product__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 32px;
  border: 1px solid color-mix(in srgb, var(--product-accent) 48%, transparent);
  background: color-mix(in srgb, var(--product-accent) 10%, #101218);
  border-radius: 20px;
}

.product__icon img {
  max-width: 56px;
  max-height: 56px;
  object-fit: contain;
}

.product__tagline {
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 720;
}

.product__content > p:not(.product__number, .product__tagline, .status-pill) {
  color: var(--color-muted);
  line-height: 1.7;
}

.feature-list {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  color: #d9dce4;
  font-size: 0.93rem;
}

.feature-list li::before {
  position: absolute;
  top: 0.48em;
  left: 2px;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--product-accent);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--product-accent);
}

.product__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 20px;
  margin-bottom: 24px;
  color: #8f94a1;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.76rem;
  border-top: 1px solid var(--color-line);
}

.product__meta span:not(:last-child)::after {
  padding-left: 16px;
  color: #434751;
  content: "/";
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  margin-bottom: 20px;
  color: #a9dbff;
  font-size: 0.78rem;
  font-weight: 750;
  border: 1px solid rgba(53, 167, 255, 0.34);
  background: rgba(53, 167, 255, 0.08);
  border-radius: 999px;
}

.about {
  position: relative;
  max-width: 920px;
  padding-block: clamp(90px, 14vw, 180px);
}

.about::before {
  position: absolute;
  top: 60px;
  left: -20vw;
  z-index: -1;
  width: 70vw;
  height: 70%;
  content: "";
  background: radial-gradient(circle, rgba(255, 48, 79, 0.11), transparent 68%);
  filter: blur(30px);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 36px;
  align-items: center;
  padding-block: 28px 42px;
  color: var(--color-muted);
  border-top: 1px solid var(--color-line);
}

footer p {
  margin: 0;
  font-size: 0.82rem;
}

.brand--footer img {
  width: 36px;
  height: 36px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr minmax(250px, 0.58fr);
    gap: 30px;
  }

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

  .product:nth-of-type(odd) .product__visual {
    order: 0;
  }

  .product__visual {
    min-height: 430px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding-inline: 18px;
  }

  .site-header nav {
    display: none;
  }

  .brand {
    font-size: 0.72rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  main,
  footer {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .hero {
    display: block;
    min-height: auto;
    padding-block: 86px 72px;
  }

  .hero__visual {
    max-width: 390px;
    margin: 48px auto 0;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 5.2rem);
  }

  .products {
    padding-block: 68px 40px;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .product {
    margin-bottom: 36px;
    border-radius: 22px;
  }

  .product__visual {
    min-height: 270px;
  }

  .product__content {
    padding: 30px 24px 34px;
  }

  .product__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .product__actions .button {
    width: 100%;
  }

  .product__meta span:not(:last-child)::after {
    padding-left: 8px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
