/* Month One recap — same stat-forward treatment as week-one.css, but leans on dlmm.css's
   shared .feature-grid/.feature-card for the "what shipped" section instead of a bespoke grid
   (week-one.css's .also-grid), since that's exactly what feature-grid already is. Only the
   timeline/stat-row (ported from week-one.css, no shared file for those yet) and the new
   .teaser-grid are page-specific here. */

/* Same background-color reset week-one.css needed (see its comment for the full why) — theme.css
   sets a universal `* { background-color: black }`, so any text child inside a container whose
   own background differs from pure black needs this or it shows as a visible rectangle. */
.stat-tile *,
.tl-item *,
.teaser-card * {
  background-color: transparent;
}

/* ── ambience ──────────────────────────────────────────────────────────── */

.bloom {
  position: fixed;
  top: -10%;
  left: 50%;
  width: min(1100px, 130vw);
  height: 720px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(27, 158, 62, 0.16), transparent 62%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 5;
}

.grid-veil {
  position: fixed;
  inset: 0;
  background-color: transparent;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
  z-index: 5;
}

/* ── hero ──────────────────────────────────────────────────────────────── */

.month-hero {
  padding-top: 64px;
  padding-bottom: 8px;
}

.no-top-border {
  border-top: none;
}

.month-hero h1 {
  max-width: 720px;
}

.month-hero h1 .accent {
  background: linear-gradient(120deg, #4fe37c, #1B9E3E 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── stat row ──────────────────────────────────────────────────────────── */

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 44px;
}

.stat-tile {
  background: #050505;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  row-gap: 6px;
}

.stat-num {
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Trades count — same traveling blue/violet sheen as week-one's volume figure. */
.stat-tile:nth-child(1) .stat-num {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: stat-gradient-shift 8s ease-in-out infinite;
}

@keyframes stat-gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .stat-tile:nth-child(1) .stat-num {
    animation: none;
  }
}

.stat-tile:nth-child(2) .stat-num {
  background: linear-gradient(120deg, #4fe37c, #1B9E3E 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 13.5px;
  color: #999;
  line-height: 1.4;
}

.stat-tag {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1B9E3E;
  border: 1px solid #1B9E3E;
  border-radius: 999px;
  padding: 3px 9px;
}

@media (max-width: 720px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
}

/* ── timeline ──────────────────────────────────────────────────────────── */

.timeline {
  display: flex;
  flex-direction: column;
}

.tl-item {
  position: relative;
  padding: 0 0 30px 30px;
  border-left: 2px solid #1a1a1a;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #050505;
  border: 2px solid #333;
}

.tl-item.tl-live::before {
  border-color: #1B9E3E;
  background: #1B9E3E;
  box-shadow: 0 0 0 4px rgba(27, 158, 62, 0.16);
}

.tl-date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1B9E3E;
  margin-bottom: 4px;
}

.tl-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.tl-item p {
  font-size: 14.5px;
  color: #999;
  line-height: 1.55;
  max-width: 560px;
}

.tl-item p code {
  font-size: 13px;
  background-color: #111;
  border-radius: 4px;
  padding: 2px 6px;
}

/* ── teaser ────────────────────────────────────────────────────────────── */

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.teaser-card {
  border: 1px dashed #2a2a2a;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.teaser-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #999;
  border: 1px solid #333;
  border-radius: 999px;
  padding: 3px 9px;
}

.teaser-card-mystery .teaser-tag {
  color: #1B9E3E;
  border-color: #1B9E3E;
}

.teaser-card h3 {
  font-size: 15px;
  font-weight: 700;
}

.teaser-card p {
  font-size: 13.5px;
  color: #999;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .teaser-grid {
    grid-template-columns: 1fr;
  }
}
