.page-home {
  --page-gap: 72px;
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 48px;
  background: var(--white);
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--orange) 0 58%, var(--yellow) 58% 100%);
  z-index: 2;
}
.page-home .home-hero__grid {
  display: grid;
  gap: 28px;
}
.page-home .home-hero__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding-left: 12px;
  border-left: 3px solid var(--orange);
}
.page-home .home-hero__aside-text {
  font-family: var(--font-index);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--deep-blue);
}
.page-home .home-hero__aside-version,
.page-home .home-hero__aside-archive {
  font-family: var(--font-index);
  font-size: 12px;
  color: var(--gray);
}
.page-home .home-hero__crumb {
  margin-bottom: 14px;
}
.page-home .hero__title {
  max-width: 10em;
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--deep-blue);
}
.page-home .home-hero__lede {
  max-width: 34em;
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--gray);
}
.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.page-home .home-hero__brand-link {
  display: inline-block;
  font-family: var(--font-index);
  font-size: 13px;
  color: var(--deep-blue);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}
.page-home .home-hero__art {
  position: relative;
}
.page-home .home-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
.page-home .home-hero__swoosh {
  position: absolute;
  right: 0;
  bottom: -12px;
  width: 46%;
  height: auto;
  pointer-events: none;
}

.page-home .home-login__box {
  position: relative;
  padding: 28px 24px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
  filter: drop-shadow(0 8px 24px rgba(10, 30, 63, .12));
}
.page-home .home-login__box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 4px;
  background: var(--yellow);
}
.page-home .home-login__label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--gray);
}
.page-home .home-login__row {
  display: grid;
  gap: 10px;
}
.page-home .home-login__input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--deep-blue);
  border-radius: 0;
  padding: 13px 14px;
  background: var(--light-gray);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--dark);
  transition: border-color .2s, box-shadow .2s;
}
.page-home .home-login__input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, .18);
}
.page-home .home-login__btn {
  width: 100%;
  justify-content: center;
}
.page-home .home-login__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-family: var(--font-index);
  font-size: 13px;
  color: var(--deep-blue);
  transition: max-height .4s var(--ease-out), opacity .4s var(--ease-out), margin-top .4s var(--ease-out);
}
.page-home .home-login__status::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: homeLoginPulse 1s infinite var(--ease-out);
}
.page-home .home-login__field:focus-within .home-login__status {
  margin-top: 12px;
  max-height: 40px;
  opacity: 1;
}
.page-home .home-login__note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}
.page-home .home-login__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.page-home .home-section-title {
  margin: 8px 0 6px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  color: var(--deep-blue);
}
.page-home .home-aside__note {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
}

.page-home .home-guide__columns {
  display: grid;
  gap: 28px;
}
.page-home .home-guide__visual {
  margin: 0;
}
.page-home .home-guide__visual img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin: 0 auto;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}
.page-home .home-guide__details {
  max-width: 560px;
}
.page-home .home-guide__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.page-home .home-guide__date {
  margin-left: auto;
  font-family: var(--font-index);
  font-size: 12px;
  color: var(--gray);
}
.page-home .home-guide__details > p {
  color: var(--gray);
  line-height: 1.75;
}
.page-home .home-guide__fold {
  margin: 18px 0;
  padding: 14px 0;
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}
.page-home .home-guide__fold summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-index);
  font-size: 14px;
  font-weight: 700;
  color: var(--deep-blue);
}
.page-home .home-guide__fold summary::-webkit-details-marker {
  display: none;
}
.page-home .home-guide__fold summary::before {
  content: "+";
  display: inline-block;
  width: 1.4em;
  color: var(--orange);
  font-weight: 700;
}
.page-home .home-guide__fold[open] summary::before {
  content: "–";
}
.page-home .home-guide__fold ul {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--gray);
  line-height: 1.9;
}
.page-home .home-guide__note {
  display: block;
  margin-top: 10px;
  font-family: var(--font-index);
  font-size: 12px;
  color: var(--gray);
}
.page-home .home-guide__cta {
  margin-top: 16px;
}

.page-home .home-products__banner {
  display: grid;
  gap: 18px;
  margin-bottom: 26px;
}
.page-home .home-products__banner-text {
  max-width: 560px;
}
.page-home .home-products__intro {
  margin: 8px 0 0;
  color: var(--gray);
  line-height: 1.7;
}
.page-home .home-products__visual {
  margin: 0;
}
.page-home .home-products__visual img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.page-home .home-products__grid {
  display: grid;
  gap: 18px;
}
.page-home .product-card {
  position: relative;
  padding: 24px 24px 28px;
  background: var(--light-gray);
  transition: transform .3s var(--ease-out), background .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.page-home .product-card:hover {
  transform: translateY(-5px);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.page-home .product-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  border-left: 20px solid transparent;
  border-bottom: 20px solid var(--yellow);
  transition: border-bottom-color .3s var(--ease-out);
}
.page-home .product-card:hover::after {
  border-bottom-color: var(--orange);
}
.page-home .product-card__index {
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--orange);
}
.page-home .product-card h3 {
  margin: 8px 0 6px;
  font-size: 20px;
  color: var(--deep-blue);
}
.page-home .product-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray);
}
.page-home .product-card__link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-index);
  font-size: 13px;
  color: var(--deep-blue);
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
}
.page-home .home-products__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}
.page-home .home-products__faq {
  font-family: var(--font-index);
  font-size: 13px;
  color: var(--deep-blue);
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 2px;
}

.page-home .home-stats__head {
  max-width: 640px;
  margin-bottom: 28px;
}
.page-home .home-stats__intro {
  margin: 8px 0 0;
  color: var(--gray);
  line-height: 1.7;
}
.page-home .home-stats__grid {
  display: grid;
  gap: 28px;
}
.page-home .home-stats__numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.page-home .stat-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  background: var(--light-orange);
  border-left: 4px solid var(--orange);
}
.page-home .stat-cell__num {
  font-family: var(--font-index);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--deep-blue);
}
.page-home .stat-cell__label {
  font-size: 13px;
  color: var(--gray);
}
.page-home .home-stats__chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 220px;
  padding: 20px 12px 0;
  margin-bottom: 8px;
  background: var(--light-gray);
  border-left: 2px solid var(--deep-blue);
  border-bottom: 2px solid var(--deep-blue);
}
.page-home .chart-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  min-height: 40px;
  padding-top: 8px;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--orange) 100%);
  clip-path: inset(0 0 0 0);
}
.page-home .chart-bar span {
  font-family: var(--font-index);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--deep-blue);
}
.page-home .chart-bar em {
  margin-top: auto;
  padding-bottom: 6px;
  font-style: normal;
  font-family: var(--font-index);
  font-size: 11px;
  color: var(--deep-blue);
  opacity: .85;
}
.page-home .chart-bar--1 {
  height: 42%;
}
.page-home .chart-bar--2 {
  height: 56%;
}
.page-home .chart-bar--3 {
  height: 72%;
}
.page-home .chart-bar--4 {
  height: 88%;
}
.page-home .home-stats__chart[data-reveal="visible"] .chart-bar {
  animation: homeBarUp .7s var(--ease-out) both;
}
.page-home .home-stats__chart[data-reveal="visible"] .chart-bar--2 {
  animation-delay: .08s;
}
.page-home .home-stats__chart[data-reveal="visible"] .chart-bar--3 {
  animation-delay: .16s;
}
.page-home .home-stats__chart[data-reveal="visible"] .chart-bar--4 {
  animation-delay: .24s;
}
.page-home .home-stats__aside {
  display: flex;
  flex-direction: column;
}
.page-home .home-stats__visual {
  margin: 0;
}
.page-home .home-stats__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}
.page-home .home-stats__visual figcaption {
  margin-top: 8px;
  padding-left: 10px;
  border-left: 3px solid var(--orange);
  font-family: var(--font-index);
  font-size: 12px;
  color: var(--gray);
}
.page-home .home-stats__link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-index);
  font-size: 13px;
  color: var(--deep-blue);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
}

.page-home .home-news {
  color: var(--white);
}
.page-home .home-news .home-aside__note {
  color: rgba(255, 255, 255, .7);
}
.page-home .home-news .home-section-title {
  color: var(--white);
}
.page-home .home-news__more {
  margin-top: 16px;
  background: var(--yellow);
  color: var(--deep-blue);
}
.page-home .news-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .news-item {
  position: relative;
  padding: 20px 0 20px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.page-home .news-item:first-child {
  padding-top: 0;
}
.page-home .news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  width: 12px;
  height: 12px;
  background: var(--yellow);
  transform: rotate(45deg);
}
.page-home .news-item__tag {
  display: inline-block;
  padding: 3px 8px;
  background: var(--orange);
  font-family: var(--font-index);
  font-size: 12px;
  color: var(--white);
}
.page-home .news-item h3 {
  margin: 8px 0 6px;
  font-size: 20px;
  line-height: 1.3;
  color: var(--white);
}
.page-home .news-item p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .72);
}
.page-home .news-item__link {
  font-family: var(--font-index);
  font-size: 13px;
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 2px;
}

.page-home .home-connect {
  padding: 36px 0;
  background: var(--light-orange);
}
.page-home .home-connect__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.page-home .home-connect__text {
  margin: 0;
  max-width: 34em;
  font-weight: 600;
  color: var(--deep-blue);
}

@keyframes homeLoginPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: .35;
    transform: scale(.7);
  }
}
@keyframes homeBarUp {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@media (min-width: 640px) {
  .page-home .home-login__row {
    grid-template-columns: 1fr auto;
  }
  .page-home .home-login__btn {
    width: auto;
    min-width: 150px;
  }
  .page-home .home-products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .product-card--wide {
    grid-column: span 2;
  }
  .page-home .home-stats__numbers {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 860px) {
  .page-home .home-guide__columns {
    grid-template-columns: 320px 1fr;
    gap: 40px;
  }
  .page-home .home-products__banner {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }
  .page-home .home-products__visual {
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    padding: 56px 0 64px;
  }
  .page-home .home-hero__grid {
    grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 44px;
    align-items: center;
  }
  .page-home .home-hero__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-left: 0;
    padding-top: 10px;
    border-left: none;
    border-top: 3px solid var(--orange);
  }
  .page-home .home-hero__aside-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: .22em;
  }
  .page-home .home-hero__art {
    margin-top: 0;
  }
  .page-home .home-products__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .product-card--wide {
    grid-column: span 2;
  }
  .page-home .home-stats__grid {
    grid-template-columns: minmax(220px, 1fr) minmax(240px, 1.1fr) minmax(260px, 1.2fr);
    gap: 32px;
    align-items: start;
  }
  .page-home .home-stats__numbers {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-stats__chart[data-reveal="visible"] .chart-bar,
  .page-home .home-login__status::before {
    animation: none;
  }
}
