/* ── Financial Data Breaches (fdb) — LIGHT MODE ─────── */
  .page-fdb { background: #fafafa; }

  /* ── Hero ─────────────────────────────────────────── */
  .fdb-hero {
    position: relative;
    background: #ffffff;
    color: #1b1b3c;
    padding: 100px 24px 60px;
    text-align: center;
    overflow: hidden;
  }
  .fdb-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;
  }
  .fdb-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;
  }
  .fdb-hero__container { position: relative; max-width: 900px; margin: 0 auto; z-index: 1; }
  .fdb-breadcrumb { font-size: 0.813rem; color: #4e4e70; margin-bottom: 20px; }
  .fdb-breadcrumb a { color: #4e4e70; text-decoration: none; }
  .fdb-breadcrumb a:hover { color: #FF4562; }
  .fdb-breadcrumb__sep { margin: 0 8px; color: #d4d4d4; }
  .fdb-hero__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #FF4562;
    margin-bottom: 20px;
  }
  .fdb-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;
  }
  .fdb-hero__title-accent { color: inherit; }
  .fdb-hero__subtitle {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.7;
    color: #1b1b3c;
    margin: 0 auto 32px;
    max-width: 720px;
  }
  .fdb-hero__meta {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    font-size: 0.875rem;
    color: #404040;
  }
  .fdb-hero__meta-item { display: inline-flex; align-items: center; gap: 8px; }

  /* ── Year Tab Bar ────────────────────────────── */
  .fdb-yearbar {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 24px 16px;
  }
  .fdb-yearbar__inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .fdb-years { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
  .fdb-year-btn {
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #1b1b3c;
    font-weight: 600;
    font-size: 0.938rem;
    padding: 10px 22px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
  }
  .fdb-year-btn:hover { border-color: #FF4562; color: #FF4562; }
  .fdb-year-btn.is-active {
    background: #FF4562;
    border-color: #FF4562;
    color: #fff;
  }
  .fdb-months {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
  }
  .fdb-month-btn {
    border: 1px solid transparent;
    background: #f5f5f5;
    color: #1b1b3c;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
  }
  .fdb-month-btn:hover { background: #e5e5e5; color: #1b1b3c; }
  .fdb-month-btn.is-active { background: #1b1b3c; color: #fff; }

  /* ── Filter bar ─────────────────────────────── */
  .fdb-filters {
    max-width: 1320px;
    margin: 18px auto 0;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
  }
  .fdb-select, .fdb-search {
    padding: 9px 16px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    font-size: 0.813rem;
    color: #404040;
    font-family: inherit;
    outline: none;
  }
  .fdb-search { min-width: 260px; }
  .fdb-search:focus, .fdb-select:focus { border-color: #FF4562; box-shadow: 0 0 0 3px rgba(255,69,98,0.15); }
  .fdb-seg {
    display: inline-flex;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 4px;
    gap: 2px;
  }
  .fdb-seg__btn {
    border: none;
    background: transparent;
    padding: 7px 14px;
    font-size: 0.813rem;
    font-weight: 600;
    color: #4e4e70;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
  }
  .fdb-seg__btn:hover { color: #1b1b3c; }
  .fdb-seg__btn.is-active { background: #FF4562; color: #fff; }

  /* ── Main layout ──────────────────────────────── */
  .fdb-main {
    max-width: 1320px;
    margin: 0 auto;
    padding: 48px 24px;
  }
  .fdb-main__content { display: flex; flex-direction: column; gap: 32px; min-width: 0; }

  /* ── Top stat cards ─────────────────────────── */
  .fdb-topstats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .fdb-topstat {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 20px 24px;
  }
  .fdb-topstat__num {
    font-size: 2rem;
    font-weight: 800;
    color: #1b1b3c;
    line-height: 1;
    margin-bottom: 6px;
  }
  .fdb-topstat__num--accent { color: inherit; }
  .fdb-topstat__label { font-size: 0.813rem; color: #4e4e70; }

  /* ── Card base ─────────────────────────────── */
  .fdb-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
  }

  /* ── Table ─────────────────────────────────── */
  .fdb-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e5e5;
  }
  .fdb-table-head__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1b1b3c;
    margin: 0;
  }
  .fdb-csv {
    font-size: 0.813rem;
    color: #FF4562;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .fdb-csv:hover { text-decoration: underline; }
  .fdb-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .fdb-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
  }
  .fdb-table thead th {
    background: #fafafa;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #4e4e70;
    font-weight: 600;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
    white-space: nowrap;
  }
  .fdb-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #f5f5f5;
    color: #404040;
    vertical-align: middle;
  }
  .fdb-table tbody tr:nth-child(even) { background: #fafafa; }
  .fdb-table tbody tr:hover { background: #f5f5f5; }
  .fdb-table tbody tr:last-child td { border-bottom: none; }

  /* Target cell */
  .fdb-target__name {
    display: block;
    font-weight: 700;
    color: #1b1b3c;
    font-size: 0.938rem;
    line-height: 1.2;
  }
  .fdb-target__sub {
    display: block;
    font-size: 0.75rem;
    color: #a3a3a3;
    margin-top: 2px;
  }

  .fdb-date { color: #4e4e70; font-size: 0.813rem; white-space: nowrap; }

  /* Country */
  .fdb-country { display: inline-flex; align-items: center; gap: 8px; color: #404040; white-space: nowrap; }
  .fdb-flag { font-size: 1.05rem; }

  /* Sector pills */
  .fdb-sec {
    display: inline-block;
    font-size: 0.688rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .fdb-sec--banking   { background: #eff6ff; color: #2563eb; }
  .fdb-sec--fintech   { background: #f5f3ff; color: #8b5cf6; }
  .fdb-sec--payments  { background: #fef3c7; color: #d97706; }
  .fdb-sec--crypto    { background: #fef9c3; color: #a16207; }
  .fdb-sec--insurance { background: #ccfbf1; color: #0f766e; }

  /* Data-field mini pills */
  .fdb-dtypes { display: inline-flex; flex-wrap: wrap; gap: 4px; max-width: 240px; }
  .fdb-dtype {
    display: inline-block;
    font-size: 10px;
    padding: 2px 7px;
    background: #f5f5f5;
    color: #1b1b3c;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .fdb-dtype--more { background: #e5e5e5; color: #1b1b3c; }

  /* Attack-type pills */
  .fdb-atk {
    display: inline-block;
    font-size: 0.688rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
  .fdb-atk--leak    { background: #fce7f3; color: #be185d; }
  .fdb-atk--ransom  { background: #fee2e2; color: #b91c1c; }
  .fdb-atk--unauth  { background: #e5e5e5; color: #404040; }
  .fdb-atk--insider { background: #fef3c7; color: #b45309; }
  .fdb-atk--cred    { background: #ffedd5; color: #c2410c; }

  .fdb-source {
    font-size: 0.813rem;
    color: #FF4562;
    text-decoration: none;
    font-weight: 600;
  }
  .fdb-source:hover { text-decoration: underline; }

  /* ── Summary charts 2-up ─────────────────────── */
  .fdb-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .fdb-chart { padding: 28px 32px; }
  .fdb-chart__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1b1b3c;
    margin: 0 0 20px;
  }
  .fdb-chart__rows { display: flex; flex-direction: column; gap: 12px; }
  .fdb-chart__row {
    display: grid;
    grid-template-columns: 120px 1fr 60px;
    align-items: center;
    gap: 14px;
    font-size: 0.875rem;
  }
  .fdb-chart__label { color: #404040; font-weight: 500; }
  .fdb-chart__bar-wrap {
    background: #f5f5f5;
    height: 18px;
    border-radius: 12px;
    overflow: hidden;
  }
  .fdb-chart__bar {
    height: 100%;
    background: linear-gradient(90deg, #FF4562, #ff7a8e);
    border-radius: 12px;
  }
  .fdb-chart__val {
    font-weight: 700;
    color: #FF4562;
    text-align: right;
    font-variant-numeric: tabular-nums;
  }

  /* ── Methodology ─────────────────────────── */
  .fdb-method { padding: 32px; }
  .fdb-method__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1b1b3c;
    margin: 0 0 14px;
  }
  .fdb-method__intro {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #1b1b3c;
    margin: 0 0 28px;
    max-width: 780px;
  }
  .fdb-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 28px;
  }
  .fdb-step {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 20px;
  }
  .fdb-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 12px;
    background: #FF4562;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 12px;
  }
  .fdb-step__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1b1b3c;
    margin: 0 0 8px;
  }
  .fdb-step__text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #4e4e70;
    margin: 0;
  }
  .fdb-step__arrow {
    display: flex;
    align-items: center;
    color: #d4d4d4;
    font-size: 1.25rem;
  }
  .fdb-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
  }
  .fdb-source-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.813rem;
    font-weight: 600;
    color: #404040;
    background: #f5f5f5;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
  }
  .fdb-method__note {
    font-size: 0.813rem;
    color: #a3a3a3;
    font-style: italic;
    margin: 0;
  }

  /* ── CTA (dark) ──────────────────────────── */
  .fdb-cta {
    background: #1b1b3c;
    color: #fff;
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .fdb-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 30%, rgba(255, 69, 98, 0.18) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(255, 69, 98, 0.12) 0%, transparent 50%);
    pointer-events: none;
  }
  .fdb-cta__inner { position: relative; max-width: 780px; margin: 0 auto; z-index: 1; }
  .fdb-cta__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 16px;
  }
  .fdb-cta__desc {
    font-size: 1.0625rem;
    color: #d4d4d4;
    line-height: 1.6;
    margin: 0 0 28px;
  }
  .fdb-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FF4562;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 32px;
    border: none;
    border-radius: 9999px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
  }
  .fdb-cta__btn:hover {
    background: #e8294a;
  }

  /* ── Responsive ──────────────────────────── */
  @media (max-width: 960px) {
    .fdb-main { padding: 40px 20px; }
    .fdb-topstats { grid-template-columns: 1fr; }
    .fdb-charts { grid-template-columns: 1fr; }
    .fdb-steps { grid-template-columns: 1fr; gap: 12px; }
    .fdb-step__arrow { display: none; }
    .fdb-chart__row { grid-template-columns: 100px 1fr 50px; gap: 10px; }
  }
  @media (max-width: 768px) {
    .fdb-table { min-width: 560px; }
  }
  @media (max-width: 640px) {
    .fdb-hero { padding: 72px 16px 40px; }
    .fdb-hero__meta { gap: 14px; font-size: 0.813rem; }
    .fdb-yearbar { padding: 18px 16px 14px; }
    .fdb-filters {
      flex-direction: column;
      align-items: stretch;
      padding: 0 16px;
    }
    .fdb-search, .fdb-select { min-width: 0; width: 100%; padding: 12px 16px; }
    .fdb-seg { width: 100%; justify-content: center; }
    .fdb-seg__btn { flex: 1; padding: 10px 14px;
      font-weight: 600;
    border-radius: 9999px;
  }
    .fdb-year-btn { padding: 10px 18px;
      font-weight: 600;
    border-radius: 9999px;
  }
    .fdb-month-btn { padding: 8px 12px;
      font-weight: 600;
    border-radius: 9999px;
  }
    .fdb-chart, .fdb-method { padding: 20px; }
    .fdb-method__title { font-size: 1.25rem; }
    .fdb-cta { padding: 56px 16px; }
    .fdb-table thead th, .fdb-table tbody td { padding: 12px 10px; font-size: 0.813rem; }
  }
