/* ============================================================
   UPI AutoPay — Premium fintech page system
   ============================================================ */

body.page-ua {
  background: #F7FAFC;
}

body.page-ua .section {
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

body.page-ua .card {
  border-radius: 18px;
  border-color: rgba(15, 40, 60, 0.06);
  box-shadow: 0 1px 2px rgba(15, 40, 60, 0.04);
  background: #fff;
}
body.page-ua .card:hover {
  border-color: rgba(56, 169, 197, 0.25);
  box-shadow: 0 10px 28px rgba(15, 40, 60, 0.07);
}

/* ---- HERO (premium device stage) ---- */
.ua-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 55% 50% at 88% 30%, rgba(76,180,212,0.22), transparent 58%),
    radial-gradient(ellipse 40% 35% at 8% 85%, rgba(122,201,67,0.08), transparent 50%),
    linear-gradient(165deg, #FFFFFF 0%, #F4FAFC 48%, #EAF5F9 100%);
  overflow: clip;
}
.ua-hero__glow {
  position: absolute;
  right: 8%;
  top: 18%;
  width: min(480px, 50vw);
  height: min(480px, 50vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,180,212,0.28), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.ua-hero .atmosphere-waves {
  height: min(55%, 380px);
  opacity: 0.85;
}
.ua-hero .blob-shape { display: none; }

.ua-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4.5vw, 3.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  min-height: min(72svh, 640px);
}
.ua-device-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  min-height: min(52vh, 420px);
  min-width: 0;
  text-align: left;
  overflow: visible;
}

.ua-hero-copy {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 36rem;
  min-width: 0;
  width: 100%;
  padding-inline: 0;
}
.ua-hero-copy .eyebrow {
  margin-inline: 0;
}
.ua-brand-logo {
  display: block;
  height: clamp(48px, 6vw, 64px) !important;
  width: auto !important;
  max-width: min(160px, 46vw) !important;
  object-fit: contain;
  margin: 0 0 1rem;
}
.ua-hero .display--xl {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--ccd-navy);
  text-align: left;
}
.ua-hero .lead {
  margin: 1rem 0 1.4rem;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: #4A5D6E;
  max-width: 32rem;
  line-height: 1.65;
  text-align: left;
}
.ua-hero .cta-row {
  gap: 0.7rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.ua-hero .btn {
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  font-size: 0.9rem;
}
.ua-hero .trust-chips {
  margin-top: 1.4rem;
  justify-content: flex-start;
}

.ua-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: #6B7A88;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.25s ease, color 0.25s ease;
}
.ua-hero__scroll:hover {
  opacity: 1;
  color: #2A8FA8;
}
.ua-hero__scroll span {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(76, 180, 212, 0.45);
  border-radius: 999px;
  position: relative;
}
.ua-hero__scroll span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #4CB4D4;
  animation: uaScrollDot 1.6s ease-in-out infinite;
}
@keyframes uaScrollDot {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(12px); }
}

.ua-phone {
  width: clamp(178px, 18vw, 210px);
  border-radius: 28px;
  padding: 8px;
  background: linear-gradient(160deg, #0B1C2A, #1A3348);
  box-shadow: 0 22px 50px rgba(11,28,42,0.35), 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
  z-index: 2;
  transition: transform 0.35s var(--ease-out);
}
.ua-phone__notch {
  width: 52px;
  height: 5px;
  border-radius: 5px;
  background: #24384a;
  margin: 6px auto 8px;
}
.ua-phone__screen {
  background: linear-gradient(180deg, #FBFEFF, #EAF5F9);
  border-radius: 20px;
  padding: 0.9rem 0.8rem 1rem;
  min-height: 260px;
}
.ua-phone__brand {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ccd-teal-deep);
  margin-bottom: 0.55rem;
}
.ua-phone__amount {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ccd-navy);
  line-height: 1;
}
.ua-phone__freq {
  font-size: 0.72rem;
  color: var(--ccd-muted);
  margin: 0.25rem 0 0.85rem;
}
.ua-phone__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(15,40,60,0.06);
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
  color: var(--ccd-muted);
}
.ua-phone__active {
  color: var(--ccd-success);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}
.ua-phone__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  padding: 0.4rem 0.5rem;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 0.3rem;
  border: 1px solid rgba(15,40,60,0.05);
}
.ua-phone__row span:last-child { font-weight: 700; color: var(--ccd-navy); }
.ua-phone__success {
  margin-top: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--ccd-success-bg);
  color: var(--ccd-success);
  font-size: 0.68rem;
  font-weight: 700;
  animation: uaSuccessIn 3.5s ease-in-out infinite;
}
.ua-phone__success svg { width: 12px; height: 12px; }
@keyframes uaSuccessIn {
  0%, 55%, 100% { opacity: 0.35; transform: scale(0.96); }
  65%, 88% { opacity: 1; transform: scale(1); }
}

.ua-flow-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
}
.ua-flow-rail::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, #4CB4D4, rgba(76,180,212,0.15));
}
.ua-flow-rail li {
  position: relative;
  padding: 0.4rem 0.55rem 0.4rem 1.45rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 650;
  color: #8A97A5;
  border-radius: 8px;
}
.ua-flow-rail li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #DCE4EA;
  border: 2px solid #fff;
  z-index: 1;
}
.ua-flow-rail li.is-done { color: #2A8FA8; }
.ua-flow-rail li.is-done::before { background: #4CB4D4; }
.ua-flow-rail li.is-active {
  color: var(--ccd-navy);
  background: rgba(76,180,212,0.1);
}
.ua-flow-rail li.is-active::before {
  background: #7AC943;
  box-shadow: 0 0 0 4px rgba(122,201,67,0.2);
}

.ua-float-chip {
  position: absolute;
  z-index: 3;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ccd-navy);
  animation: trustFloat 5s ease-in-out infinite;
}
.ua-float-chip--a { top: 6%; right: 0; }
.ua-float-chip--b { bottom: 10%; left: 0; animation-delay: 0.8s; }

/* Mandate seconds → compact rail above story */
.ms-rail {
  max-width: 820px;
  margin: 0 auto 1.25rem;
  padding: 0.9rem 1rem 1rem;
}
.ms-rail .mandate-seconds__steps {
  margin-bottom: 0.75rem;
}
.ms-rail__meta {
  display: grid;
  gap: 0.35rem;
}
.ms-rail__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ccd-navy);
}
.ms-rail__body {
  margin: 0;
  font-size: 0.8rem;
  color: #5F7184;
  line-height: 1.45;
  max-width: 48ch;
}
.ms-rail .ms-bar {
  margin-top: 0.55rem;
  height: 3px;
  border-radius: 3px;
  background: #E7EEF2;
  overflow: hidden;
}
.ms-rail .ms-bar > span {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, #4CB4D4, #7AC943);
  border-radius: 3px;
  transition: width 0.35s var(--ease-out);
}
.ms-rail__timer {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: #8A97A5;
  font-variant-numeric: tabular-nums;
}

/* Mandate seconds demo (legacy shell kept for compatibility) */
.mandate-seconds {
  max-width: 880px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid rgba(15,40,60,0.07);
  border-radius: 22px;
  padding: 1.25rem 1.35rem 1.4rem;
  box-shadow: 0 16px 40px rgba(11,28,42,0.06);
}
.mandate-seconds__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}
.ms-step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #DCE4EA;
  background: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  color: #5F7184;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}
.ms-step span {
  font-family: var(--font-display);
  color: #4CB4D4;
  font-variant-numeric: tabular-nums;
}
.ms-step.is-active,
.ms-step:hover {
  border-color: rgba(76,180,212,0.45);
  background: rgba(76,180,212,0.1);
  color: var(--ccd-navy);
}
.mandate-seconds__stage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
}
.ms-phone {
  width: 168px;
  border-radius: 24px;
  padding: 7px;
  background: linear-gradient(160deg, #0B1C2A, #1A3348);
  box-shadow: 0 16px 36px rgba(11,28,42,0.28);
}
.ms-phone__notch {
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: #24384a;
  margin: 5px auto 7px;
}
.ms-phone__body {
  background: linear-gradient(180deg, #FBFEFF, #EAF5F9);
  border-radius: 18px;
  padding: 1rem 0.85rem;
  min-height: 190px;
  transition: opacity 0.25s ease;
}
.ms-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B7A88;
  margin-bottom: 0.25rem;
}
.ms-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ccd-navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}
.ms-hint {
  font-size: 0.75rem;
  color: #6B7A88;
  line-height: 1.45;
}
.ms-copy h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ccd-navy);
  margin: 0.35rem 0 0.45rem;
}
.ms-copy p { font-size: 0.88rem; color: #5F7184; line-height: 1.55; margin: 0; }
.ms-timer {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: #8A97A5;
  font-variant-numeric: tabular-nums;
}
.ms-bar {
  margin-top: 1.1rem;
  height: 3px;
  border-radius: 3px;
  background: #E8F0F4;
  overflow: hidden;
}
.ms-bar > span {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, #4CB4D4, #7AC943);
  border-radius: 3px;
  transition: width 0.35s var(--ease-out);
}
.mandate-gif-wrap--section {
  max-width: 820px;
  margin-top: 0;
}
.mandate-gif-wrap {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
}
.mandate-gif-wrap::before {
  content: '';
  position: absolute;
  inset: 10% -6% -8% 4%;
  background: radial-gradient(circle, rgba(76,180,212,0.22), transparent 62%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

/* ---- COMPARE (compact before/after) ---- */
.ua-compare-sec.section {
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}
.ua-compare-sec .section-head {
  margin-bottom: 1.25rem;
}
.ua-compare-sec .section-head .lead {
  font-size: 0.9rem;
}
.ua-diff {
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  background: linear-gradient(165deg, #fff, #F5FBFD);
  border: 1px solid rgba(76, 180, 212, 0.16);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 32px rgba(11,28,42,0.05);
}
.ua-diff__col--before {
  opacity: 0.92;
}
.ua-diff__col--after {
  background: rgba(76, 180, 212, 0.06);
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(76, 180, 212, 0.14);
}
.ua-diff__vs {
  align-self: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8A97A5;
  background: #F4F6F8;
  border: 1px solid rgba(15,40,60,0.06);
}
.ua-diff__label {
  margin: 0 0 0.55rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.ua-diff__col--before .ua-diff__label { color: #6B7A88; }
.ua-diff__col--after .ua-diff__label { color: #2A8FA8; }
.ua-diff__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  counter-reset: diff;
}
.ua-diff__list li {
  counter-increment: diff;
  position: relative;
  padding: 0.4rem 0.55rem 0.4rem 1.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: #2C3E50;
}
.ua-diff__list li::before {
  content: counter(diff, decimal-leading-zero);
  position: absolute;
  left: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ua-diff__col--before .ua-diff__list li {
  background: #F7F8FA;
  color: #5F7184;
}
.ua-diff__col--before .ua-diff__list li::before { color: #9AA8B5; }
.ua-diff__col--after .ua-diff__list li {
  background: rgba(76,180,212,0.1);
  color: #0F2435;
}
.ua-diff__col--after .ua-diff__list li::before { color: #2A8FA8; }

@media (max-width: 640px) {
  .ua-diff {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .ua-diff__vs {
    justify-self: center;
  }
  .ua-diff__col--after {
    padding: 0.55rem 0.6rem;
  }
}

/* ---- HOW AUTOPAY: interactive path (replaces 5-card strip) ---- */
.ua-how .section-head { margin-bottom: 1.75rem; }
.ua-path {
  max-width: 900px;
  margin-inline: auto;
}
.ua-path__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.35rem;
}
.ua-path__line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 18px;
  height: 3px;
  border-radius: 3px;
  background: rgba(76,180,212,0.18);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.ua-path__line > span {
  display: block;
  height: 100%;
  width: 20%;
  border-radius: 3px;
  background: linear-gradient(90deg, #4CB4D4, #7AC943);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.ua-path__node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  color: #6B7A88;
  transition: color 0.25s ease;
}
.ua-path__num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  background: #fff;
  border: 2px solid #D7EEF5;
  color: #2A8FA8;
  transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.ua-path__label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ua-path__node:hover .ua-path__num,
.ua-path__node.is-active .ua-path__num {
  background: linear-gradient(135deg, #4CB4D4, #2A8FA8);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px rgba(76,180,212,0.35);
  transform: scale(1.06);
}
.ua-path__node.is-active { color: #0B1C2A; }

.ua-path__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  align-items: stretch;
  background: #fff;
  border: 1px solid rgba(15,40,60,0.07);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: 0 16px 40px rgba(11,28,42,0.06);
}
.ua-path__visual {
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(76,180,212,0.25), transparent 55%),
    linear-gradient(160deg, #0B1C2A, #163447);
  padding: 1.25rem;
  display: grid;
  place-items: center;
  min-height: 220px;
}
.ua-path__screen {
  width: 100%;
  max-width: 240px;
  background: linear-gradient(180deg, #FBFEFF, #EAF5F9);
  border-radius: 14px;
  padding: 1rem 0.95rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.ua-path__panel.is-switching .ua-path__screen,
.ua-path__panel.is-switching .ua-path__copy h3,
.ua-path__panel.is-switching .ua-path__copy p {
  opacity: 0.35;
  transform: translateY(4px);
}
.ups-kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2A8FA8;
  margin-bottom: 0.25rem;
}
.ups-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0B1C2A;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.ups-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(15,40,60,0.06);
  color: #6B7A88;
}
.ups-row:last-child { border-bottom: none; }
.ups-row strong { color: #0B1C2A; font-weight: 700; }

.ua-path__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.35rem 0.25rem;
}
.ua-path__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(76,180,212,0.12);
  color: #2A8FA8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}
.ua-path__copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0B1C2A;
  margin: 0 0 0.5rem;
}
.ua-path__copy > p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #5F7184;
  max-width: 36ch;
}
.ua-path__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.ua-path__points li {
  position: relative;
  padding: 0.5rem 0.7rem 0.5rem 1.35rem;
  border-radius: 10px;
  background: #F4FAFC;
  border: 1px solid rgba(76,180,212,0.12);
  font-size: 0.8rem;
  font-weight: 600;
  color: #1A2B3C;
}
.ua-path__points li::before {
  content: '';
  position: absolute;
  left: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4CB4D4, #7AC943);
}

@media (max-width: 720px) {
  .ua-path__track { gap: 0.25rem; }
  .ua-path__num { width: 34px; height: 34px; font-size: 0.65rem; }
  .ua-path__label { font-size: 0.62rem; }
  .ua-path__panel {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ua-path__badge { align-self: center; }
  .ua-path__copy > p { margin-inline: auto; }
  .ua-path__points { text-align: left; }
  .ua-path__visual { min-height: 180px; }
}

/* ---- BUILDER (compact) ---- */
#mandate-builder.section {
  padding-block: clamp(2.75rem, 5vw, 4rem);
}
#mandate-builder .section-head {
  margin-bottom: 1.35rem;
}
#mandate-builder .section-head .lead {
  font-size: 0.9rem;
}

.builder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  align-items: stretch;
  max-width: 860px;
  margin-inline: auto;
}
.builder-form,
.builder-preview {
  background: linear-gradient(165deg, #fff, #F7FBFC);
  border: 1px solid rgba(76, 180, 212, 0.14);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  box-shadow: 0 10px 28px rgba(15,40,60,0.05);
}
.builder-preview {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(76,180,212,0.12), transparent 50%),
    linear-gradient(165deg, #0B1C2A, #14384C);
  border-color: rgba(76, 180, 212, 0.25);
  color: #fff;
}
.builder-form h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  color: #1A2B3C;
}
.builder-preview h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  color: #fff;
}
.field { margin-bottom: 0.65rem; }
.field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #5F7184;
  margin-bottom: 0.28rem;
  letter-spacing: 0.02em;
}
.field input,
.field select {
  width: 100%;
  min-height: 38px;
  padding: 0.45rem 0.75rem;
  border: 1.5px solid #DCE4EA;
  border-radius: 9px;
  background: #F8FBFC;
  color: #1A2B3C;
  font-size: 0.86rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input:hover,
.field select:hover {
  border-color: #B8CDD8;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: #38A9C5;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(56,169,197,0.14);
}
.builder-form .btn {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.84rem;
  margin-top: 0.15rem;
}
.builder-preview-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
}
.builder-preview-card .demo-label {
  margin-bottom: 0.15rem;
  color: rgba(255,255,255,0.45);
}
.builder-preview .preview-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}
.builder-preview .preview-row:last-child { border-bottom: none; }
.builder-preview .preview-row span:last-child {
  font-weight: 700;
  color: #fff;
}
.builder-preview .preview-amount {
  color: #7AD4EA;
}
.preview-amount {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1A2B3C;
  margin: 0.15rem 0 0.55rem;
}
.builder-preview .preview-amount { color: #7AD4EA; }
.preview-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(15,40,60,0.06);
  font-size: 0.78rem;
}
.preview-row:last-child { border-bottom: none; }
.preview-row span:first-child { color: #6B7A88; }
.preview-row span:last-child {
  font-weight: 700;
  color: #1A2B3C;
  text-align: right;
}
.builder-note {
  margin-top: 0.65rem;
  font-size: 0.7rem;
  color: #8A97A5;
  line-height: 1.4;
}

/* ---- USE CASES ---- */
.ua-usecases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.ua-usecase {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.05rem 1rem 1.1rem;
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(255,255,255,0.96), rgba(247,252,255,0.92)),
    #fff;
  border: 1px solid rgba(76, 180, 212, 0.14);
  box-shadow: 0 8px 24px rgba(11, 28, 42, 0.04);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-soft, cubic-bezier(0.22, 1, 0.36, 1)),
    box-shadow 0.35s var(--ease-soft, cubic-bezier(0.22, 1, 0.36, 1)),
    border-color 0.35s ease,
    background 0.35s ease;
}
.ua-usecase::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(76, 180, 212, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.ua-usecase::after {
  content: "";
  position: absolute;
  right: -28%;
  top: -40%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 180, 212, 0.16), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.45s ease;
}
.ua-usecase:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 180, 212, 0.38);
  box-shadow:
    0 14px 36px rgba(11, 28, 42, 0.08),
    0 0 0 1px rgba(76, 180, 212, 0.08);
  background:
    linear-gradient(165deg, #ffffff, #eef8fb),
    #fff;
}
.ua-usecase:hover::before { opacity: 1; }
.ua-usecase:hover::after {
  opacity: 1;
  transform: translate(-8px, 12px) scale(1.15);
}
.ua-usecase__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #2A8FA8;
  background: linear-gradient(145deg, rgba(76, 180, 212, 0.16), rgba(76, 180, 212, 0.06));
  border: 1px solid rgba(76, 180, 212, 0.2);
  flex-shrink: 0;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.ua-usecase__icon svg {
  width: 17px;
  height: 17px;
}
.ua-usecase:hover .ua-usecase__icon {
  transform: scale(1.06);
  color: #1A7A92;
  background: linear-gradient(145deg, rgba(76, 180, 212, 0.28), rgba(76, 180, 212, 0.1));
}
.ua-usecase__body {
  min-width: 0;
}
.ua-usecase h3 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0B1C2A;
  margin: 0 0 0.28rem;
  line-height: 1.25;
}
.ua-usecase p {
  margin: 0;
  font-size: 0.78rem;
  color: #6B7A88;
  line-height: 1.4;
}

body.page-ua .ua-use h3 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.28rem;
}
body.page-ua .ua-use p {
  font-size: 0.78rem;
  color: #6B7A88;
  line-height: 1.4;
}

.btn--block { width: 100%; }

/* ---- COLLECTION CALENDAR (compact) ---- */
.section--compact {
  padding-block: clamp(2.25rem, 4.5vw, 3.25rem);
}
.ua-cal {
  max-width: 720px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid rgba(15, 40, 60, 0.08);
  border-radius: 14px;
  padding: 0.85rem 0.9rem 0.75rem;
  box-shadow: 0 10px 28px rgba(11, 28, 42, 0.04);
}
.ua-cal__months {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}
.ua-cal__cell {
  position: relative;
  text-align: center;
  padding: 0.7rem 0.45rem 0.75rem;
  border-radius: 10px;
  background: #F7FAFC;
  border: 1px solid rgba(15, 40, 60, 0.06);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.ua-cal__cell:hover {
  transform: translateY(-2px);
  border-color: rgba(76, 180, 212, 0.28);
  background: #F2F9FB;
}
.ua-cal__cell--done {
  background: linear-gradient(180deg, #F3FBF6, #EEF8F2);
  border-color: rgba(31, 138, 110, 0.16);
}
.ua-cal__cell--next {
  background: linear-gradient(180deg, #F3FAFC, #EAF5F9);
  border-color: rgba(76, 180, 212, 0.28);
  box-shadow: 0 0 0 1px rgba(76, 180, 212, 0.08);
}
.ua-cal__cell--next::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #4CB4D4, #7AC943);
}
.ua-cal__month {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A97A5;
}
.ua-cal__day {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0B1C2A;
  line-height: 1;
}
.ua-cal__amt {
  margin: 0 0 0.45rem;
  font-size: 0.74rem;
  font-weight: 650;
  color: #5F7184;
  font-variant-numeric: tabular-nums;
}
.ua-cal__status {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6B7A88;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(15, 40, 60, 0.05);
}
.ua-cal__cell--done .ua-cal__status {
  color: #1F8A6E;
  background: rgba(31, 138, 110, 0.1);
}
.ua-cal__cell--next .ua-cal__status {
  color: #2A8FA8;
  background: rgba(76, 180, 212, 0.14);
}
.ua-cal__note {
  margin: 0.7rem 0 0;
  text-align: center;
  font-size: 0.7rem;
  color: #8A97A5;
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  .ua-cal__months {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ua-cal__day { font-size: 1.2rem; }
}

/* ---- REMINDERS ---- */
.reminder-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  position: relative;
}
.reminder-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.05rem 1rem 1.15rem;
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(255,255,255,0.98), rgba(247,252,255,0.94)),
    #fff;
  border: 1px solid rgba(76, 180, 212, 0.14);
  box-shadow: 0 8px 24px rgba(11, 28, 42, 0.04);
  text-align: left;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-soft, cubic-bezier(0.22, 1, 0.36, 1)),
    box-shadow 0.35s var(--ease-soft, cubic-bezier(0.22, 1, 0.36, 1)),
    border-color 0.35s ease,
    background 0.35s ease;
}
.reminder-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, #4CB4D4, rgba(76, 180, 212, 0.15));
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.4s var(--ease-soft, cubic-bezier(0.22, 1, 0.36, 1));
}
.reminder-card::after {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -35%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 180, 212, 0.14), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.45s ease;
}
.reminder-card:hover {
  transform: translateY(-5px);
  border-color: rgba(76, 180, 212, 0.4);
  box-shadow:
    0 16px 38px rgba(11, 28, 42, 0.09),
    0 0 0 1px rgba(76, 180, 212, 0.08);
  background:
    linear-gradient(165deg, #ffffff, #eef8fb),
    #fff;
}
.reminder-card:hover::before { transform: scaleX(1); }
.reminder-card:hover::after {
  opacity: 1;
  transform: translate(-10px, -14px) scale(1.1);
}
.reminder-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}
.reminder-card__step {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #4CB4D4;
  font-variant-numeric: tabular-nums;
}
.reminder-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #2A8FA8;
  background: linear-gradient(145deg, rgba(76, 180, 212, 0.18), rgba(76, 180, 212, 0.06));
  border: 1px solid rgba(76, 180, 212, 0.22);
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.reminder-card__icon svg {
  width: 17px;
  height: 17px;
}
.reminder-card:hover .reminder-card__icon {
  transform: scale(1.08) rotate(-3deg);
  color: #1A7A92;
  background: linear-gradient(145deg, rgba(76, 180, 212, 0.3), rgba(76, 180, 212, 0.1));
  box-shadow: 0 8px 18px rgba(76, 180, 212, 0.22);
}
.reminder-card .when {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2A8FA8;
}
.reminder-card h3 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  color: #0B1C2A;
  line-height: 1.25;
}
.reminder-card > p {
  margin: 0;
  font-size: 0.76rem;
  color: #6B7A88;
  line-height: 1.4;
}
.reminder-card--success::before {
  background: linear-gradient(90deg, #7AC943, rgba(122, 201, 67, 0.2));
}
.reminder-card--success .reminder-card__step,
.reminder-card--success .when { color: #4F9A2E; }
.reminder-card--success .reminder-card__icon {
  color: #4F9A2E;
  background: linear-gradient(145deg, rgba(122, 201, 67, 0.18), rgba(122, 201, 67, 0.06));
  border-color: rgba(122, 201, 67, 0.28);
}
.reminder-card--alert::before {
  background: linear-gradient(90deg, #E8A317, rgba(232, 163, 23, 0.2));
}
.reminder-card--alert .reminder-card__step,
.reminder-card--alert .when { color: #B87A0A; }
.reminder-card--alert .reminder-card__icon {
  color: #B87A0A;
  background: linear-gradient(145deg, rgba(232, 163, 23, 0.16), rgba(232, 163, 23, 0.05));
  border-color: rgba(232, 163, 23, 0.28);
}

/* ---- REVENUE DASH (compact) ---- */
.revenue-dash {
  max-width: 820px;
  margin-inline: auto;
  background: linear-gradient(165deg, #fff, #F4FAFC);
  border: 1px solid rgba(76, 180, 212, 0.16);
  border-radius: 16px;
  padding: 1rem 1.1rem 1.05rem;
  box-shadow: 0 12px 32px rgba(15,40,60,0.06);
}
.revenue-dash__label { margin-bottom: 0.65rem; }
.revenue-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}
.revenue-metrics .metric-tile {
  background: linear-gradient(165deg, #F5FBFD, #EEF7FA);
  border: 1px solid rgba(56,169,197,0.1);
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
}
.revenue-metrics .label {
  font-size: 0.62rem;
  margin-bottom: 0.2rem;
  line-height: 1.25;
}
.revenue-metrics .value {
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.chart-wrap {
  background: #F7FBFC;
  border-radius: 12px;
  padding: 0.75rem 0.85rem 0.55rem;
  border: 1px solid rgba(15,40,60,0.04);
}
.chart-wrap h3 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: #1A2B3C;
}
.chart-svg {
  display: block;
  width: 100%;
  max-height: 140px;
}
.chart-bar {
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.chart-wrap.is-visible .chart-bar { transform: scaleY(1); }

#revenue-dashboard.section {
  padding-block: clamp(2.75rem, 5vw, 4rem);
}
#revenue-dashboard .section-head {
  margin-bottom: 1.35rem;
}
#revenue-dashboard .section-head .lead {
  font-size: 0.92rem;
}

/* ---- CLIENT / CONTROL / ECO ---- */
.client-flow-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 280px;
  margin-inline: auto;
}
.client-step-ui {
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(165deg, #fff, #F7FBFC);
  border: 1px solid rgba(76, 180, 212, 0.14);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15,40,60,0.04);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.client-step-ui:hover {
  transform: translateY(-2px);
  border-color: rgba(76, 180, 212, 0.32);
  box-shadow: 0 10px 24px rgba(15,40,60,0.07);
}
.client-step-ui--active {
  background: linear-gradient(135deg, rgba(76,180,212,0.18), rgba(76,180,212,0.06));
  border-color: rgba(76,180,212,0.4);
  color: #2A8FA8;
  box-shadow: 0 8px 20px rgba(76,180,212,0.18);
}
.client-arrow {
  width: 2px;
  height: 20px;
  background: #D7EEF5;
}

.control-panel {
  background: linear-gradient(165deg, #fff, #F5FBFD);
  border: 1px solid rgba(76, 180, 212, 0.16);
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 12px 32px rgba(15,40,60,0.06);
  max-width: 820px;
  margin-inline: auto;
}
.control-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.control-tab {
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1.5px solid #DCE4EA;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  color: #5F7184;
  cursor: pointer;
  transition: all 0.2s ease;
}
.control-tab.is-active,
.control-tab:hover {
  border-color: #38A9C5;
  color: #2A8FA8;
  background: rgba(56,169,197,0.1);
}
.control-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.control-details .preview-row {
  margin: 0;
  padding: 0.95rem 1.05rem;
  background: #F5FBFD;
  border: none;
  border-radius: 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}
.control-concept {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: #8A97A5;
  font-style: italic;
}

.ecosystem {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1.35rem 1.25rem;
  background: linear-gradient(165deg, #fff, #F4FAFC);
  border: 1px solid rgba(76, 180, 212, 0.16);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15,40,60,0.05);
}
.eco-node {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(76, 180, 212, 0.18);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  color: #0B1C2A;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.eco-node:hover {
  transform: translateY(-2px);
  border-color: rgba(76, 180, 212, 0.4);
  box-shadow: 0 8px 18px rgba(15,40,60,0.08);
}
.eco-node--accent {
  background: linear-gradient(135deg, #4CB4D4, #2A8FA8);
  color: white;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(76,180,212,0.32);
}
.eco-connector {
  width: 22px;
  height: 2px;
  background: #D7EEF5;
  flex-shrink: 0;
  position: relative;
}
.eco-connector::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: #38A9C5;
}

.bridge-ui {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.bridge-card {
  background: linear-gradient(165deg, #fff, #F7FBFC);
  border: 1px solid rgba(76, 180, 212, 0.14);
  border-radius: 14px;
  padding: 1.05rem 1rem;
  box-shadow: 0 8px 22px rgba(15,40,60,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.bridge-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 180, 212, 0.35);
  box-shadow: 0 14px 32px rgba(15,40,60,0.08);
}
.bridge-card--accent {
  background: linear-gradient(160deg, rgba(76,180,212,0.14), rgba(122,201,67,0.06));
  border-color: rgba(76,180,212,0.32);
}
.bridge-step {
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #2A8FA8;
  margin-bottom: 0.45rem;
}
.bridge-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #1A2B3C;
  margin-bottom: 0.25rem;
}
.bridge-card p {
  font-size: 0.8rem;
  color: #6B7A88;
  line-height: 1.4;
}

.lead--tight { margin-top: 1rem; }

body.page-ua .final-cta {
  border-radius: 24px;
  padding: clamp(2.75rem, 6vw, 4rem);
}
body.page-ua .note-box {
  border-radius: 14px;
  background: #F5FBFD;
  border-color: rgba(56,169,197,0.12);
  font-size: 0.84rem;
}

body.page-ua .site-footer {
  margin-top: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .reminder-flow { grid-template-columns: repeat(3, 1fr); }
  .revenue-metrics { grid-template-columns: repeat(3, 1fr); }
  .ua-usecases { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .ua-hero {
    min-height: 100svh;
    padding-bottom: 3.5rem;
  }
  .ua-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    justify-items: center;
    text-align: center;
    min-height: 0;
  }
  .ua-hero-copy {
    align-items: center;
    text-align: center;
    max-width: 36rem;
  }
  .ua-brand-logo { margin-inline: auto; }
  .ua-hero .display--xl,
  .ua-hero .lead { text-align: center; }
  .ua-hero .cta-row,
  .ua-hero .trust-chips { justify-content: center; }
}
@media (max-width: 980px) {
  .mandate-seconds__stage { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .ms-copy { max-width: 28rem; }
}
@media (max-width: 640px) {
  .ua-hero {
    min-height: 100svh;
    padding-top: 1.25rem;
  }
  .ua-hero .display--xl {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }
  .ua-hero__scroll { bottom: 0.85rem; }
  .ua-device-stage {
    flex-direction: column;
    min-height: 0;
  }
  .ua-flow-rail {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
  }
  .ua-flow-rail::before { display: none; }
  .ua-flow-rail li {
    padding: 0.35rem 0.65rem;
    background: #F4FAFC;
    border: 1px solid rgba(15,40,60,0.06);
  }
  .ua-flow-rail li::before { display: none; }
  .ua-float-chip { display: none; }
  .mandate-seconds__steps { justify-content: center; }
}
@media (max-width: 860px) {
  .builder { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .reminder-flow,
  .revenue-metrics,
  .control-details,
  .bridge-ui,
  .ua-usecases { grid-template-columns: 1fr; }
  .ecosystem { flex-direction: column; }
  .eco-connector {
    width: 2px;
    height: 16px;
  }
  .eco-connector::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -2px;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #38A9C5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mandate-gif-wrap::before { animation: none; }
  .ua-hero__scroll span::before { animation: none; }
  .ua-cal__cell:hover,
  .reminder-card:hover,
  .client-step-ui:hover,
  .eco-node:hover,
  .bridge-card:hover,
  .ua-usecase:hover { transform: none; }
  .ua-usecase:hover .ua-usecase__icon,
  .reminder-card:hover .reminder-card__icon { transform: none; }
}
