:root {
  --grc-navy: #031a33;
  --grc-blue: #0999c8;
  --grc-ink: #15253a;
  --grc-muted: #526176;
  --grc-line: #dce6ee;
  --grc-sky: #f1f8fd;
}

.grc-section {
  font-family: "Euclid Circular", sans-serif;
}

.grc-sky {
  background: var(--grc-sky);
}

.grc-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #087da5;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.grc-label::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--grc-blue);
  content: "";
}

.grc-section-header {
  max-width: 900px;
  text-align: center;
}

.grc-section-header .ek-h2 {
  margin-bottom: 12px;
}

.grc-section-header > p {
  max-width: 780px;
  margin: 0 auto;
}

.grc-hero {
  padding-top: 42px;
  padding-bottom: 32px;
  text-align: center;
}

.grc-hero-header {
  max-width: 920px;
}

.grc-hero-header .ek-h1 {
  margin: 0 auto 14px;
  color: var(--grc-navy);
}

.grc-hero-header > p {
  max-width: 790px;
  margin: 0 auto;
  color: var(--grc-muted);
}

.grc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 40px;
  padding: 6px 8px 6px 19px;
  border: 1px solid var(--grc-blue);
  border-radius: 999px;
  background: #fff;
  color: #087da5;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.grc-button > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--grc-blue);
  color: #fff;
  font-size: 17px;
}

.grc-button:hover {
  transform: translateY(-2px);
  background: var(--grc-blue);
  color: #fff;
}

.grc-button:hover > span {
  background: var(--grc-navy);
}

.grc-hero-header .grc-button {
  margin-top: 19px;
}

.grc-hero-panel {
  overflow: hidden;
  border: 1px solid rgba(169, 193, 213, 0.22);
  border-radius: 13px;
  background: var(--grc-navy);
  color: #fff;
  text-align: left;
  padding: 20px;
}

.grc-hero-panel-heading {
  padding: 22px 24px 19px;
  border-bottom: 1px solid rgba(169, 193, 213, 0.2);
  color: #fff;
  font-size: var(--ek-h3-font-size);
}

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

.grc-hero-card {
  position: relative;
  min-width: 0;
  min-height: 166px;
  padding: 20px 19px;
  border-right: 1px solid rgba(169, 193, 213, 0.2);
}

.grc-hero-card:last-child {
  border-right: 0;
}

.grc-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 6px;
  background: rgba(77, 176, 211, 0.2);
  color: #62c7e8;
  font-size: 17px;
  font-weight: 700;
}

.grc-number {
  position: absolute;
  top: 20px;
  right: 18px;
  color: #9aabbd;
  font-size: 13px;
}

.grc-hero-card h3 {
  margin: 14px 0 7px;
  color: #fff;
  font-size: var(--ek-h4-font-size);
}

.grc-hero-card p {
  color: #c3cfdb;
}

.grc-governance-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.78fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(118px, auto));
  align-items: center;
  gap: 18px 20px;
}

.grc-map-item {
  position: relative;
  min-width: 0;
  padding: 14px 18px;
}

.grc-map-item h3,
.grc-map-item p {
  margin: 0;
}

.grc-map-item h3 {
  margin-bottom: 7px;
  font-size: var(--ek-h4-font-size);
  line-height: 1.35;
}

.grc-map-item p {
  color: var(--grc-muted);
  font-size: var(--ek-sub-title-two-font-size);
  line-height: 1.5;
}

.grc-map-item > span {
  position: absolute;
  top: 50%;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--grc-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.grc-map-left {
  text-align: right;
}

.grc-map-left > span {
  right: -30px;
}

.grc-map-right > span {
  left: -30px;
}

.grc-map-one {
  grid-column: 1;
  grid-row: 1;
}

.grc-map-two {
  grid-column: 1;
  grid-row: 2;
}

.grc-map-visual {
  position: relative;
  display: grid;
  min-height: 280px;
  grid-column: 2;
  grid-row: 1 / span 2;
  place-items: center;
}

.grc-map-ring {
  position: absolute;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e0f1fa;
}

.grc-map-core {
  position: relative;
  display: grid;
  width: 190px;
  height: 280px;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  border: 1px solid #82c9e7;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(6, 57, 87, 0.06);
}

.grc-map-core i {
  width: 28px;
  height: 28px;
  border: 2px solid #b8e4f3;
  border-radius: 8px;
  background: #f3fbff;
}

.grc-map-three {
  grid-column: 3;
  grid-row: 1;
}

.grc-map-four {
  grid-column: 3;
  grid-row: 2;
}

.grc-ribbon {
  width: fit-content;
  max-width: 100%;
  margin: 28px auto 0;
  padding: 12px 25px;
  border-radius: 999px;
  background: var(--grc-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.grc-action {
  margin-top: 14px;
  text-align: center;
}

.grc-action .grc-button {
  min-height: 36px;
  padding-block: 4px;
  font-size: 12px;
}

.grc-action .grc-button > span {
  width: 24px;
  height: 24px;
  font-size: 15px;
}

.grc-button-dark {
  border-color: var(--grc-navy);
  background: var(--grc-navy);
  color: #fff;
}

.grc-button-dark > span {
  background: var(--grc-blue);
}

.grc-button-dark:hover {
  border-color: var(--grc-blue);
}

.grc-evidence-section {
  position: relative;
  padding-top: 64px;
  padding-bottom: 48px;
  isolation: isolate;
}

.grc-evidence-section::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 1.5%;
  width: 97%;
  height: 50%;
  border-radius: 26px;
  background: var(--grc-navy);
  content: "";
}

.grc-inverse-header .ek-h2,
.grc-inverse-header > p {
  color: #fff;
}

.grc-inverse-header > p {
  color: #c0cedb;
}

.grc-inverse-header .grc-label {
  color: #c9d9e7;
}

.grc-inverse-header .grc-label::before {
  box-shadow: 0 0 0 3px rgba(56, 182, 216, 0.2);
}

.grc-evidence-panel {
  padding: 22px 24px 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(6, 29, 56, 0.09);
  border-radius: 30px;
}

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

.grc-evidence-card {
  min-width: 0;
  padding: 5px 8px 4px;
}

.grc-evidence-card .grc-icon {
  margin-bottom: 12px;
  background: transparent;
  color: var(--grc-blue);
  font-size: 24px;
}

.grc-evidence-card h3 {
  margin: 0 0 8px;
  color: var(--grc-ink);
  font-size: var(--ek-h4-font-size);
  line-height: 1.3;
}

.grc-evidence-card p {
  color: var(--grc-muted);
  font-size: var(--ek-sub-title-two-font-size);
}

.grc-evidence-types {
  margin: 16px 8px 0;
  color: #087da5;
  font-size: 11px;
  line-height: 1.5;
}

.grc-evidence-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  margin: 12px 8px 0;
  padding-top: 12px;
  border-top: 1px solid var(--grc-line);
  color: var(--grc-ink);
  font-size: 12px;
}

.grc-evidence-status strong {
  color: var(--grc-blue);
}

.grc-evidence-section > .container-lg > .grc-ribbon {
  margin-top: 30px;
}

.grc-flow-grid {
  display: grid;
  gap: 14px;
}

.grc-five-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grc-flow-card {
  position: relative;
  min-width: 0;
  min-height: 190px;
  padding: 18px 16px;
  border: 1px solid #dce8f1;
  border-radius: 9px;
  background: #fff;
}

.grc-five-grid:not(.grc-incident-grid) .grc-flow-card:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  top: 17px;
  right: -15px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--grc-navy);
  color: #fff;
  content: "→";
  font-size: 16px;
}

.grc-step {
  display: block;
  margin-bottom: 12px;
  color: #91d3ea;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.grc-flow-card h3 {
  margin: 0 0 8px;
  color: var(--grc-ink);
  font-size: 16px;
  line-height: 1.4;
}

.grc-flow-card p {
  margin: 0;
  color: var(--grc-muted);
  font-size: var(--ek-sub-title-two-font-size);
  line-height: 1.5;
}

.grc-flow-summary {
  margin-top: 15px;
  padding: 13px 16px;
  border: 1px solid #dce8f1;
  border-radius: 7px;
  background: #fff;
  color: var(--grc-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.grc-dark {
  background: var(--grc-navy);
  color: #fff;
}

.grc-dark .grc-label {
  color: #cfdeeb;
}

.grc-dark .grc-flow-card {
  border-color: rgba(176, 199, 219, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.grc-dark .grc-flow-card h3 {
  color: #fff;
}

.grc-dark .grc-flow-card p {
  color: #c0cedb;
}

.grc-dark .grc-step {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  margin-bottom: 11px;
  border: 1px solid rgba(9, 153, 200, 0.65);
  border-radius: 50%;
  color: #50c5e5;
  font-size: 12px;
}

.grc-dark .grc-flow-summary {
  border-color: rgba(176, 199, 219, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #54c5e4;
}

.grc-button-light {
  border-color: #fff;
  background: #fff;
  color: var(--grc-navy);
}

.grc-button-light > span {
  background: var(--grc-blue);
}

.grc-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.74fr) minmax(0, 1.26fr);
  gap: 30px;
}

.grc-dashboard-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
  padding: 40px;
  border-radius: 9px;
  background: var(--grc-navy);
  color: #fff;
}

.grc-dashboard-intro .grc-label {
  justify-content: flex-start;
  color: #a9d8e9;
}

.grc-dashboard-intro h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: var(--ek-h2-font-size);
}

.grc-dashboard-intro p {
  margin: 0;
  color: #c7d5e1;
  font-size: var(--ek-text-16-font-size);
}

.grc-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.grc-dashboard-grid article {
  min-width: 0;
  padding: 18px;
  border-radius: 7px;
  background: var(--grc-sky);
}

.grc-dashboard-grid h3,
.grc-agent-grid h3,
.grc-integration-grid h3 {
  margin: 0 0 7px;
  color: var(--grc-ink);
  /* font-size: 14px; */
  font-size: var(--ek-h4-font-size);
  line-height: 1.4;
}

.grc-dashboard-grid p,
.grc-agent-grid p,
.grc-integration-grid p {
  margin: 0;
  color: var(--grc-muted);
  font-size: var(--ek-sub-title-two-font-size);
}

.grc-dashboard-grid article > span {
  display: block;
  margin-top: 9px;
  color: #0788b6;
  font-size: 13px;
  line-height: 1.7;
}

.grc-ai-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.76fr) minmax(0, 1.24fr);
  align-items: start;
  gap: 30px;
}

.grc-ai-intro .grc-label {
  justify-content: flex-start;
}

.grc-ai-intro h2 {
  margin: 0 0 12px;
  color: var(--grc-ink);
  font-size: var(--ek-h3-font-size);
}

.grc-ai-intro > p {
  margin: 0;
  font-size: var(--ek-text-16-font-size);
}

.grc-ai-intro figure {
  margin: 20px 0 0;
}

.grc-ai-intro figcaption {
  margin-top: 6px;
  color: var(--grc-muted);
  font-size: 11px;
}

.grc-agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.grc-agent-grid article {
  min-width: 0;
  min-height: 130px;
  padding: 17px;
  border: 1px solid #e1e9ef;
  border-left: 3px solid #516d8c;
  border-radius: 7px;
  background: #fff;
}

.grc-agent-grid h3 {
  font-size: var(--ek-h4-font-size);
}

.grc-ai-flow {
  margin-top: 13px;
  padding: 13px 16px;
  border-left: 3px solid var(--grc-blue);
  border-radius: 6px;
  background: #fff;
  color: #078ab9;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.grc-outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #d8e0e7;
  border-radius: 10px;
  background: #fff;
}

.grc-outcome-grid article {
  min-width: 0;
  min-height: 170px;
  padding: 20px;
  border-right: 1px solid #d8e0e7;
  border-bottom: 1px solid #d8e0e7;
}

.grc-outcome-grid article:nth-child(3n) {
  border-right: 0;
}

.grc-outcome-grid article:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.grc-outcome-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--grc-blue);
  font-size: 25px;
  line-height: 1.15;
}

.grc-outcome-grid h3 {
  margin: 0 0 8px;
  font-size: var(--ek-h4-font-size);
}

.grc-outcome-grid p {
  margin: 0;
  font-size: var(--ek-sub-title-two-font-size);
}

.grc-integration-section {
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff 49.8%,
    #f2f8fc 50%,
    #f2f8fc 100%
  );
}

.grc-integration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.grc-integration-grid article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  min-height: 132px;
  padding: 19px;
  border: 1px solid #dce5ec;
  border-radius: 7px;
  background: #fff;
}

.grc-integration-grid article > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 6px;
  background: #e6f5fb;
  color: #078ab9;
  font-size: 13px;
  font-weight: 700;
}

.grc-integration-grid small {
  display: block;
  margin-top: 8px;
  color: #078ab9;
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 991px) {
  .grc-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grc-hero-card:nth-child(2) {
    border-right: 0;
  }

  .grc-hero-card:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(169, 193, 213, 0.2);
  }

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

  .grc-five-grid:not(.grc-incident-grid) .grc-flow-card:nth-child(3)::after {
    display: none;
  }

  .grc-ai-layout,
  .grc-dashboard-layout {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .grc-hero {
    padding-top: 34px;
    padding-bottom: 28px;
  }

  .grc-hero-panel-heading {
    padding: 18px;
  }

  .grc-hero-card {
    min-height: 180px;
    padding: 17px;
  }

  .grc-governance-map {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 210px auto;
    gap: 10px;
  }

  .grc-map-item {
    padding: 12px 14px 12px 30px;
  }

  .grc-map-item > span {
    top: 14px;
    right: auto;
    left: -5px;
    width: 24px;
    height: 24px;
    transform: none;
  }

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

  .grc-map-one {
    grid-column: 1;
    grid-row: 1;
  }

  .grc-map-three {
    grid-column: 2;
    grid-row: 1;
  }

  .grc-map-visual {
    min-height: 210px;
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .grc-map-ring {
    width: 190px;
  }

  .grc-map-core {
    width: 160px;
    height: 205px;
  }

  .grc-map-two {
    grid-column: 1;
    grid-row: 3;
  }

  .grc-map-four {
    grid-column: 2;
    grid-row: 3;
  }

  .grc-evidence-section::before {
    left: 2%;
    width: 96%;
    height: 50%;
    border-radius: 20px;
  }

  .grc-evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }

  .grc-evidence-panel {
    padding: 18px 15px 13px;
  }

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

  .grc-five-grid:not(.grc-incident-grid) .grc-flow-card:nth-child(3)::after {
    display: grid;
  }

  .grc-five-grid:not(.grc-incident-grid) .grc-flow-card:nth-child(even)::after,
  .grc-five-grid:not(.grc-incident-grid) .grc-flow-card:last-child::after {
    display: none;
  }

  .grc-flow-card {
    min-height: 175px;
  }

  .grc-dashboard-layout,
  .grc-ai-layout {
    grid-template-columns: 1fr;
  }

  .grc-dashboard-intro {
    min-height: 0;
  }

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

  .grc-outcome-grid article:nth-child(3n) {
    border-right: 1px solid #d8e0e7;
  }

  .grc-outcome-grid article:nth-child(2n) {
    border-right: 0;
  }

  .grc-outcome-grid article:nth-last-child(-n + 3) {
    border-bottom: 1px solid #d8e0e7;
  }

  .grc-outcome-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .grc-integration-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .grc-hero-grid,
  .grc-five-grid,
  .grc-agent-grid,
  .grc-dashboard-grid,
  .grc-outcome-grid {
    grid-template-columns: 1fr;
  }

  .grc-hero-card,
  .grc-hero-card:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(169, 193, 213, 0.2);
  }

  .grc-hero-card:last-child {
    border-bottom: 0;
  }

  .grc-desktop-break {
    display: none;
  }

  .grc-governance-map {
    grid-template-columns: 1fr;
    grid-template-rows: auto 190px auto auto auto;
  }

  .grc-map-one,
  .grc-map-two,
  .grc-map-three,
  .grc-map-four {
    grid-column: 1;
    text-align: left;
  }

  .grc-map-one {
    grid-row: 1;
  }

  .grc-map-visual {
    min-height: 190px;
    grid-column: 1;
    grid-row: 2;
  }

  .grc-map-two {
    grid-row: 3;
  }

  .grc-map-three {
    grid-row: 4;
  }

  .grc-map-four {
    grid-row: 5;
  }

  .grc-map-item > span {
    left: -4px;
  }

  .grc-map-item {
    padding-left: 30px;
  }

  .grc-evidence-section::before {
    height: 50%;
  }

  .grc-evidence-grid {
    grid-template-columns: 1fr;
  }

  .grc-evidence-card {
    padding: 0 4px;
  }

  .grc-five-grid:not(.grc-incident-grid) .grc-flow-card::after {
    display: none !important;
  }

  .grc-flow-card {
    min-height: 0;
  }

  .grc-outcome-grid article,
  .grc-outcome-grid article:nth-child(3n),
  .grc-outcome-grid article:nth-child(2n),
  .grc-outcome-grid article:nth-last-child(-n + 3) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #d8e0e7;
  }

  .grc-outcome-grid article:last-child {
    border-bottom: 0;
  }

  .grc-ribbon {
    padding: 11px 18px;
    border-radius: 8px;
  }

  .grc-evidence-status {
    flex-direction: column;
  }

  .grc-integration-grid article {
    min-height: 0;
  }
}
