.page-home {
  --ph-deep-grad: linear-gradient(135deg, #0A1F3C 0%, #9B1B2D 100%);
  --ph-red-grad: linear-gradient(120deg, #E63946 0%, #9B1B2D 100%);
  --ph-gap: 1.5rem;
  overflow-x: hidden;
  background: var(--c-off-white);
  color: var(--c-text-dark);
  font-family: var(--font-body);
}

.page-home .breadcrumb {
  padding: 1.2rem 0 0;
  max-width: var(--container-w);
  margin-inline: auto;
}

.page-home .ph-hero {
  position: relative;
  overflow: hidden;
  background: var(--ph-deep-grad);
  color: var(--c-text-light);
}

.page-home .ph-hero::before {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -25%;
  width: 62%;
  height: 88%;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.045) 0 2px, transparent 2px 12px);
  transform: skewX(-12deg);
  pointer-events: none;
}

.page-home .ph-hero__grid {
  display: grid;
  gap: var(--ph-gap);
  padding: 2.4rem 1rem 3.2rem;
  position: relative;
  z-index: 1;
}

.page-home .ph-hero__kicker {
  color: var(--c-neon-green);
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.page-home .ph-hero__title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  line-height: 1.14;
  margin: 0 0 0.85rem;
  letter-spacing: -0.01em;
}

.page-home .ph-hero__lead {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.page-home .ph-hero__desc {
  color: rgba(245, 247, 250, 0.85);
  max-width: 34rem;
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

.page-home .ph-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.page-home .ph-hero__stats {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.8rem;
  list-style: none;
}

.page-home .ph-hero__stat {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--c-neon-green);
  padding-top: 0.55rem;
  min-width: 6.2rem;
}

.page-home .ph-hero__stat dt {
  order: 2;
  font-size: 0.72rem;
  color: rgba(245, 247, 250, 0.72);
  margin-top: 0.2rem;
}

.page-home .ph-hero__stat dd {
  order: 1;
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: #ffffff;
}

.page-home .ph-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 310px;
}

.page-home .ph-hero__curve {
  position: absolute;
  right: -1rem;
  top: -0.4rem;
  width: 150px;
  height: auto;
  z-index: 0;
  opacity: 0.85;
}

.page-home .ph-browser {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: #0d2b4f;
  clip-path: var(--clip-panel);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.page-home .ph-browser__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
}

.page-home .ph-browser__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-red);
}

.page-home .ph-browser__dot:nth-child(2) {
  background: var(--c-neon-green);
}

.page-home .ph-browser__dot:nth-child(3) {
  background: var(--c-steel-blue);
}

.page-home .ph-browser__url {
  flex: 1;
  min-width: 0;
  font-size: 0.68rem;
  color: rgba(245, 247, 250, 0.72);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .ph-browser__badge {
  font-size: 0.68rem;
  color: var(--c-neon-green);
  border: 1px solid rgba(57, 255, 20, 0.5);
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  white-space: nowrap;
}

.page-home .ph-browser__body {
  position: relative;
}

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

.page-home .ph-browser__pin {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  background: var(--c-red);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  clip-path: var(--clip-panel);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  animation: ph-pin-glow 2.4s ease-in-out infinite;
}

@keyframes ph-pin-glow {
  0%, 100% { box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3); }
  50% { box-shadow: 0 0 0 4px rgba(57, 255, 20, 0.18), 0 10px 22px rgba(0, 0, 0, 0.3); }
}

.page-home .ph-feature--refresh {
  background: var(--c-off-white);
  position: relative;
}

.page-home .ph-feature__head {
  max-width: 50rem;
  padding: 3.6rem 0 1.2rem;
}

.page-home .ph-feature__grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 3.6rem;
}

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

.page-home .ph-step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.9rem;
  background: #ffffff;
  clip-path: var(--clip-panel);
  padding: 1.1rem 1.2rem 1.2rem;
  box-shadow: 0 10px 22px rgba(10, 31, 60, 0.07);
}

.page-home .ph-step__num {
  font-family: var(--font-head);
  color: var(--c-red);
  font-size: 1.1rem;
}

.page-home .ph-step__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.4;
}

.page-home .ph-step__body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--c-steel-blue);
}

.page-home .ph-fav-demo {
  align-self: start;
  background: var(--c-deep-blue);
  color: var(--c-text-light);
  padding: 1rem;
  clip-path: var(--clip-panel);
  box-shadow: 0 18px 34px rgba(10, 31, 60, 0.22);
}

.page-home .ph-fav-demo__toolbar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 1rem;
}

.page-home .ph-fav-demo__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.page-home .ph-fav-demo__url {
  flex: 1;
  font-size: 0.68rem;
  color: rgba(245, 247, 250, 0.7);
  padding-left: 0.3rem;
}

.page-home .ph-fav-demo__pin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.95rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--c-red);
  border: 0;
  clip-path: var(--clip-panel);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s;
}

.page-home .ph-fav-demo__pin:hover,
.page-home .ph-fav-demo__pin:focus-visible {
  background: var(--c-dark-red);
  transform: translateY(-3px) skewX(-2deg);
}

.page-home .ph-fav-demo__pin:focus-visible {
  outline: 3px solid var(--c-neon-green);
  outline-offset: 2px;
}

.page-home .ph-fav-demo__pin:active {
  animation: ph-pin-tap 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes ph-pin-tap {
  0% { transform: translateY(0) scale(1); }
  45% { transform: translateY(2px) scale(0.97); }
  100% { transform: translateY(0) scale(1); }
}

.page-home .ph-fav-demo__hint {
  margin: 0.85rem 0 0.2rem;
  font-size: 0.8rem;
  color: var(--c-neon-green);
}

.page-home .ph-fav-demo__tip {
  margin: 0.4rem 0 0;
  font-size: 0.76rem;
  line-height: 1.6;
  color: rgba(245, 247, 250, 0.68);
}

.page-home .ph-data--standings {
  background: var(--c-deep-blue);
  color: var(--c-text-light);
  padding: 3.4rem 0 3.8rem;
}

.page-home .ph-data__head {
  max-width: 52rem;
}

.page-home .ph-data__kicker {
  color: var(--c-neon-green);
}

.page-home .ph-data__title {
  color: #ffffff;
}

.page-home .ph-data__lead {
  color: rgba(245, 247, 250, 0.76);
}

.page-home .ph-data__grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.page-home .ph-data__copy h3 {
  color: #ffffff;
  font-size: 1.15rem;
  margin: 0 0 0.9rem;
}

.page-home .ph-data__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.page-home .ph-data__item {
  position: relative;
  padding-left: 1.2rem;
  color: rgba(245, 247, 250, 0.86);
  line-height: 1.7;
}

.page-home .ph-data__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 8px;
  height: 8px;
  background: var(--c-neon-green);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.page-home .ph-data__note {
  color: rgba(245, 247, 250, 0.7);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}

.page-home .ph-data__btn {
  margin-top: 1.4rem;
  color: #ffffff;
  border-color: rgba(245, 247, 250, 0.6);
}

.page-home .ph-dashboard__tabs {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(57, 255, 20, 0.24);
  clip-path: var(--clip-panel);
  padding: 0.9rem;
}

.page-home .ph-dashboard__list {
  display: flex;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 0.8rem;
  margin: 0;
}

.page-home .ph-dashboard__button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.6rem;
  font-family: var(--font-head);
  font-size: 0.82rem;
  text-decoration: none;
  color: rgba(245, 247, 250, 0.7);
  border: 1px solid transparent;
  transition: background 0.25s, color 0.25s;
}

.page-home .ph-dashboard__button--up {
  background: rgba(57, 255, 20, 0.08);
  color: var(--c-neon-green);
}

.page-home .ph-dashboard__button--down {
  background: rgba(230, 57, 70, 0.08);
  color: #ff8f96;
}

.page-home .ph-dashboard__button:hover,
.page-home .ph-dashboard__button:focus-visible {
  border-color: currentColor;
  outline: none;
}

.page-home .ph-dashboard__panel {
  padding: 1.2rem 0 0.2rem;
}

.page-home .ph-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.page-home .ph-slot {
  background: rgba(255, 255, 255, 0.045);
  padding: 0.9rem 0.4rem;
  text-align: center;
  border-top: 3px solid transparent;
}

.page-home .ph-slot--green {
  border-top-color: var(--c-neon-green);
}

.page-home .ph-slot--red {
  border-top-color: var(--c-red);
}

.page-home .ph-slot span {
  display: block;
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: #ffffff;
}

.page-home .ph-slot small {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.72rem;
  color: rgba(245, 247, 250, 0.65);
}

.page-home .ph-dashboard__meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: rgba(245, 247, 250, 0.68);
}

.page-home .ph-chart {
  margin-top: 2.2rem;
}

.page-home .ph-chart__img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: var(--clip-panel);
}

.page-home .ph-reports {
  background: var(--c-off-white);
  padding: 3.6rem 0 4rem;
}

.page-home .ph-reports__head {
  max-width: 52rem;
}

.page-home .ph-reports__layout {
  display: grid;
  gap: 1.6rem;
  margin-top: 2rem;
  align-items: center;
}

.page-home .ph-reports__intro h3 {
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
}

.page-home .ph-reports__intro p {
  color: var(--c-steel-blue);
  line-height: 1.75;
  margin: 0 0 1rem;
}

.page-home .ph-reports__bar {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.page-home .ph-reports__bar li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--c-text-dark);
}

.page-home .ph-reports__bar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background: var(--c-red);
}

.page-home .ph-reports__frame img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: var(--clip-panel);
}

.page-home .ph-scroll {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.page-home .ph-report-card {
  flex: 0 0 86%;
  scroll-snap-align: start;
  background: #ffffff;
  clip-path: var(--clip-panel);
  padding: 1.5rem 1.3rem;
  box-shadow: 0 12px 26px rgba(10, 31, 60, 0.09);
}

.page-home .ph-report-card--up {
  border-top: 5px solid var(--c-neon-green);
}

.page-home .ph-report-card--mid {
  border-top: 5px solid var(--c-steel-blue);
}

.page-home .ph-report-card--down {
  border-top: 5px solid var(--c-red);
}

.page-home .ph-report-card__tag {
  font-family: var(--font-head);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
}

.page-home .ph-report-card--up .ph-report-card__tag {
  color: var(--c-dark-red);
}

.page-home .ph-report-card--mid .ph-report-card__tag {
  color: var(--c-steel-blue);
}

.page-home .ph-report-card--down .ph-report-card__tag {
  color: var(--c-red);
}

.page-home .ph-report-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
}

.page-home .ph-report-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--c-steel-blue);
  margin: 0 0 0.8rem;
}

.page-home .ph-report-card__foot {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-text-dark);
}

.page-home .ph-reports__cta {
  margin-top: 2rem;
}

.page-home .ph-about {
  background: var(--c-light-gray);
  padding: 3.6rem 0;
}

.page-home .ph-about__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home .ph-about__img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: var(--clip-panel);
}

.page-home .ph-about__body .section-lead {
  color: var(--c-steel-blue);
}

.page-home .ph-about__facts {
  list-style: none;
  margin: 1.4rem 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  counter-reset: ph-about;
}

.page-home .ph-about__facts li {
  counter-increment: ph-about;
  position: relative;
  padding-left: 2rem;
  line-height: 1.6;
  color: var(--c-text-dark);
}

.page-home .ph-about__facts li::before {
  content: counter(ph-about, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.2rem;
  font-family: var(--font-head);
  font-size: 0.88rem;
  color: var(--c-red);
}

.page-home .ph-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.page-home .ph-cta {
  position: relative;
  background: var(--ph-red-grad);
  color: #ffffff;
  padding: 3.4rem 0;
}

.page-home .ph-cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--c-neon-green) 0 12px, transparent 12px 24px);
}

.page-home .ph-cta__inner {
  display: grid;
  gap: 1rem;
}

.page-home .ph-cta__title {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 3vw, 2rem);
  margin: 0;
}

.page-home .ph-cta__text {
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.page-home .ph-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.page-home .ph-cta .btn--ghost {
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
  background: transparent;
}

.page-home .ph-cta .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

@media (min-width: 720px) {
  .page-home .ph-step {
    grid-template-columns: 3rem 1fr;
  }

  .page-home .ph-report-card {
    flex-basis: 46%;
  }

  .page-home .ph-reports__layout {
    grid-template-columns: 1fr 1.1fr;
  }

  .page-home .ph-about__grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (min-width: 1000px) {
  .page-home .ph-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
    padding: 3.6rem 1rem 4.6rem;
  }

  .page-home .ph-hero__visual {
    justify-content: flex-end;
  }

  .page-home .ph-feature__grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
    align-items: start;
  }

  .page-home .ph-data__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .page-home .ph-data__copy {
    max-width: 30rem;
  }

  .page-home .ph-report-card {
    flex-basis: 31%;
  }

  .page-home .ph-cta__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .page-home .ph-cta__actions {
    margin-top: 0;
  }
}

@media (min-width: 1200px) {
  .page-home .ph-hero__grid,
  .page-home .ph-feature__head,
  .page-home .ph-data__head,
  .page-home .ph-reports__head {
    max-width: var(--container-w);
    margin-inline: auto;
    width: 100%;
  }

  .page-home .ph-hero__grid {
    padding-inline: 0;
  }
}
