:root {
  --green: #8AC046;
  --green-dark: #529202;
  --teal: #3A9EB0;
  --navy: #013B46;
  --tint: #EAF5F7;
  --line: #cfe3e7;
  --muted: #5d7f86;
  --danger: #b3261e;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body { margin: 0; }

body {
  background: var(--tint);
  color: var(--navy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--tint);
}

@media (min-width: 520px) {
  body { background: #d5e9ed; }
  .app { box-shadow: 0 0 0 1px var(--line); }
}

.brand { background: #fff; padding: 14px 20px 10px; text-align: center; }
.brand img { display: block; margin: 0 auto; height: auto; }
.brand .isbister { width: 230px; max-width: 70%; }
.brand .simpleloan { width: 120px; max-width: 40%; margin-top: 8px; }

.band {
  background: var(--teal);
  color: #fff;
  text-align: center;
  font-size: 14px;
  padding: 8px 16px;
}

.content { padding: 18px 20px 20px; }

h1 { font-size: 22px; font-weight: 600; margin: 0 0 4px; }

.sub { font-size: 14px; margin: 0 0 16px; }

.label { font-size: 14px; margin: 0 0 8px; }

.btn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 14px;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.btn-primary { background: var(--green); color: var(--navy); }
.btn-primary:active { background: var(--green-dark); color: #fff; }
.btn-primary[aria-busy="true"] { opacity: 0.7; cursor: wait; }
.btn-outline { background: #fff; color: var(--teal); border: 1px solid var(--teal); font-weight: 500; }

.error { color: var(--danger); font-size: 14px; margin: 8px 0 0; min-height: 0; }
.error:empty { display: none; }

.footer {
  margin-top: auto;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 14px 0 16px;
  text-align: center;
}
.footer p { font-size: 12px; margin: 0 16px; line-height: 1.4; }

.slider { overflow: hidden; margin: 12px 16px 0; }
.track { display: flex; transition: transform 0.6s ease; }
.slide { flex: 0 0 50%; height: 44px; padding: 0 12px; display: flex; align-items: center; justify-content: center; }
.slide img { max-width: 100%; max-height: 100%; object-fit: contain; }

@media (prefers-reduced-motion: reduce) { .track { transition: none; } }

.demo-note {
  background: #fff4d6;
  color: #6b4e00;
  font-size: 12px;
  text-align: center;
  padding: 6px 12px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
