.page-home,
.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

.page-home {
  --pg-bg-deep: #0B0F1A;
  --pg-bg-card: #111827;
  --pg-line: #1F2937;
  --pg-neon: #00FF88;
  --pg-blue: #00BFFF;
  --pg-orange: #FF4500;
  --pg-text: #E5E7EB;
  --pg-sub: #9CA3AF;
  --pg-head: "Arial Black", "Helvetica Neue", sans-serif;
  --pg-num: "Roboto Mono", "SFMono-Regular", monospace;
  --pg-body: "Inter", "Noto Sans SC", sans-serif;
  --pg-space: clamp(1.25rem, 4vw, 3rem);
  --pg-gap: clamp(1.5rem, 4vw, 2.5rem);
  --pg-ease: cubic-bezier(.2, .8, .2, 1);
  width: 100%;
  overflow-x: hidden;
  background: var(--pg-bg-deep);
  color: var(--pg-text);
  font-family: var(--pg-body);
}

.page-home .home-num {
  font-family: var(--pg-num);
  font-variant-numeric: tabular-nums;
}

.page-home .home-section-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--pg-space);
}

.page-home .home-section-narrow {
  max-width: 1120px;
}

.page-home .home-section-head {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.page-home .home-section-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-home .home-section-index {
  font-family: var(--pg-num);
  font-size: 12px;
  color: var(--pg-orange);
  border: 1px solid var(--pg-line);
  padding: 2px 8px;
  display: inline-block;
  letter-spacing: 0;
}

.page-home .home-section-tag {
  display: inline-block;
  color: var(--pg-sub);
  border-left: 2px solid var(--pg-neon);
  padding-left: 0.75rem;
  text-transform: none;
  letter-spacing: 0.02em;
}

.page-home .home-section-title {
  font-family: var(--pg-head);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.page-home .home-section-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--pg-sub);
  max-width: 640px;
  margin: 0;
}

.page-home .home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-bottom: 1px solid var(--pg-line);
  background: var(--pg-bg-deep);
}

.page-home .home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  z-index: 0;
}

.page-home .home-hero-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(11, 15, 26, 0.96) 0%, rgba(11, 15, 26, 0.82) 55%, rgba(17, 24, 39, 0.45) 100%);
}

.page-home .home-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}

.page-home .home-hero-layout {
  position: relative;
  z-index: 3;
  flex: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: calc(var(--header-h, 60px) + 1.5rem) var(--pg-space) 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pg-gap);
  align-content: center;
}

.page-home .home-breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--pg-sub);
  margin-bottom: 1.25rem;
  font-family: var(--pg-num);
}

.page-home .home-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--pg-blue);
  border: 1px solid var(--pg-line);
  padding: 8px 14px;
  margin-bottom: 1.25rem;
  background: rgba(17, 24, 39, 0.5);
}

.page-home .home-hero-title {
  font-family: var(--pg-head);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.6vw, 4.3rem);
  line-height: 1.02;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.page-home .home-hero-title-main {
  display: block;
}

.page-home .home-hero-title-dot {
  margin: 0 0.2em;
  color: var(--pg-neon);
}

.page-home .home-hero-title-line {
  display: block;
  font-family: var(--pg-head);
  font-weight: 800;
  font-size: 0.42em;
  color: var(--pg-blue);
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
}

.page-home .home-hero-lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--pg-text);
  max-width: 32em;
  margin-bottom: 2rem;
}

.page-home .home-quick-panel {
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid var(--pg-line);
  border-left: 3px solid var(--pg-neon);
  padding: 1.25rem 1.25rem 1.05rem;
  max-width: 620px;
}

.page-home .home-quick-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--pg-line);
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
}

.page-home .home-quick-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--pg-sub);
}

.page-home .home-quick-hint {
  font-size: 11px;
  color: var(--pg-orange);
  border: 1px solid var(--pg-line);
  padding: 2px 6px;
  font-family: var(--pg-num);
}

.page-home .home-quick-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.page-home .home-quick-search input {
  width: 100%;
  background: var(--pg-bg-deep);
  border: 1px solid var(--pg-line);
  color: var(--pg-text);
  padding: 12px 14px 12px 40px;
  font-family: var(--pg-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s var(--pg-ease);
}

.page-home .home-quick-search input:focus {
  border-color: var(--pg-neon);
}

.page-home .home-quick-search input::placeholder {
  color: #6B7280;
}

.page-home .home-quick-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.page-home .home-quick-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border: 2px solid var(--pg-blue);
  border-radius: 50%;
  pointer-events: none;
}

.page-home .home-quick-search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 6px;
  height: 2px;
  background: var(--pg-blue);
  transform: rotate(45deg);
  border-radius: 1px;
}

.page-home .home-quick-round {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: 0.9rem;
}

.page-home .home-quick-round-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--pg-sub);
}

.page-home .home-quick-round-track {
  position: relative;
  height: 4px;
  background: var(--pg-line);
}

.page-home .home-quick-round-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--pg-neon);
}

.page-home .home-quick-round-knob {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: var(--pg-bg-deep);
  border: 2px solid var(--pg-neon);
  border-radius: 50%;
}

.page-home .home-quick-round-num {
  font-size: 13px;
  color: var(--pg-neon);
  white-space: nowrap;
}

.page-home .home-hero-summary {
  position: relative;
  background: rgba(17, 24, 39, 0.82);
  border: 1px solid var(--pg-line);
  padding: 2rem 2.2rem 1.75rem;
  clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);
}

.page-home .home-summary-kicker {
  font-family: var(--pg-head);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--pg-neon);
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--pg-line);
  padding-bottom: 0.75rem;
}

.page-home .home-summary-list {
  display: grid;
  gap: 1rem;
}

.page-home .home-summary-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--pg-text);
}

.page-home .home-summary-num {
  font-family: var(--pg-num);
  color: var(--pg-orange);
  font-size: 13px;
  border: 1px solid var(--pg-line);
  padding: 2px 5px;
  align-self: start;
  margin-top: 2px;
}

.page-home .home-summary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  color: var(--pg-blue);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--pg-neon);
  padding-bottom: 4px;
  transition: color 0.3s var(--pg-ease), border-color 0.3s var(--pg-ease);
}

.page-home .home-summary-link:hover {
  color: var(--pg-neon);
  border-bottom-color: var(--pg-blue);
}

.page-home .home-hero-routes {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--pg-line);
  background: rgba(11, 15, 26, 0.75);
  backdrop-filter: blur(8px);
}

.page-home .home-route-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.25rem;
  color: var(--pg-text);
  text-decoration: none;
  border-bottom: 1px solid var(--pg-line);
  font-size: 14px;
  transition: background 0.3s var(--pg-ease);
}

.page-home .home-route-link:hover {
  background: rgba(0, 255, 136, 0.06);
}

.page-home .home-route-link:last-child {
  border-bottom: none;
}

.page-home .home-route-index {
  font-family: var(--pg-num);
  color: var(--pg-neon);
  font-size: 12px;
}

.page-home .home-compare {
  background: linear-gradient(180deg, var(--pg-bg-deep) 0%, rgba(17, 24, 39, 0.35) 100%);
  border-bottom: 1px solid var(--pg-line);
}

.page-home .home-round-switch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  align-items: center;
  border: 1px solid var(--pg-line);
  background: rgba(17, 24, 39, 0.6);
  padding: 1.1rem 1.25rem;
  margin-bottom: 2.5rem;
}

.page-home .home-round-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-home .home-round-label,
.page-home .home-round-range {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--pg-sub);
}

.page-home .home-round-track {
  position: relative;
  height: 6px;
  background: var(--pg-line);
}

.page-home .home-round-trackfill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--pg-neon), var(--pg-blue));
}

.page-home .home-round-knob {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 28px;
  background: var(--pg-bg-deep);
  border: 2px solid var(--pg-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pg-neon);
  font-size: 12px;
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.35);
}

.page-home .home-compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.page-home .home-compare-card {
  background: var(--pg-bg-card);
  border: 1px solid var(--pg-line);
  border-top: 3px solid var(--pg-neon);
  padding: 1.5rem 1.25rem;
  transition: border-color 0.3s var(--pg-ease), transform 0.3s var(--pg-ease);
}

.page-home .home-compare-card:hover {
  border-color: var(--pg-neon);
  transform: translateY(-2px);
}

.page-home .home-compare-card-secondary {
  border-top-color: var(--pg-blue);
}

.page-home .home-compare-card-secondary:hover {
  border-color: var(--pg-blue);
}

.page-home .home-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--pg-line);
  padding-bottom: 0.75rem;
}

.page-home .home-card-title {
  font-family: var(--pg-head);
  font-size: 1.15rem;
  margin: 0;
}

.page-home .home-card-meta {
  font-size: 12px;
  color: var(--pg-orange);
}

.page-home .home-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .home-table th {
  text-align: left;
  font-weight: 500;
  color: var(--pg-sub);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--pg-line);
  white-space: nowrap;
}

.page-home .home-table td {
  padding: 0.8rem 0.5rem;
  border-bottom: 1px solid rgba(31, 41, 55, 0.6);
  white-space: nowrap;
}

.page-home .home-table tr:last-child td {
  border-bottom: none;
}

.page-home .home-table th:nth-child(3),
.page-home .home-table td:nth-child(3),
.page-home .home-table th:nth-child(4),
.page-home .home-table td:nth-child(4) {
  text-align: right;
}

.page-home .home-compare-visual,
.page-home .home-replay-visual,
.page-home .home-mobile-visual {
  position: relative;
  border: 1px solid var(--pg-line);
  background: var(--pg-bg-card);
}

.page-home .home-compare-visual img,
.page-home .home-replay-visual img,
.page-home .home-mobile-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.page-home .home-visual-caption {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 13px;
  color: var(--pg-sub);
  border-top: 1px solid var(--pg-line);
  background: rgba(17, 24, 39, 0.5);
}

.page-home .home-replay {
  background: linear-gradient(180deg, rgba(11, 15, 26, 1) 0%, rgba(17, 24, 39, 0.6) 100%);
  border-bottom: 1px solid var(--pg-line);
  position: relative;
}

.page-home .home-replay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(31, 41, 55, 0.4) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 41, 55, 0.4) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.4;
  pointer-events: none;
}

.page-home .home-replay .home-section-inner {
  position: relative;
  z-index: 1;
}

.page-home .home-replay-steps {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
}

.page-home .home-replay-step {
  position: relative;
  padding: 0 0 2.4rem 3rem;
}

.page-home .home-replay-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 28px;
  bottom: 0;
  width: 1px;
  background: var(--pg-line);
}

.page-home .home-step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--pg-neon);
  background: var(--pg-bg-deep);
  color: var(--pg-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  z-index: 2;
}

.page-home .home-step-title {
  font-family: var(--pg-head);
  font-size: 1.1rem;
  margin: 0 0 0.45rem;
}

.page-home .home-step-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--pg-sub);
  max-width: 30em;
}

.page-home .home-mobile {
  background: linear-gradient(135deg, rgba(11, 15, 26, 0.9) 0%, rgba(17, 24, 39, 0.4) 100%);
  border-bottom: 1px solid var(--pg-line);
}

.page-home .home-mobile-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pg-gap);
}

.page-home .home-mobile-points {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.page-home .home-mobile-points li {
  position: relative;
  padding: 1rem 1.25rem;
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid var(--pg-line);
  border-left: 3px solid var(--pg-blue);
  line-height: 1.55;
  font-size: 15px;
}

.page-home .home-point-title {
  display: block;
  font-family: var(--pg-head);
  font-size: 14px;
  color: var(--pg-neon);
  margin-bottom: 0.25rem;
}

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

.page-home .home-metric {
  border: 1px solid var(--pg-line);
  padding: 1.25rem 1rem;
  background: var(--pg-bg-card);
}

.page-home .home-metric-num {
  display: block;
  font-family: var(--pg-num);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--pg-neon);
  line-height: 1.1;
}

.page-home .home-metric-label {
  display: block;
  font-size: 12px;
  color: var(--pg-sub);
  margin-top: 0.35rem;
}

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

.page-home .btn {
  background: var(--pg-neon);
  color: var(--pg-bg-deep);
}

.page-home .btn-ghost {
  background: transparent;
  border-color: var(--pg-blue);
  color: var(--pg-blue);
}

.page-home .home-mobile-visual {
  max-width: 420px;
  margin: 0 auto;
}

.page-home .home-trust {
  border-top: 1px solid var(--pg-line);
  background: rgba(11, 15, 26, 0.6);
}

.page-home .home-trust-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem var(--pg-space);
  display: grid;
  gap: 1.5rem;
}

.page-home .home-trust-text {
  margin: 0;
  max-width: 820px;
  color: var(--pg-sub);
  line-height: 1.75;
  font-size: 15px;
}

.page-home .home-trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.page-home .home-trust-links a {
  color: var(--pg-blue);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--pg-line);
  padding-bottom: 2px;
  transition: color 0.3s var(--pg-ease), border-color 0.3s var(--pg-ease);
}

.page-home .home-trust-links a:hover {
  border-bottom-color: var(--pg-neon);
  color: var(--pg-neon);
}

@media (min-width: 900px) {
  .page-home .home-section-head {
    display: grid;
    grid-template-columns: 280px 1fr;
    column-gap: 2rem;
    align-items: end;
  }

  .page-home .home-section-kicker {
    grid-column: 1 / -1;
    margin-bottom: 0 !important;
  }

  .page-home .home-section-title {
    grid-column: 1 / -1;
  }

  .page-home .home-section-lead {
    grid-column: 1 / -1;
  }

  .page-home .home-replay-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .page-home .home-replay-step {
    padding: 1.5rem 1.5rem 1.25rem;
    border: 1px solid var(--pg-line);
    border-top: 3px solid var(--pg-neon);
    background: rgba(17, 24, 39, 0.55);
  }

  .page-home .home-replay-step:not(:last-child)::before {
    display: none;
  }

  .page-home .home-step-num {
    position: static;
    display: flex;
    margin-bottom: 0.75rem;
  }

  .page-home .home-replay-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -1.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pg-neon);
    font-size: 1.5rem;
    font-family: var(--pg-num);
    z-index: 3;
  }

  .page-home .home-mobile-split {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.5fr);
    align-items: center;
    gap: 4rem;
  }

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

@media (min-width: 960px) {
  .page-home .home-hero-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    column-gap: 4rem;
  }

  .page-home .home-hero-routes {
    display: flex;
  }

  .page-home .home-route-link {
    flex: 1;
    justify-content: center;
    border-bottom: none;
    border-right: 1px solid var(--pg-line);
  }

  .page-home .home-route-link:last-child {
    border-right: none;
  }

  .page-home .home-compare-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2rem;
  }

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

  .page-home .home-round-head {
    justify-content: flex-start;
    gap: 2rem;
  }
}
