/* ========================================================================
   SECURITY & TRUST PAGE
   Layers on top of landing.css (nav, footer, .reveal, .btn-cta, tokens).
   ======================================================================== */

/* --- Nav tweaks for the Security page --- */
.nav-active-link { color: var(--navy) !important; font-weight: 600 !important; }
a.nav-signin {
  display: inline-block;
  padding: 0.4375rem 1rem;
  background: var(--navy);
  color: #fff !important;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
a.nav-signin:hover { background: var(--navy-light); color: #fff !important; }

/* --- Hero --- */
.sec-hero {
  background: linear-gradient(180deg, var(--navy-subtle) 0%, var(--surface) 100%);
  padding: 9rem 2rem 4rem;
  border-bottom: 1px solid var(--border);
}
.sec-hero-inner { max-width: 820px; }
.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.sec-eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-subtle);
}
.sec-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.sec-hero-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 1.75rem;
}
.sec-hero-cta { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-bottom: 1.5rem; }
.sec-hero-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 640px;
}

/* --- Sections --- */
.sec-section { padding: 4rem 2rem; }
.sec-section-alt { background: var(--sand); }
.sec-narrow { max-width: 760px; }
.sec-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 1rem;
}
.sec-section p { color: var(--text-secondary); margin-bottom: 1rem; }
.sec-section-head { max-width: 720px; margin-bottom: 2.25rem; }
.sec-section-head p { font-size: 1.0625rem; }
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.625rem;
}

/* --- Status badges --- */
.sec-status {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.1875rem 0.5rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  vertical-align: middle;
}
.sec-status-available { background: var(--success-bg); color: var(--teal-deep); border: 1px solid #cdeee6; }
.sec-status-progress  { background: var(--warn-bg); color: var(--warn); border: 1px solid #f5e3c0; }
.sec-status-mixed     { background: var(--navy-subtle); color: var(--navy); border: 1px solid var(--border); }

/* --- Trust card grid --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.trust-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.trust-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.trust-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
}
.trust-card-top h3 { font-size: 1.0625rem; color: var(--navy); font-weight: 600; line-height: 1.3; }
.trust-card p { font-size: 0.9375rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }
.trust-card code {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.85em;
  background: var(--navy-subtle);
  padding: 0.05rem 0.3rem;
  border-radius: var(--radius-sm);
}

/* --- Lists / definition lists --- */
.sec-list { margin: 0 0 1rem 1.25rem; padding: 0; }
.sec-list li { color: var(--text-secondary); margin-bottom: 0.625rem; line-height: 1.6; }
.sec-list li strong { color: var(--text-primary); }

.sec-deflist { margin: 0.5rem 0 0; }
.sec-deflist dt { font-weight: 600; color: var(--navy); margin-top: 1.25rem; }
.sec-deflist dd { margin: 0.25rem 0 0; color: var(--text-secondary); line-height: 1.6; }

.sec-scope {
  font-size: 0.9375rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
}
.sec-fineprint { font-size: 0.875rem; color: var(--text-muted); margin-top: 1rem; }

/* --- Subprocessor table --- */
.sec-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.sec-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; background: var(--surface); }
.sec-table th {
  text-align: left;
  padding: 0.875rem 1rem;
  background: var(--navy-subtle);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.sec-table td { padding: 0.875rem 1rem; border-top: 1px solid var(--border); color: var(--text-secondary); vertical-align: top; }
.sec-table td strong { color: var(--navy); }

/* --- Report form --- */
.sec-report-form {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.sec-field { margin-bottom: 1.125rem; }
.sec-field label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--navy); margin-bottom: 0.375rem; }
.sec-field input[type="text"],
.sec-field select,
.sec-field textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--surface);
  box-sizing: border-box;
}
.sec-field textarea { resize: vertical; line-height: 1.5; }
.sec-field input:focus,
.sec-field select:focus,
.sec-field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-subtle); }
.sec-req { color: var(--error); }
.sec-optional { color: var(--text-muted); font-weight: 400; }
.sec-form-note { font-size: 0.8125rem; color: var(--text-muted); margin: 0.875rem 0 0; }

/* Honeypot — visually + assistively hidden, still in the DOM for bots. */
.sec-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Confirmation + flash --- */
.sec-confirm {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--success-bg);
  border: 1px solid #cdeee6;
  color: var(--teal-deep);
  border-radius: var(--radius);
  padding: 1rem 1.125rem;
  margin: 1.25rem 0;
}
.sec-confirm svg { flex-shrink: 0; margin-top: 1px; }
.sec-flash { border-radius: var(--radius); padding: 0.75rem 1rem; margin: 1rem 0; font-size: 0.9375rem; }
.sec-flash-error { background: var(--error-bg); color: var(--error); border: 1px solid #f3c9c9; }
.sec-flash-success { background: var(--success-bg); color: var(--teal-deep); border: 1px solid #cdeee6; }

/* --- Last-updated band --- */
.sec-updated-band { background: var(--navy-subtle); padding: 2.5rem 2rem; border-top: 1px solid var(--border); }
.sec-updated { color: var(--navy); margin-bottom: 0.5rem; }
.sec-disclaimer { font-size: 0.875rem; color: var(--text-muted); max-width: 760px; line-height: 1.6; }

/* --- Footer links (added to the shared landing footer) --- */
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.875rem; }
.footer-links a:hover { color: #fff; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .sec-hero { padding: 7rem 1.25rem 3rem; }
  .sec-section { padding: 3rem 1.25rem; }
  .sec-updated-band { padding: 2rem 1.25rem; }
  .trust-grid { grid-template-columns: 1fr; }
}
