/* ProconnAI Federal — shared design system
   Derived from frontend-app/DESIGN.md: electric lime on black, Archivo + Inter.
   Committed dark world. Every color painted explicitly. */

:root {
  --lime:        #BFF747;
  --lime-hot:    #C9F31D;
  --orange:      #FF4612;
  --gold:        #F4B905;
  --deep-green:  #073D30;

  --black:       #000000;
  --ink:         #07080A;
  --panel:       #0D0F0B;
  --panel-2:     #14170F;
  --raise:       #1A1E14;

  --line:        #23281B;
  --line-soft:   #171B12;

  --cream:       #FDFDE1;
  --text:        #ECEFDF;
  --muted:       #949B85;
  --faint:       #676D5A;

  --go:          #BFF747;
  --go-bg:       #1A2410;
  --warn:        #F4B905;
  --warn-bg:     #2A2109;
  --stop:        #FF4612;
  --stop-bg:     #2B1108;

  --display: "Archivo", ui-sans-serif, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --body:    "Inter", ui-sans-serif, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono:    ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --w: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

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

h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--lime); text-decoration: none; }
a:hover { color: var(--lime-hot); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tnum { font-variant-numeric: tabular-nums; }

/* ── Eyebrow / labels ── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
}
.eyebrow.lime { color: var(--lime); }

/* ── Top bar ── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,8,10,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 62px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark {
  width: 26px; height: 26px; flex: none;
  background: var(--lime);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
}
.brand b { font-family: var(--display); font-size: 16px; font-weight: 700; letter-spacing: -.02em; color: var(--cream); }
.brand span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.navlinks { display: flex; gap: 22px; align-items: center; }
.navlinks a {
  font-size: 13.5px; color: var(--muted); font-weight: 500;
}
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--lime); }
@media (max-width: 780px) { .navlinks a.hide-sm { display: none; } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-size: 14px; font-weight: 600;
  padding: 11px 20px; border-radius: 9999px;
  border: 1px solid transparent; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none; line-height: 1;
}
.btn-primary { background: var(--lime); color: var(--black); }
.btn-primary:hover { background: var(--lime-hot); color: var(--black); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ── Pills ── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 3px; white-space: nowrap;
}
.pill.go   { color: var(--go);   background: var(--go-bg);   border: 1px solid var(--go); }
.pill.warn { color: var(--warn); background: var(--warn-bg); border: 1px solid var(--warn); }
.pill.stop { color: var(--stop); background: var(--stop-bg); border: 1px solid var(--stop); }
.pill.mute { color: var(--faint); background: var(--panel-2); border: 1px solid var(--line); }

/* ── Sections ── */
section { padding: 88px 0; border-top: 1px solid var(--line-soft); }
section:first-of-type { border-top: 0; }
.sechead { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.sechead h2 {
  font-size: clamp(26px, 3.6vw, 38px); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.12; color: var(--cream);
}
.sechead p { color: var(--muted); font-size: 17px; max-width: 66ch; }

/* ── Cards & panels ── */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ── Data strip ── */
.strip {
  display: flex; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 6px;
  background: var(--panel); overflow: hidden;
}
.strip > div { flex: 1 1 150px; padding: 13px 16px; border-right: 1px solid var(--line-soft); }
.strip > div:last-child { border-right: 0; }
.strip dt { font-family: var(--mono); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); }
.strip dd { margin: 5px 0 0; font-family: var(--mono); font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--text); }

/* ── Tables ── */
.scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; background: var(--panel); }
th {
  text-align: left; font-family: var(--mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
  font-weight: 600; padding: 12px 15px; background: var(--panel-2);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
td { padding: 14px 15px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td .sub { display: block; color: var(--muted); font-size: 12.5px; margin-top: 4px; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 64px;
  color: var(--faint); font-size: 13px;
}
footer .wrap { display: flex; flex-direction: column; gap: 22px; }
footer .frow { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
footer a { color: var(--muted); }
footer a:hover { color: var(--lime); }

/* ── Print (a CO may print the pitch) ── */
@media print {
  body { background: #fff; color: #000; }
  .topbar, .noprint { display: none !important; }
  section { padding: 24px 0; border-top: 1px solid #ccc; }
  .panel, .strip, table, .scroll { background: #fff !important; border-color: #bbb !important; }
  h1, h2, h3, .sechead h2 { color: #000 !important; }
  p, td, .strip dd { color: #111 !important; }
  a { color: #000; text-decoration: underline; }
}
