:root {
  --ink: #172026;
  --muted: #5d6b78;
  --line: #d9e2ea;
  --surface: #ffffff;
  --surface-soft: #f3f7f9;
  --blue: #1d4ed8;
  --cyan: #0e7490;
  --green: #047857;
  --amber: #b45309;
  --red: #b91c1c;
  --rose: #be123c;
  --shadow: 0 18px 55px rgba(23, 32, 38, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(14, 116, 144, 0.09), rgba(14, 116, 144, 0) 390px),
    var(--surface-soft);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(217, 226, 234, 0.86);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  min-width: 245px;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
}

.brand small {
  max-width: 230px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.nav button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  white-space: nowrap;
}

.nav button.active,
.nav button:hover {
  color: #ffffff;
  background: var(--cyan);
}

main {
  padding: 28px clamp(18px, 5vw, 64px) 60px;
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  min-height: 400px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
  background: #0f2732;
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
  color: #f8fafc;
}

.eyebrow {
  margin: 0 0 10px;
  color: #0e7490;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: #7dd3fc;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 7px;
  font-size: 1rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 690px;
  margin-bottom: 28px;
  color: #cbd5e1;
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero-actions,
.page-actions,
.alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.primary-action,
.secondary-action,
.text-action,
.text-danger,
.alert-actions button {
  min-height: 42px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-action {
  border: 1px solid var(--cyan);
  color: #ffffff;
  background: var(--cyan);
  padding: 0 18px;
}

.primary-action:hover {
  background: #155e75;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--ink);
  background: #ffffff;
  padding: 0 18px;
}

.hero-copy .secondary-action {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.text-action,
.text-danger {
  border: 0;
  background: transparent;
  padding: 0 4px;
}

.text-action {
  color: var(--cyan);
}

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

.full {
  width: 100%;
}

.signal-map {
  position: relative;
  min-height: 400px;
  background:
    linear-gradient(135deg, rgba(125, 211, 252, 0.15), rgba(167, 243, 208, 0.05)),
    radial-gradient(circle at 72% 28%, rgba(251, 191, 36, 0.23), transparent 28%),
    #143847;
}

.signal-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(236, 254, 255, 0.45);
  border-radius: 50%;
  color: #ecfeff;
  background: rgba(8, 47, 73, 0.84);
  box-shadow: 0 16px 40px rgba(8, 47, 73, 0.3);
  font-weight: 900;
}

.signal-node.payer {
  top: 44px;
  left: 42px;
}

.signal-node.hospital {
  top: 74px;
  right: 56px;
}

.signal-node.patient {
  bottom: 48px;
  left: 70px;
}

.signal-node.claim {
  top: 160px;
  left: 43%;
  color: #172026;
  background: #a7f3d0;
}

.signal-node.alert {
  right: 84px;
  bottom: 58px;
  background: #be123c;
}

.signal-line {
  position: absolute;
  height: 4px;
  border-radius: 999px;
  transform-origin: left center;
  background: rgba(236, 254, 255, 0.35);
}

.signal-line.l1 {
  top: 113px;
  left: 128px;
  width: 160px;
  transform: rotate(18deg);
}

.signal-line.l2 {
  top: 172px;
  right: 148px;
  width: 150px;
  transform: rotate(-22deg);
}

.signal-line.l3 {
  bottom: 130px;
  left: 148px;
  width: 145px;
  transform: rotate(-24deg);
}

.signal-line.l4 {
  right: 164px;
  bottom: 120px;
  width: 126px;
  transform: rotate(24deg);
  background: rgba(251, 191, 36, 0.75);
}

.metrics-grid,
.info-grid,
.dashboard-grid,
.benefit-grid {
  display: grid;
  gap: 16px;
}

.metrics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0 28px;
}

.metric-card,
.brief-panel,
.analytics-panel,
.form-panel,
.rules-panel,
.table-panel,
.benefit-band,
.journey-band,
.model-band,
.alert-card,
.rule-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.metric-card {
  padding: 18px;
}

.metric-card span,
.metric-card small {
  display: block;
  color: var(--muted);
}

.metric-card strong {
  display: block;
  margin: 8px 0 5px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 16px;
  margin-bottom: 16px;
}

.wide {
  grid-row: span 2;
}

.brief-panel,
.analytics-panel,
.form-panel,
.rules-panel,
.table-panel,
.benefit-band,
.journey-band,
.model-band {
  padding: clamp(18px, 2.8vw, 28px);
}

.section-heading.row,
.rule-top,
.alert-main,
.condition-head,
.risk-bar-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h2 {
  margin-bottom: 0;
}

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

.info-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfe;
}

.info-item strong,
.pipeline-step strong {
  display: block;
  margin-bottom: 7px;
}

.info-item p,
.pipeline-step p,
.brief-panel li,
.alert-card p,
.rule-item p,
.page-header p {
  color: var(--muted);
  line-height: 1.55;
}

.clean-list {
  display: grid;
  gap: 12px;
  padding-left: 18px;
  margin: 0;
}

.pipeline {
  display: grid;
  gap: 12px;
}

.pipeline-step {
  display: flex;
  gap: 13px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pipeline-step span {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--cyan);
  font-weight: 900;
}

.journey-band,
.model-band {
  margin-top: 16px;
}

.journey-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.journey-step {
  position: relative;
  min-height: 238px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfe;
}

.journey-step span {
  display: inline-grid;
  min-width: 42px;
  height: 30px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.journey-step strong,
.model-card strong {
  display: block;
  margin-bottom: 8px;
}

.journey-step p,
.model-card p,
.model-band .section-heading p,
.decision-card p {
  color: var(--muted);
  line-height: 1.55;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.decision-card {
  padding: 16px;
  border-radius: 8px;
}

.decision-card.pass {
  border: 1px solid #86efac;
  background: #f0fdf4;
}

.decision-card.review {
  border: 1px solid #fda4af;
  background: #fff1f2;
}

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

.model-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfe;
}

.model-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.dashboard-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
}

.risk-bars {
  display: grid;
  gap: 15px;
}

.risk-bar strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.risk-bar small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.bar-track {
  height: 10px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--amber), var(--rose));
}

.alert-stack {
  display: grid;
  gap: 14px;
}

.alert-stack.compact {
  gap: 12px;
}

.alert-card {
  padding: 18px;
}

.compact-card {
  padding: 14px;
}

.alert-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.severity,
.pill,
.status-pill,
.reason-row span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: capitalize;
}

.severity.low {
  color: #155e75;
  background: #cffafe;
}

.severity.medium {
  color: #92400e;
  background: #fef3c7;
}

.severity.high {
  color: #9f1239;
  background: #ffe4e6;
}

.severity.critical {
  color: #ffffff;
  background: #be123c;
}

.pill {
  color: #155e75;
  background: #cffafe;
}

.status-pill {
  color: #1f2937;
  background: #e5e7eb;
}

.status-pill.investigating {
  color: #92400e;
  background: #fef3c7;
}

.status-pill.resolved {
  color: #065f46;
  background: #d1fae5;
}

.status-pill.false_positive {
  color: #475569;
  background: #e2e8f0;
}

.amount-block {
  min-width: 185px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  text-align: right;
}

.amount-block span,
.amount-block small {
  display: block;
  color: var(--muted);
}

.amount-block strong {
  display: block;
  margin: 4px 0;
}

.reason-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.reason-row span {
  color: #155e75;
  background: #ecfeff;
}

.tag-row span {
  color: #475569;
  background: #f1f5f9;
}

.recommendation {
  margin: 14px 0 0;
  padding: 12px;
  border-left: 4px solid var(--cyan);
  background: #f0fdfa;
}

.alert-actions {
  margin-top: 14px;
}

.alert-actions button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #ffffff;
  padding: 0 12px;
}

.benefit-band {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 24px;
  margin-top: 16px;
}

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

.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.page-header h1 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.page-header p {
  max-width: 760px;
  margin-bottom: 0;
}

.rule-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: start;
}

.rule-form,
.rules-list {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  padding: 10px 12px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(14, 116, 144, 0.18);
  border-color: var(--cyan);
}

.form-row,
.condition-row,
.filter-bar {
  display: grid;
  gap: 12px;
}

.form-row {
  grid-template-columns: 0.8fr 1.2fr;
}

.condition-builder {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.condition-row {
  grid-template-columns: minmax(150px, 1fr) minmax(130px, 0.8fr) minmax(110px, 0.7fr) 38px;
  align-items: end;
  margin-top: 12px;
}

.icon-action {
  width: 38px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--red);
  background: #ffffff;
  font-weight: 900;
}

.rule-item {
  padding: 16px;
}

.rule-item.inactive {
  opacity: 0.62;
}

.switch {
  display: inline-flex;
  align-items: center;
  width: 48px;
}

.switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.switch span {
  position: relative;
  display: block;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #cbd5e1;
}

.switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.18s ease;
}

.switch input:checked + span {
  background: var(--cyan);
}

.switch input:checked + span::after {
  transform: translateX(20px);
}

.filter-bar {
  grid-template-columns: minmax(150px, 0.3fr) minmax(170px, 0.3fr) minmax(240px, 1fr);
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.table-panel {
  padding: 0;
  overflow: hidden;
}

.responsive-table {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  background: #f8fafc;
  font-size: 0.78rem;
  text-transform: uppercase;
}

td span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

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

.empty-state {
  display: grid;
  min-height: 120px;
  place-items: center;
  padding: 20px;
  border: 1px dashed #b6c5d1;
  border-radius: 8px;
  color: var(--muted);
  background: #f8fafc;
  text-align: center;
}

@media (max-width: 1040px) {
  .topbar,
  .page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .hero-band,
  .content-grid,
  .journey-flow,
  .dashboard-grid,
  .benefit-band,
  .rule-layout,
  .model-grid,
  .model-process {
    grid-template-columns: 1fr;
  }

  .signal-map {
    min-height: 320px;
  }

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

@media (max-width: 700px) {
  main {
    padding-inline: 14px;
  }

  .topbar {
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    max-width: 210px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .metrics-grid,
  .info-grid,
  .benefit-grid,
  .decision-grid,
  .journey-flow,
  .form-row,
  .condition-row,
  .filter-bar,
  .alert-main {
    grid-template-columns: 1fr;
  }

  .alert-main {
    display: grid;
  }

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

  .signal-node {
    width: 76px;
    height: 76px;
    font-size: 0.83rem;
  }
}

/* Clean editorial redesign inspired by the Blue Forest reference. */
:root {
  --ink: #1f2933;
  --muted: #647386;
  --line: #dce5ea;
  --surface: #ffffff;
  --surface-soft: #f8f7f2;
  --navy: #071a26;
  --blue-deep: #123a5b;
  --cyan: #10a8d4;
  --teal: #13b8a6;
  --green: #0f9f76;
  --amber: #b88710;
  --red: #b91c1c;
  --rose: #be123c;
  --shadow: 0 24px 70px rgba(7, 26, 38, 0.1);
}

body {
  background: var(--surface-soft);
}

.topbar {
  min-height: 88px;
  padding: 16px clamp(18px, 10vw, 144px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 26, 38, 0.96);
  box-shadow: 0 18px 42px rgba(7, 26, 38, 0.18);
}

.brand {
  min-width: 0;
  width: fit-content;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand small {
  max-width: 240px;
  color: rgba(226, 232, 240, 0.72);
}

.nav {
  border: 0;
  background: transparent;
}

.nav button {
  min-height: 40px;
  color: rgba(226, 232, 240, 0.78);
  background: transparent;
}

.nav button.active,
.nav button:hover {
  color: #ffffff;
  background: rgba(16, 168, 212, 0.18);
}

main {
  padding: 0 clamp(18px, 5vw, 64px) 72px;
}

.hero-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: min(680px, calc(100vh - 140px));
  margin: 0 calc(-1 * clamp(18px, 5vw, 64px)) 82px;
  overflow: hidden;
  place-items: center;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(7, 26, 38, 0.98), rgba(18, 58, 91, 0.97) 62%, rgba(22, 92, 128, 0.95)),
    #071a26;
  box-shadow: none;
  color: #f8fafc;
  text-align: center;
}

.hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, transparent 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, transparent, #000 24%, #000 72%, transparent);
  opacity: 0.35;
}

.hero-band::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -72px;
  left: -8%;
  height: 150px;
  border-radius: 50% 50% 0 0;
  background: var(--surface-soft);
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-items: center;
  justify-self: center;
  width: min(1120px, calc(100% - 36px));
  padding: 56px 0 92px;
  text-align: center;
}

.hero-lockup,
.status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}

.hero-lockup {
  gap: 10px;
  margin-bottom: 52px;
  padding: 8px 18px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 900;
}

.hero-lockup img {
  width: 42px;
  height: 42px;
}

.status-badge {
  gap: 9px;
  margin: 0 0 28px;
  padding: 10px 20px;
  border: 1px solid rgba(16, 168, 212, 0.45);
  color: #58d7ff;
  background: rgba(16, 168, 212, 0.11);
  font-weight: 800;
}

.status-badge span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.hero-band h1 {
  margin-bottom: 8px;
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 0.86;
}

.hero-subtitle {
  max-width: 900px;
  margin-bottom: 16px;
  margin-inline: auto;
  color: #20c8dd;
  font-size: clamp(1.75rem, 3.6vw, 3.35rem);
  font-weight: 900;
  line-height: 1.02;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgba(226, 232, 240, 0.78);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-actions {
  justify-content: center;
  margin-bottom: 44px;
}

.primary-action {
  border-color: transparent;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
  box-shadow: 0 14px 28px rgba(16, 168, 212, 0.2);
}

.primary-action:hover {
  background: linear-gradient(90deg, #0c94bd, #0fa391);
}

.secondary-action {
  border-color: var(--line);
  background: #ffffff;
}

.hero-copy .secondary-action {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-kpis {
  display: grid;
  width: min(860px, 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero-band .metric-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.075);
  text-align: left;
}

.hero-band .metric-card span,
.hero-band .metric-card small {
  color: rgba(226, 232, 240, 0.72);
}

.hero-band .metric-card strong {
  color: #ffffff;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.section-block,
.home-dashboard {
  max-width: 1160px;
  margin: 0 auto 82px;
}

.section-heading.centered {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.centered p,
.section-block > div > p {
  color: var(--muted);
}

.section-number {
  display: inline-grid;
  min-width: 54px;
  height: 34px;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(16, 168, 212, 0.32);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(16, 168, 212, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

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

.landscape-item,
.model-card,
.journey-step,
.info-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.landscape-item {
  min-height: 126px;
  padding: 22px;
}

.landscape-item strong,
.model-card strong,
.journey-step strong,
.info-item strong {
  display: block;
  margin-bottom: 8px;
}

.landscape-item p,
.model-card p,
.journey-step p,
.info-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.method-band {
  max-width: none;
  margin-right: calc(-1 * clamp(18px, 5vw, 64px));
  margin-left: calc(-1 * clamp(18px, 5vw, 64px));
  padding: 86px clamp(18px, 5vw, 64px);
  background: linear-gradient(135deg, #071a26, #123a5b);
  color: #f8fafc;
}

.method-band .section-heading.centered p {
  color: rgba(226, 232, 240, 0.66);
}

.method-grid,
.model-process {
  display: grid;
  max-width: 980px;
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.method-band .pipeline-step {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.method-band .pipeline-step p {
  color: rgba(226, 232, 240, 0.68);
}

.pipeline-step {
  min-height: 136px;
  flex-direction: column;
}

.pipeline-step span {
  color: #ffffff;
  background: var(--cyan);
}

.journey-band,
.model-band {
  border: 0;
  background: transparent;
  padding: 0;
}

.journey-flow {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
}

.journey-step {
  min-height: 172px;
  padding: 18px;
}

.journey-step span {
  min-width: 40px;
  height: 30px;
  background: var(--navy);
}

.decision-grid {
  max-width: 760px;
  margin: 16px auto 0;
}

.decision-card.pass,
.decision-card.review {
  border-radius: 8px;
  background: #ffffff;
}

.decision-card.pass {
  border: 1px solid rgba(19, 184, 166, 0.36);
}

.decision-card.review {
  border: 1px solid rgba(190, 18, 60, 0.22);
}

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

.model-card {
  min-height: 142px;
  padding: 22px;
}

.model-process {
  margin-top: 14px;
}

.home-dashboard {
  align-items: start;
}

.analytics-panel,
.alert-card,
.rule-item,
.form-panel,
.rules-panel,
.table-panel {
  box-shadow: none;
}

.analytics-panel {
  padding: 26px;
}

.benefit-band {
  grid-template-columns: 0.8fr 1.2fr;
  padding-top: 14px;
}

.benefit-band,
.benefit-band .info-item {
  border: 0;
  background: transparent;
}

.benefit-grid {
  gap: 14px;
}

.benefit-band .info-item {
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 1040px) {
  .topbar {
    padding-inline: 18px;
  }

  .hero-kpis,
  .landscape-grid,
  .method-grid,
  .model-grid,
  .model-process,
  .journey-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  main {
    padding-inline: 14px;
  }

  .hero-band {
    min-height: auto;
    margin-inline: -14px;
    margin-bottom: 58px;
  }

  .hero-copy {
    padding: 42px 18px 82px;
  }

  .hero-lockup {
    margin-bottom: 34px;
  }

  .hero-band h1 {
    font-size: clamp(4.2rem, 24vw, 6.4rem);
  }

  .hero-subtitle {
    font-size: 2rem;
  }

  .hero-kpis,
  .landscape-grid,
  .method-grid,
  .model-grid,
  .model-process,
  .journey-flow,
  .decision-grid {
    grid-template-columns: 1fr;
  }

  .section-block,
  .home-dashboard {
    margin-bottom: 56px;
  }

  .method-band {
    margin-inline: -14px;
    padding: 64px 14px;
  }
}
