/* Security page only. Shared styles: ../site.css */

/* ------ TABLE OF CONTENTS ------ */
.toc-wrap {
  max-width: 880px; margin: 0 auto;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.toc-title {
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--primary); text-transform: uppercase;
  margin-bottom: 16px;
}
.toc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}
.toc-grid a {
  padding: 8px 0; font-size: 15px; color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.15s;
}
.toc-grid a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.toc-num {
  display: inline-block; width: 24px;
  color: var(--text-dim); font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ------ DOC CONTENT ------ */
.doc-wrap { max-width: 880px; margin: 0 auto; }
.doc-section { margin-bottom: 64px; scroll-margin-top: 96px; }
.doc-section:last-child { margin-bottom: 0; }

.doc-section-num {
  display: inline-block; padding: 4px 10px;
  background: rgba(51, 105, 231, 0.1); color: var(--primary-dark);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  border-radius: 100px; margin-bottom: 12px;
}
.doc-section h2 {
  font-size: clamp(26px, 3vw, 32px); font-weight: 800;
  letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 16px; line-height: 1.2;
}
.doc-section > p.lede {
  font-size: 17px; color: var(--text-muted); line-height: 1.65;
  margin-bottom: 28px;
}

.doc-card {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.doc-card h3 {
  font-size: 17px; font-weight: 700; color: var(--text);
  margin-bottom: 14px; letter-spacing: -0.005em;
  display: flex; align-items: center; gap: 10px;
}
.doc-card h3::before {
  content: ''; display: inline-block;
  width: 18px; height: 18px;
  background-color: rgba(51, 105, 231, 0.1);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233369e7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px 11px;
  background-position: center; background-repeat: no-repeat;
  border-radius: 50%; flex: 0 0 18px;
}
.doc-card ul {
  list-style: none; margin: 0; padding: 0;
}
.doc-card li {
  padding: 8px 0 8px 22px; position: relative;
  font-size: 15px; line-height: 1.6; color: var(--text-muted);
}
.doc-card li::before {
  content: '–'; position: absolute; left: 4px; top: 8px;
  color: var(--primary); font-weight: 700;
}
.doc-card li strong { color: var(--text); font-weight: 700; }

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

/* ------ STANDARDS BAND ------ */
.standards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1000px; margin: 0 auto;
}
.standard-card {
  padding: 32px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-align: center;
}
.standard-card-name {
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--primary); text-transform: uppercase;
  margin-bottom: 8px;
}
.standard-card h3 {
  font-size: 20px; font-weight: 800; color: var(--text);
  margin-bottom: 14px; letter-spacing: -0.01em;
}
.standard-card p {
  font-size: 14px; color: var(--text-muted); line-height: 1.6;
}

/* ------ DISCLAIMER / NOTE BOX ------ */
.doc-note {
  padding: 24px;
  background: rgba(51, 105, 231, 0.04);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14.5px; color: var(--text);
  line-height: 1.65;
  margin-bottom: 16px;
}
.doc-note strong { color: var(--primary-darkest); font-weight: 700; }

/* ------ REPORT BAND ------ */
.report-band {
  max-width: 880px; margin: 0 auto;
  padding: 36px 32px;
  background: linear-gradient(135deg, rgba(51, 105, 231, 0.08), rgba(0, 170, 255, 0.04));
  border: 1px solid rgba(51, 105, 231, 0.18);
  border-radius: var(--radius-lg);
  text-align: center;
}
.report-band h3 {
  font-size: 22px; font-weight: 800; color: var(--text);
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.report-band p {
  font-size: 15.5px; color: var(--text-muted); line-height: 1.6;
  margin-bottom: 22px; max-width: 580px; margin-left: auto; margin-right: auto;
}
.report-band-button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; background: var(--primary); color: white; border: none;
  border-radius: var(--radius); font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.report-band-button:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ------ META FOOTER ------ */
.doc-meta {
  max-width: 880px; margin: 56px auto 0;
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  font-size: 13px; color: var(--text-dim);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

@media (max-width: 960px) {
  .standards-grid { grid-template-columns: 1fr; }
  .toc-grid { grid-template-columns: 1fr; }
  .doc-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .toc-wrap, .doc-card { padding: 22px; }
}
