/* ─── RESPONSIBLE DISCLOSURE PAGE STYLES ─── */

.rd-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 130px 24px 90px;
  color: var(--w);
  font-family: var(--fb);
  width: 100%;
  box-sizing: border-box;
}

/* Ambient Orbs */
.rd-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: rdDrift 10s ease-in-out infinite;
}

.rd-orb1 {
  width: 500px;
  height: 500px;
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, rgba(232, 0, 14, 0.12), transparent 70%);
}

.rd-orb2 {
  width: 400px;
  height: 400px;
  bottom: 50px;
  right: -120px;
  background: radial-gradient(circle, rgba(232, 0, 14, 0.08), transparent 70%);
  animation-delay: 5s;
}

@keyframes rdDrift {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

/* Breadcrumbs bar */
.rd-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--fm);
  font-size: 13px;
  color: var(--g4);
  margin-bottom: 24px;
}

.rd-breadcrumbs a {
  color: var(--g3);
  transition: color 0.2s;
}

.rd-breadcrumbs a:hover {
  color: var(--red);
}

.rd-breadcrumbs span.active {
  color: var(--red);
  font-weight: 600;
}

/* Hero / Header Section */
.rd-header {
  text-align: center;
  margin-bottom: 48px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.rd-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(232, 0, 14, 0.08);
  border: 1px solid var(--br);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  max-width: 100%;
}

.rd-title {
  font-family: var(--fd);
  font-size: clamp(1.8rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--w);
  margin-bottom: 16px;
}

.rd-title .highlight {
  color: var(--red);
  text-shadow: 0 0 20px rgba(232, 0, 14, 0.35);
}

.rd-subtitle {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: var(--g4);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
}

.rd-rule {
  width: 80px;
  height: 3px;
  background: var(--red);
  margin: 24px auto 0;
  box-shadow: 0 0 12px var(--red);
  border-radius: 2px;
}

/* Content Grid / Cards */
.rd-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.rd-card {
  background: var(--bk2);
  border: 1px solid var(--bd);
  border-radius: 16px;
  padding: 36px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  word-break: break-word;
  overflow-wrap: break-word;
}

.rd-card:hover {
  border-color: var(--br);
  box-shadow: 0 12px 36px rgba(232, 0, 14, 0.12);
  transform: translateY(-2px);
}

.rd-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bd);
}

.rd-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(232, 0, 14, 0.1);
  border: 1px solid var(--br);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 20px;
  flex-shrink: 0;
}

.rd-card-title {
  font-family: var(--fd);
  font-size: clamp(1.25rem, 3.5vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--w);
  line-height: 1.25;
}

.rd-card-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--w7);
}

.rd-card-body p {
  margin-bottom: 16px;
}

.rd-card-body p:last-child {
  margin-bottom: 0;
}

/* Bullet list styling */
.rd-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rd-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--w7);
  background: var(--bk3);
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--bd);
  line-height: 1.5;
}

.rd-list li i {
  color: var(--red);
  font-size: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Scope Tables */
.rd-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 16px;
  border-radius: 12px;
  border: 1px solid var(--bd);
}

.rd-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.rd-table th {
  background: var(--bk3);
  color: var(--w);
  font-family: var(--fd);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  padding: 14px 18px;
  border-bottom: 1px solid var(--bd);
  text-transform: uppercase;
  white-space: nowrap;
}

.rd-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--bd);
  color: var(--w7);
}

.rd-table td code {
  font-family: var(--fm);
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--red);
  word-break: break-all;
}

.rd-table tr:last-child td {
  border-bottom: none;
}

.badge-in-scope {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

.badge-out-scope {
  display: inline-block;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

/* Contact box */
.rd-email-box {
  background: var(--bk3);
  border: 1px dashed var(--br);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.rd-email-text {
  font-family: var(--fm);
  font-size: clamp(0.95rem, 3.5vw, 1.15rem);
  color: var(--red);
  font-weight: 700;
  word-break: break-all;
}

/* ─── MEDIA QUERIES (TABLETS & MOBILE) ─── */

/* Tablets (iPad, Portrait & Landscape <= 1024px) */
@media (max-width: 1024px) {
  .rd-wrapper {
    padding: 115px 20px 70px;
  }
  .rd-card {
    padding: 28px 24px;
  }
  .rd-grid {
    gap: 24px;
  }
}

/* Mobile Devices (Phones <= 768px) */
@media (max-width: 768px) {
  .rd-wrapper {
    padding: 100px 16px 50px;
  }

  .rd-header {
    margin-bottom: 36px;
  }

  .rd-tag {
    font-size: 10px;
    padding: 5px 14px;
  }

  .rd-card {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .rd-card-header {
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .rd-icon-box {
    width: 40px;
    height: 40px;
    font-size: 17px;
    border-radius: 10px;
  }

  .rd-card-body {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .rd-list {
    gap: 10px;
    margin: 12px 0;
  }

  .rd-list li {
    padding: 12px 14px;
    font-size: 0.9rem;
    gap: 10px;
  }

  .rd-email-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 18px 14px;
    gap: 14px;
  }

  .rd-email-box .btn-red {
    width: 100%;
    text-align: center;
  }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
  .rd-wrapper {
    padding: 90px 12px 40px;
  }

  .rd-breadcrumbs {
    font-size: 11px;
    margin-bottom: 18px;
  }

  .rd-card {
    padding: 16px 12px;
  }

  .rd-icon-box {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .rd-table th,
  .rd-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}
