:root {
  --bg: #f5f7f4;
  --panel: #ffffff;
  --ink: #17201c;
  --muted: #61706a;
  --line: #dfe6e1;
  --accent: #0d6b57;
  --accent-dark: #08483b;
  --accent-soft: #e4f3ee;
  --warn: #a65218;
  --warn-soft: #fff0df;
  --danger: #a33838;
  --danger-soft: #fdeaea;
  --success: #167348;
  --success-soft: #e7f5ee;
  --shadow: 0 16px 40px rgba(23, 32, 28, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: #fbfcfa;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brand,
.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0;
}

.brand small,
.login-brand p {
  display: block;
  color: var(--muted);
  margin: 0;
}

.nav {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.nav a,
.ghost-button,
.primary-button,
.primary-link,
.ghost-link,
.link-stack a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 9px 12px;
  cursor: pointer;
}

.nav a {
  justify-content: flex-start;
  color: var(--muted);
}

.nav a.active,
.nav a:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.ghost-button,
.ghost-link {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}

.ghost-button:hover,
.ghost-link:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.full {
  width: 100%;
}

.primary-button,
.primary-link {
  background: var(--accent);
  color: #fff;
  border: 0;
  font-weight: 700;
}

.primary-button:hover,
.primary-link:hover {
  background: var(--accent-dark);
}

.main {
  min-width: 0;
  padding: 30px;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.page-header h1,
.login-brand h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.subtitle {
  color: var(--muted);
  margin: 8px 0 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.metric {
  min-height: 118px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric span {
  color: var(--muted);
  font-weight: 700;
}

.metric strong {
  font-size: 34px;
  line-height: 1;
}

.metric.urgent {
  background: var(--warn-soft);
}

.metric.success {
  background: var(--success-soft);
}

.metric.blocked {
  background: var(--danger-soft);
}

.mvp-band {
  margin-bottom: 22px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mvp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.mvp-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 8px;
  padding: 6px 10px;
  font-weight: 800;
  white-space: nowrap;
}

.status-chip.success {
  background: var(--success-soft);
  color: var(--success);
}

.status-chip.warn {
  background: var(--warn-soft);
  color: var(--warn);
}

.mvp-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.mvp-stage {
  min-height: 106px;
  padding: 14px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  border-right: 1px solid var(--line);
}

.mvp-stage:last-child {
  border-right: 0;
}

.mvp-stage span,
.mvp-stage small {
  color: var(--muted);
  font-weight: 700;
}

.mvp-stage strong {
  font-size: 17px;
}

.mvp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.split-layout,
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 18px;
  margin-bottom: 18px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel h2,
.panel h3,
.job-row h3 {
  margin: 0;
}

.panel-head a {
  color: var(--accent);
  font-weight: 700;
}

.panel-subtitle,
.pipeline-meta {
  margin: 5px 0 0;
  color: var(--muted);
}

.pipeline-panel {
  margin-bottom: 18px;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.pipeline-step {
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: #fbfcfa;
  display: grid;
  gap: 4px;
}

.pipeline-step span,
.pipeline-step small {
  color: var(--muted);
  font-weight: 700;
}

.pipeline-step strong {
  font-size: 28px;
  line-height: 1.1;
}

.pipeline-step.active {
  background: var(--accent-soft);
  border-color: #bdded3;
}

.pipeline-step.hold-step {
  background: #eef2ef;
}

.job-list,
.event-list,
.notes,
.link-stack {
  display: grid;
  gap: 10px;
}

.job-row {
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  background: #fff;
}

.job-row:hover,
.event-row:hover {
  border-color: var(--accent);
}

.job-row h3 {
  margin: 8px 0 4px;
  font-size: 17px;
}

.job-row p,
.job-row small,
.event-row small,
.empty,
.body-copy,
.hint {
  color: var(--muted);
}

.job-row p,
.job-row small {
  margin: 0;
}

.job-row strong,
.score {
  min-width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 20px;
}

.pill,
.priority {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef2ef;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pill.applied,
.pill.packet_ready,
.pill.sourced {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.pill.interview {
  background: var(--success-soft);
  color: var(--success);
}

.pill.blocked {
  background: var(--danger-soft);
  color: var(--danger);
}

.pill.hold {
  background: #eef2ef;
  color: var(--muted);
}

.pill.needs_packet {
  background: var(--warn-soft);
  color: var(--warn);
}

.priority {
  margin-left: 6px;
}

.event-row {
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 2px;
}

.event-row span,
.note small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.static:hover {
  border-color: var(--line);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 170px 190px auto auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.form-stack {
  display: grid;
  gap: 14px;
}

.review-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.review-actions form,
.review-actions button {
  width: 100%;
}

.danger-action {
  color: var(--danger);
}

.artifact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.artifact-item {
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  gap: 4px;
}

.artifact-item small {
  color: var(--muted);
}

.form-stack label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.note-form {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.event-form {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 14px;
  background: #fbfcfa;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-grid label,
.event-form label,
.checkbox-line {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.checkbox-line {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--muted);
}

.checkbox-line input {
  width: 18px;
  height: 18px;
}

.form-panel {
  max-width: 920px;
}

.note {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.note p {
  margin: 4px 0 0;
}

.section-title {
  margin: 18px 0 8px;
}

.link-stack a {
  justify-content: flex-start;
  border: 1px solid var(--line);
  color: var(--accent-dark);
  font-weight: 800;
}

.compact-links {
  grid-auto-flow: column;
  align-items: center;
}

.outreach-list {
  display: grid;
  gap: 14px;
}

.outreach-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  display: grid;
  gap: 12px;
}

.outreach-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.outreach-card-head h3,
.outreach-card h4 {
  margin: 6px 0 2px;
}

.outreach-card-head p {
  margin: 0;
  color: var(--muted);
}

.outreach-meta {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
  margin: 0;
}

.outreach-meta div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.outreach-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.outreach-meta dd {
  margin: 4px 0 0;
}

.source-list {
  display: grid;
  gap: 6px;
}

.source-list a {
  color: var(--accent-dark);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.message-preview {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfa;
  color: var(--ink);
}

.networking-card {
  border-left: 4px solid var(--accent);
}

.networking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.command-preview {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #f7f8f4;
}

.command-preview span,
.microcopy {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.command-preview code {
  white-space: normal;
  overflow-wrap: anywhere;
}

.microcopy {
  margin: 0;
  text-transform: none;
}

.signal-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fbfcfa;
}

.signal-details summary {
  cursor: pointer;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
}

.control-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding: 26px;
  border: 1px solid rgba(180, 190, 184, 0.8);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
}

.control-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

.control-hero-copy {
  min-width: 0;
}

.ask-bar {
  min-height: 54px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(23, 32, 28, 0.06);
}

.ask-bar input {
  border: 0;
  padding: 8px 0;
  background: transparent;
  outline: 0;
}

.ask-bar button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: #111816;
  color: #fff;
  cursor: pointer;
}

.stage-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.stage-pill {
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.stage-pill span,
.decision-item span,
.system-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stage-pill strong {
  font-size: 30px;
  line-height: 1;
}

.stage-pill.good,
.state-token.good,
.state-dot.good {
  color: var(--success);
  background: var(--success-soft);
}

.stage-pill.blue,
.state-token.blue {
  color: #1957a6;
  background: #eaf2ff;
}

.stage-pill.warn,
.state-token.warn,
.state-dot.warn {
  color: var(--warn);
  background: var(--warn-soft);
}

.stage-pill.quiet,
.state-token.quiet {
  color: var(--muted);
  background: #f4f6f5;
}

.state-token.danger {
  color: var(--danger);
  background: var(--danger-soft);
}

.decision-band {
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.band-head,
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.band-head h2,
.section-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.run-chip {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--success-soft);
  color: var(--success);
  font-weight: 800;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.decision-item {
  min-height: 132px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.decision-item strong {
  font-size: 36px;
  line-height: 1;
}

.decision-item small {
  color: var(--muted);
}

.decision-item.blue {
  background: #f4f8ff;
}

.decision-item.warn {
  background: var(--warn-soft);
}

.control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.control-main,
.side-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.control-main {
  padding: 18px;
}

.quick-asks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.quick-asks a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
}

.quick-asks a:hover {
  color: #111816;
  border-color: #111816;
}

.control-table-wrap {
  overflow-x: auto;
}

.control-table {
  min-width: 920px;
}

.control-table th {
  padding-top: 10px;
}

.control-table td {
  padding-top: 15px;
  padding-bottom: 15px;
}

.role-cell {
  width: 31%;
}

.role-cell a {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 850;
}

.role-cell span,
.role-cell small,
.next-cell {
  display: block;
  color: var(--muted);
}

.next-cell {
  max-width: 340px;
  font-size: 13px;
}

.state-token {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 5px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 850;
}

.control-side {
  display: grid;
  gap: 14px;
}

.side-panel {
  padding: 16px;
}

.system-list,
.posture-list {
  display: grid;
  gap: 12px;
}

.system-list div {
  display: grid;
  gap: 3px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.system-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.posture-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 10px;
}

.posture-item strong,
.posture-item small {
  display: block;
}

.posture-item small {
  margin-top: 2px;
  color: var(--muted);
}

.state-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

td a {
  color: var(--accent-dark);
  font-weight: 800;
}

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.login-panel {
  width: min(440px, calc(100vw - 32px));
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.login-brand {
  margin-bottom: 24px;
}

.hint {
  margin: 16px 0 0;
  font-size: 13px;
}

code {
  background: #eef2ef;
  border-radius: 6px;
  padding: 2px 5px;
}

.public-shell {
  display: block;
  min-height: 100vh;
}

.public-shell .main {
  padding: 0;
}

.public-page {
  min-height: 100vh;
  background: #f7f8f4;
}

.site-nav {
  width: min(1180px, calc(100% - 36px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-brand strong {
  display: block;
  font-size: 18px;
}

.site-brand small {
  color: var(--muted);
}

.site-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.site-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--muted);
  font-weight: 800;
}

.site-links a:hover {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.or-hero {
  width: min(1180px, calc(100% - 36px));
  min-height: 690px;
  margin: 0 auto;
  padding: 58px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.78fr);
  gap: 34px;
  align-items: center;
}

.compact-hero {
  min-height: 620px;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: 64px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 670px;
  margin: 18px 0 0;
  color: #4e5d56;
  font-size: 20px;
  line-height: 1.55;
}

.choice-grid {
  max-width: 790px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.choice-card,
.surface-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(23, 32, 28, 0.08);
}

.choice-card {
  min-height: 172px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  gap: 13px;
  align-items: start;
  padding: 18px;
}

.choice-card:hover,
.surface-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.choice-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.employee-choice .choice-icon {
  background: #fff0df;
  color: #8f4515;
}

.choice-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.choice-card small,
.surface-card span,
.workflow-grid small,
.timeline-list span,
.candidate-stack small,
.ops-columns small,
.preview-row small {
  color: var(--muted);
  line-height: 1.45;
}

.product-preview,
.ops-preview {
  border: 1px solid #cad5ce;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 26px 70px rgba(23, 32, 28, 0.12);
}

.product-preview {
  padding: 16px;
}

.preview-topbar {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.preview-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d8ded9;
}

.preview-topbar span:nth-child(1) {
  background: #d96f47;
}

.preview-topbar span:nth-child(2) {
  background: #e7b642;
}

.preview-topbar span:nth-child(3) {
  background: #2f9b70;
}

.preview-topbar strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.preview-metrics div,
.ops-columns div,
.candidate-stack div {
  min-height: 102px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfa;
}

.preview-metrics span,
.preview-row span,
.ops-head span,
.ops-columns span,
.candidate-stack span,
.workflow-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.preview-metrics strong,
.ops-columns strong {
  font-size: 34px;
  line-height: 1;
}

.preview-board,
.timeline-list,
.candidate-stack {
  display: grid;
  gap: 10px;
}

.preview-row {
  min-height: 88px;
  display: grid;
  gap: 4px;
  border-left: 4px solid #d8ded9;
  border-radius: 8px;
  padding: 13px;
  background: #f7f8f4;
}

.preview-row.urgent {
  border-left-color: var(--warn);
}

.preview-row.ready {
  border-left-color: var(--accent);
}

.preview-row.booked {
  border-left-color: var(--success);
}

.public-band {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 18px;
  padding: 34px 0;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.split-band h2,
.workflow-band h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: 0;
}

.band-copy p {
  margin: 0;
  color: #4e5d56;
  font-size: 18px;
  line-height: 1.65;
}

.surface-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 10px;
}

.surface-card {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.surface-card > svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.surface-card strong {
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.ops-preview {
  padding: 18px;
}

.ops-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  margin-bottom: 14px;
}

.ops-head strong {
  max-width: 220px;
  text-align: right;
}

.ops-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.timeline-list div {
  min-height: 54px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.timeline-list svg {
  color: var(--accent);
}

.workflow-band {
  border-top: 1px solid var(--line);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.workflow-grid div {
  min-height: 180px;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.workflow-grid strong {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #111816;
  color: #fff;
}

.candidate-stack div {
  min-height: 116px;
}

.candidate-stack strong {
  font-size: 22px;
}

.relay-page {
  min-height: 100vh;
  background: #020503;
  color: #f7fff8;
}

.relay-experience {
  position: relative;
  height: 520vh;
  background: #020503;
}

.relay-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 48%, rgba(92, 255, 112, 0.16), transparent 23%),
    radial-gradient(circle at 50% 30%, rgba(130, 210, 180, 0.08), transparent 36%),
    linear-gradient(180deg, #070a09 0%, #020503 100%);
}

.relay-fallback,
.relay-scene,
.relay-scene canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.relay-scene {
  z-index: 1;
}

.relay-scene canvas {
  display: block;
}

.relay-fallback {
  z-index: 0;
  background:
    radial-gradient(circle at 73% 55%, rgba(106, 255, 122, 0.28), transparent 15%),
    radial-gradient(circle at 72% 52%, rgba(255, 255, 255, 0.16), transparent 23%),
    radial-gradient(circle at 35% 44%, rgba(50, 90, 74, 0.18), transparent 32%),
    #020503;
}

.relay-fallback::before,
.relay-fallback::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 24%;
  width: 38vw;
  max-width: 620px;
  aspect-ratio: 1;
  border: 1px solid rgba(210, 255, 216, 0.42);
  border-radius: 50%;
  transform: rotate(-28deg);
  box-shadow: 0 0 80px rgba(91, 255, 111, 0.22), inset 0 0 52px rgba(255, 255, 255, 0.12);
}

.relay-fallback::after {
  right: 13%;
  top: 30%;
  width: 26vw;
  transform: rotate(42deg);
  border-color: rgba(21, 27, 23, 0.95);
}

.relay-nav,
.relay-copy,
.relay-status,
.relay-depth-meter {
  position: absolute;
  z-index: 3;
}

.relay-nav {
  left: 8.2vw;
  right: 8.2vw;
  top: 24px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.relay-brand {
  color: rgba(255, 255, 255, 0.72);
  font-size: 21px;
  line-height: 1;
}

.relay-brand span {
  font-weight: 750;
}

.relay-brand strong {
  color: rgba(255, 255, 255, 0.42);
  font-weight: 520;
}

.relay-nav nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.relay-nav nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 13px;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 720;
}

.relay-nav nav a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.relay-copy {
  left: 8.2vw;
  top: 50%;
  width: min(740px, 58vw);
  min-height: 430px;
  transform: translateY(-38%);
  pointer-events: none;
}

.relay-copy-panel {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.985);
  transition: opacity 420ms ease, transform 520ms ease;
  pointer-events: none;
}

.relay-copy-panel.active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

.relay-kicker {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 16px;
  font-weight: 760;
}

.relay-copy h1,
.relay-copy h2 {
  margin: 0;
  max-width: 760px;
  color: #fff;
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.relay-copy h1 {
  font-size: 76px;
}

.relay-copy h2 {
  font-size: 62px;
}

.relay-copy p:not(.relay-kicker) {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 25px;
  line-height: 1.35;
}

.relay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 44px;
  pointer-events: auto;
}

.relay-button {
  min-width: 188px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 15px 28px;
  font-size: 18px;
  font-weight: 720;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.relay-button:hover {
  transform: translateY(-1px);
}

.relay-button.primary {
  color: #061008;
  background: linear-gradient(180deg, #b7ffc0 0%, #67d979 42%, #46b960 100%);
  box-shadow: 0 0 38px rgba(91, 255, 111, 0.34);
}

.relay-button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(2, 5, 3, 0.48);
  backdrop-filter: blur(12px);
}

.relay-button.secondary:hover {
  border-color: rgba(117, 255, 133, 0.92);
  background: rgba(105, 255, 120, 0.08);
}

.relay-status {
  left: 8.2vw;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.relay-status span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 10px;
}

.relay-status span.active {
  color: rgba(193, 255, 201, 0.94);
  border-color: rgba(112, 255, 127, 0.36);
  background: rgba(88, 255, 109, 0.08);
}

.relay-depth-meter {
  right: 8.2vw;
  bottom: 39px;
  width: 180px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.relay-depth-meter span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: #78ff84;
  box-shadow: 0 0 18px rgba(120, 255, 132, 0.72);
}

.relay-experience[data-active-step="1"] .relay-stage {
  background:
    radial-gradient(circle at 55% 50%, rgba(100, 255, 119, 0.19), transparent 22%),
    radial-gradient(circle at 80% 52%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #050706 0%, #020503 100%);
}

.relay-experience[data-active-step="2"] .relay-stage,
.relay-experience[data-active-step="3"] .relay-stage {
  background:
    radial-gradient(circle at 49% 50%, rgba(105, 255, 121, 0.22), transparent 16%),
    radial-gradient(circle at 70% 45%, rgba(255, 255, 255, 0.07), transparent 30%),
    linear-gradient(180deg, #050706 0%, #020503 100%);
}

.relay-copy-panel:not([data-copy-step="0"]) {
  padding-top: 38px;
}

.relay-copy-panel.final .relay-actions {
  margin-top: 32px;
}

@media (min-width: 1500px) {
  .relay-copy h1 {
    font-size: 94px;
  }

  .relay-copy h2 {
    font-size: 72px;
  }
}

@media (max-width: 980px) {
  .relay-experience {
    height: 440vh;
  }

  .relay-copy {
    left: 5vw;
    top: 43%;
    width: min(680px, 90vw);
    transform: translateY(-35%);
  }

  .relay-copy h1 {
    font-size: 58px;
  }

  .relay-copy h2 {
    font-size: 48px;
  }

  .relay-copy p:not(.relay-kicker) {
    font-size: 21px;
  }

  .relay-nav {
    left: 5vw;
    right: 5vw;
  }

  .relay-status {
    left: 5vw;
  }

  .relay-depth-meter {
    right: 5vw;
  }
}

@media (max-width: 640px) {
  .relay-stage {
    min-height: 680px;
  }

  .relay-nav {
    top: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .relay-nav nav {
    justify-content: flex-start;
  }

  .relay-copy {
    top: 37%;
    min-height: 360px;
  }

  .relay-kicker {
    margin-bottom: 12px;
  }

  .relay-copy h1 {
    max-width: 360px;
    font-size: 42px;
  }

  .relay-copy h2 {
    max-width: 360px;
    font-size: 34px;
  }

  .relay-copy p:not(.relay-kicker) {
    max-width: 330px;
    margin-top: 18px;
    font-size: 17px;
  }

  .relay-actions {
    gap: 10px;
    margin-top: 28px;
  }

  .relay-button {
    min-width: 146px;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 15px;
  }

  .relay-status {
    bottom: 46px;
    max-width: 330px;
    flex-wrap: wrap;
  }

  .relay-depth-meter {
    left: 5vw;
    right: auto;
    bottom: 30px;
    width: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .relay-experience {
    height: 100vh;
    min-height: 680px;
  }

  .relay-stage {
    position: relative;
  }

  .relay-copy-panel:not([data-copy-step="0"]) {
    display: none;
  }
}

.flash-stack {
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 10;
  display: grid;
  gap: 8px;
}

.flash {
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.flash.success {
  border-color: #b8dec9;
}

.flash.error {
  border-color: #efb4b4;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .detail-grid,
  .pipeline-grid,
  .mvp-stages,
  .control-hero,
  .or-hero,
  .choice-grid,
  .split-band,
  .surface-grid,
  .workflow-grid,
  .ops-columns,
  .stage-strip,
  .decision-grid,
  .control-grid,
  .review-actions,
  .artifact-grid,
  .toolbar,
  .form-grid,
  .outreach-meta {
    grid-template-columns: 1fr;
  }

  .mvp-stage {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mvp-stage:last-child {
    border-bottom: 0;
  }

  .page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .or-hero,
  .compact-hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .product-preview,
  .ops-preview {
    max-width: 620px;
  }
}

@media (max-width: 560px) {
  .main {
    padding: 18px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    grid-template-columns: 1fr;
  }

  .job-row {
    flex-direction: column;
  }

  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .site-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-lede,
  .band-copy p {
    font-size: 16px;
  }

  .choice-card {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .choice-card > svg {
    display: none;
  }

  .preview-metrics {
    grid-template-columns: 1fr;
  }

  .split-band h2,
  .workflow-band h2 {
    font-size: 30px;
  }
}
