:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
  color: #10284f;
  background: #eff5ff;
  --navy: #0a2050;
  --blue: #174bc8;
  --blue-hover: #123a9b;
  --blue-soft: #eaf1ff;
  --muted: #41608d;
  --line: #cbd9ee;
  --white: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.site-header {
  background: var(--white);
  border-bottom: 1px solid #dce7f8;
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.04em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: var(--blue);
  color: var(--white);
}
.badge {
  border: 1px solid #d4e3ff;
  border-radius: 50px;
  background: var(--blue-soft);
  color: #16409c;
  padding: .32rem .78rem;
  font-size: .8rem;
  font-weight: 700;
}

.layout {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem) 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .92fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "hero card" "tip card";
  gap: 1.1rem clamp(1.2rem, 3vw, 2.1rem);
  align-items: start;
}
.hero {
  grid-area: hero;
  position: relative;
  isolation: isolate;
  min-height: 365px;
  border-radius: 24px;
  overflow: hidden;
  background: #0a2463;
  color: var(--white);
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 53%;
  z-index: -2;
}
.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: '';
  background: linear-gradient(90deg, #061b4de8 3%, #091d54bc 40%, #0825602b 78%);
}
.hero-content { max-width: 29rem; padding: clamp(1.5rem, 4vw, 2.65rem); }
h1, h2, p { margin: 0; }
h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.063em;
}
.intro {
  margin-top: 1.1rem;
  max-width: 17rem;
  color: #e5efff;
  font-size: .97rem;
}
.payment-tip {
  grid-area: tip;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: .8rem;
  border: 1px solid #dce7f8;
  border-radius: 17px;
  background: var(--white);
}
.payment-tip img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
}
.payment-tip h2 { color: var(--navy); font-size: 1rem; font-weight: 750; }
.payment-tip p { margin-top: .25rem; color: var(--muted); font-size: .86rem; }

.card {
  grid-area: card;
  min-width: 0;
  padding: clamp(1rem, 2.7vw, 1.9rem);
  border: 1px solid #dce7f8;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 16px 42px #153d8212;
}
.card h2 {
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: clamp(1.25rem, 2.9vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.15;
}
.route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: .42rem;
  align-items: center;
  margin-bottom: 1.15rem;
}
.route span {
  border-radius: 10px;
  padding: .62rem .32rem;
  text-align: center;
  font-size: .84rem;
  font-weight: 750;
}
.airtel { background: #c6122f; color: #fff; }
.moov { background: #174bc8; color: #fff; }
.arrow { color: var(--blue); padding-inline: .24rem; }
.group { margin-bottom: .88rem; }
label { display: block; margin-bottom: .36rem; font-weight: 700; font-size: .91rem; }

input, select {
  display: block;
  min-width: 0;
  width: 100%;
  min-height: 46px;
  padding: .56rem .78rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  background: #fafdff;
  font: inherit;
}
input::placeholder { color: #58739b; opacity: 1; }
select {
  appearance: none;
  padding-right: 2.65rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--blue) 50%),
    linear-gradient(135deg, var(--blue) 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 13px) center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
input[aria-invalid="true"] { border-color: var(--blue); border-width: 2px; }
:focus-visible { outline: 3px solid #447af1; outline-offset: 3px; }
.amount-field { position: relative; }
.amount-field input {
  min-height: 56px;
  padding-right: 5rem;
  font-size: 1.4rem;
  font-weight: 750;
}
.currency {
  position: absolute;
  top: 50%;
  right: .8rem;
  transform: translateY(-50%);
  border-radius: 7px;
  background: var(--blue-soft);
  color: #1a459c;
  padding: .23rem .42rem;
  font-size: .73rem;
  font-weight: 800;
  pointer-events: none;
}
.hint, #result-description { color: var(--muted); font-size: .9rem; }
#route-note { margin-top: .5rem; }
.error { margin-top: .25rem; color: #123c8d; font-size: .85rem; font-weight: 700; }
.notice { margin: .9rem 0 .6rem; }

.actions { display: grid; gap: .58rem; margin-top: 1rem; }
button {
  min-height: 47px;
  width: 100%;
  padding: .58rem .78rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
button:disabled { opacity: .55; cursor: wait; }
.primary { color: var(--white); background: var(--blue); }
.primary:hover { background: var(--blue-hover); }
.secondary { color: #234d9e; background: var(--white); border-color: #c9daf5; }
.secondary:hover { background: var(--blue-soft); border-color: #9ab9ee; }
dl { margin: .9rem 0 0; }
dl div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .2rem .8rem;
  padding: .6rem 0;
  border-bottom: 1px solid #e2eafb;
}
dt { color: var(--muted); }
dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
#result[data-outcome="completed"] h2 { color: var(--blue); }

@media (max-width: 760px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "hero" "card" "tip";
  }
  .hero { min-height: 218px; }
  .hero-content { padding: 1.25rem; }
  .hero-image { object-position: 70% 54%; }
  .intro { max-width: 12rem; font-size: .88rem; margin-top: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  button { transition: none; }
}

.title-operators {
  display: block;
  margin-top: .65rem;
  max-width: 15rem;
  color: #e9f2ff;
  font-size: 1.24rem;
  line-height: 1.23;
  letter-spacing: -.014em;
}
.account-links { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; flex-wrap: wrap; }
.login-link { width: auto; min-height: 38px; padding: .35rem .68rem; font-size: .85rem; }
.account-card { padding: clamp(1rem, 3.25vw, 2.35rem); }
.account-card h2 { margin-bottom: 1.5rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.account-card .group { margin-bottom: 1.1rem; }
.account-switch { margin-top: .8rem; text-align: center; color: var(--muted); font-size: .89rem; }
.account-switch button {
  display: inline;
  width: auto;
  min-height: 36px;
  padding: 0 .22rem;
  background: transparent;
  color: var(--blue);
  font-weight: 750;
}
@media (max-width: 760px) {
  #page-title { max-width: 11rem; }
  .title-operators { font-size: .98rem; }
  .hero { min-height: 254px; }
}
@media (max-width: 420px) {
  .header-inner { gap: .5rem; }
  .account-links { gap: .25rem; }
}

.dashboard-entry {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 750;
}

.customer-checkout .layout {
  max-width: 660px;
  gap: 1rem;
  grid-template: "hero" auto "card" auto / minmax(0, 1fr);
}
.customer-checkout .hero { min-height: 0; border-radius: 20px; }
.customer-checkout .hero-content { max-width: none; padding: 1.35rem 1.5rem; }
.customer-checkout .hero h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
.customer-checkout .intro { margin-top: .6rem; max-width: none; }
.customer-checkout .payment-tip, .customer-checkout .route { display: none; }
.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: .8rem;
  text-align: center;
}
.checkout-steps li { padding-bottom: .55rem; border-bottom: 3px solid var(--line); }
.checkout-steps li[aria-current="step"] { color: var(--navy); font-weight: 750; border-color: var(--blue); }
.customer-checkout .checkout-amount {
  background: #102e6c;
  border-radius: 15px;
  padding: 1rem;
  color: #fff;
}
.customer-checkout .checkout-amount input { font-size: clamp(1.6rem, 6vw, 2.15rem); }
.customer-checkout .checkout-amount .error { color: #fff; }
.checkbox-label { display: flex; align-items: center; gap: .55rem; width: fit-content; cursor: pointer; }
.checkbox-label input { width: 1.15rem; height: 1.15rem; min-height: 0; accent-color: var(--blue); }
.customer-checkout #review dl, .payment-summary {
  background: var(--blue-soft);
  border-radius: 15px;
  padding: .4rem 1rem;
}
.customer-checkout #review-total-row dd, #payment-total { font-size: 1.25rem; color: var(--navy); }
#review-estimate { margin-top: .7rem; }

.brand-logo {
  width: clamp(38px, 7vw, 52px);
  height: auto;
  object-fit: contain;
}
.brand-wordmark {
  display: grid;
  font-size: clamp(1rem, 3vw, 1.35rem);
  line-height: 1;
  letter-spacing: .01em;
}
.brand-wordmark span { color: #087d37; font-weight: 500; }
.brand-wordmark strong { color: #17579b; font-weight: 850; text-transform: uppercase; }
@media (max-width: 420px) {
  .header-inner { gap: .6rem; }
  .brand { gap: .38rem; }
}
.paymobile-flow { grid-area: card; display: grid; min-width: 0; gap: 1rem; }
.paymobile-flow > .card { grid-area: auto; }
.site-banner {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: center;
  min-height: 136px;
  border-radius: 20px;
  background: radial-gradient(ellipse at 105% 95%, #007541, transparent 63%), linear-gradient(125deg, #102d65, #175ab0);
  color: #fff;
}
.site-banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.site-banner:has(.site-banner-image:not([hidden]))::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, #071d4aeb, #102b5b9e);
}
.site-banner-copy { padding: clamp(1rem, 3vw, 1.5rem); overflow-wrap: anywhere; }
.site-banner-label { display: inline-block; color: #d7eaff; font-size: .82rem; }
.site-banner-title { margin-top: .35rem; max-width: 30ch; font-size: clamp(1.2rem, 4vw, 1.62rem); font-weight: 800; line-height: 1.2; }
.site-banner-description { margin-top: .38rem; max-width: 55ch; color: #e6f1ff; }
body[data-transfer-screen]:not([data-transfer-screen="details"]) #homepage-banner { display: none; }
