/* NSCC Beacon — product landing page */

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ── Header ──────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 66px;
}
.site-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
}
.site-nav a {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
}
.site-nav a:hover { color: var(--text); }

/* Deliberately quiet: this page is about the product, and sign-in leads to an
   internal tool that only the team needs to find. */
.signin-link {
  padding: 6px 2px;
  border: 0;
  background: none;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}
.signin-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.signin-link[disabled] { opacity: 0.5; cursor: default; }
.site-header .signin-link { flex: none; }
.site-nav + .signin-link { margin-left: 0; }

@media (max-width: 760px) {
  .site-nav { display: none; }
  .site-header .signin-link { margin-left: auto; }
}

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 88px 0 64px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -220px 0 auto 50%;
  width: 900px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--accent-soft), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 9px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--idea);
}

.hero h1 {
  max-width: 18ch;
  font-size: clamp(34px, 5.4vw, 55px);
  line-height: 1.07;
  letter-spacing: -0.028em;
  font-weight: 700;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.hero .lede {
  max-width: 60ch;
  margin-top: 20px;
  font-size: clamp(16px, 1.9vw, 18.5px);
  line-height: 1.62;
  color: var(--text-2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

/* ── Dispatch console mock ───────────────────────────────────────────── */

.console {
  position: relative;
  margin-top: 58px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.console-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.console-chrome i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}
.console-chrome span {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
}

.console-body {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 230px;
  gap: 1px;
  background: var(--border);
}

.console-rail {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 12px;
  background: var(--surface-2);
  font-size: 12.5px;
  color: var(--text-3);
}
.console-rail span {
  padding: 6px 9px;
  border-radius: var(--radius-sm);
}
.console-rail .is-active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.console-rail .rail-rule {
  height: 1px;
  padding: 0;
  margin: 8px 9px;
  background: var(--border);
}

.console-main { padding: 16px 18px 20px; background: var(--surface); }
.console-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-size: 13px;
}
.console-head strong { margin-right: auto; letter-spacing: -0.01em; }

.chip {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-sunk);
  color: var(--text-3);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.chip--live { background: var(--accent-soft); color: var(--accent); }
.chip--ok { background: var(--idea-soft); color: var(--idea); }

.run {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  margin-bottom: 7px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  font-size: 13px;
}
.run-id {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-2);
}
.run-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-2);
}

.console-side {
  padding: 16px 16px 20px;
  background: var(--surface-2);
  font-size: 12.5px;
}
.console-side strong {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
}
.custody { display: grid; gap: 9px; }
.custody li {
  position: relative;
  padding-left: 20px;
  color: var(--text-3);
  line-height: 1.35;
}
.custody li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
}
.custody .is-done { color: var(--text-2); }
.custody .is-done::before { background: var(--idea); border-color: var(--idea); }
.custody .is-next { color: var(--accent); font-weight: 600; }
.custody .is-next::before { border-color: var(--accent); }
.side-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 11.5px;
  line-height: 1.45;
}

@media (max-width: 880px) {
  .console-body { grid-template-columns: 1fr; }
  .console-rail { flex-direction: row; flex-wrap: wrap; }
  .console-rail .rail-rule { display: none; }
}

/* ── Sections ────────────────────────────────────────────────────────── */

.section { padding: 84px 0; }
.section--alt { background: var(--surface-2); border-block: 1px solid var(--border); }

.section-head { max-width: 64ch; margin-bottom: 44px; }
.section-head h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  letter-spacing: -0.022em;
  line-height: 1.16;
  font-weight: 700;
}
.section-head p {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 16px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 18px;
}
.card {
  padding: 26px 24px 28px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--tone, var(--border-strong));
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.card h3 {
  font-size: 17px;
  letter-spacing: -0.012em;
  margin-bottom: 9px;
}
.card p { color: var(--text-2); font-size: 14.5px; }
.card--bug { --tone: var(--bug); }
.card--update { --tone: var(--update); }
.card--idea { --tone: var(--idea); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  counter-reset: step;
}
.step { position: relative; padding-top: 46px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--mono);
}
.step h3 { font-size: 16px; margin-bottom: 7px; }
.step p { color: var(--text-2); font-size: 14.5px; }

/* ── Split: prose beside the module counts ───────────────────────────── */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 44px;
  margin-top: 62px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.split h3 {
  font-size: 20px;
  letter-spacing: -0.018em;
  margin-bottom: 12px;
}
.split p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.62;
}
.split p + p { margin-top: 14px; }

.module-stats { display: grid; gap: 12px; align-content: start; }
.module-stats li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.module-stats b {
  grid-row: span 2;
  align-self: center;
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 700;
  color: var(--accent);
}
.module-stats span { font-size: 14.5px; font-weight: 650; letter-spacing: -0.01em; }
.module-stats i {
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-3);
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Closing call to action ──────────────────────────────────────────── */

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  padding: 38px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-2);
}
.cta > div { flex: 1 1 380px; }
.cta h2 { font-size: 23px; letter-spacing: -0.02em; }
.cta p { margin-top: 10px; color: var(--text-2); font-size: 15px; line-height: 1.62; }

@media (max-width: 620px) {
  .cta { padding: 28px 24px; }
}

/* ── Footer ──────────────────────────────────────────────────────────── */

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 13px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.site-footer .signin-link { font-size: 13px; color: var(--text-3); }
.footer-links { display: inline-flex; align-items: center; gap: 20px; }
.footer-links a { color: var(--text-3); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

/* ── Auth status line ────────────────────────────────────────────────── */

.auth-msg {
  display: none;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--bug);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 13.5px;
  color: var(--text-2);
  max-width: 62ch;
}
.auth-msg.is-shown { display: flex; }
