.page-home {
  --home-gap: clamp(18px, 3vw, 34px);
  background: var(--ink);
  color: var(--fog);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home .section {
  padding-block: clamp(48px, 8vw, 96px);
}

/* ---------- HERO ---------- */
.page-home .hero__frame {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  border-bottom: 1px solid var(--line);
}

.page-home .hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(0.82) contrast(1.08);
}

.page-home .hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 10% 6%, rgba(45, 226, 230, 0.17), transparent 58%),
    radial-gradient(90% 70% at 94% 94%, rgba(255, 106, 26, 0.1), transparent 62%),
    linear-gradient(180deg, rgba(6, 8, 10, 0.32) 0%, rgba(6, 8, 10, 0.88) 70%, var(--ink) 100%);
}

.page-home .hero__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, rgba(230, 237, 240, 0.055) 0 1px, transparent 1px 4px);
}

.page-home .hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  padding-block: clamp(56px, 11vw, 108px) clamp(48px, 8vw, 92px);
  min-width: 0;
}

.page-home .hero__main {
  min-width: 0;
}

.page-home .hero__title {
  margin: 14px 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: condensed;
  font-size: clamp(2.4rem, 9.5vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.015em;
  color: var(--fog);
}

.page-home .hero__title br {
  display: none;
}

.page-home .hero__lead {
  max-width: 33em;
  margin: 0 0 26px;
  font-size: clamp(0.95rem, 2.4vw, 1.06rem);
  line-height: 1.8;
  color: var(--silver);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.page-home .hero__stats {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  border-top: 1px solid var(--line-soft);
}

.page-home .hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-home .hero__stats strong {
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 3.4vw, 1.5rem);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.02em;
}

.page-home .hero__stats span {
  font-size: 0.78rem;
  color: var(--silver);
  letter-spacing: 0.02em;
}

.page-home .hero__index {
  align-self: stretch;
  padding: 16px 14px 10px;
  background: rgba(26, 34, 40, 0.78);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-a) var(--radius-b) var(--radius-a) var(--radius-a);
  backdrop-filter: blur(6px);
}

.page-home .hero__index-title {
  margin: 0 0 10px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--silver);
}

.page-home .hero__index-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 8px;
  border-top: 1px solid var(--line-soft);
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-b);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-home .hero__index-item:hover,
.page-home .hero__index-item:focus-visible {
  background: var(--cyan-soft);
  transform: translateX(3px);
}

.page-home .hero__index-num {
  flex: none;
  font-size: 0.72rem;
  color: var(--cyan);
  padding-top: 3px;
  letter-spacing: 0.08em;
}

.page-home .hero__index-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.page-home .hero__index-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  color: var(--fog);
}

.page-home .hero__index-desc {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--silver);
}

/* ---------- SYNC ---------- */
.page-home .home-sync {
  background: linear-gradient(180deg, var(--ink) 0%, var(--charcoal) 100%);
}

.page-home .home-sync__grid {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
}

.page-home .home-sync__text {
  min-width: 0;
}

.page-home .home-sync__text .section-title {
  margin: 12px 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: condensed;
  font-size: clamp(1.7rem, 5.4vw, 2.9rem);
  line-height: 1.12;
  color: var(--fog);
}

.page-home .home-sync__text .section-lead {
  max-width: 34em;
  margin: 0 0 26px;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--silver);
}

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

.page-home .home-sync__list li {
  padding: 16px 18px;
  border-left: 2px solid var(--deep-cyan);
  background: rgba(26, 34, 40, 0.55);
  border-radius: 0 var(--radius-a) var(--radius-b) 0;
}

.page-home .home-sync__list h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.02em;
}

.page-home .home-sync__list p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--silver);
}

.page-home .home-sync__media,
.page-home .home-switch__media,
.page-home .home-beginner__media {
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-a) var(--radius-b) var(--radius-a) var(--radius-a);
  overflow: hidden;
  background: var(--graphite);
}

.page-home .home-sync__media img,
.page-home .home-switch__media img,
.page-home .home-beginner__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-sync__media figcaption,
.page-home .home-switch__media figcaption,
.page-home .home-beginner__media figcaption {
  padding: 10px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--silver);
  border-top: 1px solid var(--line-soft);
}

/* ---------- SWITCHER ---------- */
.page-home .home-switch .section__head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-home .home-switch .section-title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: condensed;
  font-size: clamp(1.7rem, 5.4vw, 3rem);
  line-height: 1.1;
  color: var(--fog);
}

.page-home .home-switch .section-lead {
  max-width: 36em;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--silver);
}

.page-home .home-switch__grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-home .home-switch__table {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-a) var(--radius-b) var(--radius-a) var(--radius-a);
  background: var(--graphite);
  min-width: 0;
}

.page-home .home-switch__caption {
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--silver);
  border-bottom: 1px solid var(--line-soft);
}

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

.page-home .home-switch__cards .card {
  background: var(--charcoal);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-a) var(--radius-b) var(--radius-a) var(--radius-a);
  padding: 20px 18px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-home .home-switch__cards .card:hover {
  border-color: var(--deep-cyan);
  transform: translateY(-3px);
}

.page-home .home-switch__cards .card__index {
  margin: 0 0 8px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.page-home .home-switch__cards .card__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fog);
}

.page-home .home-switch__cards .card__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.78;
  color: var(--silver);
}

/* ---------- BEGINNER ---------- */
.page-home .home-beginner {
  background: linear-gradient(180deg, var(--ink) 0%, #0B1014 55%, var(--ink) 100%);
}

.page-home .home-beginner__grid {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
}

.page-home .home-beginner__text {
  min-width: 0;
}

.page-home .home-beginner .section-title {
  margin: 12px 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: condensed;
  font-size: clamp(1.7rem, 5.4vw, 2.9rem);
  line-height: 1.12;
  color: var(--fog);
}

.page-home .home-beginner .section-lead {
  max-width: 34em;
  margin: 0 0 24px;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--silver);
}

.page-home .home-beginner__steps {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.page-home .home-beginner__steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: rgba(26, 34, 40, 0.6);
  border-radius: var(--radius-a) var(--radius-b) var(--radius-a) var(--radius-a);
  border: 1px solid var(--line-soft);
}

.page-home .home-beginner__num {
  flex: none;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--cyan);
  border-radius: var(--radius-b);
  padding: 3px 7px;
  letter-spacing: 0.06em;
}

.page-home .home-beginner__steps h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fog);
}

.page-home .home-beginner__steps p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--silver);
}

/* ---------- PHASES ---------- */
.page-home .home-phases .section__head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(22px, 4vw, 36px);
}

.page-home .home-phases .section-title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: condensed;
  font-size: clamp(1.7rem, 5.4vw, 3rem);
  line-height: 1.1;
  color: var(--fog);
}

.page-home .home-phases .section-lead {
  max-width: 36em;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--silver);
}

.page-home .phase-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 26px;
  scrollbar-width: thin;
}

.page-home .phase-rail a {
  flex: none;
  padding: 8px 13px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  color: var(--silver);
  text-decoration: none;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--charcoal);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .phase-rail a:hover,
.page-home .phase-rail a:focus-visible {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

.page-home .phase-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  position: relative;
}

.page-home .phase-list::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--deep-cyan) 55%, rgba(14, 111, 115, 0) 100%);
}

.page-home .phase {
  position: relative;
  margin-bottom: 14px;
  padding: 16px 18px 18px;
  background: var(--graphite);
  border: 1px solid var(--line-soft);
  border-radius: 14px var(--radius-b) 14px 14px;
}

.page-home .phase::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--charcoal);
  border: 2px solid var(--deep-cyan);
}

.page-home .phase--key::before {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(45, 226, 230, 0.16);
}

.page-home .phase--key {
  border-color: rgba(45, 226, 230, 0.34);
  background: linear-gradient(135deg, rgba(45, 226, 230, 0.08), var(--graphite) 62%);
}

.page-home .phase__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.page-home .phase__num {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .phase__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--fog);
  letter-spacing: 0.01em;
}

.page-home .phase__text {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--silver);
}

.page-home .phase__link {
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 226, 230, 0.34);
  padding-bottom: 2px;
}

.page-home .phase__link:hover,
.page-home .phase__link:focus-visible {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ---------- CLOSE ---------- */
.page-home .home-close {
  padding-block: clamp(48px, 8vw, 88px);
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(45, 226, 230, 0.1), transparent 60%),
    var(--charcoal);
}

.page-home .home-close__inner {
  max-width: 780px;
}

.page-home .home-close__title {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: condensed;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  line-height: 1.14;
  color: var(--fog);
}

.page-home .home-close__text {
  max-width: 36em;
  margin: 0 0 24px;
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--silver);
}

.page-home .home-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.page-home .home-close__note {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--silver);
}

.page-home .home-close__note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 226, 230, 0.34);
}

.page-home .home-close__note a:hover,
.page-home .home-close__note a:focus-visible {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ---------- TABLET ---------- */
@media (min-width: 700px) {
  .page-home .hero__title br {
    display: inline;
  }

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

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

  .page-home .home-sync__grid,
  .page-home .home-beginner__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
  }

  .page-home .home-beginner__media {
    order: 2;
  }
}

/* ---------- DESKTOP ---------- */
@media (min-width: 960px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(292px, 0.58fr);
    align-items: end;
    min-height: clamp(600px, 84vh, 880px);
  }

  .page-home .hero__index {
    margin-bottom: 10px;
  }

  .page-home .home-sync__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }

  .page-home .home-switch .section__head,
  .page-home .home-phases .section__head {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
  }

  .page-home .home-switch__grid {
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
    align-items: start;
  }

  .page-home .phase-list {
    padding-left: 34px;
  }

  .page-home .phase-list::before {
    left: 9px;
  }

  .page-home .phase {
    padding: 20px 26px 22px;
    margin-bottom: 16px;
  }

  .page-home .phase::before {
    left: -31px;
    top: 26px;
  }

  .page-home .phase--key {
    margin-left: 26px;
    border-left: 3px solid var(--cyan);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__index-item,
  .page-home .home-switch__cards .card,
  .page-home .phase-rail a {
    transition: none;
  }

  .page-home .hero__index-item:hover,
  .page-home .home-switch__cards .card:hover {
    transform: none;
  }
}
<<<PAGE_CSS_END>>>
