.page-home .section {
  padding-block: 56px;
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-950);
  padding: 32px 0 44px;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .home-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
}

.page-home .home-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(rgba(154, 176, 198, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(125deg, #000 4%, transparent 62%);
  mask-image: linear-gradient(125deg, #000 4%, transparent 62%);
  opacity: 0.55;
  pointer-events: none;
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(58% 52% at 22% 20%, rgba(240, 180, 41, 0.15), transparent 70%),
    radial-gradient(48% 46% at 88% 76%, rgba(53, 230, 210, 0.13), transparent 72%),
    linear-gradient(180deg, rgba(6, 11, 20, 0.5), var(--ink-950) 94%);
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.page-home .home-hero__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.page-home .home-hero__ctx,
.page-home .home-hero__tip,
.page-home .home-hero__ver {
  margin: 0;
}

.page-home .home-hero__ctx {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-3);
}

.page-home .home-hero__ver {
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-home .home-hero__rule {
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--rose-deep));
}

.page-home .home-hero__tip {
  font-size: 13px;
  color: var(--text-2);
}

.page-home .home-hero__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--amber);
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 12.5vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-home .home-hero__line {
  display: block;
}

.page-home .home-hero__line--alt {
  color: var(--amber);
}

.page-home .home-hero__lede {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
}

.page-home .home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .home-head {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.page-home .home-head__text {
  display: grid;
  gap: 8px;
}

.page-home .home-head__text .section__title,
.page-home .home-head__text .section__note {
  margin: 0;
}

.page-home .home-entry__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-home .home-entry__item {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 22px 24px 26px 28px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(158deg, var(--ink-800), var(--ink-900));
  clip-path: var(--radius-cut);
  transition: transform 0.22s ease, background 0.22s ease;
}

.page-home .home-entry__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--amber);
}

.page-home .home-entry__item:nth-child(2)::before {
  background: var(--cyan);
}

.page-home .home-entry__item:nth-child(3)::before {
  background: var(--rose);
}

.page-home .home-entry__item:nth-child(6)::before {
  background: var(--rose);
}

.page-home .home-entry__item:hover,
.page-home .home-entry__item:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(158deg, var(--ink-800), #16283e);
}

.page-home .home-entry__num {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-3);
}

.page-home .home-entry__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}

.page-home .home-entry__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
  padding-right: 22px;
}

.page-home .home-entry__arrow {
  position: absolute;
  right: 20px;
  bottom: 18px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--text-3);
  transition: transform 0.22s ease, color 0.22s ease;
}

.page-home .home-entry__item:hover .home-entry__arrow,
.page-home .home-entry__item:focus-visible .home-entry__arrow {
  transform: translateX(4px);
  color: var(--amber);
}

.page-home .home-cats__body {
  display: grid;
  gap: 26px;
}

.page-home .home-cats__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-home .home-cat {
  --acc: var(--amber);
  display: grid;
  gap: 8px;
  padding: 22px 22px 24px;
  clip-path: var(--radius-cut);
  background: var(--ink-900);
}

.page-home .home-cat:nth-child(2),
.page-home .home-cat:nth-child(5) {
  --acc: var(--cyan);
}

.page-home .home-cat:nth-child(3),
.page-home .home-cat:nth-child(6) {
  --acc: var(--rose);
}

.page-home .home-cat__idx {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--acc);
}

.page-home .home-cat .card__title {
  position: relative;
  margin: 0;
  padding-bottom: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.page-home .home-cat .card__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background: var(--acc);
}

.page-home .home-cat .card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-2);
}

.page-home .home-cats__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  clip-path: var(--radius-cut);
  background: var(--ink-900);
}

.page-home .home-cats__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(205deg, transparent 52%, rgba(53, 230, 210, 0.18));
  pointer-events: none;
}

.page-home .home-cats__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

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

.page-home .home-shift__copy {
  display: grid;
  gap: 14px;
}

.page-home .home-shift__copy .section__index,
.page-home .home-shift__copy .section__title,
.page-home .home-shift__lede {
  margin: 0;
}

.page-home .home-shift__lede {
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-2);
}

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

.page-home .home-shift__list li {
  position: relative;
  padding-left: 74px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-2);
}

.page-home .home-shift__list .mono {
  position: absolute;
  left: 0;
  top: 3px;
  width: 58px;
  padding: 3px 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-950);
  background: var(--amber);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.page-home .home-shift__copy .btn {
  justify-self: start;
  margin-top: 6px;
}

.page-home .home-shift__media {
  margin: 0;
  --ratio: 1200 / 750;
  overflow: hidden;
  clip-path: var(--radius-cut);
  background: var(--ink-900);
}

.page-home .home-shift__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-log__banner {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.page-home .home-log__banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  opacity: 0.6;
}

.page-home .home-log__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 20, 0.35), var(--ink-950) 90%);
  pointer-events: none;
}

.page-home .home-log__strip {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding: 22px 0 26px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-steel) transparent;
}

.page-home .home-log__strip::-webkit-scrollbar {
  height: 6px;
}

.page-home .home-log__strip::-webkit-scrollbar-thumb {
  background: var(--line-steel);
  border-radius: 999px;
}

.page-home .home-log__track {
  display: flex;
  gap: 14px;
  width: max-content;
  margin: 0;
  padding: 0 20px;
  list-style: none;
}

.page-home .home-log__item {
  flex: 0 0 auto;
  width: 278px;
  padding: 18px 20px 20px;
  background: var(--ink-900);
  border-left: 2px solid var(--line-steel);
  clip-path: var(--radius-cut);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.page-home .home-log__item:hover {
  background: var(--ink-800);
  border-left-color: var(--cyan);
}

.page-home .home-log__ver {
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-home .home-log__time {
  margin-left: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

.page-home .home-log__desc {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-2);
}

.page-home .home-log__foot {
  margin-top: 8px;
}

.page-home .home-why__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-steel);
  border: 1px solid var(--line-steel);
}

.page-home .home-why__stat {
  display: grid;
  gap: 8px;
  padding: 24px 20px 22px;
  background: var(--ink-900);
}

.page-home .home-why__stat .stat__value {
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--amber);
}

.page-home .home-why__stat:nth-child(2) .stat__value {
  color: var(--cyan);
}

.page-home .home-why__stat:nth-child(3) .stat__value {
  color: var(--text);
}

.page-home .home-why__stat:nth-child(4) .stat__value {
  color: var(--rose);
}

.page-home .home-why__stat .stat__label {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-2);
}

.page-home .home-why__notes {
  margin: 22px 0 0;
  padding: 20px 22px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-2);
  background: var(--ink-900);
  border-left: 3px solid var(--amber);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.page-home .home-faq__list {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.page-home .home-faq__item {
  background: var(--ink-900);
  border: 1px solid var(--line-steel);
  clip-path: var(--radius-cut);
}

.page-home .home-faq__q {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 18px 54px 18px 22px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text);
}

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

.page-home .home-faq__q::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--amber);
}

.page-home .home-faq__item[open] .home-faq__q::after {
  content: "−";
  color: var(--cyan);
}

.page-home .home-faq__a {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
}

.page-home .home-help__panel {
  display: grid;
  gap: 26px;
  padding: 30px 22px 32px;
  background: linear-gradient(150deg, var(--ink-800), var(--ink-900) 72%);
}

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

.page-home .home-help__copy .section__index,
.page-home .home-help__copy .section__title {
  margin: 0;
}

.page-home .home-help__copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
}

.page-home .home-help__meta {
  display: grid;
  gap: 14px;
  margin: 0;
}

.page-home .home-help__meta dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-3);
}

.page-home .home-help__meta dd {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text);
  word-break: break-word;
}

.page-home .home-help__panel > .btn {
  justify-self: start;
}

@media (min-width: 620px) {
  .page-home .home-entry__grid,
  .page-home .home-cats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .section {
    padding-block: 84px;
  }

  .page-home .home-hero {
    padding: 40px 0 0;
  }

  .page-home .home-hero__inner {
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 48px;
    padding-block: 36px 64px;
  }

  .page-home .home-hero__aside {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 14px;
  }

  .page-home .home-head {
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: start;
    gap: 8px 24px;
    margin-bottom: 46px;
  }

  .page-home .home-why__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .home-help__panel {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 38px;
    padding: 44px 40px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-entry__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .home-cats__body {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-home .home-shift__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 46px;
    align-items: center;
  }
}

@media (min-width: 1240px) {
  .page-home .home-log__track {
    padding-inline: calc((100vw - 1200px) / 2 + 20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-entry__item,
  .page-home .home-entry__arrow,
  .page-home .home-log__item {
    transition: none;
  }

  .page-home .home-entry__item:hover,
  .page-home .home-entry__item:focus-visible {
    transform: none;
  }

  .page-home .home-entry__item:hover .home-entry__arrow,
  .page-home .home-entry__item:focus-visible .home-entry__arrow {
    transform: none;
  }
}
