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

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  background: #fcfcfb;
}

body {
  display: flex;
  flex-direction: column;
  isolation: isolate;
  min-height: 100vh;
  background: transparent;
  color: #050505;
  font-family: Menlo, ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 14px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(5, 5, 5, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(5, 5, 5, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, transparent 0 46%, #000 82%);
  mask-image: radial-gradient(circle at 50% 40%, transparent 0 46%, #000 82%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fcfcfb;
  box-shadow: 0 4px 16px rgba(5, 5, 5, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.spotlight__title {
  font-size: 24px;
  }

.brand__logo {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.brand__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.login,
.spotlight__link,
.onion__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: #050505;
  color: #f7f7f5;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.login::before,
.spotlight__link::before,
.onion__link::before {
  content: "";
  box-sizing: content-box;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border: 2px solid rgba(212, 212, 212, 0.65);
  border-radius: 50%;
  background: #fff;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.login:hover,
.spotlight__link:hover,
.onion__link:hover {
  background: #fff;
  color: #050505;  
  box-shadow: 0 1px 4px rgba(5, 5, 5, 0.12);
}

.login:hover::before,
.spotlight__link:hover::before,
.onion__link:hover::before {
  background: #2ebd5a;
  border-color: rgba(46, 189, 90, 0.55);
}

.login:focus-visible,
.spotlight__link:focus-visible,
.onion__link:focus-visible,
.brand:focus-visible,
.tile:focus-visible,
.popup__close:focus-visible,
.popup__link:focus-visible,
.popup__copy:focus-visible,
.popup__copy-all:focus-visible,
.popup__save:focus-visible {
  outline: 2px solid #050505;
  outline-offset: 3px;
}

.popup {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: 20px;
  background: #fcfcfb;
  color: #050505;
  box-shadow: 0 24px 64px rgba(5, 5, 5, 0.18);
  overflow: auto;
}

.popup::backdrop {
  background: rgba(5, 5, 5, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.popup__panel {
  position: relative;
  padding: 28px 28px 32px;
}

.popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #80808045;
  border-radius: 50%;
  background: transparent;
  color: #050505;
  cursor: pointer;
}

.popup__close::before,
.popup__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: currentColor;
}

.popup__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.popup__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.popup__close:hover {
  background: rgba(5, 5, 5, 0.06);
}

.popup__head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 22px;
}

.popup__logo {
  display: block;
  width: 32px;
  height: 32px;
}

.popup__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.popup__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.popup__tab {
  display: flex;
  align-items: stretch;
  min-height: 52px;
  border: 1px solid #80808045;
  border-radius: 12px;
  background: #fcfcfb;
  color: #050505;
  overflow: hidden;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.popup__main {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  background: #fcfcfb;
  color: #050505;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.popup__main:hover {
  background: #050505;
  color: #f7f7f5;
}

.popup__link {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding: 0 10px 0 12px;
  overflow: hidden;
  color: inherit;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.popup__link.is-copied {
  color: #2ebd5a;
  text-decoration: none;
}

.popup__arrow {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
  align-self: center;
  margin-right: 10px;
  color: rgba(5, 5, 5, 0.55);
}

.popup__main:hover .popup__arrow {
  color: rgba(247, 247, 245, 0.7);
}

.popup__copy {
  display: grid;
  place-items: center;
  width: 40px;
  flex: none;
  padding: 0;
  border: none;
  border-left: 1px solid #80808045;
  border-radius: 0;
  background: #fcfcfb;
  color: rgba(5, 5, 5, 0.55);
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.popup__copy:hover {
  background: #e4e4e2;
}

.popup__copy svg {
  display: block;
  width: 16px;
  height: 16px;
  transform: scaleX(-1);
}

.popup__wide {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.popup__lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
  padding: 10px 10px 10px 12px;
}

.popup__lead-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.popup__tab--wide .popup__link {
  padding: 0;
}

.popup__tor {
  display: block;
  width: 28px;
  height: 28px;
  flex: none;
}

.popup__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(5, 5, 5, 0.45);
}

.popup__main:hover .popup__note {
  color: rgba(247, 247, 245, 0.55);
}

.popup__copy-all,
.popup__save {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  background: #050505;
  color: #f7f7f5;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.popup__copy-all {
  margin-top: 16px;
}

.popup__save {
  margin-top: 8px;
}

.popup__copy-all:hover,
.popup__save:hover {
  background: #fff;
  color: #050505;
  box-shadow: 0 1px 4px rgba(5, 5, 5, 0.12);
}

.popup__copy-all svg,
.popup__save svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
}

.popup__copy-all svg {
  transform: scaleX(-1);
}

.popup__copy-all.is-copied,
.popup__save.is-saved {
  color: #2ebd5a;
}

.hero {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 28px 48px;
}

.hero__copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 20px;
}

.catalog {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.footer {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 28px 36px;
}

.footer__copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(5, 5, 5, 0.45);
  text-align: center;
}

.band {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px 28px;
  align-items: start;
  padding: 48px 0;
}

.band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(5, 5, 5, 0.14);
  transform-origin: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
  pointer-events: none;
}

.band:hover::before {
  transform: scaleY(2);
  background: rgba(5, 5, 5, 0.5);
}

.band__no {
  display: inline-block;
  margin: 0;
  padding-top: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  color: rgba(5, 5, 5, 0.38);
  transform-origin: left center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.band:hover .band__no {
  transform: scale(1.1);
  color: #050505;
}

.kinds__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kinds__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0 20px;
  border-left: 1px solid rgba(5, 5, 5, 0.14);
}

.kinds__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.kinds__icon {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
}

.kinds__title {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.tiles__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
}

.tiles__title {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.tiles__heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tiles__text {
  max-width: 62ch;
  margin: 0;
}

.tiles__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 118px;
  padding: 14px 12px;
  border: none;
  border-radius: 12px;
  background: #050505;
  color: #f7f7f5;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.tile__icon {
  display: block;
  width: 28px;
  height: 28px;
  flex: none;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.18s ease;
}

.tile:hover {
  background: #fff;
  color: #050505;
  box-shadow: 0 1px 4px rgba(5, 5, 5, 0.12);
}

.tile:hover .tile__icon {
  filter: brightness(0);
}

.faq__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
}

.faq__title {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.faq__list {
  width: 100%;
  border-top: 1px solid rgba(5, 5, 5, 0.14);
}

.faq__item {
  border-bottom: 1px solid rgba(5, 5, 5, 0.14);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  background:
    linear-gradient(#050505, #050505) center / 12px 1.5px no-repeat,
    linear-gradient(#050505, #050505) center / 1.5px 12px no-repeat;
  transition: transform 0.2s ease;
}

.faq__question:hover::after {
  transform: scale(1.15);
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__item[open] .faq__question:hover::after {
  transform: rotate(45deg) scale(1.15);
}

.faq__question:focus-visible {
  outline: 2px solid #050505;
  outline-offset: 3px;
}

.faq__answer {
  max-width: 68ch;
  margin: 0 0 18px;
  color: rgba(5, 5, 5, 0.72);
}

.closing {
  padding: 56px 0 16px;
  text-align: center;
}

.closing__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.closing__text {
  max-width: 52ch;
  margin: 14px auto 0;
}

.onion__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.onion__heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.onion__icon {
  display: block;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
}

.onion__title {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.onion__text {
  max-width: 68ch;
  margin: 0;
}

.onion__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.onion__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.onion__facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #7e4798;
  box-shadow: 0 0 0 2px rgba(126, 71, 152, 0.28);
}

.spotlight__image {
  width: min(46%, 420px)  font-size: 46px;;
  height: auto;
  flex: 0 1 420px;
  border-radius: 16px;
}

.hero__print {
  display: flex;
  align-items: center;
  min-height: 28px;
  margin: 0;
}

.hero__line {
  margin: 0;
}

.hero__phrase {
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.hero__phrase.is-typing::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-left: 2px;
  background: currentColor;
  vertical-align: -0.08em;
  animation: caret-blink 0.75s steps(1) infinite;
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__phrase.is-typing::after {
    content: none;
  }
}

.hero__title {
  max-width: 18ch;
  margin: 0;
    font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero__text {
  max-width: 62ch;
  margin: 0;
  font-size: 14px;
}

.hero__status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  max-width: 62ch;
  margin: 0;
  padding: 0;
  list-style: none;
    font-size: 17px;
  line-height: 1.4;
  color: rgba(5, 5, 5, 0.55);
}

.hero__status li + li::before {
  content: "·";
  margin: 0 0.75em;
  color: rgba(5, 5, 5, 0.28);
}

.hero__status b {
  font-weight: 700;
  color: #050505;
}

.hero__live {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

.hero__pulse {
  position: relative;
  flex: none;
  width: 10.5px;
  height: 10.5px;
  border-radius: 50%;
  background: #2ebd5a;
}

.hero__pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #2ebd5a;
  animation: hero-pulse 1.6s ease-out infinite;
}

@keyframes hero-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }

  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__pulse::after {
    animation: none;
  }
}

@media (max-width: 860px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .hero__copy {
    align-items: center;
    text-align: center;
  }

  .hero__status {
    justify-content: center;
  }

  .spotlight__image {
    width: 100%;
    flex-basis: auto;
  }

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

  .kinds__item,
  .kinds__item:first-child {
    padding: 14px 0;
    border-left: 0;
    border-top: 1px solid rgba(5, 5, 5, 0.14);
  }

  .kinds__item:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .tiles__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header__inner {
    padding: 14px 16px;
  }

  .brand__logo {
    width: 28px;
    height: 28px;
  }

  .brand__name {
    font-size: 15px;
  }

  .login,
  .spotlight__link,
  .onion__link {
    padding: 8px 12px;
    font-size: 13px;
  }

  .popup__panel {
    padding: 22px 16px 20px;
  }

  .popup__tabs {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .hero {
    padding: 24px 16px 32px;
  }

  .hero__print {
    min-height: 24px;
    margin-bottom: 8px;
  }

  .catalog {
    padding: 0 16px;
  }

  .footer {
    padding: 8px 16px 28px;
  }

  .band {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 32px 0;
  }

  .band__no {
    padding-top: 0;
  }

  .onion__inner {
    gap: 14px;
  }

  .onion__icon {
    width: 48px;
    height: 48px;
  }

  .tiles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .tile {
    min-height: 104px;
    padding: 12px 10px;
  }

  .tile__icon {
    width: 24px;
    height: 24px;
  }
}
