/* ---------- Tokens ---------- */
:root {
  --bg: #0b1220;
  --bg-alt: #101a30;
  --surface: #16213a;
  --surface-2: #1c2a48;
  --border: #26365a;
  --text: #e9edf7;
  --text-muted: #9aa7c2;
  --text-faint: #6b7a9c;
  --accent: #22d3ee;
  --accent-2: #6366f1;
  --accent-contrast: #04121a;
  --success: #34d399;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.55);
  --max-width: 1120px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-contrast);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.brand-text { font-size: 15px; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
}

.nav a {
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--text); }

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text) !important;
}
.nav-cta:hover { border-color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  color: var(--border);
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 40%, transparent 90%);
}
.hero-grid { width: 100%; height: 100%; }

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}
.hero-text { flex: 1; min-width: 0; }

.hero-photo-wrap { flex-shrink: 0; }
.hero-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--surface);
  border: 3px solid var(--bg);
  outline: 2px solid rgba(34, 211, 238, 0.4);
  outline-offset: 6px;
  box-shadow: 0 0 0 1px var(--border), 0 20px 45px -18px rgba(34, 211, 238, 0.35);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  font-weight: 800;
}

.hero-role {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-muted);
  font-weight: 600;
  margin: 0 0 20px;
}

.hero-lede {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 17px;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { color: var(--accent); flex-shrink: 0; }
.hero-meta a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-contrast);
  box-shadow: 0 8px 24px -8px rgba(34, 211, 238, 0.5);
}
.btn-primary:hover { box-shadow: 0 10px 30px -6px rgba(34, 211, 238, 0.65); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  font-weight: 800;
}

.lead {
  max-width: 720px;
  color: var(--text-muted);
  font-size: 17px;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  margin-top: 48px;
  padding-left: 28px;
  border-left: 2px solid var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -35px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg-alt), 0 0 0 5px var(--border);
}

.timeline-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.timeline-head h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  white-space: nowrap;
}

.timeline-org {
  margin: 4px 0 14px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14.5px;
}

.timeline-content ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 15px;
}
.timeline-content li { margin-bottom: 8px; }
.timeline-content li:last-child { margin-bottom: 0; }

.additional {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.additional-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 20px;
}

.additional-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14.5px;
}
.additional-list strong { color: var(--text); }
.additional-list span { color: var(--text-faint); }

/* ---------- Skills grid ---------- */
.grid { display: grid; gap: 18px; margin-top: 40px; }
.skills-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.skill-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.skill-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skill-card svg:first-child { color: var(--accent); flex-shrink: 0; align-self: flex-start; margin-top: 2px; }
.skill-card h3 { margin: 0; font-size: 15px; font-weight: 600; flex: 1; }
.skill-chevron { color: var(--text-faint); flex-shrink: 0; transition: transform 0.2s ease, color 0.2s ease; }
.skill-card:hover .skill-chevron { color: var(--accent); transform: translateX(2px); }

/* ---------- Certifications ---------- */
.cert-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.cert-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cert-card:hover { border-color: var(--accent); transform: translateY(-2px); }

.cert-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.cert-card h3 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; }

.cert-progress .cert-badge {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.25);
}
.cert-status {
  display: inline-block;
  margin-top: 10px;
  font-size: 12.5px;
  color: #fbbf24;
  font-weight: 600;
}

.education { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.education-item { color: var(--text-muted); font-size: 15px; margin: 0; }
.education-item strong { color: var(--text); }
.education-item span { color: var(--text-faint); margin-left: 4px; }

/* ---------- Writing ---------- */
.writing-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.writing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.writing-card h3 { margin: 0 0 10px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.writing-card p { margin: 0; color: var(--text-muted); font-size: 14.5px; }
.writing-placeholder { opacity: 0.85; }
.writing-placeholder .cert-badge { color: var(--text-muted); background: var(--surface-2); border-color: var(--border); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  margin-top: 40px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 18px; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease;
}
.contact-link:hover { border-color: var(--accent); color: var(--accent); }
.contact-link svg { color: var(--accent); flex-shrink: 0; }

.contact-location {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 4px 4px 0;
}
.contact-location svg { color: var(--accent); flex-shrink: 0; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row { display: flex; flex-direction: column; gap: 8px; }

.form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note {
  margin: 0;
  font-size: 13px;
  color: var(--text-faint);
}
.form-note a { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 13.5px;
}
.to-top:hover { color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Narrow wrap (blog post / admin forms) ---------- */
.wrap-narrow { max-width: 760px; }

/* ---------- Blog ---------- */
.writing-card.blog-list-card,
a.writing-card {
  display: block;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
a.writing-card:hover { border-color: var(--accent); transform: translateY(-2px); }

.post-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 8px 0 8px;
}
.post-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin: 0 0 40px;
}
.post-body {
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.75;
}
.post-body h2 { color: var(--text); font-size: 1.4rem; margin: 40px 0 16px; font-weight: 700; }
.post-body h3 { color: var(--text); font-size: 1.15rem; margin: 32px 0 12px; font-weight: 700; }
.post-body p { margin: 0 0 20px; }
.post-body ul, .post-body ol { margin: 0 0 20px; padding-left: 22px; }
.post-body li { margin-bottom: 8px; }
.post-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.post-body code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
}
.post-body pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  overflow-x: auto;
}
.post-body pre code { background: none; border: none; padding: 0; }
.post-body blockquote {
  border-left: 3px solid var(--accent);
  margin: 0 0 20px;
  padding: 4px 0 4px 18px;
  color: var(--text-faint);
}

/* ---------- Vulnerability tracker ---------- */
.vuln-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.vuln-window-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}
.vuln-select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 13.5px;
}
.field-hint { color: var(--text-faint); font-size: 13px; }

.vuln-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.vuln-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.vuln-chip:hover { border-color: var(--accent); color: var(--text); }
.vuln-chip.active {
  color: var(--accent);
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.4);
}

.vuln-list-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding: 0 4px 12px;
  border-bottom: 1px solid var(--border);
}
.vuln-col-title {
  flex: 1;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}
.vuln-sort-btn {
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  width: 110px;
  text-align: left;
}
.vuln-sort-btn:hover { color: var(--text-muted); }
.vuln-sort-btn.active { color: var(--accent); }

.vuln-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s ease;
}
.vuln-row:hover { background: var(--surface); }
.vuln-row-main { flex: 1; min-width: 0; }
.vuln-row-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.cve-id { font-family: var(--font-mono); font-weight: 700; font-size: 13.5px; color: var(--text); }
.vuln-vendor-tags { font-size: 12px; color: var(--text-faint); }
.vuln-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vuln-date { width: 110px; font-size: 12.5px; color: var(--text-faint); font-family: var(--font-mono); flex-shrink: 0; }

.sev-badge {
  width: 110px;
  flex-shrink: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.sev-critical { color: #fca5a5; background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.35); }
.sev-high { color: #fdba74; background: rgba(251, 146, 60, 0.1); border-color: rgba(251, 146, 60, 0.35); }
.sev-medium { color: #fde047; background: rgba(250, 204, 21, 0.1); border-color: rgba(250, 204, 21, 0.35); }
.sev-low { color: #86efac; background: rgba(74, 222, 128, 0.1); border-color: rgba(74, 222, 128, 0.35); }
.sev-unknown { color: var(--text-faint); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 16, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 300;
}
.modal-overlay[hidden] {
  display: none;
}
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--surface);
}
.modal-title { font-family: var(--font-mono); font-weight: 700; font-size: 15px; }
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.modal-close:hover { color: var(--text); }
.modal-body { padding: 22px; color: var(--text-muted); font-size: 14.5px; line-height: 1.7; }
.modal-body strong { color: var(--text); }
.vuln-refs { padding-left: 20px; margin: 4px 0 0; }
.vuln-refs a { color: var(--accent); }

/* ---------- Admin ---------- */
.admin-body { background: var(--bg); }
.admin-section { padding-top: 64px; }
.admin-form textarea.admin-editor {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
}
.form-error {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 24px;
}
.form-success {
  color: var(--success);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 24px;
}
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.admin-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.admin-panel-head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  padding: 0 12px 10px;
  border-bottom: 1px solid var(--border);
}
.admin-table td { padding: 12px; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-row-actions { display: flex; gap: 14px; white-space: nowrap; }
.admin-row-actions a { color: var(--accent); }
.link-danger {
  background: none;
  border: none;
  color: #fca5a5;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  font-family: inherit;
}
.link-danger:hover { text-decoration: underline; }

.link-accent {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  font-family: inherit;
}
.link-accent:hover { text-decoration: underline; }

.message-list { display: flex; flex-direction: column; gap: 14px; }
.message-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.message-card.message-unread { border-color: rgba(34, 211, 238, 0.4); }
.message-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-bottom: 8px;
}
.message-date { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); white-space: nowrap; }
.message-body {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 14.5px;
  white-space: pre-wrap;
}

.status-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.status-badge.status-published { color: var(--success); background: rgba(52, 211, 153, 0.08); border-color: rgba(52, 211, 153, 0.3); }
.status-badge.status-draft { color: var(--text-faint); }
.status-badge.status-coming_soon { color: #fbbf24; background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.3); }

.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px 16px;
}
.vendor-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.vendor-check input { accent-color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .hero-inner { flex-direction: column-reverse; text-align: center; gap: 32px; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-meta { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-photo { width: 160px; height: 160px; }
}

@media (max-width: 640px) {
  .vuln-list-head .vuln-col-title { display: none; }
  .vuln-row { flex-wrap: wrap; }
  .vuln-desc { white-space: normal; }
}

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav-cta { align-self: flex-start; }
  .nav-toggle { display: flex; }
  .hero { padding: 96px 0 72px; }
  .section { padding: 72px 0; }
}
