:root {
  --ink: #20282d;
  --ink-2: #11191d;
  --ink-3: #263539;
  --paper: #f6f6f4;
  --paper-2: #ffffff;
  --paper-3: #ededeb;
  --line: rgba(32, 40, 45, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --muted: #70777a;
  --muted-2: #9ca8af;
  --white: #ffffff;
  --black: #0b0f12;
  --blue: #335cff;
  --accent-blue: #3366ff;
  --accent-grey: #869099;
  --radius: 2px;
  --header: 80px;
  --ease: cubic-bezier(0.22, 0.8, 0.22, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
  overflow-x: clip;
  overflow-y: auto;
}

body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: clip;
  overflow-y: auto;
  touch-action: pan-y;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

li {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

::selection {
  color: var(--white);
  background: var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-140%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.adina-wide {
  width: min(100% - 72px, 1440px);
  margin: 0 auto;
  padding-inline: 0;
}

.section {
  padding: clamp(44px, 4vw, 72px) 0;
}

@keyframes heroImageDrift {
  0% {
    transform: scale(1.03) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softPulse {
  0%,
  100% {
    opacity: 0.34;
    transform: scaleX(0.76);
  }

  50% {
    opacity: 0.72;
    transform: scaleX(1);
  }
}

@keyframes ambientSweep {
  0% {
    transform: translate3d(-42%, -8%, 0) rotate(12deg);
  }

  100% {
    transform: translate3d(42%, 8%, 0) rotate(12deg);
  }
}

@keyframes mediaDrift {
  0%,
  100% {
    transform: scale(1) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.018) translate3d(0, -8px, 0);
  }
}

@keyframes cardBreath {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(32, 40, 45, 0);
  }

  50% {
    box-shadow: 0 12px 34px rgba(32, 40, 45, 0.055);
  }
}

@keyframes darkCardBreath {
  0%,
  100% {
    background-color: transparent;
  }

  50% {
    background-color: rgba(255, 255, 255, 0.035);
  }
}

@keyframes pulseBorder {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
}

@keyframes listMarkerPulse {
  0%,
  100% {
    opacity: 0.46;
  }

  50% {
    opacity: 0.9;
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms var(--ease-out) var(--reveal-delay, 0ms),
    transform 700ms var(--ease-out) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-topline {
  min-height: 40px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
}

.header-topline .row {
  min-height: 40px;
}

.header-topline a,
.header-topline span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 500;
}

.header-topline .text-center span {
  color: var(--muted);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  min-height: var(--header);
}

.brand {
  color: var(--ink);
  font-size: 38px;
  line-height: 1;
  font-weight: 800;
}

.footer-brand {
  color: var(--white);
}

.primary-navigation {
  display: flex;
  justify-content: center;
  gap: 44px;
  align-items: center;
}

.primary-navigation a {
  position: relative;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.primary-navigation a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.primary-navigation a:hover {
  color: var(--muted);
}

.primary-navigation a:hover::after {
  transform: scaleX(1);
}

.mobile-nav-cta,
.mobile-portal-link {
  display: none !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-toggle,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}

.language-toggle {
  min-height: 42px;
  gap: 8px;
  padding: 0 14px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border-radius: 999px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition:
    transform 180ms var(--ease),
    opacity 180ms var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.portal-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 24px;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition:
    color 180ms var(--ease),
    background 180ms var(--ease),
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.portal-login-link:hover {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 14px 32px rgba(32, 40, 45, 0.16);
  transform: translateY(-2px);
}

.adina-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  color: var(--ink);
  background: var(--white);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  transition:
    color 180ms var(--ease),
    background 180ms var(--ease),
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.adina-btn:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 16px 38px rgba(32, 40, 45, 0.18);
  transform: translateY(-3px);
}

.adina-btn-dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.adina-btn-dark:hover {
  color: var(--ink);
  background: var(--white);
}

.adina-btn-light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.adina-btn-light:hover {
  color: var(--white);
  background: transparent;
  border-color: var(--white);
}

.adina-hero {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #bfbfbd;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.08) 54%, rgba(0, 0, 0, 0.28)),
    rgba(32, 40, 45, 0.22);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.03) brightness(0.84);
  transform: scale(1.03);
  animation: heroImageDrift 18s var(--ease-out) infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 4;
  padding: clamp(58px, 7vh, 82px) 0 clamp(86px, 10vh, 108px);
}

.hero-content > * {
  opacity: 0;
  animation: heroContentIn 760ms var(--ease-out) forwards;
}

.hero-content > *:nth-child(2) {
  animation-delay: 90ms;
}

.hero-content > *:nth-child(3) {
  animation-delay: 180ms;
}

.hero-content > *:nth-child(4) {
  animation-delay: 260ms;
}

.hero-content > *:nth-child(5) {
  animation-delay: 340ms;
}

.hero-kicker,
.td-section-title-pre {
  display: inline-block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-kicker {
  color: rgba(255, 255, 255, 0.84);
}

.adina-hero h1 {
  max-width: 840px;
  margin-top: 22px;
  color: var(--white);
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: 0.95;
  font-weight: 800;
}

.adina-hero h1 span {
  display: block;
}

.hero-lead,
.hero-proof-line {
  max-width: 660px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-proof-line {
  max-width: 680px;
  margin-top: 14px;
  font-size: 16px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 36px;
}

.section-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  margin-top: 28px;
}

.section-cta-bar.is-centered {
  justify-content: center;
  margin-top: clamp(28px, 3vw, 42px);
}

.section-cta-bar.is-tight {
  margin-top: 18px;
}

.section-cta-bar.is-on-dark .section-cta-link {
  color: rgba(255, 255, 255, 0.88);
}

.section-cta-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  transition:
    opacity 180ms var(--ease),
    transform 180ms var(--ease);
}

.section-cta-link.is-light,
.ecosystem-copy .section-cta-link,
.calculator-section .section-cta-link,
.rollout-section .section-cta-link {
  color: rgba(255, 255, 255, 0.88);
}

.section-cta-link:hover {
  opacity: 0.72;
  transform: translateX(4px);
}

.section-cta-band {
  margin-top: clamp(28px, 3vw, 42px);
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.section-cta-band.is-on-dark {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
}

.section-cta-band p {
  max-width: 720px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}

.section-cta-band.is-on-dark p {
  color: rgba(255, 255, 255, 0.68);
}

.hero-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  transition:
    opacity 180ms var(--ease),
    transform 180ms var(--ease);
}

.hero-link:hover {
  opacity: 0.78;
  transform: translateX(4px);
}

.hero-bottom-nav {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(32, 40, 45, 0.22);
  backdrop-filter: blur(8px);
}

.hero-bottom-nav a {
  position: relative;
  display: flex;
  min-height: 80px;
  align-items: center;
  min-width: 0;
  gap: clamp(8px, 1vw, 14px);
  padding: 0 clamp(18px, 2.2vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  transition:
    background 220ms var(--ease),
    transform 220ms var(--ease);
}

.hero-bottom-nav a::before {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(18px, 2.2vw, 42px);
  left: clamp(18px, 2.2vw, 42px);
  height: 2px;
  background: var(--white);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition:
    opacity 220ms var(--ease),
    transform 220ms var(--ease);
}

.hero-bottom-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-bottom-nav a:hover::before {
  opacity: 0.7;
  transform: scaleX(1);
}

.hero-bottom-nav a:last-child {
  border-right: 0;
}

.hero-bottom-nav span {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 900;
}

.hero-bottom-nav b {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 800;
  line-height: 1.15;
}

.proof-strip {
  padding: 46px 0 0;
  background: var(--paper);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
}

.proof-grid article {
  position: relative;
  min-height: 112px;
  padding: 20px;
  border-right: 1px solid var(--line);
  animation: cardBreath 6.5s var(--ease) infinite;
  transition:
    background 220ms var(--ease),
    transform 220ms var(--ease);
}

.proof-grid article:nth-child(2),
.trust-grid article:nth-child(2),
.pricing-grid article:nth-child(2),
.borrower-steps li:nth-child(2),
.rollout-steps li:nth-child(2),
.ai-grid article:nth-child(2) {
  animation-delay: -1.4s;
}

.proof-grid article:nth-child(3),
.trust-grid article:nth-child(3),
.pricing-grid article:nth-child(3),
.borrower-steps li:nth-child(3),
.rollout-steps li:nth-child(3),
.ai-grid article:nth-child(3) {
  animation-delay: -2.8s;
}

.proof-grid article:nth-child(4),
.trust-grid article:nth-child(4),
.borrower-steps li:nth-child(4),
.rollout-steps li:nth-child(4),
.ai-grid article:nth-child(4) {
  animation-delay: -4.2s;
}

.proof-grid article:last-child {
  border-right: 0;
}

.proof-grid strong {
  display: block;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

.proof-grid span {
  display: block;
  max-width: 220px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.proof-grid article:hover {
  background: #fbfbfa;
  transform: translateY(-4px);
}

.company-carousel {
  margin-top: clamp(30px, 4vw, 54px);
  overflow: hidden;
}

.company-strip {
  display: flex;
  gap: 24px;
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.company-strip::-webkit-scrollbar {
  display: none;
}

.company-strip article {
  flex: 0 0 clamp(260px, 27vw, 390px);
  min-width: 0;
  scroll-snap-align: start;
  transition:
    transform 220ms var(--ease);
}

.company-strip article:hover {
  transform: translateY(-5px);
}

.company-strip .company-card {
  display: inline-flex;
  width: 100%;
  min-height: 136px;
  align-items: center;
  gap: 18px;
  justify-content: center;
  padding: 36px 26px;
  background: var(--white);
  box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.06);
}

.company-strip .company-name {
  display: block;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}

.adina-title {
  color: var(--ink);
  font-size: clamp(32px, 3.6vw, 58px);
  line-height: 0.98;
  font-weight: 800;
}

.adina-title.light {
  color: var(--white);
}

.section-copy {
  color: var(--muted);
  font-size: 16px;
}

.adina-title + .section-copy {
  margin-top: 22px;
}

.section-copy.light {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  max-width: 960px;
  margin-bottom: clamp(28px, 3vw, 42px);
}

.section-head.text-center {
  margin-right: auto;
  margin-left: auto;
}

.section-head .adina-title {
  margin-top: 12px;
}

.adina-about {
  background:
    linear-gradient(135deg, rgba(32, 40, 45, 0.05) 0 1px, transparent 1px) 0 0 / 34px 34px,
    var(--paper);
}

.about-collage {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.44fr);
  grid-template-rows: auto auto;
  gap: 22px;
  margin-top: 52px;
}

.collage-main {
  grid-row: span 2;
  min-height: clamp(300px, 30vw, 420px);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #d5d3cf;
}

.collage-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-out);
}

.collage-main:hover img,
.client-visual:hover img {
  transform: scale(1.035);
}

.collage-panel {
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--white);
  transition:
    border-color 220ms var(--ease),
    box-shadow 220ms var(--ease),
    transform 220ms var(--ease);
}

.dark-block {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.dark-block > :not(.dark-block-accents):not(.service-kit-bg) {
  position: relative;
  z-index: 3;
}

.dark-block-accents {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.dark-block-accents::before,
.dark-block-accents::after {
  content: "";
  position: absolute;
  display: block;
}

.dark-block-accents::before {
  bottom: -52px;
  left: -36px;
  width: clamp(220px, 28vw, 420px);
  height: clamp(140px, 18vw, 260px);
  background: var(--accent-blue);
  clip-path: polygon(0 100%, 0 24%, 64% 0, 100% 16%, 100% 100%);
}

.dark-block-accents::after {
  top: -76px;
  right: -92px;
  width: clamp(240px, 32vw, 480px);
  height: clamp(200px, 26vw, 400px);
  background: var(--accent-grey);
  clip-path: polygon(40% 0, 100% 0, 100% 56%, 74% 100%, 0 84%, 0 20%);
}

/* Ecosystem — orange pulled left of center */
.dark-block-accents-ecosystem::before {
  bottom: -64px;
  left: -48px;
  width: clamp(260px, 32vw, 460px);
  height: clamp(150px, 16vw, 240px);
  clip-path: polygon(0 100%, 0 18%, 58% 0, 100% 22%, 100% 100%);
}

.dark-block-accents-ecosystem::after {
  top: -72px;
  right: auto;
  left: 28%;
  width: clamp(210px, 26vw, 380px);
  height: clamp(190px, 22vw, 340px);
  clip-path: polygon(32% 0, 100% 0, 100% 64%, 70% 100%, 0 88%, 0 16%);
}

/* AI — swapped corners, sharper blue wedge */
.dark-block-accents-ai::before {
  bottom: -40px;
  left: auto;
  right: -56px;
  width: clamp(200px, 24vw, 360px);
  height: clamp(180px, 20vw, 300px);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 0 38%);
}

.dark-block-accents-ai::after {
  top: -48px;
  right: auto;
  left: -64px;
  width: clamp(180px, 22vw, 320px);
  height: clamp(160px, 18vw, 280px);
  clip-path: polygon(0 0, 88% 0, 100% 42%, 62% 100%, 0 100%);
}

/* Calculator — wide blue base, compact orange flag */
.dark-block-accents-calculator::before {
  bottom: -28px;
  left: 12%;
  right: auto;
  width: clamp(280px, 38vw, 520px);
  height: clamp(110px, 12vw, 180px);
  clip-path: polygon(0 100%, 0 32%, 100% 0, 100% 100%);
}

.dark-block-accents-calculator::after {
  top: -52px;
  right: 8%;
  left: auto;
  width: clamp(150px, 16vw, 240px);
  height: clamp(170px, 18vw, 260px);
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 0 72%, 0 28%);
}

/* Rollout — tall blue slice, orange bottom corner */
.dark-block-accents-rollout::before {
  bottom: 8%;
  left: -72px;
  width: clamp(120px, 14vw, 200px);
  height: clamp(240px, 28vw, 420px);
  clip-path: polygon(0 0, 100% 12%, 100% 88%, 0 100%);
}

.dark-block-accents-rollout::after {
  top: auto;
  bottom: -80px;
  right: -48px;
  left: auto;
  width: clamp(260px, 30vw, 440px);
  height: clamp(170px, 18vw, 280px);
  clip-path: polygon(0 36%, 100% 0, 100% 100%, 24% 100%);
}

/* Get started CTA — blue upper-right, grey lower-left (on dark card) */
.dark-block-accents-inquiry::before {
  bottom: auto;
  top: -28%;
  left: auto;
  right: -8%;
  width: clamp(160px, 20vw, 280px);
  height: clamp(140px, 16vw, 240px);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 68%, 0 18%);
}

.dark-block-accents-inquiry::after {
  top: auto;
  bottom: -36%;
  left: -10%;
  right: auto;
  width: clamp(210px, 24vw, 340px);
  height: clamp(120px, 13vw, 180px);
  clip-path: polygon(0 0, 100% 32%, 100% 100%, 0 100%);
}

/* Footer — restrained accents, orange upper-left of center */
.dark-block-accents-footer::before {
  bottom: -36px;
  left: auto;
  right: 6%;
  width: clamp(180px, 20vw, 300px);
  height: clamp(120px, 14vw, 200px);
  clip-path: polygon(0 100%, 22% 0, 100% 18%, 100% 100%);
}

.dark-block-accents-footer::after {
  top: -44px;
  right: auto;
  left: 18%;
  width: clamp(160px, 18vw, 280px);
  height: clamp(140px, 16vw, 240px);
  clip-path: polygon(0 24%, 100% 0, 100% 76%, 0 100%);
}

/* Package detail heroes — five distinct layouts */
.dark-block-accents-package-a::before {
  bottom: -60px;
  left: -40px;
  width: clamp(200px, 26vw, 380px);
  height: clamp(130px, 15vw, 220px);
  clip-path: polygon(0 100%, 0 20%, 70% 0, 100% 14%, 100% 100%);
}

.dark-block-accents-package-a::after {
  top: -68px;
  right: 22%;
  left: auto;
  width: clamp(170px, 20vw, 300px);
  height: clamp(150px, 17vw, 260px);
  clip-path: polygon(38% 0, 100% 0, 100% 58%, 0 100%, 0 22%);
}

.dark-block-accents-package-b::before {
  bottom: 12%;
  left: auto;
  right: -48px;
  width: clamp(140px, 16vw, 240px);
  height: clamp(220px, 24vw, 360px);
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 92%);
}

.dark-block-accents-package-b::after {
  top: -56px;
  left: -52px;
  right: auto;
  width: clamp(190px, 22vw, 340px);
  height: clamp(160px, 18vw, 280px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18% 100%);
}

.dark-block-accents-package-c::before {
  bottom: -32px;
  left: 20%;
  width: clamp(240px, 30vw, 420px);
  height: clamp(100px, 11vw, 160px);
  clip-path: polygon(0 100%, 0 40%, 100% 0, 100% 100%);
}

.dark-block-accents-package-c::after {
  top: 10%;
  right: -60px;
  left: auto;
  width: clamp(130px, 14vw, 220px);
  height: clamp(200px, 22vw, 340px);
  clip-path: polygon(0 0, 100% 16%, 100% 100%, 0 84%);
}

.dark-block-accents-package-d::before {
  bottom: -48px;
  left: -56px;
  width: clamp(180px, 20vw, 320px);
  height: clamp(200px, 22vw, 340px);
  clip-path: polygon(0 100%, 0 0, 100% 28%, 100% 100%);
}

.dark-block-accents-package-d::after {
  top: -80px;
  left: 38%;
  right: auto;
  width: clamp(200px, 24vw, 360px);
  height: clamp(170px, 19vw, 290px);
  clip-path: polygon(44% 0, 100% 0, 100% 100%, 0 68%, 0 12%);
}

.dark-block-accents-package-e::before {
  bottom: 6%;
  left: -36px;
  width: clamp(110px, 12vw, 180px);
  height: clamp(260px, 28vw, 440px);
  clip-path: polygon(0 0, 100% 6%, 100% 94%, 0 100%);
}

.dark-block-accents-package-e::after {
  top: -64px;
  right: 14%;
  left: auto;
  width: clamp(220px, 25vw, 400px);
  height: clamp(150px, 16vw, 250px);
  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
}

.collage-panel.is-dark,
.pricing-grid article.featured {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.collage-panel.is-dark::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -28px;
  right: -24px;
  left: auto;
  bottom: auto;
  width: 96px;
  height: 88px;
  background: var(--accent-blue);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 28% 100%);
  pointer-events: none;
}

.collage-panel.is-dark::after {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: -20px;
  left: -14px;
  top: auto;
  right: auto;
  width: 104px;
  height: 72px;
  background: var(--accent-grey);
  clip-path: polygon(0 100%, 0 18%, 100% 0, 100% 100%);
  pointer-events: none;
}

.pricing-grid article.featured::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 18%;
  left: -28px;
  bottom: auto;
  right: auto;
  width: 72px;
  height: 140px;
  background: var(--accent-blue);
  clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
  pointer-events: none;
}

.pricing-grid article.featured::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -38px;
  right: -20px;
  left: auto;
  bottom: auto;
  width: 112px;
  height: 96px;
  background: var(--accent-grey);
  clip-path: polygon(30% 0, 100% 0, 100% 70%, 0 100%);
  pointer-events: none;
}

.collage-panel.is-dark > *,
.pricing-grid article.featured > * {
  position: relative;
  z-index: 1;
}

.collage-panel.is-dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.collage-panel span,
.ai-card-number,
.trust-grid span,
.rollout-steps span,
.fact-list span,
.borrower-steps span,
.pricing-grid article > span,
.form-intro > span {
  display: inline-flex;
  min-width: 38px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.collage-panel h3 {
  margin-top: 36px;
  color: inherit;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
}

.collage-panel p {
  margin-top: 16px;
  color: inherit;
  opacity: 0.72;
}

.collage-panel:hover {
  border-color: rgba(32, 40, 45, 0.28);
  box-shadow: 0 18px 45px rgba(32, 40, 45, 0.08);
  transform: translateY(-5px);
}

.service-rows {
  background: var(--white);
  padding-top: clamp(56px, 5vw, 76px);
  padding-bottom: clamp(56px, 5vw, 82px);
}

.adina-service-kit {
  position: relative;
  isolation: isolate;
  width: 100vw;
  min-height: max(620px, calc(100svh - var(--header)));
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: var(--ink);
}

.service-kit-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(0.72) saturate(0.92);
  transform: scale(1.02);
  transition: opacity 360ms var(--ease), transform 700ms var(--ease-out);
}

.service-kit-bg-intake {
  background-image: url("assets/marketing/business-building-in-city-2026-01-09-07-07-45-utc.jpg");
}

.service-kit-bg-portal {
  background-image: url("assets/marketing/eef3c3d0-631f-4bd9-971d-9e9d524f0146-2026-06-20.png");
}

.service-kit-bg-ai {
  background-image: url("assets/marketing/b1eb8aa1-2dea-4de3-b922-5ffc2b216134-2026-06-20.png");
}

.service-kit-bg-repayment {
  background-image: url("assets/marketing/woman-enjoy-hong-kong-night-view.jpg");
}

.service-kit-bg-client {
  background-image: url("assets/marketing/client-loans-app-mockup.png");
}

.adina-service-kit[data-active-package="intake"] .service-kit-bg-intake,
.adina-service-kit[data-active-package="portal"] .service-kit-bg-portal,
.adina-service-kit[data-active-package="ai"] .service-kit-bg-ai,
.adina-service-kit[data-active-package="repayment"] .service-kit-bg-repayment,
.adina-service-kit[data-active-package="client"] .service-kit-bg-client {
  opacity: 1;
  transform: scale(1.04);
}

.adina-service-kit::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 25, 29, 0.62), rgba(17, 25, 29, 0.28) 42%, rgba(17, 25, 29, 0.66)),
    linear-gradient(180deg, rgba(17, 25, 29, 0.24), rgba(17, 25, 29, 0.72));
}

.adina-service-kit > .row {
  min-height: inherit;
}

.adina-service-kit .td-service-border {
  position: relative;
  min-height: inherit;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.adina-service-kit .td-service-border:last-child {
  border-right: 0;
}

.adina-service-kit .td-service-border::before {
  position: absolute;
  right: 0;
  bottom: 0;
  content: "";
  width: 1px;
  height: 0;
  background-color: var(--white);
  transition: all 0.4s ease;
}

.adina-service-kit .td-service-border:hover::before {
  top: 0;
  bottom: inherit;
  height: 100%;
}

.adina-service-kit .td-service-wrap {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px 40px 50px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.adina-service-kit .td-service-cetagory {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  display: inline-block;
  padding: 12px 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: none;
}

.adina-service-kit .td-service-number {
  position: absolute;
  top: 40px;
  left: 34px;
  padding-bottom: 0;
  color: transparent;
  opacity: 0;
  visibility: hidden;
  font-size: clamp(104px, 8vw, 150px);
  line-height: 1;
  font-weight: 700;
  -webkit-text-stroke: 1px rgba(249, 246, 246, 0.1);
  transform: translateY(-60px);
  transition: all 0.4s ease;
}

.adina-service-kit .td-service-content {
  color: var(--white);
  transform: translateY(128px);
  transition: all 0.4s ease;
}

.adina-service-kit .td-service-content-inner {
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.adina-service-kit .td-service-title {
  margin: 0;
  color: var(--white);
  font-size: clamp(28px, 2.3vw, 38px);
  line-height: 1.18;
  font-weight: 500;
}

.adina-service-kit .td-service-content-para {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.5;
}

.td-service-read-more {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition:
    color 180ms var(--ease),
    background 180ms var(--ease),
    border-color 180ms var(--ease),
    transform 180ms var(--ease);
}

.td-service-read-more:hover,
.td-service-read-more:focus-visible {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
  transform: translateX(3px);
}

.adina-service-kit .td-service-wrap:hover .td-service-content,
.adina-service-kit .td-service-wrap:focus .td-service-content {
  transform: translateY(0);
}

.adina-service-kit .td-service-wrap:hover .td-service-content-inner,
.adina-service-kit .td-service-wrap:focus .td-service-content-inner,
.adina-service-kit .td-service-wrap:hover .td-service-number,
.adina-service-kit .td-service-wrap:focus .td-service-number {
  opacity: 1;
  visibility: visible;
}

.adina-service-kit .td-service-wrap:hover .td-service-number,
.adina-service-kit .td-service-wrap:focus .td-service-number {
  transform: translateY(0);
}

.adina-service-kit .td-service-wrap:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.82);
  outline-offset: -8px;
}

.package-detail-page {
  color: var(--white);
  background: var(--ink-2);
}

.package-detail-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 25, 29, 0.76), rgba(17, 25, 29, 0.36) 58%, rgba(17, 25, 29, 0.7)),
    var(--detail-bg) center / cover no-repeat;
}

.package-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 0 58%, rgba(17, 25, 29, 0.86));
}

.package-detail-nav {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-top: 28px;
}

.package-detail-nav .brand {
  color: var(--white);
}

.package-detail-content {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  padding-bottom: clamp(58px, 8vw, 100px);
}

.package-detail-content h1 {
  max-width: 860px;
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.92;
  font-weight: 800;
}

.package-detail-content p {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.package-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.package-detail-info {
  color: var(--ink);
  background: var(--paper);
}

.package-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
}

.package-detail-grid article {
  min-height: 250px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.package-detail-grid article:last-child {
  border-right: 0;
}

.package-detail-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.package-detail-grid h2 {
  margin-top: 34px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.08;
  font-weight: 800;
}

.package-detail-grid p {
  margin-top: 14px;
  color: var(--muted);
}

.package-detail-showcase {
  color: var(--ink);
  background: var(--white);
}

.package-detail-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.package-detail-visual {
  min-height: clamp(320px, 42vw, 560px);
  margin: 0;
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 28px 90px rgba(17, 25, 29, 0.12);
}

.package-detail-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

.package-detail-copy span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-detail-copy h2 {
  max-width: 620px;
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 64px);
  line-height: 0.96;
  font-weight: 800;
}

.package-detail-copy p {
  max-width: 640px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

.package-detail-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.package-detail-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  color: var(--ink);
}

.package-detail-list b {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.package-detail-next {
  color: var(--white);
  background: var(--ink);
}

.package-detail-next-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.package-detail-next-grid .section-cta-bar {
  margin-top: 0;
  justify-self: end;
}

.package-detail-next h2 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(34px, 4vw, 64px);
  line-height: 0.96;
  font-weight: 800;
}

.package-detail-next p {
  max-width: 640px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.package-detail-lede {
  color: var(--ink);
  background: var(--paper);
}

.package-detail-lede .adina-title {
  max-width: 920px;
}

.package-detail-lede p {
  max-width: 860px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.package-detail-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.package-detail-section-head h2 {
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 0.98;
  font-weight: 800;
}

.package-detail-section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.package-detail-capabilities {
  color: var(--ink);
  background: var(--white);
}

.package-detail-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
}

.package-detail-feature-grid article {
  min-height: 220px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.package-detail-feature-grid article:nth-child(3n) {
  border-right: 0;
}

.package-detail-feature-grid article:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.package-detail-feature-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.package-detail-feature-grid h3 {
  margin-top: 28px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.12;
  font-weight: 800;
}

.package-detail-feature-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.package-detail-workflows {
  color: var(--ink);
  background: var(--paper);
}

.package-detail-workflows-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.package-detail-workflows-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.package-detail-workflows-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.package-detail-workflows-grid h3 {
  margin-top: 18px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.08;
  font-weight: 800;
}

.package-detail-workflows-grid p {
  margin-top: 14px;
  color: var(--muted);
}

.package-detail-workflows-grid ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.package-detail-workflows-grid li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}

.package-detail-workflows-grid li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-blue);
}

.package-detail-list li span {
  color: var(--muted);
  line-height: 1.55;
}

.ecosystem-section,
.architecture-section,
.ai-section,
.calculator-section,
.rollout-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-2);
}

.ai-section::before,
.calculator-section::before,
.rollout-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -30% -20%;
  background:
    radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(110deg, transparent 0 42%, rgba(255, 255, 255, 0.045) 48%, transparent 56% 100%);
  opacity: 0.7;
  pointer-events: none;
  animation: ambientSweep 16s var(--ease-out) infinite alternate;
}

.rollout-section::before {
  animation-duration: 20s;
  animation-delay: -6s;
}

.ai-section::before {
  animation-duration: 24s;
  animation-delay: -10s;
}

#ai .td-section-title-pre {
  color: var(--white);
}

#ai .adina-title.light {
  color: var(--white);
}

.ecosystem-section {
  border-bottom: 1px solid var(--line-dark);
}

.ecosystem-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.58fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.ecosystem-copy {
  width: min(100%, 920px);
}

.ecosystem-copy .section-copy {
  max-width: 760px;
}

.ecosystem-copy .line-list {
  max-width: 820px;
}

.line-list {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.line-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 62px;
  border-bottom: 1px solid var(--line-dark);
  transition:
    background 220ms var(--ease),
    padding-left 220ms var(--ease);
}

.line-list span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 900;
}

.line-list b {
  color: var(--white);
  font-size: 17px;
}

.line-list li:hover {
  padding-left: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.ecosystem-visual {
  justify-self: center;
  width: min(100%, 430px);
  overflow: hidden;
  background: var(--ink-2);
  transition: transform 700ms var(--ease-out);
}

.ecosystem-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ecosystem-visual:hover {
  transform: translateY(-6px) rotate(-1deg);
}

.architecture-section {
  padding-top: clamp(36px, 4vw, 68px);
  padding-bottom: clamp(36px, 4vw, 68px);
  border-bottom: 1px solid var(--line-dark);
}

.architecture-shell {
  display: flex;
  justify-content: center;
}

.architecture-visual {
  --architecture-edge-mask: 12px;

  position: relative;
  display: flex;
  justify-content: center;
  width: min(100%, 372px);
  padding-left: var(--architecture-edge-mask);
  overflow: hidden;
  background: var(--ink-2);
}

.architecture-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: var(--architecture-edge-mask);
  width: var(--architecture-edge-mask);
  background: var(--ink-2);
  pointer-events: none;
}

.architecture-visual img {
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: screen;
}

.portal-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-caption span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.portal-caption i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--ink);
  animation: softPulse 1800ms var(--ease) infinite;
}

.portal-caption em {
  font-style: normal;
}

.portal-screenshot {
  margin: 0;
  overflow: hidden;
  background: #f4f4f2;
}

.portal-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

.portal-preview {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 540px;
  background: #f4f4f2;
}

.portal-sidebar {
  padding: 24px;
  color: var(--white);
  background: var(--ink);
}

.portal-sidebar strong,
.portal-sidebar small {
  display: block;
}

.portal-sidebar strong {
  font-size: 24px;
  line-height: 1;
}

.portal-sidebar small {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.58);
}

.portal-sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 34px;
}

.portal-sidebar nav span {
  display: flex;
  justify-content: space-between;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 800;
  transition:
    color 180ms var(--ease),
    background 180ms var(--ease),
    transform 180ms var(--ease);
}

.portal-sidebar nav span.active {
  color: var(--ink);
  background: var(--white);
}

.portal-sidebar nav span:hover {
  color: var(--white);
  transform: translateX(4px);
}

.portal-sidebar hr {
  width: 100%;
  height: 1px;
  margin: 18px 0;
  border: 0;
  background: var(--line-dark);
}

.portal-sidebar em {
  font-style: normal;
  opacity: 0.7;
}

.portal-workspace {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.18fr);
  align-content: start;
  gap: 18px;
  min-width: 0;
  padding: 24px;
}

.portal-search-header,
.portal-search-row {
  grid-column: 1 / -1;
}

.portal-search-header,
.portal-panel-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.portal-search-header strong,
.portal-panel-title strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.portal-search-header small,
.portal-panel-title small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.portal-search-header > span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.portal-search-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 10px;
  margin-top: 18px;
}

.portal-search-row span,
.portal-search-row b {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 14px;
}

.portal-search-row b {
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
}

.portal-notices,
.portal-clients {
  margin-top: 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.portal-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.portal-metrics div {
  min-height: 102px;
  padding: 14px;
  background: #fbfbfa;
  transition:
    background 180ms var(--ease),
    transform 180ms var(--ease);
}

.portal-metrics div:hover {
  background: var(--white);
  transform: translateY(-3px);
}

.portal-metrics small,
.portal-metrics strong,
.portal-metrics em {
  display: block;
}

.portal-metrics small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-metrics strong {
  margin-top: 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
}

.portal-metrics em {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.portal-client-table {
  margin-top: 18px;
  overflow-x: auto;
}

.portal-row {
  display: grid;
  grid-template-columns: 1.25fr 0.82fr 1.3fr 0.78fr 0.82fr;
  gap: 12px;
  min-width: 880px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  transition:
    background 180ms var(--ease),
    padding-left 180ms var(--ease);
}

.portal-row:last-child {
  border-bottom: 0;
}

.portal-row:not(.portal-row-head):hover {
  padding-left: 8px;
  background: #f7f7f4;
}

.portal-row-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-row b,
.portal-row small {
  display: block;
}

.portal-row small {
  margin-top: 4px;
  color: var(--muted);
}

.ai-foundation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.ai-foundation article {
  min-height: 200px;
  padding: 24px;
  background: var(--ink-2);
  animation: darkCardBreath 6.8s var(--ease) infinite;
  transition:
    background 220ms var(--ease),
    transform 220ms var(--ease);
}

.ai-foundation article:nth-child(2) {
  animation-delay: -2.2s;
}

.ai-foundation span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-foundation h3 {
  margin-top: 38px;
  color: var(--white);
  font-size: 30px;
  line-height: 1.02;
  font-weight: 800;
}

.ai-foundation p {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
}

.ai-grid {
  display: flex;
  border: 1px solid var(--line-dark);
  border-top: 0;
}

.ai-grid article {
  position: relative;
  flex: 1 1 0;
  min-height: 260px;
  padding: 18px;
  border-right: 1px solid var(--line-dark);
  animation: darkCardBreath 7s var(--ease) infinite;
  transition:
    background 220ms var(--ease),
    flex 320ms var(--ease-out),
    transform 220ms var(--ease);
}

.ai-capability-video {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  background: #0b151a;
  opacity: 0;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transform: translateY(8px);
  transition:
    max-height 320ms var(--ease-out),
    margin 320ms var(--ease-out),
    opacity 220ms var(--ease),
    transform 320ms var(--ease-out);
}

.ai-capability-video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 42%, rgba(11, 21, 26, 0.28)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 42%);
}

.ai-capability-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ai-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.ai-video-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.58);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    opacity 180ms var(--ease),
    transform 180ms var(--ease),
    color 180ms var(--ease);
}

.ai-video-button i {
  display: inline-block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  font-size: 9px;
  line-height: 1;
}

.ai-preview-label {
  display: inline;
  min-width: 0;
  height: auto;
  border: 0;
  border-radius: 0;
  color: currentColor;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.ai-video-button:hover,
.ai-video-button:focus-visible {
  color: var(--white);
  background: transparent;
}

.ai-card-number {
  color: rgba(255, 255, 255, 0.72);
}

.ai-grid article:last-child {
  border-right: 0;
}

.ai-grid h3 {
  margin-top: 14px;
  color: var(--white);
  font-size: 19px;
  line-height: 1.12;
  font-weight: 800;
}

.ai-grid p {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.ai-foundation article:hover,
.ai-grid article:hover,
.ai-grid article:focus-within,
.ai-grid article.is-video-active {
  background: #172126;
  transform: translateY(-5px);
}

.ai-grid article:hover,
.ai-grid article:focus-within,
.ai-grid article.is-video-active {
  flex: 1.8 1 0;
}

.ai-grid article:hover .ai-capability-video,
.ai-grid article:focus-within .ai-capability-video,
.ai-grid article.is-video-active .ai-capability-video {
  max-height: 240px;
  margin-bottom: 18px;
  opacity: 1;
  transform: translateY(0);
}

.ai-grid article:hover .ai-video-button,
.ai-grid article:focus-within .ai-video-button,
.ai-grid article.is-video-active .ai-video-button {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}

.fast-facts-section,
.borrower-section,
.pricing-section {
  background: var(--paper);
}

.fast-facts-grid {
  --bs-gutter-x: 36px;
}

.fast-facts-section {
  overflow: visible;
}

.fast-facts-section .col-lg-5 {
  overflow: visible;
}

.fast-facts-visual {
  --ff-card-width: 186px;
  --ff-card-shift-x: 36px;
  --ff-card-shift-y: 32px;
  position: relative;
  width: min(100%, 330px);
  min-height: 300px;
  margin-top: 28px;
  margin-left: 0;
  margin-right: auto;
  padding: 0 0 48px;
  overflow: visible;
}

.fast-facts-photo {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: calc(100% - 8px);
  max-width: 318px;
  aspect-ratio: 5 / 6;
  max-height: 300px;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: #d8d6d2;
  box-shadow: 0 24px 54px rgba(32, 40, 45, 0.14);
}

.fast-facts-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 800ms var(--ease-out);
}

.fast-facts-visual:hover .fast-facts-photo img {
  transform: scale(1.03);
}

.fast-facts-accent {
  position: absolute;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.fast-facts-accent-blue {
  right: 8px;
  bottom: 18px;
  left: auto;
  width: 72px;
  height: 64px;
  background: var(--accent-blue);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transform: translate(var(--ff-card-shift-x), var(--ff-card-shift-y));
}

.fast-facts-accent-grey {
  top: 10%;
  right: 18px;
  width: 56px;
  height: 48px;
  background: var(--accent-grey);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.fast-facts-portal-card {
  position: absolute;
  z-index: 2;
  right: -10px;
  bottom: 0;
  width: var(--ff-card-width);
  transform: translate(var(--ff-card-shift-x), var(--ff-card-shift-y));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(32, 40, 45, 0.16);
}

.ff-portal-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 9px 7px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #fbfbfa 100%);
}

.ff-portal-head span {
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}

.ff-portal-head em {
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.ff-portal-search {
  margin: 0;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f4f5f6;
}

.ff-portal-search span {
  display: block;
  color: #9aa3ab;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ff-portal-search span::after {
  content: "";
}

.ff-portal-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 7px 9px 9px;
}

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

.ff-portal-split {
  display: contents;
}

.ff-kpi {
  position: relative;
  padding: 5px 3px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  text-align: center;
  overflow: hidden;
}

.ff-kpi::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--accent-grey);
}

.ff-kpi-warn::before {
  background: #e7a23a;
}

.ff-kpi-calm::before {
  background: #7d8b96;
}

.ff-kpi-records::before {
  background: var(--accent-blue);
}

.ff-kpi strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.ff-kpi span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ff-portal-chart {
  margin: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fbfbfa;
}

.ff-portal-chart-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ff-portal-bars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  align-items: end;
  height: 34px;
  padding-top: 2px;
}

.ff-portal-bars span {
  display: block;
  height: var(--h);
  min-height: 7px;
  background: linear-gradient(180deg, #5d86ff 0%, var(--accent-blue) 100%);
  border-radius: 2px 2px 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.ff-portal-bars span:nth-child(even) {
  background: linear-gradient(180deg, #a3adb6 0%, var(--accent-grey) 100%);
}

.ff-portal-bars span:nth-child(3) {
  box-shadow: 0 0 0 1px rgba(47, 95, 255, 0.18);
}

.ff-portal-legend {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.ff-portal-legend li {
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  text-align: center;
}

.ff-portal-rows {
  margin: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.ff-portal-row {
  display: grid;
  grid-template-columns: 0.92fr 1fr 0.92fr;
  gap: 4px;
  align-items: center;
  padding-top: 7px;
  font-size: 8px;
  font-weight: 700;
}

.ff-portal-row-head {
  padding-top: 8px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ff-portal-client {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.ff-portal-row-head span:last-child,
.ff-portal-row span:nth-child(3) {
  text-align: right;
}

.ff-pill {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 2px 5px;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 800;
  line-height: 1.2;
}

.ff-pill-warn {
  color: #8a4b00;
  background: #fff3df;
  border: 1px solid #f3dfbb;
}

.ff-pill-blue {
  color: #1e4f99;
  background: #e8f2ff;
  border: 1px solid #cfe3ff;
}

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

.fact-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition:
    padding-left 220ms var(--ease),
    background 220ms var(--ease);
}

.fact-list b {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
}

.fact-list p {
  grid-column: 2;
  margin-top: -8px;
  color: var(--muted);
}

.fact-list article:hover {
  padding-left: 10px;
  background: rgba(255, 255, 255, 0.5);
}

.borrower-showcase-head {
  max-width: 920px;
}

.borrower-showcase-title {
  max-width: 820px;
}

.borrower-showcase-title-line {
  display: block;
  padding-left: clamp(28px, 7vw, 112px);
  margin-bottom: 10px;
}

.borrower-showcase-title-main {
  display: block;
}

.borrower-showcase-highlight {
  position: relative;
  display: inline-block;
}

.borrower-showcase-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  z-index: -1;
  width: 100%;
  height: 8px;
  background: #eacfc4;
}

.borrower-showcase-stage {
  margin-top: clamp(18px, 2.5vw, 28px);
}

.borrower-showcase-copy {
  padding-bottom: clamp(18px, 3vw, 32px);
}

.borrower-showcase-copy .section-copy {
  max-width: 460px;
  margin-top: 0;
}

.borrower-showcase-arrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  transition: color 180ms var(--ease), transform 180ms var(--ease);
}

.borrower-showcase-arrow:hover {
  color: var(--muted);
  transform: translate(3px, -3px);
}

.borrower-showcase-visual-wrap {
  position: relative;
  margin-top: clamp(-24px, -4vw, -52px);
}

.borrower-showcase-visual {
  margin: 0;
}

.borrower-showcase-play {
  position: absolute;
  left: clamp(16px, 2.5vw, 36px);
  bottom: clamp(16px, 2.5vw, 36px);
  z-index: 2;
  display: inline-flex;
  width: clamp(68px, 6vw, 88px);
  height: clamp(68px, 6vw, 88px);
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(32, 40, 45, 0.46);
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.borrower-showcase-play svg {
  margin-left: 3px;
}

.borrower-showcase-play:hover {
  background: rgba(32, 40, 45, 0.66);
  transform: scale(1.03);
}

.borrower-showcase-play.pulse-border::before,
.borrower-showcase-play.pulse-border::after {
  border-color: rgba(255, 255, 255, 0.38);
}

.pulse-border {
  position: relative;
  z-index: 1;
  border-radius: 50%;
}

.pulse-border::before,
.pulse-border::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 118%;
  height: 118%;
  border: 1px solid rgba(32, 40, 45, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulseBorder 2s linear infinite;
}

.pulse-border::before {
  animation-delay: 0.7s;
}

.client-visual {
  border: 1px solid var(--line);
  overflow: hidden;
  background: #d8d5d0;
  transition:
    box-shadow 260ms var(--ease),
    transform 260ms var(--ease);
}

.client-visual img {
  width: 100%;
  aspect-ratio: 1451 / 1084;
  object-fit: cover;
  transition: transform 800ms var(--ease-out);
}

.client-visual:hover {
  box-shadow: 0 24px 70px rgba(32, 40, 45, 0.12);
  transform: translateY(-5px);
}

.borrower-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 36px;
  border: 1px solid var(--line);
  background: var(--white);
}

.borrower-steps li {
  min-height: 180px;
  padding: 20px;
  border-right: 1px solid var(--line);
  animation: cardBreath 7s var(--ease) infinite;
  transition:
    background 220ms var(--ease),
    transform 220ms var(--ease);
}

.borrower-steps li:last-child {
  border-right: 0;
}

.borrower-steps b {
  display: block;
  margin-top: 32px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.1;
}

.borrower-steps p {
  margin-top: 12px;
  color: var(--muted);
}

.borrower-steps li:hover {
  background: #fbfbfa;
  transform: translateY(-5px);
}

.calculator-card,
.roi-card,
.inquiry-form {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px;
  animation: cardBreath 7.5s var(--ease) infinite;
  transition:
    border-color 220ms var(--ease),
    box-shadow 220ms var(--ease),
    transform 220ms var(--ease);
}

.calculator-card:hover,
.roi-card:hover,
.inquiry-form:hover {
  border-color: rgba(32, 40, 45, 0.28);
  box-shadow: 0 24px 70px rgba(32, 40, 45, 0.1);
  transform: translateY(-4px);
}

.calc-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  color: var(--ink);
}

.calc-header span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.calc-header strong {
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
}

.range-group {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.range-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
  font-weight: 800;
}

.range-label output {
  color: var(--muted);
}

input[type="range"] {
  width: 100%;
  height: 5px;
  appearance: none;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--ink) var(--range-progress, 0%), rgba(32, 40, 45, 0.16) var(--range-progress, 0%));
}

input[type="range"]::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  appearance: none;
  border: 3px solid var(--white);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 3px solid var(--white);
  border-radius: 999px;
  background: var(--ink);
}

.estimate-results,
.roi-results {
  display: grid;
  gap: 1px;
  margin: 24px 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.estimate-results div,
.roi-results div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 62px;
  padding: 16px;
  color: var(--ink);
  background: #fafafa;
  transition:
    background 180ms var(--ease),
    transform 180ms var(--ease);
}

.estimate-results div:hover,
.roi-results div:hover {
  background: var(--white);
  transform: translateX(4px);
}

.estimate-results span,
.roi-results span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.estimate-results strong,
.roi-results strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.roi-section {
  background:
    linear-gradient(135deg, rgba(32, 40, 45, 0.05) 0 1px, transparent 1px) 0 0 / 34px 34px,
    var(--paper);
}

.trust-section {
  background:
    linear-gradient(90deg, rgba(246, 246, 244, 0.82), rgba(246, 246, 244, 0.58)),
    url("assets/marketing/woman-enjoy-hong-kong-night-view.jpg") center / cover no-repeat;
  background-attachment: fixed;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.trust-grid article {
  min-height: 200px;
  padding: 20px;
  border-right: 1px solid var(--line);
  animation: cardBreath 7s var(--ease) infinite;
  transition:
    background 220ms var(--ease),
    transform 220ms var(--ease);
}

.trust-grid article:last-child {
  border-right: 0;
}

.trust-grid h3 {
  margin-top: 36px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.12;
  font-weight: 800;
}

.trust-grid p {
  margin-top: 14px;
  color: var(--muted);
}

.trust-grid article:hover {
  background: #fbfbfa;
  transform: translateY(-5px);
}

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

.pricing-grid article {
  min-height: 300px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
  animation: cardBreath 7s var(--ease) infinite;
  transition:
    box-shadow 240ms var(--ease),
    transform 240ms var(--ease),
    border-color 240ms var(--ease);
}

.pricing-grid article.featured {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.pricing-grid p {
  margin-top: 38px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-grid .featured p {
  color: rgba(255, 255, 255, 0.58);
}

.pricing-grid h3 {
  margin-top: 12px;
  color: inherit;
  font-size: 26px;
  line-height: 1.08;
  font-weight: 800;
}

.pricing-grid strong,
.pricing-grid small {
  display: block;
}

.pricing-grid strong {
  margin-top: 20px;
  color: inherit;
  font-size: 30px;
  line-height: 1;
}

.pricing-grid small {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.pricing-grid .featured small {
  color: rgba(255, 255, 255, 0.68);
}

.pricing-grid .adina-btn {
  margin-top: 24px;
}

.pricing-grid article:hover {
  border-color: rgba(32, 40, 45, 0.28);
  box-shadow: 0 24px 70px rgba(32, 40, 45, 0.1);
  transform: translateY(-7px);
}

.pricing-compare {
  margin-top: 34px;
  border: 1px solid var(--line);
  overflow-x: auto;
  background: var(--white);
}

.pricing-compare > div {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(160px, 1fr));
  min-width: 860px;
  border-bottom: 1px solid var(--line);
}

.pricing-compare > div:last-child {
  border-bottom: 0;
}

.pricing-compare span {
  padding: 16px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms var(--ease);
}

.pricing-compare span:last-child {
  border-right: 0;
}

.pricing-compare > div:first-child span {
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

.faq-section {
  background: var(--paper);
}

.faq-intro {
  display: grid;
  gap: 0;
}

.faq-visual {
  position: relative;
  width: min(100%, 320px);
  margin-top: 24px;
  padding: 12px;
  border-radius: 16px;
  background: #ececea;
  overflow: hidden;
}

.faq-visual-accent {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.faq-visual-accent-left {
  top: -10%;
  bottom: -10%;
  left: -4%;
  width: clamp(52px, 7vw, 78px);
  background: var(--blue);
  clip-path: polygon(0 100%, 0 18%, 50% 0, 100% 18%, 100% 100%);
}

.faq-visual-accent-right {
  top: -8%;
  right: -5%;
  width: clamp(56px, 8vw, 86px);
  height: 82%;
  background: #6f8294;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 58% 72%, 58% 100%, 0 100%);
}

.faq-visual-card {
  position: relative;
  z-index: 1;
  padding: 14px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(32, 40, 45, 0.09);
}

.faq-visual-eyebrow {
  display: block;
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.faq-visual-rule {
  display: block;
  width: 100%;
  height: 1px;
  margin: 7px 0 10px;
  background: var(--line);
}

.faq-visual-block + .faq-visual-block {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.faq-visual-block strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.faq-visual-donut-wrap {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.faq-visual-donut {
  position: relative;
  width: 58px;
  height: 58px;
  margin: 0 auto;
  border-radius: 50%;
  background: conic-gradient(
    var(--blue) 0deg 95deg,
    #7b5ea7 95deg 185deg,
    var(--ink) 185deg 270deg,
    #f08a5d 270deg 360deg
  );
}

.faq-visual-donut::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: var(--white);
}

.faq-visual-tags {
  display: grid;
  gap: 4px;
}

.faq-visual-tags span {
  display: inline-flex;
  width: fit-content;
  padding: 3px 6px;
  border-radius: 5px;
  background: #f3f3f1;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.faq-visual-tags span:nth-child(1) {
  color: var(--blue);
}

.faq-visual-tags span:nth-child(2) {
  color: #7b5ea7;
}

.faq-visual-tags span:nth-child(3) {
  color: var(--ink);
}

.faq-visual-tags span:nth-child(4) {
  color: #d97745;
}

.faq-visual-bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #f3f3f1;
}

.faq-visual-bar:last-child {
  margin-bottom: 0;
}

.faq-visual-bar::before {
  content: "";
  position: absolute;
  inset: 6px 52px 6px 6px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(32, 40, 45, 0.08) 0,
    rgba(32, 40, 45, 0.08) 1px,
    transparent 1px,
    transparent 20%
  );
  border-radius: 4px;
  pointer-events: none;
}

.faq-visual-bar span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: var(--faq-bar);
  min-width: 34px;
  height: 18px;
  padding-left: 6px;
  border-radius: 4px;
  color: var(--white);
  background: linear-gradient(90deg, #5b8cff 0%, var(--blue) 100%);
  font-size: 8px;
  font-weight: 800;
}

.faq-visual-bar:nth-of-type(2) span {
  background: linear-gradient(90deg, #4f5f73 0%, var(--ink) 100%);
}

.faq-visual-bar:nth-of-type(3) span {
  background: linear-gradient(90deg, #8a9cb0 0%, #6f8294 100%);
}

.faq-visual-bar em {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

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

.faq-item {
  border-bottom: 1px solid var(--line);
  transition:
    background 180ms var(--ease),
    padding-left 180ms var(--ease);
}

.faq-item:hover {
  padding-left: 8px;
  background: rgba(255, 255, 255, 0.52);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  width: 100%;
  min-height: 82px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 20px;
  font-weight: 800;
  text-align: left;
}

.faq-symbol {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 18px;
  transition:
    color 180ms var(--ease),
    background 180ms var(--ease),
    transform 180ms var(--ease);
}

.faq-item button[aria-expanded="true"] .faq-symbol {
  color: var(--white);
  background: var(--ink);
  transform: rotate(180deg);
}

.faq-panel {
  max-width: 780px;
  padding: 0 0 24px;
  color: var(--muted);
}

.rollout-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 74px);
  padding-top: 42px;
  border: 0;
}

.rollout-steps::before {
  content: "";
  position: absolute;
  top: 58px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.rollout-steps li {
  position: relative;
  min-height: 0;
  padding: 0;
  border: 0;
  transition:
    transform 220ms var(--ease);
}

.rollout-steps button {
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: transparent;
  text-align: left;
  transition:
    color 220ms var(--ease),
    transform 220ms var(--ease);
}

.rollout-steps span {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.78);
  background: #050708;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.rollout-steps small {
  display: block;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rollout-steps h3 {
  margin-top: 12px;
  color: var(--white);
  font-size: 16px;
  line-height: 1.12;
  font-weight: 800;
}

.rollout-steps p {
  max-width: 250px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 14px;
  line-height: 1.55;
}

.rollout-steps li:hover,
.rollout-steps li:focus-within {
  transform: translateY(-3px);
}

.rollout-steps button:hover,
.rollout-steps button:focus-visible {
  color: var(--white);
}

.rollout-steps button:hover span,
.rollout-steps button:focus-visible span {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.closing-section {
  padding: 48px 0;
  background: var(--paper);
}

.closing-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px;
  color: var(--white);
  background: var(--ink);
  transition:
    box-shadow 260ms var(--ease),
    transform 260ms var(--ease);
}

.closing-card:hover {
  box-shadow: 0 24px 70px rgba(32, 40, 45, 0.16);
  transform: translateY(-5px);
}

.closing-card h2 {
  color: var(--white);
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1;
  font-weight: 800;
}

.closing-card p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
}

.contact-section {
  background: var(--paper);
  padding-top: 70px;
}

.schedule-demo-page {
  background: var(--paper);
}

.schedule-demo-hero {
  padding-top: clamp(56px, 6vw, 92px);
  padding-bottom: clamp(28px, 3vw, 42px);
}

.schedule-demo-process {
  padding-top: 0;
  padding-bottom: clamp(36px, 4vw, 56px);
}

.schedule-demo-process-grid {
  --bs-gutter-x: 36px;
  align-items: start;
}

.schedule-demo-expect {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.schedule-demo-checklist {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.schedule-demo-checklist li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.schedule-demo-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-blue);
  transform: translateY(-50%);
}

.schedule-demo-form-section {
  padding-top: clamp(36px, 4vw, 56px);
}

.schedule-demo-form-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 3vw, 42px);
}

.schedule-demo-form {
  max-width: 920px;
}

.schedule-demo-closing {
  padding-top: 0;
}

.schedule-cta-section {
  padding: clamp(44px, 5vw, 72px) 0;
}

.schedule-cta-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line-dark);
  background: var(--ink-2);
  color: var(--white);
  overflow: hidden;
}

.schedule-cta-card .section-cta-bar {
  margin-top: 0;
  flex-shrink: 0;
}

.schedule-cta-card h2 {
  margin-top: 12px;
  color: var(--white);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.02;
  font-weight: 800;
}

.schedule-cta-card p {
  max-width: 620px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-layout {
  --bs-gutter-x: 36px;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: none;
  margin: 0;
}

.demo-guide {
  padding: 28px 0 28px 8px;
}

.demo-guide-intro {
  max-width: 560px;
}

.demo-guide-title {
  font-size: clamp(32px, 4vw, 44px);
}

.demo-guide-steps {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.demo-guide-steps article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.demo-guide-steps span {
  display: inline-flex;
  min-width: 38px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.demo-guide-steps b {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
}

.demo-guide-steps p {
  margin-top: 10px;
  color: var(--muted);
}

.demo-guide-expect {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 560px;
}

.form-intro,
.form-field-full,
.form-submit,
.form-status {
  grid-column: 1 / -1;
}

.form-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 12px;
}

.form-intro h2 {
  color: var(--ink);
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
}

.form-field {
  display: grid;
  gap: 9px;
}

.form-field label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fbfbfa;
  transition:
    border-color 180ms var(--ease),
    background 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(32, 40, 45, 0.42);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(32, 40, 45, 0.06);
  outline: 0;
}

.form-field textarea {
  min-height: 118px;
  padding-top: 14px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  border-radius: 0;
}

.form-status {
  min-height: 24px;
  color: var(--ink);
  font-weight: 800;
}

.site-footer {
  color: var(--white);
  background: var(--ink-2);
}

.footer-big {
  padding: 80px 0 20px;
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(74px, 15vw, 260px);
  line-height: 0.85;
  font-weight: 800;
  text-align: center;
  border-bottom: 1px solid var(--line-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.5fr 0.55fr;
  gap: 50px;
  padding: 70px 0;
}

.footer-grid p {
  max-width: 520px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.64);
}

.footer-grid h3 {
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 15px;
  font-weight: 700;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

@media (max-width: 1280px) {
  .adina-wide {
    width: min(100% - 48px, 1560px);
  }

  .nav-shell {
    gap: 22px;
  }

  .brand {
    font-size: 34px;
  }

  .primary-navigation {
    gap: 18px;
  }

  .portal-login-link {
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

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

  .ai-grid article {
    flex: initial;
    border-bottom: 1px solid var(--line-dark);
  }

  .ai-grid article:hover,
  .ai-grid article:focus-within,
  .ai-grid article.is-video-active {
    flex: initial;
  }

  .trust-grid,
  .rollout-steps,
  .borrower-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid article:nth-child(2),
  .rollout-steps li:nth-child(2),
  .borrower-steps li:nth-child(2) {
    border-right: 0;
  }

  .trust-grid article:nth-child(-n + 2),
  .borrower-steps li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .rollout-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 42px;
  }

  .rollout-steps li {
    border: 0;
  }
}

@media (max-width: 1080px) {
  :root {
    --header: 68px;
  }

  .header-topline {
    display: none;
  }

  .nav-shell {
    grid-template-columns: auto auto;
    min-height: var(--header);
    gap: 16px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-actions {
    display: none;
  }

  .primary-navigation {
    position: fixed;
    top: var(--header);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 24px 80px rgba(32, 40, 45, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 180ms var(--ease),
      transform 180ms var(--ease);
  }

  .primary-navigation.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-navigation a {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .primary-navigation a:last-child {
    border-bottom: 0;
  }

  .mobile-nav-cta {
    display: flex !important;
    justify-content: center;
    margin-top: 10px;
    border-bottom: 0 !important;
    color: var(--white) !important;
    background: var(--ink);
    font-weight: 900;
  }

  .mobile-portal-link {
    display: flex !important;
    justify-content: center;
    margin-top: 10px;
    border: 1px solid var(--ink) !important;
    color: var(--ink) !important;
    font-weight: 900;
  }

  .adina-hero {
    min-height: calc(100svh - var(--header));
  }

  .hero-content {
    padding: 64px 0 112px;
  }

  .portal-preview,
  .footer-grid,
  .closing-card {
    grid-template-columns: 1fr;
  }

  .hero-bottom-nav {
    position: absolute;
    width: 100%;
    background: var(--ink);
  }

  .hero-bottom-nav a {
    min-height: 62px;
    justify-content: center;
    padding: 0 14px;
    border-right: 1px solid var(--line-dark);
    border-bottom: 0;
    text-align: center;
  }

  .hero-bottom-nav a::before {
    right: 14px;
    left: 14px;
  }

  .proof-grid article,
  .borrower-steps li,
  .trust-grid article,
  .rollout-steps li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .rollout-steps li {
    border-bottom-color: var(--line-dark);
  }

  .proof-grid article:last-child,
  .borrower-steps li:last-child,
  .trust-grid article:last-child,
  .rollout-steps li:last-child {
    border-bottom: 0;
  }

  .collage-main {
    min-height: 360px;
  }

  .ecosystem-shell {
    grid-template-columns: 1fr;
  }

  .ecosystem-visual {
    width: min(100%, 380px);
  }

  .architecture-visual {
    width: min(100%, 372px);
  }

  .portal-preview {
    min-height: auto;
  }

  .portal-sidebar {
    display: none;
  }

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

@media (max-width: 980px) {
  .adina-service-kit {
    min-height: auto;
  }

  .adina-service-kit > .row {
    min-height: auto;
  }

  .adina-service-kit .td-service-border,
  .adina-service-kit .td-service-wrap {
    min-height: 240px;
  }

  .adina-service-kit .td-service-border {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .adina-service-kit .td-service-border:last-child {
    border-bottom: 0;
  }

  .adina-service-kit .td-service-border::before {
    display: none;
  }

  .adina-service-kit .td-service-wrap {
    padding: 24px 22px 34px;
  }

  .adina-service-kit .td-service-number {
    position: static;
    padding-bottom: 54px;
    opacity: 1;
    visibility: visible;
    font-size: 84px;
    transform: none;
  }

  .adina-service-kit .td-service-content,
  .adina-service-kit .td-service-wrap:hover .td-service-content,
  .adina-service-kit .td-service-wrap:focus .td-service-content {
    transform: none;
  }

  .adina-service-kit .td-service-content-inner {
    opacity: 1;
    visibility: visible;
  }

  .adina-service-kit .td-service-title {
    font-size: 26px;
  }

  .adina-service-kit .td-service-cetagory,
  .adina-service-kit .td-service-cetagory-2,
  .adina-service-kit .td-service-cetagory-3,
  .adina-service-kit .td-service-cetagory-4,
  .adina-service-kit .td-service-cetagory-5 {
    top: 18px;
    right: 18px;
    left: auto;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .package-detail-grid {
    grid-template-columns: 1fr;
  }

  .package-detail-showcase-grid,
  .package-detail-next-grid {
    grid-template-columns: 1fr;
  }

  .package-detail-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .package-detail-grid article:last-child {
    border-bottom: 0;
  }

  .package-detail-feature-grid {
    grid-template-columns: 1fr;
  }

  .package-detail-feature-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .package-detail-feature-grid article:last-child {
    border-bottom: 0;
  }

  .package-detail-workflows-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 64px;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: clip;
    overflow-y: auto;
  }

  .site-header,
  main,
  .site-footer {
    max-width: 100%;
    overflow-x: clip;
  }

  img,
  video,
  canvas,
  svg {
    max-width: 100%;
  }

  .adina-wide {
    width: min(100% - 28px, 1560px);
  }

  .section {
    padding: 38px 0;
  }

  .service-rows {
    padding-top: 48px;
  }

  .brand {
    font-size: 28px;
    margin-right: auto;
  }

  .menu-toggle {
    order: 3;
    width: 42px;
    height: 42px;
  }

  .nav-shell {
    display: flex;
    gap: 10px;
  }

  .nav-actions {
    position: static;
    order: 2;
    display: flex;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav-actions .language-toggle {
    min-height: 42px;
    padding: 0 12px;
  }

  .nav-actions .adina-btn,
  .nav-actions .portal-login-link {
    display: none;
  }

  .adina-hero h1 {
    max-width: 96%;
    margin-top: 18px;
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1;
  }

  .hero-lead,
  .hero-proof-line {
    max-width: 100%;
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-proof-line {
    font-size: 14px;
  }

  .hero-content {
    min-height: calc(100svh - var(--header));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 0 92px;
  }

  .hero-bg::before {
    background:
      linear-gradient(180deg, rgba(17, 25, 29, 0.78), rgba(17, 25, 29, 0.5) 48%, rgba(17, 25, 29, 0.84)),
      rgba(32, 40, 45, 0.16);
  }

  .hero-bg img {
    object-position: 56% center;
  }

  .hero-bottom-nav a {
    min-height: 52px;
    flex-direction: column;
    gap: 3px;
    padding: 0 8px;
  }

  .hero-bottom-nav span {
    font-size: 11px;
  }

  .hero-bottom-nav b {
    font-size: 12px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .package-detail-nav {
    padding-top: 18px;
  }

  .package-detail-nav .adina-btn {
    width: auto;
    min-height: 44px;
    padding: 0 14px;
  }

  .package-detail-content {
    padding-top: 120px;
    padding-bottom: 52px;
  }

  .package-detail-content h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .package-detail-content p {
    font-size: 16px;
  }

  .adina-btn,
  .hero-link {
    width: 100%;
  }

  .adina-btn {
    min-height: 50px;
    padding: 0 18px;
    white-space: normal;
  }

  .adina-title + .section-copy {
    margin-top: 18px;
  }

  .row [class*="col-"] + [class*="col-"] .section-copy {
    margin-top: 18px;
  }

  .proof-grid,
  .about-collage,
  .portal-metrics,
  .ai-foundation,
  .ai-grid,
  .trust-grid,
  .borrower-steps,
  .rollout-steps,
  .pricing-grid,
  .schedule-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .schedule-demo-expect {
    margin-top: 24px;
    padding: 22px;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .demo-guide {
    padding: 34px 0 0;
  }

  .demo-guide-expect {
    margin-top: 24px;
  }

  .fast-facts-visual {
    width: min(100%, 300px);
    min-height: 280px;
    margin-top: 24px;
    margin-left: 0;
    margin-right: auto;
    padding-bottom: 40px;
    --ff-card-shift-x: 28px;
    --ff-card-shift-y: 26px;
  }

  .fast-facts-photo {
    left: 0;
    width: calc(100% - 6px);
    max-width: none;
    max-height: 280px;
    border-radius: 22px;
  }

  .fast-facts-portal-card {
    right: -8px;
    bottom: 0;
    width: var(--ff-card-width);
    margin: 0;
    transform: translate(var(--ff-card-shift-x), var(--ff-card-shift-y));
  }

  .fast-facts-accent-blue {
    right: 6px;
    bottom: 14px;
    transform: translate(var(--ff-card-shift-x), var(--ff-card-shift-y));
  }

  .fast-facts-accent-grey {
    top: 8%;
    right: 14px;
  }

  .fact-list {
    margin-top: 24px;
  }

  .about-collage {
    margin-top: 34px;
  }

  .company-strip {
    gap: 14px;
  }

  .company-strip article {
    flex-basis: 100%;
  }

  .company-strip .company-card {
    min-height: 96px;
    gap: 14px;
    padding: 24px 16px;
  }

  .company-strip .company-name {
    font-size: 24px;
  }

  .collage-main {
    min-height: 240px;
  }

  .client-visual img {
    aspect-ratio: 4 / 3;
  }

  .borrower-showcase-title-line {
    padding-left: 0;
  }

  .borrower-showcase-visual-wrap {
    order: -1;
    margin-top: 0;
  }

  .borrower-showcase-copy {
    padding-bottom: 0;
  }

  .borrower-showcase-copy .section-copy {
    max-width: none;
  }

  .trust-section {
    background:
      linear-gradient(180deg, rgba(246, 246, 244, 0.84), rgba(246, 246, 244, 0.64)),
      url("assets/marketing/woman-enjoy-hong-kong-night-view.jpg") 58% center / cover no-repeat;
    background-attachment: scroll;
  }

  .collage-panel,
  .pricing-grid article,
  .trust-grid article,
  .borrower-steps li,
  .rollout-steps li,
  .ai-foundation article,
  .ai-grid article {
    min-height: auto;
  }

  .collage-panel h3,
  .trust-grid h3,
  .borrower-steps b,
  .rollout-steps h3 {
    margin-top: 28px;
  }

  .ecosystem-shell {
    gap: 28px;
  }

  .ecosystem-visual {
    width: min(100%, 260px);
  }

  .architecture-section {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .architecture-visual {
    --architecture-edge-mask: 10px;

    width: min(100%, 302px);
  }

  .architecture-visual img {
    max-width: 292px;
  }

  .portal-workspace {
    display: block;
    padding: 12px;
  }

  .portal-notices,
  .portal-clients {
    margin-top: 14px;
    padding: 12px;
  }

  .portal-notices {
    display: none;
  }

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

  .portal-metrics div {
    min-height: 78px;
    padding: 12px;
  }

  .portal-metrics strong {
    font-size: 20px;
  }

  .portal-caption,
  .portal-search-header,
  .portal-panel-title,
  .estimate-results div,
  .roi-results div,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-search-row {
    grid-template-columns: 1fr;
  }

  .portal-search-row span,
  .portal-search-row b {
    min-height: 44px;
  }

  .portal-row {
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 6px;
    font-size: 13px;
  }

  .portal-row > span:first-child {
    grid-column: auto;
  }

  .portal-row-head {
    display: none;
  }

  .ai-foundation h3 {
    margin-top: 28px;
    font-size: 30px;
  }

  .ai-grid h3 {
    margin-top: 24px;
  }

  .ai-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .ai-grid article {
    width: 100%;
    max-width: 100%;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
    transform: none !important;
  }

  .ai-grid h3 {
    font-size: 18px;
  }

  .ai-grid p {
    font-size: 13px;
  }

  .pricing-grid p {
    margin-top: 28px;
  }

  .pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    overflow: visible;
    padding: 0;
  }

  .pricing-grid article {
    width: 100%;
    max-width: 100%;
    transform: none !important;
  }

  .borrower-steps,
  .trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    overflow: visible;
    padding: 0;
    border: 0;
  }

  .borrower-steps li,
  .trust-grid article {
    width: 100%;
    max-width: 100%;
    border: 1px solid var(--line);
    transform: none !important;
  }

  .rollout-steps {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 0;
    padding-left: 38px;
  }

  .rollout-steps::before {
    top: 0;
    bottom: 0;
    left: 16px;
    width: 1px;
    height: auto;
  }

  .rollout-steps small {
    margin-top: 0;
  }

  .rollout-steps p {
    max-width: none;
  }

  .proof-grid article:hover,
  .collage-panel:hover,
  .ecosystem-visual:hover,
  .ai-foundation article:hover,
  .ai-grid article:hover,
  .fact-list article:hover,
  .client-visual:hover,
  .borrower-steps li:hover,
  .calculator-card:hover,
  .roi-card:hover,
  .inquiry-form:hover,
  .trust-grid article:hover,
  .pricing-grid article:hover,
  .faq-item:hover,
  .rollout-steps li:hover {
    box-shadow: none;
    padding-left: initial;
    transform: none;
  }

  .collage-main:hover img,
  .client-visual:hover img {
    transform: none;
  }

  .pricing-compare {
    overflow-x: auto;
  }

  .pricing-compare > div {
    grid-template-columns: 1.35fr repeat(3, minmax(142px, 1fr));
    min-width: 660px;
  }

  .closing-card,
  .inquiry-form,
  .calculator-card,
  .roi-card {
    padding: 20px;
  }

  .form-intro h2 {
    font-size: 32px;
  }

  .form-intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .range-label,
  .estimate-results div,
  .roi-results div {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .faq-item button {
    min-height: 66px;
    gap: 14px;
    font-size: 17px;
  }

  .footer-big {
    padding-top: 48px;
    font-size: clamp(48px, 18vw, 92px);
  }

  .footer-grid {
    gap: 26px;
    padding: 42px 0;
  }
}

@media (max-width: 480px) {
  .hero-bottom-nav a {
    min-height: 48px;
    padding: 0 6px;
  }

  .hero-bottom-nav span {
    font-size: 10px;
  }

  .hero-bottom-nav b {
    font-size: 11px;
  }

  .adina-title {
    font-size: 30px;
  }

  .portal-row {
    min-width: 0;
  }
}

/* Audit additions */
.hero-proof-footnote {
  max-width: 680px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.45;
}

.why-covenant-desk-lede {
  max-width: 820px;
  margin-top: 18px;
}

.why-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  border: 1px solid var(--line);
}

.why-compare-grid article {
  padding: 22px;
  border-right: 1px solid var(--line);
  background: var(--white);
}

.why-compare-grid article:last-child {
  border-right: 0;
}

.why-compare-grid article.is-highlight {
  background: #f7f8f9;
}

.why-compare-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.why-compare-grid h3 {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}

.why-compare-grid ul {
  margin-top: 16px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.why-compare-grid li + li {
  margin-top: 8px;
}

.why-compare-note {
  max-width: 820px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.why-compare-note a {
  color: var(--ink);
  font-weight: 800;
}

.trust-grid-expanded {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid-expanded article:nth-child(4) {
  border-right: 0;
}

.trust-grid-expanded article:nth-child(n + 5) {
  border-top: 1px solid var(--line);
}

.rollout-step {
  width: 100%;
  color: var(--white);
  text-align: left;
}

.form-privacy-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .why-compare-grid {
    grid-template-columns: 1fr;
  }

  .why-compare-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .why-compare-grid article:last-child {
    border-bottom: 0;
  }

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

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

}
