.page-home {
  --ph-gap: clamp(18px, 2.6vw, 32px);
  --ph-panel: rgba(11, 15, 14, 0.72);
  --ph-hairline: rgba(168, 189, 178, 0.18);
  background: var(--ink-green-950);
  color: var(--text);
  overflow-x: hidden;
}

/* ---------- Hero ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(28px, 5vw, 64px)) 0 clamp(34px, 5vw, 64px);
  background:
    radial-gradient(120% 95% at 84% 4%, rgba(14, 59, 51, 0.92) 0%, rgba(7, 27, 22, 0) 60%),
    linear-gradient(158deg, var(--deep-teal) 0%, var(--ink-green-950) 48%, var(--arena-black) 100%);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  top: -14%;
  right: -10%;
  width: min(76%, 940px);
  height: 132%;
  z-index: -1;
  background: linear-gradient(196deg, rgba(27, 36, 64, 0.92), rgba(11, 15, 14, 0.28));
  clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 100%);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--signal-orange) 0 18%, var(--card-yellow) 18% 30%, var(--card-red) 30% 38%, transparent 38%);
}

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

.page-home .hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: saturate(0.85) contrast(1.06);
  -webkit-mask-image: linear-gradient(104deg, transparent 24%, #000 88%);
  mask-image: linear-gradient(104deg, transparent 24%, #000 88%);
}

.page-home .hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ph-gap);
  align-items: center;
}

.page-home .breadcrumbs {
  margin-bottom: clamp(14px, 2vw, 22px);
}

.page-home .hero__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal-orange);
}

.page-home .hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 6.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--cool-white);
  text-wrap: balance;
}

.page-home .hero__lede {
  margin: 0 0 22px;
  max-width: 34em;
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.78;
  color: var(--text-dim);
}

.page-home .hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.page-home .hero__chips .chip {
  text-decoration: none;
}

.page-home .hero__chips .chip.is-active {
  background: var(--signal-orange);
  border-color: var(--signal-orange);
  color: var(--arena-black);
  font-weight: 700;
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.page-home .hero__meta {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--mist-green);
}

/* Hero panel */
.page-home .hero__panel {
  position: relative;
  padding: clamp(16px, 2.2vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ph-panel);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 70px -50px rgba(0, 0, 0, 0.95);
}

.page-home .hero__panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: clamp(16px, 2.2vw, 26px);
  width: 52px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--signal-orange);
}

.page-home .panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ph-hairline);
}

.page-home .panel__label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--mist-green);
}

.page-home .panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .panel__row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--ph-hairline);
}

.page-home .panel__time {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--signal-orange);
}

.page-home .panel__match {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--cool-white);
  min-width: 0;
}

.page-home .panel__match em {
  font-style: normal;
  display: inline-block;
  margin-left: 3px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: rgba(168, 189, 178, 0.16);
  font-size: 10.5px;
  line-height: 16px;
  color: var(--mist-green);
}

.page-home .panel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
}

.page-home .panel__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--signal-orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 26, 0.5);
}

.page-home .panel__hint {
  font-size: 11.5px;
  color: var(--mist-green);
}

/* ---------- Ticker ---------- */
.page-home .ticker {
  position: relative;
  overflow: hidden;
  padding: 12px 0;
  background: var(--arena-black);
  border-top: 1px solid var(--ph-hairline);
  border-bottom: 1px solid var(--ph-hairline);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.page-home .ticker__track {
  display: flex;
  width: max-content;
  animation: ph-ticker 54s linear infinite;
}

.page-home .ticker:hover .ticker__track {
  animation-play-state: paused;
}

.page-home .ticker__group {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.4vw, 44px);
  padding-right: clamp(22px, 3.4vw, 44px);
}

.page-home .ticker__item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--mist-green);
}

.page-home .ticker__item b {
  font-weight: 700;
  color: var(--cool-white);
}

.page-home .ticker__item .numeric {
  color: var(--signal-orange);
  font-weight: 700;
}

@keyframes ph-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section 01: path ---------- */
.page-home .path {
  list-style: none;
  margin: 0 0 clamp(22px, 3vw, 34px);
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ph-gap);
}

.page-home .path__step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--radius-md);
}

.page-home .path__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--signal-orange);
}

.page-home .path__title {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--cool-white);
}

.page-home .path__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-home .path__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Section 02: round table ---------- */
.page-home .table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(11, 15, 14, 0.62);
  -webkit-overflow-scrolling: touch;
}

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

.page-home .round-table caption {
  caption-side: top;
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mist-green);
  border-bottom: 1px solid var(--ph-hairline);
}

.page-home .round-table th {
  padding: 11px 14px;
  text-align: left;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--mist-green);
  background: var(--arena-black);
  border-bottom: 1px solid var(--line);
}

.page-home .round-table td {
  padding: 13px 14px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(168, 189, 178, 0.12);
  color: var(--cool-white);
}

.page-home .round-table tbody tr:nth-child(even) {
  background: rgba(14, 59, 51, 0.3);
}

.page-home .round-table tbody tr:hover {
  background: rgba(255, 106, 26, 0.08);
}

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

.page-home .round-table .numeric {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--signal-orange);
}

.page-home .side {
  display: inline-block;
  margin-left: 5px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-size: 10.5px;
  line-height: 17px;
  color: var(--mist-green);
}

.page-home .side--home {
  border-color: rgba(255, 106, 26, 0.7);
  color: var(--signal-orange);
}

.page-home .cards-mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 8px;
}

.page-home .mini-card {
  display: inline-block;
  width: 9px;
  height: 13px;
  border-radius: 2px;
  flex: none;
}

.page-home .mini-card--red {
  background: var(--card-red);
}

.page-home .mini-card--yellow {
  background: var(--card-yellow);
}

.page-home .mini-card--clash {
  background: linear-gradient(180deg, var(--card-red) 0 50%, var(--card-yellow) 50% 100%);
}

.page-home .round__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ph-gap);
  margin-top: clamp(22px, 3vw, 36px);
  align-items: center;
}

.page-home .round__note {
  padding: clamp(18px, 2.4vw, 28px);
  border-left: 3px solid var(--signal-orange);
  background: rgba(11, 15, 14, 0.5);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.page-home .round__note-title {
  margin: 0 0 10px;
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 800;
  color: var(--cool-white);
}

.page-home .round__note p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--text-dim);
}

.page-home .round__note-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--signal-orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 26, 0.5);
}

/* ---------- Section 03: cards ---------- */
.page-home .cards-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ph-gap);
  align-items: center;
}

.page-home .cards-copy__lede {
  margin: 16px 0 20px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-dim);
}

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

.page-home .cards-list__item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.page-home .cards-list__item .mini-card {
  margin-top: 5px;
}

.page-home .cards-list__title {
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 800;
  color: var(--cool-white);
}

.page-home .cards-list__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-dim);
}

/* ---------- Section 04: trust ---------- */
.page-home .trust {
  position: relative;
  overflow: hidden;
  background: var(--ink-green-950);
}

.page-home .trust__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .trust__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}

.page-home .trust .container {
  position: relative;
  z-index: 1;
}

.page-home .trust__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
  overflow: hidden;
}

.page-home .trust__stats .stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(15px, 2.2vw, 24px);
  background: rgba(11, 15, 14, 0.86);
}

.page-home .trust__stats .stat__value {
  font-family: var(--font-mono);
  font-size: clamp(21px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--signal-orange);
}

.page-home .trust__stats .stat__label {
  font-size: 12px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--mist-green);
}

.page-home .trust__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 24px);
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-home .trust__body p {
  margin: 0;
  max-width: 46em;
  font-size: 15px;
  line-height: 1.82;
  color: var(--text-dim);
}

.page-home .trust__body .numeric {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--cool-white);
}

.page-home .trust__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Section 05: links ---------- */
.page-home .links-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ph-gap);
}

.page-home .link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 158px;
  padding: clamp(18px, 2.3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(27, 36, 64, 0.6), rgba(11, 15, 14, 0.9));
  color: var(--cool-white);
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .link-card:hover,
.page-home .link-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--signal-orange);
}

.page-home .link-card__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--signal-orange);
}

.page-home .link-card__title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}

.page-home .link-card__desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .link-card__arrow {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--signal-orange);
  transition: transform 0.25s var(--ease);
}

.page-home .link-card:hover .link-card__arrow {
  transform: translateX(4px);
}

/* ---------- Media tweaks ---------- */
.page-home .media-frame img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .page-home .path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .path__step:nth-child(2) {
    margin-top: 30px;
  }

  .page-home .path__step:nth-child(3) {
    margin-top: -12px;
  }

  .page-home .links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-home .trust__body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(26px, 4vw, 60px);
  }

  .page-home .round__split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .page-home .cards-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(26px, 4vw, 54px);
  }
}

@media (min-width: 1100px) {
  .page-home .links-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .page-home .panel__row {
    grid-template-columns: 46px minmax(0, 1fr);
    row-gap: 6px;
  }

  .page-home .panel__row .tag {
    grid-column: 2;
    justify-self: start;
  }

  .page-home .hero__title {
    font-size: clamp(30px, 8.6vw, 40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ticker__track {
    animation: none;
  }

  .page-home .link-card,
  .page-home .link-card__arrow {
    transition: none;
  }
}
