/* ============================================================
   eSecurity, LLC — Redesign
   Modern corporate, trustworthy
   ============================================================ */

/* Design tokens */
:root {
  --navy-900: #07182e;
  --navy-800: #0a2540;
  --navy-700: #103258;
  --navy-50:  #eef3fb;

  --accent:      #0891b2;   /* cyan-700 — security/tech accent */
  --accent-600:  #0e7490;
  --accent-50:   #ecfeff;

  --ink:        #0f172a;
  --ink-muted:  #475569;
  --ink-soft:   #64748b;
  --line:       #e2e8f0;
  --line-soft:  #eef2f7;
  --surface:    #ffffff;
  --surface-2:  #f8fafc;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 1px rgba(15,23,42,.04);
  --shadow:    0 10px 30px -12px rgba(15,23,42,.18);
  --shadow-lg: 0 24px 60px -20px rgba(15,23,42,.25);

  --container: 1160px;
  --gutter: 24px;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Reset / base */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a {
  color: var(--accent-600);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--navy-800); }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink-muted); }

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.1rem;
}
.brand:hover { color: var(--ink); }

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-800), var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-name strong { color: var(--navy-800); }
.brand-name span { color: var(--ink-soft); font-weight: 500; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover, .nav a.active { color: var(--navy-800); }

.nav .btn { margin-left: 8px; }

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--navy-800);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-900); color: #fff; }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-accent:hover { background: var(--accent-600); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--surface-2); color: var(--navy-900); }

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 80px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(8,145,178,.10), transparent 60%),
    radial-gradient(900px 500px at 10% 0%, rgba(16,50,88,.08), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-50);
  color: var(--accent-600);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid #cffafe;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(8,145,178,.15);
}

.hero h1 { margin: 18px 0 16px; color: var(--navy-900); }
.hero h1 .accent { color: var(--accent-600); }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 56ch;
}
.hero .actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.hero-meta strong { display: block; color: var(--navy-800); font-size: 1.4rem; font-weight: 700; }

/* Hero shield art */
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-left: auto;
}
.hero-art .glow {
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(8,145,178,.18), transparent 70%);
  filter: blur(6px);
}
.hero-art svg { position: relative; width: 100%; height: 100%; }

/* Trust strip */
.trust {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.trust .row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}
.trust .label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.trust .items {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  color: var(--ink-muted);
  font-weight: 600;
}
.trust .items span { display: inline-flex; align-items: center; gap: 8px; }
.trust .items svg { width: 18px; height: 18px; color: var(--accent); }

/* Section headers */
.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { color: var(--navy-900); }
.section-head p { color: var(--ink-muted); font-size: 1.05rem; }

/* Services grid */
.services {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .15s ease, box-shadow .2s ease, transform .15s ease;
}
.card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--navy-50);
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { color: var(--navy-900); margin-bottom: 8px; }
.card p { margin-bottom: 0; }

/* Two-column feature */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature h2 { color: var(--navy-900); }
.bullets {
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.bullets li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--ink);
}
.bullets svg {
  width: 22px; height: 22px;
  color: var(--accent-600);
  margin-top: 2px;
}

.feature-art {
  background: linear-gradient(180deg, #fff, var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.kv .tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.kv .tile .k {
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 6px;
}
.kv .tile .v { color: var(--navy-900); font-weight: 700; font-size: 1.05rem; }

/* CTA banner */
.cta {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.6fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { color: #cbd5e1; margin: 0; max-width: 60ch; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.cta .btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.cta .btn-accent { background: var(--accent); color: #fff; }

/* Page header (interior) */
.page-head {
  padding: 80px 0 56px;
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(8,145,178,.10), transparent 60%),
    var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { color: var(--navy-900); margin-bottom: 12px; }
.page-head p { color: var(--ink-muted); font-size: 1.1rem; max-width: 64ch; }

/* Service list (services page) */
.service-list {
  display: grid;
  gap: 20px;
}
.service-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  align-items: start;
}
.service-row .icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--navy-50);
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.service-row .icon svg { width: 26px; height: 26px; }
.service-row h3 { color: var(--navy-900); margin-bottom: 6px; }
.service-row p { margin: 0; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { color: var(--navy-900); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; color: var(--ink); }
.contact-list li svg { width: 20px; height: 20px; color: var(--accent-600); margin-top: 2px; }
.contact-list a { color: var(--navy-800); font-weight: 500; }

.contact-form .field { margin-bottom: 16px; }
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(8,145,178,.15);
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* Form-level success / error banners */
.form-success {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-weight: 500;
  margin-bottom: 16px;
}
.form-error {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-weight: 500;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

/* Per-field validation messages */
.field-error {
  display: block;
  color: #b91c1c;
  font-size: 0.82rem;
  margin-top: 6px;
  min-height: 1em;
}
.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, .12);
}

/* ==== Assessment request/authorization forms (internal + external) ==== */

.contact-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(8,145,178,.15);
}

.form-section {
  margin: 0 0 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.form-section:first-child { padding-top: 0; border-top: none; }
.form-section h4 {
  color: var(--navy-900);
  font-size: 1rem;
  margin-bottom: 4px;
}
.form-section .hint {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Repeatable subnet/target rows */
.target-rows { display: grid; gap: 10px; margin-bottom: 10px; }
.target-row {
  display: grid;
  grid-template-columns: 160px 1fr 32px;
  gap: 10px;
  align-items: start;
}
.target-row .target-value { margin: 0; }
.target-row-warning {
  grid-column: 2 / 3;
  font-size: 0.82rem;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  display: none;
}
.target-row-warning.visible { display: block; }
.target-remove {
  width: 32px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}
.target-remove:hover { color: #b91c1c; border-color: #fecaca; background: #fef2f2; }
.target-remove:disabled { opacity: .35; cursor: not-allowed; }

.btn-sm { padding: 8px 14px; font-size: 0.85rem; }

/* Delivery-mode radio cards (Internal Network Assessment form only) */
.mode-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 6px; }
.mode-option {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.mode-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-50);
}
.mode-option input { margin-right: 8px; }
.mode-option .title { font-weight: 600; color: var(--navy-900); font-size: 0.92rem; }
.mode-option .desc { font-size: 0.82rem; color: var(--ink-soft); margin-top: 2px; }

/* Signature / attestation block */
.signature-block {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 6px;
}
.attestation {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.attestation input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.attestation label { font-size: 0.9rem; color: var(--ink); font-weight: 400; }

.next-steps {
  background: var(--navy-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.next-steps strong { color: var(--navy-900); }

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: #cbd5e1;
  padding: 56px 0 28px;
}
.site-footer .top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-footer h4 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.site-footer p, .site-footer li { color: #94a3b8; font-size: 0.92rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer .brand-name strong { color: #fff; }
.site-footer .brand-name span { color: #94a3b8; }
.site-footer .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer .bottom p { margin: 0; color: #64748b; font-size: 0.85rem; }

/* Utilities */
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ============================================================
   Sample report mockups
   ============================================================ */

.sample-banner {
  background: var(--accent-50);
  border-bottom: 1px solid #a5f3fc;
  color: var(--navy-800);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
  padding: 12px var(--gutter);
}
.sample-banner strong { color: var(--navy-900); }

.report-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 32px;
}
.report-toggle button {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.report-toggle button.active { background: var(--navy-900); color: #fff; }

.report-mock {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
  overflow: hidden;
}
.report-mock::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy-800), var(--accent));
}
.report-mock + .report-mock { margin-top: 24px; }
.report-mock-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.report-mock-head .rm-head-left { display: flex; gap: 16px; align-items: flex-start; }
.report-mock-head .rm-icon {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--accent-600));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.report-mock-head .rm-icon svg { width: 24px; height: 24px; }
.report-mock-head h3 { color: var(--navy-900); margin-bottom: 4px; font-size: 1.4rem; }
.report-mock-head .meta { color: var(--ink-soft); font-size: 0.9rem; }
.report-mock-head .redacted-tag {
  display: inline-block;
  background: var(--navy-50);
  color: var(--navy-800);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.dot-sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  vertical-align: middle;
  margin: 0 9px 2px;
}

.report-summary {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.report-summary .tile {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 8px;
}
.report-summary .tile .n { font-size: 1.8rem; font-weight: 700; color: var(--navy-900); line-height: 1; margin-bottom: 6px; }
.report-summary .tile .l { font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.report-summary .tile.sev-critical { border-color: #fecaca; background: #fef2f2; }
.report-summary .tile.sev-critical .n { color: #b91c1c; }
.report-summary .tile.sev-high { border-color: #fed7aa; background: #fff7ed; }
.report-summary .tile.sev-high .n { color: #c2410c; }
.report-summary .tile.sev-medium { border-color: #fde68a; background: #fffbeb; }
.report-summary .tile.sev-medium .n { color: #a16207; }
.report-summary .tile.sev-low { border-color: #bfdbfe; background: #eff6ff; }
.report-summary .tile.sev-low .n { color: #1d4ed8; }
.report-summary .tile.sev-info { border-color: var(--line); background: var(--surface-2); }
.report-summary .tile.sev-info .n { color: var(--ink-soft); }

.report-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-800);
  margin: 32px 0 14px;
}
.report-section-title:first-child { margin-top: 0; }
.report-section-title::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  flex: none;
}

.severity-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
}
.severity-badge.critical { background: #dc2626; }
.severity-badge.high { background: #ea580c; }
.severity-badge.medium { background: #d97706; }
.severity-badge.low { background: #2563eb; }
.severity-badge.info { background: #64748b; }

.context-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.context-badge.elevated { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.context-badge.credentialed { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }

.finding-card {
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 12px;
}
.finding-card.critical { border-left-color: #dc2626; }
.finding-card.high { border-left-color: #ea580c; }
.finding-card.medium { border-left-color: #d97706; }
.finding-card.low { border-left-color: #2563eb; }
.finding-card.info { border-left-color: #94a3b8; }

.finding-card .fc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.finding-card .fc-head h4 { color: var(--navy-900); font-size: 1rem; font-weight: 700; margin: 0; }
.finding-card .fc-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.finding-card .fc-target {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.finding-card p { font-size: 0.92rem; margin-bottom: 10px; }
.finding-card .fc-evidence {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  background: var(--navy-900);
  color: #cffafe;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  overflow-x: auto;
  margin-bottom: 10px;
  white-space: pre-wrap;
}
.finding-card .fc-remediation {
  font-size: 0.88rem;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 10px;
}
.finding-card .fc-remediation strong { color: var(--navy-900); }
.finding-card .fc-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.compliance-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-600);
  background: var(--accent-50);
  border: 1px solid #a5f3fc;
  padding: 3px 9px;
  border-radius: 6px;
}

.cve-cluster-card {
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  background: var(--surface-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cve-cluster-card .cc-text strong { color: var(--navy-900); }
.cve-cluster-card .cc-text p { margin: 4px 0 0; font-size: 0.85rem; }
.cve-cluster-card .cc-count {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy-900);
  white-space: nowrap;
}

.action-items { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.action-items li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.action-items .rank {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--navy-50);
  color: var(--navy-800);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.action-items .ai-title { color: var(--ink); font-size: 0.92rem; }
.action-items .ai-title strong { color: var(--navy-900); }
.action-items .ai-count { color: var(--ink-soft); font-size: 0.82rem; white-space: nowrap; }

.export-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.export-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
}

.tooling-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.tooling-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.tooling-list .ti-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--navy-50);
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tooling-list .ti-icon svg { width: 20px; height: 20px; }
.tooling-list h4 { color: var(--navy-900); margin-bottom: 4px; font-size: 0.98rem; }
.tooling-list p { margin: 0; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 960px) {
  section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .hero-grid,
  .feature,
  .cards,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { max-width: 360px; margin: 0 auto; }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 32px; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    box-shadow: var(--shadow);
  }
  .nav.open a { padding: 12px 24px; width: 100%; }
  .menu-toggle { display: inline-flex; }
  .hero h1 { font-size: 2rem; }
  .site-footer .top { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .target-row { grid-template-columns: 1fr 32px; }
  .target-row select.target-kind { grid-column: 1 / 3; }
  .target-row-warning { grid-column: 1 / 3; }
  .mode-options { grid-template-columns: 1fr; }
  .report-mock { padding: 24px; }
  .report-summary { grid-template-columns: repeat(2, 1fr); }
  .action-items li { grid-template-columns: 28px 1fr; }
  .action-items .ai-count { grid-column: 2 / 3; }
  .tooling-list li { grid-template-columns: 1fr; }
}
