@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,500;6..96,600;6..96,700&family=IBM+Plex+Mono:wght@400;500;600&family=Instrument+Sans:wght@400;500;600;700&display=swap");
@import url("/_content/BiasInspector.UiKit/css/uikit-tokens.css");
@import url("admin-ops-v14.css");

:root {
  --bg: #07080b;
  --bg-elevated: #101318;
  --panel: rgba(18, 22, 29, 0.92);
  --panel-strong: rgba(24, 29, 38, 0.98);
  --panel-soft: rgba(28, 34, 45, 0.86);
  --text: #f7f1df;
  --muted: #b3ad9e;
  --line: rgba(220, 188, 126, 0.18);
  --line-strong: rgba(220, 188, 126, 0.36);
  --accent: #d5a55a;
  --accent-soft: #f0cf8d;
  --accent-cool: #8ea7d9;
  --danger: #f36b74;
  --success: #80d2a7;
  --warning: #f3cb77;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content-width: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 14%, rgba(213, 165, 90, 0.17), transparent 20rem),
    radial-gradient(circle at 88% 8%, rgba(142, 167, 217, 0.16), transparent 19rem),
    linear-gradient(180deg, #11141a 0%, #08090c 48%, #050608 100%);
  letter-spacing: 0.01em;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    linear-gradient(90deg, transparent 0, rgba(213, 165, 90, 0.08) 50%, transparent 100%),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.018) 0,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 5px
    );
  mix-blend-mode: screen;
  opacity: 0.45;
}

body::after {
  background:
    linear-gradient(135deg, rgba(213, 165, 90, 0.1), transparent 32%),
    linear-gradient(315deg, rgba(142, 167, 217, 0.09), transparent 34%);
}

a {
  color: var(--accent-soft);
  text-decoration: none;
}

a:hover {
  color: #fff0cf;
}

code,
.eyebrow,
.language-switch,
.mockup-address,
.sidebar-note,
.status-chip,
.section-kicker {
  font-family: "IBM Plex Mono", monospace;
}

h1,
h2,
h3,
h4,
.brand .title,
.display-title,
.section-title,
.logo-text,
.nav-grid a,
.landing-nav a {
  font-family: "Oxanium", "IBM Plex Sans", sans-serif;
  letter-spacing: 0.04em;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  line-height: 0.95;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.45rem, 2vw, 2.3rem);
  line-height: 1.05;
  text-transform: uppercase;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.2;
  text-transform: uppercase;
}

label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  background: rgba(9, 11, 16, 0.95);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  margin-bottom: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

input:focus,
textarea:focus,
select:focus {
  outline: 1px solid rgba(240, 207, 141, 0.45);
  border-color: var(--line-strong);
}

textarea {
  min-height: 140px;
}

.shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1.5rem;
  min-height: 100vh;
  max-width: calc(var(--content-width) + 2.5rem);
  margin: 0 auto;
  padding: 1.25rem;
}

.sidebar,
.mobile-shell,
.landing-header,
.panel,
.mockup-panel,
.instruction-box,
.pricing-card,
.cta-panel {
  backdrop-filter: blur(18px);
}

.sidebar {
  position: sticky;
  top: 1.25rem;
  height: calc(100vh - 2.5rem);
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(24, 28, 36, 0.98), rgba(13, 16, 22, 0.95)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  box-shadow: var(--shadow);
  overflow: auto;
}

.brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.brand-mark,
.logo-icon {
  width: 3.35rem;
  height: 3.35rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(213, 165, 90, 0.16), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  color: var(--accent-soft);
  font-family: "Oxanium", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.logo-icon::before {
  content: "BI";
}

.brand .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand .title {
  margin-top: 0.4rem;
  font-size: 1.65rem;
  font-weight: 800;
}

.brand .subtitle {
  color: var(--muted);
  margin-top: 0.4rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.status-stack {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.status-card {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(240, 207, 141, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}

.status-card strong {
  display: block;
  margin-bottom: 0.3rem;
}

.status-card span,
.subtle {
  color: var(--muted);
}

.nav-grid {
  display: grid;
  gap: 0.55rem;
}

.nav-grid a {
  position: relative;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid transparent;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.nav-grid a::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0.65rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 207, 141, 0), rgba(240, 207, 141, 0.55), rgba(240, 207, 141, 0));
  opacity: 0;
  transition: opacity 160ms ease;
}

.nav-grid a:hover,
.nav-grid a.active {
  transform: translateX(2px);
  border-color: var(--line-strong);
  background: linear-gradient(90deg, rgba(213, 165, 90, 0.16), rgba(213, 165, 90, 0.05));
  color: #fff5df;
}

.nav-grid a:hover::after,
.nav-grid a.active::after {
  opacity: 1;
}

.language-switch {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.language-switch a {
  color: inherit;
}

.language-switch a:hover {
  color: var(--accent-soft);
}

.sidebar-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(240, 207, 141, 0.1);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main {
  width: 100%;
  padding: 0.15rem 0 3rem;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.topbar h1 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.7rem, 2.5vw, 2.8rem);
}

.topbar p {
  margin: 0;
  max-width: 48rem;
  color: var(--muted);
}

.topbar__chips {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.status-chip,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 207, 141, 0.26);
  background: rgba(213, 165, 90, 0.09);
  color: var(--accent-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(31, 37, 47, 0.96), rgba(14, 16, 22, 0.95)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}

.panel::before,
.instruction-box::before,
.pricing-card::before,
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 207, 141, 0), rgba(240, 207, 141, 0.5), rgba(240, 207, 141, 0));
  pointer-events: none;
}

.hero {
  padding: 1.6rem;
  margin-bottom: 1rem;
}

.hero--command {
  padding: 1.9rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
  gap: 1.4rem;
  align-items: stretch;
}

.hero__lede {
  max-width: 44rem;
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero__eyebrow,
.section-kicker {
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero__rail {
  display: grid;
  gap: 1rem;
}

.hero__outcome {
  padding: 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(240, 207, 141, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.hero__outcome strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.metric-card,
.stat-card {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(240, 207, 141, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.metric-card .metric-label,
.stat-card strong,
.stat-card label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
}

.metric-card .metric-value,
.stat-card div {
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff1d1;
}

.stats-grid,
.pricing-cards,
.features-grid,
.instructions-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1rem 0;
}

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

.stats-grid--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 320px;
  gap: 1rem;
}

.scenario-card {
  border: 1px solid rgba(240, 207, 141, 0.12);
  border-radius: 18px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  background: rgba(255, 255, 255, 0.018);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.scenario-card:hover,
.scenario-card.active {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(213, 165, 90, 0.12), rgba(255, 255, 255, 0.02));
}

.signal-list,
.feature-list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.7;
}

.signal-list li + li,
.feature-list li + li {
  margin-top: 0.35rem;
}

.toolbar-row,
.action-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.toolbar-row {
  justify-content: space-between;
}

.warning-box {
  border-color: rgba(243, 203, 119, 0.34);
}

.table-shell {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(240, 207, 141, 0.12);
}

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

th,
td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid rgba(240, 207, 141, 0.1);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.delta-positive {
  color: var(--success);
}

.delta-negative {
  color: var(--danger);
}

.outcome-headline {
  font-size: 1.1rem;
  line-height: 1.5;
}

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

.border-danger {
  border-color: rgba(243, 107, 116, 0.42);
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.ml-2 {
  margin-left: 1rem;
}

.pt-4 {
  padding-top: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-10 {
  padding: 2.5rem;
}

.w-100 {
  width: 100%;
}

.flex-1 {
  flex: 1;
}

.font-bold {
  font-weight: 700;
}

.text-xl {
  font-size: 1.25rem;
}

.text-3xl {
  font-size: 2rem;
}

.text-accent {
  color: var(--accent-soft);
}

.text-lg {
  font-size: 1.05rem;
}

.text-left {
  text-align: left;
}

.justify-center {
  justify-content: center;
}

.items-center {
  align-items: center;
}

.border-t {
  border-top: 1px solid rgba(240, 207, 141, 0.12);
}

.border-line {
  border-color: rgba(240, 207, 141, 0.12);
}

.bg-panel-dark,
.bg-alt {
  background: rgba(255, 255, 255, 0.018);
}

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

.gap-4 {
  gap: 1rem;
}

.gap-10 {
  gap: 2.5rem;
}

.badge-premium {
  border-color: rgba(142, 167, 217, 0.28);
  background: rgba(142, 167, 217, 0.12);
  color: #d9e4ff;
}

.pos-abs {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.landing-wrapper {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(213, 165, 90, 0.16), transparent 24rem),
    radial-gradient(circle at 86% 0%, rgba(142, 167, 217, 0.14), transparent 22rem),
    linear-gradient(180deg, #0f1319 0%, #07080b 100%);
}

.container {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.container.narrow {
  width: min(820px, calc(100% - 2.5rem));
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(240, 207, 141, 0.12);
  background: rgba(9, 11, 15, 0.84);
}

.landing-header .container,
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.landing-header .brand {
  margin-bottom: 0;
  align-items: center;
}

.landing-header .container {
  padding: 1rem 0;
}

.landing-nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.landing-nav a:not(.ui-button) {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
}

.logo-text {
  font-size: 1.1rem;
}

.landing-nav a:not(.ui-button):hover {
  color: #fff0cf;
}

.hero-section {
  padding: 6.5rem 0 4.5rem;
}

.display-title {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  line-height: 0.88;
}

.text-gradient {
  background: linear-gradient(180deg, #fff8ec 0%, #d9b06c 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-visual {
  margin-top: 2rem;
}

.mockup-panel {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(31, 37, 47, 0.96), rgba(15, 18, 25, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mockup-header {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(240, 207, 141, 0.12);
}

.dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
}

.dot.red {
  background: #ee7e7e;
}

.dot.yellow {
  background: #efd07a;
}

.dot.green {
  background: #7cd49f;
}

.mockup-content {
  padding: 1.35rem;
}

.skeleton-line {
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(213, 165, 90, 0.18), rgba(142, 167, 217, 0.14)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(240, 207, 141, 0.12);
}

.h-40 {
  min-height: 10rem;
}

.h-20 {
  min-height: 5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-title {
  margin-bottom: 0.8rem;
}

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

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

.instruction-box,
.pricing-card,
.cta-panel {
  position: relative;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(29, 34, 43, 0.95), rgba(13, 16, 22, 0.95)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  box-shadow: var(--shadow);
}

.instruction-box {
  padding: 1.3rem;
}

.instruction-header {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

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

.pricing-card {
  padding: 1.4rem;
}

.pricing-card.highlighted {
  border-color: rgba(240, 207, 141, 0.32);
  transform: translateY(-0.35rem);
}

.price {
  margin-top: 0.8rem;
  font-family: "Oxanium", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff2d4;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
}

.cta-panel {
  text-align: center;
}

.contact-form {
  max-width: 34rem;
  margin: 0 auto;
}

.landing-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(240, 207, 141, 0.1);
}

.footer-grid {
  align-items: start;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom {
  margin-top: 1.5rem;
}

@media (max-width: 1320px) {
  .grid {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.2fr);
  }

  .grid > :last-child {
    grid-column: 1 / -1;
  }

  .stats-grid,
  .stats-grid--wide,
  .features-grid,
  .pricing-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .sidebar {
    position: static;
    height: auto;
  }

  .topbar,
  .hero__grid,
  .grid,
  .grid-cols-2,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .topbar__chips {
    justify-content: flex-start;
  }
}

@media (max-width: 840px) {
  body::before {
    opacity: 0.22;
  }

  .shell,
  .container {
    width: calc(100% - 1.5rem);
    padding-left: 0;
    padding-right: 0;
  }

  .shell {
    padding: 0.75rem;
  }

  .landing-nav,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-grid,
  .stats-grid--wide,
  .compact-grid,
  .features-grid,
  .instructions-grid,
  .pricing-cards,
  .hero__metrics {
    grid-template-columns: 1fr;
  }

  .display-title {
    max-width: none;
  }
}

/* modern editorial surfaces */
.surface-hero {
  position: relative;
  padding: 1.7rem;
  border-radius: 32px;
  border: 1px solid rgba(240, 207, 141, 0.14);
  background:
    radial-gradient(circle at top right, rgba(110, 148, 232, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(34, 40, 52, 0.96), rgba(13, 16, 22, 0.96));
  box-shadow: var(--shadow);
}

.surface-hero--compact {
  padding: 1.35rem 1.45rem;
}

.surface-hero__grid,
.marketing-hero,
.support-grid,
.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);
  gap: 1rem;
}

.surface-hero__kicker {
  margin-bottom: 0.85rem;
  color: var(--accent-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.surface-hero__lede {
  max-width: 48rem;
  color: #d7d2c3;
  font-size: 1.05rem;
  line-height: 1.8;
}

.brief-panel,
.executive-brief,
.marketing-command {
  position: relative;
  padding: 1.2rem;
  border-radius: 26px;
  border: 1px solid rgba(240, 207, 141, 0.16);
  background: linear-gradient(180deg, rgba(15, 20, 28, 0.9), rgba(24, 30, 42, 0.92));
}

.brief-panel strong,
.marketing-command__header strong,
.executive-brief__header strong {
  display: block;
  font-size: 1.15rem;
  color: #fff4da;
}

.executive-brief__header,
.marketing-command__header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.executive-brief__metrics,
.marketing-command__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.executive-metric {
  padding: 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(240, 207, 141, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.executive-metric span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.executive-metric strong {
  display: block;
  margin-top: 0.45rem;
  font-family: "Oxanium", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.timeline-list {
  display: grid;
  gap: 0.8rem;
}

.timeline-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border-left: 2px solid rgba(240, 207, 141, 0.35);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 16px 16px 0;
}

.timeline-item strong {
  font-size: 0.96rem;
}

.timeline-item span {
  color: var(--muted);
  line-height: 1.6;
}

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

.spotlight-card {
  min-height: 100%;
}

.feature-band {
  min-height: 100%;
}

.stack-list {
  display: grid;
  gap: 0.85rem;
}

.stack-list--compact .stack-list__item {
  padding: 0.9rem 1rem;
}

.stack-list__item {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(240, 207, 141, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.stack-list__item strong {
  display: block;
  margin-bottom: 0.35rem;
}

.stack-list__item span {
  color: var(--muted);
  line-height: 1.6;
}

.marketing-hero {
  align-items: stretch;
}

.marketing-command {
  padding: 1.4rem;
}

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

.report-toolbar {
  align-items: end;
}

.support-grid {
  align-items: start;
}

.faq-stack {
  display: grid;
  gap: 1rem;
}

.faq-card h2 {
  margin-bottom: 0.85rem;
}

.faq-card p {
  color: #d7d2c3;
  line-height: 1.7;
}

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

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

.demo-workspace {
  display: grid;
  grid-template-columns: 320px minmax(0, 1.1fr) 320px;
  gap: 1rem;
}

.queue-panel,
.dossier-panel,
.outcome-panel {
  min-height: 100%;
}

.scenario-card__header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 1320px) {
  .surface-hero__grid,
  .marketing-hero,
  .support-grid,
  .split-feature,
  .demo-workspace {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 840px) {
  .executive-brief__metrics,
  .marketing-command__grid,
  .spotlight-grid,
  .pricing-grid,
  .control-plane-grid,
  .analytics-grid,
  .workbench-grid {
    grid-template-columns: 1fr;
  }

  .surface-hero,
  .surface-hero--compact {
    padding: 1.2rem;
  }
}

/* Image-first redesign overrides */
:root {
  --bg: #ece4d7;
  --bg-elevated: #f7f1e7;
  --panel: rgba(247, 241, 231, 0.96);
  --panel-strong: rgba(250, 245, 236, 0.98);
  --panel-soft: rgba(232, 217, 193, 0.92);
  --text: #191513;
  --muted: #61564d;
  --line: rgba(35, 27, 20, 0.14);
  --line-strong: rgba(35, 27, 20, 0.28);
  --accent: #a33422;
  --accent-soft: #c9995c;
  --accent-cool: #6b766b;
  --danger: #a33422;
  --success: #2e6a4a;
  --warning: #b9852b;
  --shadow: 0 24px 60px rgba(36, 24, 15, 0.12);
}

body {
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 153, 92, 0.16), transparent 24rem),
    radial-gradient(circle at top right, rgba(163, 52, 34, 0.1), transparent 18rem),
    linear-gradient(180deg, #f4ecde 0%, #ece4d7 46%, #e7ddcf 100%);
}

body::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(201, 153, 92, 0.12) 50%, rgba(255, 255, 255, 0) 100%),
    repeating-linear-gradient(
      180deg,
      rgba(23, 17, 15, 0.03) 0,
      rgba(23, 17, 15, 0.03) 1px,
      transparent 1px,
      transparent 7px
    );
  opacity: 0.3;
  mix-blend-mode: multiply;
}

body::after {
  background:
    linear-gradient(135deg, rgba(163, 52, 34, 0.08), transparent 36%),
    linear-gradient(315deg, rgba(201, 153, 92, 0.08), transparent 40%);
}

a {
  color: #6f2a1f;
}

a:hover {
  color: #a33422;
}

code,
.eyebrow,
.language-switch,
.mockup-address,
.sidebar-note,
.status-chip,
.section-kicker,
.surface-hero__kicker {
  font-family: "IBM Plex Mono", monospace;
}

h1,
h2,
h3,
h4,
.brand .title,
.display-title,
.section-title,
.logo-text,
.topbar h1 {
  font-family: "Bodoni Moda", Georgia, serif;
  letter-spacing: -0.02em;
  text-transform: none;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.9rem, 5vw, 5.4rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.8rem, 2.4vw, 3rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}

label {
  color: #6c6056;
}

input,
textarea,
select {
  background: #fbf6ee;
  color: var(--text);
  border: 1px solid rgba(43, 32, 24, 0.15);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.shell {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1.75rem;
  max-width: 1560px;
  padding: 1.5rem;
}

.sidebar {
  border: 1px solid rgba(201, 153, 92, 0.16);
  background:
    linear-gradient(180deg, rgba(26, 21, 19, 0.98), rgba(18, 15, 14, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  box-shadow: 0 32px 70px rgba(10, 8, 7, 0.38);
}

.brand .eyebrow,
.section-kicker,
.surface-hero__kicker,
.status-chip,
.badge,
.landing-nav a,
.nav-grid a {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand .title,
.logo-text {
  font-size: 2rem;
  color: #f8f1e6;
}

.brand .subtitle,
.sidebar-note,
.language-switch,
.status-card span {
  color: rgba(248, 241, 230, 0.68);
}

.brand-mark,
.logo-icon {
  border-radius: 1.15rem;
  border-color: rgba(215, 184, 122, 0.42);
  background:
    linear-gradient(135deg, rgba(201, 153, 92, 0.68), rgba(122, 77, 40, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  color: #fff4e8;
}

.status-card,
.nav-grid a,
.landing-nav a {
  border-color: rgba(215, 184, 122, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.nav-grid a.active,
.nav-grid a:hover,
.landing-nav a:hover {
  background: rgba(201, 153, 92, 0.12);
  color: #fff4e8;
}

.topbar,
.surface-hero,
.hero-section .container,
.toolbar-row,
.instruction-box,
.feature-band,
.spotlight-card,
.cta-panel,
.pricing-card,
.brief-panel,
.queue-panel,
.dossier-panel,
.outcome-panel,
.report-toolbar,
.control-plane-grid > *,
.analytics-grid > *,
.workbench-grid > *,
.stats-grid > .stat-card {
  border: 1px solid rgba(52, 38, 28, 0.12);
  background:
    linear-gradient(180deg, rgba(251, 246, 238, 0.96), rgba(243, 235, 223, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
  color: var(--text);
  box-shadow: var(--shadow);
}

.topbar {
  align-items: center;
  border-radius: 32px;
  padding: 2rem 2.2rem;
}

.topbar p,
.surface-hero__lede,
.hero-subtitle,
.subtle {
  color: #5f554c;
}

.surface-hero,
.hero-section .container {
  border-radius: 34px;
}

.surface-hero__grid,
.marketing-hero {
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.9fr);
  gap: 2rem;
}

.executive-brief,
.marketing-command,
.brief-panel,
.outcome-panel,
.queue-panel .scenario-card.active {
  border: 1px solid rgba(201, 153, 92, 0.24);
  background:
    linear-gradient(180deg, rgba(28, 22, 19, 0.98), rgba(20, 16, 14, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  color: #f8f1e6;
}

.executive-brief strong,
.executive-brief .subtle,
.marketing-command strong,
.marketing-command .subtle,
.brief-panel strong,
.brief-panel .subtle,
.outcome-panel h2,
.outcome-panel .subtle,
.outcome-headline {
  color: #f8f1e6;
}

.executive-metric,
.timeline-item,
.scenario-card,
.stat-card {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(215, 184, 122, 0.1);
}

.ui-button,
a.ui-button {
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 1.4rem;
}

.ui-button--primary {
  background: linear-gradient(180deg, #bb4734 0%, #a33422 100%);
  border-color: #8d2a1a;
  color: #fff7f0;
  box-shadow: 0 14px 28px rgba(163, 52, 34, 0.2);
}

.ui-button--secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(25, 21, 19, 0.22);
  color: #171412;
}

.status-chip,
.badge {
  background: rgba(201, 153, 92, 0.14);
  border: 1px solid rgba(201, 153, 92, 0.28);
  color: #6e4723;
}

.badge-premium,
.pricing-card.highlighted .badge-premium {
  background: #f9e0d6;
  color: #982d1f;
  border-color: rgba(163, 52, 34, 0.2);
}

.pricing-card {
  padding: 2rem;
}

.pricing-card.highlighted {
  background:
    linear-gradient(180deg, rgba(173, 61, 42, 0.94), rgba(136, 42, 29, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  color: #fff7f0;
  transform: translateY(-14px);
}

.pricing-card.highlighted .section-kicker,
.pricing-card.highlighted .subtle,
.pricing-card.highlighted .price,
.pricing-card.highlighted li,
.pricing-card.highlighted .font-bold {
  color: #fff7f0;
}

.price {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(2.4rem, 3vw, 4rem);
  color: #171412;
}

.toolbar-row,
.report-toolbar,
.dossier-panel,
.feature-band,
.spotlight-card,
.instruction-box {
  border-radius: 28px;
}

.report-toolbar .ui-button--secondary {
  background: #171412;
  color: #f8f1e6;
  border-color: rgba(201, 153, 92, 0.22);
}

.demo-workspace {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr) minmax(300px, 0.95fr);
  gap: 1.4rem;
}

.scenario-card {
  background: rgba(27, 22, 19, 0.8);
  color: #f6eee2;
}

.scenario-card.active {
  background: linear-gradient(180deg, rgba(163, 52, 34, 0.94), rgba(124, 36, 24, 0.94));
}

.signal-list li {
  border-bottom-color: rgba(43, 32, 24, 0.12);
}

.landing-header,
.landing-footer {
  background: rgba(20, 16, 14, 0.94);
  border-color: rgba(201, 153, 92, 0.14);
}

.landing-footer strong,
.landing-footer a,
.landing-header .logo-text,
.landing-header .eyebrow {
  color: #f6eee2;
}

th {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: #6f6256;
}

td,
th {
  border-bottom: 1px solid rgba(44, 35, 27, 0.08);
}

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

  .sidebar {
    position: static;
    height: auto;
  }

  .surface-hero__grid,
  .marketing-hero,
  .demo-workspace {
    grid-template-columns: 1fr;
  }
}

/* Midnight command salon overrides */
:root {
  --bg: #08090d;
  --bg-elevated: #11131a;
  --panel: rgba(16, 18, 25, 0.92);
  --panel-strong: rgba(20, 23, 31, 0.96);
  --panel-soft: rgba(27, 21, 18, 0.82);
  --text: #f4ead8;
  --muted: #baa994;
  --line: rgba(215, 184, 122, 0.14);
  --line-strong: rgba(215, 184, 122, 0.28);
  --accent: #b74230;
  --accent-soft: #d9b778;
  --accent-cool: #6d84b5;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 12% 14%, rgba(183, 66, 48, 0.2), transparent 18rem),
    radial-gradient(circle at 88% 8%, rgba(109, 132, 181, 0.18), transparent 16rem),
    linear-gradient(180deg, #14161f 0%, #090a0e 46%, #06070a 100%);
}

body::before {
  opacity: 0.22;
  mix-blend-mode: screen;
}

a {
  color: #f7d8b0;
}

a:hover {
  color: #ffffff;
}

.topbar,
.surface-hero,
.hero-section .container,
.toolbar-row,
.instruction-box,
.feature-band,
.spotlight-card,
.cta-panel,
.pricing-card,
.brief-panel,
.queue-panel,
.dossier-panel,
.outcome-panel,
.report-toolbar,
.control-plane-grid > *,
.analytics-grid > *,
.workbench-grid > *,
.stats-grid > .stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(215, 184, 122, 0.12);
  background:
    linear-gradient(180deg, rgba(18, 20, 28, 0.96), rgba(11, 13, 20, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  color: #f4ead8;
}

.topbar::before,
.surface-hero::before,
.hero-section .container::before {
  content: "";
  position: absolute;
  top: -8rem;
  right: -5rem;
  width: 24rem;
  height: 24rem;
  transform: rotate(18deg);
  background: linear-gradient(180deg, rgba(183, 66, 48, 0.38), rgba(183, 66, 48, 0));
  filter: blur(12px);
  pointer-events: none;
}

.topbar::after,
.surface-hero::after,
.hero-section .container::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(128deg, rgba(255, 255, 255, 0.03) 0%, transparent 24%),
    linear-gradient(90deg, transparent 0%, rgba(215, 184, 122, 0.14) 48%, transparent 100%);
  pointer-events: none;
}

.surface-hero h1,
.topbar h1,
.display-title,
.hero-section h1,
h2,
h3 {
  color: #f7eedf;
}

.topbar p,
.surface-hero__lede,
.hero-subtitle,
.subtle,
.faq-card p,
label {
  color: #b8aa97;
}

.surface-hero__kicker,
.section-kicker,
.status-chip,
.badge {
  color: #d9b778;
}

.spotlight-card:nth-child(odd),
.feature-band:first-child,
.pricing-card.highlighted,
.stats-grid > .stat-card:nth-child(odd),
.mobile-panel--accent {
  background:
    linear-gradient(180deg, rgba(240, 226, 199, 0.98), rgba(225, 205, 172, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
  color: #171311;
  border-color: rgba(240, 226, 199, 0.24);
}

.spotlight-card:nth-child(odd) h2,
.spotlight-card:nth-child(odd) p,
.feature-band:first-child h2,
.feature-band:first-child p,
.pricing-card.highlighted .price,
.pricing-card.highlighted .subtle,
.pricing-card.highlighted li,
.pricing-card.highlighted .section-kicker,
.stats-grid > .stat-card:nth-child(odd) .font-bold,
.stats-grid > .stat-card:nth-child(odd) label {
  color: #171311;
}

.executive-brief,
.marketing-command,
.brief-panel,
.queue-panel .scenario-card.active,
.outcome-panel {
  background:
    linear-gradient(180deg, rgba(31, 22, 18, 0.96), rgba(15, 13, 18, 0.96)),
    linear-gradient(180deg, rgba(183, 66, 48, 0.12), transparent);
}

.scenario-card {
  background:
    linear-gradient(180deg, rgba(24, 27, 36, 0.96), rgba(14, 16, 22, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.scenario-card.active {
  box-shadow: 0 18px 42px rgba(183, 66, 48, 0.26);
}

.ui-button--primary {
  background: linear-gradient(180deg, #cf5944 0%, #b74230 100%);
  box-shadow: 0 16px 34px rgba(183, 66, 48, 0.28);
}

.ui-button--secondary {
  background: rgba(244, 234, 216, 0.1);
  border-color: rgba(244, 234, 216, 0.18);
  color: #f4ead8;
}

.report-toolbar .ui-button--secondary {
  background: rgba(244, 234, 216, 0.08);
}

.landing-header,
.landing-footer,
.sidebar {
  background:
    linear-gradient(180deg, rgba(14, 16, 22, 0.98), rgba(10, 12, 17, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

/* Scanning and interactive UI polish */
.scan-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(215, 184, 122, 0.05) 50%, transparent 100%);
  background-size: 100% 200%;
  animation: scan-line 2s linear infinite;
  pointer-events: none;
  z-index: 5;
}

@keyframes scan-line {
  0% { background-position: 0 100%; }
  100% { background-position: 0 -100%; }
}

.pulse-live {
  position: relative;
}

.pulse-live::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid var(--accent-soft);
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 0; }
}

.status-chip--live {
  background: rgba(128, 210, 167, 0.15);
  border-color: var(--success);
  color: var(--success);
}

.ui-empty-state__icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
  opacity: 0.6;
  filter: grayscale(0.5);
}

/* Mobile-specific refinements */
.mobile-focal-card {
  border: 1px solid var(--accent);
  box-shadow: 0 12px 30px rgba(163, 52, 34, 0.15);
}

.mobile-quick-prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
  margin: 1rem 0;
}

.mobile-quick-prompt {
  padding: 0.6rem;
  font-size: 0.75rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: all 150ms ease;
}

.mobile-quick-prompt:hover {
  border-color: var(--accent-soft);
  color: var(--text);
  background: rgba(201, 153, 92, 0.1);
}


.ui-button,
a.ui-button {
  min-width: 140px;
  justify-content: center;
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.pricing-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.pricing-card__body {
  flex: 1 1 auto;
}

.pricing-card__footer {
  margin-top: auto;
}

.pricing-card .badge-premium {
  position: static;
}

.outcome-emphasis {
  color: #d9b778;
  line-height: 1.6;
}

.outcome-delta-card {
  display: grid;
  gap: 0.55rem;
}

.outcome-delta-card small {
  color: #b8aa97;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.outcome-delta-card--positive {
  background: linear-gradient(180deg, rgba(46, 88, 66, 0.32), rgba(14, 20, 19, 0.92));
}

.outcome-delta-card--negative {
  background: linear-gradient(180deg, rgba(123, 40, 30, 0.36), rgba(20, 14, 15, 0.92));
}

.sandbox-control-panel {
  border-color: rgba(215, 184, 122, 0.24);
  background:
    linear-gradient(180deg, rgba(31, 24, 18, 0.96), rgba(14, 14, 18, 0.96)),
    linear-gradient(180deg, rgba(215, 184, 122, 0.1), transparent);
}

.sandbox-control-panel strong,
.sandbox-control-panel .subtle {
  color: #f4ead8;
}

.report-export-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.report-export--premium {
  border-color: rgba(215, 184, 122, 0.34);
  background: linear-gradient(180deg, rgba(183, 66, 48, 0.18), rgba(31, 24, 18, 0.92));
}

.faq-card {
  display: grid;
  gap: 0.5rem;
}

.faq-card h2 {
  position: relative;
  padding-bottom: 0.65rem;
}

.faq-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 4.5rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(215, 184, 122, 0.7), rgba(215, 184, 122, 0));
}

.login-lane-grid {
  display: grid;
  gap: 0.85rem;
}

.login-lane-card,
.account-config-card {
  padding: 1rem 1.05rem;
  border-radius: 20px;
  border: 1px solid rgba(215, 184, 122, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.account-workbench-grid {
  align-items: start;
}

.ops-status-grid > .stat-card {
  min-height: 100%;
}

@media (max-width: 700px) {
  .ui-button,
  a.ui-button {
    width: 100%;
    min-width: 0;
  }
}
