:root {
  --ink: #15161a;
  --muted: #4a505a;
  --paper: #f4f0e6;
  --panel: #fffaf0;
  --white: #ffffff;
  --line: rgba(21, 22, 26, 0.14);
  --electric: #116fe8;
  --green: #4e7d64;
  --copper: #c7663d;
  --amber: #d7a43a;
  --plum: #6b5876;
  --shadow: 0 28px 80px rgba(21, 22, 26, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::selection {
  background: var(--electric);
  color: var(--white);
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 16px;
}

.enterprise-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(21, 22, 26, 0.7);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.panel-topline,
.portfolio-grid,
.live-metrics,
.logo-row,
.enterprise-actions,
.enterprise-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav-links {
  gap: 22px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.91rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.header-action,
.button,
.enterprise-actions button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
}

.header-action {
  padding: 9px 13px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.9rem;
}

.enterprise-hero {
  position: relative;
  min-height: 92vh;
  padding: 126px 0 58px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(21, 22, 26, 0.96), rgba(21, 22, 26, 0.7) 54%, rgba(21, 22, 26, 0.9)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 76px),
    linear-gradient(135deg, #11161f 0%, #243348 46%, #173a38 100%);
}

.hero-overlay {
  background:
    linear-gradient(120deg, rgba(17, 111, 232, 0.28), transparent 34%),
    linear-gradient(300deg, rgba(199, 102, 61, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(21, 22, 26, 0.08), rgba(21, 22, 26, 0.96));
}

.hero-overlay::before,
.hero-overlay::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.hero-overlay::before {
  right: 8%;
  top: 20%;
  width: 34%;
  height: 46%;
}

.hero-overlay::after {
  right: 18%;
  bottom: 12%;
  width: 28%;
  height: 18%;
}

.hero-wrap,
.section-wrap {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-wrap {
  min-height: calc(92vh - 184px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.78fr);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.enterprise-hero .eyebrow {
  color: #f2c85c;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: 5.05rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 760px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.19rem;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--electric);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(17, 111, 232, 0.34);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.button.primary:active,
.button.secondary:active {
  transform: translateY(0);
}

.executive-panel,
.platform-card,
.enterprise-board,
.approval-panel,
.artifact-panel,
.audit-panel,
.control-stack article,
.rollout-steps,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.94);
  box-shadow: var(--shadow);
}

.executive-panel {
  color: var(--ink);
  padding: 18px;
}

.panel-topline {
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.panel-topline strong {
  color: var(--green);
}

.risk-band {
  padding: 18px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.risk-band span,
.label {
  display: block;
  margin-bottom: 8px;
  color: #9ec9aa;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.risk-band strong {
  display: block;
  font-size: 3.5rem;
  line-height: 0.95;
}

.risk-band small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 750;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.portfolio-grid div,
.live-metrics div,
.ops-map span,
.metric-strip div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.portfolio-grid div {
  padding: 12px;
}

.portfolio-grid span,
.metric-strip span,
.panel-title span,
.card-index,
.rollout-steps span,
.enterprise-footer,
.logo-row span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.portfolio-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 1.38rem;
}

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

.ops-map span {
  padding: 12px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
}

.ops-map span:nth-child(2n) {
  border-color: rgba(17, 111, 232, 0.28);
  background: rgba(17, 111, 232, 0.08);
}

.logos {
  padding: 22px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.logo-row {
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.logo-row strong {
  color: var(--white);
  font-size: 0.95rem;
}

.live-traffic {
  background: var(--panel);
}

.live-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1fr);
  gap: 30px;
  align-items: end;
}

.live-row h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 2.45rem;
}

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

.live-metrics div {
  padding: 14px;
}

.live-metrics span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.live-metrics strong {
  display: block;
  margin-top: 6px;
  font-size: 1.78rem;
  line-height: 1;
}

main > section:not(.enterprise-hero, .logos) {
  padding: 94px 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 3.15rem;
  line-height: 1.03;
  letter-spacing: 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 36px;
}

.section-heading p,
.governance p,
.rollout p,
.enterprise-cta p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading.compact {
  max-width: 720px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.platform-card {
  min-height: 280px;
  padding: 22px;
  background: var(--white);
  box-shadow: none;
}

.platform-card:nth-child(1) {
  border-top: 4px solid var(--electric);
}

.platform-card:nth-child(2) {
  border-top: 4px solid var(--green);
}

.platform-card:nth-child(3) {
  border-top: 4px solid var(--copper);
}

.platform-card:nth-child(4) {
  border-top: 4px solid var(--plum);
}

.card-index {
  display: inline-block;
  margin-bottom: 24px;
}

.platform-card h3 {
  margin-bottom: 10px;
  font-size: 1.26rem;
  line-height: 1.16;
}

.platform-card p,
.rollout-steps li {
  color: var(--muted);
}

.command-center,
.governance {
  background: var(--panel);
}

.enterprise-demo {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 16px;
}

.function-tabs {
  display: grid;
  align-content: start;
  gap: 10px;
}

.function-tab {
  min-height: 54px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
  padding: 0 14px;
}

.function-tab.active {
  background: var(--ink);
  color: var(--white);
}

.enterprise-board {
  padding: 18px;
  background: var(--paper);
  box-shadow: none;
}

.board-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.board-header h3 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 1.72rem;
  line-height: 1.1;
}

.board-header > span {
  min-width: max-content;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(17, 111, 232, 0.12);
  color: #0a58b6;
  font-size: 0.82rem;
  font-weight: 900;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.metric-strip div {
  padding: 14px;
}

.metric-strip strong {
  display: block;
  margin-top: 5px;
  font-size: 1.82rem;
  line-height: 1;
}

.board-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 14px;
}

.approval-panel,
.artifact-panel,
.audit-panel {
  padding: 16px;
  background: var(--white);
  box-shadow: none;
}

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

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

.panel-title h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.enterprise-task-list,
.audit-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.enterprise-task-list li,
.audit-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
}

.enterprise-task-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  font-size: 0.93rem;
}

.enterprise-task-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.artifact-box {
  min-height: 188px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(78, 125, 100, 0.15), rgba(107, 88, 118, 0.12)),
    var(--white);
}

.artifact-box p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.08rem;
}

.enterprise-actions {
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.enterprise-actions button {
  min-height: 38px;
  padding: 0 12px;
  background: var(--ink);
  color: var(--white);
}

.enterprise-actions button:nth-child(2) {
  background: var(--electric);
}

.enterprise-actions button:nth-child(3) {
  background: var(--copper);
}

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

.audit-list li {
  padding: 12px;
  font-size: 0.88rem;
}

.audit-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.governance-grid,
.rollout-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 56px;
  align-items: start;
}

.control-stack {
  display: grid;
  gap: 12px;
}

.control-stack article {
  padding: 20px;
  background: var(--white);
  box-shadow: none;
}

.control-stack span {
  display: block;
  margin-bottom: 8px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.control-stack strong {
  font-size: 1.18rem;
  line-height: 1.22;
}

.rollout-steps {
  display: grid;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  box-shadow: none;
  list-style: none;
}

.rollout-steps li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.rollout-steps li:last-child {
  border-bottom: 0;
}

.rollout-steps strong {
  display: block;
  color: var(--ink);
}

.enterprise-cta {
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(21, 22, 26, 0.96), rgba(78, 125, 100, 0.74)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 92px),
    linear-gradient(135deg, #15161a, #253242 55%, #193834);
}

.cta-panel {
  display: grid;
  max-width: 1020px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 30px;
  align-items: start;
  padding: 42px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(21, 22, 26, 0.76);
  color: var(--white);
  box-shadow: none;
}

.cta-panel p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.82);
}

.pilot-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pilot-points span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 850;
}

.pilot-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.1);
}

.pilot-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 850;
}

.pilot-form input,
.pilot-form select,
.pilot-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
}

.pilot-form input,
.pilot-form select {
  min-height: 44px;
  padding: 0 12px;
}

.pilot-form textarea {
  resize: vertical;
  min-height: 96px;
  padding: 10px 12px;
}

.pilot-form .button {
  width: 100%;
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.enterprise-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 26px max(16px, calc((100% - 1180px) / 2));
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .hero-wrap,
  .enterprise-demo,
  .governance-grid,
  .rollout-grid,
  .live-row,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.55rem;
  }

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

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

@media (max-width: 720px) {
  .enterprise-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand {
    font-size: 0.9rem;
  }

  .header-action {
    padding: 8px 9px;
    font-size: 0.82rem;
  }

  .enterprise-hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero-wrap,
  .section-wrap {
    width: min(100% - 22px, 1180px);
  }

  h1 {
    font-size: 2.95rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.08rem;
  }

  .hero-lede {
    font-size: 1rem;
  }

  main > section:not(.enterprise-hero, .logos) {
    padding: 68px 0;
  }

  .portfolio-grid,
  .live-metrics,
  .ops-map,
  .platform-grid,
  .function-tabs,
  .metric-strip,
  .board-grid,
  .audit-list {
    grid-template-columns: 1fr;
  }

  .board-header {
    flex-direction: column;
  }

  .board-header > span {
    min-width: 0;
  }

  .rollout-steps li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .cta-panel {
    padding: 26px;
  }

  .enterprise-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
