:root {
  color-scheme: dark;
  --ink: #f7f5ef;
  --muted: #a8adb7;
  --paper: #0b0d12;
  --panel: #141821;
  --panel-raised: #1a202c;
  --line: rgba(255, 255, 255, 0.11);
  --electric: #7aa2ff;
  --acid: #d8ff4f;
  --danger: #ff7f87;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 5%, rgba(122, 162, 255, 0.17), transparent 30rem),
    radial-gradient(circle at 5% 45%, rgba(216, 255, 79, 0.08), transparent 26rem),
    var(--paper);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: 26px 0 84px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #0b0d12;
  background: var(--acid);
  border-radius: 10px;
  font-size: 0.78rem;
  transform: rotate(-4deg);
}

.source-link {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 4px;
}

.source-link:hover,
.source-link:focus-visible {
  color: var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(40px, 8vw, 112px);
  align-items: end;
}

.eyebrow,
.card-label {
  margin: 0 0 18px;
  color: var(--acid);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.89;
}

.intro {
  max-width: 660px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d7dae0;
  font-size: 0.92rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 5px rgba(168, 173, 183, 0.1);
}

.status-dot.is-live {
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(216, 255, 79, 0.12);
}

.status-dot.is-error {
  background: var(--danger);
  box-shadow: 0 0 0 5px rgba(255, 127, 135, 0.12);
}

.latest-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(122, 162, 255, 0.24), rgba(20, 24, 33, 0.95) 52%);
  border: 1px solid rgba(122, 162, 255, 0.35);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.latest-card::after {
  position: absolute;
  right: -50px;
  bottom: -85px;
  width: 220px;
  height: 220px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.025), 0 0 0 60px rgba(255, 255, 255, 0.018);
}

.latest-number {
  margin: 20px 0 32px;
  color: var(--electric);
  font-size: clamp(4.4rem, 10vw, 7.4rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.latest-title {
  position: relative;
  z-index: 1;
  max-width: 25ch;
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.latest-date {
  position: relative;
  z-index: 1;
  color: var(--muted);
}

.latest-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.latest-link:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
}

.catalog {
  padding: 68px 0 90px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.count-badge {
  padding: 9px 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  white-space: nowrap;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.release-card {
  position: relative;
  display: flex;
  min-height: 195px;
  flex-direction: column;
  padding: 24px;
  background: rgba(20, 24, 33, 0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.release-card:hover {
  background: var(--panel-raised);
  border-color: rgba(122, 162, 255, 0.42);
  transform: translateY(-3px);
}

.issue-number {
  margin-bottom: 34px;
  color: var(--electric);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release-title {
  margin-bottom: 22px;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.release-date {
  margin-top: auto;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.release-link {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.release-link:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

.notice {
  margin-bottom: 24px;
  padding: 16px 18px;
  color: #ffd7da;
  background: rgba(255, 127, 135, 0.08);
  border: 1px solid rgba(255, 127, 135, 0.25);
  border-radius: 12px;
}

.skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06));
  background-size: 220% 100%;
  border-radius: 8px;
  animation: shimmer 1.5s infinite linear;
}

.skeleton-number {
  width: 45%;
  height: 78px;
  margin: 35px 0 34px;
}

.skeleton-title {
  width: 90%;
  height: 28px;
  margin-bottom: 16px;
}

.skeleton-date {
  width: 38%;
  height: 18px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

footer p {
  margin-bottom: 0;
}

@keyframes shimmer {
  to {
    background-position: -220% 0;
  }
}

@media (max-width: 820px) {
  .hero {
    padding-bottom: 58px;
  }

  .nav {
    padding-bottom: 56px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .latest-card {
    min-height: 290px;
  }

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

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
  }

  .source-link {
    max-width: 130px;
    text-align: right;
  }

  .release-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .latest-card {
    padding: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

