* {
  box-sizing: border-box;
}

:root {
  --bg: #f8fcf1;
  --bg-soft: #eef8e6;
  --surface: #ffffff;
  --surface-soft: #f2fbe0;
  --text: #111827;
  --text-soft: #536071;
  --muted: #64748b;
  --border: #dfead6;
  --navy: #1A5A3B;
  --cyan: #C6F24A;
  --cyan-dark: #1A5A3B;
  --amber: #C6F24A;
  --shadow: 0 18px 45px rgba(26, 90, 59, 0.12);
  --shadow-strong: 0 35px 90px rgba(26, 90, 59, 0.28);
  --m: #64748b;
  --p: #1A5A3B;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif !important;
  color: var(--text) !important;
  background: #f6faee !important;
  line-height: 1.65;
  overflow-x: hidden;
}

body:not(.page-delete) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: calc(100vw - 40px) !important;
}

.nav,
header {
  background: rgba(255, 255, 255, 0.8) !important;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08) !important;
  backdrop-filter: blur(18px);
  box-shadow: none !important;
}

.nav-inner {
  min-height: 78px;
}

.logo,
.brand {
  color: var(--navy) !important;
  letter-spacing: 0 !important;
}

.logo-mark,
.brand-mark {
  display: block !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, var(--navy), var(--cyan) 56%, var(--amber)) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 30px rgba(26, 90, 59, 0.22) !important;
  object-fit: cover;
  object-position: center;
}

.logo small,
.brand small {
  color: var(--muted) !important;
  font-weight: 700;
}

.nav-links a {
  color: var(--text-soft) !important;
  position: relative;
}

.nav-links {
  gap: 24px !important;
}

.nav-btn {
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy) !important;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-btn,
.btn-primary,
.btn {
  border: 0 !important;
  background: linear-gradient(135deg, var(--navy), var(--cyan)) !important;
  color: #ffffff !important;
  box-shadow: 0 16px 36px rgba(26, 90, 59, 0.22);
}

.btn-secondary,
.btn-ghost,
.btn-outline {
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(6, 20, 47, 0.16) !important;
  color: var(--navy) !important;
  box-shadow: none;
}

.btn:hover,
.nav-btn:hover {
  transform: translateY(-2px);
}

.hero {
  background: transparent !important;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: transparent;
  right: -300px;
  top: -330px;
  z-index: 0;
  opacity: 0.14;
}

.hero-grid {
  position: relative;
  z-index: 1;
  padding: 92px 0 76px !important;
  gap: 58px !important;
}

.eyebrow {
  background: rgba(198, 242, 74, 0.18) !important;
  border: 1px solid rgba(26, 90, 59, 0.16) !important;
  color: var(--navy) !important;
  font-weight: 800;
}

.eyebrow-dot {
  background: var(--cyan) !important;
  box-shadow: 0 0 16px rgba(198, 242, 74, 0.9) !important;
}

h1,
h2,
h3,
.section-title {
  color: var(--text);
  letter-spacing: 0 !important;
}

h1 {
  max-width: 720px;
  font-size: 64px !important;
  line-height: 1.04 !important;
}

.gradient-text {
  background: linear-gradient(90deg, var(--navy), var(--cyan-dark), var(--amber)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.hero p,
.section-head p,
.service-card p,
.step p,
.solution-card p,
.faq-card p,
.about-content p,
.about-item span {
  color: var(--muted) !important;
  overflow-wrap: break-word;
}

.hero-tags .tag,
.tag {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-soft) !important;
}

.visual {
  min-height: 560px;
  display: grid;
  place-items: center;
}

.glass-dashboard {
  width: min(340px, 100%);
  min-height: 590px;
  border-radius: 44px !important;
  padding: 34px 24px !important;
  background: #123f2a !important;
  border: 0 !important;
  box-shadow: var(--shadow-strong) !important;
  transform: rotate(3deg);
  overflow: hidden;
}

.glass-dashboard::before {
  display: none !important;
}

.glass-dashboard::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 34px;
  background: linear-gradient(180deg, #f8fcf1, #ffffff);
  z-index: 0;
}

.glass-dashboard > * {
  position: relative;
  z-index: 1;
}

.dash-top {
  color: var(--navy);
}

.dash-top h3 {
  color: var(--navy);
  font-size: 18px !important;
}

.status {
  background: rgba(198, 242, 74, 0.22) !important;
  border: 1px solid rgba(26, 90, 59, 0.16) !important;
  color: var(--cyan-dark) !important;
}

.credit-panel {
  border: 0 !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, var(--navy), #2a7a50, var(--cyan)) !important;
  color: #ffffff !important;
  overflow: hidden;
}

.credit-panel span {
  color: rgba(255, 255, 255, 0.78) !important;
}

.credit-panel strong {
  display: grid;
  gap: 4px;
  color: #ffffff !important;
  font-size: 28px !important;
  line-height: 1.18;
  letter-spacing: 0 !important;
}

.credit-panel strong .amount-line {
  color: #ffffff !important;
  font-size: inherit;
  font-weight: 900;
  margin-bottom: 0;
}

.metrics {
  grid-template-columns: 1fr !important;
}

.metric,
.chart {
  background: var(--surface-soft) !important;
  border: 1px solid rgba(26, 90, 59, 0.12) !important;
  border-radius: 18px !important;
}

.metric span {
  color: var(--muted) !important;
}

.metric strong {
  color: var(--navy) !important;
}

.chart {
  height: 130px !important;
}

.floating {
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid rgba(255, 255, 255, 0.86) !important;
  color: var(--navy) !important;
  box-shadow: var(--shadow) !important;
}

.floating strong {
  color: var(--cyan-dark) !important;
}

.floating span {
  color: var(--muted) !important;
}

.floating.two {
  right: -138px !important;
}

section,
.section {
  background: transparent !important;
}

.section-head {
  max-width: 780px;
}

.process,
.solutions,
.bg-soft {
  background: linear-gradient(180deg, #eef8e6, #f8fcf1) !important;
}

.services,
.steps,
.solution-grid,
.faq-grid,
.grid3,
.grid2,
.contact-grid {
  gap: 20px !important;
}

.services > *,
.steps > *,
.solution-grid > *,
.faq-grid > *,
.grid3 > *,
.grid2 > *,
.contact-grid > *,
.card {
  min-width: 0;
}

#loanCalculator {
  width: min(100%, 720px) !important;
}

#loanCalculator input[type="range"] {
  max-width: 100%;
}

#loanCalculator div[style*="grid-template-columns:repeat(3,1fr)"] {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

#loanCalculator div[style*="background:#f8fafc"] {
  min-width: 0;
  overflow-wrap: anywhere;
}

.service-card,
.step,
.solution-card,
.faq-card,
.about-item,
.card,
.contact-item {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  box-shadow: 0 18px 40px rgba(26, 90, 59, 0.08) !important;
}

.service-card:hover,
.step:hover,
.solution-card:hover,
.faq-card:hover,
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(26, 90, 59, 0.24) !important;
}

#services .service-card:first-child {
  background: linear-gradient(135deg, rgba(26, 90, 59, 0.92), rgba(198, 242, 74, 0.38)) !important;
  color: #ffffff !important;
}

#services .service-card:first-child h3,
#services .service-card:first-child p,
#services .service-card:first-child .service-icon {
  color: #ffffff !important;
}

.service-icon,
.svc-icon,
.icon-box {
  background: rgba(198, 242, 74, 0.18) !important;
  border: 1px solid rgba(26, 90, 59, 0.14) !important;
  color: var(--cyan-dark) !important;
}

.step strong,
.solution-card span {
  color: var(--cyan-dark) !important;
}

.brand-panel {
  border: 0 !important;
  background: linear-gradient(135deg, rgba(26, 90, 59, 0.92), rgba(198, 242, 74, 0.36)) !important;
  color: #ffffff !important;
  box-shadow: var(--shadow) !important;
}

.brand-panel h3,
.brand-panel p {
  color: #ffffff !important;
}

.brand-emblem {
  background: linear-gradient(135deg, var(--navy), var(--cyan), var(--amber)) !important;
  color: #ffffff !important;
  object-fit: cover;
  object-position: center;
}

img.brand-emblem {
  display: block;
  padding: 0;
}

.delete-logo {
  width: 72px;
  height: 72px;
  display: block;
  margin: 0 auto 14px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(26, 90, 59, 0.2);
}

.contact {
  background: var(--navy) !important;
  color: #ffffff !important;
}

.contact h2,
.contact h3,
.contact strong {
  color: #ffffff !important;
}

.contact p,
.contact span {
  color: #d6deec !important;
}

.contact-box,
.contact-info,
.contact-panel {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}

.contact-panel {
  background: #ffffff !important;
  color: var(--text) !important;
}

.contact-panel h3,
.contact-panel p {
  color: var(--text) !important;
}

.page-banner,
.policy-header {
  background: #ffffff !important;
  border-bottom: 1px solid var(--border) !important;
}

.page-banner h1,
.policy-header h1 {
  color: var(--navy) !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}

.page-banner p,
.policy-header p,
.section-sub {
  max-width: 100%;
  color: var(--muted) !important;
  overflow-wrap: break-word;
}

form input,
form textarea {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}

form input:focus,
form textarea:focus {
  border-color: var(--cyan) !important;
  outline: 3px solid rgba(198, 242, 74, 0.32);
}

.policy-wrap {
  color: var(--text-soft) !important;
}

.policy-wrap h1,
.policy-wrap h2,
.policy-wrap h3 {
  color: var(--navy) !important;
}

.policy-wrap a {
  color: var(--cyan-dark) !important;
}

footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 56px 0 28px !important;
  background: linear-gradient(180deg, #1A5A3B 0%, #0f3c28 100%) !important;
  border-top: 4px solid var(--cyan) !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(198, 242, 74, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%);
  pointer-events: none;
}

footer .container {
  position: relative;
  z-index: 1;
}

body:not(.page-delete) > footer {
  margin-top: auto;
}

.footer-grid {
  grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(120px, 1fr)) !important;
  gap: 36px !important;
  align-items: start;
  margin-bottom: 34px !important;
}

footer .brand {
  color: #ffffff !important;
  font-size: 22px;
  line-height: 1.1;
}

footer .brand-mark,
footer .logo-mark {
  width: 62px !important;
  height: 62px !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: 1px solid rgba(198, 242, 74, 0.35) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22) !important;
}

footer p {
  color: rgba(255, 255, 255, 0.72) !important;
}

footer h4 {
  color: var(--cyan) !important;
  margin-bottom: 16px !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer ul {
  display: grid;
  gap: 10px;
  list-style: none !important;
  padding: 0 !important;
}

footer li {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

footer a {
  color: rgba(255, 255, 255, 0.82) !important;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--cyan) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: rgba(255, 255, 255, 0.62) !important;
  padding-top: 22px !important;
}

.page-delete {
  background: #f8fcf1 !important;
}

.wrap {
  border-radius: 24px !important;
  box-shadow: var(--shadow-strong) !important;
}

.delete-header,
.head {
  background: linear-gradient(135deg, var(--navy), var(--cyan)) !important;
}

.submit {
  background: linear-gradient(135deg, var(--navy), var(--cyan)) !important;
}

.cc {
  color: var(--cyan-dark) !important;
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-links.open {
    background: #ffffff !important;
    border-color: var(--border) !important;
    box-shadow: var(--shadow) !important;
  }

  .hero-grid,
  .about-grid,
  .contact-box,
  .grid2 {
    grid-template-columns: 1fr !important;
  }

  .services,
  .steps,
  .solution-grid,
  .faq-grid,
  .grid3,
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .visual {
    min-height: 500px;
  }

  .glass-dashboard {
    transform: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px) !important;
    max-width: calc(100vw - 28px) !important;
  }

  .hero-grid {
    padding: 64px 0 56px !important;
  }

  h1 {
    font-size: 40px !important;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section p .btn,
  .hero-actions .btn {
    width: 100% !important;
    justify-content: center;
    margin-left: 0 !important;
  }

  .section p .btn + .btn {
    margin-top: 12px;
  }

  #loanCalculator div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

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

  footer .brand-mark,
  footer .logo-mark {
    width: 56px !important;
    height: 56px !important;
  }

  .floating {
    display: none !important;
  }
}

/* Mukisa refined layout */
:root {
  --mk-green: #1A5A3B;
  --mk-lime: #C6F24A;
  --mk-ink: #102118;
  --mk-muted: #607067;
  --mk-line: #dbe8d7;
  --mk-paper: #f6faee;
  --mk-surface: #ffffff;
}

body,
body:not(.page-delete) {
  background: var(--mk-paper) !important;
  color: var(--mk-ink) !important;
  letter-spacing: 0 !important;
}

body *,
footer h4,
.brand small {
  letter-spacing: 0 !important;
}

body::before,
.hero::before,
.page-banner::before,
footer::before {
  display: none !important;
}

.nav,
header {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid var(--mk-line) !important;
  backdrop-filter: blur(12px);
}

.nav-inner {
  height: 76px !important;
  min-height: 76px !important;
  align-items: center !important;
}

.logo,
.brand {
  min-width: 0;
  color: var(--mk-green) !important;
}

.logo-mark,
.brand-mark {
  width: 52px !important;
  height: 52px !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  border: 1px solid rgba(26, 90, 59, 0.14) !important;
  box-shadow: 0 10px 22px rgba(26, 90, 59, 0.14) !important;
  object-fit: cover;
  object-position: center;
}

.nav-links {
  align-items: center;
  gap: 26px !important;
  color: var(--mk-muted) !important;
}

.nav-links a {
  color: var(--mk-muted) !important;
  font-weight: 800 !important;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--mk-green) !important;
}

.nav-links a::after {
  bottom: -10px !important;
  height: 3px !important;
  background: var(--mk-lime) !important;
}

.menu-btn {
  width: 42px;
  height: 42px;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 8px !important;
  border: 1px solid rgba(26, 90, 59, 0.22) !important;
  background: #ffffff !important;
  color: var(--mk-green) !important;
  font-size: 20px !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.nav-btn,
.btn,
.btn-primary {
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  background: var(--mk-green) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.btn-secondary,
.btn-ghost,
.btn-outline {
  background: #ffffff !important;
  border: 1px solid rgba(26, 90, 59, 0.24) !important;
  color: var(--mk-green) !important;
  box-shadow: none !important;
}

.btn:hover,
.nav-btn:hover {
  transform: translateY(-1px);
}

.site-main,
.page-main {
  flex: 1 0 auto;
}

.hero-ledger {
  background: var(--mk-green) !important;
  color: #ffffff !important;
}

.hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr) !important;
  align-items: center !important;
  gap: 56px !important;
  padding: 96px 0 !important;
}

.hero-copy {
  max-width: 660px;
}

.hero-ledger h1 {
  color: #ffffff !important;
  font-size: 88px !important;
  line-height: 0.92 !important;
  margin: 0 0 28px !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

.hero-lead,
.hero-ledger p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 19px !important;
}

.kicker {
  margin: 0 0 14px;
  color: var(--mk-green) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.hero-ledger .kicker,
.cta-band .kicker {
  color: var(--mk-lime) !important;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-ledger .btn-primary {
  background: var(--mk-lime) !important;
  color: var(--mk-green) !important;
}

.hero-ledger .btn-secondary {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
  color: #ffffff !important;
}

.loan-board {
  background: var(--mk-surface);
  color: var(--mk-ink);
  border-radius: 8px;
  border: 1px solid rgba(26, 90, 59, 0.14);
  padding: 28px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
}

.board-head,
.board-list > div,
.summary-line,
.info-row,
.repayment-list > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.55fr) minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
}

.board-head {
  padding-bottom: 18px;
  border-bottom: 2px solid var(--mk-green);
}

.board-head span,
.board-list dt,
.repayment-list dt,
.info-row span {
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 800;
}

.board-head strong {
  justify-self: end;
  color: var(--mk-green);
  font-size: 28px;
}

.board-list {
  display: grid;
  margin: 16px 0 22px;
}

.board-list > div,
.info-row,
.repayment-list > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--mk-line);
}

.board-list dd,
.info-row strong,
.repayment-list dd {
  margin: 0;
  color: var(--mk-ink);
  font-weight: 900;
}

.board-example {
  border-radius: 8px;
  background: var(--mk-lime);
  color: var(--mk-green);
  padding: 20px;
}

.board-example span,
.board-example small {
  display: block;
  color: rgba(26, 90, 59, 0.78);
  font-weight: 800;
}

.board-example strong {
  display: block;
  margin: 6px 0;
  font-size: 34px;
}

.section {
  padding: 74px 0 !important;
}

.overview-strip,
.example-band,
.principles-band,
.contact-methods {
  background: #ffffff !important;
  border-bottom: 1px solid var(--mk-line);
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.4fr);
  gap: 46px;
  align-items: start;
}

.overview-grid h2,
.statement h2,
.brand-statement h2,
.contact-form-panel h2,
.compact-head h2,
.cta-band h2 {
  color: var(--mk-ink) !important;
  font-size: 42px !important;
  line-height: 1.06 !important;
  margin: 0;
  overflow-wrap: anywhere;
}

.overview-items,
.principle-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--mk-line);
  border: 1px solid var(--mk-line);
}

.overview-items > div,
.principle-grid > div,
.method-item {
  background: #ffffff;
  padding: 24px;
  min-width: 0;
}

.overview-items strong,
.principle-grid span,
.method-item span {
  display: block;
  color: var(--mk-green);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 14px;
}

.overview-items span,
.principle-grid p,
.method-item p,
.statement p,
.compact-head p,
.contact-note p,
.contact-form-panel p {
  color: var(--mk-muted) !important;
}

.split-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 48px !important;
  align-items: start;
}

.statement {
  max-width: 600px;
}

.statement p {
  margin-top: 18px;
  font-size: 17px;
}

.check-column,
.check-panel,
.calculator-panel,
.contact-form-panel,
.contact-note,
.brand-statement {
  background: #ffffff !important;
  border: 1px solid var(--mk-line) !important;
  border-radius: 8px !important;
  padding: 28px !important;
  box-shadow: none !important;
}

.editorial-split,
.summary-band,
.service-ledger {
  background: var(--mk-paper) !important;
}

.check-column,
.check-panel {
  display: grid;
  gap: 12px;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border-bottom: 1px solid var(--mk-line);
  color: var(--mk-ink);
  font-weight: 800;
}

.check-line:last-child {
  border-bottom: 0;
}

.check-line span {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  background: var(--mk-lime);
  border: 2px solid var(--mk-green);
  border-radius: 50%;
}

.cta-band {
  background: var(--mk-green) !important;
  color: #ffffff !important;
}

.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2,
.cta-band p {
  color: #ffffff !important;
}

.cta-band .btn-primary {
  background: var(--mk-lime) !important;
  color: var(--mk-green) !important;
  flex: 0 0 auto;
}

.page-banner {
  padding: 74px 0 62px !important;
  background: var(--mk-green) !important;
  border-bottom: 6px solid var(--mk-lime) !important;
  color: #ffffff !important;
}

.page-banner h1 {
  color: #ffffff !important;
  font-size: 56px !important;
  line-height: 1 !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

.page-banner p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78) !important;
  overflow-wrap: anywhere;
}

.compact-head {
  max-width: 720px !important;
  margin-bottom: 34px;
}

.info-table {
  border-top: 2px solid var(--mk-green);
  border-bottom: 2px solid var(--mk-green);
  background: #ffffff;
}

.info-row {
  padding: 24px;
}

.info-row:last-child,
.repayment-list > div:last-child {
  border-bottom: 0;
}

.repayment-list {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--mk-line);
  border-radius: 8px;
  padding: 10px 24px;
}

.repayment-list dd {
  justify-self: end;
  font-size: 22px;
}

.calculator-panel h3,
.contact-note h3,
.method-item h3,
.principle-grid h3 {
  color: var(--mk-ink) !important;
  margin: 0 0 10px;
}

.calculator-panel > p {
  margin: 0 0 20px;
  color: var(--mk-muted) !important;
}

.calculator-panel label,
.contact-form-panel label {
  color: var(--mk-green) !important;
  font-weight: 900 !important;
}

.calculator-panel input[type="range"] {
  width: 100%;
  accent-color: var(--mk-green);
}

.calc-value {
  margin: 8px 0 20px;
  color: var(--mk-green) !important;
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  background: var(--mk-line);
  border: 1px solid var(--mk-line);
}

.calc-results > div {
  min-width: 0;
  background: var(--mk-paper);
  padding: 16px;
}

.calc-results span {
  display: block;
  color: var(--mk-muted);
  font-size: 12px;
  font-weight: 800;
}

.calc-results strong {
  display: block;
  margin-top: 6px;
  color: var(--mk-green);
  overflow-wrap: anywhere;
}

.brand-statement {
  background: var(--mk-green) !important;
  color: #ffffff !important;
}

.brand-statement .kicker,
.brand-statement h2 {
  color: #ffffff !important;
}

.brand-emblem {
  width: 96px !important;
  height: 96px !important;
  border-radius: 8px !important;
  margin-bottom: 24px;
  background: #ffffff !important;
  border: 1px solid rgba(198, 242, 74, 0.42);
  object-fit: cover;
  object-position: center;
}

.summary-line {
  grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(160px, 0.8fr)) auto;
  padding: 20px 0;
  border-top: 2px solid var(--mk-green);
  border-bottom: 2px solid var(--mk-green);
}

.summary-line strong {
  color: var(--mk-green);
}

.summary-line span {
  color: var(--mk-muted);
}

.summary-line a,
.text-link {
  color: var(--mk-green) !important;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--mk-lime);
  text-underline-offset: 4px;
}

.method-item a {
  color: var(--mk-green) !important;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-form-panel form {
  margin-top: 24px;
}

.contact-form-panel input,
.contact-form-panel textarea,
form input,
form textarea {
  border-radius: 8px !important;
  background: #ffffff !important;
  border: 1px solid var(--mk-line) !important;
  color: var(--mk-ink) !important;
}

.contact-note {
  background: var(--mk-green) !important;
  color: #ffffff !important;
}

.contact-note .kicker,
.contact-note h3,
.contact-note p,
.contact-note .text-link {
  color: #ffffff !important;
}

.mini-terms {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.mini-terms span {
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 12px;
  color: rgba(255, 255, 255, 0.86);
}

footer {
  background: var(--mk-green) !important;
  border-top: 6px solid var(--mk-lime) !important;
  color: rgba(255, 255, 255, 0.76) !important;
}

footer h4 {
  color: var(--mk-lime) !important;
  text-transform: none !important;
}

footer .brand-mark,
footer .logo-mark {
  width: 58px !important;
  height: 58px !important;
  border-radius: 8px !important;
}

footer a {
  color: rgba(255, 255, 255, 0.86) !important;
}

footer li,
.method-item p,
.contact-card-value {
  overflow-wrap: anywhere;
}

.footer-bottom {
  color: rgba(255, 255, 255, 0.66) !important;
}

@media (max-width: 980px) {
  .menu-btn {
    display: grid !important;
    place-items: center;
    margin-left: auto !important;
  }

  .hero-grid,
  .overview-grid,
  .split-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-grid {
    padding: 74px 0 !important;
  }

  .overview-items,
  .principle-grid,
  .method-grid {
    grid-template-columns: 1fr !important;
  }

  .summary-line {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .cta-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    height: 70px !important;
    min-height: 70px !important;
  }

  .logo-mark,
  .brand-mark {
    width: 46px !important;
    height: 46px !important;
  }

  .hero-ledger h1 {
    font-size: 58px !important;
  }

  .page-banner h1,
  .overview-grid h2,
  .statement h2,
  .brand-statement h2,
  .contact-form-panel h2,
  .compact-head h2,
  .cta-band h2 {
    font-size: 32px !important;
    line-height: 1.12 !important;
  }

  .loan-board,
  .check-column,
  .check-panel,
  .calculator-panel,
  .contact-form-panel,
  .contact-note,
  .brand-statement {
    padding: 22px !important;
  }

  .board-head,
  .board-list > div,
  .info-row,
  .repayment-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .board-head strong,
  .repayment-list dd {
    justify-self: start;
  }

  .calc-results {
    grid-template-columns: 1fr;
  }
}

/* Mukisa premium polish */
body {
  background: #f4f8ed !important;
}

.nav,
header {
  transition: background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.nav-scrolled .nav,
.nav-scrolled header {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom-color: rgba(26, 90, 59, 0.18) !important;
}

.logo-mark,
.brand-mark {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.logo:hover .logo-mark,
.brand:hover .brand-mark {
  transform: translateY(-2px) scale(1.03);
}

.hero-ledger {
  min-height: auto;
  display: grid;
  align-items: center;
  border-bottom: 1px solid rgba(198, 242, 74, 0.5);
  padding: 0 !important;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr) !important;
  padding: clamp(56px, 5vw, 72px) 0 clamp(48px, 5vw, 64px) !important;
}

.hero-copy {
  position: relative;
  padding-left: clamp(0px, 2vw, 28px);
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 86px;
  border-radius: 999px;
  background: var(--mk-lime);
  transform-origin: top;
  animation: mkLineIn 0.8s 0.18s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-copy .kicker,
.hero-copy h1,
.hero-copy .hero-lead,
.hero-actions,
.hero-trust,
.loan-board {
  animation: mkFadeUp 0.78s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-copy .kicker { animation-delay: 0.04s; }
.hero-copy h1 { animation-delay: 0.12s; }
.hero-copy .hero-lead { animation-delay: 0.2s; }
.hero-actions { animation-delay: 0.28s; }
.hero-trust { animation-delay: 0.36s; }
.loan-board { animation-delay: 0.22s; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 800;
}

.loan-board {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 2.4vw, 30px);
  box-shadow: 0 34px 80px rgba(3, 18, 11, 0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.loan-board::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: var(--mk-lime);
  transform: scaleX(0);
  transform-origin: left;
  animation: mkLineIn 0.9s 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.loan-board:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 242, 74, 0.78);
  box-shadow: 0 42px 92px rgba(3, 18, 11, 0.28);
}

.board-list > div,
.info-row,
.repayment-list > div,
.summary-line {
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.board-list > div:hover,
.info-row:hover,
.repayment-list > div:hover {
  transform: translateX(6px);
  background: rgba(198, 242, 74, 0.08);
}

.overview-strip {
  position: relative;
  padding-top: clamp(82px, 8vw, 118px) !important;
  padding-bottom: clamp(82px, 8vw, 118px) !important;
}

.overview-grid {
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
}

.overview-grid h2,
.compact-head h2 {
  max-width: 640px;
}

.overview-items,
.principle-grid,
.method-grid {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 22px 54px rgba(26, 90, 59, 0.08);
}

.overview-items > div,
.principle-grid > div,
.method-item {
  transition: transform 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
}

.overview-items > div:hover,
.principle-grid > div:hover,
.method-item:hover {
  transform: translateY(-4px);
  background: #fbfff4;
  box-shadow: 0 18px 34px rgba(26, 90, 59, 0.08);
}

.editorial-split {
  padding-top: clamp(86px, 8vw, 124px) !important;
  padding-bottom: clamp(86px, 8vw, 124px) !important;
}

.statement h2 {
  max-width: 620px;
}

.check-column,
.check-panel,
.calculator-panel,
.contact-form-panel,
.contact-note,
.brand-statement {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.check-column:hover,
.check-panel:hover,
.calculator-panel:hover,
.contact-form-panel:hover,
.contact-note:hover,
.brand-statement:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 90, 59, 0.2) !important;
  box-shadow: 0 24px 56px rgba(26, 90, 59, 0.1) !important;
}

.check-line span {
  position: relative;
}

.check-line span::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(198, 242, 74, 0.7);
  border-radius: 50%;
  animation: mkPulse 2.8s ease-out infinite;
}

.cta-band {
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--mk-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cta-band.is-visible::after,
.cta-band:hover::after {
  transform: scaleX(1);
}

.page-banner {
  position: relative;
  overflow: hidden;
}

.page-banner .inner {
  position: relative;
  animation: mkFadeUp 0.72s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.page-banner .inner::after {
  content: "";
  display: block;
  width: min(240px, 48vw);
  height: 4px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--mk-lime);
  transform-origin: left;
  animation: mkLineIn 0.78s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.service-ledger .container {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: start;
}

.service-ledger .compact-head {
  margin-bottom: 0;
  padding-top: 6px;
}

.info-table {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(26, 90, 59, 0.08);
}

.example-band {
  padding-top: clamp(82px, 8vw, 118px) !important;
  padding-bottom: clamp(82px, 8vw, 118px) !important;
}

.repayment-list {
  box-shadow: 0 24px 56px rgba(26, 90, 59, 0.08);
}

.calculator-panel {
  position: relative;
  overflow: hidden;
}

.calculator-panel::before,
.contact-form-panel::before,
.contact-note::before,
.brand-statement::before {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--mk-lime);
}

.contact-note::before,
.brand-statement::before {
  background: #ffffff;
}

.contact-methods {
  padding-top: clamp(70px, 7vw, 104px) !important;
  padding-bottom: clamp(70px, 7vw, 104px) !important;
}

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

.footer-grid > div {
  transition: transform 0.28s ease;
}

.footer-grid > div:hover {
  transform: translateY(-3px);
}

.journey-list,
.process-grid,
.role-list,
.category-grid,
.quick-link-grid {
  display: grid;
  gap: 1px;
  background: var(--mk-line);
  border: 1px solid var(--mk-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(26, 90, 59, 0.08);
}

.journey-list > div,
.process-grid > div,
.role-list > div,
.category-grid > div,
.quick-link-grid > a {
  min-width: 0;
  background: #ffffff;
  padding: 24px;
  transition: transform 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
}

.journey-list > div:hover,
.process-grid > div:hover,
.role-list > div:hover,
.category-grid > div:hover,
.quick-link-grid > a:hover {
  transform: translateY(-4px);
  background: #fbfff4;
  box-shadow: 0 18px 34px rgba(26, 90, 59, 0.08);
}

.journey-list span,
.process-grid span,
.category-grid span,
.quick-link-grid span {
  display: block;
  color: var(--mk-green);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 14px;
}

.journey-list strong,
.role-list strong,
.quick-link-grid strong {
  display: block;
  color: var(--mk-ink);
  font-weight: 900;
}

.journey-list p,
.process-grid p,
.role-list span,
.category-grid p {
  margin: 10px 0 0;
  color: var(--mk-muted) !important;
}

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

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

.product-preview,
.company-band,
.service-notes,
.support-categories,
.quick-links {
  background: #ffffff !important;
  border-top: 1px solid var(--mk-line);
  border-bottom: 1px solid var(--mk-line);
}

.preview-grid,
.note-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: start;
}

.preview-grid h2,
.note-grid h2 {
  color: var(--mk-ink) !important;
  font-size: 42px !important;
  line-height: 1.06 !important;
  margin: 0;
}

.preview-panel,
.note-list {
  border: 1px solid var(--mk-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 56px rgba(26, 90, 59, 0.08);
  overflow: hidden;
}

.preview-panel > div,
.note-list p {
  margin: 0;
  padding: 22px 24px;
  border-bottom: 1px solid var(--mk-line);
}

.preview-panel > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
}

.preview-panel span {
  color: var(--mk-muted);
  font-weight: 800;
}

.preview-panel strong {
  color: var(--mk-ink);
}

.preview-panel .text-link {
  display: inline-flex;
  margin: 22px 24px;
}

.note-list p {
  color: var(--mk-muted) !important;
}

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

.product-console .board-example strong {
  font-size: 34px;
}

.quick-link-grid > a {
  color: inherit;
  text-decoration: none;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.72s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.72s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes mkFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mkLineIn {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes mkPulse {
  0% {
    opacity: 0.75;
    transform: scale(0.7);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

@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;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .service-ledger .container,
  .method-grid,
  .preview-grid,
  .note-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-copy::before {
    display: none;
  }

  .process-grid,
  .category-grid,
  .quick-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-ledger {
    min-height: auto;
  }

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

  .overview-items > div:hover,
  .principle-grid > div:hover,
  .method-item:hover,
  .journey-list > div:hover,
  .process-grid > div:hover,
  .role-list > div:hover,
  .category-grid > div:hover,
  .quick-link-grid > a:hover,
  .loan-board:hover,
  .check-column:hover,
  .check-panel:hover,
  .calculator-panel:hover,
  .contact-form-panel:hover,
  .contact-note:hover,
  .brand-statement:hover {
    transform: none;
  }

  .process-grid,
  .category-grid,
  .quick-link-grid {
    grid-template-columns: 1fr;
  }

  .preview-panel > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.hero-banner-card.loan-board {
  aspect-ratio: 1024 / 500;
  background: #0f4f32 !important;
  border: 1px solid rgba(198, 242, 74, 0.28) !important;
  border-radius: 14px !important;
  box-shadow: 0 34px 86px rgba(3, 18, 11, 0.26) !important;
  overflow: hidden;
  padding: 0 !important;
}

.hero-banner-card::before {
  display: none !important;
}

.hero-banner-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.app-gallery-section {
  background: var(--mk-green) !important;
  color: #ffffff !important;
  overflow: hidden;
}

.app-gallery-head {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(30px, 5vw, 54px);
}

.app-gallery-head .kicker {
  color: var(--mk-lime) !important;
}

.app-gallery-head h2 {
  max-width: 620px;
  margin: 0;
  color: #ffffff !important;
  font-size: 42px !important;
  line-height: 1.04 !important;
}

.app-gallery-head p:last-child {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.74) !important;
  font-size: 16px;
}

.app-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
  align-items: start;
}

.app-gallery-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(198, 242, 74, 0.24);
  border-radius: 12px;
  background: #0b442a;
  box-shadow: 0 24px 58px rgba(3, 18, 11, 0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.app-gallery-card:nth-child(even) {
  margin-top: clamp(18px, 3vw, 34px);
}

.app-gallery-card img {
  display: block;
  width: 100%;
  height: auto;
  transform: none;
  transition: transform 0.45s ease;
}

.app-gallery-card:hover {
  transform: translateY(-8px);
  border-color: rgba(198, 242, 74, 0.7);
  box-shadow: 0 34px 76px rgba(3, 18, 11, 0.32);
}

.app-gallery-card:hover img {
  transform: scale(1.015);
}

@media (max-width: 980px) {
  .app-gallery-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

@media (max-width: 640px) {
  .hero-banner-card.loan-board {
    border-radius: 10px !important;
  }

  .app-gallery-grid {
    grid-template-columns: 1fr;
  }

  .app-gallery-card {
    border-radius: 10px;
  }

  .app-gallery-card:nth-child(even) {
    margin-top: 0;
  }

  .app-gallery-card:hover {
    transform: none;
  }
}

/* Typography and surface polish */
:root {
  --mk-card-bg: #fffffb;
  --mk-card-line: rgba(26, 90, 59, 0.13);
  --mk-card-shadow: 0 14px 34px rgba(26, 90, 59, 0.07);
  --mk-card-shadow-hover: 0 20px 44px rgba(26, 90, 59, 0.12);
}

body {
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.72 !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

p,
li,
dd,
.hero-lead,
.statement p,
.compact-head p,
.page-banner p,
.overview-items span,
.principle-grid p,
.method-item p,
.journey-list p,
.process-grid p,
.role-list span,
.category-grid p,
.note-list p {
  line-height: 1.72 !important;
}

.hero-ledger h1 {
  font-size: 88px !important;
  line-height: 0.98 !important;
  font-weight: 850 !important;
  margin-bottom: 26px !important;
}

.page-banner h1 {
  font-size: 56px !important;
  line-height: 1.04 !important;
  font-weight: 850 !important;
}

.overview-grid h2,
.statement h2,
.brand-statement h2,
.contact-form-panel h2,
.compact-head h2,
.cta-band h2,
.preview-grid h2,
.note-grid h2,
.app-gallery-head h2 {
  font-size: 42px !important;
  line-height: 1.14 !important;
  font-weight: 820 !important;
}

.hero-lead,
.hero-ledger p {
  font-size: 18px !important;
  line-height: 1.72 !important;
}

.kicker {
  font-size: 12px !important;
  line-height: 1.3 !important;
  margin-bottom: 12px !important;
}

.overview-items,
.principle-grid,
.method-grid,
.journey-list,
.process-grid,
.role-list,
.category-grid,
.quick-link-grid,
.calc-results {
  gap: 14px !important;
  background: transparent !important;
  border: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
}

.overview-items > div,
.principle-grid > div,
.method-item,
.journey-list > div,
.process-grid > div,
.role-list > div,
.category-grid > div,
.quick-link-grid > a,
.check-column,
.check-panel,
.calculator-panel,
.contact-form-panel,
.contact-note,
.brand-statement,
.preview-panel,
.note-list,
.repayment-list,
.info-table {
  background: var(--mk-card-bg) !important;
  border: 1px solid var(--mk-card-line) !important;
  border-radius: 8px !important;
  box-shadow: var(--mk-card-shadow) !important;
}

.overview-items > div,
.principle-grid > div,
.method-item,
.journey-list > div,
.process-grid > div,
.role-list > div,
.category-grid > div,
.quick-link-grid > a {
  padding: 26px !important;
}

.overview-items > div:hover,
.principle-grid > div:hover,
.method-item:hover,
.journey-list > div:hover,
.process-grid > div:hover,
.role-list > div:hover,
.category-grid > div:hover,
.quick-link-grid > a:hover,
.check-column:hover,
.check-panel:hover,
.calculator-panel:hover,
.contact-form-panel:hover,
.contact-note:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 90, 59, 0.2) !important;
  background: #ffffff !important;
  box-shadow: var(--mk-card-shadow-hover) !important;
}

.info-table,
.repayment-list,
.preview-panel,
.note-list,
.calc-results {
  overflow: hidden !important;
}

.info-row,
.preview-panel > div,
.note-list p,
.repayment-list > div,
.calc-results > div {
  background: transparent !important;
  border-color: rgba(26, 90, 59, 0.1) !important;
}

.calc-results > div {
  background: #f8fcf1 !important;
}

.hero-banner-card.loan-board,
.app-gallery-card {
  border-radius: 8px !important;
}

.app-gallery-card {
  border-color: rgba(198, 242, 74, 0.28) !important;
  box-shadow: 0 18px 44px rgba(3, 18, 11, 0.18) !important;
}

.app-gallery-card:hover {
  box-shadow: 0 24px 56px rgba(3, 18, 11, 0.26) !important;
}

.app-gallery-head {
  gap: 38px !important;
  margin-bottom: 40px !important;
}

.app-gallery-head p:last-child {
  line-height: 1.72 !important;
}

@media (max-width: 980px) {
  .hero-ledger h1 {
    font-size: 66px !important;
  }

  .page-banner h1 {
    font-size: 46px !important;
  }

  .overview-grid h2,
  .statement h2,
  .brand-statement h2,
  .contact-form-panel h2,
  .compact-head h2,
  .cta-band h2,
  .preview-grid h2,
  .note-grid h2,
  .app-gallery-head h2 {
    font-size: 36px !important;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }

  .hero-ledger h1 {
    font-size: 50px !important;
    line-height: 1.02 !important;
  }

  .page-banner h1 {
    font-size: 36px !important;
  }

  .overview-grid h2,
  .statement h2,
  .brand-statement h2,
  .contact-form-panel h2,
  .compact-head h2,
  .cta-band h2,
  .preview-grid h2,
  .note-grid h2,
  .app-gallery-head h2 {
    font-size: 30px !important;
    line-height: 1.18 !important;
  }

  .hero-lead,
  .hero-ledger p {
    font-size: 17px !important;
  }

  .overview-items,
  .principle-grid,
  .method-grid,
  .journey-list,
  .process-grid,
  .role-list,
  .category-grid,
  .quick-link-grid,
  .calc-results {
    gap: 12px !important;
  }

  .overview-items > div,
  .principle-grid > div,
  .method-item,
  .journey-list > div,
  .process-grid > div,
  .role-list > div,
  .category-grid > div,
  .quick-link-grid > a {
    padding: 22px !important;
  }
}

/* Premium product presentation */
:root {
  --mk-deep: #0f3f2b;
  --mk-fine-line: rgba(26, 90, 59, 0.16);
  --mk-lime-soft: rgba(198, 242, 74, 0.18);
}

.page-banner {
  position: relative;
  overflow: hidden;
}

.page-banner .inner {
  position: relative;
  padding-left: 28px;
}

.page-banner .inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 96px;
  border-radius: 999px;
  background: var(--mk-lime);
}

.page-banner .inner::after {
  content: "";
  display: block;
  width: 168px;
  height: 4px;
  margin-top: 34px;
  border-radius: 999px;
  background: var(--mk-lime);
}

.overview-items > div,
.principle-grid > div,
.method-item,
.journey-list > div,
.process-grid > div,
.role-list > div,
.category-grid > div,
.quick-link-grid > a,
.check-panel,
.calculator-panel,
.contact-form-panel,
.contact-note,
.preview-panel,
.note-list,
.repayment-list,
.info-table {
  position: relative;
  overflow: hidden;
  background: #fffefa !important;
  border-color: var(--mk-fine-line) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 16px 46px rgba(17, 33, 24, 0.08) !important;
}

.overview-items > div::before,
.principle-grid > div::before,
.method-item::before,
.journey-list > div::before,
.process-grid > div::before,
.role-list > div::before,
.category-grid > div::before,
.quick-link-grid > a::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: var(--mk-lime);
  opacity: 0.72;
  transform: scaleX(0.34);
  transform-origin: left;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.overview-items > div:hover::before,
.principle-grid > div:hover::before,
.method-item:hover::before,
.journey-list > div:hover::before,
.process-grid > div:hover::before,
.role-list > div:hover::before,
.category-grid > div:hover::before,
.quick-link-grid > a:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.product-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
}

.product-story-copy h2 {
  max-width: 720px;
  margin: 0;
  color: var(--mk-ink) !important;
  font-size: 46px !important;
  line-height: 1.1 !important;
  font-weight: 850 !important;
}

.product-story-copy p {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--mk-muted) !important;
  font-size: 18px;
}

.product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.product-chips span,
.eligibility-lines span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(26, 90, 59, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: var(--mk-green);
  font-size: 13px;
  font-weight: 850;
}

.product-snapshot-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(198, 242, 74, 0.36);
  background: var(--mk-deep);
  color: #ffffff;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 26px 72px rgba(5, 31, 19, 0.24);
}

.product-snapshot-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--mk-lime);
}

.snapshot-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.snapshot-brand img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  border: 1px solid rgba(198, 242, 74, 0.42);
  background: #ffffff;
  object-fit: cover;
}

.snapshot-brand strong,
.snapshot-brand span {
  display: block;
}

.snapshot-brand strong {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.1;
}

.snapshot-brand span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 750;
}

.snapshot-list {
  display: grid;
  gap: 1px;
  margin: 0;
  background: rgba(255, 255, 255, 0.16);
}

.snapshot-list > div {
  display: grid;
  grid-template-columns: minmax(116px, 0.5fr) minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  background: var(--mk-deep);
}

.snapshot-list dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 850;
}

.snapshot-list dd {
  margin: 0;
  color: #ffffff;
  font-weight: 900;
}

.snapshot-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 28px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--mk-lime);
  color: var(--mk-green) !important;
  font-weight: 900;
}

.product-detail-band {
  background: #ffffff !important;
}

.product-value-grid > div {
  min-height: 220px;
  display: grid;
  align-content: space-between;
  gap: 18px;
}

.product-value-grid h3 {
  font-size: 22px;
  line-height: 1.18;
}

.product-value-grid span {
  width: max-content;
  min-width: 42px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  border-radius: 8px;
  background: var(--mk-green);
  color: #ffffff !important;
}

.about-flow-band {
  background: #f2f7ed !important;
}

.product-flow-list > div {
  display: grid;
  gap: 6px;
  padding-left: 88px !important;
}

.product-flow-list {
  counter-reset: product-flow;
}

.product-flow-list > div::after {
  counter-increment: product-flow;
  content: counter(product-flow, decimal-leading-zero);
  position: absolute;
  left: 26px;
  top: 26px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--mk-lime);
  color: var(--mk-green);
  font-size: 13px;
  font-weight: 950;
}

.product-flow-list strong {
  font-size: 18px;
  line-height: 1.2;
}

.eligibility-band {
  background: var(--mk-green) !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(198, 242, 74, 0.24);
  border-bottom: 1px solid rgba(198, 242, 74, 0.24);
}

.product-eligibility-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.product-eligibility-grid h2,
.eligibility-band .kicker {
  color: #ffffff !important;
}

.product-eligibility-grid h2 {
  margin: 0;
  font-size: 42px !important;
  line-height: 1.12 !important;
}

.eligibility-lines {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.eligibility-lines span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(198, 242, 74, 0.35);
  color: #ffffff;
}

@media (max-width: 980px) {
  .product-story-grid,
  .product-eligibility-grid {
    grid-template-columns: 1fr;
  }

  .product-story-copy h2,
  .product-eligibility-grid h2 {
    font-size: 36px !important;
  }

  .eligibility-lines {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page-banner .inner {
    padding-left: 0;
  }

  .page-banner .inner::before {
    display: none;
  }

  .page-banner .inner::after {
    width: 148px;
    height: 4px;
    margin-top: 28px;
  }

  .product-story-copy h2,
  .product-eligibility-grid h2 {
    font-size: 30px !important;
    line-height: 1.18 !important;
  }

  .product-story-copy p {
    font-size: 16px;
  }

  .snapshot-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .product-flow-list > div {
    padding-left: 76px !important;
  }

  .product-flow-list > div::after {
    left: 22px;
    top: 22px;
  }
}

/* Stack label-value rows: title on top, content below */
.board-head,
.board-list > div,
.summary-line,
.info-row,
.repayment-list > div,
.preview-panel > div,
.snapshot-list > div {
  grid-template-columns: 1fr !important;
  align-items: start !important;
  gap: 7px !important;
}

.board-head strong,
.repayment-list dd,
.snapshot-list dd {
  justify-self: start !important;
}

.board-list dd,
.info-row strong,
.repayment-list dd,
.preview-panel strong,
.snapshot-list dd {
  display: block;
  margin-top: 2px;
}

.info-row span,
.preview-panel span,
.snapshot-list dt,
.repayment-list dt,
.board-list dt,
.board-head span {
  display: block;
  line-height: 1.25 !important;
}

.info-row strong,
.preview-panel strong,
.snapshot-list dd,
.repayment-list dd {
  line-height: 1.32 !important;
}

.board-list > div:hover,
.info-row:hover,
.repayment-list > div:hover,
.summary-line:hover {
  transform: translateY(-2px) !important;
}

/* Homepage section layout: heading row first, content row below */
.site-main .overview-grid,
.site-main .editorial-split .split-grid,
.site-main .product-preview .preview-grid,
.site-main .app-gallery-head {
  grid-template-columns: 1fr !important;
  gap: 28px !important;
}

.site-main .overview-grid > div:first-child,
.site-main .editorial-split .statement,
.site-main .product-preview .preview-grid > div:first-child,
.site-main .app-gallery-head {
  max-width: 780px !important;
}

.site-main .overview-items,
.site-main .journey-list {
  width: 100%;
}

.site-main .preview-panel {
  width: 100%;
  max-width: 860px;
}

.site-main .app-gallery-head p:last-child {
  max-width: 680px;
}
