.page-home {
  --hero-radius: 18px;
  --clip-cut: 14px;
  background: var(--c-space);
  color: var(--c-cream);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home .breadcrumb {
  padding-top: 20px;
  font-size: 13px;
  color: var(--c-silver);
}

.page-home .breadcrumb a {
  color: var(--c-orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 53, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .breadcrumb a:hover {
  color: var(--c-cream);
  border-color: var(--c-cream);
}

.page-home .home-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  border: 1px solid;
}

.page-home .home-label--orange {
  color: var(--c-orange);
  border-color: rgba(255, 107, 53, 0.5);
  background: rgba(255, 107, 53, 0.1);
}

.page-home .home-label--silver {
  color: var(--c-silver);
  border-color: rgba(192, 200, 216, 0.4);
  background: rgba(192, 200, 216, 0.08);
}

.page-home .home-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  color: var(--c-cream);
}

.page-home .home-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-silver);
}

.page-home .home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  clip-path: polygon(0 0, calc(100% - var(--clip-cut)) 0, 100% var(--clip-cut), 100% 100%, var(--clip-cut) 100%, 0 calc(100% - var(--clip-cut)));
}

.page-home .home-btn--primary {
  background: var(--c-orange);
  color: #ffffff;
}

.page-home .home-btn--primary:hover {
  background: #ff8552;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(255, 107, 53, 0.6);
}

.page-home .home-btn--ghost {
  background: transparent;
  color: var(--c-silver);
  border-color: rgba(192, 200, 216, 0.35);
}

.page-home .home-btn--ghost:hover {
  border-color: var(--c-orange);
  color: var(--c-orange);
}

.page-home .home-btn--small {
  padding: 8px 14px;
  font-size: 12px;
}

.page-home .home-hero {
  position: relative;
  padding: 0 0 24px;
  background: radial-gradient(circle at 78% 18%, rgba(255, 107, 53, 0.1), transparent 34%), linear-gradient(150deg, rgba(26, 26, 46, 0.2) 0%, transparent 48%), var(--c-space);
}

.page-home .home-hero__grid {
  display: grid;
  gap: 36px;
  padding-top: 28px;
  padding-bottom: 28px;
}

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

.page-home .home-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(40px, 9vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--c-cream);
  letter-spacing: 0.01em;
}

.page-home .home-hero__title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--c-orange), transparent);
}

.page-home .home-hero__lead {
  max-width: 560px;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-silver);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .home-hero__visual {
  position: relative;
  min-width: 0;
}

.page-home .home-hero__orbit {
  position: absolute;
  width: 260px;
  height: 260px;
  top: -48px;
  right: -32px;
  opacity: 0.7;
  z-index: 0;
  animation: hero-orbit-spin 80s linear infinite;
  transform-origin: center;
}

@keyframes hero-orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

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

.page-home .home-hero__media {
  position: relative;
  z-index: 1;
  background: var(--c-cream);
  clip-path: polygon(0 0, calc(100% - var(--hero-radius)) 0, 100% var(--hero-radius), 100% 100%, var(--hero-radius) 100%, 0 calc(100% - var(--hero-radius)));
}

.page-home .home-hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}

.page-home .home-hero__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--c-cream);
  color: var(--c-ink);
  font-size: 12px;
  font-weight: 600;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.page-home .home-hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.5);
  animation: hero-badge-pulse 2s infinite;
}

@keyframes hero-badge-pulse {
  70% {
    box-shadow: 0 0 0 6px rgba(255, 107, 53, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
  }
}

.page-home .home-hero__data-card {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-width: 140px;
  padding: 14px 16px;
  background: var(--c-cream);
  color: var(--c-ink);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  outline: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .home-hero__data-card:hover,
.page-home .home-hero__data-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -18px rgba(6, 15, 36, 0.7);
}

.page-home .home-hero__data-label {
  display: block;
  font-size: 12px;
  color: #585870;
}

.page-home .home-hero__data-value {
  display: block;
  margin: 2px 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--c-ink);
}

.page-home .home-hero__data-hover {
  display: none;
  font-size: 12px;
  color: #585870;
}

.page-home .home-hero__data-card:hover .home-hero__data-hover,
.page-home .home-hero__data-card:focus-visible .home-hero__data-hover {
  display: block;
}

.page-home .home-stats {
  margin-top: 28px;
}

.page-home .home-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(192, 200, 216, 0.16);
  background: linear-gradient(120deg, rgba(245, 240, 230, 0.04), rgba(245, 240, 230, 0.01));
}

.page-home .home-stats__item {
  padding: 20px 16px;
  border-bottom: 1px solid rgba(192, 200, 216, 0.14);
  border-right: 1px solid rgba(192, 200, 216, 0.14);
}

.page-home .home-stats__item:nth-child(2n) {
  border-right: 0;
}

.page-home .home-stats__item:nth-child(n+3) {
  border-bottom: 0;
}

.page-home .home-stats__num {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--c-orange);
  letter-spacing: 0.02em;
}

.page-home .home-stats__label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--c-silver);
}

.page-home .home-quick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 32px 0 40px;
}

.page-home .home-quick__item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 16px;
  background: rgba(245, 240, 230, 0.04);
  border: 1px solid rgba(192, 200, 216, 0.18);
  text-decoration: none;
  color: var(--c-cream);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  clip-path: polygon(0 0, calc(100% - var(--clip-cut)) 0, 100% var(--clip-cut), 100% 100%, var(--clip-cut) 100%, 0 calc(100% - var(--clip-cut)));
}

.page-home .home-quick__item:hover,
.page-home .home-quick__item:focus-visible {
  background: rgba(255, 107, 53, 0.12);
  border-color: rgba(255, 107, 53, 0.6);
  transform: translateY(-2px);
}

.page-home .home-quick__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-orange);
}

.page-home .home-quick__name {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

.page-home .home-quick__desc {
  margin-top: 4px;
  font-size: 12px;
  color: var(--c-silver);
}

.page-home .home-section {
  padding: 64px 0;
}

.page-home .home-section__head {
  max-width: 760px;
  margin-bottom: 32px;
}

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

.page-home .home-section--ink {
  background: linear-gradient(135deg, var(--c-space-deep) 0%, rgba(90, 79, 207, 0.14) 55%, var(--c-space) 100%);
}

.page-home .home-section--star {
  background: radial-gradient(circle at 85% 15%, rgba(255, 209, 102, 0.08), transparent 40%), var(--c-space);
}

.page-home .home-section--cream {
  background: var(--c-cream);
  color: var(--c-ink);
}

.page-home .home-section--cream .home-title {
  color: var(--c-ink);
}

.page-home .home-section--cream .home-lead {
  color: #42425c;
}

.page-home .home-section--cream .home-label--orange {
  color: #b34e1f;
  border-color: #e09a78;
  background: rgba(255, 107, 53, 0.12);
}

.page-home .league-panel {
  display: grid;
  gap: 28px;
  padding: 24px;
  border: 1px solid rgba(192, 200, 216, 0.18);
  background: rgba(245, 240, 230, 0.04);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.page-home .league-panel__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--c-cream);
}

.page-home .league-panel__text {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-silver);
}

.page-home .league-bars {
  display: grid;
  gap: 18px;
  align-content: center;
}

.page-home .league-bars__item {
  display: grid;
  grid-template-columns: 76px 1fr 72px;
  align-items: center;
  gap: 12px;
}

.page-home .league-bars__step {
  font-size: 13px;
  color: var(--c-cream);
}

.page-home .league-bars__track {
  height: 8px;
  overflow: hidden;
  background: rgba(26, 26, 46, 0.6);
  clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 4px, 100% 100%, 4px 100%, 0 calc(100% - 4px));
}

.page-home .league-bars__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--c-purple), var(--c-orange));
}

.page-home .league-bars__fill--30 {
  width: 30%;
}

.page-home .league-bars__fill--65 {
  width: 65%;
}

.page-home .league-bars__fill--85 {
  width: 85%;
}

.page-home .league-bars__fill--100 {
  width: 100%;
}

.page-home .league-bars__note {
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: right;
  color: var(--c-silver);
}

.page-home .home-section__grid {
  display: grid;
  gap: 36px;
}

.page-home .member-grid__copy {
  min-width: 0;
}

.page-home .member-steps {
  margin: 28px 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
}

.page-home .member-steps__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(192, 200, 216, 0.22);
}

.page-home .member-steps__num {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-orange);
}

.page-home .member-steps__item div {
  display: flex;
  flex-direction: column;
}

.page-home .member-steps__item strong {
  font-size: 15px;
  color: var(--c-cream);
}

.page-home .member-steps__item div span {
  margin-top: 2px;
  font-size: 13px;
  color: var(--c-silver);
}

.page-home .member-grid__visual {
  min-width: 0;
}

.page-home .member-visual {
  position: relative;
  clip-path: polygon(0 0, calc(100% - var(--hero-radius)) 0, 100% var(--hero-radius), 100% 100%, var(--hero-radius) 100%, 0 calc(100% - var(--hero-radius)));
}

.page-home .member-visual__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .member-visual__badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--c-cream);
  color: var(--c-ink);
  font-size: 12px;
  font-weight: 600;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.page-home .member-visual__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-orange);
}

.page-home .mobile-grid {
  align-items: center;
}

.page-home .mobile-grid__copy {
  min-width: 0;
}

.page-home .mobile-grid__visual {
  min-width: 0;
}

.page-home .mobile-visual {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
  padding: 14px;
  border: 2px solid rgba(192, 200, 216, 0.3);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(245, 240, 230, 0.08), rgba(245, 240, 230, 0.02));
}

.page-home .mobile-visual__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 2;
  object-fit: cover;
  border-radius: 16px;
}

.page-home .mobile-visual__badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-yellow);
  background: rgba(255, 209, 102, 0.1);
  border: 1px solid rgba(255, 209, 102, 0.35);
}

.page-home .mobile-visual__orbit {
  position: absolute;
  width: 340px;
  height: 340px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  pointer-events: none;
}

.page-home .feature-list {
  margin: 28px 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-home .feature-list li {
  position: relative;
  padding: 12px 14px 12px 44px;
  background: rgba(245, 240, 230, 0.05);
  border-left: 3px solid var(--c-orange);
  font-size: 14px;
  color: var(--c-cream);
}

.page-home .feature-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--c-orange);
  transform: rotate(45deg);
}

.page-home .lineswitch {
  display: grid;
  gap: 20px;
}

.page-home .lineswitch-card {
  padding: 24px;
  background: rgba(26, 26, 46, 0.05);
  border: 1px solid rgba(26, 26, 46, 0.12);
  clip-path: polygon(0 0, calc(100% - var(--clip-cut)) 0, 100% var(--clip-cut), 100% 100%, var(--clip-cut) 100%, 0 calc(100% - var(--clip-cut)));
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.page-home .lineswitch-card:hover,
.page-home .lineswitch-card:focus-within,
.page-home .lineswitch-card:focus-visible {
  background: #ffffff;
  border-color: var(--c-orange);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -20px rgba(90, 79, 207, 0.4);
}

.page-home .lineswitch-card__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  background: var(--c-orange);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.page-home .lineswitch-card--local .lineswitch-card__tag {
  background: var(--c-purple);
}

.page-home .lineswitch-card__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--c-ink);
}

.page-home .lineswitch-card__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #42425c;
}

.page-home .lineswitch-card__list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: #42425c;
}

.page-home .lineswitch-card__list li {
  margin-bottom: 6px;
}

.page-home .lineswitch-banner {
  margin: 28px 0 0;
}

.page-home .lineswitch-banner__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.page-home .lineswitch-note {
  margin: 20px 0 0;
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.7;
  color: #42425c;
  border-left: 3px solid var(--c-orange);
  background: rgba(255, 107, 53, 0.08);
}

.page-home .home-trust {
  padding: 20px 0;
  border-top: 1px solid rgba(192, 200, 216, 0.15);
  border-bottom: 1px solid rgba(192, 200, 216, 0.15);
  background: var(--c-space-deep);
}

.page-home .home-trust__inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-home .home-trust__icon {
  font-size: 20px;
  color: var(--c-orange);
}

.page-home .home-trust p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-silver);
}

.page-home .home-section-cta {
  position: relative;
  text-align: center;
  background: radial-gradient(circle at 50% 100%, rgba(90, 79, 207, 0.28), transparent 60%), var(--c-space);
}

.page-home .home-section-cta__inner {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.page-home .home-section-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.js .page-home [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
}

.js .page-home [data-reveal] {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .page-home [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 768px) {
  .page-home .home-stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .home-stats__item {
    border-right: 1px solid rgba(192, 200, 216, 0.14);
    border-bottom: 0;
  }

  .page-home .home-stats__item:nth-child(2n) {
    border-right: 1px solid rgba(192, 200, 216, 0.14);
  }

  .page-home .home-stats__item:last-child {
    border-right: 0;
  }

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

  .page-home .home-section--cream .home-btn--ghost {
    color: var(--c-ink);
    border-color: rgba(26, 26, 46, 0.3);
  }

  .page-home .home-section--cream .home-btn--ghost:hover {
    border-color: var(--c-orange);
    color: var(--c-orange);
  }

  .page-home .home-section__grid {
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
  }

  .page-home .member-grid {
    grid-template-columns: 1fr 0.85fr;
  }

  .page-home .mobile-grid {
    grid-template-columns: 0.85fr 1fr;
  }

  .page-home .mobile-grid .mobile-grid__visual {
    order: 1;
  }

  .page-home .mobile-grid .mobile-grid__copy {
    order: 2;
  }

  .page-home .lineswitch {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .league-panel {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .page-home .home-hero__title {
    font-size: clamp(52px, 6vw, 76px);
  }

  .page-home .home-hero__lead {
    font-size: 16px;
  }

  .page-home .home-hero__orbit {
    width: 360px;
    height: 360px;
    top: -60px;
    right: -60px;
  }

  .page-home .home-section {
    padding: 96px 0;
  }

  .page-home .home-section__head {
    margin-bottom: 48px;
  }

  .page-home .home-lead {
    font-size: 16px;
  }

  .page-home .lineswitch-banner__img {
    max-height: 400px;
  }
}
