.page-home {
  --home-section-gap: 72px;
  --home-edge: clamp(20px, 4vw, 44px);
  position: relative;
  background: var(--color-space);
  color: var(--color-ice);
  overflow-x: hidden;
}

.page-home .breadcrumb {
  padding: calc(var(--header-h-mobile) + 18px) 0 8px;
}

.page-home .home-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 24px 0 72px;
  overflow: hidden;
  background: var(--color-space);
  clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
}

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

.page-home .hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(115deg, rgba(255, 107, 53, 0.09) 0 1px, transparent 1px 24px);
}

.page-home .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(105deg, rgba(10, 28, 62, 0.78) 0%, rgba(10, 28, 62, 0.52) 62%, rgba(15, 59, 74, 0.86) 100%),
    linear-gradient(180deg, rgba(10, 28, 62, 0.42) 0%, rgba(10, 28, 62, 0.88) 100%);
}

.page-home .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.2) contrast(1.08);
}

.page-home .hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-home .hero-copy {
  max-width: 720px;
}

.page-home .hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 7.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0.012em;
  margin: 18px 0 22px;
  color: var(--color-ice);
}

.page-home .hero-lead {
  color: var(--color-slate);
  font-size: 17px;
  line-height: 1.7;
  max-width: 46ch;
  margin: 0 0 28px;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero-index {
  padding: 20px 22px;
  border: 1px solid rgba(240, 245, 255, 0.22);
  border-left: 3px solid var(--color-gold);
  background: rgba(10, 28, 62, 0.55);
  backdrop-filter: blur(10px);
}

.page-home .hero-index-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.page-home .hero-mark {
  color: var(--color-orange);
  flex: 0 0 auto;
}

.page-home .hero-index-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(240, 245, 255, 0.12);
  color: var(--color-ice);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.page-home .hero-index-item:last-child {
  border-bottom: 0;
}

.page-home .hero-index-item:hover {
  color: var(--color-gold);
  padding-left: 6px;
}

.page-home .hero-index-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-orange);
  min-width: 28px;
}

.page-home .hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--color-slate);
  padding-bottom: 28px;
}

.page-home .hero-scroll-hint::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 22px;
  background: linear-gradient(var(--color-orange), transparent);
  transform: translateX(-50%);
}

.page-home .chapter-nav {
  position: sticky;
  top: var(--header-h-mobile);
  z-index: 30;
  background: rgba(10, 28, 62, 0.86);
  border-bottom: 1px solid rgba(245, 179, 0, 0.22);
  backdrop-filter: blur(12px);
}

.page-home .chapter-list-wrap {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}

.page-home .chapter-list-wrap::-webkit-scrollbar {
  display: none;
}

.page-home .chapter-link {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(240, 245, 255, 0.2);
  color: var(--color-slate);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.page-home .chapter-link:hover,
.page-home .chapter-link.is-active {
  border-color: var(--color-orange);
  color: var(--color-ice);
  background: rgba(255, 107, 53, 0.14);
}

.page-home .home-section {
  position: relative;
  padding: var(--home-section-gap) 0;
}

.page-home .section-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
}

.page-home .section-index {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.9;
  color: rgba(245, 179, 0, 0.16);
  -webkit-text-stroke: 1px rgba(245, 179, 0, 0.85);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.page-home .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.8vw, 3rem);
  line-height: 1.02;
  color: var(--color-ice);
  margin: 6px 0 0;
}

.page-home .section-lead {
  color: var(--color-slate);
  font-size: 16px;
  line-height: 1.7;
  max-width: 64ch;
  margin: 0 0 28px;
}

.page-home .subscribe-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}

.page-home .subscribe-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .subscribe-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.page-home .subscribe-card h3 {
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--color-ice);
}

.page-home .subscribe-card p {
  color: var(--color-slate);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 18px;
}

.page-home .subscribe-card .btn {
  margin-top: auto;
}

.page-home .subscribe-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.page-home .subscribe-stats .stat-block {
  padding: 18px 12px;
  background: rgba(15, 59, 74, 0.5);
  border: 1px solid rgba(240, 245, 255, 0.1);
}

.page-home .subscribe-stats .stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1;
  color: var(--color-orange);
}

.page-home .subscribe-stats .stat-label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-slate);
}

.page-home .apple-grid,
.page-home .register-grid,
.page-home .feedback-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-home .section-apple {
  background: linear-gradient(135deg, var(--color-deep) 0%, var(--color-space) 68%);
}

.page-home .section-register {
  background: var(--color-space);
}

.page-home .section-register::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-orange));
}

.page-home .section-feedback {
  background: linear-gradient(135deg, var(--color-wine) 0%, var(--color-indigo) 100%);
}

.page-home .apple-steps {
  list-style: none;
  counter-reset: apple;
  padding: 0;
  margin: 0 0 28px;
}

.page-home .apple-steps li {
  counter-increment: apple;
  position: relative;
  padding: 12px 0 12px 46px;
  border-bottom: 1px solid rgba(240, 245, 255, 0.14);
  color: var(--color-ice);
  font-size: 15px;
  line-height: 1.55;
}

.page-home .apple-steps li:last-child {
  border-bottom: 0;
}

.page-home .apple-steps li::before {
  content: counter(apple, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-gold);
}

.page-home .register-list,
.page-home .feedback-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.page-home .register-list li,
.page-home .feedback-list li {
  position: relative;
  padding-left: 26px;
  color: var(--color-ice);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 12px;
}

.page-home .register-list li::before,
.page-home .feedback-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  background: var(--color-orange);
  transform: rotate(45deg);
}

.page-home .section-feedback .feedback-list li::before {
  background: var(--color-gold);
}

.page-home .apple-figure,
.page-home .register-figure,
.page-home .feedback-figure {
  margin: 0;
}

.page-home .apple-figure img,
.page-home .register-figure img,
.page-home .feedback-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .register-frame {
  aspect-ratio: 4 / 3;
}

.page-home figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--color-slate);
  margin-top: 12px;
}

.page-home .section-journey {
  background: var(--color-space);
}

.page-home .journey-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.page-home .journey-list li {
  position: relative;
  padding: 18px 0 18px 30px;
  border-left: 2px solid rgba(245, 179, 0, 0.35);
  color: var(--color-slate);
  font-size: 15px;
  line-height: 1.65;
}

.page-home .journey-list li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 24px;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245, 179, 0, 0.18);
}

.page-home .journey-list strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--color-gold);
  margin-right: 14px;
}

.page-home .journey-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .page-home {
    --home-section-gap: 120px;
    --home-edge: clamp(24px, 5vw, 64px);
  }

  .page-home .breadcrumb {
    padding-top: calc(var(--header-h) + 24px);
  }

  .page-home .home-hero {
    min-height: 720px;
    padding-top: 32px;
    clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
  }

  .page-home .hero-inner {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 64px;
    align-items: center;
  }

  .page-home .hero-index {
    margin-top: 4rem;
  }

  .page-home .hero-index-item {
    font-size: 16px;
  }

  .page-home .hero-title {
    font-size: clamp(3.2rem, 6vw, 6rem);
  }

  .page-home .chapter-nav {
    top: var(--header-h);
  }

  .page-home .chapter-list-wrap {
    justify-content: center;
  }

  .page-home .subscribe-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-home .subscribe-stats {
    gap: 20px;
  }

  .page-home .subscribe-stats .stat-block {
    padding: 26px;
  }

  .page-home .apple-grid,
  .page-home .feedback-grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }

  .page-home .register-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
  }

  .page-home .journey-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }

  .page-home .journey-list li {
    border-left: 0;
    border-top: 2px solid rgba(245, 179, 0, 0.35);
    padding: 18px 8px 0 0;
  }

  .page-home .journey-list li::before {
    left: -4px;
    top: -5px;
  }

  .page-home .journey-list strong {
    display: block;
    margin: 0 0 8px;
  }
}
