/* ==========================================================
   XZLENZ — RISK MANAGEMENT
   Page-specific CSS only.
   Shared navbar, closing CTA, footer and modal remain in styles.css.
   ========================================================== */

:root {
  --rm-ink: #071b45;
  --rm-ink-2: #0b2d5d;
  --rm-muted: #687c9c;
  --rm-blue: #2178ff;
  --rm-blue-2: #2b91ff;
  --rm-cyan: #19c8f4;
  --rm-purple: #7658ff;
  --rm-green: #20c592;
  --rm-red: #ff5965;
  --rm-orange: #ffae42;
  --rm-border: #dbe7f5;
  --rm-soft: #f7fbff;
  --rm-soft-blue: #f2f7ff;
  --rm-shadow: 0 18px 55px rgba(18, 56, 105, 0.08);
  --rm-radius: 22px;
}

.rm-page {
  overflow-x: hidden;
  background: #fff;
  color: var(--rm-ink);
  font-family: "Poppins", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rm-page *,
.rm-page *::before,
.rm-page *::after {
  box-sizing: border-box;
}

.rm-page button,
.rm-page input,
.rm-page select,
.rm-page textarea {
  font: inherit;
}

.rm-container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.rm-narrow {
  width: min(870px, calc(100% - 48px));
  margin-inline: auto;
}

.rm-center {
  text-align: center;
}

.rm-section {
  position: relative;
  padding: 88px 0;
}

.rm-kicker {
  display: inline-block;
  color: #3d7cff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.rm-kicker-light {
  color: #55d4ff;
}

.rm-kicker-blue {
  color: #3a79ff;
}

.rm-section-head {
  max-width: 850px;
  margin: 0 auto 42px;
  text-align: center;
}

.rm-section-head h2,
.rm-narrow h2 {
  margin: 10px 0 13px;
  color: var(--rm-ink);
  font-size: clamp(32px, 3.3vw, 48px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.rm-section-head p,
.rm-narrow p {
  margin: 0 auto;
  color: var(--rm-muted);
  font-size: 16px;
  line-height: 1.72;
}

/* ==========================================================
   HERO
   ========================================================== */

.rm-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 76% 34%, rgba(31, 126, 255, .16), transparent 31%),
    radial-gradient(circle at 11% 82%, rgba(0, 211, 255, .07), transparent 26%),
    linear-gradient(118deg, #03142d 0%, #062650 55%, #031932 100%);
}

.rm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .5;
  background:
    linear-gradient(165deg, transparent 0 54%, rgba(57, 133, 255, .10) 54.2% 54.45%, transparent 54.7%),
    linear-gradient(173deg, transparent 0 68%, rgba(57, 133, 255, .09) 68.2% 68.45%, transparent 68.7%);
}

.rm-hero::after {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  right: -290px;
  top: -330px;
  border: 1px solid rgba(71, 151, 255, .15);
  border-radius: 50%;
  z-index: -2;
}

.rm-hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(85px);
  opacity: .18;
  pointer-events: none;
  z-index: -1;
}

.rm-hero-orb-one {
  width: 420px;
  height: 290px;
  right: 27%;
  bottom: -150px;
  background: #00baf4;
}

.rm-hero-orb-two {
  width: 330px;
  height: 260px;
  right: -70px;
  top: 110px;
  background: #6d59ff;
}

.rm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 56px;
  align-items: center;
  padding: 40px 0 70px;
}

.rm-hero-copy {
  max-width: 520px;
}

.rm-kicker-row {
  display: flex;
  align-items: center;
  gap: 11px;
}

.rm-kicker-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #22c99a;
  box-shadow: 0 0 0 8px rgba(34, 201, 154, .10);
}

.rm-kicker-line {
  width: 54px;
  height: 1px;
  margin-left: 8px;
  background: linear-gradient(90deg, #32c7f8, transparent);
}

.rm-hero-copy h1 {
  margin: 20px 0 22px;
  color: #fff;
  font-size: clamp(48px, 4vw, 84px);
  line-height: .93;
  letter-spacing: -.055em;
}

.rm-hero-copy h1 span {
  display: block;
  margin-top: 7px;
  color: transparent;
  background: linear-gradient(92deg, #28d0f8 0%, #278cff 43%, #7558ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.rm-hero-copy > p {
  max-width: 560px;
  margin: 0 0 31px;
  color: #d0ddf0;
  font-size: 16px;
  line-height: 1.72;
}

.rm-hero-cta {
  gap: 14px;
}

.rm-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 27px;
  color: #bcd0ea;
  font-size: 13px;
  font-weight: 650;
}

.rm-hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rm-hero-proof i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(95, 195, 255, .38);
  border-radius: 50%;
  color: #58d2ff;
}

.rm-hero-proof svg,
.rm-risk-window svg,
.rm-floating svg,
.rm-track svg,
.rm-cap-card svg,
.rm-connect-panel svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* PRODUCT UI */

.rm-hero-product {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 14px 22px 25px 0;
}

.rm-product-glow {
  position: absolute;
  inset: 16% 6% 2% 12%;
  filter: blur(45px);
  background: radial-gradient(circle, rgba(52, 138, 255, .27), transparent 66%);
  pointer-events: none;
}

.rm-risk-window {
  position: relative;
  width: min(100%, 700px);
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(127, 191, 255, .72);
  border-radius: 23px;
  background: #f8fbff;
  box-shadow: 0 30px 80px rgba(0, 11, 36, .28);
}

.rm-risk-topbar {
  height: 58px;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  color: white;
  background: #092653;
}

.rm-risk-logo {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .13em;
}

.rm-risk-search {
  min-width: 0;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid rgba(123, 177, 244, .14);
  border-radius: 9px;
  color: #9eb9da;
  background: #103365;
  font-size: 10.5px;
  white-space: nowrap;
}

.rm-risk-search svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.rm-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #7deabf;
  font-size: 9px;
  font-weight: 700;
}

.rm-live-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #20c592;
}

.rm-risk-body {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  min-height: 405px;
}

.rm-risk-sidebar {
  padding: 19px 11px;
  color: #a7c0df;
  background: #082653;
}

.rm-sidebar-label {
  display: block;
  margin: 0 10px 10px;
  color: #7ca7da;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .15em;
}

.rm-side-item {
  min-height: 37px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 650;
}

.rm-side-item svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.rm-side-item.is-active {
  color: #fff;
  background: linear-gradient(90deg, #1577ee, #2791ff);
}

.rm-risk-main {
  min-width: 0;
  padding: 21px;
  color: var(--rm-ink);
  background:
    radial-gradient(circle at 96% 0, rgba(55, 145, 255, .07), transparent 26%),
    #f8fbff;
}

.rm-risk-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.rm-risk-heading > div > span {
  color: #7a8da9;
  font-size: 9px;
  font-weight: 700;
}

.rm-risk-heading h2 {
  margin: 2px 0 0;
  color: var(--rm-ink);
  font-size: 20px;
  letter-spacing: -.025em;
}

.rm-risk-heading button {
  padding: 8px 10px;
  border: 1px solid #d9e5f3;
  border-radius: 9px;
  color: #637996;
  background: #fff;
  font-size: 10px;
  pointer-events: none;
}

.rm-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.rm-stat-row article {
  min-width: 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 12px;
  border: 1px solid #dce7f4;
  border-radius: 14px;
  background: #fff;
}

.rm-stat-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
}

.rm-stat-icon svg {
  width: 17px;
  height: 17px;
}

.rm-stat-icon-blue {
  color: #287cff;
  background: #ecf3ff;
}

.rm-stat-icon-purple {
  color: #7358ff;
  background: #f1edff;
}

.rm-stat-icon-red {
  color: #ff5965;
  background: #fff0f1;
}

.rm-stat-row small,
.rm-stat-row strong,
.rm-stat-row em {
  display: block;
}

.rm-stat-row small {
  color: #758aa7;
  font-size: 8px;
}

.rm-stat-row strong {
  margin: 2px 0;
  color: var(--rm-ink);
  font-size: 20px;
  line-height: 1;
}

.rm-stat-row em {
  color: #19ad79;
  font-size: 7px;
  font-style: normal;
}

.rm-ui-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 9px;
  margin-top: 9px;
}

.rm-ui-card {
  min-width: 0;
  height: 205px;
  padding: 14px;
  border: 1px solid #dce7f4;
  border-radius: 15px;
  background: #fff;
}

.rm-ui-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.rm-ui-head strong {
  display: block;
  font-size: 10px;
}

.rm-ui-head small {
  display: block;
  margin-top: 2px;
  color: #8b9cb3;
  font-size: 7.5px;
}

.rm-ui-head > span {
  align-self: start;
  padding: 4px 6px;
  border-radius: 6px;
  color: #417cff;
  background: #eef4ff;
  font-size: 7px;
  font-weight: 800;
}

.rm-heatmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  width: 210px;
  max-width: 100%;
  height: 112px;
  margin: 17px auto 0;
}

.rm-heatmap > div {
  border-radius: 3px;
}

.rm-heatmap .c1 { background: #daf3e7; }
.rm-heatmap .c2 { background: #e8efc4; }
.rm-heatmap .c3 { background: #ffe39a; }
.rm-heatmap .c4 { background: #ffc180; }
.rm-heatmap .c5 { background: #ff8885; }

.rm-heatmap .dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #247dff;
  box-shadow: 0 1px 7px rgba(34, 117, 255, .35);
}

.rm-heatmap .d1 { left: 27%; bottom: 24%; }
.rm-heatmap .d2 { left: 63%; top: 40%; background: #ff5a67; }
.rm-heatmap .d3 { right: 8%; top: 10%; background: #ff5a67; }

.rm-axis {
  display: flex;
  justify-content: space-between;
  color: #8e9db2;
  font-size: 7px;
}

.rm-top-risks {
  display: flex;
  flex-direction: column;
}

.rm-risk-item {
  min-height: 35px;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid #edf2f8;
}

.rm-risk-item:last-child {
  border-bottom: 0;
}

.rm-risk-item > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #3f7bff;
  background: #eef4ff;
}

.rm-risk-item > span svg {
  width: 13px;
  height: 13px;
}

.rm-risk-item b,
.rm-risk-item small {
  display: block;
}

.rm-risk-item b {
  color: var(--rm-ink);
  font-size: 8px;
}

.rm-risk-item small {
  margin-top: 1px;
  color: #8b9cb3;
  font-size: 6.7px;
}

.rm-risk-item em {
  padding: 3px 6px;
  border-radius: 999px;
  color: #c88918;
  background: #fff6e4;
  font-size: 6px;
  font-style: normal;
  font-weight: 800;
}

.rm-risk-item em.high {
  color: #ff4f5b;
  background: #fff0f1;
}

.rm-floating {
  position: absolute;
  z-index: 4;
  min-width: 146px;
  min-height: 67px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 17px;
  color: var(--rm-ink);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 18px 38px rgba(0, 13, 42, .22);
}

.rm-floating > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #7258ff;
  background: #f1edff;
}

.rm-floating > span svg {
  width: 18px;
  height: 18px;
}

.rm-floating small,
.rm-floating b {
  display: block;
}

.rm-floating small {
  color: #7d90aa;
  font-size: 8px;
}

.rm-floating b {
  margin-top: 2px;
  font-size: 16px;
}

.rm-floating-vendors {
  top: 2px;
  right: 0;
}

.rm-floating-residual {
  left: -10px;
  bottom: -8px;
}

.rm-floating-residual > span {
  color: #1786ff;
  background: #edf5ff;
}

/* ==========================================================
   PROBLEM
   ========================================================== */

.rm-problem {
  position: relative;
  padding-top: 76px;
  padding-bottom: 96px;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #ffffff 48%,
      #fbfdff 70%,
      #f8fbff 84%,
      #f5f9ff 100%
    );
}

.rm-problem .rm-narrow {
  max-width: 880px;
}

/* ==========================================================
   WORKFLOW
   ========================================================== */

.rm-workflow {
  position: relative;
  margin-top: -1px;
  padding-top: 80px;
  background:
    radial-gradient(circle at 50% 4%, rgba(36, 124, 255, .065), transparent 34%),
    linear-gradient(
      180deg,
      #f5f9ff 0%,
      #f4f8ff 34%,
      #f5f9ff 70%,
      #f8fbff 100%
    );
}

.rm-track-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(1040px, 100%);
  margin: 0 auto;
}

.rm-track {
  min-height: 410px;
  padding: 28px 30px;
  border-radius: 22px;
}

.rm-track-dark {
  color: #fff;
  border: 1px solid rgba(62, 150, 255, .38);
  background:
    radial-gradient(circle at 7% 10%, rgba(49, 147, 255, .16), transparent 30%),
    linear-gradient(145deg, #062953, #0d478d);
  box-shadow: 0 22px 48px rgba(9, 57, 113, .16);
}

.rm-track-light {
  color: var(--rm-ink);
  border: 1px solid #d9e5f4;
  background: #fff;
  box-shadow: var(--rm-shadow);
}

.rm-track-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
}

.rm-track-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  color: #5ad3ff;
  background: rgba(37, 132, 255, .16);
}

.rm-track-light .rm-track-icon {
  color: #2879ff;
  background: #eef4ff;
}

.rm-track-icon svg {
  width: 21px;
  height: 21px;
}

.rm-track-header small {
  display: block;
  margin-bottom: 3px;
  color: #63d6ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rm-track-light .rm-track-header small {
  color: #477eff;
}

.rm-track-header h3 {
  margin: 0;
  font-size: 20px;
}

.rm-steps {
  position: relative;
  display: grid;
  gap: 25px;
}

.rm-steps::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: rgba(80, 176, 255, .38);
}

.rm-track-light .rm-steps::before {
  background: #d8e5f7;
}

.rm-step {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
}

.rm-step > span {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(126, 211, 255, .75);
  border-radius: 50%;
  color: #fff;
  background: #1582f1;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 0 0 5px rgba(20, 130, 241, .08);
}

.rm-track-light .rm-step > span {
  color: #3f64e7;
  border-color: #cbd7ff;
  background: #eef2ff;
  box-shadow: none;
}

.rm-step h4 {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.3;
}

.rm-step p {
  margin: 0;
  color: #c2d3ea;
  font-size: 12px;
  line-height: 1.6;
}

.rm-track-light .rm-step p {
  color: #687e9e;
}

/* ==========================================================
   CORE CAPABILITIES
   ========================================================== */

.rm-capabilities {
  margin-top: -1px;
  background:
    linear-gradient(
      180deg,
      #f8fbff 0%,
      #fbfdff 7%,
      #ffffff 18%,
      #ffffff 100%
    );
}

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

.rm-cap-card {
  position: relative;
  min-height: 222px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #dce7f5;
  border-radius: 19px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  box-shadow: 0 16px 38px rgba(23, 68, 122, .055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.rm-cap-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  opacity: 0;
  background: linear-gradient(90deg, #4b64ff, #1dbcf1);
  transition: opacity .2s ease;
}

.rm-cap-card:hover {
  transform: translateY(-5px);
  border-color: #bfd5f5;
  box-shadow: 0 22px 50px rgba(23, 68, 122, .11);
}

.rm-cap-card:hover::before {
  opacity: 1;
}

.rm-cap-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.rm-cap-top > span {
  color: #b6c4d8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.rm-cap-top i {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #2b78ff;
  background: #eef4ff;
}

.rm-cap-card:nth-child(3n + 2) .rm-cap-top i {
  color: #7659ff;
  background: #f1edff;
}

.rm-cap-card:nth-child(3n) .rm-cap-top i {
  color: #18af84;
  background: #eaf9f4;
}

.rm-cap-top svg {
  width: 22px;
  height: 22px;
}

.rm-cap-card h3 {
  margin: 0 0 9px;
  color: var(--rm-ink);
  font-size: 16px;
  line-height: 1.27;
}

.rm-cap-card p {
  margin: 0;
  color: var(--rm-muted);
  font-size: 13px;
  line-height: 1.62;
}

/* ==========================================================
   CONNECTED RISK
   ========================================================== */

.rm-connected {
  position: relative;
  padding-top: 86px;
  padding-bottom: 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 72%, rgba(59, 123, 255, .08), transparent 31%),
    linear-gradient(180deg, #f9fcff 0%, #f2f7ff 100%);
}

.rm-connected::before,
.rm-connected::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.rm-connected::before {
  width: 480px;
  height: 480px;
  left: -250px;
  bottom: -250px;
  border: 1px solid rgba(71, 136, 255, .09);
  border-radius: 50%;
}

.rm-connected::after {
  width: 380px;
  height: 380px;
  right: -210px;
  top: 70px;
  border: 1px solid rgba(71, 136, 255, .08);
  border-radius: 50%;
}

.rm-connected-head {
  max-width: 920px;
  margin-bottom: 44px;
}

.rm-connected-head h2 {
  max-width: 900px;
  margin-inline: auto;
}

.rm-connected-head p {
  max-width: 850px;
}

.rm-connect-panel {
  position: relative;
  isolation: isolate;
  width: min(1120px, 100%);
  height: 390px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #d8e6f7;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(65, 102, 255, .085), transparent 23%),
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(249,252,255,.95));
  box-shadow:
    0 26px 65px rgba(28, 72, 126, .09),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.rm-connect-panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 420px;
  height: 420px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(72, 126, 255, .09);
  border-radius: 50%;
  box-shadow:
    0 0 0 62px rgba(70, 128, 255, .018),
    0 0 0 126px rgba(70, 128, 255, .012);
}

/* Reliable center connection:
   Controls -> XZLENZ -> Remediation.
   This is CSS-based so the horizontal path cannot disappear because of SVG rendering. */
.rm-connect-panel::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;

  /* Match the SVG dot coordinates:
     left dot  = 304 / 1120 = 27.14%
     right dot = 816 / 1120 = 72.86% */
  left: 27.14%;
  right: 27.14%;

  height: 2px;
  transform: translateY(-50%);

  background:
    repeating-linear-gradient(
      90deg,
      #72aaff 0,
      #72aaff 8px,
      transparent 8px,
      transparent 16px
    );

  opacity: .92;
  filter: drop-shadow(0 0 3px rgba(64, 137, 255, .30));
  pointer-events: none;
}

.rm-connect-caption {
  position: absolute;
  z-index: 3;
  top: 22px;
  color: #96a8c0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rm-connect-caption-left {
  left: 54px;
}

.rm-connect-caption-right {
  right: 54px;
}

.rm-connect-panel > .rm-connect-lines {
  position: absolute;
  z-index: 1;
  inset: 25px 0;
  display: block;
  width: 100% !important;
  height: calc(100% - 50px) !important;
  overflow: visible;
  pointer-events: none;
  fill: none;
}

.rm-connect-lines .rm-link {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 8 8;
  filter: url(#rmLineGlow);
}

.rm-connect-lines .rm-link-left {
  stroke: url(#rmLineLeft);
}

.rm-connect-lines .rm-link-right {
  stroke: url(#rmLineRight);
}

/* Keep the two center horizontal connectors visible in every browser.
   SVG gradients on perfectly horizontal paths are inconsistently rendered
   by some browser engines, so these two use a brand-blue fallback stroke. */
.rm-connect-lines .rm-link-middle {
  stroke: #72aaff;
  stroke-width: 2.2;
  stroke-dasharray: 8 8;
  opacity: .92;
}

.rm-connect-lines .rm-link-dot {
  fill: #5166ff;
  stroke: #fff;
  stroke-width: 3;
  filter: url(#rmLineGlow);
}

.rm-connect-lines .rm-link-dot-soft {
  fill: #5e9dff;
}

.rm-hub {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 142px;
  height: 142px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 31px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.16), transparent 26%),
    linear-gradient(145deg, #277cff 0%, #6356ff 100%);
  box-shadow:
    0 24px 52px rgba(64, 84, 255, .25),
    0 0 0 9px rgba(71, 104, 255, .055);
}

.rm-hub-ring {
  position: absolute;
  inset: -20px;
  z-index: -1;
  border: 1px solid rgba(77, 124, 255, .19);
  border-radius: 43px;
}

.rm-hub-icon {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  margin-bottom: 1px;
}

.rm-hub-icon svg {
  width: 39px;
  height: 39px;
}

.rm-hub strong {
  font-size: 15px;
  letter-spacing: .08em;
}

.rm-hub > span:last-child {
  color: rgba(255,255,255,.74);
  font-size: 8px;
}

.rm-node {
  position: absolute;
  z-index: 3;
  width: 198px;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid #d7e5f7;
  border-radius: 18px;
  background: rgba(255, 255, 255, .985);
  box-shadow:
    0 14px 34px rgba(24, 67, 119, .085),
    inset 0 1px 0 rgba(255,255,255,.9);
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.rm-node:hover {
  transform: translateY(-3px);
  border-color: #b9d3f7;
  box-shadow: 0 19px 42px rgba(24, 67, 119, .12);
}

.rm-node i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  color: #2b78ff;
  background: linear-gradient(145deg, #eef5ff, #e6f0ff);
}

.rm-node i svg {
  width: 20px;
  height: 20px;
}

.rm-node b,
.rm-node small {
  display: block;
}

.rm-node b {
  color: var(--rm-ink);
  font-size: 13px;
  line-height: 1.2;
}

.rm-node small {
  margin-top: 4px;
  color: #7d91ad;
  font-size: 9px;
  line-height: 1.25;
}

/* symmetrical node positions */
.rm-node-risk {
  left: 48px;
  top: 58px;
}

.rm-node-control {
  left: 80px;
  top: 157px;
}

.rm-node-asset {
  left: 48px;
  bottom: 58px;
}

.rm-node-vendor {
  right: 48px;
  top: 58px;
}

.rm-node-remediation {
  right: 80px;
  top: 157px;
}

.rm-node-reporting {
  right: 48px;
  bottom: 58px;
}

/* ==========================================================
   REVEAL
   ========================================================== */

.rm-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.rm-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1180px) {
  .rm-container {
    width: min(1080px, calc(100% - 42px));
  }

  .rm-hero-grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 32px;
  }

  .rm-risk-window {
    max-width: 650px;
  }

  .rm-hero-copy h1 {
    font-size: clamp(56px, 6vw, 76px);
  }

  .rm-connect-panel {
    height: 360px;
  }
}

@media (max-width: 980px) {
  .rm-connect-panel::after {
    display: none;
  }

  .rm-section {
    padding: 76px 0;
  }

  .rm-hero {
    min-height: auto;
  }

  .rm-hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 68px 0 78px;
  }

  .rm-hero-copy {
    max-width: 700px;
  }

  .rm-hero-product {
    width: min(760px, 100%);
    margin-inline: auto;
    padding-right: 0;
  }

  .rm-risk-window {
    margin-inline: auto;
  }

  .rm-track-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

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

  .rm-connect-panel {
    height: auto;
    padding: 58px 24px 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
  }

  .rm-connect-panel > .rm-connect-lines,
  .rm-connect-panel::before {
    display: none;
  }

  .rm-connect-caption {
    top: 22px;
  }

  .rm-connect-caption-left {
    left: 24px;
  }

  .rm-connect-caption-right {
    right: 24px;
  }

  .rm-hub,
  .rm-node {
    position: static;
    width: auto;
    transform: none;
  }

  .rm-hub {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 164px;
    height: auto;
  }

  .rm-hub-ring {
    display: none;
  }

  .rm-node {
    min-height: 76px;
  }
}

@media (max-width: 760px) {
  .rm-container,
  .rm-narrow {
    width: calc(100% - 30px);
  }

  .rm-section {
    padding: 64px 0;
  }

  .rm-section-head h2,
  .rm-narrow h2 {
    font-size: clamp(31px, 9vw, 43px);
  }

  .rm-section-head p,
  .rm-narrow p {
    font-size: 15px;
  }

  .rm-hero-grid {
    padding: 58px 0 65px;
  }

  .rm-hero-copy h1 {
    font-size: clamp(50px, 15vw, 68px);
  }

  .rm-hero-copy > p {
    font-size: 16px;
  }

  .rm-hero-proof {
    gap: 14px;
    font-size: 12px;
  }

  .rm-risk-topbar {
    height: 54px;
    grid-template-columns: auto minmax(0, 1fr);
    padding-inline: 12px;
  }

  .rm-risk-logo {
    font-size: 14px;
  }

  .rm-live-pill {
    display: none;
  }

  .rm-risk-body {
    grid-template-columns: 66px minmax(0, 1fr);
    min-height: 0;
  }

  .rm-risk-sidebar {
    padding: 12px 7px;
  }

  .rm-sidebar-label {
    display: none;
  }

  .rm-side-item {
    justify-content: center;
    min-height: 38px;
    padding: 0;
  }

  .rm-side-item span {
    display: none;
  }

  .rm-side-item svg {
    width: 16px;
    height: 16px;
  }

  .rm-risk-main {
    padding: 12px;
  }

  .rm-risk-heading h2 {
    font-size: 17px;
  }

  .rm-risk-heading button {
    display: none;
  }

  .rm-stat-row {
    gap: 6px;
  }

  .rm-stat-row article {
    display: block;
    padding: 9px;
  }

  .rm-stat-icon {
    width: 29px;
    height: 29px;
    margin-bottom: 6px;
  }

  .rm-stat-row strong {
    font-size: 17px;
  }

  .rm-stat-row small {
    font-size: 7px;
  }

  .rm-stat-row em {
    display: none;
  }

  .rm-ui-grid {
    grid-template-columns: 1fr;
  }

  .rm-ui-card {
    height: 184px;
  }

  .rm-top-risks {
    display: none;
  }

  .rm-floating {
    display: none;
  }

  .rm-track {
    min-height: auto;
    padding: 25px 21px;
  }

  .rm-cap-grid {
    grid-template-columns: 1fr;
  }

  .rm-cap-card {
    min-height: auto;
  }

  .rm-connect-panel {
    padding-top: 50px;
    grid-template-columns: 1fr 1fr;
  }

  .rm-connect-caption {
    display: none;
  }

  .rm-hub {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 118px;
  }
}

@media (max-width: 520px) {
  .rm-container,
  .rm-narrow {
    width: calc(100% - 24px);
  }

  .rm-hero-copy h1 {
    font-size: 48px;
  }

  .rm-hero-product {
    width: calc(100% + 4px);
    margin-left: -2px;
  }

  .rm-risk-search {
    font-size: 9px;
  }

  .rm-stat-row article {
    padding: 8px;
  }

  .rm-stat-row strong {
    font-size: 16px;
  }

  .rm-heatmap {
    width: 190px;
  }

  .rm-connect-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .rm-hub {
    grid-column: auto;
    min-height: 112px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .rm-cap-card {
    transition: none;
  }
}
