.page-home {
  --home-split-gap: clamp(1.6rem, 4vw, 2.6rem);
}

.page-home .hero {
  position: relative;
  padding-top: clamp(1rem, 3vw, 2rem);
}

.page-home .hero__frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(460px, 74vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: clamp(1.5rem, 4vw, 3.4rem);
  border: 1px solid var(--hair-strong);
  border-radius: var(--r-xl);
  background: linear-gradient(155deg, var(--deep) 0%, var(--trench) 62%, #072033 100%);
  box-shadow: 0 30px 80px rgba(3, 12, 20, 0.55);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-home .hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 80% 8%, rgba(53, 224, 208, 0.18), transparent 62%),
    linear-gradient(160deg, rgba(6, 24, 38, 0.92) 8%, rgba(11, 43, 69, 0.88) 56%, rgba(6, 24, 38, 0.95) 100%);
}

.page-home .hero__frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 4;
  height: 10px;
  background: repeating-linear-gradient(90deg, rgba(143, 179, 199, 0.55) 0 1px, transparent 1px 38px);
  opacity: 0.55;
}

.page-home .hero__glow {
  position: absolute;
  top: -32%;
  right: -12%;
  z-index: 2;
  width: min(720px, 92%);
  aspect-ratio: 1;
  pointer-events: none;
  background: conic-gradient(from 210deg, rgba(53, 224, 208, 0.3), rgba(255, 107, 44, 0.2), rgba(53, 224, 208, 0) 62%);
  filter: blur(52px);
  opacity: 0.7;
  animation: home-sway 22s var(--ease) infinite alternate;
}

@keyframes home-sway {
  from { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  to { transform: translate3d(-4%, 6%, 0) rotate(24deg) scale(1.12); }
}

.page-home .hero__grid {
  position: relative;
  z-index: 3;
  width: 100%;
  display: grid;
  gap: clamp(1.8rem, 4vw, 3rem);
}

.page-home .hero__context {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-home .hero__context span:first-child {
  color: var(--cyan);
}

.page-home .hero h1 {
  margin: 0.7rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.05rem, 5.4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ice);
}

.page-home .hero__lede {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: clamp(0.98rem, 1.7vw, 1.1rem);
  line-height: 1.78;
  color: rgba(234, 246, 255, 0.82);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.page-home .hero__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin: 1.6rem 0 0;
  padding: 0;
  font-size: 0.86rem;
  color: var(--mist);
}

.page-home .hero__facts b {
  margin-right: 0.3rem;
  font-family: var(--font-mono);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--cyan);
}

.page-home .hero__fees {
  display: grid;
  gap: 0.6rem;
}

.page-home .hero__fees-title {
  margin: 0 0 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-home .fee-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  background: rgba(6, 24, 38, 0.58);
  color: var(--ice);
  text-decoration: none;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.page-home .fee-card:hover,
.page-home .fee-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(53, 224, 208, 0.5);
  background: rgba(11, 43, 69, 0.82);
}

.page-home .fee-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}

.page-home .fee-card__label {
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  color: var(--ice);
}

.page-home .fee-card__num {
  font-family: var(--font-mono);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--orange);
  white-space: nowrap;
}

.page-home .fee-card__num i {
  margin-left: 2px;
  font-style: normal;
  font-size: 0.7rem;
  color: var(--mist);
}

.page-home .fee-card--index .fee-card__num { color: var(--cyan); }
.page-home .fee-card--team .fee-card__num { color: var(--yellow); }

.page-home .fee-card__note {
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .home-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

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

.page-home .band {
  padding-block: clamp(2.2rem, 5vw, 3.6rem);
  border-top: 1px solid var(--hair);
}

.page-home .band:first-child {
  border-top: 0;
  padding-top: clamp(0.5rem, 2vw, 1.2rem);
}

.page-home .band .section-title {
  margin: 0.55rem 0 0;
  color: var(--ice);
}

.page-home .band .prose {
  margin: 0.95rem 0 0;
  max-width: 38ch;
  color: rgba(234, 246, 255, 0.78);
  line-height: 1.8;
}

.page-home .path-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 120px;
  margin-top: 1.6rem;
  opacity: 0.9;
}

.page-home .steps {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.page-home .step {
  position: relative;
  padding: 1.25rem 1.35rem 1.4rem;
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(11, 43, 69, 0.92), rgba(6, 24, 38, 0.72));
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.page-home .step:hover {
  border-color: rgba(53, 224, 208, 0.42);
}

.page-home .step__no {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.page-home .step__title {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ice);
}

.page-home .step__text {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .round-tabs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.3rem 0 0;
  padding: 0;
}

.page-home .round-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.3rem;
}

.page-home .round-card {
  position: relative;
  padding: 1.2rem 1.25rem 1.35rem;
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(11, 43, 69, 0.94), rgba(6, 24, 38, 0.78));
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.page-home .round-card::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  top: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.page-home .round-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 224, 208, 0.42);
}

.page-home .round-card h3 {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ice);
}

.page-home .round-card p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .round-card__link {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.86rem;
  color: var(--orange);
  text-decoration: none;
}

.page-home .round-card__link:hover,
.page-home .round-card__link:focus-visible {
  color: var(--cyan);
}

.page-home .media-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  background: var(--trench);
}

.page-home .media-frame__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .media-frame__caption {
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--mist);
  border-top: 1px solid var(--hair);
}

.page-home .round-figure {
  margin-top: 1.5rem;
}

.page-home .split {
  display: grid;
  gap: var(--home-split-gap);
  margin-top: 1.2rem;
}

.page-home .split__media {
  margin: 0;
}

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

.page-home .ticks {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.page-home .ticks li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.93rem;
  line-height: 1.72;
  color: rgba(234, 246, 255, 0.82);
}

.page-home .ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--cyan), var(--orange));
  transform: rotate(12deg);
}

.page-home .sync-btn {
  margin-top: 1.4rem;
}

.page-home .contact-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.page-home .contact-card {
  padding: 1.2rem 1.3rem 1.35rem;
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  background: var(--glass);
}

.page-home .contact-card__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-home .contact-card__value {
  margin: 0.4rem 0 0;
  font-family: var(--font-mono);
  font-size: clamp(0.98rem, 2.4vw, 1.2rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ice);
  word-break: break-word;
}

.page-home .contact-card__hint {
  margin: 0.55rem 0 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .contact-card .btn {
  margin-top: 0.9rem;
}

.page-home .service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.page-home .home-rail {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.page-home .rail-nav {
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  background: rgba(11, 43, 69, 0.45);
}

.page-home .rail-nav__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.page-home .rail-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.1rem;
}

.page-home .rail-nav__list a {
  display: block;
  padding: 0.45rem 0 0.45rem 0.7rem;
  border-left: 2px solid transparent;
  font-size: 0.92rem;
  color: rgba(234, 246, 255, 0.86);
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

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

.page-home .rail-fees {
  padding: 1rem 1.2rem 1.1rem;
  border: 1px solid rgba(255, 107, 44, 0.28);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(255, 107, 44, 0.16), rgba(53, 224, 208, 0.12));
}

.page-home .rail-fees__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.page-home .rail-fees__link {
  display: block;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ice);
  text-decoration: none;
}

.page-home .rail-fees__link:hover,
.page-home .rail-fees__link:focus-visible {
  color: var(--cyan);
}

.page-home .rail-top {
  justify-self: start;
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--hair-strong);
  border-radius: var(--r-pill);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--mist);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .rail-top:hover,
.page-home .rail-top:focus-visible {
  color: var(--ice);
  border-color: var(--cyan);
}

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

@media (min-width: 760px) {
  .page-home .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem;
    margin-top: 1.6rem;
  }

  .page-home .step--b {
    transform: translateY(2.2rem);
  }

  .page-home .round-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    align-items: start;
  }

  .page-home .round-card:nth-child(2) {
    margin-top: 1.8rem;
  }

  .page-home .round-card:nth-child(3) {
    margin-top: 3.6rem;
  }

  .page-home .round-figure {
    margin-top: 2.6rem;
  }
}

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr);
    align-items: end;
  }

  .page-home .hero__fees {
    padding-bottom: 0.2rem;
  }

  .page-home .split {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
  }

  .page-home .split--rev .split__media {
    order: 2;
  }
}

@media (min-width: 1000px) {
  .page-home .home-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
  }

  .page-home .home-rail {
    position: sticky;
    top: 5.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__glow {
    animation: none;
  }

  .page-home .fee-card,
  .page-home .step,
  .page-home .round-card,
  .page-home .rail-nav__list a,
  .page-home .rail-top {
    transition: none;
  }
}
