/* Ventrion Radar — shared Ventrion engineering lab family tokens with Radar Emerald-Teal accent */
:root {
  color-scheme: dark;
  --bg: #090c11;
  --panel: #0c1118;
  --panel-deep: #0a0e14;
  --text: #f2f4f7;
  --muted: #a7b1bd;
  --accent: #3dd6a3;
  --accent-deep: #1f8a68;
  --accent-soft: #3dd6a322;
  --amber: #ffb740;
  --amber-soft: #ffb74022;
  --steel: #8fcaef;
  --line: #1f2833;
  --line-strong: #2c3947;
  --radius: 6px;
  --max: 1120px;
  --font: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, Helvetica, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-synthesis: none;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
.wrap { width: min(var(--max), 92%); margin-inline: auto; }
.skip-link {
  position: absolute; left: 15px; top: -80px; z-index: 20;
  background: var(--accent); color: #090c11; padding: 10px 14px;
  border-radius: var(--radius); font-weight: 700;
}
.skip-link:focus { top: 10px; }

/* Header */
.site-header {
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  position: sticky; top: 0; z-index: 10;
  background: #090c11ee; backdrop-filter: blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 12px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 800; letter-spacing: 2px;
}
.brand-mark {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
}
.brand-sub { color: var(--accent); font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--muted); }
.site-nav a.active {
  color: var(--text); border-bottom: 2px solid var(--accent); padding-bottom: 4px;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; font-family: var(--mono); font-size: 12px;
}
.lang-switch a {
  padding: 5px 9px; color: var(--muted); border-right: 1px solid var(--line);
}
.lang-switch a:last-child { border-right: 0; }
.lang-switch a.active { background: var(--accent-soft); color: var(--accent); font-weight: 700; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--radius); font-size: 14px; font-weight: 600;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.button:hover { border-color: var(--accent); color: var(--accent); }
.button.primary {
  background: var(--accent); color: #090c11; border-color: var(--accent);
}
.button.primary:hover { background: #5be5b6; border-color: #5be5b6; color: #090c11; }
.button.small { padding: 7px 12px; font-size: 13px; }

/* Hero */
.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 18%, #3dd6a318, transparent 42%),
    linear-gradient(to right, #1f283324 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(to bottom, #1f283324 1px, transparent 1px) 0 0 / 36px 36px,
    var(--bg);
  padding: 54px 0 42px;
}
.eyebrow {
  margin: 0 0 10px; text-transform: uppercase; font-size: 12px;
  letter-spacing: 2px; font-family: var(--mono); color: var(--accent); font-weight: 700;
}
.hero h1 {
  margin: 0 0 14px; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.14;
  letter-spacing: -0.02em; max-width: 820px;
}
.hero h1 span { color: var(--accent); }
.lead { margin: 0 0 24px; color: var(--muted); font-size: 17px; max-width: 720px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Proof strip */
.stats-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line);
}
.stat-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px;
}
.stat-val { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--text); }
.stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* Filter toolbar */
.board-section { padding: 34px 0 56px; }
.toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding: 14px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 6px 12px; border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: var(--panel-deep); color: var(--muted); font-size: 13px; font-weight: 500;
}
.pill:hover { border-color: var(--accent); color: var(--text); }
.pill.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 600; }
.search-input {
  min-width: 240px; flex: 1 1 240px; max-width: 340px;
  padding: 8px 12px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font-size: 14px;
}

/* Role cards */
.roles-grid { display: grid; gap: 14px; }
.role-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
  transition: border-color .15s ease, transform .15s ease;
}
.role-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.role-card.featured {
  border-color: var(--amber);
  background: linear-gradient(180deg, #ffb7400d 0%, var(--panel) 100%);
}
.role-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px;
}
.role-company {
  font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 4px;
}
.role-title { margin: 0; font-size: 19px; line-height: 1.3; }
.role-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 4px; font-family: var(--mono); font-size: 11px;
  border: 1px solid var(--line-strong); background: var(--panel-deep); color: var(--muted);
}
.badge.accent { border-color: var(--accent-deep); background: var(--accent-soft); color: var(--accent); }
.badge.amber { border-color: #ffb74066; background: var(--amber-soft); color: var(--amber); }
.badge.steel { border-color: #8fcaef55; background: #8fcaef1a; color: var(--steel); }
.role-summary { margin: 12px 0 14px; color: var(--muted); font-size: 14.5px; }
.role-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.stack-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stack-tag {
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  background: var(--bg); border: 1px solid var(--line); padding: 2px 7px; border-radius: 4px;
}
.role-actions { display: flex; align-items: center; gap: 12px; }
.report-link {
  background: none; border: 0; padding: 0; color: var(--muted); font-size: 12px;
  text-decoration: underline; text-underline-offset: 3px;
}
.report-link:hover { color: var(--amber); }

/* Subscribe & Forms */
.panel-box {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; margin-top: 28px;
}
.subscribe-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.subscribe-form input[type="email"], .subscribe-form input[type="text"],
.form-grid input, .form-grid select, .form-grid textarea {
  padding: 10px 12px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font-size: 14px;
}
.subscribe-form input[type="email"] { flex: 1 1 240px; }
.form-grid { display: grid; gap: 16px; max-width: 720px; }
.form-row { display: grid; gap: 6px; }
.form-row.two { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.form-row label { font-size: 13px; color: var(--muted); font-weight: 600; }
.form-status {
  margin-top: 10px; font-family: var(--mono); font-size: 13px; color: var(--accent); min-height: 20px;
}
.form-status.error { color: #ff7b72; }

/* Pricing */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px; margin-top: 24px;
}
.price-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.price-card.highlight { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-soft); }
.price-num { font-family: var(--mono); font-size: 32px; font-weight: 800; margin: 6px 0; }
.price-num span { font-size: 14px; color: var(--muted); font-weight: 400; }
.price-card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.price-card li { margin-bottom: 6px; }

/* Category links */
.cat-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cat-link {
  padding: 6px 11px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--panel); font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.cat-link:hover { border-color: var(--accent); color: var(--accent); }

/* Prose & Legal */
.prose { max-width: 760px; padding: 34px 0 56px; }
.prose h1 { margin-top: 0; font-size: 32px; }
.prose h2 { margin-top: 28px; font-size: 20px; color: var(--text); }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Modal for 1-click listing report */
dialog.report-dialog {
  background: var(--panel); color: var(--text); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 24px; max-width: 480px; width: 92%;
}
dialog.report-dialog::backdrop { background: #000000aa; }

/* Footer */
footer {
  border-top: 1px solid var(--line); padding: 28px 0 38px; color: var(--muted); font-size: 13px;
}
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.empty-state {
  padding: 36px; text-align: center; border: 1px dashed var(--line-strong);
  border-radius: var(--radius); color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
