/* ===== CyberHeroesHQ — Trust & Compliance Center ===== */
/* Vibe: Authoritative, institutional-grade, calm confidence.
   Fonts: Instrument Serif (headings) + Satoshi (body). Navy + Sky + Warm White.
   Same design system as /educators — district procurement expects consistency. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy-950: #060d1e;
  --navy-900: #0b1628;
  --navy-800: #122040;
  --navy-700: #1a3060;
  --navy-600: #1e3a8a;
  --sky-500:  #0ea5e9;
  --sky-400:  #38bdf8;
  --sky-100:  #e0f2fe;
  --sky-50:   #f0f9ff;
  --teal-500: #14b8a6;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --red-100:  #fee2e2;
  --red-500:  #ef4444;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --warm-white: #faf9f7;
  --white: #ffffff;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body:    'Satoshi', system-ui, sans-serif;

  --section-gap: 80px;
  --container-max: 1100px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-900);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--sky-500); text-decoration: none; }
a:hover { color: var(--sky-400); }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.tr-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}

.tr-nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tr-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-900);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.tr-brand-mark { font-size: 20px; }

.tr-brand-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--slate-500);
  border-left: 1px solid var(--slate-300);
  padding-left: 10px;
  margin-left: 2px;
}

.tr-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tr-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.2s;
}

.tr-nav-links a:hover { color: var(--navy-900); }

.tr-nav-cta {
  background: var(--navy-900);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 14px;
  transition: background 0.2s !important;
}

.tr-nav-cta:hover { background: var(--navy-700) !important; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.tr-hero {
  background: linear-gradient(165deg, var(--navy-900) 0%, #0d2147 60%, #0b1f3d 100%);
  padding: 72px 24px 80px;
  position: relative;
  overflow: hidden;
}

.tr-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.tr-hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: center;
}

.tr-hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky-400);
  margin-bottom: 16px;
}

.tr-hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.tr-hero-title em {
  font-style: italic;
  color: var(--sky-400);
}

.tr-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* Compliance badge cluster */
.tr-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tr-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
}

.tr-badge-green  { background: rgba(34,197,94,0.12);  border-color: rgba(34,197,94,0.3);  color: #4ade80; }
.tr-badge-sky    { background: rgba(14,165,233,0.12); border-color: rgba(14,165,233,0.3); color: var(--sky-400); }
.tr-badge-amber  { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.3); color: #fbbf24; }
.tr-badge-slate  { background: rgba(148,163,184,0.12); border-color: rgba(148,163,184,0.25); color: #cbd5e1; }

/* Right card */
.tr-hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
}

.tr-hero-card-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky-400);
  margin-bottom: 16px;
}

.tr-quick-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tr-quick-links li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}

.tr-quick-links li a:hover {
  background: rgba(14,165,233,0.12);
  border-color: rgba(14,165,233,0.3);
  color: var(--sky-400);
}

.tr-ql-icon { font-size: 16px; flex-shrink: 0; }
.tr-ql-desc { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 1px; display: block; }

/* ── Container ────────────────────────────────────────────────────────────── */
.tr-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section headings ─────────────────────────────────────────────────────── */
.tr-section {
  padding: var(--section-gap) 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.tr-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-500);
  margin-bottom: 10px;
}

.tr-section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  color: var(--navy-900);
  line-height: 1.2;
  margin-bottom: 14px;
}

.tr-section-sub {
  font-size: 16px;
  color: var(--slate-600);
  max-width: 640px;
  margin-bottom: 36px;
  line-height: 1.65;
}

/* ── Data collection table ────────────────────────────────────────────────── */
.tr-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tr-data-card {
  border-radius: var(--r-md);
  padding: 24px;
  border: 1px solid var(--slate-200);
}

.tr-data-card-collect {
  background: var(--sky-50);
  border-color: rgba(14,165,233,0.2);
}

.tr-data-card-no-collect {
  background: var(--green-100);
  border-color: rgba(34,197,94,0.25);
}

.tr-data-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.tr-data-card-collect h3  { color: var(--sky-500); }
.tr-data-card-no-collect h3 { color: var(--green-600); }

.tr-data-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tr-data-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--slate-700);
  line-height: 1.5;
}

.tr-data-list li::before {
  content: '✓';
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.tr-data-card-collect  .tr-data-list li::before { color: var(--sky-500); }
.tr-data-card-no-collect .tr-data-list li::before { color: var(--green-600); }
.tr-data-card-no-collect .tr-data-list li::before { content: '✕'; color: var(--red-500); }

/* Residency strip */
.tr-residency {
  margin-top: 24px;
  background: var(--navy-900);
  border-radius: var(--r-md);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.tr-residency-flag { font-size: 28px; }

.tr-residency-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.tr-residency-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

/* ── Alternating section backgrounds ──────────────────────────────────────── */
.tr-alt-bg {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

/* ── Parent rights ────────────────────────────────────────────────────────── */
.tr-rights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tr-right-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.tr-right-icon { font-size: 24px; margin-bottom: 10px; display: block; }
.tr-right-card h4 { font-size: 14px; font-weight: 700; color: var(--navy-900); margin-bottom: 6px; }
.tr-right-card p  { font-size: 13px; color: var(--slate-600); line-height: 1.5; }

.tr-rights-contact {
  margin-top: 20px;
  background: var(--amber-100);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--r-md);
  padding: 18px 22px;
  font-size: 14px;
  color: var(--slate-700);
}

.tr-rights-contact strong { color: var(--navy-900); }

/* ── School responsibilities ──────────────────────────────────────────────── */
.tr-resps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}

.tr-resp-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.tr-resp-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.tr-resp-text h4 { font-size: 14px; font-weight: 700; color: var(--navy-900); margin-bottom: 4px; }
.tr-resp-text p  { font-size: 13px; color: var(--slate-600); line-height: 1.5; }

/* ── Subprocessor table ───────────────────────────────────────────────────── */
.tr-subproc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
}

.tr-subproc-table th {
  background: var(--navy-900);
  color: rgba(255,255,255,0.82);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
}

.tr-subproc-table td {
  padding: 14px 16px;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-100);
  vertical-align: top;
}

.tr-subproc-table tr:last-child td { border-bottom: none; }
.tr-subproc-table tr:hover td { background: var(--slate-50); }

.tr-subproc-table td:first-child { font-weight: 600; color: var(--navy-900); }
.tr-subproc-table .tr-region { font-size: 12px; color: var(--slate-500); }

/* ── Downloads block ──────────────────────────────────────────────────────── */
.tr-downloads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tr-download-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.tr-download-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--sky-400);
}

.tr-download-icon { font-size: 32px; }
.tr-download-card h3 { font-size: 17px; font-weight: 700; color: var(--navy-900); }
.tr-download-card p  { font-size: 14px; color: var(--slate-600); line-height: 1.55; flex: 1; }

.tr-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-900);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  width: fit-content;
}

.tr-download-btn:hover { background: var(--navy-700); color: var(--white); }

.tr-vendor-cta {
  margin-top: 20px;
  background: var(--sky-50);
  border: 1px solid rgba(14,165,233,0.25);
  border-radius: var(--r-md);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--slate-700);
}

.tr-vendor-cta strong { color: var(--navy-900); }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.tr-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.tr-faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.tr-faq-q {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tr-faq-q::before {
  content: 'Q';
  background: var(--navy-900);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
}

.tr-faq-a {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.6;
  padding-left: 26px;
}

/* ── CTA / Trust Package form ─────────────────────────────────────────────── */
.tr-cta {
  background: linear-gradient(165deg, var(--navy-900) 0%, #0d2147 100%);
  padding: 80px 24px;
}

.tr-cta-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

.tr-cta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-400);
  margin-bottom: 12px;
}

.tr-cta-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.tr-cta-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 28px;
}

.tr-included-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tr-included-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

.tr-included-list li::before {
  content: '✓';
  color: var(--green-500);
  font-weight: 700;
}

/* Form */
.tr-form {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 30px;
  backdrop-filter: blur(8px);
}

.tr-form h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.tr-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.tr-form-group label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
}

.tr-form-group input,
.tr-form-group textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.tr-form-group input::placeholder,
.tr-form-group textarea::placeholder { color: rgba(255,255,255,0.3); }

.tr-form-group input:focus,
.tr-form-group textarea:focus {
  border-color: var(--sky-400);
  background: rgba(255,255,255,0.10);
}

.tr-form-group textarea { resize: vertical; min-height: 90px; }

.tr-form-submit {
  width: 100%;
  background: var(--sky-500);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 13px;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 6px;
}

.tr-form-submit:hover { background: var(--sky-400); }

.tr-form-success {
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--r-md);
  padding: 20px;
  color: #4ade80;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.tr-form-error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  color: #fca5a5;
  font-size: 13px;
  margin-bottom: 14px;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.tr-footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 36px 24px;
}

.tr-footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.tr-footer-brand {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.tr-footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.tr-footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.tr-footer-links a:hover { color: var(--sky-400); }

.tr-footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  width: 100%;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 8px;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .tr-hero-inner     { grid-template-columns: 1fr; }
  .tr-hero-card      { display: none; }
  .tr-data-grid      { grid-template-columns: 1fr; }
  .tr-rights-grid    { grid-template-columns: repeat(2, 1fr); }
  .tr-faq-grid       { grid-template-columns: 1fr; }
  .tr-downloads      { grid-template-columns: 1fr; }
  .tr-cta-inner      { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .tr-nav-links      { display: none; }
  .tr-rights-grid    { grid-template-columns: 1fr; }
  .tr-subproc-table th:nth-child(3),
  .tr-subproc-table td:nth-child(3) { display: none; }
}
