/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/* Prevents Safari on iOS from inflating/deflating text */
* {
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--color-fw);
    min-height: 100vh;
}
a {
  text-decoration: none;
}
/* ===== NAVIGATION ===== */
.navbar {
    background: var(--color-0);
    border-bottom: 1px solid var(--color-0l);
    /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);*/
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 1.5em;
    height: 4.25em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75em;
    position: relative;
}

/* ===== LOGO ===== */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--color-fw);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    transition: opacity 0.2s;
}
.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo svg {
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
}

.nav-logo .company-name {
    white-space: nowrap;
}
.nav-logo .company-name span {
    color: var(--color-1);
}

/* ===== DESKTOP / TABLET NAV LIST ===== */
.nav-menu-wrapper {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    flex-shrink: 1;
    min-width: 0;
}

.nav-menu>li {
    flex-shrink: 0;
}

.nav-menu>li>a {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-1);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    -webkit-user-drag: none;
    /* Also prevent text selection while clicking/dragging */
    -webkit-user-select: none;
    user-select: none;
}

.nav-menu>li>a:hover {
    opacity: 0.8;
}


/* ===== ACTIVE LINK (current page) ===== */
.nav-menu>li>a.active,
.nav-more-dropdown li a.active,
.mobile-menu-inner ul li a.active {
    color: var(--color-1l);
    font-weight:800 !important;
}
.nav-menu>li>a:active {
    color: var(--color-1d);
    background: var(--color-fw);
}
/* ===== "MORE…" DROPDOWN ===== */
.nav-more {
    display: none;
    flex-shrink: 0;
    position: relative;
    margin-left: 0.125rem;
}

.nav-more-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.875rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-fw);
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
    white-space: nowrap;
}
.nav-more-btn:hover {
    background: var(--color-fc);
    color: var(--color-0);
}
.nav-more-btn::after {
    content: '▾';
    font-size: 0.7rem;
    margin-left: 0.125rem;
    opacity: 0.6;
}
.nav-more-btn.open::after {
    content: '▴';
}

.nav-more-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 12.5rem;
    max-height: 50vh;
    overflow-y: auto;
    background: var(--color-fw);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--color-fc);
    padding: 0.375rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.375rem) scale(0.98);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0.18s;
    pointer-events: none;
    z-index: 1001;
}
.nav-more-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0s;
    pointer-events: auto;
}

.nav-more-dropdown::-webkit-scrollbar {
    width: 0.375rem;
}
.nav-more-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 12px 12px 0;
}
.nav-more-dropdown::-webkit-scrollbar-thumb {
    background: #c1c7cd;
    border-radius: 6px;
}
.nav-more-dropdown::-webkit-scrollbar-thumb:hover {
    background: #a0a7ae;
}

.nav-more-dropdown li a {
    display: block;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
    transition: background 0.15s;
}
.nav-more-dropdown li a:hover {
    background: #f1f5f9;
}
.nav-more-dropdown li a:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: -2px;
    background: #eff6ff;
}
.nav-more-dropdown li a.active {
    color: var(--color-1d);
    font-weight: bold;
}
.nav-more-dropdown li:first-child a {
    border-radius: 12px 12px 0 0;
}
.nav-more-dropdown li:last-child a {
    border-radius: 0 0 12px 12px;
}

/* ===== HAMBURGER (mobile) ===== */
.hamburger {
    display: none;
    flex-shrink: 0;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.5rem 0.25rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
}
.hamburger:hover {
    background: var(--color-fc);
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--color-fw);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.hamburger:hover span{
  background: var(--color-0);
}
.hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== MOBILE MENU (slide-in) ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s 0.25s;
}
.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease, visibility 0s 0s;
}

.mobile-menu-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;              /* fill the parent completely */
    overflow-y: auto;       /* scroll when content overflows */
    background: var(--color-fc);
    padding: 1rem 1.5rem 2rem;
    border-bottom: 1px solid var(--color-fw);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-12px);
    transition: transform 0.25s ease;
}
.mobile-menu.open .mobile-menu-inner {
    transform: translateY(0);
}

/* Styling scrollbar for mobile menu */
.mobile-menu-inner::-webkit-scrollbar {
    width: 4px;
}
.mobile-menu-inner::-webkit-scrollbar-track {
    background: transparent;
}
.mobile-menu-inner::-webkit-scrollbar-thumb {
    background: var(--color-fc);
    border-radius: 4px;
}

.mobile-menu-inner ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mobile-menu-inner ul li a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-0);
    text-decoration: none;
    transition: background 0.15s;
    -webkit-user-drag: none;
  /* Also prevent text selection while clicking/dragging */
  -webkit-user-select: none;
  user-select: none;
}
.mobile-menu-inner ul li a:hover {
    background: var(--color-fc);
}
.mobile-menu-inner ul li a:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: -2px;
}
.mobile-menu-inner ul li a.active {
    color: var(--color-1d);
    font-weight:800 !important;
}



/* ===== UTILITY ===== */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

.flexline {
  display: flex;
}

/* Demo page content */
.page-content-container {
    max-width: var(--content-max-width);
    margin: 2rem auto 0;
    padding: 0 1.5rem;
    color: var(--color-0);
}
.page-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    /*letter-spacing: -0.02em;*/
}
.page-content p {
    font-size: 1.05rem;
    line-height: 1.25;
    /*color: var(--color-0);*/
    padding-top:0.5rem;
    padding-bottom:0.5rem;
    /*max-width: 640px;*/
}
      
.page-content .badge {
    display: inline-block;
    margin-top: 16px;
    padding: 0.375rem 0.875rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

/*  PAGE LAYOUT */
section {
  width:100%;
  padding-bottom:1rem;
  background: var(--color-fw);
  color: var(--color-0w);
}
section.alternate {
  background: var(--color-0);
  color: var(--color-fw);
}
.section-container {
    max-width: var(--content-max-width);
    margin: 0 auto 0;
    padding: 1rem 1.5rem 0.5rem;
}

.page-header {
  padding-bottom: 0.5rem;
}
.page-header .heading{
  color: var(--color-1d);
}
.page-header .major-text p {
  font-size:x-large;
  text-wrap: balance;
}
.page-header .text p {
  font-size:large;
  padding-top:0.5rem;
  padding-bottom: 0.5rem;
  text-wrap: balance;
}
.page-header .text p + p{
  padding-top: 0;
}
.page-header .text ul {
  padding-left:1.5rem;
}
.section-header {
  padding-bottom: 0.5rem;
}
.section-heading {
  color: var(--color-3);
  font-weight: 700;
  margin-top:0.5rem;
  margin-bottom:0.5rem;
}
.alternate .section-heading {
  color: var(--color-1);
}
.section-heading.flexline {
  justify-content:space-between;
}
.section-heading .flexline {
  gap: 1em;
}
.section-header .major-text p {
  font-size: x-large;
  text-wrap: balance;
}
.alternate .section-header .major-text p {
 color: var(--color-fc);
}
.section-header .text p {
  font-size:large;
  padding-top:0.5rem;
  padding-bottom: 0.5rem;
  text-wrap: balance;
}
.section-header .text p + p {
  padding-top:0;
}

.alternate .text p {
  color: var(--color-fc);
}

.text p:first-of-type {
  padding-top:0.25rem;
}
.text p:last-of-type {
  padding-bottom:0;
}
/*
.section-text {
  padding-bottom:0.5rem;
}
*/
.call-to-action {
  max-width: var(--content-max-width);
  margin: 0 auto 0;
  padding: 1.5rem 1.5rem 0.5rem 1.5rem;
/*  background: var(--color-0);
  color:var(--color-fw);*/
}
.call-to-action .heading {
  color:var(--color-3);
  font-weight: 700;
  padding-bottom: 0.5rem;
}
.alternate .call-to-action .heading {
  color: var(--color-1);
}

.call-to-action p {
  text-wrap: balance;
  font-size: x-large;
  color: var(--color-0);
}

.alternate .call-to-action p {
  color: var(--color-fw);
}
.cta-button {
  display: inline-block;
 /* padding: 0.75rem 2rem;           Vertical and horizontal padding */
  margin-right: 3rem;             /* space for backToTop FAB */
  /* diagonal background: top‑left black, bottom‑right white */
  background: linear-gradient(to bottom right,
    var(--color-1l) 35%,
    var(--color-1) 50%,
    var(--color-1d) 65%);
  border-radius: 8px;         /* Rounded corners (optional) */
  cursor: pointer;
  text-decoration: none;          /* Remove the default underline */
  /*transition: background-color 0.2s ease; /* Smooth hover effect */
  text-align: center;
  -webkit-user-drag: none;
  /* Also prevent text selection while clicking/dragging */
  -webkit-user-select: none;
  user-select: none;
}
.alternate .cta-button {
  background: linear-gradient(to bottom right,
    var(--color-3l) 35%,
    var(--color-3) 50%,
    var(--color-3d) 65%);
  
}
.cta-button .button-face {
margin:2px;
border-radius:8px;
background-color: var(--amber);
display: inline-block;
}

.cta-button:hover {
  transform: translateY(-2px);
  /*background-color: var(--color-1);*/
}
.cta-button .button-text {
  display: inline-block;
  margin: 0.5rem 1.5rem;
 /* background-color: var(--amber);  Button colour - change to your brand */
  color: var(--color-0);          /* Text colour */
  font-weight: 700;
  font-size: 1rem;
  text-align:center;
  transition:background 0.2s ease;
}
.cta-button:active {
  background: linear-gradient(to bottom right,
    var(--color-1d) 35%,
    var(--color-1) 50%,
    var(--color-1l) 65%);
}
.alternate .cta-button:active {
  background: linear-gradient(to bottom right,
    var(--color-3d) 35%,
    var(--color-3) 50%,
    var(--color-3l) 65%);
}
/* ----------------- */
/* ----- GRIDS ----- */
/* ----------------- */
.grid {
  display: grid;
  font-size: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem,1fr));
  gap: 1.5em;
  justify-content:center;
}


.layered {
/*  display: inline-grid; */
  grid-template-columns: auto;
  gap:0;
  background-color: var(--color-fc);
}
.alternate .layered {
  background-color: var(--color-0c);
}
.layer-container {
  padding-left:var(--card-padding-h);
  padding-right: var(--card-padding-h);
}
.layer-container {
  padding-top:0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-1d);
}
.alternate .layer-container {
  border-color: var(--color-3);
}
.layer-container:last-of-type {
  border: none;
  border-radius: 0 0 16px 16px;
}

.layer-container:nth-child(2n) {
  background-color: var(--color-fw);
}
.alternate .layer-container:nth-child(2n) {
  background-color: var(--color-0w);
}
.card .grid .layer {
  background-color: var(--color-fw);
  border-bottom: 1px var(--color-1d) solid;
}
.card .grid .layer:nth-child(2n+2) {
  background-color: var(--color-fc);
}
.card .grid .layer:first-of-type {
  border-bottom:2px solid var(--color-1d);
}
.alternate .card .grid .layer {
  background-color: var(--color-0c);
  border-bottom-color: var(--color-3d);
}
.alternate .card .grid .layer:nth-child(2n+2) {
  background-color: var(--color-0w);
}

.alternate .card .grid .layer:first-of-type {
  border-bottom:2px solid var(--color-3d);
}
.card .grid .layer:last-of-type {
  border-bottom:none;
}

.layer .item-container {
  display:flex;
  border-right: 1px var(--color-1d) solid;
  padding-top:0.5rem;
  padding-bottom:0.5rem;
}
.layer.header .item-container {
  justify-content:center;
}
.layer.header .item .heading{
  text-align:center;
}
.alternate .layer .item-container {
  border-right: 1px var(--color-3d) solid;
}
.layer .item-container:first-of-type {
  text-align:left;
}
.layer .item-container:last-of-type {
  border-right:none;
}
.layer .item-container:first-of-type .item {
  align-self: center;
}

.alternate .grid .layer {
  background-color: var(--color-0c);
}
.card .layer:first-of-type {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.card .layer:last-of-type {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}
.grid .layer.header {
  padding:0;
  color: --var(--color-1);
}
.alternate .grid .layer.header {
  color: --var(--color-3);
}
.layer .item {
  padding-left: calc(var(--card-padding-h)/2);
  padding-right: calc(var(--card-padding-h)/2);
}


.regulatory-review .grid {
  grid-template-columns: auto;
}
.evidence-object .grid {
  grid-template-columns: auto;
}

.grid-h-2xauto,
.structural-gap .grid,
.trust-spine .grid,
.footer .privacy-and-legal .grid {
  grid-template-columns: auto auto;
}


.grid-v-60 {
  grid-template-columns: 35.5em 30px 35.5em;
  row-gap:0;
  padding:0;
}
 


.not-absolute-truth .grid {
  grid-template-columns: repeat(2, auto);
}

/*
.adoption .grid .item:nth-child(4) {
  grid-column: 1 / -1;
  justify-self: center;
  transform: rotate(135deg);
}*/
/*
.adoption .grid {
  grid-template-columns: 14em 30px 14em 30px 14em 30px 14em;
}
  */
.grid-h-3x1fr,
.evidence-lifecycle .grid,
.core-elements .grid,
.core-properties .grid,
.environment-agnostic .grid,
.systems-vs-evidence-rail .grid,
.recreate-vs-replay .grid,
.berfore-and-after .grid,
.moment-of-proof .grid,
.record-to-proof .grid,
.priority-sectors .grid,
.ways-to-engage .grid,
.solutions .grid,
.partner-led .grid,
.pilot .grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,23.6em));
}

.grid-h-4x1fr,
.verification .grid,
.institutional-value .grid,
.what-it-is-not .grid,
.institutions-can-prove .grid,
.who-it-serves .grid,
.best-fit .grid,
.sealed-object .grid,
.legitimacy-posture .grid,
.client-control .grid {
  grid-template-columns: repeat(4, 1fr);
}

/* INDEX PAGE GRIDS */

.shifting-liability .grid {
  grid-template-columns: repeat(2, minmax(0,29em));
}
@media screen and (max-width: 63.5em) {
  .shifting-liability .grid {
    grid-template-columns: minmax(0,39.5em);
  }
}


.regulatory-need .grid {
  grid-template-columns: repeat(2, minmax(0,32.7em));
}
@media screen and (max-width: 58.4em) {
  .regulatory-need .grid {
    grid-template-columns: minmax(0,32.7em);
  }
}


.evidence-rail-and-solutions .grid {
  grid-template-columns: repeat(2, minmax(0,36em));
}
@media screen and (max-width: 75.625em) {
.evidence-rail-and-solutions .grid {
  grid-template-columns: minmax(0,43.5em);
}
}


/* EVIDENCE RAIL PAGE GRIDS */

.structural-gap .grid {
  grid-template-columns:repeat(2,minmax(0,32.5em));
}
@media screen and (max-width: 70.25em) {
  .structural-gap .grid {
    grid-template-columns: minmax(0,32.5em);
  }
}


.trust-spine .grid {
  grid-template-columns: repeat(2, 27em);
}
@media screen and (max-width: 59.5em) {
  .trust-spine .grid {
    grid-template-columns: repeat(2, 19.5em);
  }
}
@media screen and (max-width: 44.75em) {
  .trust-spine .grid {
    grid-template-columns: 27em;
  }
}
@media screen and (max-width:30em) {
  .trust-spine .grid {
    grid-template-columns: auto;
  }
}


.evidence-lifecycle .grid {
  grid-template-columns: repeat(3, minmax(0, 22.625em));
}
@media screen and (max-width: 74.75em) {
  .evidence-lifecycle .grid {
    grid-template-columns: repeat(3, minmax(0, 16.8em));
  }
}
@media screen and (max-width: 57.375em) {
  .evidence-lifecycle .grid {
    grid-template-columns: repeat(2, minmax(0, 22.625em));
  }
}
@media screen and (max-width: 50.625em) {
  .evidence-lifecycle .grid {
    grid-template-columns: repeat(2, minmax(0, 16.8em));
  }
}
@media screen and (max-width: 39em) {
  .evidence-lifecycle .grid {
    grid-template-columns: minmax(0, 22.625em);
  }
}


.core-properties .grid {
  grid-template-columns: repeat(3, minmax(0,23.6em));
}

@media screen and (max-width: 67.5em) {
  .core-properties .grid {
  grid-template-columns: repeat(2, minmax(0,23.6em));
  }
}

@media screen and (max-width:45.75em) {
.core-properties .grid{
    grid-template-columns: minmax(0,23.6em);
    gap:1rem;
  }
}


.verification .grid { /* 1176*/
  grid-template-columns: repeat(4, 16.3em);
}
@media screen and (max-width: 73.5em) {
  .verification .grid { 
    grid-template-columns: repeat(2, 22.5em);
  }
}
@media screen and (max-width: 50.375em) {
  .verification .grid { 
    grid-template-columns: repeat(2, 16.3em);
  }
}
@media screen and (max-width: 38.125em) {
  .verification .grid { 
    grid-template-columns: minmax(0,22.5em);
  }
}


.institutions-can-prove .grid {
  grid-template-columns: repeat(4, minmax(0,19.13em));
}
@media screen and (max-width: 85em) {
  .institutions-can-prove .grid {
    grid-template-columns: repeat(4, minmax(0,15.75em));
  }
}
@media screen and (max-width: 71.25em) {
  .institutions-can-prove .grid {
    grid-template-columns: repeat(2, minmax(0,19.13em));
  }
}
@media screen and (max-width: 43.75em) {
  .institutions-can-prove .grid {
    grid-template-columns: repeat(2, minmax(0,15.75em));
  }
}
@media screen and (max-width: 36.875em) {
  .institutions-can-prove .grid {
    grid-template-columns: minmax(0,19.13em);
    gap:1rem;
  }
}


.what-it-is-not .grid {
  grid-template-columns: repeat(3, minmax(0,20.25em));
}
@media screen and (max-width: 67.75em) {
  .what-it-is-not .grid {
    grid-template-columns: repeat(2, minmax(0,20.25em));
  }
}
@media screen and (max-width: 45.875em) {
  .what-it-is-not .grid {
    grid-template-columns: minmax(0,30.25em);
  }
}


.institutional-value .grid {
  grid-template-columns: repeat(4, minmax(0,18.5em));
} 
@media screen and (max-width: 80.75em) {
  .institutional-value .grid {
    grid-template-columns: repeat(2, minmax(0,26em));
  } 
}
@media screen and (max-width: 56.875em) {
  .institutional-value .grid {
    grid-template-columns: repeat(2, minmax(0,18.5em));
  } 
}
@media screen and (max-width: 42.375em) {
  .institutional-value .grid {
    grid-template-columns: minmax(0,26em);
  } 
}


.who-it-serves .grid {
  grid-template-columns: repeat(4, 18.22em);
} 
@media screen and (max-width: 81.375em) {
  .who-it-serves .grid {
    grid-template-columns: repeat(2, minmax(0, 32.25em));
  } 
}
@media screen and (max-width: 69.875em) {
  .who-it-serves .grid {
    grid-template-columns: repeat(2, 24.625em);
  }
}
@media screen and (max-width:54.625em) {
  .who-it-serves .grid {
    grid-template-columns: minmax(0, 32.25em);
    gap:1rem;
  }
}


.environment-agnostic .grid { /* 1222 */
  grid-template-columns: repeat(3, minmax(0,23.2em));
}
@media screen and (max-width: 76.375em) {
  .environment-agnostic .grid { /* 1222 */
    grid-template-columns: repeat(2, minmax(0,23.2em));
  }
}
@media screen and (max-width: 51.75em) {
  .environment-agnostic .grid {
    grid-template-columns: minmax(0,29.4em);
  }
}


.best-fit .grid {
  grid-template-columns: repeat(4, minmax(0,17.7em));
}
@media screen and (max-width: 79em) {
  .best-fit .grid {
    grid-template-columns: repeat(4, minmax(0,14em));
  } 
}
@media screen and (max-width: 64.75em) {
  .best-fit .grid {
    grid-template-columns: repeat(2, minmax(0,17.7em));
  }
}

@media screen and (max-width: 40.75em) {
  .best-fit .grid {
    grid-template-columns: repeat(2, minmax(0,14em));
  } 
}
@media screen and (max-width:33.5em) {
  .best-fit .grid {
    grid-template-columns: minmax(0,17.7em);
    gap:1rem;
  }
}


/* HOW IT WORKS PAGE GRIDS */

.core-elements .grid {
  grid-template-columns: repeat(3, minmax(0,20em));
}
@media screen and (max-width: 66.875em) {
  .core-elements .grid {
    grid-template-columns: repeat(2, minmax(0,20em));
  }
}
@media screen and (max-width: 41.625em) {
  .core-elements .grid {
    grid-template-columns: minmax(0,31em);
  }
}


.sealed-object .grid {
  grid-template-columns: repeat(4, minmax(0, 17.5em));
}
@media screen and (max-width: 78.375em) {
.sealed-object .grid {
    grid-template-columns: repeat(2, minmax(0, 23.25em));
  }
}
@media screen and (max-width: 50.5em) {
  .sealed-object .grid {
    grid-template-columns: repeat(2, minmax(0,17.5em));
  }
}
@media screen and (max-width: 35.5em) {
.sealed-object .grid {
    grid-template-columns: minmax(0,23.25em);
  }
}


/* RECORD VS PROOF PAGE GRIDS */

.systems-vs-evidence-rail .grid {
  grid-template-columns: repeat(3, 17.9em);
}
@media screen and (max-width: 62.5em) {
  .systems-vs-evidence-rail .grid {
    grid-template-columns: repeat(2, 17.9em);
    justify-content: center;
  }
  .systems-vs-evidence-rail .item:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
  }
}
@media screen and (max-width: 41.6875em) {
  .systems-vs-evidence-rail .grid {
    grid-template-columns: auto;
    grid-auto-flow: row;
  }
}


.recreate-vs-replay .grid {
  grid-template-columns: repeat(3, 22.5em);
}
@media screen and (max-width: 74.375em) {
  .recreate-vs-replay .grid {
    grid-template-columns: repeat(2, 22.5em);
    justify-content: center;
  }
  .recreate-vs-replay .item:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 29.5em;
  }
}
@media screen and (max-width: 50.5em) {
  .recreate-vs-replay .grid {
    grid-template-columns: minmax(0,22.5em);
     grid-auto-flow: row;
  }
  .recreate-vs-replay .item:nth-child(3) {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
    max-width: none;
  }
}


.legitimacy-posture .grid {
  grid-template-columns: repeat(4, minmax(0, 18.6em));
}
@media screen and (max-width: 72.125em) {
  .legitimacy-posture .grid {
      grid-template-columns: repeat(2, minmax(0, 20.9em));
  }
}
@media screen and (max-width: 47.125em) {
  .legitimacy-posture .grid {
      grid-template-columns: repeat(2, minmax(0, 18.6em));
  }
}
@media screen and (max-width: 37.25em) {
  .legitimacy-posture .grid {
    grid-template-columns: minmax(0, 20.9em);
  }
}


/* EXECUTION BOUNDARY PAGE GRIDS */

.before-and-after .grid {
  grid-template-columns: 30em 8.5rem 30em;
}
@media screen and (max-width: 75em) {
  .before-and-after .grid {
    grid-template-columns: 19.7em 8.5rem 19.7em;
  }
}
@media screen and (max-width: 54.9375em) {
  .before-and-after .grid {
    grid-template-columns: auto;
  }
}
.before-and-after .grid .card .grid{
  grid-template-columns: auto;
  height:100%;
  text-align:center;
  gap:0;
}

.before-and-after .grid .card.grid-container{
  background-color: var(--color-3l);
  border-color: var(--color-3);
}
.alternate.before-and-after .grid .card.grid-container {
  background-color: var(--color-3l);
  border-color: var(--color-3);
  color: var(--color-0c);
}

.before-and-after .grid .card.grid-container .card-heading {
  color: var(--color-3d);
}
.alternate.before-and-after .grid .card.grid-container .card-heading{
  color: var(--color-3d);
}


.moment-of-proof .grid {
  grid-template-columns: repeat(3, minmax(0,23.125em));
}
@media screen and (max-width: 76.25em) {
  .moment-of-proof .grid {
    grid-template-columns: repeat(3, minmax(17.75em, 18.26em));
  }
}
@media screen and (max-width: 61.75em) {
  .moment-of-proof .grid {
    grid-template-columns: repeat(2,minmax(0,23.125em));
  }
}
@media screen and (max-width: 42em) {
  .moment-of-proof .grid {
    grid-template-columns: minmax(0,23.125em);
  }
}


.record-to-proof .grid {
  grid-template-columns: repeat(3,minmax(0, 24.5em));
}
@media screen and (max-width: 57.375em) {
  .record-to-proof .grid {
    grid-template-columns: repeat(2, minmax(0, 24.5em));
  }
}
@media screen and (max-width: 39.125em) {
  .record-to-proof .grid {
    grid-template-columns: minmax(0, 24.5em);
  }
}


.why-the-boundary-matters .grid {
  grid-template-columns: repeat(4, minmax(0,16.8em));
}
@media screen and (max-width: 75.6875em) {
  .why-the-boundary-matters .grid {
    grid-template-columns: repeat(2, 23.8em);
  }
}
@media screen and (max-width: 53em) {
  .why-the-boundary-matters .grid {
    grid-template-columns: repeat(2, minmax(0,16.8em)); /*minmax(0, 30.125em);*/
  }
}
@media screen and (max-width: 38.875em) {
  .why-the-boundary-matters .grid {
    grid-template-columns: minmax(0, 30.125em);
  }
}


/* SOLUTIONS PAGE GRIDS */

.priority-sectors .grid {
  grid-template-columns: repeat(3, minmax(0,23em));
}
@media screen and (max-width: 65.875em) {
.priority-sectors .grid {
  grid-template-columns: repeat(2,minmax(0,23em));
}
}
@media screen and (max-width: 44.75em) {
.priority-sectors .grid {
  grid-template-columns: minmax(0,23em);
}
}

.solutions .grid {
  grid-template-columns: repeat(3, minmax(0,22.8em));
}
@media screen and (max-width: 75.125em) {
.solutions .grid {
  grid-template-columns: repeat(2, minmax(0,33em));
}
}
@media screen and (max-width: 69.75em) {
.solutions .grid {
  grid-template-columns: repeat(2, minmax(0,22.8em));
}
}
@media screen and (max-width: 49.375em) {
.solutions .grid {
  grid-template-columns: minmax(0,33em);
}
}
@media screen and (max-width: 36.125em) {
.solutions .grid {
  grid-template-columns: minmax(0 ,22.8em);
}
}

/* DEPLOYMENT PAGE GRIDS */

.deployment .grid {
  grid-template-columns: repeat(2,minmax(0,33.6em));
}
@media screen and (max-width: 71.75em) {
  .deployment .grid {
    grid-template-columns: repeat(2,minmax(0,25.1em));
  }
}
@media screen and (max-width: 55.75em) {
  .deployment .grid {
    grid-template-columns: minmax(0,33.6em);
  }
}

.least-regret .grid-container.alongside {
  padding:0;
  position:relative;
}
.alongside .text {
  text-align:center;
  align-self: center;
}

.least-regret .grid {
  grid-template-columns: 1fr auto 1fr auto 1fr;
  grid-template-rows: auto;
  gap:0.25em;
}
.alongside .grid-h {
  height: 100%;
  width:auto;
  grid-template-columns: 1em 1em 1em min-content 1em;
  grid-template-rows: 1fr 1em 0.5em auto 0.5em 1em 1fr;
  gap:0;
}

.alongside .grid-h2 {
  height: 100%;
  width:auto;
  grid-template-columns: 1em min-content 1em;
  grid-template-rows: 1fr 1em 0.5em auto 0.5em 1em 1fr;
  gap:0;
}
.least-regret .grid-h .text, .grid-v .text {
  grid-column: 4;
  grid-row:4;
  width: 5em;
  align-self: center;
}

.least-regret .grid-h2 .text, .grid-v .text {
  height: auto;
  justify-self: center;
  grid-column:2;
  grid-row:4;
}
.grid-h .a-gap, .grid-h2 .a-gap {
  width:0.5em;
  height:0.5em;
}

.grid-h .a-bar {
  grid-column: 2;
  grid-row: 1 / -1;
  background-color: var(--color-3l);
  width:1em;
  height:100%;
}

.alongside .grid-v {
  grid-template-rows: auto auto auto;
  grid-template-columns:1fr;
}
.alongside .grid-v.absolute {
  position: absolute;
  top:0;
  height:100%;
  width:100%;
  justify-content:space-between;
}
.alongside .flexline {
  justify-items:center;
  height:100%;
}

.alongside .least-regret-arrowshaft {
  align-self:center;
}

.least-regret-arrowshaft.vert1 {
  grid-column: 1 / -1;
  grid-row: 2;
}
.least-regret-arrowshaft.vert2 {
  grid-column: 1 / -1;
  grid-row: 6;
}
.alongside .least-regret-arrowshaft svg {
  width:100%;
  height:0.125em;
  display:block;
}
.alongside .least-regret-arrowhead {
display: flex;
flex-shrink:0;
align-items:center;
width:1em;
transform: translateX(-0.01em);
}
.least-regret-arrowhead.vert1 {
  grid-column:-1;
  grid-row:2;
}
.least-regret-arrowhead.vert2 {
  grid-column:-1;
  grid-row:6;
}

@media screen and (max-width: 64.8125em) {
  .least-regret .grid {
    grid-template-columns: minmax(0,43.125em);
    grid-template-rows: 1fr auto 1fr auto 1fr;
    gap:0.25em;
  }
  .alongside .grid-h {
    width: 100%;
    height:auto;
    grid-template-columns: 1fr 1em 1em auto 1em 1em 1fr;
  /* grid-template-columns: 1fr;*/
    grid-template-rows: 1em 1em 0.5em auto 0.5em;
    gap:0;
  }
  .alongside .grid-h2 {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr 1em 0.5em auto 0.5em 1em 1fr;
    grid-template-rows: 0.5em auto 0.5em;
    gap:0;
  }
  .least-regret .grid-h .text, .grid-v .text {
    grid-column:4;
    grid-row:4;
    width: auto;
    justify-self: center;
  }
  .least-regret .grid-h2 .text, .grid-v .text {
    width: auto;
    justify-self: center;
    grid-column:4;
    grid-row:2;
  }
  .grid-h .a-bar {
    grid-column: 1 / -1;
    grid-row:2;
    width:100%;
    height:1em;
  }
  .alongside .flexline {
    justify-items:center;
    height:100%;
  }
  .alongside .least-regret-arrowshaft {
    justify-items:center;
  }
  .alongside .least-regret-arrowshaft {
    align-self:normal;
  }
  .least-regret-arrowshaft.vert1 {
    grid-column:2;
    grid-row: 1 / -1;
  }
  .least-regret-arrowshaft.vert2 {
    grid-column:6;
    grid-row: 1 / -1;
  }
  .alongside .least-regret-arrowshaft svg {
    height:100%;
    width:0.125em;
    display:block;
  }
  .alongside .least-regret-arrowhead {
    display: flex;
    flex-shrink:0;
    justify-items:center;
    width:1em;
    transform: translateY(-0.01em) rotate(90deg);
  }
  .least-regret-arrowhead.vert1 {
    grid-column:2;
    grid-row:-1;
  }
  .least-regret-arrowhead.vert2 {
    grid-column:6;
    grid-row:-1;
  }
}


.client-control .grid {
  grid-template-columns: repeat(4, minmax(0,17.4em));
}
@media screen and (max-width: 78em) {
  .client-control .grid {
    grid-template-columns: repeat(2, minmax(0,24em));
  }
}
@media screen and (max-width: 51.5em) {
  .client-control .grid {
    grid-template-columns: repeat(2, 17.4em);
  }
}

@media screen and (max-width: 40.25em) {
  .client-control .grid {
    grid-template-columns: minmax(0, 24em);
  }
}

.adoption .grid {
  grid-template-columns: 1fr 30px 1fr 30px 1fr 30px 1fr;
  column-gap: 0.5em;
  /*gap:0;*/
}
@media screen and (max-width: 66.125em) {
  .adoption .grid {
    grid-template-columns: auto;
    row-gap:0.5rem;
  }
  .adoption .grid .item:nth-child(2n+2) {
    grid-column: 1 / -1;
    justify-self: center;
    transform: rotate(90deg);
  }
}

.partner-led .grid {
  grid-template-columns: repeat(3,minmax(0,21.6em));
}
@media screen and (max-width: 71.625em) {
  .partner-led .grid {
    grid-template-columns: repeat(3, minmax(0,17.36em));
  }
}
@media screen and (max-width: 59em) {
  .partner-led .grid {
    grid-template-columns: auto;
  }
}
@media screen and (max-width: 41.5em) {
  .partner-led .grid {
    grid-template-columns: minmax(0,21.6em);
  }
}

.pilot .grid {
  grid-template-columns: repeat(3, minmax(0,22.1em));
}
@media screen and (max-width: 67.25em) {
  .pilot .grid {
    grid-template-columns: repeat(2, minmax(0,22.1em));
  }
}
@media screen and (max-width: 45.625em) {
  .pilot .grid {
    grid-template-columns: minmax(0,28.6em);
  }
}

/* ENGAGE PAGE GRIDS */

.who-should-contact .grid {
  grid-template-columns: repeat(4, minmax(0,17.5em));
}
@media screen and (max-width: 78.4em) {
  .who-should-contact .grid {
    grid-template-columns: repeat(2, 30.5em);
  }
}
@media screen and (max-width: 66.25em) {
  .who-should-contact .grid {
    grid-template-columns: repeat(2, 17.5em);
  }
}
@media screen and (max-width: 41.25em) {
  .who-should-contact .grid {
    grid-template-columns: minmax(0, 30.5em);
  }
}


@media screen and (max-width: 77.75em) {
  .ways-to-engage .grid {
    grid-template-columns: repeat(2, minmax(0,29.2em));
  }
}
@media screen and (max-width: 63.75em) {
  .ways-to-engage .grid {
    grid-template-columns: repeat(2, minmax(0,23.6em));
  }
}
@media screen and (max-width: 52.625em) {
  .ways-to-engage .grid {
    grid-template-columns: minmax(0,29.2em);
  }
}


.diagnostic .grid {
  grid-template-columns: minmax(0,33em) 33em;
}
.diagnostic-session .layered.table {
  border-radius:16px;
grid-template-columns: minmax(0,33em);
}

@media screen AND (max-width:57em) {
  .diagnostic .grid {
  grid-template-columns: minmax(0,33em);
  }
  .diagnostic-session .layered.table {
    grid-template-columns: minmax(0,33em);
  }
.diagnostic-session .takeaway a {
  font-size:smaller;
}
}
.diagnostic-session .card {
  padding:0;
}
.diagnostic-session .card .flexline {
  justify-content: space-between;
}
.diagnostic-session .item-container {
  padding-top:0.775rem;
  padding-bottom:0.775rem;
}
.diagnostic-session .card .subheading {
  text-align:right;
}

/* INTEGRATORS PAGE GRIDS */

.integrator-why-care .grid {
  grid-template-columns: repeat(2, 27.3em);
}
@media screen and (max-width: 60.2em) {
  .integrator-why-care .grid {
    grid-template-columns: repeat(2,21.75em);
  }
}
@media screen and (max-width: 49em) {
  .integrator-why-care .grid {
    grid-template-columns: auto;
  }
}


.integrator-opportunities .grid {
  grid-template-columns: repeat(3,minmax(0,23.4em));
}

@media screen and (max-width: 77.125em) {
  .integrator-opportunities .grid {
    grid-template-columns: repeat(2,minmax(0,28.1em));
  }
}
@media screen and (max-width: 61.75em) {
  .integrator-opportunities .grid {
    grid-template-columns: repeat(2,minmax(0,23.4em));
  }
}
@media screen and (max-width: 52.25em) {
  .integrator-opportunities .grid {
    grid-template-columns: minmax(0,28.1em);
  }
}

@media screen and (max-width: 32em) {
  .integrator-opportunities .grid {
    grid-template-columns: minmax(0,23.4em);
  }
}


.integrator-where .grid {
  grid-template-columns: repeat(4, minmax(0,19.4em));
}
@media screen and (max-width: 81.5em) {
  .integrator-where .grid {
    grid-template-columns: repeat(2, minmax(0,28.3em));
  }
}
@media screen and (max-width: 62em) {
  .integrator-where .grid {
    grid-template-columns: repeat(2, minmax(0,19.4em));
  }
}
@media screen and (max-width: 44.25em) {
  .integrator-where .grid {
    grid-template-columns: minmax(0,28.3em);
  }
}


.integrator-go-to-market .grid {
  grid-template-columns: 15.5em 30px 15.5em 30px 15.5em 30px 15.5em;
  column-gap: 0.5em;
}
@media screen and (max-width: 74.625em) {
  .integrator-go-to-market .grid {
    grid-template-columns: auto;
    row-gap:0.5rem;
  }
  .integrator-go-to-market .grid .item:nth-child(2n+2) {
    grid-column: 1 / -1;
    justify-self: center;
    transform: rotate(90deg);
  }
}


.integrator-value .grid {
  grid-template-columns: repeat(2, minmax(0,28em));
}

@media screen and (max-width: 61.625em) {
  .integrator-value .grid {
    grid-template-columns: repeat(2, minmax(0,20.625em));
  }
}

@media screen and (max-width: 46.75em) {
  .integrator-value .grid {
    grid-template-columns: minmax(0,28em);
  }
}


/* AUDITORS PAGE GRIDS */


.assurance-gap .grid {
  grid-template-columns: repeat(2, minmax(0,29.9em));
}

@media screen and (max-width: 65.25em) {
  .assurance-gap .grid {
    grid-template-columns: repeat(2,minmax(0,23.25em));
  }
}
@media screen and (max-width: 52em) {
  .assurance-gap .grid {
    grid-template-columns: minmax(0,29.9em);
  }
}


.assurance-applications .grid {
  grid-template-columns: repeat(3, minmax(0, 22.5em));
}
@media screen and (max-width: 74.5em) {
  .assurance-applications .grid {
    grid-template-columns: repeat(3, minmax(0,19.25em));
  }
}
@media screen and (max-width: 64.625em) {
  .assurance-applications .grid {
    grid-template-columns: repeat(2,minmax(0,22.5em));
  }
}
@media screen and (max-width: 50.4em) {
  .assurance-applications .grid {
    grid-template-columns: repeat(2,minmax(0,19.25em));
  }
}
@media screen and (max-width: 44em) {
  .assurance-applications .grid {
    grid-template-columns: minmax(0,22.5em);
  }
}



.new-auditor-workflow .grid {
  grid-template-columns: 1fr 30px 1fr 30px 1fr 30px 1fr 30px 1fr;
  column-gap: 0.5em;
}
.new-auditor-workflow .card-header {
  display:flex;
  height:3em;
}
.new-auditor-workflow .card-header .flexline {
  justify-content:flex-start;
  gap:1em;
}
@media screen and (max-width:83.875em) {
  .new-auditor-workflow .grid {
    grid-template-columns: auto;
    row-gap:0.25em;
  }
  .new-auditor-workflow .grid .item:nth-child(2n+2) {
    grid-column: 1 / -1;
    gap:0.25em;
  }
  .new-auditor-workflow .grid .item:nth-child(2n+2) svg {
    transform:rotate(0deg);
  }
}


.auditor-can-test .card .layered {
  display:grid;
  grid-template-columns: minmax(
      calc(14.1em - var(--card-padding-h) - var(--card-padding-h)),
      calc(20em - var(--card-padding-h) - var(--card-padding-h))
    )
    minmax(
      calc(15em - var(--card-padding-h) - var(--card-padding-h)),
      calc(24.25em - var(--card-padding-h) - var(--card-padding-h))
    )
    minmax(
      calc(15.4em - var(--card-padding-h) - var(--card-padding-h)),
      calc(25.8em - var(--card-padding-h) - var(--card-padding-h))
    );
  gap: 0;
  border-radius: 16px;
}
@media screen and (max-width:65.125em) {
  .auditor-can-test .card .layered {
  grid-template-columns: 
      calc(20em - var(--card-padding-h) - var(--card-padding-h))
      calc(17.6em - var(--card-padding-h) - var(--card-padding-h))
      calc(19.2em - var(--card-padding-h) - var(--card-padding-h));
}
}

@media screen and (max-width:52em) {
  .auditor-can-test .card .layered {
  grid-template-columns: 
    /*  calc(18em - var(--card-padding-h) - var(--card-padding-h))*/
    auto
      calc(17.6em - var(--card-padding-h) - var(--card-padding-h))
      calc(19.2em - var(--card-padding-h) - var(--card-padding-h));
}
}
@media screen and (max-width:46em) {
  .auditor-can-test .card .layered {
  grid-template-columns: 
    /*  calc(18em - var(--card-padding-h) - var(--card-padding-h))*/
    minmax(0,11.1em)
      12.9em
      13.5em;
}
}
.auditor-can-test .layer {
  display:grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  background-color: var(--color-fc);
}
.auditor-can-test .card {
  padding:0;
}

.auditor-can-test .item {
  align-self: center;
}

.auditor-can-test .card .table {
    display:none;
    grid-template-columns: 8.5em auto;
    gap: 0;
    border-radius: 16px;
  }
@media screen and (max-width:41.625em) {
  .auditor-can-test .card .layered {
    display: none;
  }
  .auditor-can-test .card .table {
    display: grid;
  }
  .auditor-can-test .card .table .heading {
    font-weight:normal;
  }
  .auditor-can-test .layered.table .layer,
  .auditor-can-test .layered.table .layer:first-of-type {
    border-bottom: 2px solid var(--color-1d);
  }
  .alternate.auditor-can-test .layered.table .layer {
    border-bottom: 2px solid var(--color-3d);
  }
  .auditor-can-test .layered.table .layer:last-of-type {
    border-bottom:none;
  }
  
  .auditor-can-test .card .table .row {
    grid-column: 1 / -1;
    display:grid;
   grid-template-columns: subgrid; 
    border-bottom: 1px solid var(--color-1d);
  }
  .alternate.auditor-can-test .card .table .row {
    border-bottom: 1px solid var(--color-3d);
  }
  .auditor-can-test .card .table .row:last-of-type {
    border-bottom:none;
  }
  .auditor-can-test .card .table .row .item {
    /*padding:0.5em;*/
    padding-left:calc(var(--card-padding-h)/2);
    padding-right:calc( var(--card-padding-h)/2);
  }
}

@media screen and (max-width:27.125em) {
  .auditor-can-test .card .table .row {
    grid-column: 1 / -1;
    display:grid;
   grid-template-columns:none; 
    border-bottom: 1px solid var(--color-1d);
  }
}
.assurance-opportunity .grid {
  grid-template-columns: repeat(4,minmax(0,18.875em));
}
@media screen AND (max-width:83.75em) {
  .assurance-opportunity .grid {
    grid-template-columns: repeat(4,minmax(0,13em));
  }
}
@media screen AND (max-width:60.5em) {
  .assurance-opportunity .grid {
    grid-template-columns: repeat(2,minmax(0,18.875em));
  }
}
@media screen AND (max-width:43.125em) {
  .assurance-opportunity .grid {
    grid-template-columns: repeat(2,minmax(0,13em));
  }
}
@media screen AND (max-width:30.5em) {
  .assurance-opportunity .grid {
    grid-template-columns: minmax(0,18.875em);
  }
}

/* BANKS PAGE GRIDS */

.bank-challenge .grid {
  grid-template-columns: minmax(0, 25.8em) minmax(0, 25.8em);
}
@media screen and (max-width: 56.8125em) {
  .bank-challenge .grid {
    grid-template-columns: minmax(0, 22.4em) minmax(0, 23.4em);
  }
}
@media screen and (max-width: 50.0625em) {
  .bank-challenge .grid {
    grid-template-columns: minmax(0, 20em) minmax(0, 20em);
  }
}
@media screen and (max-width: 44em) {
  .bank-challenge .grid {
    grid-template-columns: auto;
  }
}


.banking-applications .grid {
  grid-template-columns: repeat(3,minmax(0, 21.3em));
}
@media screen and (max-width: 70.75em) {
  .banking-applications .grid {
    grid-template-columns: repeat(2,minmax(0, 21.3em));
  }
}
@media screen and (max-width: 48em) {
  .banking-applications .grid {
    grid-template-columns: minmax(0, 29.3em);
  }
}


.payment-evidence-path .grid {
  grid-template-columns: auto;
}

/* REGULATORS PAGE GRIDS */

.evidence-problem .grid {
  grid-template-columns: repeat(2,minmax(0,30.1em));
}

@media screen and (max-width: 65.5em) {
  .evidence-problem .grid {
    grid-template-columns: repeat(2,minmax(0,25.5em));
  }
}
@media screen and (max-width: 56.375em) {
  .evidence-problem .grid {
    grid-template-columns: repeat(2,minmax(0,19.5em));
  }
}
@media screen and (max-width: 44.375em) {
  .evidence-problem .grid {
    grid-template-columns: minmax(0,30.1em);
  }
}



.regulatory-applications .grid {
  grid-template-columns: repeat(3,minmax(0, 25em));
}

@media screen and (max-width: 81.75em) {
  .regulatory-applications .grid {
    grid-template-columns: repeat(3,minmax(0, 19.25em));
  }
}
@media screen and (max-width: 64.5em) {
  .regulatory-applications .grid {
    grid-template-columns: repeat(2,minmax(0, 25em));
  }
}

@media screen and (max-width: 55.5em) {
  .regulatory-applications .grid {
    grid-template-columns: repeat(2,minmax(0, 19.5em));
  }
}

@media screen and (max-width: 44.5em) {
  .regulatory-applications .grid {
    grid-template-columns: minmax(0, 25em);
  }
}
@media screen and (max-width: 28em) {
  .regulatory-applications .grid {
    grid-template-columns: minmax(0, 19.5em);
  }
}

.evidence-should-answer .grid {
  grid-template-columns: repeat(4,minmax(0,17.28em));
}

@media screen and (max-width: 77.5em) {
  .evidence-should-answer .grid {
    grid-template-columns: repeat(2,minmax(0,30.352em));
  }
}
@media screen and (max-width: 66.125em) {
  .evidence-should-answer .grid {
    grid-template-columns: repeat(2,minmax(0,17.28em));
  }
}
@media screen and (max-width: 40em) {
  .evidence-should-answer .grid {
    grid-template-columns: minmax(0,30.352em);
  }
}
@media screen and (max-width: 34.25em) {
  .evidence-should-answer .grid {
    grid-template-columns: minmax(0,17.28em);
  }
}

.regulatory-value .grid {
  grid-template-columns: repeat(4,minmax(0,17.4em));
}
@media screen and (max-width: 77.625em) {
  .regulatory-value .grid {
    grid-template-columns: repeat(2,minmax(0,29.55em));
  }
}
@media screen and (max-width: 64.625em) {
  .regulatory-value .grid {
    grid-template-columns: repeat(2,minmax(0,17.4em));
  }
}
@media screen and (max-width: 40.25em) {
  .regulatory-value .grid {
    grid-template-columns: minmax(0,29.55em);
  }
}
@media screen and (max-width: 33.5em) {
  .regulatory-value .grid {
    grid-template-columns: minmax(0,17.4em);
  }
}

/* END OF GRIDS */


.card-footer,
.card .footer {
  margin-top:auto;
  padding-top:0.5rem;
}
.card .card-footer .flexline,
.card .footer .flexline {
  padding:0;
  justify-content: end;
  gap:1rem;
}
.solutions .card-footer .flexline,
.solutions .card .footer .flexline {
  justify-content:start;
}




.grid-h-5x1fr {
  grid-template-columns: repeat(5, auto);
}



.grid-h-1fr-auto,
.footer .grid {
  display: grid;
  grid-template-columns: 1fr auto; /* 1fr = takes remaining space, auto = fits button */
  gap: 2rem; /* Space between the columns */
  align-items: center; /* Align items to the top (or 'center' if you prefer) */
}

section.footer {
  margin: 0 auto;
  background: var(--color-0);
  border-top: 1px solid var(--color-0l);
  /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);*/
  position: sticky;
  bottom: 0;
  z-index: 1000;
  width: 100%;
  color:var(--color-fw);
  font-size:x-small;
  padding-top:0.1rem;
  padding-right:0.5rem;
  padding-bottom:0.1rem;
  padding-left:0.5rem;
}
section.footer .section-container {
  padding:0;
}

section.footer .grid .item:first-child {
  font-size:0.75em;
}
section.footer .grid .item.privacy-and-legal .grid .item {
  font-size:1em;
}
.grid-container {
  padding-top: 0.5rem;
  padding-bottom:0.5rem;
}
.footer .grid-container {
  padding:0;
}
.sealed-object .item.card.grid-container,
.legitimacy-posture .item.card.grid-container {
  padding-left: 0.75rem;
}
/*
.sealed-object .item.card.grid-container {
  padding-right: 0.75rem;
}
*/
.sealed-object .card .grid,
.legitimacy-posture .card .grid {
  display:grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
  "left right-top"
  "left right-bottom";
  row-gap:0;
  column-gap: 1rem;
  padding:0;
  align-items: center;
}
.sealed-object .grid .card .item,
.legitimacy-posture .grid .card .item {
  align-self: start;
}
.sealed-object .card .item-heading,
.legitimacy-posture .card .item-heading {
  font-weight: bold;
  padding-bottom: .25em;
}
.sealed-object .card .item-number,
.legitimacy-posture .card .item-number {
  height: 2em;
  width: 2em;
  padding:0.25em;
  border-radius: 1em;
  background-color: var(--color-3);
  color: var(--color-fc);
  text-align: center;
}
.alternate.sealed-object .card .item-number {
  background-color:var(--color-1d);
  color: var(--color-fw);
}

.footer .grid-h-2xauto {
margin:0;
}

.grid-h-auto-1fr.minicard {
  display:grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
  "left right-top"
  "left right-bottom";
  column-gap: 1rem;
  padding:0;
  align-items: center;
}

/* ─── CARDS ──────────────────────────────────────── */
.cards {
  text-align: center;
  padding-top:0.5rem;
  padding-bottom:0.5rem;
}
.card {
  position:relative;
  text-align:start;
  display: inline-flex;
  flex-direction:column;
  border: 2px solid var(--color-1d);
  border-radius: 16px;
  padding-top: 1rem;
  padding-right: var(--card-padding-h);
  padding-bottom: 1rem;
  padding-left: var(--card-padding-h);
  background: var(--color-fw);
  color:var(--color-0w);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.card.layered {
  padding:0;
}


.event-to-evidence .header {
  font-weight: 700;
  padding-bottom:0.5rem;
}

.event-to-evidence .layer .header.flexline,
.integrator-go-to-market .card-header .flexline,
.integrator-go-to-market .card .header .flexline,
.core-elements .card .header .flexline,
.payment-evidence-path .card .card .header .flexline,
.regulatory-review .card .card .header .flexline {
  justify-content: start;
  align-items: center;
  justify-items: start;
  gap: 1em;
}
.event-to-evidence .layer .heading {
  background: var(--color-1);
  color: var(--color-fc);
  padding-left: 0.5rem;
  padding-right:0.5rem;
  font-size: x-small;
  white-space:nowrap;
}
.alternate.event-to-evidence .layer .heading {
  background: var(--color-3);
}
.event-to-evidence .layer .subheading {
  color: var(--color-3);
  font-weight:700;
}
.alternate.event-to-evidence .layer .subheading {
  color: var(--color-1);
  font-weight:700;
}

.r90 {
  text-align: center;
  background: var(--color-0l);
}
.card .flexline {
  gap:0.5rem;
  /*padding-bottom:0.25rem;*/
}
.alternate .card {
  background: var(--color-0cl);
  color: var(--color-fc);
  border: 2px solid var(--color-3d);
}
.card-header,
.card .header {
/*  font-size:smaller;*/
  padding-bottom:0.5rem;
}
.card-heading,
.card .heading {
  color: var(--color-3);
  font-weight: 700;
 /* margin-bottom:.375rem;*/
}

.flexline .card-heading,
.flexline .card .heading {
  margin-bottom:0;
  align-self:center;
}

.alternate .card-heading,
.alternate .card .heading {
  color:var(--color-1);
}
.card .heading.darker {
  color:var(--color-3d);
}
.alternate .card .heading.darker {
  color: var(--color-1d);
}

.card-subheading,
.card .subheading {
  align-self:center;
  font-weight: bold;
}
.header.flexline .subheading {
  justify-self: stretch;
  margin-right:auto;
}

.alternate .card-text p,
.alternate .card .text p {
  color: var(--color-fc);
}

.card-text + ul,
.card .text + ul  {
  padding-top: 0.5rem;
}
.card-text + .grid-container,
.card .text + .grid-container {
  padding-top: 0.5rem;
}
.card-text + .grid,
.card .text + .grid {
  padding-top: 0.5rem;
}
.card ul {
  padding-left: var(--card-padding-h);
}
.card ul li:first-of-type {
  margin-top: .5rem;
}
.card ul li {
  margin-bottom: .5rem;
  /*line-height:1.1rem;*/
}
.card-footer,
.card .footer {
  color: var(--color-3);
}
.alternate .card-footer,
.alternate .card .footer {
  color: var(--color-1);
}
.card-footer .badge, .card-header .badge,
.card .footer .badge, .card .header .badge  {
  color: var(--color-fc);
}
.alternate .card-footer .badge, .card-header .badge,
.alternate .card .footer .badge, .card .header .badge  {
  color: var(--color-fw);
}
.card .card-footer .badge, .card .card-header .badge,
.card .footer .badge, .card .header .badge {
  padding: 0.15rem 0.5rem 0.15rem 0.5rem;
  background: var(--color-1);
  border-radius: 4px;
  font-weight: bold;
}
.badge .text {
  text-align:center;
}
.alternate .card-footer .badge, .alternate .card .card-header .badge,
.alternate .card .footer .badge, .alternate .card .header .badge {
  background: var(--color-3);
}
.card li::marker {
  color: var(--color-3);
}
.card p:last-of-type {
  padding-bottom:0;
}        
.card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.takeaway {
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--color-0);
  padding-top:0.5rem;
  padding-bottom:0.5rem;
  text-align: center;
  font-size:x-large;
  text-wrap:balance;
}
.alternate .takeaway {
  color: var(--color-fw);
}

.icon {
  display:inline-block;
  height: 1em;
  width: 1em;
  color: var(--color-3);
}
.icon.big {
  height:2em;
  width:2em;
}
.alternate .icon {
  color: var(--color-1);
}

.text a {
  color: var(--color-1d);
}

.alternate .text a {
  color: var(--color-3);
}
a.seemore {
  position:absolute;
  bottom:0.25em;
  right:0.75em;
  color: var(--color-3);
}
.alternate a.seemore {
  color: var(--color-1);
}


.takeaway a {
  color:var(--color-3);
}
.alternate .takeaway a {
  color:var(--color-1);
}
.flexline.reverse {
  flex-direction:row-reverse;
  flex-wrap: wrap;            /* Allows items to move to the next line */
  align-content: flex-start;  /* Wrapped lines stack at the top (below first line) */
  gap: 0.5rem;      
}
.flexline.reverse .badge {
  align-self:flex-start;
  white-space:wrap;
  flex-shrink:1;
}
.flexline.reverse .badge+.heading {
  margin-right:auto;
}
.flexline.reverse .badge {
  flex: 0 1 auto;
}
/*.page-content section:last-of-type .takeaway:last-of-type {
  border-top: 1px solid var(--color-0);
}*/
/* --- Back to Top Button --- */
#backToTopBtn {
  position: fixed;
  bottom: 2rem;
  right: 1rem;
  z-index: 99; /* Ensures it stays above everything */

  /* Styling */
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%; /* Makes it a circle */
  background-color: #888888;
  color: var(--color-fc);
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

  /* Fade transition (instead of display: none) */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show state - toggled by JavaScript */
#backToTopBtn.show {
  opacity: 0.8;
  visibility: visible;
}

#backToTopBtn.show svg {
  opacity:1;
}

.no-border {
  border:none;
}
/* Hover effect */
#backToTopBtn:hover {
  background-color: #555555;
  transform: scale(1.05); /* Slight enlargement on hover */
}

/* Active/click effect */
#backToTopBtn:active {
  transform: scale(0.95);
}
.arrow, .linked {
  align-content: center;
}
.arrow svg, .linked svg {
  display: flex;
  color: var(--color-3);
  
  justify-self:center;
  align-self:center;
}
.arrow svg {
  width: 1.25em;
  height:2em;
}
.linked svg {
  width: 1.5em;
  height:1.5em;
}
.alternate .arrow svg, .alternate .linked svg {
  color: var(--color-1);
}
.arrow.direction_ne_sw svg {
  transform: rotate(45deg);
}

.arrow.direction_w_e svg {
  transform: rotate(-90deg);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (min-width: 48em) {
    .hamburger {
        display: none !important;
    }
    .mobile-menu {
        display: none !important;
    }
    .nav-menu-wrapper {
        display: flex !important;
    }
}

@media (max-width: 48em) {
    .nav-menu-wrapper {
        display: none !important;
    }
    .hamburger {
        display: flex;
    }
    .nav-more {
        display: none !important;
    }
    .mobile-menu {
        display: block;
    }
    .nav-container {
        height: 60px;
        padding: 0 1rem;
    }
    .nav-logo {
        font-size: 1rem;
    }
    .nav-logo svg {
        width: 30px;
        height: 30px;
    }
    .mobile-menu {
        top: 60px;
    }
}







/* ─── TABLET LANDSCAPE: 2 COLUMN ────────────────────────── */



/* ─── TABLET PORTRAIT: 1 COLUMN ────────────────────────── */






/* ─── MOBILE (all orientations): 1 COLUMN ──────────────── */
/* --- Mobile Layout (1 column) --- */
@media screen
  and (max-width: 48em) {

 
  .call-to-action .grid-h-1fr-auto {
    grid-template-columns: 1fr; /* Stacks them vertically */
    gap: 1rem;
  }
  .call-to-action .column-h-1fr-auto_2 {
    justify-self: center;
  }
  .cta-button {
    margin-right:0;
  }
 
  .card:hover {
    transform: none;
  }
}



/* ─── iPad Pro 12.9" LANDSCAPE: 2 COLUMN ────────────────────────── */
@media only screen
  and (orientation: landscape)
  and (min-device-width: 1366px) 
  and (max-device-height: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1.5) { 
    /* Your grid fix goes here */
    .your-grid-class { 
      grid-template-columns: 1fr; /* Force 1 column */
    }
}
/* ─── iPad Pro 12.9" PORTRAIT: 2 COLUMN ────────────────────────── */
@media only screen
  and (orientation: portrait)
  and (min-device-width: 1024px) 
  and (max-device-height: 1366px) 
  and (-webkit-min-device-pixel-ratio: 1.5) { 
    /* Your grid fix goes here */
    .your-grid-class { 
      grid-template-columns: 1fr; /* Force 1 column */
    }
    .who-it-serves .grid
    .best-fit .grid {
    grid-template-columns: repeat(2, 1fr);
    }
    .page-content {
      color: pink;
    }
}
/* ─── iPad Pro 11" LANDSCAPE: 2 COLUMN ────────────────────────── */
@media only screen
  and (orientation: landscape)
  and (min-device-width: 1194px) 
  and (max-device-height: 834px) 
  and (-webkit-min-device-pixel-ratio: 1.5) { 
    /* Your grid fix goes here */
    .your-grid-class { 
      grid-template-columns: 1fr; /* Force 1 column */
    }
}
/* ─── iPad Pro 11" PORTRAIT: 2 COLUMN ────────────────────────── */
@media only screen
  and (orientation: portrait)
  and (min-device-width: 834px) 
  and (max-device-height: 1194px) 
  and (-webkit-min-device-pixel-ratio: 1.5) { 
    /* Your grid fix goes here */
    .your-grid-class { 
      grid-template-columns: 1fr; /* Force 1 column */
    }
}




:root {
  --gold: hsl(39deg 51% 52%);
  --amber:hsl(40.61deg 92.52% 58.04%);
  --teal: hsl(178.8deg 54.95% 64.31%);
  --teal-dark:hsl(180deg 88% 20%);

  --color-1d:hsl(40deg 70% 35%);
  --color-1:hsl(40deg 60% 50%);
  --color-1l:hsl(40deg 50% 75%);
  --color-2d:hsl(180deg 55% 20%);
  --color-2:hsl(180deg 55% 40%);
  --color-2l:hsl(180deg 55% 60%);
  --color-3d:hsl(205deg 60% 25%);
  --color-3:hsl(205deg 57% 40%);
  --color-3l:hsl(205deg 45% 70%);

  --color-4:hsl(140deg 20% 50%);

  --color-0: hsl(210deg 10% 15%);
  --color-0l: hsl(205deg 5% 70%);

  --color-0w: hsl(40deg 15% 15%);
  --color-0c: hsl(205deg 10% 15%);

  --color-0wl: hsl(40deg 15% 20%);
  --color-0cl: hsl(205deg 10% 20%);

  --color-fw: hsl(40, 15%, 90%);
  --color-fc:hsl(205, 15%, 90%);

  --content-max-width: 1440px;
  --card-padding-h: 1.5rem;
}