:root {
  --bg: #f5f1ea;
  --surface: #fffdf8;
  --surface-strong: #eee8df;
  --ink: #151923;
  --muted: #667081;
  --line: rgba(45, 53, 71, 0.13);
  --line-strong: rgba(45, 53, 71, 0.22);
  --accent: #d99b2b;
  --accent-dark: #a66f13;
  --accent-soft: #fff1d1;
  --warning: #b45830;
  --navy: #111827;
  --shadow: 0 24px 70px rgba(26, 30, 45, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 16px auto 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(217, 225, 218, 0.9);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(25, 37, 32, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: var(--navy);
  border-radius: 7px;
  font-size: 0.9rem;
}

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
}

.primary-nav a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--accent-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.text-link {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.93rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  color: #ffffff;
  background: var(--accent-dark);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(11, 118, 80, 0.18);
  cursor: pointer;
}

.button:hover {
  background: #915d0c;
}

.button-secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line-strong);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--surface-strong);
}

.button-small {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0;
}

.section-tight {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding-top: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 8vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  color: #34423c;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 20px;
}

.supporting-line {
  max-width: 620px;
  color: var(--muted);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-row span {
  padding: 8px 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.dashboard-visual {
  padding: 14px;
  background: linear-gradient(140deg, #d7e8df, #ffffff 54%, #cbd8e0);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visual-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(260px, 1fr);
  gap: 12px;
}

.panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(188, 201, 192, 0.78);
  border-radius: 8px;
  padding: 16px;
}

.actions-panel {
  grid-column: 1 / -1;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-heading strong {
  color: var(--ink);
  font-size: 0.76rem;
}

.provider-list,
.action-list,
.compact-list,
.audit-lists ul,
.before-after ul,
.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.provider-list {
  display: grid;
  gap: 10px;
  color: #2d3935;
  font-size: 0.86rem;
  font-weight: 700;
}

.provider-list li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.provider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.dot-openai { background: #15211d; }
.dot-anthropic { background: #b2764a; }
.dot-azure { background: #2f7dd1; }
.dot-aws { background: #ef9b31; }
.dot-google { background: #e14b41; }
.dot-router { background: #6e55c9; }
.dot-together { background: #14a3a1; }
.dot-fireworks { background: #d04f8f; }
.dot-gpu { background: #6f79c8; }

.primary-metric {
  margin: 4px 0 14px;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.metric-grid div {
  padding: 10px;
  background: var(--surface-strong);
  border-radius: 7px;
}

.metric-grid span,
.metric-grid strong {
  display: block;
}

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

.metric-grid strong {
  margin-top: 4px;
  color: var(--accent-dark);
  font-size: 0.96rem;
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 112px;
  margin-top: 18px;
  padding: 10px;
  background: repeating-linear-gradient(to top, #edf2ee, #edf2ee 1px, transparent 1px, transparent 27px);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.bar-chart span {
  flex: 1;
  height: var(--height);
  min-height: 18px;
  background: linear-gradient(180deg, var(--accent), #f4c568);
  border-radius: 5px 5px 2px 2px;
}

.action-list {
  display: grid;
  gap: 9px;
}

.action-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #f7faf8;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #2d3935;
  font-size: 0.85rem;
  font-weight: 700;
}

.status {
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.ready,
.complete {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.evaluating {
  color: #305d8b;
  background: #e3edf8;
}

.approval {
  color: var(--warning);
  background: #fff0df;
}

.logo-band {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 18px auto;
}

.logo-row span {
  padding: 8px 12px;
  color: #596760;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 800;
}

.center-copy {
  max-width: 820px;
  margin: 0 auto;
  color: var(--muted);
}

.split-section,
.security-section,
.audit-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.split-section p,
.section-heading p,
.agent-card p,
.audit-layout p,
.security-section p,
.final-cta p {
  color: var(--muted);
}

.issue-grid,
.question-grid,
.outcome-grid,
.use-case-grid,
.security-grid {
  display: grid;
  gap: 12px;
}

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

.issue-grid span,
.security-grid span {
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #34423c;
  font-weight: 700;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

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

.question-grid article {
  min-height: 128px;
  padding: 20px;
  background: var(--navy);
  border-radius: 8px;
  color: #ffffff;
  font-size: 1.04rem;
  font-weight: 800;
}

.platform-section {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.feature-card,
.outcome-grid article,
.use-case-grid article,
.price-card,
.before-after {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.platform-section .feature-card {
  background: #f8faf8;
}

.feature-card.wide {
  grid-column: span 3;
}

.feature-number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 0.86rem;
}

.feature-card p,
.outcome-grid p,
.use-case-grid p,
.price-card p {
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-list span {
  padding: 6px 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #42504a;
  font-size: 0.78rem;
  font-weight: 800;
}

.mini-table,
.recommendation-card {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.mini-table div,
.recommendation-card,
.contract-strip {
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.mini-table div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

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

.mini-table .warning span {
  color: #a74824;
}

.recommendation-card span,
.recommendation-card strong {
  display: block;
}

.recommendation-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.recommendation-card strong {
  margin-top: 8px;
  color: var(--accent-dark);
}

.compact-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: #41504a;
  font-size: 0.92rem;
  font-weight: 700;
}

.utilization {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  margin-top: 20px;
}

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

.utilization i {
  grid-column: 1 / -1;
  height: 10px;
  overflow: hidden;
  background: #e7eee9;
  border-radius: 999px;
}

.utilization em {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
}

.contract-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.contract-strip span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contract-strip strong {
  font-size: 1.5rem;
}

.outcomes-section {
  padding-bottom: 30px;
}

.outcome-grid {
  grid-template-columns: repeat(5, 1fr);
}

.agent-card {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 34px;
  padding: 34px;
  background: var(--navy);
  border-radius: 8px;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.agent-card .eyebrow,
.agent-card p {
  color: #b7dbc9;
}

.agent-dialog {
  display: grid;
  gap: 14px;
}

.prompt,
.response {
  padding: 18px;
  border-radius: 8px;
}

.prompt {
  color: #dce8e2;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.response {
  color: #172520;
  background: #ffffff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.steps article {
  position: relative;
  min-height: 250px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  color: #ffffff;
  background: var(--accent-dark);
  border-radius: 50%;
  font-weight: 800;
}

.steps p {
  color: var(--muted);
}

.audit-section {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  background: #eee8df;
}

.audit-lists {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.audit-lists article {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.audit-lists li,
.before-after li,
.price-card li {
  position: relative;
  margin-top: 10px;
  padding-left: 18px;
  color: var(--muted);
}

.audit-lists li::before,
.before-after li::before,
.price-card li::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.before-after strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.before-after > span {
  color: var(--muted);
  font-weight: 700;
}

.highlight-result {
  background: var(--navy);
  color: #ffffff;
}

.highlight-result > span {
  color: #bfd2ca;
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.result-metrics div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
}

.result-metrics b,
.result-metrics span {
  display: block;
}

.result-metrics b {
  color: #ffffff;
  font-size: 1.3rem;
}

.result-metrics span {
  color: #bfd2ca;
  font-size: 0.82rem;
}

.small-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.use-case-grid {
  grid-template-columns: repeat(3, 1fr);
}

.comparison-section {
  padding-top: 20px;
}

.comparison-table {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.table-row:first-child {
  border-top: 0;
}

.table-row > div {
  padding: 16px 18px;
}

.table-row > div + div {
  border-left: 1px solid var(--line);
}

.table-head {
  color: #ffffff;
  background: var(--navy);
  font-weight: 800;
}

.table-row:not(.table-head) > div:last-child {
  color: var(--accent-dark);
  font-weight: 800;
}

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

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

.pricing-section {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.price-card {
  display: flex;
  min-height: 510px;
  flex-direction: column;
}

.price-card strong {
  display: block;
  min-height: 64px;
  margin: 12px 0;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.12;
}

.price-card ul {
  margin-bottom: 24px;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.featured-price {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.pricing-note {
  max-width: 860px;
  margin: 24px auto 0;
  color: var(--muted);
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-list details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  padding: 18px 20px;
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: center;
  padding: 48px;
  margin-bottom: 70px;
  background: var(--navy);
  border-radius: 8px;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.final-cta .eyebrow,
.final-cta p {
  color: #b7dbc9;
}

.audit-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
  color: var(--ink);
}

.audit-form label {
  display: grid;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 800;
}

.audit-form input,
.audit-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #f8faf8;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
}

.site-footer p,
.legal {
  color: var(--muted);
}

.site-footer nav,
.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 700;
}

.legal {
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 1080px) {
  .hero,
  .split-section,
  .agent-card,
  .audit-layout,
  .security-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .dashboard-visual {
    max-width: 760px;
  }

  .feature-grid,
  .question-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card.wide {
    grid-column: span 2;
  }

  .outcome-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .primary-nav,
  .header-actions {
    display: none;
  }

  .site-header.nav-open .primary-nav,
  .site-header.nav-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: start;
  }

  .site-header.nav-open .primary-nav {
    flex-wrap: wrap;
    padding-top: 10px;
  }
}

@media (max-width: 760px) {
  .site-header,
  .section,
  .section-tight,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .visual-grid,
  .metric-grid,
  .issue-grid,
  .feature-grid,
  .question-grid,
  .outcome-grid,
  .steps,
  .audit-lists,
  .results-grid,
  .use-case-grid,
  .security-grid,
  .pricing-grid,
  .final-cta,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .feature-card.wide {
    grid-column: auto;
  }

  .action-list li,
  .table-row {
    grid-template-columns: 1fr;
  }

  .table-row > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .contract-strip,
  .result-metrics {
    grid-template-columns: 1fr;
  }

  .final-cta {
    padding: 26px;
  }

  .site-footer nav,
  .legal {
    justify-content: flex-start;
  }
}

/* Final layout stabilization */
body {
  overflow-x: hidden;
}

.section,
.section-tight,
.site-header,
.site-footer {
  max-width: 1180px;
}

.hero.section {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
  min-height: auto;
  padding-top: 76px;
  padding-bottom: 76px;
  overflow: visible;
}

.hero-content {
  max-width: 590px;
  min-width: 0;
}

.hero h1 {
  max-width: 590px;
  margin-bottom: 22px;
  font-size: clamp(3.6rem, 5.2vw, 5.2rem);
  line-height: 0.98;
}

.hero-copy {
  max-width: 540px;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.hero-points {
  max-width: 540px;
}

.dashboard-visual {
  width: min(100%, 720px);
  max-width: 720px;
  justify-self: end;
}

.dashboard-visual .visual-grid {
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  gap: 12px;
}

.dashboard-visual .primary-metric {
  font-size: clamp(2.15rem, 3vw, 3.15rem);
}

.dashboard-visual .metric-grid {
  gap: 8px;
}

.dashboard-visual .metric-grid div {
  padding: 10px;
}

.dashboard-visual .metric-grid strong {
  font-size: clamp(0.84rem, 1.1vw, 1rem);
}

.provider-list {
  max-height: 310px;
  overflow: hidden;
}

@media (max-width: 1180px) {
  .hero.section {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .hero h1,
  .hero-copy,
  .hero-points {
    max-width: 760px;
  }

  .dashboard-visual {
    width: 100%;
    max-width: 860px;
    justify-self: start;
  }
}

@media (max-width: 780px) {
  .hero.section {
    padding-top: 52px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

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

/* Final provider hub stabilization: keep this last. */
.dashboard-visual .provider-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  gap: 18px 16px;
  align-items: center;
  justify-items: center;
  min-height: 270px;
  padding: 22px 18px;
}

.dashboard-visual .provider-map strong,
.dashboard-visual .provider-node {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  transform: none;
  z-index: 1;
}

.dashboard-visual .provider-map strong {
  grid-column: 1 / -1;
  grid-row: 2;
  width: min(100%, 190px);
  height: 54px;
}

.dashboard-visual .provider-node {
  width: 100%;
  max-width: 132px;
  min-height: 42px;
  padding: 8px 12px;
}

.dashboard-visual .node-openai,
.dashboard-visual .node-anthropic {
  grid-row: 1;
}

.dashboard-visual .node-azure,
.dashboard-visual .node-aws {
  grid-row: 2;
}

.dashboard-visual .node-azure {
  justify-self: start;
}

.dashboard-visual .node-aws {
  justify-self: end;
}

.dashboard-visual .node-google,
.dashboard-visual .node-gpu {
  grid-row: 3;
}

@media (max-width: 780px) {
  .dashboard-visual .provider-map {
    min-height: 310px;
  }

  .dashboard-visual .provider-map strong {
    width: 180px;
  }
}

/* Final provider list override: keep this last. */
.dashboard-visual .provider-map,
.dashboard-visual .provider-node,
.dashboard-visual .marquee-row {
  display: none;
}

.dashboard-visual .provider-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  min-height: 360px;
  padding: 16px;
  background:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    rgba(15, 23, 42, 0.28);
  background-size: 32px 32px;
  border: 1px solid rgba(51, 65, 85, 0.92);
  border-radius: 10px;
}

.dashboard-visual .provider-stack span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  color: #E5E7EB;
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.dashboard-visual .provider-stack i {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

@media (min-width: 1181px) {
  .dashboard-visual .provider-stack {
    min-height: 390px;
  }
}

@media (max-width: 780px) {
  .dashboard-visual .provider-stack {
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-visual .provider-stack span {
    white-space: normal;
  }
}

/* Provider list replacement: no overlapping cloud labels. */
.dashboard-visual .provider-map,
.dashboard-visual .provider-node,
.dashboard-visual .marquee-row {
  display: none;
}

.provider-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  min-height: 360px;
  padding: 16px;
  background:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    rgba(15, 23, 42, 0.28);
  background-size: 32px 32px;
  border: 1px solid rgba(51, 65, 85, 0.92);
  border-radius: 10px;
}

.provider-stack span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  color: #E5E7EB;
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.provider-stack i {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

@media (min-width: 1181px) {
  .provider-stack {
    min-height: 390px;
  }
}

@media (max-width: 780px) {
  .provider-stack {
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .provider-stack span {
    white-space: normal;
  }
}

/* Provider hub layout fix: keep labels clear of the center pill. */
.dashboard-visual .provider-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  gap: 18px 16px;
  align-items: center;
  justify-items: center;
  min-height: 270px;
  padding: 22px 18px;
}

.dashboard-visual .provider-map strong,
.dashboard-visual .provider-node {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  transform: none;
  z-index: 1;
}

.dashboard-visual .provider-map strong {
  grid-column: 1 / -1;
  grid-row: 2;
  width: min(100%, 190px);
  height: 54px;
}

.dashboard-visual .provider-node {
  width: 100%;
  max-width: 132px;
  min-height: 42px;
  padding: 8px 12px;
}

.dashboard-visual .node-openai,
.dashboard-visual .node-anthropic {
  grid-row: 1;
}

.dashboard-visual .node-azure,
.dashboard-visual .node-aws {
  grid-row: 2;
}

.dashboard-visual .node-azure {
  justify-self: start;
}

.dashboard-visual .node-aws {
  justify-self: end;
}

.dashboard-visual .node-google,
.dashboard-visual .node-gpu {
  grid-row: 3;
}

@media (max-width: 780px) {
  .dashboard-visual .provider-map {
    min-height: 310px;
  }

  .dashboard-visual .provider-map strong {
    width: 180px;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .header-actions,
  .site-header.nav-open .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .primary-metric {
    font-size: 2.6rem;
  }
}

/* Visual identity refresh */
:root {
  --bg: #f5f1ea;
  --surface: #fffdf8;
  --surface-strong: #eee8df;
  --ink: #151923;
  --muted: #667081;
  --line: rgba(45, 53, 71, 0.13);
  --line-strong: rgba(45, 53, 71, 0.22);
  --accent: #d99b2b;
  --accent-dark: #a66f13;
  --accent-soft: #fff1d1;
  --warning: #b45830;
  --navy: #111827;
  --slate: #283241;
  --indigo: #3d416d;
  --cobalt: #3568d4;
  --amber: #d99b2b;
  --coral: #cc674d;
  --glass: rgba(255, 253, 248, 0.72);
  --shadow: 0 24px 70px rgba(26, 30, 45, 0.16);
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

body {
  background:
    radial-gradient(circle at 18% 4%, rgba(61, 65, 109, 0.14), transparent 32rem),
    radial-gradient(circle at 83% 12%, rgba(217, 155, 43, 0.14), transparent 28rem),
    linear-gradient(180deg, #f8f4ee 0%, #f2eee8 52%, #f7f3ed 100%);
  font-family: "Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mono,
.primary-metric,
.metric-grid strong,
.contract-strip strong,
.before-after strong,
.result-metrics b,
.price-card strong {
  font-family: var(--mono);
  letter-spacing: 0;
}

.site-header {
  background: rgba(255, 253, 248, 0.78);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 48px rgba(30, 34, 48, 0.12);
}

.brand-mark {
  background: linear-gradient(135deg, var(--navy), var(--indigo));
}

.eyebrow,
.feature-number,
.table-row:not(.table-head) > div:last-child,
.metric-grid strong,
.recommendation-card strong,
.form-message {
  color: var(--accent-dark);
}

h1 {
  max-width: 700px;
  font-size: clamp(3.25rem, 6vw, 5rem);
  line-height: 1;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(540px, 1.05fr);
}

.hero-copy {
  color: #404a5c;
}

.button {
  border-color: rgba(217, 155, 43, 0.65);
  background: linear-gradient(135deg, #e9ad3c, #b67917);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 16px 34px rgba(166, 111, 19, 0.24);
}

.button:hover {
  background: linear-gradient(135deg, #d69a28, #915d0c);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.72);
  border-color: var(--line-strong);
  box-shadow: none;
}

.demo-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  color: var(--slate);
  font-weight: 800;
}

.demo-link span {
  position: relative;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.7);
}

.demo-link span::before {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--cobalt);
  content: "";
}

.trust-row span,
.issue-grid span,
.security-grid span,
.feature-card,
.outcome-grid article,
.use-case-grid article,
.price-card,
.before-after,
.audit-lists article,
.faq-list details,
.comparison-table {
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 42px rgba(31, 36, 52, 0.08);
  backdrop-filter: blur(14px);
}

.dashboard-visual {
  position: relative;
  overflow: hidden;
  padding: 1px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(217, 155, 43, 0.32), rgba(53, 104, 212, 0.24)),
    linear-gradient(135deg, #151923, #303653);
  border: 0;
  border-radius: 12px;
}

.dashboard-visual::before {
  position: absolute;
  inset: -20% auto auto -15%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(217, 155, 43, 0.24), transparent 68%);
  content: "";
  pointer-events: none;
}

.live-console {
  color: #f7f2ea;
}

.console-topbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(17, 24, 39, 0.88);
  border-radius: 12px 12px 0 0;
}

.console-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d66f55;
}

.console-topbar span:nth-child(2) {
  background: #d99b2b;
}

.console-topbar span:nth-child(3) {
  background: #6f79c8;
}

.console-topbar strong {
  margin-left: auto;
  color: #b8c0d6;
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.spend-toggle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px 14px 0;
  background: rgba(17, 24, 39, 0.88);
}

.spend-option {
  min-height: 36px;
  color: #c9cfdf;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  font-family: var(--mono);
  font-weight: 700;
  cursor: pointer;
}

.spend-option.is-active,
.spend-option:hover {
  color: #221907;
  background: linear-gradient(135deg, #f1c15c, #d99b2b);
  border-color: rgba(255, 255, 255, 0.34);
}

.visual-grid {
  position: relative;
  padding: 14px;
  background: rgba(17, 24, 39, 0.88);
}

.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.07));
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.panel-heading,
.panel-heading strong {
  color: #c8cedd;
}

.hub-panel {
  min-height: 338px;
}

.provider-map {
  position: relative;
  height: 250px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
}

.provider-map::before,
.provider-map::after {
  position: absolute;
  inset: 30px;
  border: 1px solid rgba(217, 155, 43, 0.18);
  border-radius: 50%;
  content: "";
}

.provider-map::after {
  inset: 64px;
  border-color: rgba(53, 104, 212, 0.22);
}

.provider-map strong,
.provider-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 999px;
  font-weight: 800;
}

.provider-map strong {
  left: 50%;
  top: 50%;
  width: 128px;
  height: 50px;
  color: #151923;
  background: linear-gradient(135deg, #fff7df, #d99b2b);
  box-shadow: 0 14px 34px rgba(217, 155, 43, 0.28);
  transform: translate(-50%, -50%);
}

.provider-node {
  padding: 8px 10px;
  color: #e8edf8;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.78rem;
}

.node-openai { left: 7%; top: 14%; }
.node-anthropic { right: 5%; top: 15%; }
.node-azure { left: 2%; top: 47%; }
.node-aws { right: 8%; top: 48%; }
.node-google { left: 13%; bottom: 14%; }
.node-gpu { right: 15%; bottom: 12%; }

.marquee-row {
  display: flex;
  gap: 8px;
  overflow: hidden;
  margin-top: 12px;
}

.marquee-row span {
  flex: 0 0 auto;
  padding: 6px 8px;
  color: #b9c0d2;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
}

.primary-metric {
  color: #fffaf0;
  font-size: clamp(2.6rem, 6vw, 4rem);
}

.metric-grid div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-grid span {
  color: #aeb5c7;
}

.metric-grid strong {
  color: #f4c568;
}

.line-chart {
  margin-top: 18px;
}

.line-chart svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 170px;
  overflow: visible;
}

.grid-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.baseline-line,
.savings-line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.baseline-line {
  stroke: #71809d;
}

.savings-line {
  stroke: #d99b2b;
  filter: drop-shadow(0 0 10px rgba(217, 155, 43, 0.32));
}

.chart-point {
  fill: #fff3cf;
  stroke: #d99b2b;
  stroke-width: 3;
}

.chart-legend {
  display: flex;
  gap: 14px;
  color: #c8cedd;
  font-size: 0.78rem;
  font-weight: 800;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.chart-legend i {
  width: 18px;
  height: 3px;
  border-radius: 999px;
}

.legend-baseline {
  background: #71809d;
}

.legend-savings {
  background: #d99b2b;
}

.action-list li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e5e9f4;
}

.status {
  font-family: var(--mono);
}

.ready,
.complete {
  color: #291d07;
  background: #f4c568;
}

.evaluating {
  color: #eaf0ff;
  background: rgba(53, 104, 212, 0.54);
}

.approval {
  color: #fff2e6;
  background: rgba(204, 103, 77, 0.48);
}

.logo-band {
  border-color: rgba(45, 53, 71, 0.1);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 18px;
}

.trust-badges span {
  padding: 8px 11px;
  color: var(--slate);
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(31, 36, 52, 0.06);
  font-size: 0.78rem;
  font-weight: 800;
}

.logo-row span {
  color: #4c5567;
  background: transparent;
  border: 0;
  font-size: 0.95rem;
}

.platform-section,
.pricing-section {
  background: rgba(255, 253, 248, 0.62);
}

.platform-section .feature-card {
  background: rgba(255, 253, 248, 0.76);
}

.question-grid article,
.agent-card,
.highlight-result,
.final-cta,
.table-head {
  background:
    radial-gradient(circle at 84% 0%, rgba(217, 155, 43, 0.14), transparent 18rem),
    linear-gradient(135deg, #111827, #2f3456);
}

.margin-bars {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.margin-bars div {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 10px;
  align-items: center;
}

.margin-bars b,
.margin-bars span {
  font-size: 0.82rem;
  font-weight: 800;
}

.margin-bars span {
  color: var(--muted);
}

.margin-bars i {
  height: 11px;
  overflow: hidden;
  background: rgba(21, 25, 35, 0.08);
  border-radius: 999px;
}

.margin-bars em {
  display: block;
  width: var(--bar);
  height: 100%;
  background: var(--tone);
  border-radius: inherit;
}

.margin-bars .negative em {
  background: repeating-linear-gradient(45deg, var(--tone), var(--tone) 6px, rgba(204, 103, 77, 0.62) 6px, rgba(204, 103, 77, 0.62) 12px);
}

.provider-compare {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.compare-head span {
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.compare-row {
  grid-template-columns: 1fr 1fr auto;
  color: var(--muted);
}

.compare-row strong {
  color: var(--ink);
}

.compare-row b {
  color: var(--slate);
  font-family: var(--mono);
}

.compare-row.recommended {
  border-color: rgba(217, 155, 43, 0.42);
  box-shadow: inset 0 0 0 1px rgba(217, 155, 43, 0.14);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-row span {
  padding: 7px 8px;
  color: #1e2636;
  background: var(--accent-soft);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.agent-card {
  grid-template-columns: 0.82fr 1.18fr;
  padding: 1px;
  overflow: hidden;
}

.agent-card > div:first-child {
  padding: 34px 0 34px 34px;
}

.agent-workspace {
  margin: 16px;
  overflow: hidden;
  background: rgba(13, 18, 31, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

.workspace-bar,
.trace-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: #bac2d5;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.workspace-bar b {
  color: #f4c568;
}

.trace-line {
  margin: 14px;
  padding: 14px;
  border-radius: 8px;
}

.trace-line small {
  display: block;
  margin-bottom: 8px;
  color: #f4c568;
  font-family: var(--mono);
  font-weight: 800;
  text-transform: uppercase;
}

.trace-line p {
  margin: 0;
}

.user-trace {
  background: rgba(255, 255, 255, 0.07);
}

.agent-trace {
  color: #172033;
  background: #fff8e9;
}

.agent-trace small,
.agent-trace p {
  color: #172033;
}

.agent-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.agent-actions span {
  padding: 10px;
  color: #5b6270;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 800;
}

.agent-actions strong {
  display: block;
  color: var(--navy);
  font-family: var(--mono);
}

.trace-footer button {
  padding: 8px 10px;
  color: #151923;
  background: #f4c568;
  border: 0;
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
}

.audit-section {
  background: rgba(47, 52, 86, 0.08);
}

.roi-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: center;
  padding: 48px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 248, 233, 0.72)),
    linear-gradient(135deg, rgba(217, 155, 43, 0.2), rgba(53, 104, 212, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.roi-copy p {
  color: var(--muted);
}

.roi-calculator {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #f7f2ea;
}

.roi-calculator label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  color: #d7ddec;
  font-weight: 800;
}

.roi-calculator input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--amber);
}

.roi-calculator label span {
  color: #f4c568;
}

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

.roi-output div {
  min-height: 112px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.roi-output span,
.roi-output strong {
  display: block;
}

.roi-output span {
  color: #aeb5c7;
  font-size: 0.78rem;
  font-weight: 800;
}

.roi-output strong {
  margin-top: 12px;
  color: #f4c568;
  line-height: 1.1;
}

.featured-price {
  border-color: rgba(217, 155, 43, 0.55);
}

@media (max-width: 1080px) {
  .agent-card,
  .roi-section {
    grid-template-columns: 1fr;
  }

  .agent-card > div:first-child {
    padding: 34px 34px 0;
  }
}

@media (max-width: 760px) {
  .spend-toggle,
  .roi-output,
  .agent-actions,
  .margin-bars div,
  .compare-row {
    grid-template-columns: 1fr;
  }

  .provider-map {
    height: 280px;
  }

  .roi-section {
    padding: 26px;
  }
}

/* Palette 1: Executive FinOps */
:root {
  --bg: #0B0F17;
  --surface: #161F30;
  --surface-strong: #1D2940;
  --ink: #F8FAFC;
  --muted: #94A3B8;
  --line: rgba(42, 54, 79, 0.88);
  --line-strong: #2A364F;
  --accent: #F59E0B;
  --accent-dark: #FBBF24;
  --accent-soft: rgba(245, 158, 11, 0.16);
  --warning: #F97316;
  --navy: #0B0F17;
  --slate: #161F30;
  --indigo: #252D55;
  --cobalt: #38BDF8;
  --amber: #F59E0B;
  --coral: #FB7185;
  --glass: rgba(22, 31, 48, 0.72);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

body {
  background:
    radial-gradient(circle at 14% 0%, rgba(56, 189, 248, 0.14), transparent 28rem),
    radial-gradient(circle at 78% 4%, rgba(245, 158, 11, 0.18), transparent 26rem),
    linear-gradient(180deg, #0B0F17 0%, #0F1724 48%, #0B0F17 100%);
  color: var(--ink);
}

.site-header {
  background: rgba(11, 15, 23, 0.76);
  border-color: rgba(42, 54, 79, 0.86);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

.brand-mark {
  color: #0B0F17;
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
}

.primary-nav,
.text-link,
.supporting-line,
.center-copy,
.split-section p,
.section-heading p,
.audit-layout p,
.security-section p,
.final-cta p,
.feature-card p,
.outcome-grid p,
.use-case-grid p,
.price-card p,
.site-footer p,
.legal,
.before-after > span,
.pricing-note,
.small-note,
.faq-list p,
.steps p,
.roi-copy p {
  color: var(--muted);
}

.primary-nav a:hover,
.text-link:hover,
.site-footer a:hover,
.eyebrow,
.feature-number,
.table-row:not(.table-head) > div:last-child,
.metric-grid strong,
.form-message {
  color: var(--accent-dark);
}

.hero-copy {
  color: #CBD5E1;
}

.button {
  color: #111827;
  border-color: rgba(251, 191, 36, 0.7);
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 18px 44px rgba(245, 158, 11, 0.34);
}

.button:hover {
  background: linear-gradient(135deg, #FCD34D, #D97706);
}

.button-secondary {
  color: var(--ink);
  background: rgba(22, 31, 48, 0.82);
  border-color: var(--line-strong);
}

.button-secondary:hover {
  background: #1D2940;
}

.demo-link {
  color: #E2E8F0;
}

.demo-link span,
.trust-row span,
.trust-badges span,
.issue-grid span,
.security-grid span,
.feature-card,
.outcome-grid article,
.use-case-grid article,
.price-card,
.before-after,
.audit-lists article,
.faq-list details,
.comparison-table,
.audit-form {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(22, 31, 48, 0.92), rgba(17, 24, 39, 0.92));
  border: 1px solid rgba(42, 54, 79, 0.92);
  box-shadow: var(--shadow);
}

.trust-row span,
.trust-badges span,
.issue-grid span,
.security-grid span,
.tag-list span,
.logo-row span {
  color: #CBD5E1;
}

.dashboard-visual {
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.64), rgba(56, 189, 248, 0.34), rgba(42, 54, 79, 0.9)),
    linear-gradient(135deg, #0B0F17, #161F30);
}

.console-topbar,
.spend-toggle,
.visual-grid,
.roi-calculator {
  background: rgba(11, 15, 23, 0.92);
}

.panel {
  background: linear-gradient(180deg, rgba(22, 31, 48, 0.9), rgba(11, 15, 23, 0.72));
  border-color: rgba(42, 54, 79, 0.95);
}

.panel-heading,
.panel-heading strong,
.chart-legend,
.console-topbar strong {
  color: #94A3B8;
}

.primary-metric {
  color: #F8FAFC;
}

.metric-grid div,
.action-list li,
.result-metrics div,
.roi-output div,
.user-trace,
.agent-workspace,
.workspace-bar,
.trace-footer {
  background: rgba(22, 31, 48, 0.82);
  border-color: rgba(42, 54, 79, 0.9);
}

.metric-grid strong,
.roi-output strong,
.roi-calculator label span,
.workspace-bar b,
.trace-line small,
.agent-actions strong,
.primary-nav a:hover,
.text-link:hover {
  color: #FBBF24;
}

.savings-line,
.chart-point {
  stroke: #F59E0B;
}

.chart-point {
  fill: #0B0F17;
}

.baseline-line {
  stroke: #38BDF8;
}

.legend-baseline {
  background: #38BDF8;
}

.legend-savings {
  background: #F59E0B;
}

.spend-option {
  color: #CBD5E1;
  background: rgba(22, 31, 48, 0.82);
  border-color: rgba(42, 54, 79, 0.9);
}

.spend-option.is-active,
.spend-option:hover,
.ready,
.complete,
.trace-footer button {
  color: #111827;
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
}

.evaluating {
  color: #E0F2FE;
  background: rgba(56, 189, 248, 0.24);
}

.approval {
  color: #FED7AA;
  background: rgba(249, 115, 22, 0.24);
}

.logo-band,
.platform-section,
.pricing-section,
.audit-section {
  background: rgba(11, 15, 23, 0.52);
  border-color: rgba(42, 54, 79, 0.82);
}

.platform-section .feature-card {
  background: linear-gradient(180deg, rgba(22, 31, 48, 0.94), rgba(13, 19, 31, 0.94));
}

.question-grid article,
.agent-card,
.highlight-result,
.final-cta,
.table-head {
  background:
    radial-gradient(circle at 82% 0%, rgba(245, 158, 11, 0.18), transparent 18rem),
    linear-gradient(135deg, #0B0F17, #161F30);
  border: 1px solid rgba(42, 54, 79, 0.95);
}

.provider-map {
  border-color: rgba(42, 54, 79, 0.95);
  background:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.provider-map strong {
  color: #111827;
  background: linear-gradient(135deg, #FDE68A, #F59E0B);
}

.provider-node,
.marquee-row span,
.tag-list span,
.compact-list,
.compare-row,
.compare-head,
.recommendation-card,
.contract-strip,
.mini-table div {
  color: #CBD5E1;
  background: rgba(22, 31, 48, 0.78);
  border-color: rgba(42, 54, 79, 0.9);
}

.compare-row strong,
.compare-row b,
.contract-strip strong,
.price-card strong,
.before-after strong,
.agent-trace small,
.agent-trace p,
.agent-actions strong {
  color: #F8FAFC;
}

.compare-head span,
.badge-row span,
.recommendation-card strong {
  color: #FBBF24;
}

.badge-row span,
.agent-actions span {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.24);
}

.margin-bars span,
.mini-table span,
.contract-strip span,
.recommendation-card span,
.roi-output span,
.metric-grid span,
.agent-actions span,
.compare-row {
  color: var(--muted);
}

.margin-bars i,
.utilization i {
  background: #2A364F;
}

.agent-trace {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(22, 31, 48, 0.94), rgba(13, 19, 31, 0.94));
  border: 1px solid rgba(245, 158, 11, 0.24);
}

.roi-section {
  background:
    radial-gradient(circle at 16% 8%, rgba(56, 189, 248, 0.14), transparent 18rem),
    linear-gradient(135deg, rgba(22, 31, 48, 0.96), rgba(11, 15, 23, 0.96));
  border-color: rgba(42, 54, 79, 0.95);
}

.audit-form input,
.audit-form select,
.nav-toggle {
  color: var(--ink);
  background: #0B0F17;
  border-color: var(--line-strong);
}

.nav-toggle span:not(.sr-only) {
  background: var(--ink);
}

.table-row {
  border-color: rgba(42, 54, 79, 0.92);
}

.table-row > div + div {
  border-color: rgba(42, 54, 79, 0.92);
}

/* Hero collision fix */
.hero {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 4vw, 56px);
  overflow: hidden;
}

.hero-content,
.dashboard-visual,
.panel,
.spend-panel,
.provider-panel {
  min-width: 0;
}

.hero-content {
  max-width: 620px;
}

.dashboard-visual {
  width: 100%;
  max-width: 760px;
  justify-self: end;
}

.visual-grid {
  grid-template-columns: minmax(240px, 0.88fr) minmax(0, 1.12fr);
}

.primary-metric {
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(2.35rem, 3.8vw, 3.6rem);
  line-height: 1.04;
  white-space: nowrap;
}

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

.metric-grid div,
.metric-grid strong,
.metric-grid span {
  min-width: 0;
}

.metric-grid strong {
  overflow-wrap: anywhere;
}

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

  .hero-content {
    max-width: 780px;
  }

  .dashboard-visual {
    max-width: 860px;
    justify-self: stretch;
  }
}

@media (max-width: 720px) {
  .visual-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .primary-metric {
    font-size: clamp(2.45rem, 13vw, 3.4rem);
  }
}

/* Slate + indigo light theme */
:root {
  --bg: #F8F9FA;
  --surface: #FFFFFF;
  --surface-strong: #F4F5F7;
  --ink: #111827;
  --muted: #6B7280;
  --line: #E5E7EB;
  --line-strong: #CBD5E1;
  --accent: #4F46E5;
  --accent-dark: #4338CA;
  --accent-soft: #EEF2FF;
  --warning: #D97706;
  --navy: #0F172A;
  --slate: #334155;
  --indigo: #4F46E5;
  --cobalt: #2563EB;
  --amber: #D97706;
  --coral: #DC2626;
  --glass: rgba(255, 255, 255, 0.82);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 18px 48px rgba(17, 24, 39, 0.08);
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(79, 70, 229, 0.09), transparent 28rem),
    radial-gradient(circle at 88% 7%, rgba(37, 99, 235, 0.08), transparent 26rem),
    linear-gradient(180deg, #F8F9FA 0%, #F4F5F7 54%, #F8F9FA 100%);
  color: var(--ink);
}

.site-header {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(229, 231, 235, 0.92);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 14px 36px rgba(17, 24, 39, 0.07);
}

.brand-mark {
  color: #FFFFFF;
  background: linear-gradient(135deg, #111827, #4F46E5);
}

.primary-nav,
.text-link,
.supporting-line,
.center-copy,
.split-section p,
.section-heading p,
.audit-layout p,
.security-section p,
.final-cta p,
.feature-card p,
.outcome-grid p,
.use-case-grid p,
.price-card p,
.site-footer p,
.legal,
.before-after > span,
.pricing-note,
.small-note,
.faq-list p,
.steps p,
.roi-copy p,
.margin-bars span,
.contract-strip span,
.recommendation-card span,
.metric-grid span {
  color: var(--muted);
}

.hero-copy {
  color: #374151;
}

.eyebrow,
.feature-number,
.table-row:not(.table-head) > div:last-child,
.form-message,
.primary-nav a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--accent);
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: #374151;
  font-weight: 700;
}

.hero-points li {
  position: relative;
  padding-left: 24px;
}

.hero-points li::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.button {
  color: #FFFFFF;
  border-color: #4F46E5;
  background: linear-gradient(135deg, #4F46E5, #2563EB);
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.24);
}

.button:hover {
  background: linear-gradient(135deg, #4338CA, #1D4ED8);
}

.button-secondary {
  color: var(--ink);
  background: #FFFFFF;
  border-color: var(--line);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.button-secondary:hover {
  background: #F4F5F7;
}

.demo-link {
  color: var(--accent);
}

.demo-link span {
  background: #FFFFFF;
  border-color: #DBE2EF;
}

.demo-link span::before {
  border-left-color: var(--accent);
}

.trust-row span,
.trust-badges span,
.issue-grid span,
.security-grid span,
.feature-card,
.outcome-grid article,
.use-case-grid article,
.price-card,
.before-after,
.audit-lists article,
.faq-list details,
.comparison-table,
.audit-form,
.showcase-tabs,
.showcase-preview,
.pricing-table {
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.trust-row span,
.trust-badges span,
.issue-grid span,
.security-grid span,
.tag-list span,
.logo-row span {
  color: #374151;
}

.logo-band,
.platform-section,
.pricing-section,
.audit-section {
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--line);
}

.logo-row span {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.dashboard-visual {
  color: #F8FAFC;
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.55), rgba(37, 99, 235, 0.36), rgba(15, 23, 42, 0.92)),
    linear-gradient(135deg, #0F172A, #111827);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.console-topbar,
.spend-toggle,
.visual-grid,
.roi-calculator {
  background: rgba(15, 23, 42, 0.94);
}

.panel {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.78));
  border-color: rgba(51, 65, 85, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.panel-heading,
.panel-heading strong,
.chart-legend,
.console-topbar strong,
.metric-grid span {
  color: #94A3B8;
}

.primary-metric {
  color: #F8FAFC;
}

.metric-grid div,
.action-list li,
.user-trace,
.agent-workspace,
.workspace-bar,
.trace-footer,
.roi-output div {
  background: rgba(30, 41, 59, 0.78);
  border-color: rgba(51, 65, 85, 0.92);
  color: #E5E7EB;
}

.metric-grid strong,
.roi-output strong,
.roi-calculator label span,
.workspace-bar b,
.trace-line small,
.agent-actions strong {
  color: #F59E0B;
}

.spend-option {
  color: #CBD5E1;
  background: rgba(30, 41, 59, 0.82);
  border-color: rgba(51, 65, 85, 0.95);
}

.spend-option.is-active,
.spend-option:hover {
  color: #FFFFFF;
  background: linear-gradient(135deg, #4F46E5, #2563EB);
}

.savings-line,
.chart-point {
  stroke: #F59E0B;
}

.chart-point {
  fill: #0F172A;
}

.baseline-line {
  stroke: #38BDF8;
}

.legend-baseline {
  background: #38BDF8;
}

.legend-savings {
  background: #F59E0B;
}

.ready,
.complete {
  color: #92400E;
  background: #FEF3C7;
}

.evaluating {
  color: #1E40AF;
  background: #DBEAFE;
}

.approval {
  color: #B45309;
  background: #FFEDD5;
}

.question-grid article,
.agent-card,
.highlight-result,
.final-cta,
.table-head {
  color: #F8FAFC;
  background: linear-gradient(135deg, #0F172A, #1E293B);
  border: 1px solid rgba(51, 65, 85, 0.9);
}

.question-grid article {
  background: linear-gradient(135deg, #312E81, #1E40AF);
}

.platform-showcase {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.showcase-tabs {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
}

.showcase-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px;
  color: #374151;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.showcase-tab span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.showcase-tab.is-active,
.showcase-tab:hover {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: #C7D2FE;
}

.showcase-preview {
  min-height: 440px;
  overflow: hidden;
  border-radius: 8px;
}

.showcase-panel {
  display: none;
  height: 100%;
  padding: clamp(24px, 4vw, 42px);
}

.showcase-panel.is-active {
  display: grid;
  align-content: center;
  gap: 18px;
}

.showcase-panel h3 {
  max-width: 620px;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
}

.showcase-panel p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.05rem;
}

.provider-node,
.marquee-row span {
  color: #E5E7EB;
  background: rgba(30, 41, 59, 0.82);
  border-color: rgba(51, 65, 85, 0.92);
}

.provider-map strong {
  color: #FFFFFF;
  background: linear-gradient(135deg, #4F46E5, #2563EB);
  box-shadow: 0 16px 34px rgba(79, 70, 229, 0.28);
}

.tag-list span,
.compact-list,
.compare-row,
.compare-head,
.recommendation-card,
.contract-strip,
.mini-table div,
.agent-actions span {
  color: #374151;
  background: #F8F9FA;
  border-color: #E5E7EB;
}

.compare-row strong,
.compare-row b,
.contract-strip strong,
.price-card strong,
.before-after strong {
  color: var(--ink);
}

.compare-head span,
.badge-row span,
.recommendation-card strong {
  color: #D97706;
}

.badge-row span,
.agent-actions span {
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
}

.margin-bars i,
.utilization i {
  background: #E5E7EB;
}

.utilization em {
  background: #4F46E5;
}

.agent-card > div:first-child p,
.agent-card .eyebrow,
.final-cta .eyebrow,
.final-cta p,
.highlight-result > span,
.result-metrics span {
  color: #CBD5E1;
}

.agent-trace {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
}

.agent-trace small,
.agent-trace p {
  color: #111827;
}

.trace-footer button {
  color: #FFFFFF;
  background: #4F46E5;
}

.roi-section {
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.roi-calculator {
  color: #F8FAFC;
  border: 1px solid rgba(51, 65, 85, 0.9);
}

.pricing-table {
  overflow: hidden;
  border-radius: 8px;
}

.pricing-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1.7fr 0.9fr;
  border-top: 1px solid var(--line);
}

.pricing-row:first-child {
  border-top: 0;
}

.pricing-row > div {
  padding: 16px 18px;
}

.pricing-row > div + div {
  border-left: 1px solid var(--line);
}

.pricing-head {
  color: #FFFFFF;
  background: #111827;
  font-weight: 800;
}

.pricing-row b {
  color: #D97706;
  font-family: var(--mono);
}

.featured-row {
  background: #EEF2FF;
}

.pricing-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.audit-form input,
.audit-form select,
.nav-toggle {
  color: var(--ink);
  background: #FFFFFF;
  border-color: var(--line);
}

.nav-toggle span:not(.sr-only) {
  background: var(--ink);
}

.table-row,
.table-row > div + div {
  border-color: var(--line);
}

@media (max-width: 1080px) {
  .platform-showcase {
    grid-template-columns: 1fr;
  }

  .showcase-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .showcase-tabs,
  .pricing-row,
  .pricing-actions {
    grid-template-columns: 1fr;
  }

  .pricing-row > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .pricing-actions {
    display: grid;
  }
}

/* Final hero stabilization: keep this last. */
body {
  overflow-x: hidden;
}

.hero.section {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
  min-height: auto;
  padding-top: 76px;
  padding-bottom: 76px;
  overflow: visible;
}

.hero-content {
  max-width: 590px;
  min-width: 0;
}

.hero h1 {
  max-width: 590px;
  margin-bottom: 22px;
  font-size: clamp(3.6rem, 5.2vw, 5.2rem);
  line-height: 0.98;
}

.hero-copy,
.hero-points {
  max-width: 540px;
}

.dashboard-visual {
  width: min(100%, 720px);
  max-width: 720px;
  justify-self: end;
}

.dashboard-visual .visual-grid {
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  gap: 12px;
}

.dashboard-visual .primary-metric {
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(2.15rem, 3vw, 3.15rem);
  line-height: 1.04;
  white-space: nowrap;
}

.dashboard-visual .metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-visual .metric-grid div {
  min-width: 0;
  padding: 10px;
}

.dashboard-visual .metric-grid strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(0.84rem, 1.1vw, 1rem);
}

@media (max-width: 1180px) {
  .hero.section {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .hero h1,
  .hero-copy,
  .hero-points {
    max-width: 760px;
  }

  .dashboard-visual {
    width: 100%;
    max-width: 860px;
    justify-self: start;
  }
}

@media (max-width: 780px) {
  .hero.section {
    padding-top: 52px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

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

/* Final provider hub stabilization: keep this after the hero block. */
.dashboard-visual .provider-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  gap: 18px 16px;
  align-items: center;
  justify-items: center;
  min-height: 270px;
  padding: 22px 18px;
}

.dashboard-visual .provider-map strong,
.dashboard-visual .provider-node {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  transform: none;
  z-index: 1;
}

.dashboard-visual .provider-map strong {
  grid-column: 1 / -1;
  grid-row: 2;
  width: min(100%, 190px);
  height: 54px;
}

.dashboard-visual .provider-node {
  width: 100%;
  max-width: 132px;
  min-height: 42px;
  padding: 8px 12px;
}

.dashboard-visual .node-openai,
.dashboard-visual .node-anthropic {
  grid-row: 1;
}

.dashboard-visual .node-azure,
.dashboard-visual .node-aws {
  grid-row: 2;
}

.dashboard-visual .node-azure {
  justify-self: start;
}

.dashboard-visual .node-aws {
  justify-self: end;
}

.dashboard-visual .node-google,
.dashboard-visual .node-gpu {
  grid-row: 3;
}

@media (max-width: 780px) {
  .dashboard-visual .provider-map {
    min-height: 310px;
  }

  .dashboard-visual .provider-map strong {
    width: 180px;
  }
}

/* Final provider list override: keep this last. */
.dashboard-visual .provider-map,
.dashboard-visual .provider-node,
.dashboard-visual .marquee-row {
  display: none;
}

.dashboard-visual .provider-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  min-height: 360px;
  padding: 16px;
  background:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    rgba(15, 23, 42, 0.28);
  background-size: 32px 32px;
  border: 1px solid rgba(51, 65, 85, 0.92);
  border-radius: 10px;
}

.dashboard-visual .provider-stack span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  color: #E5E7EB;
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.dashboard-visual .provider-stack i {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

@media (min-width: 1181px) {
  .dashboard-visual .provider-stack {
    min-height: 390px;
  }
}

@media (max-width: 780px) {
  .dashboard-visual .provider-stack {
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-visual .provider-stack span {
    white-space: normal;
  }
}
