.page-home {
  --ph-gutter: 1.25rem;
  --ph-width: min(var(--container), calc(100% - 2 * var(--ph-gutter)));
  --ph-radius-xl: 1.75rem;
  --ph-glow-green: rgba(57, 255, 136, .14);
  --ph-glow-orange: rgba(255, 107, 53, .14);
}

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

.page-home figure {
  margin: 0;
}

.page-home .section {
  padding: 2.5rem var(--ph-gutter);
}

.page-home .section-head {
  max-width: 52rem;
  margin-bottom: 1.75rem;
}

.page-home .section-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.16;
  margin: 0 0 .75rem;
  letter-spacing: -.015em;
}

.page-home .section-desc {
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.page-home .section-eyebrow {
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .75rem;
  margin-bottom: .6rem;
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .75rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
}

.page-home .btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #FF8A5C);
  color: #fff;
  box-shadow: 0 10px 28px rgba(255, 107, 53, .28);
}

.page-home .btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-strong), var(--color-primary));
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 107, 53, .36);
}

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

.page-home .btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.page-home .hero-split {
  display: grid;
  gap: 1.4rem;
  padding: 1.4rem var(--ph-gutter) 3rem;
  position: relative;
  background:
    radial-gradient(circle at 78% 24%, var(--ph-glow-green), transparent 44%),
    radial-gradient(circle at 18% 84%, var(--ph-glow-orange), transparent 50%);
  overflow: hidden;
}

.page-home .hero-split .breadcrumb {
  grid-column: 1 / -1;
}

.page-home .hero-copy {
  max-width: 34rem;
}

.page-home .hero-eyebrow {
  color: var(--color-accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: .9rem;
}

.page-home .hero-title {
  font-size: clamp(2.25rem, 6.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
  transform: skew(-5deg);
  transform-origin: left center;
  margin: 0 0 1.25rem;
}

.page-home .hero-title-accent {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--color-primary) 10%, var(--color-accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  padding-bottom: .08em;
}

.page-home .hero-desc {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1.6rem;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.page-home .hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.2rem;
  list-style: none;
  margin: 1.7rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--color-line);
}

.page-home .hero-metrics li {
  display: flex;
  flex-direction: column;
  gap: .16rem;
}

.page-home .hero-metrics strong {
  font-family: var(--font-data);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.page-home .hero-metrics span {
  font-size: .8rem;
  color: var(--color-muted);
}

.page-home .hero-visual {
  position: relative;
  border-radius: var(--ph-radius-xl);
  min-height: 240px;
}

.page-home .pitch-svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--ph-radius-xl);
  box-shadow: var(--shadow-1);
}

.page-home .pitch-trail-a {
  animation: ph-dash-flow 2.8s linear infinite;
}

.page-home .pitch-trail-b {
  animation: ph-dash-flow 3.6s linear infinite reverse;
}

.page-home .pitch-dot {
  animation: ph-dot-pulse 2.4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.page-home .pitch-dot-lg {
  animation-duration: 3.2s;
}

.page-home .hero-float-card {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 29, 58, .78);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  color: var(--color-text);
  font-size: .84rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}

.page-home .hero-float-card .status-dot {
  animation: ph-pulse 2s ease-in-out infinite;
}

.page-home .hero-float-card-secondary {
  top: auto;
  bottom: 1.1rem;
  flex-direction: column;
  align-items: flex-start;
  gap: .06rem;
  animation: ph-float 4s ease-in-out infinite;
}

.page-home .hero-float-num {
  font-family: var(--font-data);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.page-home .hero-float-label {
  font-size: .76rem;
  color: var(--color-muted);
}

.page-home .nav-redesign .section-head,
.page-home .data-overview .section-head,
.page-home .live-status .section-head,
.page-home .download-zone .section-head {
  margin-inline: auto;
}

.page-home .nav-path-grid {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 1.25rem;
}

.page-home .nav-path-card {
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  transition: border-color .3s, background-color .3s;
}

.page-home .nav-path-card:hover {
  border-color: rgba(255, 255, 255, .2);
}

.page-home .nav-path-card-highlight {
  background: linear-gradient(135deg, rgba(255, 107, 53, .13), rgba(57, 255, 136, .08));
  border-color: rgba(255, 107, 53, .34);
}

.page-home .nav-path-card-highlight:hover {
  border-color: rgba(255, 107, 53, .55);
}

.page-home .nav-path-label {
  display: block;
  font-size: .8rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.page-home .path-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-weight: 700;
}

.page-home .path-steps span {
  display: inline-flex;
  align-items: center;
  padding: .45rem .95rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: .88rem;
  white-space: nowrap;
}

.page-home .path-steps i {
  font-style: normal;
  color: var(--color-muted);
}

.page-home .path-step-hot {
  background: rgba(255, 107, 53, .22) !important;
  border-color: rgba(255, 107, 53, .52) !important;
  color: #ffb39b;
}

.page-home .nav-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.page-home .nav-tag {
  padding: .35rem .95rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  font-size: .8rem;
  color: var(--color-muted);
}

.page-home .nav-redesign-figure {
  margin-top: 1.4rem;
}

.page-home .nav-redesign-figure img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
}

.page-home .nav-more {
  margin: 1.15rem 0 0;
  font-size: .9rem;
}

.page-home .nav-more a {
  color: var(--color-accent);
  text-decoration: none;
}

.page-home .nav-more a:hover {
  text-decoration: underline;
}

.page-home .data-overview {
  background: linear-gradient(180deg, transparent, rgba(15, 42, 77, .44), transparent);
}

.page-home .filter-bar {
  margin-bottom: 1.4rem;
}

.page-home .overview-cards {
  margin-bottom: 1.5rem;
}

.page-home .data-card {
  padding: 1.3rem 1.4rem;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s;
  cursor: default;
}

.page-home .data-card:hover {
  transform: translateY(-5px);
  border-color: rgba(57, 255, 136, .36);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .26);
}

.page-home .data-card-label {
  display: block;
  font-size: .78rem;
  color: var(--color-muted);
  margin-bottom: .75rem;
  letter-spacing: .04em;
}

.page-home .data-card-big {
  font-family: var(--font-data);
  font-size: 1.55rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.page-home .data-card .data-list {
  margin: 0;
  padding: .85rem 0 0;
  list-style: none;
  border-top: 1px solid var(--color-line);
}

.page-home .overview-chart img {
  border-radius: var(--radius-xl);
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-1);
}

.page-home .overview-chart figcaption {
  font-size: .84rem;
  color: var(--color-muted);
  margin-top: .65rem;
  text-align: center;
}

.page-home .live-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.page-home .status-panel {
  padding: 1.25rem 1.4rem;
}

.page-home .status-panel .console-bar {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.page-home .status-panel .console-bar:last-of-type {
  border-bottom: none;
}

.page-home .status-panel .console-label {
  flex: 1;
  color: var(--color-muted);
  font-size: .85rem;
}

.page-home .status-panel .console-value {
  font-family: var(--font-data);
  font-weight: 700;
  color: var(--color-accent);
  font-size: .92rem;
}

.page-home .status-panel .console-bar .status-dot {
  animation: ph-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.page-home .status-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: 1rem;
}

.page-home .status-metrics .console-metric {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: .95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .22rem;
}

.page-home .status-metrics .console-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text);
  font-family: var(--font-data);
}

.page-home .live-figure img {
  border-radius: var(--radius-xl);
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-1);
}

.page-home .live-figure figcaption {
  font-size: .84rem;
  color: var(--color-muted);
  margin-top: .6rem;
  text-align: center;
}

.page-home .download-zone {
  background:
    radial-gradient(circle at 82% 30%, rgba(57, 255, 136, .09), transparent 42%),
    linear-gradient(180deg, transparent, rgba(15, 42, 77, .34), transparent);
}

.page-home .download-layout {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.page-home .download-copy {
  padding: 1.7rem 1.5rem;
}

.page-home .download-copy h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.page-home .download-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: .65rem;
}

.page-home .download-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--color-text);
  font-size: .95rem;
  line-height: 1.5;
}

.page-home .download-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--color-accent);
}

.page-home .download-note {
  margin-top: .9rem;
  font-size: .82rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.page-home .download-note a {
  color: var(--color-accent);
  text-decoration: none;
}

.page-home .download-note a:hover {
  text-decoration: underline;
}

.page-home .download-phone img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-1);
  object-fit: cover;
  object-position: top;
  max-height: 560px;
  width: 100%;
}

@media (min-width: 640px) {
  .page-home .hero-split {
    padding-inline: 2rem;
  }

  .page-home .section {
    padding-inline: 2rem;
  }

  .page-home .hero-metrics {
    gap: 1rem 2.8rem;
  }
}

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

  .page-home .live-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .page-home .live-figure {
    margin: 0;
  }
}

@media (min-width: 900px) {
  .page-home .hero-split {
    grid-template-columns: 1fr 1.08fr;
    gap: 2.2rem 3rem;
    min-height: calc(100vh - 5rem);
    align-content: center;
    padding: 3rem 2.5rem 4.5rem;
  }

  .page-home .hero-copy {
    align-self: center;
  }

  .page-home .hero-visual {
    min-height: 0;
  }

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

  .page-home .status-panel {
    padding: 1.6rem 1.7rem;
  }

  .page-home .download-layout {
    grid-template-columns: 1fr .72fr;
    gap: 2.2rem;
  }

  .page-home .download-copy {
    padding: 2.2rem 2rem;
  }

  .page-home .download-phone img {
    max-height: 640px;
  }
}

@media (min-width: 1200px) {
  .page-home .hero-split {
    padding-inline: max(2.5rem, calc((100vw - var(--container)) / 2 + 1rem));
  }

  .page-home .section {
    padding-inline: max(2.5rem, calc((100vw - var(--container)) / 2 + 1rem));
  }

  .page-home .hero-split .breadcrumb {
    max-width: var(--container);
  }
}

@keyframes ph-dash-flow {
  to {
    stroke-dashoffset: -40;
  }
}

@keyframes ph-dot-pulse {
  0%, 100% {
    opacity: .68;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.24);
  }
}

@keyframes ph-float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

@keyframes ph-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(57, 255, 136, .45);
  }

  50% {
    opacity: .72;
    box-shadow: 0 0 0 8px rgba(57, 255, 136, 0);
  }
}
