/* ── Dark Web Index (dwi) — LIGHT MODE ───────────────── */
  .page-dwi { background: #fafafa; }

  /* ── Hero ─────────────────────────────────────────── */
  .dwi-hero {
    position: relative;
    background: #ffffff;
    color: #1b1b3c;
    padding: 100px 24px 60px;
    text-align: center;
    overflow: hidden;
  }
  .dwi-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 69, 98, 0.08) 0%, transparent 60%),
      radial-gradient(circle at 20% 80%, rgba(255, 69, 98, 0.04) 0%, transparent 40%),
      radial-gradient(circle at 80% 20%, rgba(255, 69, 98, 0.04) 0%, transparent 40%);
    pointer-events: none;
  }
  .dwi-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(to right, rgba(0,0,0, 0.04) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(0,0,0, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
    pointer-events: none;
  }
  .dwi-hero__container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
  }
  .dwi-breadcrumb {
    font-size: 0.813rem;
    color: #4e4e70;
    margin-bottom: 20px;
  }
  .dwi-breadcrumb a { color: #4e4e70; text-decoration: none; }
  .dwi-breadcrumb a:hover { color: #FF4562; }
  .dwi-breadcrumb__sep { margin: 0 8px; color: #d4d4d4; }
  .dwi-hero__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #FF4562;
    margin-bottom: 20px;
  }
  .dwi-hero__title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: #1b1b3c;
    margin: 0 0 20px;
  }
  .dwi-hero__title-accent { color: inherit; }
  .dwi-hero__subtitle {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.7;
    color: #1b1b3c;
    margin: 0 auto 32px;
    max-width: 720px;
  }
  .dwi-hero__meta {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    font-size: 0.875rem;
    color: #404040;
  }
  .dwi-hero__meta-item { display: inline-flex; align-items: center; gap: 8px; }

  /* ── Stat Strip ─────────────────────────────────── */
  .dwi-stats {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 32px 24px;
  }
  .dwi-stats__grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .dwi-stats__item {
    padding: 12px 24px;
    border-right: 1px solid #e5e5e5;
    text-align: center;
  }
  .dwi-stats__item:last-child { border-right: none; }
  .dwi-stats__num {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    color: #1b1b3c;
    line-height: 1;
    margin-bottom: 8px;
  }
  .dwi-stats__label {
    font-size: 0.813rem;
    color: #4e4e70;
  }

  /* Big hero world map — full-width section */
  .dwi-worldmap {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    padding: 40px 24px 56px;
    overflow: hidden;
  }
  .dwi-worldmap__inner {
    max-width: 1400px;
    margin: 0 auto;
  }
  .dwi-worldmap__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
  }
  .dwi-worldmap__title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.25rem, 2.2vw, 1.625rem);
    font-weight: 800;
    color: #1b1b3c;
    margin: 0 0 4px;
  }
  .dwi-worldmap__sub {
    font-size: 0.938rem;
    color: #4e4e70;
    margin: 0;
  }
  .dwi-worldmap__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.813rem;
    color: #4e4e70;
  }
  .dwi-worldmap__live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
    animation: dwi-live 1.6s ease-in-out infinite;
  }
  @keyframes dwi-live {
    0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
    50%      { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  }

  /* Map: the live Dark Web Index embed sits bare, no card frame */
  .dwi-map {
    position: relative;
    width: 100%;
    margin-top: 8px;
  }
  .dwi-map__frame {
    display: block;
    width: 100%;
    height: 780px;
    border: 0;
  }

  .dwi-chart__caption {
    display: block;
    text-align: center;
    font-size: 0.813rem;
    font-style: italic;
    color: #a3a3a3;
    margin-top: 16px;
  }

  /* ── Below the map: intro + methodology (live content, redesigned) ── */
  .dwi-about {
    padding: 16px 24px 72px;
    background: #fff;
  }
  .dwi-about__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
  }
  .dwi-about__lede {
    font-size: 1.063rem;
    line-height: 1.8;
    color: #4e4e70;
    margin: 0;
  }
  .dwi-about__lede a {
    color: #1b1b3c;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .dwi-about__card {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 28px;
  }
  .dwi-about__card-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #1b1b3c;
    font-weight: 600;
    margin: 0 0 18px;
  }
  .dwi-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FF4562;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 11px 28px;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.2s;
  }
  .dwi-btn:hover { background: #e8294a; }
  .dwi-method {
    padding: 80px 24px 88px;
    background: #fafafa;
  }
  .dwi-method__inner {
    max-width: 1120px;
    margin: 0 auto;
  }
  .dwi-method__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    color: #1b1b3c;
    margin: 0 0 28px;
  }
  .dwi-method__grid {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
  }
  .dwi-method__copy p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #4e4e70;
    margin: 0 0 16px;
  }
  .dwi-method__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1b1b3c;
    text-decoration: none;
    border-bottom: 1px solid #d4d4d4;
    padding-bottom: 2px;
  }
  .dwi-method__link:hover { border-bottom-color: #1b1b3c; }
  .dwi-method__link svg { width: 15px; height: 15px; }
  .dwi-method__formula {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 28px;
  }
  .dwi-method__equation {
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 600;
    color: #1b1b3c;
    margin: 0 0 16px;
  }
  .dwi-method__range {
    margin: 16px 0 0;
    padding-top: 16px;
    border-top: 1px solid #f0f0f4;
    font-size: 0.875rem;
    color: #4e4e70;
  }
  .dwi-method__notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 56px);
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #e5e5e5;
  }
  .dwi-method__notes p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #4e4e70;
    margin: 0;
  }

  /* ── Responsive ─────────────────────── */
  @media (max-width: 1024px) {
    .dwi-map__frame { height: 580px; }
  }
  @media (max-width: 960px) {
    .dwi-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .dwi-stats__item:nth-child(2) { border-right: none; }
    .dwi-stats__item:nth-child(1), .dwi-stats__item:nth-child(2) { border-bottom: 1px solid #e5e5e5; padding-bottom: 20px; }
    .dwi-stats__item:nth-child(3), .dwi-stats__item:nth-child(4) { padding-top: 20px; }
    .dwi-worldmap__head { align-items: flex-start; }
  }
  @media (max-width: 900px) {
    .dwi-about__inner,
    .dwi-method__grid,
    .dwi-method__notes { grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-width: 640px) {
    .dwi-hero { padding: 72px 16px 40px; }
    .dwi-hero__meta { gap: 14px; font-size: 0.813rem; }
    .dwi-stats { padding: 28px 16px; }
    .dwi-worldmap { padding: 32px 16px 44px; }
    .dwi-about { padding-bottom: 56px; }
    .dwi-method { padding: 56px 16px 64px; }
    .dwi-map__frame { height: 420px; }
  }
