/* =====================================================================
   Security & Data Protection report page
   ===================================================================== */
.sec-wrap { max-width: none; }

.sec-hero {
  background: var(--panel); border: 1px solid var(--hair); border-top: 4px solid var(--gold);
  border-radius: 16px; padding: 30px 32px; margin-bottom: 22px;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.sec-shield {
  flex: none; width: 92px; height: 92px; display: grid; place-items: center;
  border-radius: 50%; background: var(--gold-faint); border: 1px solid var(--gold-line);
  box-shadow: 0 0 40px rgba(212,175,95,0.22);
}
.sec-shield svg { width: 48px; height: 48px; color: var(--gold-bright); }
.sec-hero-txt { flex: 1; min-width: 260px; }
.sec-hero h2 {
  font-family: "Cormorant Garamond", serif; font-size: 32px; font-weight: 600;
  color: var(--text-hi); line-height: 1.15; margin-bottom: 8px;
}
.sec-hero p { font-size: 14px; color: var(--text-mid); line-height: 1.6; max-width: 560px; }
.sec-pdf {
  flex: none; font: inherit; font-size: 13px; font-weight: 700; padding: 11px 20px;
  border-radius: 10px; border: 1px solid var(--gold-line); background: var(--gold);
  color: #1a1408; cursor: pointer;
}
.sec-pdf:hover { background: var(--gold-bright); }

/* Stat tiles */
.sec-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 26px; }
.sec-stat {
  background: var(--panel); border: 1px solid var(--hair); border-radius: 14px;
  padding: 18px 16px; text-align: center;
}
.sec-stat .n {
  display: block; font-family: "Cormorant Garamond", serif; font-size: 40px;
  font-weight: 600; color: var(--gold-bright); line-height: 1;
}
.sec-stat .l { display: block; font-size: 12px; color: var(--text-mid); margin-top: 7px; line-height: 1.45; }

/* Section headers */
.sec-h {
  font-size: 13px; color: var(--gold-bright); text-transform: uppercase;
  letter-spacing: .09em; font-weight: 700; margin: 30px 0 6px;
}
.sec-sub { font-size: 13.5px; color: var(--text-mid); line-height: 1.6; margin-bottom: 16px; max-width: 720px; }

/* Defense-in-depth layers */
.sec-layers { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.sec-layer {
  display: flex; align-items: center; gap: 16px;
  background: var(--panel); border: 1px solid var(--hair); border-left: 4px solid var(--gold);
  border-radius: 12px; padding: 15px 18px;
}
.sec-layer:nth-child(2) { margin-left: 3.5%; border-left-color: #cfa855; }
.sec-layer:nth-child(3) { margin-left: 7%;  border-left-color: #c9a04c; }
.sec-layer:nth-child(4) { margin-left: 10.5%; border-left-color: #c39944; }
.sec-layer:nth-child(5) { margin-left: 14%; border-left-color: #bd923c; }
.sec-layer:nth-child(6) { margin-left: 17.5%; border-left-color: #b78b34; }
.sec-layer:nth-child(7) { margin-left: 21%; border-left-color: #b1852d; }
.sec-ln {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: var(--gold-faint); border: 1px solid var(--gold-line);
  font-size: 14px; font-weight: 700; color: var(--gold-bright);
}
.sec-layer b { display: block; font-size: 14px; color: var(--text-hi); margin-bottom: 3px; }
.sec-layer div span { display: block; font-size: 12.5px; color: var(--text-mid); line-height: 1.55; }
.sec-layer .sec-ln { color: var(--gold-bright); font-size: 14px; }

/* Backup flow diagram */
.sec-flow {
  display: flex; align-items: stretch; gap: 0; flex-wrap: wrap;
  margin-bottom: 8px;
}
.sec-node {
  flex: 1; min-width: 180px; background: var(--panel); border: 1px solid var(--hair);
  border-radius: 14px; padding: 18px 16px; text-align: center; position: relative;
}
.sec-node .ic {
  width: 44px; height: 44px; margin: 0 auto 10px; display: grid; place-items: center;
  border-radius: 12px; background: var(--gold-faint); border: 1px solid var(--gold-line);
}
.sec-node .ic svg { width: 22px; height: 22px; color: var(--gold-bright); }
.sec-node b { display: block; font-size: 13.5px; color: var(--text-hi); margin-bottom: 5px; }
.sec-node span { display: block; font-size: 12px; color: var(--text-mid); line-height: 1.5; }
.sec-arrow {
  flex: none; align-self: center; padding: 0 10px;
  font-size: 22px; color: var(--gold); font-weight: 700;
}
@media (max-width: 760px) {
  .sec-flow { flex-direction: column; }
  .sec-arrow { transform: rotate(90deg); padding: 4px 0; text-align: center; }
}

/* Evidence chips (e-sign) */
.sec-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 8px; }
.sec-chip {
  font-size: 12.5px; color: var(--text-hi); background: var(--panel);
  border: 1px solid var(--gold-faint); border-radius: 999px; padding: 8px 15px;
}
.sec-chip b { color: var(--gold-bright); font-weight: 700; }

/* Comparison table */
.sec-tblwrap { overflow-x: auto; border: 1px solid var(--hair); border-radius: 14px; background: var(--panel); }
.sec-tbl { width: 100%; border-collapse: collapse; min-width: 640px; }
.sec-tbl th, .sec-tbl td { padding: 13px 16px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--hair-soft); }
.sec-tbl tr:last-child td { border-bottom: 0; }
.sec-tbl th {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-dim); border-bottom: 1px solid var(--hair);
}
.sec-tbl th.us, .sec-tbl td.us { background: rgba(212,175,95,0.07); }
.sec-tbl th.us { color: var(--gold-bright); }
.sec-tbl td { color: var(--text-mid); line-height: 1.5; }
.sec-tbl td:first-child { color: var(--text-hi); font-weight: 600; }
.sec-yes { color: #8fd8a2; font-weight: 700; }
.sec-no { color: #e88b86; font-weight: 700; }
.sec-part { color: #e0c274; font-weight: 700; }

.sec-note {
  margin-top: 26px; background: var(--panel); border: 1px solid var(--hair);
  border-left: 4px solid var(--gold); border-radius: 12px; padding: 16px 20px;
  font-size: 13px; color: var(--text-mid); line-height: 1.65; max-width: 860px;
}
.sec-note b { color: var(--text-hi); }

/* ---- Print: flip to a light branded document --------------------------- */
@media print {
  .rail, .topbar, .sec-pdf, .nav-backdrop { display: none !important; }
  .app { display: block !important; }
  body, .app, .main { background: #fff !important; }
  .main { padding: 24px !important; width: 100% !important; }
  .sec-wrap { max-width: 100%; }
  .sec-hero { border-top-color: #d4af5f !important; }
  .sec-shield { box-shadow: none !important; background: rgba(212,175,95,0.10) !important; }
  .sec-shield svg { color: #9c823f !important; }
  .sec-layer { border-left-color: #d4af5f !important; }
  .sec-hero, .sec-stat, .sec-layer, .sec-node, .sec-tblwrap, .sec-note, .sec-chip {
    background: #fff !important; border-color: #d8d2c2 !important;
    box-shadow: none !important;
  }
  .sec-hero h2, .sec-layer b, .sec-node b, .sec-tbl td:first-child, .sec-chip, .sec-note b { color: #1a1408 !important; }
  .sec-hero p, .sec-layer span, .sec-node span, .sec-sub, .sec-tbl td, .sec-stat .l, .sec-note { color: #4a4436 !important; }
  .sec-stat .n, .sec-h, .sec-tbl th.us, .sec-ln, .sec-chip b { color: #9c823f !important; }
  .sec-tbl th { color: #7a745f !important; }
  .sec-tbl th.us, .sec-tbl td.us { background: rgba(212,175,95,0.10) !important; }
  .sec-layer, .sec-node, .sec-tblwrap, .sec-stat { break-inside: avoid; }
  .site-foot { color: #7a745f !important; }
}
