.page-home {
  --home-shadow: rgba(0, 0, 0, 0.35);
  --home-cyan-soft: rgba(0, 229, 204, 0.12);
  --home-volt-soft: rgba(215, 255, 63, 0.12);
  position: relative;
  overflow-x: hidden;
  background: var(--obsidian);
  color: var(--bone-white);
}

.page-home .home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

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

.page-home .hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 14, 23, 0.92) 0%, rgba(10, 14, 23, 0.68) 45%, rgba(23, 30, 39, 0.55) 100%);
}

.page-home .hero-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
}

.page-home .hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
}

.page-home .hero-copy {
  display: flex;
  flex-direction: column;
}

.page-home h1,
.page-home h2 {
  font-family: var(--font-sans);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  transform: skewX(-6deg);
  transform-origin: left center;
  margin: 0.5rem 0 0;
}

.page-home h1 {
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  max-width: 11em;
}

.page-home .hero-lead {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ash-gray);
  max-width: 30em;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-home .hero-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(0, 229, 204, 0.6);
  background: rgba(0, 229, 204, 0.06);
  color: var(--electric-cyan);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.page-home .hero-link-btn:hover {
  background: rgba(0, 229, 204, 0.15);
  border-color: var(--electric-cyan);
}

.page-home .hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: var(--border-thin);
}

.page-home .stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.page-home .stat-num {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--bone-white);
}

.page-home .stat-num em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--signal-orange);
  margin-left: 0.15rem;
}

.page-home .stat-label {
  font-size: 0.75rem;
  color: var(--ash-gray);
  letter-spacing: 0.05em;
}

.page-home .hero-index {
  padding: 1.4rem 1.25rem 0.5rem;
  border: var(--border-thin);
  border-radius: 0;
}

.page-home .index-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: var(--border-thin);
}

.page-home .live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--electric-cyan);
}

.page-home .index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.page-home .index-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: var(--border-thin);
}

.page-home .index-list li:last-child {
  border-bottom: none;
}

.page-home .index-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--signal-orange);
  line-height: 1.5;
  min-width: 2rem;
}

.page-home .index-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.page-home .index-text strong {
  font-size: 0.95rem;
  color: var(--bone-white);
  line-height: 1.35;
}

.page-home .index-text span {
  font-size: 0.78rem;
  color: var(--ash-gray);
}

.page-home .home-entry,
.page-home .home-sync,
.page-home .home-dimensions,
.page-home .home-why {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.page-home .section-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

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

.page-home .home-entry {
  position: relative;
}

.page-home .entry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.page-home .entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 260px;
  padding: 1.5rem 1.25rem;
  background: var(--glass-panel);
  border: var(--border-thin);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.page-home .entry-card:hover {
  transform: translateY(-4px) skewX(-1deg);
  border-color: rgba(215, 255, 63, 0.4);
}

.page-home .entry-card a {
  text-decoration: none;
}

.page-home .entry-primary {
  background: linear-gradient(145deg, rgba(215, 255, 63, 0.1) 0%, rgba(23, 30, 39, 0.45) 60%);
}

.page-home .entry-primary img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center;
  border: var(--border-thin);
  margin-top: auto;
}

.page-home .entry-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--signal-orange);
  letter-spacing: 0.08em;
}

.page-home .entry-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.35;
  transform: skewX(-3deg);
}

.page-home .entry-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ash-gray);
}

.page-home .entry-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--electric-cyan);
}

.page-home .query-box {
  display: flex;
  margin-top: 0.25rem;
}

.page-home .query-box input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0.85rem;
  background: var(--obsidian);
  border: 1px solid var(--mineral-slate);
  color: var(--bone-white);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  outline: none;
}

.page-home .query-box input:focus {
  border-color: var(--electric-cyan);
  box-shadow: 0 0 0 2px rgba(0, 229, 204, 0.15);
}

.page-home .query-tags,
.page-home .layer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-home .query-tags span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--electric-cyan);
  background: rgba(0, 229, 204, 0.06);
  border: 1px solid rgba(0, 229, 204, 0.22);
  padding: 0.25rem 0.5rem;
}

.page-home .layer-list span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--neon-volt);
  background: rgba(215, 255, 63, 0.05);
  border: 1px solid rgba(215, 255, 63, 0.25);
  padding: 0.25rem 0.5rem;
}

.page-home .home-ticker {
  position: relative;
  width: 100%;
  padding: 1.6rem 0;
  background: var(--graphite);
  border-top: var(--border-thin);
  border-bottom: var(--border-thin);
  clip-path: polygon(0 0, 100% 14px, 100% 100%, 0 calc(100% - 14px));
  overflow: hidden;
}

.page-home .ticker-strip {
  overflow: hidden;
}

.page-home .ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  padding: 0 1.25rem;
  animation: pageTickerSlide 22s ease-in-out infinite alternate;
}

.page-home .ticker-track span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--neon-volt);
  margin-right: 2rem;
}

.page-home .ticker-track span::before {
  content: "// ";
  color: var(--electric-cyan);
  margin-right: 0.5rem;
}

@keyframes pageTickerSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-28px); }
}

.page-home .home-sync {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.page-home .sync-visual {
  position: relative;
}

.page-home .sync-visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center;
  border: var(--border-thin);
  filter: saturate(1.05);
}

.page-home .sync-badge {
  position: absolute;
  left: 0;
  bottom: 0.9rem;
  padding: 0.4rem 0.75rem;
  background: rgba(10, 14, 23, 0.78);
  border-left: 3px solid var(--neon-volt);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--bone-white);
}

.page-home .sync-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-home .sync-lead {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ash-gray);
  max-width: 42em;
}

.page-home .sync-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.page-home .sync-metric {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border: var(--border-thin);
  background: var(--glass-panel);
}

.page-home .metric-time {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--electric-cyan);
}

.page-home .metric-time em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--ash-gray);
  margin-left: 0.2rem;
}

.page-home .metric-label {
  font-size: 0.85rem;
  color: var(--ash-gray);
}

.page-home .dimensions-head {
  margin-bottom: 2rem;
}

.page-home .dimensions-lead {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ash-gray);
  max-width: 42em;
}

.page-home .dimensions-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.page-home .dimensions-chart {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 0;
}

.page-home .chart-layer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.1rem;
  border: var(--border-thin);
  font-size: 0.9rem;
  font-weight: 600;
}

.page-home .layer-base {
  background: rgba(215, 255, 63, 0.08);
  border-left: 4px solid var(--neon-volt);
}

.page-home .layer-trend {
  width: 82%;
  margin-left: auto;
  background: rgba(0, 229, 204, 0.08);
  border-left: 4px solid var(--electric-cyan);
}

.page-home .layer-deep {
  width: 64%;
  margin-left: auto;
  background: rgba(255, 122, 26, 0.1);
  border-left: 4px solid var(--signal-orange);
}

.page-home .chart-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--bone-white);
}

.page-home .chart-total {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--neon-volt);
}

.page-home .chart-total-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--ash-gray);
}

.page-home .dimensions-visual img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  border: var(--border-thin);
}

.page-home .home-why {
  padding-bottom: 4.5rem;
}

.page-home .why-head {
  margin-bottom: 2rem;
}

.page-home .why-head::before {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  background: var(--gradient-cyan-volt);
  margin-bottom: 0.75rem;
}

.page-home .why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.page-home .why-item {
  position: relative;
  padding: 1.5rem 1rem;
  background: var(--glass-panel);
  border: var(--border-thin);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  text-align: left;
}

.page-home .why-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--neon-volt);
}

.page-home .why-num em {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--signal-orange);
  margin-left: 0.2rem;
}

.page-home .why-label {
  margin: 0.6rem 0 0;
  font-size: 0.82rem;
  color: var(--ash-gray);
}

.page-home .why-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding-top: 1.75rem;
  margin-top: 1.5rem;
  border-top: var(--border-thin);
}

.page-home .trust-item {
  padding: 1rem 1.1rem;
  border: var(--border-thin);
  background: var(--glass-panel);
}

.page-home .trust-tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--electric-cyan);
  background: rgba(0, 229, 204, 0.08);
  border: 1px solid rgba(0, 229, 204, 0.18);
}

.page-home .trust-item p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--ash-gray);
}

.page-home .why-footer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  padding-top: 1.75rem;
}

.page-home .why-footer p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ash-gray);
  max-width: 42em;
}

@media (min-width: 640px) {
  .page-home .sync-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .why-trust {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .page-home .home-entry,
  .page-home .home-sync,
  .page-home .home-dimensions,
  .page-home .home-why {
    padding: 4rem 2rem;
  }

  .page-home .section-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .page-home .section-desc {
    text-align: right;
  }

  .page-home .entry-card {
    min-height: 300px;
  }

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

  .page-home .why-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .page-home .why-footer p {
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-grid {
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: 3rem;
    padding: var(--header-h) 2rem 4.5rem;
  }

  .page-home .hero-lead {
    font-size: 1rem;
  }

  .page-home .hero-index {
    padding: 1.6rem 1.4rem 0.6rem;
  }

  .page-home .entry-grid {
    grid-template-columns: 5fr 3fr 4fr;
    gap: 1.25rem;
  }

  .page-home .entry-primary img {
    height: 180px;
  }

  .page-home .home-sync {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    align-items: center;
  }

  .page-home .sync-visual img {
    height: 540px;
  }

  .page-home .dimensions-layout {
    grid-template-columns: 5fr 5fr;
    gap: 3rem;
  }

  .page-home .dimensions-visual img {
    height: 380px;
  }

  .page-home .why-item {
    padding: 1.8rem 1.4rem;
  }

  .page-home .why-num {
    font-size: 2.8rem;
  }
}
