.page-home {
  --hero-overlay: rgba(6, 18, 36, 0.72);
  --hero-glow: rgba(255, 107, 0, 0.16);
  overflow-x: clip;
  background: var(--c-bg);
  color: var(--c-text);
}

.page-home .container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.page-home .btn--ghost {
  background: transparent;
  border: 1px solid var(--c-border);
  color: var(--c-text);
}

.page-home .btn--ghost:hover,
.page-home .btn--ghost:focus-visible {
  border-color: var(--c-accent);
  color: var(--c-accent-soft);
}

.page-home .btn--lg {
  padding: 14px 26px;
  font-size: 15px;
}

.page-home .home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--c-bg-deep);
  isolation: isolate;
}

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

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--hero-overlay) 0%, rgba(6, 18, 36, 0.45) 55%, rgba(6, 18, 36, 0.85) 100%);
}

.page-home .home-hero__inner {
  display: grid;
  gap: 36px;
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding: 112px 24px 64px;
}

.page-home .home-hero__badge {
  display: inline-block;
  background: var(--c-accent);
  color: var(--c-bg-deep);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.page-home .home-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 8.5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin: 22px 0 18px;
  text-wrap: balance;
}

.page-home .home-hero__title span {
  color: var(--c-accent);
}

.page-home .home-hero__sub {
  max-width: 640px;
  color: var(--c-text-dim);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.page-home .home-hero__scroll {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-text-dim);
}

.page-home .home-hero__scroll a {
  color: var(--c-text-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 3px;
}

.page-home .home-hero__scroll a:hover,
.page-home .home-hero__scroll a:focus-visible {
  color: var(--c-accent-soft);
  border-color: var(--c-accent);
}

.page-home .board-card {
  position: relative;
  max-width: 540px;
  background: linear-gradient(145deg, var(--c-panel), var(--c-bg-deep));
  border: 1px solid var(--c-border);
  border-radius: 28px;
  padding: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  transform: translateY(12px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.page-home .board-card:hover {
  transform: translateY(4px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--c-accent-soft);
}

.page-home .board-card::before {
  content: "";
  position: absolute;
  top: 24px;
  right: -5px;
  width: 10px;
  height: 10px;
  background: var(--c-accent);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--c-accent);
}

.page-home .board-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-text-dim);
  margin-bottom: 14px;
}

.page-home .board-card__live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-positive);
  box-shadow: 0 0 12px var(--c-positive);
}

.page-home .board-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
}

.page-home .board-card__score {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.page-home .board-card__score div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: var(--c-bg);
  border-radius: 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--c-accent);
}

.page-home .board-card__score strong {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-text-dim);
  font-weight: 500;
}

.page-home .board-card__score span {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--c-accent);
}

.page-home .board-card__up {
  color: var(--c-positive);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-home .board-card__down {
  color: var(--c-negative);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-home .board-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.page-home .board-card__tags li {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  color: var(--c-text-dim);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
}

.page-home .home-data {
  padding: 72px 0 36px;
  background: linear-gradient(180deg, var(--c-bg), var(--c-bg-deep));
}

.page-home .section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.page-home .section-head__kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin: 0 0 10px;
}

.page-home .section-head__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 1.05;
  margin: 0 0 12px;
}

.page-home .section-head__desc {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-text-dim);
  margin: 0;
}

.page-home .data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.page-home .data-card {
  background: var(--c-panel);
  border-left: 4px solid var(--c-accent);
  border-radius: 4px 20px 20px 4px;
  padding: 24px 20px;
  position: relative;
  transition: transform 0.25s ease, background 0.25s ease;
}

.page-home .data-card:hover,
.page-home .data-card:focus-within {
  transform: translateY(-4px);
  background: #16325C;
}

.page-home .data-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 10px;
}

.page-home .data-card h3 {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.page-home .data-card p {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-dim);
  margin: 0;
}

.page-home .data-pulse__bottom {
  display: grid;
  gap: 24px;
  align-items: center;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 24px;
  padding: 24px;
}

.page-home .data-pulse__chart {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .data-pulse__copy {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-text-dim);
  line-height: 1.8;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.page-home .data-pulse__copy p {
  flex-basis: 100%;
  margin: 0;
}

.page-home .data-pulse__copy a {
  color: var(--c-accent-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--c-accent);
  padding-bottom: 2px;
}

.page-home .data-pulse__copy a:hover,
.page-home .data-pulse__copy a:focus-visible {
  color: var(--c-accent);
}

.page-home .home-videos {
  padding: 72px 0;
  background: var(--c-bg);
  position: relative;
  overflow: hidden;
}

.page-home .home-videos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-accent) 0 18px, transparent 18px 38px);
}

.page-home .video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .video-card {
  display: block;
  background: var(--c-bg-deep);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 12px;
  text-decoration: none;
  color: var(--c-text);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.page-home .video-card:hover,
.page-home .video-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--c-accent);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.page-home .video-card__clip {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  border-radius: 12px;
}

.page-home .video-card__clip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.page-home .video-card:hover .video-card__clip img,
.page-home .video-card:focus-visible .video-card__clip img {
  transform: scale(1.06);
}

.page-home .video-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(6, 18, 36, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.page-home .video-card__play::before {
  content: "▶";
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--c-accent);
  color: var(--c-bg-deep);
  font-size: 16px;
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255, 107, 0, 0.18);
}

.page-home .video-card:hover .video-card__play,
.page-home .video-card:focus-visible .video-card__play {
  opacity: 1;
}

.page-home .video-card__meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-accent-soft);
  letter-spacing: 0.05em;
  margin-top: 14px;
}

.page-home .video-card__title {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.4;
  margin-top: 6px;
}

.page-home .video-card__tags {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-text-dim);
  margin-top: 10px;
}

.page-home .home-watchlist {
  padding: 72px 0;
  background: var(--c-bg-deep);
  position: relative;
  overflow: hidden;
}

.page-home .home-watchlist::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.2), transparent 70%);
  pointer-events: none;
}

.page-home .home-watchlist__inner {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-home .home-watchlist__copy h2,
.page-home .home-sync__copy h2,
.page-home .home-download h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 1.05;
  margin: 0 0 16px;
}

.page-home .home-watchlist__copy p,
.page-home .home-sync__copy p,
.page-home .home-download__content p {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-text-dim);
  margin: 0 0 20px;
}

.page-home .watchlist-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}

.page-home .watchlist-steps li {
  counter-increment: step;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-text);
  background: var(--c-panel);
  border-radius: 14px;
  padding: 14px 16px;
  line-height: 1.6;
}

.page-home .watchlist-steps li::before {
  content: "0" counter(step);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--c-accent);
  color: var(--c-bg-deep);
  font-weight: 700;
  border-radius: 10px;
}

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

.page-home .home-watchlist__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.page-home .watchlist-phone {
  position: relative;
  width: min(100%, 380px);
  background: linear-gradient(165deg, var(--c-panel), var(--c-bg-deep));
  border: 1px solid var(--c-border);
  border-radius: 34px;
  padding: 22px;
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.4);
  transform: rotate(1.5deg);
  transition: transform 0.3s ease;
}

.page-home .watchlist-phone:hover {
  transform: rotate(0deg) translateY(-6px);
}

.page-home .watchlist-phone__bar {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-text-dim);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-border);
}

.page-home .watchlist-phone__menu {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 6px;
}

.page-home .watchlist-phone__menu li {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-text-dim);
  padding: 12px 14px;
  border-radius: 12px;
  background: transparent;
}

.page-home .watchlist-phone__menu li.is-active {
  background: var(--c-accent);
  color: var(--c-bg-deep);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-home .watchlist-phone__stats {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.page-home .watchlist-phone__stats span {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 10px 8px;
  color: var(--c-text);
}

.page-home .watchlist-phone__chip {
  position: absolute;
  right: -14px;
  top: 64px;
  background: var(--c-positive);
  color: var(--c-bg-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0, 230, 118, 0.25);
}

.page-home .home-sync {
  padding: 72px 0;
  background: var(--c-bg);
}

.page-home .home-sync__inner {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-home .home-sync__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--c-border);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.35);
}

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

.page-home .sync-list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text);
}

.page-home .sync-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 2px;
  background: var(--c-accent);
  box-shadow: 4px 3px 0 var(--c-positive);
}

.page-home .sync-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-accent-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--c-accent);
  padding-bottom: 3px;
}

.page-home .sync-link:hover,
.page-home .sync-link:focus-visible {
  color: var(--c-accent);
}

.page-home .home-download {
  padding: 80px 0;
  background: radial-gradient(ellipse at 78% 20%, rgba(255, 107, 0, 0.18), transparent 46%), var(--c-bg-deep);
  position: relative;
  overflow: hidden;
}

.page-home .home-download::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: repeating-linear-gradient(-45deg, transparent 0 16px, rgba(255, 107, 0, 0.12) 16px 32px);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}

.page-home .home-download__inner {
  position: relative;
  display: grid;
  gap: 36px;
  align-items: center;
}

.page-home .home-download__poster {
  display: flex;
  justify-content: center;
}

.page-home .home-download__poster img {
  width: min(100%, 280px);
  height: auto;
  border-radius: 32px;
  border: 1px solid var(--c-border);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.5);
}

.page-home .home-download__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-accent);
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid var(--c-accent);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.page-home .home-download__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1;
  margin: 0 0 18px;
}

.page-home .home-download__content {
  max-width: 560px;
}

.page-home .home-download__content p {
  max-width: 540px;
}

.page-home .home-download__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-home .home-download__btn {
  position: relative;
  overflow: hidden;
}

.page-home .home-download__btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 46%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

.page-home .home-download__btn:hover::after,
.page-home .home-download__btn:focus-visible::after {
  left: 130%;
}

.page-home .home-download__note {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-text-dim);
  border-left: 4px solid var(--c-border);
  padding-left: 12px;
}

@media (min-width: 768px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: 48px;
    padding: 120px 40px 80px;
  }

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

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

  .page-home .data-pulse__bottom {
    grid-template-columns: 1.2fr 1fr;
    padding: 28px;
  }

  .page-home .home-watchlist__inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    gap: 48px;
  }

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

  .page-home .home-download__inner {
    grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
    gap: 48px;
  }

  .page-home .home-download__poster img {
    width: 280px;
  }
}

@media (min-width: 1080px) {
  .page-home .home-data,
  .page-home .home-videos,
  .page-home .home-watchlist,
  .page-home .home-sync,
  .page-home .home-download {
    padding: 96px 0;
  }

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

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

  .page-home .home-hero__inner {
    gap: 64px;
  }

  .page-home .home-watchlist__inner {
    gap: 72px;
  }
}
