/* Palantir-density /hire/. Rem type. One elevated workbench. No toy chrome. */
:root {
  --bg: #0b0d10;
  --panel: #14181e;
  --panel-2: #1a1f27;
  --ink: #e8eaed;
  --muted: #9aa3ad;
  --line: #2a3038;
  --cyan: #47c1b0;
  --cyan-ink: #06201c;
  --ok: #7bd389;
  --warn: #e08b7a;
  --soft: #10141a;
  font-size: 14px;
}
* { box-sizing: border-box; }
html { width: 100%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Sans 3", "Source Sans Pro", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.45;
}
a { color: var(--cyan); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
img { display: block; max-width: 100%; height: auto; }
.mono, code, .sku, .cell, .pipe-id {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.shell {
  width: 100%;
  padding-inline: 0.85rem;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.75rem;
  margin-inline: -0.85rem;
  padding-inline: 0.85rem;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 16, 0.92);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}
.brand-mark {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0;
}
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.55rem 0.95rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.78rem; }
.nav-links a:hover { color: var(--ink); }
.kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.02em; }
h1 { margin: 0.35rem 0 0.55rem; font-size: 2rem; line-height: 1.1; }
h1 span { color: var(--ink); }
h2 { margin: 0.2rem 0 0.45rem; font-size: 1.15rem; }
h3 { font-size: 0.95rem; }
p { margin: 0; }
.lede, .section-copy { color: var(--muted); max-width: 36rem; }
.hero {
  display: grid;
  grid-template-columns: minmax(20rem, 0.4fr) minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.9rem 0 0.7rem;
  align-items: stretch;
}
.cta { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.75rem; }
.btn {
  display: inline-flex;
  min-height: 2.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--cyan);
  background: var(--cyan);
  color: var(--cyan-ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0.15rem 0 0.2rem;
}
.fact {
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: 0.75rem;
}
.fact b { display: block; color: var(--ink); font-size: 0.8rem; }
.workbench {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.wb-head, .wb-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wb-foot { border-bottom: 0; border-top: 1px solid var(--line); text-transform: none; letter-spacing: 0; }
.wb-foot a { text-decoration: none; }
.pipe {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.55rem;
  border-bottom: 1px solid var(--line);
}
.pipe-node {
  padding: 0.4rem 0.45rem;
  border: 1px solid var(--line);
  background: var(--panel-2);
}
.pipe-id { display: block; color: var(--cyan); font-size: 0.62rem; letter-spacing: 0.08em; }
.pipe-node b { display: block; font-size: 0.78rem; }
.pipe-node span { color: var(--muted); font-size: 0.7rem; }
.grid-table { width: 100%; border-collapse: collapse; font-size: 0.75rem; }
.grid-table th, .grid-table td {
  padding: 0.32rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.grid-table th {
  color: var(--muted);
  font-weight: 650;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--soft);
}
.grid-table td.num { font-variant-numeric: tabular-nums; font-family: "IBM Plex Mono", monospace; }
.tag {
  display: inline-block;
  padding: 0.05rem 0.35rem;
  border: 1px solid var(--line);
  color: var(--ok);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}
.tag.park { color: var(--warn); }
main { padding: 0.35rem 0 0; }
section { scroll-margin-top: 3rem; }
section + section { margin-top: 1.25rem; padding-top: 1.05rem; border-top: 1px solid var(--line); }
.notice {
  margin-top: 0.55rem;
  padding: 0.45rem 0.6rem;
  border-left: 2px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: 0.78rem;
}
.catalog { margin-top: 0.7rem; border: 1px solid var(--line); overflow-x: auto; }
.catalog .grid-table { min-width: 40rem; }
.catalog .btn { min-height: 1.85rem; width: auto; }
.screens {
  display: grid;
  grid-template-columns: minmax(0, 28rem);
  gap: 0.55rem;
  margin-top: 0.7rem;
}
.screen-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  color: inherit;
  text-decoration: none;
}
.screen-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line); }
.screen-copy { padding: 0.5rem 0.55rem 0.6rem; }
.screen-copy p { color: var(--muted); font-size: 0.75rem; }
.screen-url { display: block; margin-top: 0.35rem; color: var(--cyan); font-size: 0.68rem; overflow-wrap: anywhere; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.7rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 0.65rem 0.65rem 0.7rem 2.4rem;
  border: 1px solid var(--line);
  background: var(--panel);
}
.step::before {
  position: absolute;
  top: 0.65rem;
  left: 0.55rem;
  width: 1.3rem;
  height: 1.3rem;
  border: 1px solid var(--line);
  color: var(--muted);
  counter-increment: step;
  content: counter(step);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  line-height: 1.3rem;
  text-align: center;
}
.step p { color: var(--muted); font-size: 0.8rem; }
.contact { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(14rem, 0.65fr); gap: 0.7rem; align-items: start; }
form, .contact-card { padding: 0.75rem; border: 1px solid var(--line); background: var(--panel); }
label { display: block; margin: 0.55rem 0 0.2rem; font-size: 0.78rem; font-weight: 650; }
input, select, textarea {
  width: 100%;
  min-height: 2.15rem;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 4.6rem; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.form-note { margin-top: 0.7rem; color: var(--muted); font-size: 0.75rem; }
.brief-ready {
  margin-top: 0.8rem;
  padding: 0.7rem;
  border: 1px solid var(--cyan);
  background: var(--soft);
}
.brief-ready textarea {
  min-height: 8rem;
  margin-top: 0.5rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
}
.contact-card p { margin-top: 0.45rem; color: var(--muted); }
.skip { margin-top: 0.7rem; color: var(--muted); font-size: 0.75rem; }
footer {
  margin-top: 1.4rem;
  padding: 0.8rem 0 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}

@media (max-width: 800px) {
  .shell { padding-inline: 0.6rem; }
  .topbar { margin-inline: -0.6rem; padding-inline: 0.6rem; }
  .hero, .facts, .pipe, .screens, .steps, .contact, .form-grid {
    grid-template-columns: 1fr;
  }
  h1 { font-size: 1.65rem; }
  .btn { min-height: 2.75rem; }
  .catalog .grid-table { min-width: 0; }
  .workbench { overflow-x: auto; }
  .workbench .grid-table { min-width: 32rem; }
  .catalog thead { display: none; }
  .catalog tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.15rem 0.6rem;
    padding: 0.7rem 0.75rem;
    border-bottom: 1px solid var(--line);
  }
  .catalog td {
    border: 0;
    padding: 0;
  }
  .catalog td:nth-child(1) { font-weight: 700; }
  .catalog td:nth-child(2) { grid-column: 1 / -1; color: var(--muted); }
  .catalog td:nth-child(3) { color: var(--cyan); font-weight: 700; }
  .catalog td:nth-child(4) { display: none; }
  .catalog td:nth-child(5) { justify-self: end; }
  .pipe { display: none; }
  .nav-links a:nth-child(n+4) { display: none; }
}
