:root {
  --bg: #f5f7f7;
  --bg-soft: #eef3f2;
  --ink: #101820;
  --muted: #66727f;
  --navy: #071522;
  --navy-2: #0d2133;
  --charcoal: #17202a;
  --panel: #ffffff;
  --panel-soft: #f8faf9;
  --line: #d8e0e5;
  --line-dark: rgba(255, 255, 255, 0.14);
  --warm: #f8f4eb;
  --gold: #b99045;
  --cyan: #4ca7b4;
  --emerald: #2f7d62;
  --red: #a14b45;
  --shadow: 0 24px 60px rgba(8, 21, 34, 0.12);
  --mono: "IBM Plex Mono", "JetBrains Mono", Consolas, monospace;
  --sans: Inter, "Geist", "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(76, 167, 180, 0.45);
  outline-offset: 3px;
}

.site-shell { background: linear-gradient(180deg, var(--navy) 0, #132434 460px, var(--bg) 461px); }
.wrap { width: min(1220px, calc(100% - 40px)); margin: 0 auto; }
.topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(7, 21, 34, 0.92);
  backdrop-filter: blur(14px);
}
.topnav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 0;
}
.brand {
  color: var(--warm);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.08;
  letter-spacing: 0;
}
.brand small {
  display: block;
  margin-bottom: 6px;
  color: rgba(248, 244, 235, 0.66);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.menu { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.menu a {
  color: rgba(248, 244, 235, 0.76);
  border-radius: 7px;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 700;
}
.menu a:hover, .menu a.active { color: var(--warm); background: rgba(255, 255, 255, 0.08); }
.menu a.nav-cta { background: var(--warm); color: var(--navy); border: 1px solid rgba(255, 255, 255, 0.2); }

.hero { padding: 68px 0 42px; color: var(--warm); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); gap: 34px; align-items: center; }
.eyebrow, .meta-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow { color: var(--cyan); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 14px 0 18px;
  max-width: 820px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}
h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: 0; }
h3 { margin: 0; font-size: 19px; line-height: 1.22; }
.lead { max-width: 720px; color: rgba(248, 244, 235, 0.78); font-size: 18px; line-height: 1.6; }
.subtle { color: var(--muted); line-height: 1.6; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 7px;
  border: 1px solid var(--line);
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
}
.btn.primary { background: var(--warm); border-color: var(--warm); color: var(--navy); }
.btn.secondary { background: transparent; border-color: rgba(248, 244, 235, 0.34); color: var(--warm); }
.btn.light { background: var(--navy); border-color: var(--navy); color: var(--warm); }
.btn.ghost { background: #fff; color: var(--navy); }

main.light { background: var(--bg); }
section.band { padding: 54px 0; }
.section-head { display: grid; grid-template-columns: minmax(0, .92fr) minmax(280px, .58fr); gap: 30px; align-items: end; margin-bottom: 24px; }
.section-head p { margin: 0; color: var(--muted); line-height: 1.6; }
.grid { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card, .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(8, 21, 34, 0.06);
}
.card { padding: 22px; }
.panel { padding: 28px; }
.card p, .panel p { color: var(--muted); line-height: 1.58; }
.icon-line { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 7px; display: grid; place-items: center; color: var(--gold); margin-bottom: 18px; }
.icon-line::before { content: ""; width: 15px; height: 15px; border: 2px solid currentColor; border-top: 0; border-right: 0; transform: rotate(-45deg); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.badge, .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}
.badge { background: #edf4f2; color: #315849; }
.badge.high { background: #f8e8e5; color: var(--red); }
.badge.medium, .badge.watch { background: #f8efd9; color: #7a5a22; }
.badge.complete { background: #e6f3ed; color: var(--emerald); }
.badge.pending { background: #f5eee6; color: #8a5d2e; }
.badge.board { background: #e9f2f4; color: #27636d; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--charcoal); margin: 0 6px 8px 0; }

.product-mockup {
  background: linear-gradient(180deg, #fdfdfb, #eef4f2);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mockup-top { display: flex; justify-content: space-between; gap: 16px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); background: #fff; }
.mockup-title { font-size: 19px; font-weight: 900; }
.queue-list { display: grid; gap: 0; }
.queue-row { display: grid; grid-template-columns: 1.1fr .72fr .72fr .72fr .45fr; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); align-items: center; }
.queue-row:last-child { border-bottom: 0; }
.queue-title { font-weight: 850; }
.queue-meta { color: var(--muted); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

.workflow-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; border: 1px solid var(--line); background: #fff; border-radius: 8px; overflow: hidden; }
.workflow-step { position: relative; min-height: 210px; padding: 22px; border-right: 1px solid var(--line); }
.workflow-step:last-child { border-right: 0; }
.step-number { color: var(--gold); font-family: var(--mono); font-weight: 900; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.output { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--charcoal); font-weight: 800; }

.data-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; }
.data-table th { padding: 0 12px 4px; text-align: left; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.data-table td { padding: 14px 12px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.data-table td:first-child { border-left: 1px solid var(--line); border-radius: 8px 0 0 8px; font-weight: 850; }
.data-table td:last-child { border-right: 1px solid var(--line); border-radius: 0 8px 8px 0; }
.metric-card { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.metric-card .value { margin-top: 8px; font-size: 34px; font-weight: 950; color: var(--navy); }
.metric-card .label { color: var(--muted); font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.metrics-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.milestone-row { display: grid; grid-template-columns: 140px 170px minmax(0, 1fr) 190px; gap: 16px; align-items: start; }

.dark-panel {
  background: var(--navy);
  color: var(--warm);
  border-radius: 8px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.dark-panel p, .dark-panel .subtle { color: rgba(248, 244, 235, 0.72); }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.trust-item { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; padding: 16px; background: rgba(255, 255, 255, 0.04); }
.disclaimer { margin-top: 20px; padding: 16px; border-left: 3px solid var(--gold); background: rgba(255, 255, 255, 0.06); color: rgba(248, 244, 235, 0.78); line-height: 1.55; }

.newsFeed { display: grid; gap: 10px; }
.newsItem { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 15px; }
.rank { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--navy); color: var(--warm); font-family: var(--mono); font-weight: 900; }
.newsMeta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; color: var(--muted); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; margin-bottom: 7px; color: var(--charcoal); font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px;
}
.field textarea { min-height: 138px; resize: vertical; }
.hidden { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin-bottom: 14px; padding: 13px 14px; border-radius: 8px; line-height: 1.45; }
.notice.success { background: #eaf6ef; border: 1px solid #b8dcc9; color: #185c43; }
.notice.error { background: #fae9e8; border: 1px solid #e6c2bf; color: #7d302b; }

.footer { padding: 34px 0 46px; border-top: 1px solid var(--line); color: var(--muted); background: var(--bg); }
.footer-row { display: flex; justify-content: space-between; gap: 22px; align-items: flex-start; }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-links a { color: #42576a; font-weight: 700; font-size: 13px; }
.fine { color: var(--muted); font-size: 12px; line-height: 1.55; max-width: 720px; }

@media (max-width: 1080px) {
  .hero-grid, .section-head { grid-template-columns: 1fr; }
  .cols-4, .cols-5, .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .milestone-row { grid-template-columns: 1fr 1fr; }
  .workflow-rail { grid-template-columns: 1fr; }
  .workflow-step { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .workflow-step:last-child { border-bottom: 0; }
  .queue-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, 1220px); }
  .topnav { position: static; }
  .topnav .wrap { align-items: flex-start; display: grid; }
  .menu { width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .menu a { flex: 0 0 auto; }
  .hero { padding: 44px 0 30px; }
  .hero-grid, .cols-2, .cols-3, .cols-4, .cols-5, .metrics-grid, .trust-grid, .form-grid, .footer-row, .milestone-row { grid-template-columns: 1fr; display: grid; }
  .panel, .card, .dark-panel { padding: 20px; }
  .queue-row { grid-template-columns: 1fr; }
  .data-table, .data-table thead, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; }
  .data-table thead { display: none; }
  .data-table tr { margin-bottom: 12px; }
  .data-table td, .data-table td:first-child, .data-table td:last-child { border: 1px solid var(--line); border-bottom: 0; border-radius: 0; }
  .data-table td:first-child { border-radius: 8px 8px 0 0; }
  .data-table td:last-child { border-bottom: 1px solid var(--line); border-radius: 0 0 8px 8px; }
  .data-table td::before { content: attr(data-label); display: block; margin-bottom: 6px; color: var(--muted); font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .newsItem { grid-template-columns: 38px 1fr; }
  .newsItem .riskBadge { grid-column: 2; justify-self: start; }
}
