:root {
  --wl-bg: #12091f;
  --wl-bg-deep: #0d0a1a;
  --wl-panel: rgba(29, 21, 53, 0.94);
  --wl-panel-2: rgba(20, 14, 38, 0.96);
  --wl-border: rgba(164, 124, 255, 0.22);
  --wl-border-strong: rgba(164, 124, 255, 0.48);
  --wl-text: #f1ecff;
  --wl-muted: #c4b8d8;
  --wl-faint: #8b80b7;
  --wl-accent: #d169ff;
  --wl-magenta: #f02e65;
  --wl-cyan: #22d3ee;
  --wl-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
  --wl-radius: 16px;
  --wl-max: 1120px;
}

body:has(.weekly-leaks-page) {
  background:
    radial-gradient(circle at 18% 8%, rgba(92, 39, 149, 0.34), transparent 34rem),
    radial-gradient(circle at 82% 16%, rgba(240, 46, 101, 0.16), transparent 26rem),
    linear-gradient(180deg, var(--wl-bg-deep) 0%, var(--wl-bg) 42%, var(--wl-bg-deep) 100%);
}

.weekly-leaks-page {
  color: var(--wl-text);
  min-height: 100vh;
  padding-bottom: 5rem;
}

.wl-hero,
.wl-breadcrumbs {
  max-width: var(--wl-max);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.wl-hero { padding-top: 3rem; padding-bottom: 1.2rem; }

.wl-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 2rem;
  align-items: stretch;
  min-height: 310px;
  background:
    linear-gradient(135deg, rgba(46, 34, 80, 0.72), rgba(18, 9, 31, 0.96)),
    radial-gradient(circle at 76% 24%, rgba(34, 211, 238, .12), transparent 20rem);
  border: 1px solid var(--wl-border-strong);
  border-radius: 22px;
  box-shadow: var(--wl-shadow);
  overflow: hidden;
}

.wl-hero-copy { padding: 2.25rem; }

.wl-eyebrow,
.wl-section-kicker {
  color: var(--wl-accent);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
}

.wl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .85rem;
}

.wl-eyebrow::before {
  content: "";
  width: 2.35rem;
  height: 2px;
  background: var(--wl-magenta);
}

.weekly-leaks-page h1,
.weekly-leaks-page h2,
.weekly-leaks-page h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  line-height: 1.08;
  margin: 0;
}

.weekly-leaks-page h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  color: #fff;
  letter-spacing: -.045em;
}

.wl-deck {
  max-width: 62ch;
  margin: 1rem 0 1.2rem;
  color: var(--wl-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.wl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.4rem;
}

.wl-chips span {
  border: 1px solid rgba(164, 124, 255, .36);
  background: rgba(164, 124, 255, .08);
  color: #e9ddff;
  border-radius: 999px;
  padding: .42rem .72rem;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 750;
}

.wl-hero-stats {
  border-left: 1px solid var(--wl-border);
  background: rgba(9, 7, 18, .34);
  padding: 1.25rem;
  display: grid;
  align-content: center;
  gap: .85rem;
}

.wl-stat-card {
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(20, 14, 38, .8);
  border-radius: 12px;
  padding: .95rem;
}

.wl-stat-card span {
  display: block;
  color: var(--wl-cyan);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 800;
}

.wl-stat-card strong {
  display: block;
  margin-top: .25rem;
  font-size: 1.75rem;
  color: #fff;
  font-weight: 850;
}

.wl-breadcrumbs {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: fit-content;
  max-width: calc(var(--wl-max) - 2.5rem);
  margin-top: .35rem;
  margin-bottom: 1.75rem;
  padding-top: .62rem;
  padding-bottom: .62rem;
  color: var(--wl-faint);
  background: rgba(20, 14, 38, .72);
  border: 1px solid rgba(164, 124, 255, .24);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 850;
}

.wl-breadcrumbs a {
  color: var(--wl-cyan);
  text-decoration: none;
}

.wl-breadcrumbs span[aria-current="page"] { color: var(--wl-muted); }
.wl-breadcrumb-separator { color: rgba(209, 105, 255, .72); }

.wl-content-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: .25rem 1.25rem 1.25rem;
}

.wl-section { margin: 2.45rem 0 3.35rem; }

.wl-section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--wl-border);
  margin-bottom: .9rem;
}

.wl-section-head h2,
.wl-analysis-preview h2 {
  color: var(--wl-accent);
  font-size: clamp(1.85rem, 3.4vw, 2.72rem);
}

.wl-section-count {
  color: var(--wl-cyan);
  border: 1px solid rgba(34, 211, 238, .34);
  border-radius: 999px;
  padding: .45rem .7rem;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(34, 211, 238, .06);
}

.wl-card-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  align-items: stretch;
}

.wl-card {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-width: 0;
  background: linear-gradient(180deg, rgba(29, 21, 53, .96), rgba(18, 13, 34, .96));
  border: 1px solid var(--wl-border);
  border-radius: var(--wl-radius);
  box-shadow: 0 12px 26px rgba(0,0,0,.22);
  padding: .95rem 1rem;
}

.wl-card-top { min-width: 0; }

.wl-tag {
  display: inline-flex;
  color: #fff;
  background: var(--wl-magenta);
  border-radius: 999px;
  padding: .24rem .52rem;
  font-size: .64rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .48rem;
}

.wl-card--buried_stories .wl-tag { background: #d4af37; color: #140d1f; }
.wl-card--insider_corner .wl-tag { background: #51e6a6; color: #061b12; }

.wl-card h3 {
  font-size: 1.02rem;
  color: #fff;
  line-height: 1.24;
  min-height: 2.5em;
}

.wl-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .62rem .85rem;
  margin: 0;
  flex: 1;
}

.wl-field {
  display: block;
  padding-top: 0;
  border-top: 0;
  min-width: 0;
}

.wl-field span {
  display: block;
  color: var(--wl-faint);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .62rem;
  font-weight: 850;
  margin-bottom: .14rem;
}

.wl-field p {
  color: var(--wl-muted);
  font-size: .84rem;
  margin: 0;
  line-height: 1.42;
}

.wl-field a { color: var(--wl-accent); text-decoration: none; font-weight: 750; }

.wl-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: .45rem;
  margin-top: auto;
}

.wl-copy-card,
.wl-share-card,
.wl-submit {
  appearance: none;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: .7rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 850;
  padding: .58rem .75rem;
}

.wl-copy-card,
.wl-share-card {
  color: var(--wl-text);
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(164, 124, 255, .34);
  min-width: 76px;
}

.wl-share-card { border-color: rgba(240, 46, 101, .52); }


.wl-gate {
  position: relative;
  margin-top: .95rem;
  display: grid;
  grid-template-columns: 1fr minmax(270px, 360px);
  gap: 1.25rem;
  align-items: center;
  border: 1px solid rgba(240, 46, 101, .38);
  background:
    linear-gradient(135deg, rgba(240, 46, 101, .13), rgba(164, 124, 255, .09)),
    rgba(16, 11, 31, .94);
  border-radius: 18px;
  padding: 1.15rem 1.25rem;
  overflow: hidden;
}

.wl-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-8deg, transparent 0 16px, rgba(255,255,255,.025) 16px 17px);
  pointer-events: none;
}

.wl-gate > * { position: relative; }
.wl-gate h3 { color: #fff; font-size: 1.42rem; margin-bottom: .38rem; }
.wl-gate p { color: var(--wl-muted); margin: 0; line-height: 1.5; }
.wl-gate small { display: block; margin-top: .45rem; color: var(--wl-faint); font-size: .78rem; }

.wl-gate-form label {
  display: block;
  margin-bottom: .45rem;
  font-size: .72rem;
  color: var(--wl-faint);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 850;
}

.wl-email-row { display: grid; grid-template-columns: 1fr auto; gap: .6rem; }

.wl-email-row input[type="email"] {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(164, 124, 255, .32);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  color: #171124;
  padding: .78rem .85rem;
  font: inherit;
  font-size: .9rem;
}

.wl-submit {
  color: #fff;
  background: var(--wl-magenta);
  border: 1px solid rgba(255,255,255,.12);
  white-space: nowrap;
}

.wl-analysis-preview {
  border: 1px solid var(--wl-border-strong);
  border-radius: 20px;
  background: rgba(20, 14, 38, .88);
  padding: 1.35rem;
  box-shadow: var(--wl-shadow);
}

.wl-analysis-preview p { color: var(--wl-muted); margin: .65rem 0 0; line-height: 1.7; }

.wl-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: #12091f;
  color: #fff;
  border: 1px solid var(--wl-border-strong);
  border-radius: 12px;
  padding: .85rem 1rem;
  box-shadow: var(--wl-shadow);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease;
  z-index: 9999;
  font-size: .86rem;
}

.wl-toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .wl-card-stack { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .wl-hero-panel { grid-template-columns: 1fr; }
  .wl-hero-stats { border-left: 0; border-top: 1px solid var(--wl-border); grid-template-columns: repeat(3, 1fr); }
  .wl-gate { grid-template-columns: 1fr; }
  .wl-email-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wl-hero { padding-top: 1.5rem; }
  .wl-hero-copy { padding: 1.35rem; }
  .wl-hero-stats { grid-template-columns: 1fr; }
  .wl-breadcrumbs { max-width: calc(100% - 2.5rem); margin-left: 1.25rem; margin-right: 1.25rem; }
  .wl-section-head { grid-template-columns: 1fr; }
  .wl-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .62rem .85rem;
  margin: 0;
  flex: 1;
  }
}