:root {
  color-scheme: dark;
  --bg: #020202;
  --text: #f2f2f2;
  --muted: #8f8f8f;
  --line: rgba(255, 255, 255, 0.18);
  --panel: rgba(8, 8, 8, 0.74);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 73% 29%, rgba(255, 255, 255, 0.055), transparent 19rem),
    radial-gradient(circle at 12% 72%, rgba(255, 255, 255, 0.035), transparent 22rem),
    #020202;
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

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

#field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 98px 63px 82px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.22);
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.8);
}

.intro {
  width: min(760px, 100%);
  margin-top: 120px;
}

.intro h1 {
  margin: 0;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.72;
}

.products {
  width: min(1144px, 100%);
  margin-top: 324px;
  margin-left: 1px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 22%),
    var(--panel);
  box-shadow:
    inset 0 0 46px rgba(255, 255, 255, 0.02),
    0 34px 95px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(14px);
}

.product-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 50px;
  align-items: center;
  min-height: 208px;
  margin: 0 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  outline: 0;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.product-row:last-child {
  border-bottom: 0;
}

.product-row:hover,
.product-row:focus-visible {
  color: #fff;
  transform: translateX(8px);
}

.products:has(.product-row:hover) .product-row:not(:hover),
.products:has(.product-row:focus-visible) .product-row:not(:focus-visible) {
  opacity: 0.56;
}

.product-index {
  color: var(--muted);
  font-size: 22px;
  transition: color 180ms ease;
}

.product-copy {
  display: grid;
  gap: 9px;
}

.product-name {
  font-size: 31px;
  line-height: 1.2;
  transition: text-shadow 180ms ease;
}

.product-description {
  font-size: 23px;
  line-height: 1.45;
  transition: color 180ms ease;
}

.product-arrow {
  justify-self: end;
  font-size: 34px;
  line-height: 1;
  transition:
    opacity 180ms ease,
    text-shadow 180ms ease,
    transform 180ms ease;
}

.product-row:hover .product-index,
.product-row:focus-visible .product-index,
.product-row:hover .product-description,
.product-row:focus-visible .product-description {
  color: rgba(255, 255, 255, 0.92);
}

.product-row:hover .product-name,
.product-row:focus-visible .product-name {
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.2);
}

.product-row:hover .product-arrow,
.product-row:focus-visible .product-arrow {
  opacity: 1;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
  transform: translateX(10px);
}

@media (prefers-reduced-motion: reduce) {
  .product-row,
  .product-index,
  .product-name,
  .product-description,
  .product-arrow {
    transition: none;
  }

  .product-row:hover,
  .product-row:focus-visible,
  .product-row:hover .product-arrow,
  .product-row:focus-visible .product-arrow {
    transform: none;
  }
}

.about {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 30px;
  width: min(620px, 100%);
  margin-top: 101px;
  align-items: start;
  color: rgba(255, 255, 255, 0.72);
}

.about p {
  margin: 0;
  font-size: 20px;
  line-height: 1.9;
}

.mark {
  width: 58px;
  height: 58px;
  margin-top: 2px;
  overflow: visible;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.24));
}

.mark polygon,
.mark line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.mark line {
  stroke: rgba(255, 255, 255, 0.44);
}

.mark circle {
  fill: #fff;
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .page-shell {
    padding: 38px 22px 42px;
  }

  .site-header {
    gap: 24px;
  }

  .intro {
    margin-top: 78px;
  }

  .intro h1 {
    font-size: 18px;
    line-height: 1.65;
  }

  .products {
    margin-top: 184px;
    border-radius: 18px;
  }

  .product-row {
    grid-template-columns: 42px minmax(0, 1fr) 32px;
    min-height: 144px;
    margin: 0 22px;
  }

  .product-index {
    font-size: 15px;
  }

  .product-name {
    font-size: 23px;
  }

  .product-description {
    font-size: 16px;
  }

  .product-arrow {
    font-size: 26px;
  }

  .about {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
    margin-top: 72px;
  }

  .mark {
    width: 44px;
    height: 44px;
  }

  .about p {
    font-size: 15px;
    line-height: 1.75;
  }

}

@media (max-width: 520px) {
  .nav-dot {
    width: 9px;
    height: 9px;
  }
}
