.page-home {
  --home-bleed: clamp(20px, 4vw, 44px);
  --home-skew: -3deg;
  --home-panel-cut: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
}

.page-home .home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 620px;
  padding: 96px 0 42px;
  background: var(--charcoal);
}

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

.page-home .home-hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08);
}

.page-home .home-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(43,43,43,0.92) 0%, rgba(43,43,43,0.52) 55%, rgba(33,58,102,0.42) 100%);
}

.page-home .home-hero-pulse {
  position: absolute;
  top: -18%;
  right: -14%;
  width: 56%;
  height: 140%;
  z-index: 2;
  transform: rotate(15deg);
  background: linear-gradient(90deg, rgba(242,122,36,0.24), rgba(29,111,242,0.16));
  pointer-events: none;
  animation: home-pulse-drift 6s ease-in-out infinite alternate;
}

.page-home .home-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-home .home-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  font: 400 12px/1.6 var(--font-body);
  color: rgba(245,240,230,0.66);
}

.page-home .home-breadcrumb .breadcrumb-sep {
  opacity: 0.55;
}

.page-home .home-breadcrumb .breadcrumb-current {
  color: var(--vital-orange);
}

.page-home .home-hero-layout {
  display: grid;
  gap: 30px;
  align-items: center;
}

.page-home .home-hero-copy {
  position: relative;
  max-width: 680px;
}

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

.page-home .home-hero-blue {
  position: absolute;
  left: -6%;
  top: 2%;
  width: 78%;
  height: 300px;
  z-index: 0;
  opacity: 0.92;
  background: linear-gradient(120deg, rgba(29,111,242,0.7), rgba(29,111,242,0.16));
  clip-path: polygon(0 0, 84% 0, 100% 100%, 5% 100%);
  transform: skewX(-5deg);
}

.page-home .home-eyebrow {
  margin-bottom: 14px;
  color: var(--vital-orange);
}

.page-home .home-hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 0 0 22px;
  color: var(--cream);
  font: 900 clamp(38px, 8vw, 72px)/1.08 var(--font-black);
  letter-spacing: -0.02em;
}

.page-home .home-title-pipe {
  display: inline-block;
  flex: 0 0 8px;
  width: 38px;
  margin-left: 4px;
  background: linear-gradient(90deg, var(--vital-orange), #ffa64d);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 10px 100%);
  transform: skewX(-14deg);
}

.page-home .home-title-accent {
  color: #fff;
}

.page-home .home-hero-desc {
  max-width: 620px;
  margin: 0 0 26px;
  color: rgba(245,240,230,0.88);
  font: 300 15px/1.9 var(--font-light);
}

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

.page-home .btn-outline {
  border: 1px solid rgba(245,240,230,0.68);
  color: var(--cream);
  background: transparent;
}

.page-home .home-hero-panel {
  position: relative;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(43,43,43,0.88);
  color: var(--cream);
  box-shadow: var(--shadow);
}

.page-home .home-hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44%;
  height: 4px;
  background: linear-gradient(90deg, var(--vital-orange), var(--electric-blue));
}

.page-home .home-panel-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font: 700 14px/1.4 var(--font-body);
  color: var(--moss-green);
}

.page-home .home-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--moss-green);
  box-shadow: 0 0 0 0 rgba(107, 142, 78, 0.55);
  animation: home-pulse 2s ease-out infinite;
}

.page-home .home-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 0 20px;
}

.page-home .home-mini-item {
  padding: 14px;
  background: rgba(245, 240, 230, 0.06);
  border-left: 3px solid var(--vital-orange);
}

.page-home .home-mini-item dt {
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(245, 240, 230, 0.6);
}

.page-home .home-mini-item dd {
  margin: 0;
  font: 900 24px/1.2 var(--font-black);
  color: var(--cream);
}

.page-home .home-panel-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px dashed rgba(29, 111, 242, 0.7);
  color: var(--electric-blue);
  font-size: 14px;
  text-decoration: none;
}

.page-home .home-dashboard {
  position: relative;
  padding: 60px 0;
  background: linear-gradient(160deg, var(--cream) 0%, var(--light-sand) 100%);
}

.page-home .home-dashboard::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 18px;
  background: repeating-linear-gradient(-45deg, var(--electric-blue) 0 10px, transparent 10px 20px);
}

.page-home .home-dashboard-head {
  margin-bottom: 28px;
}

.page-home .home-dashboard-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.page-home .home-dashboard-main {
  display: grid;
  gap: 22px;
}

.page-home .home-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.page-home .data-card {
  margin: 0;
  padding: 20px;
  background: rgba(245, 240, 230, 0.88);
  border: 1px solid rgba(43, 43, 43, 0.06);
  box-shadow: 0 6px 18px rgba(43, 43, 43, 0.06);
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.page-home .data-card:hover,
.page-home .data-card:focus-within {
  transform: translateY(-4px) skewX(0.4deg);
  box-shadow: 0 14px 34px rgba(43, 43, 43, 0.14);
}

.page-home .home-stat-label {
  margin: 0 0 6px;
  font: 700 14px/1.4 var(--font-body);
  color: rgba(43, 43, 43, 0.7);
}

.page-home .home-stat-value {
  margin: 0 0 8px;
  font: 900 clamp(28px, 4vw, 42px)/1.1 var(--font-black);
  color: var(--charcoal);
}

.page-home .home-stat-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(43, 43, 43, 0.68);
}

.page-home .data-card .data-card-more {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(43, 43, 43, 0.24);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(43, 43, 43, 0.76);
}

.page-home .data-card:hover .data-card-more,
.page-home .data-card:focus-within .data-card-more {
  display: block;
}

.page-home .home-leaderboard {
  padding: 22px;
  background: var(--charcoal);
  color: var(--cream);
}

.page-home .home-leaderboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.page-home .home-leaderboard-head h3 {
  margin: 0;
  font: 900 20px/1.3 var(--font-black);
}

.page-home .home-sync-badge {
  padding: 4px 8px;
  border: 1px solid rgba(107, 142, 78, 0.55);
  color: var(--moss-green);
  font-size: 12px;
  white-space: nowrap;
}

.page-home .home-top5 {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-top5-item {
  display: grid;
  grid-template-columns: 34px 46px 1fr 38px;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.page-home .home-rank {
  font: 900 18px/1 var(--font-black);
  color: var(--vital-orange);
}

.page-home .home-rank-label {
  color: rgba(245, 240, 230, 0.82);
}

.page-home .home-rank-track {
  height: 6px;
  background: rgba(245, 240, 230, 0.14);
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 6px 100%);
}

.page-home .home-rank-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--vital-orange), #ffa64d);
}

.page-home .home-rank-value {
  font-weight: 700;
  color: var(--cream);
  text-align: right;
}

.page-home .home-trust {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid var(--terracotta);
  background: rgba(43, 43, 43, 0.04);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(43, 43, 43, 0.72);
}

.page-home .home-dashboard-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .home-dashboard-img {
  position: relative;
  overflow: hidden;
}

.page-home .home-dashboard-img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-img-caption {
  position: absolute;
  bottom: 6px;
  left: 10px;
  padding: 6px 12px;
  background: var(--charcoal);
  color: var(--cream);
  font-size: 12px;
  transform: skewX(-6deg);
}

.page-home .home-side-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.6;
}

.page-home .home-side-list li {
  position: relative;
  padding-left: 22px;
}

.page-home .home-side-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 6px;
  background: var(--electric-blue);
  clip-path: polygon(0 0, 100% 0, calc(100% - 5px) 100%, 5px 100%);
}

.page-home .home-index {
  padding: 60px 0;
  background: var(--sand-gray);
}

.page-home .home-index-layout {
  display: grid;
  gap: 24px;
  align-items: center;
}

.page-home .home-index-color {
  display: flex;
  align-items: flex-end;
  min-height: 200px;
  padding: 20px;
  transform: skewX(-3deg);
}

.page-home .home-index-color-num {
  font: 900 84px/1 var(--font-black);
  color: rgba(255, 255, 255, 0.74);
  transform: skewX(3deg);
}

.page-home .home-index-desc {
  max-width: 620px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(43, 43, 43, 0.82);
  margin: 0 0 20px;
}

.page-home .home-index-points {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.7;
}

.page-home .home-index-points li {
  position: relative;
  padding-left: 18px;
}

.page-home .home-index-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: var(--vital-orange);
  transform: rotate(12deg) skewX(-8deg);
}

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

.page-home .home-index .btn-outline {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.page-home .home-subscribe {
  padding: 60px 0;
  background: var(--cream);
}

.page-home .home-subscribe-layout {
  display: grid;
  gap: 26px;
  align-items: center;
}

.page-home .home-subscribe-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.page-home .home-subscribe-desc {
  max-width: 620px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(43, 43, 43, 0.82);
  margin: 0 0 20px;
}

.page-home .home-subscribe-points {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.7;
}

.page-home .home-subscribe-points li {
  position: relative;
  padding-left: 22px;
}

.page-home .home-subscribe-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 14px;
  height: 8px;
  background: linear-gradient(90deg, var(--terracotta), var(--vital-orange));
  clip-path: polygon(0 0, 100% 0, calc(100% - 5px) 100%, 5px 100%);
}

.page-home .home-tags {
  position: relative;
  isolation: isolate;
  padding: 60px 0;
  background: linear-gradient(180deg, #eee4d3, var(--light-sand));
}

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

.page-home .home-tags-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  mix-blend-mode: multiply;
}

.page-home .home-tag-browser {
  margin-top: 26px;
  padding: 22px;
  background: rgba(245, 240, 230, 0.86);
  border: 1px solid rgba(43, 43, 43, 0.08);
  box-shadow: 0 12px 30px rgba(43, 43, 43, 0.08);
}

.page-home .home-tag-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-home .tag-chip {
  padding: 8px 14px;
  border: 1px solid rgba(43, 43, 43, 0.35);
  background: transparent;
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background var(--duration) var(--ease-out), color var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);
}

.page-home .tag-chip:hover,
.page-home .tag-chip:focus-visible {
  border-color: var(--vital-orange);
  color: var(--vital-orange);
}

.page-home .tag-chip.is-active {
  border-color: var(--vital-orange);
  background: var(--vital-orange);
  color: #fff;
}

.page-home .home-tag-panels .tab-panel {
  display: none;
}

.page-home .home-tag-panels .tab-panel.is-active {
  display: block;
}

.page-home .home-tag-panels h3 {
  margin: 0 0 8px;
  font: 900 18px/1.3 var(--font-black);
  color: var(--charcoal);
}

.page-home .home-tag-panels p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(43, 43, 43, 0.76);
}

.page-home .home-tag-panels ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.7;
}

.page-home .home-tag-panels li {
  position: relative;
  padding-left: 18px;
}

.page-home .home-tag-panels li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 6px;
  background: var(--electric-blue);
  clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 4px 100%);
}

.page-home .home-news {
  padding: 60px 0;
  background: var(--cream);
}

.page-home .home-news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.page-home .home-news-more {
  color: var(--electric-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(29, 111, 242, 0.35);
}

.page-home .home-news-grid {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.page-home .home-news-card {
  margin: 0;
  padding: 22px;
  background: var(--cream);
  border-left: 4px solid var(--vital-orange);
  box-shadow: 0 8px 22px rgba(43, 43, 43, 0.06);
}

.page-home .home-news-card h3 {
  margin: 12px 0 8px;
  font: 900 18px/1.45 var(--font-black);
  color: var(--charcoal);
}

.page-home .home-news-card p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(43, 43, 43, 0.75);
}

.page-home .home-news-link {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(193, 91, 61, 0.3);
  color: var(--terracotta);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.page-home .home-news-timeline {
  margin-top: 30px;
  padding: 24px;
  background: var(--charcoal);
  color: var(--cream);
  clip-path: var(--home-panel-cut);
}

.page-home .home-news-timeline h3 {
  margin: 0 0 16px;
  font: 900 20px/1.3 var(--font-black);
}

.page-home .home-news-timeline ol {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-news-timeline li {
  padding-top: 10px;
  border-top: 2px solid rgba(242, 122, 36, 0.6);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(245, 240, 230, 0.72);
}

.page-home .home-news-timeline li strong {
  display: block;
  margin-bottom: 2px;
  font: 900 18px/1.2 var(--font-black);
  color: var(--vital-orange);
}

.page-home .home-site-guide {
  padding: 20px 0 32px;
  background: var(--sand-gray);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(43, 43, 43, 0.82);
}

.page-home .home-site-guide a {
  color: var(--charcoal);
  font-weight: 700;
  text-underline-offset: 3px;
}

@keyframes home-pulse-drift {
  from {
    transform: translateX(-2%) rotate(15deg) scaleX(0.92);
  }
  to {
    transform: translateX(3%) rotate(15deg) scaleX(1.08);
  }
}

@keyframes home-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(107, 142, 78, 0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(107, 142, 78, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(107, 142, 78, 0);
  }
}

@media (min-width: 900px) {
  .page-home .home-hero-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: clamp(40px, 6vw, 88px);
  }

  .page-home .home-hero-copy {
    max-width: 700px;
  }

  .page-home .home-hero-blue {
    left: -4%;
    top: 0;
    width: 74%;
    height: 340px;
  }

  .page-home .home-hero-panel {
    max-width: 440px;
    justify-self: end;
  }

  .page-home .home-dashboard {
    padding: 80px 0;
  }

  .page-home .home-dashboard-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.75fr);
    gap: 28px;
  }

  .page-home .home-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .page-home .home-index {
    padding: 80px 0;
  }

  .page-home .home-index-layout {
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(32px, 5vw, 72px);
  }

  .page-home .home-index-color {
    min-height: 260px;
  }

  .page-home .home-subscribe {
    padding: 80px 0;
  }

  .page-home .home-subscribe-layout {
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(36px, 6vw, 84px);
  }

  .page-home .home-tags {
    padding: 80px 0;
  }

  .page-home .home-news {
    padding: 80px 0;
  }

  .page-home .home-news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

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