.page-home {
  --home-mute-light: #8FA2C0;
  --home-deep-2: #132C4F;
  background: var(--c-light);
  overflow-x: hidden;
}

.page-home img {
  max-width: 100%;
}

.page-home .home-quickbar {
  position: relative;
  background: linear-gradient(115deg, var(--c-deep) 0%, var(--home-deep-2) 65%, #173958 100%);
  color: #fff;
  padding: 30px 16px 46px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%);
  overflow: hidden;
}

.page-home .home-quickbar::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -40px;
  width: 260px;
  height: 260px;
  background: repeating-linear-gradient(45deg, rgba(255, 107, 53, .16) 0 10px, transparent 10px 20px);
  transform: rotate(8deg);
}

.page-home .home-quickbar__shell {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
}

.page-home .home-quickbar__headline {
  position: relative;
  margin-bottom: 26px;
}

.page-home .home-title {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.08;
  margin: 14px 0 8px;
  letter-spacing: .01em;
}

.page-home .home-quickbar__lead {
  color: var(--home-mute-light);
  font-size: 15px;
  line-height: 1.7;
  max-width: 44ch;
  margin: 0;
}

.page-home .home-quickbar__grid {
  display: grid;
  gap: 16px;
}

.page-home .home-quickbar__card {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 10px;
  text-decoration: none;
  color: var(--c-ink);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .home-quickbar__card:hover,
.page-home .home-quickbar__card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .2);
}

.page-home .home-quickbar__img {
  width: 96px;
  height: 108px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.page-home .home-quickbar__body {
  display: grid;
  gap: 4px;
  align-content: center;
  padding-right: 4px;
}

.page-home .home-quickbar__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-orange);
  text-transform: uppercase;
}

.page-home .home-quickbar__kicker--gold {
  color: var(--c-gold);
}

.page-home .home-quickbar__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
}

.page-home .home-quickbar__desc {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.55;
}

.page-home .home-quickbar__go {
  font-weight: 700;
  font-size: 13px;
  color: var(--c-deep);
}

.page-home .home-quickbar__card:hover .home-quickbar__go {
  color: var(--c-orange);
}

.page-home .home-section-head {
  margin-bottom: 28px;
}

.page-home .section-kicker {
  color: var(--c-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.page-home .home-section-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--c-ink);
  margin: 0;
}

.page-home .home-section-desc {
  color: var(--c-muted);
  margin: 8px 0 0;
  max-width: 56ch;
  line-height: 1.65;
  font-size: 15px;
}

.page-home .site-container {
  padding: 0 16px;
}

.page-home .home-catalog {
  background:
    radial-gradient(circle at 88% 12%, rgba(212, 175, 55, .08), transparent 42%),
    var(--c-light);
  padding: 48px 0;
}

.page-home .home-catalog__shell {
  padding: 0 16px;
}

.page-home .home-catalog__layout {
  display: grid;
  gap: 30px;
}

.page-home .home-catalog__visual {
  position: relative;
  max-width: 620px;
}

.page-home .home-catalog__pic {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.page-home .home-catalog__visual::before {
  content: "";
  position: absolute;
  left: -10px;
  bottom: -10px;
  width: 76%;
  height: 88%;
  border-radius: var(--radius-lg);
  background: repeating-linear-gradient(45deg, rgba(255, 107, 53, .16) 0 8px, transparent 8px 18px);
  z-index: 0;
}

.page-home .home-catalog__accordion {
  display: grid;
  gap: 12px;
}

.page-home .home-catalog__item {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line);
  box-shadow: 0 4px 14px rgba(11, 29, 58, .05);
  overflow: hidden;
}

.page-home .home-catalog__toggle {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
}

.page-home .home-catalog__toggle::-webkit-details-marker {
  display: none;
}

.page-home .home-catalog__num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--c-orange);
}

.page-home .home-catalog__label {
  color: var(--c-ink);
  font-size: 16px;
  font-weight: 700;
}

.page-home .home-catalog__meta {
  color: var(--c-muted);
  font-size: 12px;
  line-height: 1.3;
  text-align: right;
}

.page-home .home-catalog__arrow {
  display: inline-flex;
  color: var(--c-muted);
}

.page-home .home-catalog__arrow svg {
  transition: transform .3s var(--ease);
}

.page-home .home-catalog__item[open] .home-catalog__arrow svg {
  transform: rotate(180deg);
  color: var(--c-orange);
}

.page-home .home-catalog__panel {
  padding: 0 16px 18px 42px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-muted);
}

.page-home .home-catalog__panel p {
  margin: 0 0 12px;
}

.page-home .home-catalog__panel .btn {
  margin-top: 4px;
}

.page-home .home-compat {
  position: relative;
  background: var(--c-deep);
  padding: 52px 0;
  overflow: hidden;
}

.page-home .home-compat::before,
.page-home .home-compat::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--c-orange);
  opacity: .1;
}

.page-home .home-compat::before {
  width: 320px;
  height: 320px;
  right: -110px;
  top: -110px;
}

.page-home .home-compat::after {
  width: 200px;
  height: 200px;
  left: -70px;
  bottom: -60px;
  background: var(--c-gold);
}

.page-home .home-compat .home-section-title,
.page-home .home-compat .home-section-desc {
  color: #fff;
}

.page-home .home-compat .home-section-desc {
  color: var(--home-mute-light);
}

.page-home .home-compat .site-container {
  position: relative;
  z-index: 1;
}

.page-home .home-compat__panel {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.page-home .home-compat__query {
  margin-bottom: 20px;
}

.page-home .home-compat__label {
  display: block;
  color: #b8c6de;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.page-home .home-compat__row {
  display: flex;
  gap: 10px;
}

.page-home .home-compat__input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .18);
  background: #fff;
  color: var(--c-ink);
  padding: 0 14px;
  font-size: 15px;
  font-family: var(--font-body);
}

.page-home .home-compat__input:focus {
  outline: 2px solid var(--c-orange);
  outline-offset: 2px;
}

.page-home .home-compat__btn {
  height: 46px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .04em;
  position: relative;
}

.page-home .home-compat__btn::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 107, 53, .4);
  animation: home-compat-pulse 2s var(--ease) infinite;
}

.page-home .home-compat__hint {
  color: #7f91ad;
  font-size: 13px;
  line-height: 1.6;
  margin: 12px 0 0;
}

.page-home .home-compat__result {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-compat__result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.page-home .home-compat__result-name {
  color: #e6edf8;
  font-weight: 600;
  font-size: 15px;
}

.page-home .home-gateways {
  padding: 52px 0;
  background:
    linear-gradient(120deg, rgba(212, 175, 55, .05), transparent 30%),
    var(--c-light);
}

.page-home .home-gateway {
  display: block;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  padding: 22px;
  text-decoration: none;
  color: var(--c-ink);
  box-shadow: 0 6px 18px rgba(11, 29, 58, .06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative;
  overflow: hidden;
}

.page-home .home-gateway::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--c-orange);
  opacity: .09;
}

.page-home .home-gateway:hover,
.page-home .home-gateway:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 107, 53, .4);
}

.page-home .home-gateway__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--c-deep);
  color: var(--c-orange);
  margin-bottom: 16px;
}

.page-home .home-gateway:nth-child(2) .home-gateway__icon {
  background: var(--c-orange);
  color: #fff;
}

.page-home .home-gateway:nth-child(3) .home-gateway__icon {
  background: var(--c-gold);
  color: var(--c-deep);
}

.page-home .home-gateway:nth-child(4) .home-gateway__icon {
  background: var(--c-blue);
  color: #fff;
}

.page-home .home-gateway:nth-child(5) .home-gateway__icon {
  background: var(--c-ink);
  color: var(--c-gold);
}

.page-home .home-gateway .card-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.page-home .home-gateway .card-text {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.page-home .home-updates {
  padding: 52px 0;
  background: var(--c-ink);
  color: #fff;
}

.page-home .home-updates .home-section-title {
  color: #fff;
}

.page-home .home-updates .home-section-desc {
  color: var(--home-mute-light);
}

.page-home .home-updates__layout {
  display: grid;
  gap: 28px;
}

.page-home .home-update-card {
  background: #101a2a;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-home .home-update-card__img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-home .home-update-card__body {
  padding: 6px 20px 22px;
}

.page-home .home-update-card__title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  margin: 10px 0;
}

.page-home .home-update-card__body > p {
  color: #a8b4c9;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.page-home .home-update-card__body .btn--ghost {
  color: var(--c-orange);
  border-color: rgba(255, 107, 53, .45);
}

.page-home .home-update-card__body .btn--ghost:hover {
  background: rgba(255, 107, 53, .08);
}

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

.page-home .home-update-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.page-home .home-update-item a {
  color: #d7e0ef;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.55;
}

.page-home .home-update-item a:hover {
  color: var(--c-orange);
}

.page-home .home-metrics {
  background: linear-gradient(135deg, var(--c-orange) 0%, #ff8546 100%);
  padding: 44px 0;
}

.page-home .home-metrics__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 16px;
}

.page-home .home-metric {
  text-align: center;
  color: #fff;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.page-home .home-metric__num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.page-home .home-metric__label {
  font-size: 13px;
  line-height: 1.4;
  opacity: .9;
  max-width: 13ch;
}

@keyframes home-compat-pulse {
  0% {
    transform: scale(1);
    opacity: .7;
  }
  100% {
    transform: scale(1.05, 1.2);
    opacity: 0;
  }
}

@media (min-width: 768px) {
  .page-home .site-container {
    padding: 0 24px;
  }

  .page-home .home-quickbar {
    padding: 44px 24px 60px;
  }

  .page-home .home-quickbar__grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-quickbar__card {
    grid-template-columns: 132px 1fr;
  }

  .page-home .home-quickbar__img {
    width: 132px;
    height: 148px;
  }

  .page-home .home-catalog__layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .page-home .home-catalog__pic {
    height: 400px;
  }

  .page-home .home-compat__panel {
    padding: 24px;
  }

  .page-home .home-compat__result {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-updates__layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }

  .page-home .home-update-card__img {
    height: 280px;
  }

  .page-home .home-metrics__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-home .home-quickbar__shell {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 40px;
    align-items: center;
  }

  .page-home .home-quickbar__headline {
    margin-bottom: 0;
  }

  .page-home .home-quickbar__card {
    grid-template-columns: 150px 1fr;
  }

  .page-home .home-quickbar__img {
    width: 150px;
    height: 162px;
  }

  .page-home .home-catalog {
    padding: 64px 0;
  }

  .page-home .home-catalog__shell {
    padding: 0 24px;
  }

  .page-home .home-catalog__pic {
    height: 480px;
  }

  .page-home .home-section-title {
    font-size: 36px;
  }

  .page-home .home-catalog__accordion {
    gap: 14px;
  }

  .page-home .home-compat {
    padding: 68px 0;
  }

  .page-home .home-compat .site-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .home-compat .home-section-head {
    margin-bottom: 0;
  }

  .page-home .home-gateways {
    padding: 64px 0;
  }

  .page-home .home-gateways__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-updates {
    padding: 64px 0;
  }

  .page-home .home-metrics__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
