.page-home {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  line-height: 1.8;
  overflow-x: hidden;
}

.page-home ::selection {
  background: var(--c-accent-green);
  color: var(--c-bg-deep);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .section-head {
  position: relative;
  margin-bottom: 1rem;
  display: grid;
  gap: 0.4rem;
}

.page-home .section-index {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent-green);
}

.page-home .section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--c-text);
}

.page-home .btn {
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.page-home .btn:hover {
  transform: translateY(-2px);
}

.page-home .home-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
  isolation: isolate;
}

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

.page-home .home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-home .home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(57,255,20,0.05), transparent 40%), linear-gradient(115deg, transparent 60%, rgba(255,107,53,0.14) 60%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,18,33,0.72) 0%, rgba(7,18,33,0.25) 45%, var(--c-bg) 100%),
    radial-gradient(120% 90% at 88% 12%, rgba(255,107,53,0.22), transparent 50%);
}

.page-home .home-hero__inner {
  display: grid;
  gap: 2rem;
  width: 100%;
}

.page-home .home-hero__copy {
  max-width: 54rem;
}

.page-home .home-hero__eyebrow {
  color: var(--c-accent-green);
  margin-bottom: 1rem;
  font-size: 0.78rem;
}

.page-home .home-hero__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.65rem, 7vw, 5.4rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 1.2rem;
  color: var(--c-text);
}

.page-home .home-hero__lead {
  font-family: var(--font-body);
  color: var(--c-text-sub);
  font-size: 1.0625rem;
  max-width: 35em;
  margin: 0 0 1.75rem;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-home .home-hero__actions .btn--primary:hover {
  box-shadow: 0 0 28px rgba(57,255,20,0.35);
}

.page-home .home-hero__pulse {
  position: relative;
  width: min(100%, 24rem);
  padding: 1.5rem;
  border-radius: var(--radius-panel);
  overflow: hidden;
}

.page-home .home-hero__pulse::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 180deg at 80% 20%, rgba(57,255,20,0.3), transparent 25%, rgba(255,107,53,0.18) 50%, transparent 75%, rgba(57,255,20,0.3));
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.page-home .home-hero__pulse > * {
  position: relative;
  z-index: 1;
}

.page-home .home-hero__pulse-tag {
  color: var(--c-accent-orange);
  margin-bottom: 0.75rem;
}

.page-home .home-hero__number {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 1;
  color: var(--c-accent-green);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 18px rgba(57,255,20,0.28);
}

.page-home .home-hero__pulse-text {
  margin: 0;
  color: var(--c-text-sub);
  font-size: 0.95rem;
}

.page-home .home-hero__link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--c-accent-orange);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.page-home .home-hero__link:hover {
  border-bottom-color: currentColor;
}

.page-home .home-hero__version {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(57,255,20,0.4);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--c-accent-green);
  font-family: var(--font-head);
  letter-spacing: 0.06em;
}

.page-home .home-alert-wrap {
  position: relative;
  z-index: 3;
  width: min(100% - 2rem, var(--container));
  margin: -1.5rem auto 0;
}

.page-home .home-alert {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 0.9rem 1.25rem;
  background: linear-gradient(135deg, rgba(74,30,43,0.95), rgba(74,30,43,0.7));
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--c-text);
  box-shadow: 0 12px 32px rgba(0,0,0,0.28), inset 0 0 0 1px rgba(255,255,255,0.1);
  transition: transform var(--transition), background var(--transition);
}

.page-home .home-alert:hover {
  transform: translateY(-2px);
}

.page-home .home-alert__dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--c-accent-green);
  box-shadow: 0 0 0 4px rgba(57,255,20,0.16);
  animation: home-blink 1.5s infinite;
}

.page-home .home-alert__label {
  background: var(--c-accent-orange);
  color: #fff;
  font-size: 0.72rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}

.page-home .home-alert__text {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.page-home .home-alert__more {
  margin-left: auto;
  color: var(--c-accent-orange);
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-head);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.page-home .home-search-section {
  padding-top: 0;
}

.page-home .home-search-section__desc {
  color: var(--c-text-sub);
  max-width: 44rem;
  margin: 0 0 1.25rem;
}

.page-home .home-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 52rem;
  background: var(--c-glass);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 0.35rem 0.35rem 0.35rem 1.2rem;
  margin-bottom: 1.5rem;
  transition: background var(--transition);
}

.page-home .home-search:hover {
  background: rgba(255,255,255,0.11);
}

.page-home .home-search__icon {
  fill: none;
  stroke: var(--c-text-sub);
  stroke-width: 1.8;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

.page-home .home-search__field {
  flex: 1 1 auto;
  color: var(--c-text-sub);
  font-size: 0.9rem;
  min-width: 0;
}

.page-home .home-search__submit {
  flex: 0 0 auto;
  background: var(--c-accent-green);
  color: var(--c-bg-deep);
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.875rem;
  font-family: var(--font-head);
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-home .home-search__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(57,255,20,0.3);
}

.page-home .home-search__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.page-home .home-search__tags-label {
  color: var(--c-text-sub);
  font-size: 0.875rem;
  margin-right: 0.25rem;
}

.page-home .home-search__tags a {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: var(--c-text);
  display: inline-block;
  padding: 0.32rem 0.8rem;
  font-size: 0.875rem;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 500;
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.page-home .home-search__tags a:hover {
  border-color: var(--c-accent-green);
  color: var(--c-accent-green);
  box-shadow: 0 0 12px rgba(57,255,20,0.12);
}

.page-home .home-review__grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.page-home .home-review__card {
  position: relative;
  padding: 2rem 1.5rem;
  overflow: hidden;
}

.page-home .home-review__card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: var(--c-text);
}

.page-home .home-review__card p {
  margin: 0;
  color: var(--c-text-sub);
}

.page-home .home-review__num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: rgba(255,255,255,0.18);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  pointer-events: none;
}

.page-home .home-review__points {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.page-home .home-review__points li {
  color: var(--c-text-sub);
  font-size: 0.9rem;
  padding-left: 1.4rem;
  position: relative;
}

.page-home .home-review__points li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--c-accent-orange);
  transform: rotate(45deg);
}

.page-home .home-review__card--chart .home-review__points li::before {
  background: var(--c-accent-green);
}

.page-home .home-review__visual {
  aspect-ratio: 16 / 9;
  margin-top: 1.25rem;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02)), repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,0.04) 12px 14px);
  display: grid;
  place-items: center;
}

.page-home .home-review__play {
  width: 3.25rem;
  height: 3.25rem;
}

.page-home .home-review__play circle {
  fill: var(--c-accent-orange);
  filter: drop-shadow(0 0 10px rgba(255,107,53,0.45));
}

.page-home .home-review__play path {
  fill: var(--c-bg-deep);
}

.page-home .home-review__card--chart img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
  margin-top: 1.25rem;
}

.page-home .home-help {
  background: radial-gradient(circle at 85% 10%, rgba(57,255,20,0.09), transparent 45%), linear-gradient(135deg, var(--c-secondary), var(--c-bg-deep));
  margin-top: 4.5rem;
  padding: 4.5rem 0;
}

.page-home .home-help__layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.page-home .home-help__content .section-title {
  margin-bottom: 0.5rem;
}

.page-home .home-help__lead {
  color: var(--c-text-sub);
  margin: 0;
  max-width: 40rem;
}

.page-home .home-help__steps {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
}

.page-home .home-help__steps li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  column-gap: 1rem;
  padding-bottom: 1.8rem;
  position: relative;
}

.page-home .home-help__steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 2.65rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(var(--c-accent-green), rgba(255,255,255,0.08));
}

.page-home .home-help__step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--c-accent-green);
  color: var(--c-bg-deep);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 900;
  box-shadow: 0 0 0 4px rgba(57,255,20,0.14);
}

.page-home .home-help__steps h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0.12rem 0 0.3rem;
  color: var(--c-text);
}

.page-home .home-help__steps p {
  margin: 0;
  color: var(--c-text-sub);
  font-size: 0.925rem;
}

.page-home .home-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-home .home-help__figure {
  margin: 0;
  border-radius: var(--radius-panel);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--c-glass);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.page-home .home-help__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .home-stats {
  padding: 5rem 0 4rem;
}

.page-home .home-stats__board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.page-home .home-stats__item {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-card);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}

.page-home .home-stats__item:hover {
  transform: translateY(-3px);
  border-color: rgba(57,255,20,0.35);
}

.page-home .home-stats__number {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.05;
  color: var(--c-accent-green);
}

.page-home .home-stats__label {
  display: block;
  margin-top: 0.5rem;
  color: var(--c-text-sub);
  font-size: 0.875rem;
}

.page-home .home-stats__extra {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.page-home .home-stats__extra span {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.85rem;
  color: var(--c-text-sub);
}

.page-home .home-stats__figure {
  margin: 2rem 0 0;
  border-radius: var(--radius-panel);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.page-home .home-stats__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .home-stats__note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--c-glass);
  border-radius: var(--radius-card);
}

.page-home .home-stats__note p {
  margin: 0;
  flex: 1 1 22rem;
  color: var(--c-text-sub);
}

.page-home .home-stats__note .btn {
  flex: 0 0 auto;
}

@media (min-width: 700px) {
  .page-home .home-review__grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .page-home .home-alert {
    flex-wrap: nowrap;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero {
    min-height: 100svh;
    padding: 7rem 0 6rem;
  }

  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 3.5rem;
    align-items: center;
  }

  .page-home .home-hero__pulse {
    justify-self: end;
  }

  .page-home .home-help__layout {
    grid-template-columns: 1fr 0.85fr;
    gap: 3.5rem;
  }
}

@media (min-width: 1200px) {
  .page-home .home-review__grid {
    grid-template-columns: 1fr 1.15fr;
  }

  .page-home .home-help {
    padding: 6rem 0;
  }
}

@keyframes home-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@keyframes home-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes home-rise {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .home-hero__copy {
    animation: home-enter 0.8s 0.1s both;
  }

  .page-home .home-hero__pulse {
    animation: home-enter 0.8s 0.35s both;
  }

  .page-home .home-alert-wrap {
    animation: home-enter 0.8s 0.55s both;
  }

  @supports (animation-timeline: view()) {
    .page-home .home-search-section,
    .page-home .home-review__grid,
    .page-home .home-help__layout,
    .page-home .home-stats__board,
    .page-home .home-stats__figure,
    .page-home .home-stats__extra,
    .page-home .home-stats__note {
      animation: home-rise 0.7s ease both;
      animation-timeline: view();
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-timeline: auto !important;
    scroll-behavior: auto !important;
  }
}
