/* PBI Executive Intelligence Refinery — private product shell
   Static, no JS, no external fonts/CDN/analytics. Premium dark executive style. */

:root {
  --bg: #0b0d11;
  --surface: #13161c;
  --surface-2: #191d25;
  --surface-3: #20252f;
  --border: #272d38;
  --border-soft: #1f242d;
  --text: #e9ecf1;
  --text-2: #b7bec9;
  --muted: #8a93a0;
  --faint: #5d6571;
  --accent: #d8a24a;       /* refined gold — the "refinery" */
  --accent-soft: rgba(216,162,74,.14);
  --teal: #54a8aa;         /* evidence */
  --teal-soft: rgba(84,168,170,.14);
  /* evidence_status palette */
  --st-supported: #46c08a;
  --st-insufficient: #d9a441;
  --st-assumption: #6aa6e0;
  --st-illustrative: #b497d6;
  --radius: 14px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(900px 500px at 80% -10%, rgba(216,162,74,.07), transparent 60%),
    radial-gradient(700px 500px at -10% 10%, rgba(84,168,170,.06), transparent 55%);
}

a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 64px 0; border-top: 1px solid var(--border-soft); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 750; }
h3 { font-size: 16px; font-weight: 700; }
p { color: var(--text-2); }
code, .mono { font-family: var(--mono); font-size: .92em; }

/* top bar */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(11,13,17,.72);
  border-bottom: 1px solid var(--border-soft);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -.01em; }
.brand .dot { width: 11px; height: 11px; border-radius: 3px; background: linear-gradient(135deg, var(--accent), var(--teal)); box-shadow: 0 0 16px rgba(216,162,74,.5); }
.brand small { color: var(--muted); font-weight: 600; font-size: 11px; }
.nav-links { display: flex; gap: 22px; font-size: 13.5px; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }
.nav-domain { color: var(--faint); font-size: 12.5px; font-family: var(--mono); }

/* hero */
.hero { padding: 88px 0 56px; border-top: none; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.badge {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 12px;
}
.badge.accent { color: var(--accent); border-color: rgba(216,162,74,.4); background: var(--accent-soft); }
.hero h1 { font-size: clamp(32px, 6vw, 56px); font-weight: 800; max-width: 16ch; }
.hero .sub { font-size: clamp(16px, 2.1vw, 20px); color: var(--text-2); max-width: 60ch; margin: 22px 0 0; }
.position {
  margin-top: 26px; padding: 14px 18px; border-left: 3px solid var(--accent);
  background: var(--surface); border-radius: 0 10px 10px 0; max-width: 62ch;
  color: var(--text); font-weight: 600;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; padding: 12px 20px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
  transition: transform .08s ease, border-color .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--faint); }
.btn.primary { background: linear-gradient(135deg, var(--accent), #c98f33); color: #1a130a; border-color: transparent; }
.btn.primary:hover { filter: brightness(1.05); }

/* generic grids + cards */
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin-bottom: 8px; }
.card .cmd { display: inline-block; font-family: var(--mono); font-size: 12.5px; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(216,162,74,.3); border-radius: 7px; padding: 3px 9px; margin: 4px 0 12px; }
.card.mode { border-top: 3px solid var(--accent); }
.card.mode.b { border-top-color: var(--teal); }
.card.mode.b .cmd { color: var(--teal); background: var(--teal-soft); border-color: rgba(84,168,170,.3); }
.lead { color: var(--muted); max-width: 70ch; margin: 6px 0 28px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* evidence object */
.evidence-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: start; }
.kv { font-family: var(--mono); font-size: 13px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 18px; overflow:auto; }
.kv .k { color: var(--accent); }
.kv .s { color: var(--teal); }
.statuses { display: flex; flex-direction: column; gap: 10px; }
.status { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.pill { font-size: 11px; font-weight: 700; letter-spacing: .03em; border-radius: 999px; padding: 4px 11px; border: 1px solid; white-space: nowrap; }
.pill.supported { color: var(--st-supported); border-color: rgba(70,192,138,.45); background: rgba(70,192,138,.1); }
.pill.insufficient { color: var(--st-insufficient); border-color: rgba(217,164,65,.45); background: rgba(217,164,65,.1); }
.pill.assumption { color: var(--st-assumption); border-color: rgba(106,166,224,.45); background: rgba(106,166,224,.1); }
.pill.illustrative { color: var(--st-illustrative); border-color: rgba(180,151,214,.45); background: rgba(180,151,214,.1); }

/* compare table (quick vs full) */
.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare th.col-quick { color: var(--teal); }
.compare th.col-full { color: var(--accent); }
.compare td:first-child { color: var(--muted); width: 26%; }

/* output preview */
.pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.step h3 { font-size: 14px; margin: 4px 0 4px; }
.step p { font-size: 12.5px; margin: 0; color: var(--muted); }
.sample-note { display:inline-block; font-size: 11px; font-weight:700; letter-spacing:.05em; color: var(--st-illustrative); border:1px solid rgba(180,151,214,.45); background: rgba(180,151,214,.1); border-radius:999px; padding:4px 11px; margin-bottom: 16px; }

/* safety */
.safety { border-color: rgba(217,164,65,.4); background: linear-gradient(180deg, rgba(217,164,65,.06), transparent); }
.safety ul { margin: 8px 0 0; padding-left: 20px; }
.safety li { color: var(--text-2); margin: 6px 0; }
.safety li b { color: var(--text); }

/* footer */
footer { border-top: 1px solid var(--border-soft); padding: 40px 0; color: var(--faint); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* responsive */
@media (max-width: 820px) {
  .grid.two, .grid.three, .evidence-grid, .pipeline { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 48px 0; }
}
