@font-face {
  font-family: "Manrope";
  src: url("assets/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --navy: #041b4a;
  --navy-900: #031432;
  --navy-800: #08275f;
  --violet: #6424e6;
  --violet-100: #eee7ff;
  --ink: #101828;
  --muted: #667085;
  --line: #d9e2f1;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  --success: #147d64;
  --warning: #b7791f;
  --shadow: 0 18px 48px rgba(4, 27, 74, 0.12);
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  margin: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 226, 241, 0.78);
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(4, 27, 74, 0.08);
}

.brand img,
.site-footer img {
  height: 42px;
  object-fit: contain;
  width: 128px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(14px, 2.4vw, 28px);
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover,
.portal-grid a:hover strong {
  color: var(--violet);
}

.primary-button,
.secondary-button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
}

.primary-button {
  background: var(--violet);
  color: #fff;
}

.secondary-button {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--navy);
}

.primary-button:hover {
  background: #5019be;
}

.hero-section {
  background: var(--surface);
  padding: 0;
}

.eyebrow {
  color: var(--violet);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  color: var(--navy-900);
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 20px;
  margin-top: 18px;
  max-width: 780px;
}

h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.06;
  margin-bottom: 0;
}

h3 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 14px;
}

.text-stack p,
.contact-copy p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
}

.capabilities-banner {
  background: var(--surface);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  min-height: clamp(560px, 70vh, 760px);
  overflow: hidden;
  padding: clamp(36px, 5vw, 72px) clamp(24px, 6vw, 96px);
  position: relative;
  width: 100%;
}

.banner-track {
  display: grid;
  min-height: clamp(410px, 56vh, 570px);
}

.banner-slide {
  align-content: space-between;
  display: grid;
  grid-area: 1 / 1;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: clamp(28px, 5vw, 68px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.banner-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.banner-content {
  align-content: center;
  display: grid;
  max-width: 760px;
}

.banner-slide h1,
.banner-slide h2 {
  color: var(--navy);
  font-size: clamp(48px, 6.2vw, 88px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0 0 clamp(24px, 3vw, 36px);
  max-width: 760px;
}

.banner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.banner-tags span {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 700;
  padding: 10px 16px;
}

.banner-visual {
  align-self: center;
  background:
    linear-gradient(180deg, rgba(100, 36, 230, 0.08), rgba(4, 27, 74, 0.04)),
    var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: clamp(320px, 34vw, 460px);
  overflow: hidden;
  position: relative;
}

.ecosystem-visual::before,
.ecosystem-visual::after {
  background: rgba(100, 36, 230, 0.18);
  content: "";
  height: 2px;
  left: 18%;
  position: absolute;
  right: 18%;
  top: 50%;
}

.ecosystem-visual::after {
  left: 50%;
  right: auto;
  top: 18%;
  width: 2px;
  height: 64%;
}

.visual-node,
.workflow-card,
.document-sheet,
.dashboard-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(4, 27, 74, 0.1);
  color: var(--navy);
}

.visual-node {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 58px;
  padding: 0 20px;
  position: absolute;
}

.main-node {
  background: var(--navy);
  color: #fff;
  font-size: 22px;
  left: 50%;
  min-height: 82px;
  top: 50%;
  transform: translate(-50%, -50%);
}

.node-top {
  left: 50%;
  top: 16%;
  transform: translateX(-50%);
}

.node-left {
  left: 10%;
  top: 58%;
}

.node-right {
  right: 10%;
  top: 58%;
}

.workflow-visual {
  align-content: center;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 42px);
}

.workflow-card {
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 18px;
}

.workflow-card strong {
  font-size: 32px;
  font-weight: 800;
}

.workflow-card span {
  color: var(--muted);
  font-weight: 700;
}

.workflow-card.active {
  border-color: var(--violet);
}

.workflow-card.success {
  border-color: rgba(20, 125, 100, 0.35);
}

.document-visual {
  display: grid;
  justify-items: center;
  padding: clamp(24px, 5vw, 58px);
}

.document-sheet {
  display: grid;
  gap: 14px;
  min-height: 270px;
  padding: 34px;
  width: min(78%, 360px);
}

.document-sheet span {
  background: #dfe7f4;
  border-radius: 999px;
  display: block;
  height: 14px;
}

.document-sheet span:nth-child(2) {
  width: 74%;
}

.document-sheet span:nth-child(3) {
  width: 58%;
}

.qr-mark {
  align-self: end;
  background:
    linear-gradient(90deg, var(--navy) 50%, transparent 0) 0 0 / 18px 18px,
    linear-gradient(var(--navy) 50%, transparent 0) 0 0 / 18px 18px,
    var(--surface);
  border: 8px solid var(--navy);
  height: 82px;
  justify-self: end;
  width: 82px;
}

.payment-pill {
  background: rgba(20, 125, 100, 0.12);
  border-radius: 999px;
  color: var(--success);
  font-weight: 800;
  margin-top: -24px;
  padding: 12px 18px;
}

.dashboard-visual {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  padding: clamp(24px, 5vw, 58px);
}

.dashboard-bar {
  background: linear-gradient(180deg, var(--violet), var(--navy));
  border-radius: 8px 8px 0 0;
  min-height: 44%;
}

.dashboard-bar.tall {
  min-height: 76%;
}

.dashboard-bar.mid {
  min-height: 58%;
}

.dashboard-panel {
  bottom: 36px;
  font-weight: 800;
  left: 36px;
  padding: 14px 18px;
  position: absolute;
}

.banner-controls {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
}

.floating-actions {
  bottom: 18px;
  display: flex;
  gap: 12px;
  position: fixed;
  right: 18px;
  z-index: 30;
}

.floating-actions .primary-button,
.floating-actions .secondary-button {
  box-shadow: 0 12px 28px rgba(4, 27, 74, 0.16);
  min-height: 46px;
  padding: 0 18px;
}

.banner-controls > button {
  align-items: center;
  background: var(--navy);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  line-height: 1;
  width: 42px;
}

.banner-controls > button:hover {
  background: var(--navy-800);
}

.banner-dots {
  align-items: center;
  display: flex;
  gap: 8px;
}

.banner-dots button {
  background: #ccd6e8;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 8px;
  padding: 0;
  transition: background-color 240ms ease, width 240ms ease;
  width: 24px;
}

.banner-dots button.active {
  background: var(--violet);
  width: 42px;
}

.metric-band {
  background: var(--navy-900);
  color: #fff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-band div {
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 5px;
  min-height: 132px;
  padding: 28px clamp(20px, 4vw, 54px);
}

.metric-band strong {
  font-size: 34px;
  font-weight: 800;
}

.metric-band span {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 500;
  line-height: 1.35;
}

.split-section,
.audience-section,
.process-section,
.portal-section,
.faq-section,
.contact-section {
  padding: clamp(58px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.split-section {
  display: grid;
  gap: clamp(28px, 6vw, 80px);
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
}

.text-stack {
  display: grid;
  gap: 18px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
  max-width: 860px;
}

.audience-section,
.portal-section,
.contact-section {
  background: var(--surface-alt);
}

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

.audience-grid article,
.portal-grid a,
.faq-list details,
.question-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.audience-grid article {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.audience-grid article > span {
  color: var(--violet);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.audience-grid p,
.audience-grid li,
.process-list p,
.faq-list p,
.form-note {
  color: var(--muted);
  line-height: 1.5;
}

.audience-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.process-list {
  counter-reset: steps;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list li {
  align-items: start;
  border-top: 1px solid var(--line);
  counter-increment: steps;
  display: grid;
  gap: 18px;
  grid-template-columns: 120px minmax(190px, 0.5fr) minmax(0, 1fr);
  padding: 22px 0;
}

.process-list li::before {
  align-items: center;
  background: var(--violet-100);
  border-radius: 8px;
  color: var(--violet);
  content: counter(steps, decimal-leading-zero);
  display: inline-flex;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  width: 54px;
}

.process-list strong {
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
}

.process-list p {
  margin-bottom: 0;
}

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

.portal-grid a {
  display: grid;
  gap: 10px;
  min-height: 132px;
  padding: 22px;
}

.portal-grid strong {
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
}

.portal-grid span {
  color: var(--muted);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  color: var(--navy);
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}

.faq-list p {
  margin: 14px 0 0;
}

.contact-section {
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.7fr);
}

.question-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.question-form label {
  color: var(--navy);
  display: grid;
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
}

.question-form input,
.question-form select,
.question-form textarea {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 11px 12px;
  width: 100%;
}

.question-form textarea {
  resize: vertical;
}

.question-form input:focus,
.question-form select:focus,
.question-form textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(100, 36, 230, 0.12);
  outline: 0;
}

.form-note {
  font-size: 14px;
  margin: 0;
}

.form-note.success {
  color: var(--success);
  font-weight: 700;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
}

.site-footer a {
  color: var(--navy);
  font-weight: 700;
}

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

  .nav-links {
    display: none;
  }

  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .capabilities-banner {
    min-height: 640px;
  }

  .banner-track {
    min-height: 490px;
  }

  .banner-slide {
    grid-template-columns: 1fr;
  }

  .banner-content {
    align-content: start;
  }

  .banner-slide h1,
  .banner-slide h2 {
    font-size: clamp(40px, 8.8vw, 68px);
    margin: 28px 0 22px;
  }

  .banner-visual {
    min-height: 220px;
  }

  .audience-grid,
  .portal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-list li {
    grid-template-columns: 70px 1fr;
  }

  .process-list p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand img {
    width: 112px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: clamp(28px, 9vw, 38px);
    line-height: 1.08;
  }

  h3 {
    font-size: 21px;
  }

  .capabilities-banner {
    min-height: 520px;
    padding: 20px;
  }

  .banner-track {
    min-height: 370px;
  }

  .banner-slide h1,
  .banner-slide h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .banner-controls {
    gap: 10px;
  }

  .banner-controls > button {
    height: 40px;
    width: 40px;
  }

  .banner-tags span {
    font-size: 14px;
    padding: 9px 12px;
  }

  .banner-visual {
    min-height: 178px;
  }

  .visual-node {
    font-size: 12px;
    min-height: 40px;
    padding: 0 10px;
  }

  .main-node {
    font-size: 18px;
    min-height: 64px;
  }

  .workflow-card {
    min-height: 54px;
    padding: 10px 12px;
  }

  .workflow-card strong {
    font-size: 24px;
  }

  .document-sheet {
    min-height: 150px;
    padding: 18px;
  }

  .qr-mark {
    height: 48px;
    width: 48px;
  }

  .floating-actions {
    bottom: 14px;
    flex-direction: column;
    left: 14px;
    right: 14px;
    position: sticky;
    margin: 0 14px 14px;
  }

  .floating-actions .primary-button,
  .floating-actions .secondary-button {
    min-height: 46px;
  }

  .banner-dots button {
    width: 18px;
  }

  .banner-dots button.active {
    width: 32px;
  }

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

  .metric-band div {
    min-height: 104px;
    padding: 18px 14px;
  }

  .metric-band strong {
    font-size: 30px;
  }

  .metric-band span {
    font-size: 12px;
    line-height: 1.25;
  }

  .audience-grid {
    display: flex;
    gap: 12px;
    margin-left: -18px;
    margin-right: -18px;
    overflow-x: auto;
    padding: 0 18px 8px;
    scroll-snap-type: x mandatory;
  }

  .audience-grid article {
    flex: 0 0 min(82vw, 360px);
    gap: 10px;
    padding: 20px;
    scroll-snap-align: start;
  }

  .audience-grid p,
  .audience-grid li {
    font-size: 15px;
  }

  .audience-grid ul {
    gap: 6px;
  }

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

  .portal-grid a {
    gap: 8px;
    min-height: 108px;
    padding: 16px;
  }

  .portal-grid strong {
    font-size: 18px;
  }

  .portal-grid span {
    font-size: 14px;
  }

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

  .process-list p {
    grid-column: auto;
  }

  .split-section,
  .audience-section,
  .process-section,
  .portal-section,
  .faq-section,
  .contact-section {
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .split-section {
    gap: 18px;
  }

  .text-stack {
    gap: 12px;
  }

  .text-stack p,
  .contact-copy p {
    font-size: 16px;
    line-height: 1.45;
  }

  .section-heading {
    gap: 10px;
    margin-bottom: 24px;
  }

  .process-list {
    gap: 6px;
  }

  .process-list li {
    gap: 8px;
    padding: 16px 0;
  }

  .process-list li::before {
    height: 34px;
    width: 44px;
  }

  .faq-list details {
    padding: 14px 16px;
  }

  .faq-list summary {
    font-size: 16px;
  }

  .question-form {
    gap: 12px;
    padding: 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
