.page-home {
  --home-frame: #123a5e;
  --home-primary-glow: rgba(0, 168, 255, 0.16);
  --home-accent-glow: rgba(57, 255, 20, 0.32);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(12px, 2vw, 28px);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.page-home .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.page-home .crumb-sep {
  color: var(--text-muted);
  opacity: 0.65;
}

.page-home .hero-framed {
  position: relative;
  padding: clamp(16px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 18%, var(--home-primary-glow), transparent 46%),
    linear-gradient(160deg, var(--bg-deep) 0%, var(--bg) 68%);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
}

.page-home .hero-framed::before,
.page-home .hero-framed::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  height: 4px;
  border-radius: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--primary) 0 12px,
    rgba(0, 168, 255, 0.25) 12px 16px,
    transparent 16px 24px
  );
  opacity: 0.75;
  pointer-events: none;
}

.page-home .hero-framed::before {
  top: 8px;
}

.page-home .hero-framed::after {
  bottom: 8px;
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.page-home .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.page-home .hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 4.5rem);
  line-height: 1.05;
  margin: 0;
  color: var(--text);
  letter-spacing: 0.01em;
  text-shadow: 0 6px 26px rgba(0, 168, 255, 0.28);
}

.page-home .hero-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-sub);
}

.page-home .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.page-home .hero-media {
  position: relative;
  border: 1px solid var(--home-frame);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  min-height: 220px;
  background: var(--bg-deep);
}

.page-home .hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 168, 255, 0.16), rgba(11, 27, 43, 0.28));
  pointer-events: none;
}

.page-home .media-corner {
  position: absolute;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-color: var(--accent);
  border-style: solid;
}

.page-home .media-corner--tl {
  top: 10px;
  left: 10px;
  border-width: 3px 0 0 3px;
  border-radius: 6px 0 0 0;
}

.page-home .media-corner--br {
  bottom: 10px;
  right: 10px;
  border-width: 0 3px 3px 0;
  border-radius: 0 0 6px 0;
}

.page-home .hero-live-panel {
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, rgba(0, 43, 74, 0.96), rgba(11, 27, 43, 0.96));
  border: 1px solid rgba(57, 255, 20, 0.4);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35), 0 0 36px var(--home-accent-glow);
}

.page-home .live-panel-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  border-bottom: 1px dashed rgba(57, 255, 20, 0.35);
  padding-bottom: 10px;
}

.page-home .live-panel-title {
  margin: 16px 0 4px;
  font-size: 26px;
  line-height: 1.2;
  color: var(--text);
}

.page-home .live-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.page-home .live-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.page-home .live-item-index {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--primary);
}

.page-home .live-item-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-home .live-item-copy strong {
  font-size: 16px;
  color: var(--text);
}

.page-home .live-item-copy span {
  font-size: 13px;
  color: var(--text-muted);
}

.page-home .live-arrow {
  font-size: 18px;
  color: var(--accent);
}

.page-home .live-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(57, 255, 20, 0.12);
  flex-shrink: 0;
}

.page-home .live-item:nth-child(2) .live-status {
  background: var(--highlight);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.14);
}

.page-home .live-countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0;
  padding: 10px 14px;
  background: rgba(11, 27, 43, 0.88);
  border: 1px dashed var(--home-frame);
  border-radius: 12px;
}

.page-home .countdown-label {
  font-size: 13px;
  color: var(--text-muted);
}

.page-home .countdown-time {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--highlight);
  letter-spacing: 0.08em;
  animation: home-blink 2.4s ease-in-out infinite;
}

.page-home .btn-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.page-home .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg);
  animation: home-blink 1.6s ease-in-out infinite;
}

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

.page-home .bento-dashboard {
  margin-top: 24px;
}

.page-home .bento-grid {
  display: grid;
  gap: 16px;
}

.page-home .bento-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(0, 43, 74, 0.55), rgba(11, 27, 43, 0.88));
  padding: 22px;
  box-shadow: 0 8px 24px rgba(2, 6, 12, 0.28);
  min-width: 0;
}

.page-home .section-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.page-home .section-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.35;
  color: var(--text);
}

.page-home .section-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--highlight);
  letter-spacing: 0.04em;
}

.page-home .archive-card {
  display: grid;
  gap: 16px;
}

.page-home .archive-content {
  min-width: 0;
}

.page-home .archive-lead {
  margin: 0 0 12px;
  color: var(--text-sub);
  font-size: 14px;
}

.page-home .years-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0 14px;
}

.page-home .years-label {
  margin-right: 2px;
}

.page-home .year-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(0, 168, 255, 0.06);
  color: var(--text-sub);
}

.page-home .timeline-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.page-home .timeline-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}

.page-home .timeline-row:last-child {
  border-bottom: 0;
}

.page-home .timeline-year {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--primary);
  font-size: 15px;
}

.page-home .timeline-note {
  font-size: 14px;
  color: var(--text-sub);
}

.page-home .archive-visual {
  background: linear-gradient(150deg, var(--paper) 0%, #dcd6c5 100%);
  border-radius: 14px;
  padding: 8px;
  line-height: 0;
}

.page-home .archive-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.page-home .text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.page-home .text-link:hover,
.page-home .text-link:focus-visible {
  color: var(--accent);
  border-color: currentColor;
}

.page-home .sync-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.page-home .sync-card::after {
  display: none;
}

.page-home .sync-lead {
  margin: 0;
  font-size: 14px;
  color: var(--text-sub);
}

.page-home .sync-visual {
  flex: 1;
  min-height: 140px;
  display: flex;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-deep);
}

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

.page-home .sync-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
}

.page-home .step-item {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 168, 255, 0.12);
  border: 1px solid rgba(0, 168, 255, 0.4);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  color: var(--text-sub);
}

.page-home .step-arrow {
  color: var(--accent);
  animation: home-flow 1.6s ease-in-out infinite;
}

.page-home .voices-card {
  display: grid;
  gap: 18px;
}

.page-home .voices-copy {
  min-width: 0;
}

.page-home .voices-lead {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-sub);
}

.page-home .voices-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.page-home .voice-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.page-home .voice-item:last-child {
  border-bottom: 0;
}

.page-home .voice-item > span:last-child {
  font-size: 14px;
  color: var(--text-sub);
}

.page-home .voices-visual {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  align-self: center;
}

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

.page-home .stats-card {
  background: linear-gradient(150deg, rgba(0, 43, 74, 0.9), rgba(11, 27, 43, 1));
}

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

.page-home .stat-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 12px;
}

.page-home .stat-cell:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
}

.page-home .stat-num--primary {
  color: var(--primary);
}

.page-home .stat-num--accent {
  color: var(--accent);
}

.page-home .stat-num--highlight {
  color: var(--highlight);
}

.page-home .stat-label {
  font-size: 14px;
  color: var(--text-sub);
}

.page-home .stats-footnote {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.page-home .help-card {
  background: linear-gradient(120deg, rgba(0, 43, 74, 0.7), rgba(11, 27, 43, 0.95));
}

.page-home .help-links {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .help-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-sub);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  transition: border-color 0.22s, background 0.22s, color 0.22s, transform 0.22s;
}

.page-home .help-links a:hover,
.page-home .help-links a:focus-visible {
  border-color: var(--primary);
  color: var(--text);
  background: rgba(0, 168, 255, 0.1);
  transform: translateY(-2px);
}

.page-home .trust-banner {
  margin-top: 44px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 43, 74, 0.3);
}

.page-home .trust-tape {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.page-home .tape-sep {
  color: var(--highlight);
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .sync-card::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 255, 0.08), transparent);
    animation: home-scan 4.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
  }

  .page-home .sync-card > * {
    position: relative;
    z-index: 1;
  }
}

@keyframes home-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes home-flow {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.5;
  }
  50% {
    transform: translateX(4px);
    opacity: 1;
  }
}

@keyframes home-scan {
  0%, 100% {
    left: -80px;
    opacity: 0.2;
  }
  50% {
    left: 100%;
    opacity: 0.85;
  }
}

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

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

  .page-home .hero-media {
    grid-column: 1 / 2;
  }

  .page-home .hero-live-panel {
    grid-column: 2 / 3;
  }

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

  .page-home .archive-card {
    grid-column: span 7;
  }

  .page-home .sync-card {
    grid-column: span 5;
    grid-row: span 2;
  }

  .page-home .voices-card {
    grid-column: span 7;
  }

  .page-home .stats-card {
    grid-column: span 5;
  }

  .page-home .help-card {
    grid-column: span 12;
  }

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

  .page-home .help-links a {
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: stretch;
  }

  .page-home .hero-copy,
  .page-home .hero-media,
  .page-home .hero-live-panel {
    grid-column: auto;
  }

  .page-home .archive-card {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
    align-items: center;
    gap: 24px;
  }

  .page-home .archive-visual {
    height: 100%;
  }

  .page-home .archive-img {
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }

  .page-home .voices-card {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 24px;
  }

  .page-home .help-card {
    grid-column: span 7;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .page-home .bento-item {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  }

  .page-home .bento-item:hover {
    transform: scale(1.015);
    box-shadow: 0 14px 34px rgba(2, 6, 12, 0.4);
    border-color: rgba(0, 168, 255, 0.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .countdown-time,
  .page-home .live-dot,
  .page-home .live-status,
  .page-home .step-arrow,
  .page-home .sync-card::after {
    animation: none !important;
  }

  .page-home .sync-card::after {
    display: none;
  }

  .page-home .bento-item {
    transition: none;
  }

  .page-home .help-links a {
    transition: none;
  }
}
