@font-face {
  font-family: "HealthRekha UI";
  src: url("./assets/fonts/InterVariable.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

:root {
  --site-header-height: 82px;
  --ink: #0b1f35;
  --navy: #061a39;
  --blue: #0b63ce;
  --blue-bright: #1769ff;
  --green: #0a9b80;
  --green-deep: #087565;
  --mint: #dff8f0;
  --line: #dce6ee;
  --muted: #597087;
  --canvas: #f4f8fb;
  --font-heading: "HealthRekha UI", Inter, "Avenir Next", Arial, ui-sans-serif, system-ui, sans-serif;
  --font-body: "HealthRekha UI", Inter, "Avenir Next", Arial, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
article[id] {
  scroll-margin-top: 96px;
}

main#top {
  scroll-margin-top: var(--site-header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-body);
  font-synthesis: none;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  touch-action: manipulation;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) auto;
  min-height: var(--site-header-height);
  align-items: center;
  gap: 22px;
  padding: 0 3%;
  background: #fff;
  border-bottom: 1px solid #e8eef3;
  transition:
    min-height 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

body.is-page-scrolled {
  --site-header-height: 68px;
}

body.is-page-scrolled .site-header {
  border-bottom-color: transparent;
  box-shadow: 0 8px 24px rgba(5, 31, 61, 0.1);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
}

.menu-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.site-brand,
.site-brand picture,
.site-brand img {
  display: block;
}

.site-brand img {
  width: 220px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
  transition: width 180ms ease;
}

body.is-page-scrolled .site-brand img {
  width: 190px;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 15px;
  font-weight: 600;
}

.site-header nav button {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  gap: 7px;
  min-height: var(--site-header-height);
  align-items: center;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border: 0;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition:
    min-height 180ms ease,
    color 160ms ease,
    color 160ms ease;
}

.site-header nav button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--blue-bright), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-header nav button span {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.site-header nav button:hover,
.site-header nav button:focus-visible,
.site-header nav button.is-active,
.site-header nav button.is-current {
  color: var(--blue);
}

.site-header nav button:hover::after,
.site-header nav button:focus-visible::after,
.site-header nav button.is-active::after,
.site-header nav button.is-current::after {
  transform: scaleX(1);
}

.site-header nav button.is-active span {
  transform: rotate(225deg) translate(-2px, -1px);
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.text-link {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.preview-action {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.nav-overlay {
  position: fixed;
  top: calc(var(--site-header-height) + 8px);
  right: auto;
  left: 50%;
  z-index: 19;
  width: min(1080px, calc(100% - 48px));
  max-height: min(330px, calc(100svh - var(--site-header-height) - 24px));
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 14px 36px rgba(4, 29, 58, 0.16);
  transform: translateX(-50%);
  animation: nav-overlay-in 160ms ease-out;
  transition: top 180ms ease, max-height 180ms ease;
}

.nav-overlay[hidden],
.nav-panel[hidden] {
  display: none;
}

.nav-overlay-toolbar {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.nav-overlay-toolbar > span {
  display: none;
}

.nav-overlay-toolbar button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: 400 21px/1 var(--font-body);
  cursor: pointer;
}

.nav-panel {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(330px, 1.2fr) minmax(210px, 0.8fr);
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 24px 24px;
}

.nav-panel-intro,
.nav-panel-links,
.nav-panel-focus {
  min-width: 0;
}

.nav-panel-intro {
  padding: 8px 24px 8px 0;
  border-right: 1px solid var(--line);
}

.nav-panel-intro p,
.nav-panel-focus p {
  margin: 0 0 9px;
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-panel-intro h2 {
  margin: 0 0 8px;
  font: 750 22px/1.12 var(--font-heading);
}

.nav-panel-intro > span,
.nav-panel-focus > span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.nav-panel-intro > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
}

.nav-panel-links {
  display: grid;
  align-content: start;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}

.nav-panel-links a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 18px;
  padding: 10px 8px;
  border-bottom: 1px solid #e9eff4;
}

.nav-panel-links a:last-child {
  border-bottom: 0;
}

.nav-panel-links strong {
  font-size: 14px;
}

.nav-panel-links small {
  color: var(--muted);
  font-size: 12px;
}

.nav-panel-links b {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--blue);
  transition: transform 150ms ease;
}

.nav-panel-links a:hover,
.nav-panel-links a:focus-visible {
  color: var(--blue);
  background: #f5f9ff;
  outline: 0;
}

.nav-panel-links a:hover b,
.nav-panel-links a:focus-visible b {
  transform: translateX(4px);
}

.nav-panel-focus {
  align-self: stretch;
  margin: 0 0 0 24px;
  padding: 17px;
  color: #fff;
  background: var(--navy);
  border-left: 4px solid #35cfe0;
}

.nav-panel-focus p {
  color: #62dac2;
}

.nav-panel-focus strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.35;
}

.nav-panel-focus > span {
  color: #b9cad9;
  font-size: 13px;
}

.nav-panel-focus > a {
  display: inline-block;
  margin-top: 12px;
  color: #62dac2;
  font-size: 12px;
  font-weight: 750;
}

@keyframes nav-overlay-in {
  from {
    opacity: 0;
    transform: translate(-50%, -8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.header-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  color: #fff;
  background: var(--blue-bright);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
}

.product-hero {
  position: relative;
  min-height: min(620px, calc(100svh - 92px));
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 66%;
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(1.05) contrast(1.02);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 1080px;
  justify-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 28px 24px 0;
  text-align: center;
}

.hero-kicker,
.eyebrow {
  margin: 0;
  color: #44d4b8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 10px;
}

.hero-kicker span {
  width: 26px;
  height: 2px;
  background: #44d4b8;
}

.hero-content h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 42px;
  line-height: 1.07;
  font-weight: 750;
}

.hero-content h1 span {
  display: block;
  color: var(--green-deep);
}

.hero-description {
  text-wrap: balance;
  max-width: 940px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 3px;
}

.hero-onboarding-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--blue-bright);
  border: 1px solid var(--blue-bright);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 750;
  transition: background 160ms ease, border-color 160ms ease;
}

.hero-onboarding-link:hover,
.hero-onboarding-link:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  outline: 0;
}

.hero-explore-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 11px;
  padding: 0 2px 2px;
  color: var(--blue);
  border-bottom: 1px solid #a9c7e8;
  font-size: 13px;
  font-weight: 750;
  transition: color 160ms ease, border-color 160ms ease;
}

.hero-explore-link span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  transition: background 160ms ease, transform 160ms ease;
}

.hero-explore-link:hover,
.hero-explore-link:focus-visible {
  color: var(--green-deep);
  border-bottom-color: var(--green);
  outline: 0;
}

.hero-explore-link:hover span,
.hero-explore-link:focus-visible span {
  background: var(--green-deep);
  transform: translateX(2px);
}

.abdm-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.58fr);
  align-items: center;
  gap: 38px;
  padding: 26px 7%;
  background: #eef8f7;
  border-bottom: 1px solid #cfe4e2;
}

.abdm-intro {
  display: grid;
  align-content: start;
  gap: 6px;
}

.abdm-intro .eyebrow {
  color: var(--green-deep);
}

.abdm-intro h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 23px;
  line-height: 1.18;
}

.abdm-capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.abdm-capabilities > div {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-content: start;
  gap: 2px 8px;
}

.abdm-capabilities .capability-icon {
  display: grid;
  grid-row: 1 / span 2;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--blue);
}

.capability-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.abdm-capabilities strong {
  font-size: 13px;
}

.abdm-capabilities small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.story-section {
  padding: 94px 5% 150px;
  background: #fff;
}

.section-intro {
  display: grid;
  max-width: 780px;
  gap: 17px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-intro .eyebrow {
  color: var(--blue);
}

.section-intro h2,
.trust-copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 44px;
  line-height: 1.14;
}

.section-intro > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.story-stack {
  max-width: 1180px;
  margin: 0 auto;
}

.story-tile {
  --story-accent: var(--blue);
  position: sticky;
  top: 22px;
  display: grid;
  grid-template-columns: minmax(340px, 0.72fr) minmax(520px, 1.28fr);
  min-height: 500px;
  overflow: hidden;
  margin-bottom: 54px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d7e3ec;
  border-top: 3px solid var(--story-accent);
  border-radius: 7px;
  box-shadow: 0 18px 46px rgba(16, 50, 82, 0.11);
}

.story-tile:nth-of-type(1) { top: 22px; }
.story-tile:nth-of-type(2) { top: 34px; }
.story-tile:nth-of-type(3) { top: 46px; }

.story-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 46px;
}

.story-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.story-heading > div {
  display: grid;
  gap: 5px;
}

.workflow-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--story-accent);
  background: #f3f8fb;
  border: 1px solid #cbdde8;
  border-radius: 6px;
}

.workflow-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.story-copy h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1.14;
}

.story-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  opacity: 1;
  font-size: 16px;
  line-height: 1.55;
}

.challenge-stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  margin-top: 2px;
  padding: 13px 15px;
  background: #f3f8fb;
  border-left: 3px solid var(--story-accent);
}

.challenge-stat > strong {
  color: var(--story-accent);
  font-size: 25px;
  line-height: 1;
}

.challenge-stat span {
  display: grid;
  gap: 3px;
}

.challenge-stat b {
  font-size: 12px;
  line-height: 1.35;
}

.challenge-stat small {
  color: var(--muted);
  opacity: 1;
  font-size: 10px;
  line-height: 1.4;
}

.story-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--story-accent);
}

.story-blue {
  --story-accent: #1769ff;
}

.story-green {
  --story-accent: #078b78;
}

.story-mint {
  --story-accent: #1378b9;
}

.story-ink {
  --story-accent: #315b8a;
}

.story-white {
  --story-accent: #087565;
}

.story-copy .eyebrow {
  color: var(--story-accent);
}

.story-visual {
  align-self: stretch;
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: #f8fbfd;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.story-visual.registration-visual {
  padding: 0;
  overflow: hidden;
  background: #f6fafc;
}

.registration-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.business-visual {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.business-domain-image {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #f7fafc;
  border-bottom: 1px solid var(--line);
}

.business-visual-head {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background: #f5f9fc;
  border-bottom: 1px solid var(--line);
}

.business-visual-head small,
.business-value small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.business-visual-head strong {
  color: var(--blue);
  font-size: 15px;
  text-align: right;
}

.business-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 10px 24px 6px;
  list-style: none;
}

.business-path::before {
  position: absolute;
  top: 23px;
  right: 14%;
  left: 14%;
  height: 1px;
  background: #b9ccdc;
  content: "";
}

.business-path li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-inline: 8px;
  text-align: center;
}

.business-path span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #b9ccdc;
  font-size: 8px;
  font-weight: 800;
}

.business-path li:last-child span {
  background: var(--green-deep);
}

.business-path strong {
  max-width: 110px;
  font-size: 13px;
  line-height: 1.35;
}

.business-value {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: auto;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.business-value > div {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 110px;
  padding: 22px 24px;
  background: #fff;
}

.business-value strong {
  font-size: 15px;
  line-height: 1.4;
}

.visual-heading,
.patient-row,
.consent-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.visual-heading div,
.patient-row div,
.consent-head div {
  display: grid;
  gap: 5px;
}

.visual-heading small,
.patient-row small,
.consent-head small,
.story-visual li small,
.story-visual dl,
.api-request small,
.route-nodes small,
.route-nodes span,
.ops-visual small,
.ops-visual span {
  color: var(--muted);
}

.visual-icon,
.patient-avatar,
.consent-head > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 5px;
  font-weight: 800;
}

.tenant-visual ol {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.tenant-visual li {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 15px 0;
}

.tenant-visual li > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: #657b90;
  background: #eef3f7;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.tenant-visual li div {
  display: grid;
  gap: 4px;
}

.tenant-visual li.is-done > span {
  color: #fff;
  background: var(--green);
}

.tenant-visual li.is-current > span {
  color: #fff;
  background: var(--blue);
}

.patient-row b {
  margin-left: auto;
  padding: 6px 9px;
  color: var(--green-deep);
  background: #e3f7f0;
  border-radius: 4px;
  font-size: 11px;
}

.patient-avatar {
  border-radius: 50%;
  background: var(--green);
}

.identity-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 36px 0;
  padding-top: 14px;
  border-top: 3px solid #e3ebf1;
}

.identity-rail span {
  position: relative;
  color: #8091a2;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.identity-rail span::before {
  position: absolute;
  top: -22px;
  left: 50%;
  width: 13px;
  height: 13px;
  content: "";
  background: #d4dfe8;
  border: 3px solid #fff;
  border-radius: 50%;
  transform: translateX(-50%);
}

.identity-rail .is-done::before,
.identity-rail .is-active::before {
  background: var(--green);
}

.identity-rail .is-active {
  color: var(--blue);
}

.identity-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #eff9f6;
  border-left: 3px solid var(--green);
}

.identity-result > span {
  color: var(--green);
  font-size: 24px;
}

.identity-result div {
  display: grid;
  gap: 5px;
}

.api-visual {
  display: grid;
  gap: 28px;
  background: #f5f9fd;
}

.api-request {
  display: grid;
  gap: 9px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
}

.api-request strong {
  color: var(--green-deep);
  font-size: 25px;
}

.api-request span {
  width: max-content;
  padding: 5px 8px;
  color: var(--blue);
  background: #e8f1ff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
}

.route-line {
  display: flex;
  align-items: center;
  padding-inline: 50px;
}

.route-line b {
  height: 2px;
  flex: 1;
  background: #8eb0d4;
}

.route-line i {
  width: 13px;
  height: 13px;
  background: var(--green);
  border: 3px solid #d8f5ee;
  border-radius: 50%;
}

.route-nodes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.route-nodes div {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.route-nodes span {
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 750;
}

.consent-head > span {
  background: var(--green);
  border-radius: 50%;
}

.consent-visual dl {
  display: grid;
  margin: 12px 0 0;
}

.consent-visual dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.consent-visual dd {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
}

.integration-visual {
  display: grid;
  gap: 32px;
  background: #f7fbfa;
}

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

.integration-source span {
  display: grid;
  min-height: 78px;
  place-items: center;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
}

.integration-route {
  display: flex;
  align-items: center;
}

.integration-route b {
  height: 2px;
  flex: 1;
  background: #78bfae;
}

.integration-route i {
  width: 12px;
  height: 12px;
  background: var(--green);
  border: 3px solid #cff2e9;
  border-radius: 50%;
}

.integration-route span {
  padding: 8px 11px;
  color: var(--green-deep);
  background: #e3f7f0;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.integration-target {
  display: grid;
  gap: 8px;
  padding: 24px;
  color: #fff;
  background: var(--navy);
  border-left: 4px solid #45cfb4;
}

.integration-target small,
.integration-target span {
  color: #afc7db;
}

.integration-target strong {
  font-size: 20px;
}

.developer-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr);
  align-items: start;
  gap: 56px;
  overflow: hidden;
  padding: 72px max(5%, calc((100% - 1280px) / 2));
  color: var(--ink);
  background: #fff;
  border-top: 1px solid var(--line);
}

.developer-copy {
  display: grid;
  gap: 19px;
}

.developer-copy .eyebrow {
  color: var(--green-deep);
}

.developer-copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1.14;
}

.developer-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.developer-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-top: 6px;
  color: var(--blue);
  font-weight: 800;
}

.api-console {
  overflow: hidden;
  background: #061a35;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  box-shadow: 0 28px 64px rgba(1, 19, 42, 0.38);
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 18px;
  background: #0b2850;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.console-bar span {
  width: 9px;
  height: 9px;
  background: #6b86a3;
  border-radius: 50%;
}

.console-bar span:nth-child(2) {
  background: #12a68c;
}

.console-bar small {
  margin-left: auto;
  color: #a9bfd4;
}

.api-console pre {
  min-height: 340px;
  margin: 0;
  padding: 32px;
  overflow: auto;
  color: #c6d7e7;
  font: 13px/1.9 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.api-console code > span {
  color: #61dfc5;
  font-weight: 800;
}

.api-console b {
  color: #7de2ce;
}

.role-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: 72px;
  padding: 108px 7%;
  background: #f3f8fb;
}

.role-intro {
  display: grid;
  align-content: start;
  gap: 18px;
}

.role-intro .eyebrow {
  color: var(--green-deep);
}

.role-intro h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 42px;
  line-height: 1.14;
}

.role-intro > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.role-graphic {
  overflow: hidden;
  margin: 12px 0 0;
  background: #fff;
  border: 1px solid #d7e4ec;
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(6, 36, 65, 0.12);
}

.role-graphic img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.role-graphic figcaption {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #f8fbfd;
  border-top: 1px solid var(--line);
}

.role-graphic figcaption span {
  padding: 10px 6px;
  color: #425c73;
  border-right: 1px solid var(--line);
  font-size: 10px;
  font-weight: 750;
  text-align: center;
}

.role-graphic figcaption span:last-child {
  border-right: 0;
}

.role-switcher {
  min-width: 0;
}

.role-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid #bfcfdb;
  scrollbar-width: none;
}

.role-tabs::-webkit-scrollbar {
  display: none;
}

.role-tabs button {
  font: inherit;
}

.role-tabs button {
  min-height: 50px;
  flex: 1 0 auto;
  padding: 0 18px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.role-tabs button:hover,
.role-tabs button:focus-visible,
.role-tabs button[aria-selected="true"] {
  color: var(--blue);
  border-bottom-color: var(--blue);
  outline: 0;
}

.role-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
}

.role-panel[hidden] {
  display: none;
}

.role-panel-lead {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 24px;
  background: #eaf7f3;
  border-bottom: 1px solid #c7e5dc;
}

.role-panel-lead > div {
  display: grid;
  gap: 5px;
}

.role-panel-lead small {
  color: #476d68;
  line-height: 1.45;
}

.role-panel-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--green-deep);
  border-radius: 6px;
}

.role-panel-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

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

.role-list article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 128px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.role-list article:nth-child(2n) {
  border-right: 0;
}

.role-list article:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  border-right: 0;
}

.role-list strong {
  font-size: 15px;
}

.role-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.role-list a {
  width: max-content;
  margin-top: auto;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.ops-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 0;
  overflow: hidden;
  background: var(--line);
}

.ops-visual div {
  display: grid;
  min-height: 150px;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background: #fff;
}

.ops-visual strong {
  font-size: 29px;
}

.ops-visual .up {
  color: var(--green-deep);
}

.ops-visual .review {
  color: #ad7100;
}

.non-public-note {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 8px 10px;
  color: #31516a;
  background: #e9f0f5;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 750;
}

.onboarding-section {
  padding: 86px 7%;
  color: #fff;
  background: #071f3d;
}

.onboarding-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(440px, 1.22fr);
  max-width: 1180px;
  align-items: center;
  gap: 86px;
  margin: 0 auto;
}

.onboarding-lead {
  display: grid;
  align-content: center;
  gap: 18px;
}

.onboarding-lead .eyebrow {
  color: #4bd6bc;
}

.onboarding-lead h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 42px;
  line-height: 1.12;
}

.onboarding-lead > p:not(.eyebrow) {
  max-width: 430px;
  margin: 0;
  color: #abc0d4;
  font-size: 16px;
  line-height: 1.65;
}

.onboarding-steps {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.onboarding-steps::before {
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 19px;
  width: 1px;
  background: #2cae9a;
  content: "";
}

.onboarding-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 17px;
  min-height: 72px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.onboarding-steps li > span {
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: #0b4f8f;
  border: 1px solid #468ac9;
  border-radius: 50%;
  box-shadow: 0 0 0 6px #071f3d;
  font-size: 10px;
  font-weight: 800;
}

.onboarding-steps li:last-child > span {
  color: #062e37;
  background: #4bd6bc;
  border-color: #75e6d1;
}

.onboarding-steps li div {
  display: grid;
  align-content: start;
  gap: 5px;
}

.onboarding-steps strong {
  font-size: 15px;
}

.onboarding-steps small {
  color: #aac0d4;
  font-size: 12px;
  line-height: 1.45;
}

.onboarding-action {
  display: grid;
  justify-items: start;
  gap: 20px;
  margin-top: 12px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.onboarding-action div {
  display: grid;
  gap: 6px;
}

.onboarding-action strong {
  color: #fff;
  font-size: 15px;
}

.onboarding-action small {
  color: #9fb5c9;
  line-height: 1.5;
}

.onboarding-action a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  color: #fff;
  background: var(--blue-bright);
  border-radius: 5px;
  font-weight: 750;
  white-space: nowrap;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(460px, 1.05fr);
  align-items: center;
  gap: 56px;
  padding: 110px 7%;
  background: #fff;
}

.trust-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.trust-copy .eyebrow {
  color: var(--blue);
}

.trust-graphic {
  margin: 10px 0 0;
}

.trust-graphic img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.trust-list {
  border-top: 1px solid var(--line);
}

.trust-list > div {
  display: grid;
  grid-template-columns: 18px minmax(150px, 0.48fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.trust-list i {
  width: 10px;
  height: 10px;
  background: var(--green);
  border: 2px solid #d4f4ed;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--green);
}

.trust-list small {
  color: var(--muted);
  line-height: 1.55;
}

footer {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 34px 5%;
  color: #b7c7d6;
  background: #083b67;
}

footer img {
  width: 240px;
  height: 78px;
  object-fit: contain;
  object-position: left center;
}

footer p {
  margin: 0;
}

footer span {
  font-size: 12px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #62dac2;
}

.independence-note {
  grid-column: 1 / -1;
  padding-top: 18px;
  color: #91a9bd;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px;
  line-height: 1.55;
}

.availability-page {
  min-height: 100svh;
  background: #fff;
}

.access-header {
  display: flex;
  min-height: var(--site-header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 5%;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.access-header .site-brand img {
  height: 68px;
}

.access-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 750;
}

.access-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 52px 5% 80px;
}

.access-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(480px, 1.18fr);
  align-items: center;
  gap: 56px;
  min-height: 480px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.access-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.access-copy .eyebrow {
  color: var(--green-deep);
}

.access-copy h1 {
  max-width: 610px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 46px;
  line-height: 1.08;
}

.access-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.access-copy > a {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 800;
}

.access-hero > img {
  display: block;
  width: 118%;
  max-width: none;
  transform: translateX(-4%);
}

.access-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  padding: 1px;
  background: var(--line);
}

.access-options article {
  display: grid;
  min-height: 250px;
  align-content: start;
  gap: 10px;
  padding: 30px;
  background: #fff;
}

.access-options p,
.access-options h2,
.access-options span {
  margin: 0;
}

.access-options p {
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.access-options h2 {
  font-size: 22px;
}

.access-options span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.access-options strong {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--blue);
  font-size: 13px;
}

.access-options i,
.trust-list i {
  width: 9px;
  height: 9px;
  background: var(--green);
  border: 2px solid #d9f5ed;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--green);
}

.access-contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 52px;
  margin-top: 54px;
  padding: 36px 40px;
  color: #fff;
  background: var(--navy);
  border-left: 4px solid var(--green);
}

.access-contact > div {
  display: grid;
  gap: 9px;
}

.access-contact .eyebrow {
  color: #5ce0c5;
}

.access-contact h2,
.access-contact > p {
  margin: 0;
}

.access-contact h2 {
  font-size: 25px;
}

.access-contact > p {
  color: #c2d3e2;
  line-height: 1.6;
}

.access-contact strong {
  color: #fff;
}

@media (min-width: 1181px) {
  .product-hero {
    min-height: max(620px, calc(100svh - 210px));
  }

  .abdm-section {
    min-height: 128px;
  }

  .role-section[id],
  .trust-section[id],
  .onboarding-section[id] {
    min-height: calc(100svh - 68px);
    align-content: center;
    scroll-margin-top: 68px;
  }

  .role-section {
    grid-template-areas:
      "intro intro"
      "graphic switcher";
    grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
    column-gap: 72px;
    row-gap: 34px;
  }

  .role-intro {
    grid-area: intro;
    grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
    column-gap: 72px;
    row-gap: 8px;
    align-items: end;
  }

  .role-intro .eyebrow {
    grid-column: 1;
    grid-row: 1;
  }

  .role-intro h2 {
    grid-column: 1;
    grid-row: 2;
  }

  .role-intro > p:not(.eyebrow) {
    grid-column: 2;
    grid-row: 1 / span 2;
    max-width: 600px;
    align-self: center;
  }

  .role-graphic {
    grid-area: graphic;
    align-self: start;
    margin-top: 0;
  }

  .role-switcher {
    grid-area: switcher;
    align-self: start;
  }

  .developer-section {
    min-height: auto;
    align-content: start;
    align-items: start;
  }

  .story-section {
    --story-stage-header: 126px;
    --story-stage-gap: 14px;
    position: relative;
    padding: 0 4.5% clamp(110px, 16vh, 170px);
    background: #fff;
  }

  .story-section > .section-intro {
    position: sticky;
    top: var(--site-header-height);
    z-index: 12;
    grid-template-columns: minmax(330px, 0.8fr) minmax(420px, 1.2fr);
    grid-template-rows: auto auto;
    width: 100%;
    max-width: 1280px;
    min-height: var(--story-stage-header);
    align-items: center;
    gap: 5px 56px;
    margin: 0 auto;
    padding: 21px 30px 22px;
    text-align: left;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #d5e3e9;
    border-top: 3px solid var(--green);
    box-shadow: 0 14px 34px rgba(7, 41, 68, 0.1);
  }

  .story-section > .section-intro .eyebrow {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }

  .story-section > .section-intro h2 {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    font-size: 30px;
    line-height: 1.12;
  }

  .story-section > .section-intro > p:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
    max-width: 590px;
    font-size: 15px;
    line-height: 1.55;
  }

  .story-stack {
    max-width: 1280px;
  }

  .story-tile {
    top: calc(var(--site-header-height) + var(--story-stage-header) + var(--story-stage-gap));
    grid-template-columns: minmax(330px, 0.76fr) minmax(0, 1.24fr);
    height: clamp(548px, calc(100svh - var(--site-header-height) - var(--story-stage-header) - 28px), 750px);
    min-height: 0;
    margin-bottom: clamp(110px, 18vh, 190px);
  }

  .story-tile:nth-of-type(1) {
    top: calc(var(--site-header-height) + var(--story-stage-header) + var(--story-stage-gap));
    z-index: 1;
  }

  .story-tile:nth-of-type(2) {
    top: calc(var(--site-header-height) + var(--story-stage-header) + var(--story-stage-gap));
    z-index: 2;
  }

  .story-tile:nth-of-type(3) {
    top: calc(var(--site-header-height) + var(--story-stage-header) + var(--story-stage-gap));
    z-index: 3;
  }

  .story-copy {
    gap: 14px;
    padding: 38px;
  }

  .story-visual {
    align-self: stretch;
    margin: 0;
  }

  .business-visual {
    grid-template-rows: minmax(170px, 1fr) auto auto auto;
    gap: 0;
  }

  .business-domain-image {
    height: 100%;
    min-height: 170px;
  }
}

@media (max-width: 1280px) and (min-width: 1181px) {
  .site-header {
    grid-template-columns: 190px minmax(0, 1fr) auto;
    gap: 14px;
    padding-inline: 2%;
  }

  .site-brand img {
    width: 184px;
  }

  .site-header nav {
    gap: 10px;
    font-size: 13.5px;
  }

  .site-actions {
    gap: 12px;
  }

  .preview-action {
    padding-left: 12px;
  }

  .header-cta {
    padding-inline: 14px;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .menu-button {
    display: block;
    grid-column: 2;
  }

  .site-header nav {
    display: none;
  }

  .site-header.is-menu-open nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 10px 4.5% 18px;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(9, 38, 69, 0.14);
  }

  .site-header.is-menu-open nav button {
    display: flex;
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    border-bottom: 1px solid #e8eef3;
  }

  .site-header.is-menu-open nav button:last-child {
    border-bottom: 0;
  }

  .site-header.is-menu-open nav button::after {
    height: 2px;
  }

  .nav-panel {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    padding-inline: 20px;
  }

  .nav-panel-intro {
    padding: 14px 22px 14px 0;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .nav-panel-links {
    padding: 4px 0 4px 22px;
    border-right: 0;
    border-bottom: 0;
  }

  .nav-panel-focus {
    display: none;
  }

  .hero-media {
    height: 64%;
    object-position: center bottom;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .story-tile {
    position: relative;
    top: auto !important;
    grid-template-columns: 1fr;
  }

  .story-visual {
    margin: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .onboarding-steps {
    grid-template-columns: 1fr;
  }

  .onboarding-layout {
    grid-template-columns: 1fr;
    max-width: 760px;
    gap: 42px;
  }

  .role-graphic {
    max-width: 560px;
  }

  .trust-graphic {
    max-width: 680px;
  }

  .trust-section {
    grid-template-columns: 1fr;
  }

  .abdm-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .abdm-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
  }

  .developer-section {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .role-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .access-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 30px;
  }

  .access-hero > img {
    width: 100%;
    transform: none;
  }
}

@media (max-width: 680px) {
  :root,
  body.is-page-scrolled {
    --site-header-height: 72px;
  }

  .site-header {
    gap: 12px;
    padding-inline: 14px;
  }

  .site-brand img {
    width: 168px;
    height: 48px;
    max-height: none;
  }

  body.is-page-scrolled .site-brand img {
    width: 168px;
  }

  .site-actions {
    gap: 0;
  }

  .nav-overlay {
    top: calc(var(--site-header-height) + 8px);
    width: calc(100% - 24px);
    max-height: calc(100svh - var(--site-header-height) - 20px);
  }

  .nav-overlay-toolbar {
    padding-inline: 18px;
  }

  .nav-panel {
    grid-template-columns: 1fr;
    padding: 4px 18px 24px;
  }

  .nav-panel-intro {
    padding: 12px 42px 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-panel-links {
    padding: 4px 0;
  }

  .nav-panel-intro h2 {
    font-size: 24px;
  }

  .nav-panel-links a {
    padding-inline: 2px;
  }

  .nav-panel-focus {
    padding: 20px;
  }

  .text-link {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .product-hero {
    min-height: min(580px, calc(100svh - 118px));
  }

  .hero-media {
    right: 0;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 47%;
    object-position: center bottom;
  }

  .hero-content {
    gap: 10px;
    padding: 30px 20px 0;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-description {
    max-width: 360px;
    font-size: 14px;
  }

  .hero-actions {
    width: auto;
    flex-wrap: wrap;
  }

  .abdm-section,
  .story-section,
  .developer-section,
  .role-section,
  .onboarding-section,
  .trust-section {
    padding: 70px 14px;
  }

  .abdm-section {
    padding-block: 22px;
  }

  .section-intro {
    margin-bottom: 38px;
    text-align: left;
  }

  .section-intro h2,
  .developer-copy h2,
  .trust-copy h2,
  .role-intro h2,
  .onboarding-lead h2 {
    font-size: 32px;
  }

  .abdm-intro h2 {
    font-size: 24px;
  }

  .role-list {
    grid-template-columns: 1fr;
  }

  .role-list article,
  .role-list article:nth-child(2n) {
    min-height: auto;
    border-right: 0;
  }

  .role-panel-lead {
    align-items: flex-start;
    padding: 20px;
  }

  .story-tile {
    min-height: auto;
    margin-bottom: 24px;
  }

  .story-copy {
    padding: 26px 20px;
  }

  .story-copy h3 {
    font-size: 27px;
  }

  .challenge-stat {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
    padding: 14px 16px;
  }

  .challenge-stat span {
    display: contents;
  }

  .challenge-stat b {
    grid-column: 2;
    align-self: center;
  }

  .challenge-stat small {
    grid-column: 1 / -1;
    padding-top: 7px;
    border-top: 1px solid #dce6ee;
    font-size: 11px;
  }

  .story-visual {
    margin: 0;
    padding: 0;
  }

  .business-visual {
    gap: 0;
    padding: 0;
  }

  .business-domain-image {
    height: 180px;
  }

  .business-visual-head {
    min-height: 68px;
    align-items: center;
    flex-direction: row;
    gap: 12px;
    padding: 15px 18px;
  }

  .business-visual-head strong {
    font-size: 13px;
    text-align: right;
  }

  .business-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 10px;
    padding: 8px 14px;
  }

  .business-path::before {
    display: none;
  }

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

  .business-value > div {
    min-height: auto;
    padding: 16px;
  }

  .business-value small {
    font-size: 10px;
  }

  .business-value strong {
    font-size: 13px;
  }

  .ops-visual {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }

  .ops-visual div {
    min-height: 125px;
    padding: 16px;
  }

  .route-nodes {
    grid-template-columns: 1fr;
  }

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

  .integration-source span {
    min-height: 56px;
  }

  .integration-route span {
    white-space: normal;
  }

  .api-console pre {
    min-height: 300px;
    padding: 22px;
  }

  .onboarding-steps {
    grid-template-columns: 1fr;
  }

  .onboarding-steps li {
    min-height: 68px;
  }

  .onboarding-action {
    justify-items: stretch;
  }

  .onboarding-action a {
    width: 100%;
    justify-content: center;
  }

  .trust-list > div {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .trust-list small {
    grid-column: 2;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .access-header {
    min-height: 72px;
    padding-inline: 14px;
  }

  .access-header .site-brand img {
    width: 168px;
    height: 48px;
  }

  .access-back {
    font-size: 12px;
  }

  .access-main {
    padding: 34px 14px 54px;
  }

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

  .access-copy h1 {
    font-size: 34px;
  }

  .access-options {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .access-options article {
    min-height: 210px;
    padding: 24px;
  }

  .access-contact {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 34px;
    padding: 28px 24px;
  }

}

@media (max-width: 460px) {
  .site-actions {
    display: none;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .menu-button {
    grid-column: 2;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .product-hero {
    min-height: min(560px, calc(100svh - 112px));
  }

  .hero-content {
    padding-top: 28px;
  }

  .identity-rail {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }

  .consent-visual dl div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .story-heading {
    align-items: flex-start;
  }

  .role-tabs button {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 4px;
    font-size: 11px;
    line-height: 1.3;
    white-space: normal;
  }

}

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 50;
  padding: 12px 16px;
  color: #fff;
  background: var(--blue);
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

:focus-visible {
  outline: 2px solid var(--green-deep);
  outline-offset: 4px;
}

.product-hero {
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr);
  row-gap: 48px;
}

.hero-content { grid-row: 1; padding-top: 24px; }

.hero-media {
  position: static;
  grid-row: 2;
  width: 100%;
  height: 100%;
  max-height: 500px;
  min-height: 0;
  padding-top: 0;
}

.hero-kicker { color: var(--green-deep); }

.journey-outcome { padding-top: 16px; border-top: 1px solid var(--line); }
.story-anchor { display: block; height: 0; scroll-margin-top: 96px; }
.journey-outcome strong { color: var(--story-accent); font-size: 13px; }
.journey-outcome p { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.story-copy > a { max-width: 100%; width: fit-content; line-height: 1.5; }
.story-copy > a span { flex-shrink: 0; }
.business-value strong { line-height: 1.5; }

.detail-section,
.help-section {
  padding: 72px max(5%, calc((100% - 1280px) / 2));
  background: #fff;
  border-top: 1px solid var(--line);
}

.detail-heading { max-width: 760px; margin-bottom: 32px; }
.detail-heading .eyebrow, .help-section .eyebrow, .connector-flow .eyebrow { color: var(--green-deep); }
.detail-heading h2, .help-section h2 { margin: 12px 0; font-size: 32px; line-height: 1.2; }
.detail-heading > p:last-child, .trust-description { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.detail-grid {
  display: grid;
  /* Keep milestone and commercial cards in one readable vertical flow. */
  grid-template-columns: 1fr;
  gap: 32px;
}
.detail-grid article { min-width: 0; border-top: 2px solid var(--line); padding-top: 20px; }
.detail-grid article:nth-child(2) { border-color: var(--green); }
.detail-grid article:first-child { border-color: var(--blue); }
.detail-grid h3 { margin: 8px 0 12px; font-size: 21px; line-height: 1.35; }
.detail-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.detail-grid .stage-label { color: var(--green-deep); font-size: 12px; font-weight: 700; }
.detail-grid .boundary { margin-top: 18px; font-size: 13px; }
.boundary strong { color: var(--ink); }
.section-note { color: var(--muted); font-size: 13px; line-height: 1.65; }
.detail-section > .section-note { margin: 30px 0 0; }

.connector-flow { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.connector-flow ol { margin: 24px 0; padding-left: 24px; }
.connector-flow li { padding: 0 0 22px 10px; }
.connector-flow li:last-child { padding-bottom: 0; }
.connector-flow li::marker { color: var(--blue); font-weight: 700; }
.connector-flow strong { font-size: 17px; }
.connector-flow p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.connector-flow > div { border-top: 1px solid var(--line); padding-top: 20px; scroll-margin-top: 96px; }
.connector-flow h3 { margin: 0; font-size: 17px; }
.trust-list > div[id] { scroll-margin-top: 96px; }

.help-section { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; }
.help-content { min-width: 0; }
.help-content p { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.help-content strong { color: var(--ink); }
.help-content a, .access-contact a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.footer-links { flex-wrap: wrap; }

@media (min-width: 1181px) {
  .story-anchor { scroll-margin-top: calc(var(--site-header-height) + var(--story-stage-header) + var(--story-stage-gap)); }
}

@media (max-width: 1180px) {
  .detail-grid { gap: 24px; }
}

@media (max-width: 760px) {
  .detail-grid, .help-section { grid-template-columns: 1fr; gap: 28px; }
  .detail-section, .help-section { padding: 48px 20px; }
  .detail-heading h2, .help-section h2 { font-size: 28px; }
}

@media (max-width: 680px) {
  .product-hero { min-height: auto; grid-template-rows: auto auto; row-gap: 32px; }
  .hero-media { height: auto; max-height: none; aspect-ratio: 1672 / 941; }
  .hero-content { padding: 26px 20px 0; }
  .hero-content h1 { font-size: 30px; line-height: 1.15; }
  .hero-actions { gap: 12px 18px; }
  .connector-flow { padding: 22px 18px; }
  .business-value { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .hero-content h1 { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .nav-overlay {
    animation: none;
    transition: none;
  }
}
