/* ===============================================
   Festgeld landing page - Dark Atlas redesign
   =============================================== */

:root {
  --bg: #07111f;
  --bg-2: #0b1728;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-2: rgba(255, 255, 255, 0.12);
  --surface-solid: #101d30;
  --paper: #f5f7ef;
  --paper-2: #e9efe2;
  --text: #f7fbff;
  --text-dark: #101827;
  --muted: #9fb0c6;
  --muted-dark: #5d6878;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(16, 24, 39, 0.12);
  --brand: #32f5c8;
  --brand-2: #70a7ff;
  --brand-3: #f0c85a;
  --danger: #ff5a6a;
  --success: #35d07f;
  --star: #ffd76d;
  --font: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 36px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 18px 55px rgba(8, 16, 30, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(50, 245, 200, 0.18), transparent 32rem),
    radial-gradient(circle at 100% 8%, rgba(112, 167, 255, 0.16), transparent 34rem),
    linear-gradient(180deg, #07111f 0%, #0a1322 44%, #f5f7ef 44%, #f5f7ef 100%);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

::selection {
  background: var(--brand);
  color: #07111f;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

p { margin: 0; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.announce {
  position: relative;
  z-index: 110;
  padding: 10px 18px;
  color: #dffcf4;
  background: rgba(4, 13, 26, 0.84);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

header {
  position: relative;
  z-index: 100;
  background: rgba(7, 17, 31, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--brand), var(--brand-2)),
    #fff;
  box-shadow: 0 0 36px rgba(50, 245, 200, 0.42);
}

.logo .dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-left: 5px;
  border-radius: 999px;
  background: var(--brand);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a {
  padding: 9px 15px;
  border-radius: 999px;
  color: #d7e1ee;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.nav-cta,
.btn-primary,
.form-submit,
.bm-submit,
.calc-cta,
.rate-row-cta,
.btn-cta-large,
.bi-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  color: #06121f;
  background: linear-gradient(135deg, var(--brand), #d9ff72);
  box-shadow: 0 18px 42px rgba(50, 245, 200, 0.22);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nav-cta {
  padding: 13px 20px;
  white-space: nowrap;
}

.nav-cta:hover,
.btn-primary:hover,
.form-submit:hover,
.bm-submit:hover,
.calc-cta:hover,
.rate-row-cta:hover,
.btn-cta-large:hover,
.bi-cta:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 22px 54px rgba(50, 245, 200, 0.3);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--text);
  background: var(--surface-2);
}

.nav-toggle svg { width: 24px; height: 24px; }

.hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 88%, rgba(50, 245, 200, 0.14), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(112, 167, 255, 0.12), transparent 24rem);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: auto auto -180px -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50, 245, 200, 0.16), transparent 68%);
}

.hero::after {
  right: -80px;
  top: -60px;
  width: 360px;
  height: 360px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(112, 167, 255, 0.14), transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: 48px;
}

.hero .container > * {
  min-width: 0;
}

.hero-copy {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  max-width: 640px;
  margin-top: 0;
  color: #fff;
  font-size: clamp(38px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero h1 .accent {
  color: var(--brand);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.hero-lede {
  max-width: 560px;
  margin-top: 22px;
  color: #b8c8dc;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.65;
}

.hero-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #e8f0fa;
  font-size: 15px;
  font-weight: 600;
}

.hero-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #06121f;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(50, 245, 200, 0.14);
}

.hero-check-icon svg {
  width: 14px;
  height: 14px;
}

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

.btn-hero-primary,
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-hero-primary {
  color: #06121f;
  background: linear-gradient(135deg, var(--brand), #d9ff72);
  box-shadow: 0 16px 38px rgba(50, 245, 200, 0.24);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(50, 245, 200, 0.32);
}

.btn-hero-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn-hero-secondary:hover {
  border-color: rgba(50, 245, 200, 0.45);
  background: rgba(50, 245, 200, 0.08);
}

.btn-hero-primary svg,
.btn-hero-secondary svg {
  width: 18px;
  height: 18px;
}

.hero-form-card {
  position: sticky;
  top: 24px;
  min-width: 0;
  width: 100%;
  padding: 32px 30px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(8, 16, 30, 0.92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

.hero-form-card h3 {
  text-align: center;
}

.hero-form-card .form-intro {
  text-align: center;
  margin-top: 8px;
  color: #8ea0b7;
  font-size: 14px;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 22px;
}

.hero-form .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 0;
}

.hero-form .row + .row {
  margin-top: 0;
}

.hero-form .field {
  position: relative;
  min-width: 0;
}

.hero-form .field.full {
  grid-column: 1 / -1;
}

.hero-form .field label {
  color: #dce7f6;
  font-size: 13px;
  font-weight: 700;
}

.hero-form input,
.hero-form select {
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.hero-form .check {
  align-items: center;
  gap: 8px;
  margin: 4px 0 0;
  line-height: 1.45;
}

.hero-form .check input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.hero-form .check span {
  line-height: 1.45;
}

.hero-form .btn-primary {
  margin-top: 4px;
  border-radius: 12px;
  font-size: 15px;
}

.hero-form .btn-primary svg {
  width: 18px;
  height: 18px;
}

.hero-pre,
.label,
.zigzag-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(50, 245, 200, 0.34);
  border-radius: 999px;
  color: var(--brand);
  background: rgba(50, 245, 200, 0.08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-pre::before,
.label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 7px rgba(50, 245, 200, 0.13);
}

.hero-form-card h3,
.form-card h3,
.bm-form-title {
  color: #fff;
  font-size: 28px;
}

.form-intro,
.form-subtitle,
.bm-form-sub {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
}

.hero-form,
.bank-modal__form {
  margin-top: 22px;
}

.row,
.form-row,
.bm-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.row + .row,
.form-row + .form-row,
.bm-row + .bm-row {
  margin-top: 13px;
}

.field,
.form-field,
.bm-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field.full,
.bm-field.full,
.field.full {
  grid-column: 1 / -1;
}

.field label,
.form-field label,
.bm-field label,
.input-group label {
  color: #dce7f6;
  font-size: 13px;
  font-weight: 800;
}

.req { color: var(--brand); }

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: 0;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
}

select option {
  color: #101827;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(50, 245, 200, 0.7);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(50, 245, 200, 0.12);
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  outline: 2px solid rgba(50, 245, 200, 0.55);
  outline-offset: 2px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(221, 232, 246, 0.52);
}

.check,
.form-check,
.bm-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 17px 0;
  color: #c8d5e6;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.check input[type="checkbox"],
.form-check input[type="checkbox"],
.bm-check input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.check span,
.form-check span,
.bm-check span {
  flex: 1;
  line-height: 1.45;
}

.check a,
.form-check a,
.bm-check a {
  color: var(--brand);
  font-weight: 800;
}

.btn-primary,
.form-submit,
.bm-submit {
  width: 100%;
  min-height: 56px;
  padding: 15px 20px;
  font-size: 16px;
}

.btn-primary svg,
.bm-submit svg,
.btn-cta-large svg {
  width: 18px;
  height: 18px;
}

.form-msg {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 700;
}

.form-msg.show {
  display: block;
}

.form-msg.error {
  color: #fff;
  background: rgba(255, 90, 106, 0.16);
  border: 1px solid rgba(255, 90, 106, 0.3);
}

.form-msg.success {
  color: #062018;
  background: rgba(50, 245, 200, 0.72);
}

.banks-section,
.section,
.calc-section,
.contact-section,
.cta-banner {
  padding: 94px 0;
}

.banks-section {
  color: var(--text-dark);
  background: var(--paper);
}

.section {
  color: var(--text-dark);
  background: var(--paper);
}

.section-alt,
.calc-section,
.contact-section {
  color: var(--text-dark);
  background:
    radial-gradient(circle at 10% 0%, rgba(50, 245, 200, 0.16), transparent 28rem),
    #eaf0e4;
}

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

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

.section-head .label,
.zigzag-tag {
  border-color: rgba(15, 31, 52, 0.16);
  color: #087a68;
  background: rgba(50, 245, 200, 0.16);
}

.section-head .label::before { background: #087a68; }

.section-head h2 {
  margin-top: 16px;
  color: var(--text-dark);
  font-size: clamp(36px, 5vw, 64px);
}

.section-head p {
  max-width: 650px;
  margin-top: 15px;
  color: var(--muted-dark);
  font-size: 18px;
}

.bank-list {
  display: grid;
  gap: 16px;
}

.bank-item {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line-dark);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.bank-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
}

.bank-badge {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 1;
  padding: 7px 10px;
  border-radius: 999px;
  color: #07111f;
  background: var(--brand-3);
  font-size: 12px;
  font-weight: 900;
}

.bank-top {
  display: grid;
  grid-template-columns: 1.15fr 1.8fr auto;
  align-items: center;
  gap: 18px;
}

.bi-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bi-logo-img {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 21px;
  color: var(--text-dark);
  background: #fff;
  font-size: 24px;
  font-weight: 900;
  overflow: hidden;
}

.bi-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.bi-name {
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 900;
}

.bi-rating-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  color: var(--muted-dark);
  font-size: 14px;
  font-weight: 700;
}

.bi-stars,
.t-stars,
.bm-bank-rating {
  color: var(--star);
  letter-spacing: 0.03em;
}

.welcome-bonus {
  width: fit-content;
  margin-top: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #07111f;
  background: rgba(50, 245, 200, 0.22);
  font-size: 12px;
  font-weight: 900;
}

.bi-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.metric-box {
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  background: #f9fbf5;
}

.metric-box.primary {
  color: #06121f;
  background: linear-gradient(135deg, var(--brand), #d9ff72);
}

.metric-box .lbl {
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-box.primary .lbl { color: rgba(6, 18, 31, 0.66); }

.metric-box .val {
  margin-top: 8px;
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 900;
}

.metric-box.primary .val { font-size: 22px; }

.bi-cta {
  min-width: 132px;
  padding: 14px 18px;
}

.bank-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  padding-left: 7px;
}

.bb-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--muted-dark);
  background: rgba(7, 17, 31, 0.055);
  font-size: 14px;
  font-weight: 700;
}

.bb-item svg {
  width: 19px;
  height: 19px;
  color: #087a68;
}

.stats-strip {
  padding: 0;
  color: var(--text-dark);
  background: var(--paper);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 26px;
  border-radius: 34px;
  background: #0b1728;
  box-shadow: var(--shadow);
}

.stat-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.06);
}

.stat-num {
  color: #fff;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.stat-num .unit {
  color: var(--brand);
  font-size: 0.46em;
}

.stat-label {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.trust {
  color: var(--text-dark);
  background: var(--paper);
  padding: 28px 0 0;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 17px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--muted-dark);
  font-weight: 800;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: #087a68;
}

.zigzag {
  display: grid;
  gap: 18px;
}

.zigzag-row {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  align-items: stretch;
  gap: 18px;
}

.zigzag-row:nth-child(even) {
  grid-template-columns: 1fr 0.62fr;
}

.zigzag-row:nth-child(even) .zigzag-visual { order: 2; }

.zigzag-visual,
.zigzag-content,
.testimonial,
.how-step,
.rate-row,
.calc-input-stack,
.calc-output-card,
.form-card,
.contact-info-bar,
.cta-card,
.faq-grid details {
  border: 1px solid var(--line-dark);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
}

.zigzag-visual {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #101d30;
}

.zigzag-visual::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.zigzag-num {
  position: absolute;
  top: 22px;
  left: 24px;
  color: rgba(255, 255, 255, 0.2);
  font-size: 68px;
  font-weight: 900;
  line-height: 1;
}

.zigzag-icon {
  position: relative;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  color: #07111f;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 24px 60px rgba(50, 245, 200, 0.25);
}

.zigzag-icon svg {
  width: 46px;
  height: 46px;
}

.zigzag-content {
  padding: 34px;
}

.zigzag-content h3 {
  margin-top: 15px;
  color: var(--text-dark);
  font-size: clamp(28px, 3vw, 42px);
}

.zigzag-content p {
  margin-top: 16px;
  color: var(--muted-dark);
  font-size: 17px;
}

.zigzag-bullets,
.rate-features {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.zigzag-bullets li,
.rate-features li {
  position: relative;
  padding-left: 24px;
  color: var(--text-dark);
  font-weight: 700;
}

.zigzag-bullets li + li,
.rate-features li + li { margin-top: 9px; }

.zigzag-bullets li::before,
.rate-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(50, 245, 200, 0.16);
}

.rate-table {
  display: grid;
  gap: 14px;
}

.rate-row {
  display: grid;
  grid-template-columns: 170px 190px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px;
}

.rate-row.featured {
  border-color: rgba(50, 245, 200, 0.46);
  background:
    linear-gradient(135deg, rgba(50, 245, 200, 0.2), rgba(255, 255, 255, 0.78)),
    #fff;
}

.rate-term {
  color: var(--text-dark);
  font-size: 22px;
  font-weight: 900;
}

.rate-big {
  color: var(--text-dark);
  white-space: nowrap;
}

.rate-big .num {
  font-size: 58px;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.rate-big .pct {
  color: #087a68;
  font-size: 28px;
  font-weight: 900;
}

.rate-big .meta {
  display: block;
  margin-top: -8px;
  color: var(--muted-dark);
  font-weight: 800;
}

.rate-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 0;
}

.rate-features li + li { margin-top: 0; }

.rate-row-cta {
  padding: 13px 17px;
  white-space: nowrap;
}

.calc-vertical {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 18px;
}

.calc-input-stack,
.calc-output-card {
  padding: 30px;
}

.input-group + .input-group { margin-top: 26px; }

.input-group label {
  display: flex;
  justify-content: space-between;
  color: var(--text-dark);
  font-size: 15px;
}

.input-group .val {
  color: #087a68;
}

input[type="range"] {
  height: 8px;
  min-height: 8px;
  margin: 18px 0 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #07111f;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);
  appearance: none;
}

.range-bounds {
  display: flex;
  justify-content: space-between;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 700;
}

.quick-select {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qs {
  padding: 11px 13px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.66);
  font-weight: 800;
}

.qs.selected {
  color: #06121f;
  background: var(--brand);
}

.calc-output-card {
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(50, 245, 200, 0.22), transparent 20rem),
    #101d30;
}

.output-headline {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.output-final {
  margin-top: 22px;
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.output-final .euro {
  color: var(--brand);
  font-size: 0.45em;
  vertical-align: super;
}

.output-sub {
  margin-top: 16px;
  color: #c9d6e8;
  font-size: 17px;
}

.breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.breakdown-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.breakdown-item .lbl,
.yearly-bars-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.breakdown-item .val {
  margin-top: 5px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.breakdown-item.gain .val { color: var(--brand); }

.yearly-bars {
  margin-top: 28px;
}

.bars {
  height: 145px;
  display: flex;
  align-items: end;
  gap: 10px;
  margin-top: 15px;
}

.bar {
  flex: 1;
  min-height: 12px;
  border-radius: 12px 12px 3px 3px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  transition: height 0.7s cubic-bezier(.2, .8, .2, 1);
}

.bar-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.calc-cta {
  width: 100%;
  margin-top: 24px;
  padding: 15px 18px;
}

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

.how-step {
  position: relative;
  padding: 30px;
  overflow: hidden;
}

.how-step .num {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #06121f;
  background: var(--brand);
  font-size: 22px;
  font-weight: 900;
}

.how-step h3 {
  margin-top: 24px;
  color: var(--text-dark);
  font-size: 27px;
}

.how-step p {
  margin-top: 14px;
  color: var(--muted-dark);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
}

.testimonial-stack {
  display: grid;
  gap: 18px;
}

.testimonial {
  padding: 28px;
}

.testimonial.featured {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  color: #fff;
  background:
    radial-gradient(circle at 90% 12%, rgba(50, 245, 200, 0.22), transparent 20rem),
    #101d30;
}

.testimonial.featured .t-quote,
.testimonial.featured .role {
  color: #cad7e8;
}

.t-stars {
  font-size: 20px;
}

.t-quote {
  margin-top: 18px;
  color: var(--muted-dark);
  font-size: 17px;
}

.testimonial.featured .t-quote {
  font-size: 24px;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.t-avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #06121f;
  background: linear-gradient(135deg, var(--brand), #d9ff72);
  font-weight: 900;
}

.t-info .name {
  color: inherit;
  font-weight: 900;
}

.t-info .role {
  color: var(--muted-dark);
  font-size: 14px;
  font-weight: 700;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-grid details {
  padding: 22px;
}

.faq-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-grid summary::-webkit-details-marker { display: none; }

.faq-grid .plus {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #06121f;
  background: var(--brand);
  flex: 0 0 auto;
}

.faq-grid details[open] .plus { transform: rotate(45deg); }

.faq-grid details div {
  margin-top: 15px;
  color: var(--muted-dark);
}

.cta-banner {
  color: #fff;
  background: #f5f7ef;
}

.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 40px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(50, 245, 200, 0.16), transparent 34%),
    #07111f;
  overflow: hidden;
}

.cta-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.cta-card h2 {
  color: #fff;
  font-size: clamp(34px, 4vw, 58px);
}

.cta-card p {
  max-width: 650px;
  margin-top: 12px;
  color: #c9d8e8;
  font-size: 18px;
}

.btn-cta-large {
  position: relative;
  z-index: 1;
  padding: 16px 22px;
  white-space: nowrap;
}

.contact-info-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
  padding: 18px;
}

.cib-item {
  padding: 18px;
  border-radius: 20px;
  background: rgba(7, 17, 31, 0.055);
}

.cib-item .lbl {
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cib-item .val {
  margin-top: 6px;
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 900;
}

.form-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 30px;
  background: #101d30;
}

.form-card .form-title,
.form-card h3 { color: #fff; }

.form-card .form-field label { color: #dce7f6; }

footer {
  padding: 64px 0 38px;
  color: #d6e1ef;
  background: #07111f;
}

.footer-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: start;
}

.footer-brand p {
  max-width: 420px;
  margin-top: 14px;
  color: var(--muted);
}

.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-contact .item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #dce8f7;
  font-weight: 700;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contact a {
  color: #dce8f7;
  font-weight: 700;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--brand);
}

.footer-disclaimer {
  margin-top: 32px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  color: #8191a7;
  font-size: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(7, 17, 31, 0.7);
  backdrop-filter: blur(16px);
}

.modal.show { display: grid; }

.modal-content {
  max-width: 420px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  color: #fff;
  background: #101d30;
  box-shadow: var(--shadow);
}

.modal-content p { margin-top: 10px; color: var(--muted); }

.btn.btn-red {
  margin-top: 18px;
  padding: 12px 17px;
  border-radius: 999px;
  color: #06121f;
  background: var(--brand);
  font-weight: 900;
}

.bank-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  padding: 18px;
}

.bank-modal.is-open {
  display: grid;
  place-items: center;
}

.bank-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, 0.78);
  backdrop-filter: blur(16px);
}

.bank-modal__panel {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 32px;
  color: #fff;
  background: #101d30;
  box-shadow: var(--shadow);
}

.bank-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.bank-modal__close svg { width: 20px; height: 20px; }

.bank-modal__bank {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-right: 50px;
}

.bm-bank-logo {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #06121f;
  background: #fff;
  font-size: 26px;
  font-weight: 900;
  overflow: hidden;
}

.bm-bank-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.bm-bank-pre {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.bm-bank-name {
  margin-top: 5px;
  color: #fff;
  font-size: 30px;
}

.bm-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.bm-metric {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.bm-metric-lbl {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.bm-metric-val {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.bm-metric-val.red {
  color: var(--brand);
  font-size: 22px;
}

.bm-form-title {
  font-size: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .hero .container,
  .calc-vertical,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
  }

  .hero-form-card {
    position: relative;
    top: auto;
  }

  .bank-top {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 900px) {
  .nav {
    min-height: 72px;
  }

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

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
    background: rgba(7, 17, 31, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 16px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  .stats-row,
  .trust-row,
  .how-vertical,
  .faq-grid,
  .contact-info-bar,
  .footer-row,
  .bank-bottom {
    grid-template-columns: 1fr;
  }

  .zigzag-row,
  .zigzag-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .zigzag-row:nth-child(even) .zigzag-visual {
    order: 0;
  }

  .cta-card {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .announce {
    font-size: 11px;
    line-height: 1.35;
  }

  .logo {
    font-size: 20px;
  }

  .hero h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-form-card,
  .zigzag-content,
  .calc-input-stack,
  .calc-output-card,
  .testimonial,
  .how-step,
  .form-card,
  .cta-card,
  .bank-modal__panel {
    padding: 20px;
    border-radius: 24px;
  }

  .row,
  .form-row,
  .bm-row,
  .breakdown,
  .rate-row,
  .rate-features {
    grid-template-columns: 1fr;
  }

  .banks-section,
  .section,
  .calc-section,
  .contact-section,
  .cta-banner {
    padding: 68px 0;
  }

  .section-head h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .stat-item,
  .stats-row {
    padding: 18px;
  }

  .rate-big .num {
    font-size: 50px;
  }
}

/* ===============================================
   Typography refinement - softer scale and weights
   =============================================== */

body {
  font-size: 15.5px;
}

h1, h2, h3, h4 {
  line-height: 1.08;
  letter-spacing: -0.032em;
}

.logo {
  font-size: 21px;
  font-weight: 700;
}

.hero-pre,
.label,
.zigzag-tag,
.hero-benefits-head,
.field label,
.form-field label,
.bm-field label,
.input-group label,
.metric-box .lbl,
.stat-label,
.trust-item,
.output-headline,
.breakdown-item .lbl,
.yearly-bars-label,
.bar-labels,
.cib-item .lbl,
.bm-bank-pre,
.bm-metric-lbl {
  font-weight: 700;
}

.nav-cta,
.btn-primary,
.form-submit,
.bm-submit,
.calc-cta,
.rate-row-cta,
.btn-cta-large,
.bi-cta,
.qs {
  font-weight: 700;
}

.hero h1 {
  max-width: 640px;
  font-size: clamp(38px, 5.2vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-lede {
  max-width: 560px;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.65;
}

.hero-checklist li {
  font-size: 14.5px;
}

.live-badge,
.bank-badge,
.welcome-bonus {
  font-weight: 800;
}

.hero-form-card h3,
.form-card h3,
.bm-form-title {
  font-size: 24px;
  font-weight: 700;
}

.section-head h2 {
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 700;
}

.section-head p {
  font-size: 16.5px;
  line-height: 1.65;
}

.bi-logo-img,
.bi-name,
.metric-box .val,
.rate-term,
.rate-big .num,
.rate-big .pct,
.output-final,
.breakdown-item .val,
.how-step .num,
.t-avatar,
.t-info .name,
.faq-grid summary,
.cib-item .val,
.bm-bank-logo,
.bm-metric-val {
  font-weight: 800;
}

.bi-logo-img {
  font-size: 21px;
}

.bi-name {
  font-size: 17px;
}

.metric-box .val {
  font-size: 16.5px;
}

.metric-box.primary .val {
  font-size: 19px;
}

.stat-num {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.zigzag-num {
  font-size: 54px;
  font-weight: 700;
}

.zigzag-content h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
}

.zigzag-content p,
.t-quote,
.output-sub,
.cta-card p {
  font-size: 16px;
  line-height: 1.65;
}

.zigzag-bullets li,
.rate-features li {
  font-weight: 600;
}

.rate-term {
  font-size: 19px;
}

.rate-big .num {
  font-size: 44px;
  font-weight: 700;
}

.rate-big .pct {
  font-size: 23px;
}

.output-final {
  font-size: clamp(46px, 5.4vw, 68px);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.breakdown-item .val {
  font-size: 19px;
}

.how-step .num {
  font-size: 19px;
}

.how-step h3 {
  font-size: 23px;
  font-weight: 700;
}

.testimonial.featured .t-quote {
  font-size: 20px;
}

.faq-grid summary {
  font-size: 16px;
}

.cta-card h2 {
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 700;
}

.cib-item .val,
.bm-metric-val {
  font-size: 16.5px;
}

.bm-metric-val.red {
  font-size: 19px;
}

.bm-bank-name {
  font-size: 26px;
  font-weight: 700;
}

.bank-badge {
  position: absolute;
  top: 0;
  left: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  transform: translateY(-50%);
}

.bank-list {
  padding-top: 12px;
}

.bank-item {
  overflow: visible;
  background:
    linear-gradient(180deg, var(--brand), var(--brand-2)) left top / 9px 100% no-repeat,
    rgba(255, 255, 255, 0.74);
}

.bank-item::before {
  display: none;
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .hero h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .hero-lede {
    font-size: 16px;
  }

  .section-head h2 {
    font-size: clamp(28px, 8.5vw, 38px);
  }

  .rate-big .num {
    font-size: 38px;
  }

  .output-final {
    font-size: clamp(40px, 12vw, 54px);
  }
}

/* ===============================================
   Global compact type pass
   =============================================== */

body {
  font-size: 14.5px;
}

.announce,
.nav-links a,
.nav-cta,
.hero-pre,
.label,
.zigzag-tag,
.field label,
.form-field label,
.bm-field label,
.input-group label,
.metric-box .lbl,
.bb-item,
.trust-item,
.footer-disclaimer,
.footer-bottom,
.form-intro,
.form-subtitle,
.bm-form-sub {
  font-size: 12.5px;
}

.logo {
  font-size: 20px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.hero-lede {
  font-size: clamp(15px, 1.35vw, 17px);
}

.section-head h2 {
  font-size: clamp(28px, 3.2vw, 44px);
}

.section-head p,
.zigzag-content p,
.output-sub,
.cta-card p,
.t-quote {
  font-size: 15px;
}

input,
select,
textarea {
  min-height: 44px;
  padding: 11px 13px;
  font-size: 14px;
}

input[type="checkbox"],
input[type="radio"] {
  min-height: 18px;
  padding: 0;
}

.btn-primary,
.form-submit,
.bm-submit,
.calc-cta,
.rate-row-cta,
.btn-cta-large,
.bi-cta {
  min-height: 48px;
  padding: 12px 16px;
  font-size: 14px;
}

.hero-form-card h3,
.form-card h3,
.bm-form-title {
  font-size: 21px;
}

.hero-checklist li {
  font-size: 13.5px;
}

.bi-name {
  font-size: 15.5px;
}

.bi-rating-line,
.welcome-bonus,
.bank-badge,
.range-bounds,
.bar-labels,
.t-info .role,
.cib-item .lbl,
.bm-bank-pre,
.bm-metric-lbl {
  font-size: 12px;
}

.metric-box {
  min-height: 76px;
  padding: 12px;
}

.metric-box .val {
  font-size: 15px;
}

.metric-box.primary .val {
  font-size: 17px;
}

.stat-num {
  font-size: clamp(26px, 2.8vw, 38px);
}

.zigzag-content h3 {
  font-size: clamp(22px, 2.05vw, 30px);
}

.rate-term {
  font-size: 17px;
}

.rate-big .num {
  font-size: 38px;
}

.rate-big .pct {
  font-size: 20px;
}

.output-final {
  font-size: clamp(40px, 4.7vw, 58px);
}

.breakdown-item .val,
.cib-item .val,
.bm-metric-val {
  font-size: 15.5px;
}

.how-step h3 {
  font-size: 20px;
}

.testimonial.featured .t-quote {
  font-size: 18px;
}

.faq-grid summary {
  font-size: 15px;
}

.cta-card h2 {
  font-size: clamp(27px, 2.8vw, 40px);
}

.bm-bank-name {
  font-size: 23px;
}

.bm-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 18px;
}

.bm-step-dot {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #b8c9df;
  background: rgba(255, 255, 255, 0.055);
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.bm-step-dot span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.bm-step-dot.is-active,
.bm-step-dot.is-complete {
  color: #06121f;
  background: linear-gradient(135deg, var(--brand), #d9ff72);
  border-color: transparent;
}

.bm-step-dot.is-active span,
.bm-step-dot.is-complete span {
  color: rgba(6, 18, 31, 0.72);
}

.bm-step {
  display: none;
}

.bm-step.is-active {
  display: block;
}

.bm-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.bm-choice-grid.term {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.bm-choice {
  position: relative;
  display: block;
}

.bm-choice.wide {
  grid-column: 1 / -1;
}

.bm-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.bm-choice span {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #e6effb;
  background: rgba(255, 255, 255, 0.075);
  font-weight: 800;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bm-choice input:checked + span {
  color: #06121f;
  background: linear-gradient(135deg, var(--brand), #d9ff72);
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(50, 245, 200, 0.16);
}

.bm-choice:hover span {
  transform: translateY(-1px);
}

.bm-step-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.bm-next,
.bm-back {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.bm-next {
  flex: 1;
  color: #06121f;
  background: linear-gradient(135deg, var(--brand), #d9ff72);
}

.bm-back {
  padding: 12px 16px;
  color: #d7e6f7;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line);
}

.bm-step-actions .bm-submit {
  width: auto;
  flex: 1;
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .hero h1 {
    font-size: clamp(31px, 9.4vw, 42px);
  }

  .section-head h2 {
    font-size: clamp(25px, 7.6vw, 34px);
  }

  .hero-lede,
  .section-head p {
    font-size: 14.5px;
  }

  .bm-stepper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .bm-step-dot {
    min-height: 40px;
    padding: 8px 7px;
    gap: 5px;
    font-size: 12px;
  }

  .bm-step-dot span {
    font-size: 10px;
  }

  .bm-choice-grid,
  .bm-choice-grid.term,
  .bm-choice-grid.contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .live-badge {
    padding: 4px 8px;
    font-size: 9px;
  }
}

/* ===============================================
   Footer redesign - layered dark cards
   =============================================== */

footer {
  position: relative;
  overflow: hidden;
  padding: 96px 0 34px;
  background:
    radial-gradient(circle at 15% 0%, rgba(50, 245, 200, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(112, 167, 255, 0.16), transparent 24rem),
    linear-gradient(180deg, #07111f 0%, #050c17 100%);
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}

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

.footer-row {
  position: relative;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr) minmax(220px, 0.65fr);
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(9, 20, 36, 0.86);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.footer-row::after {
  display: none;
}

.footer-brand,
.footer-contact,
.footer-links {
  position: relative;
  z-index: 1;
}

.footer-brand {
  min-height: 100%;
  padding: 8px 18px 8px 0;
}

.footer-brand .logo {
  width: fit-content;
  padding: 9px 13px 9px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.footer-brand p {
  max-width: 470px;
  margin-top: 20px;
  color: #b8c8dc;
  font-size: 15px;
  line-height: 1.7;
}

.footer-brand p::after {
  content: "Kostenlos · unverbindlich · persönlich";
  display: block;
  width: fit-content;
  margin-top: 20px;
  padding: 9px 13px;
  border: 1px solid rgba(50, 245, 200, 0.24);
  border-radius: 999px;
  color: var(--brand);
  background: rgba(50, 245, 200, 0.08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.footer-contact,
.footer-links {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.055);
}

.footer-contact::before,
.footer-links::before {
  display: block;
  margin-bottom: 14px;
  color: #8fa2ba;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-contact::before { content: "Kontakt"; }
.footer-links::before { content: "Rechtliches"; }

.footer-contact .item {
  min-height: 48px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.footer-contact .item + .item {
  margin-top: 10px;
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  padding: 4px;
  border-radius: 50%;
  color: #07111f;
  background: var(--brand);
}

.footer-links {
  align-content: start;
}

.footer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links a::after {
  content: "→";
  color: var(--brand);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.footer-disclaimer {
  margin-top: 18px;
  padding: 18px 20px;
  border-color: rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  color: #9fb0c6;
  background: rgba(255, 255, 255, 0.045);
  line-height: 1.65;
}

.footer-disclaimer strong {
  color: #e9f3ff;
}

.footer-bottom {
  align-items: center;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: #8ea0b7;
  background: rgba(255, 255, 255, 0.035);
}

@media (max-width: 900px) {
  .footer-row {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .footer-brand {
    padding: 0;
  }

  .footer-row::after {
    right: -44px;
    bottom: -44px;
  }
}

@media (max-width: 640px) {
  footer {
    padding: 72px 0 28px;
  }

  .footer-row {
    border-radius: 26px;
  }

  .footer-contact,
  .footer-links {
    padding: 15px;
    border-radius: 22px;
  }

  .footer-bottom {
    align-items: flex-start;
    border-radius: 22px;
  }
}

/* ===============================================
   Header redesign - premium glass navigation
   =============================================== */

.announce {
  background:
    linear-gradient(90deg, rgba(50, 245, 200, 0.14), rgba(112, 167, 255, 0.08)),
    rgba(4, 13, 26, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #cfeee8;
  font-size: 12px;
  letter-spacing: 0.1em;
}

header {
  padding: 12px 0;
  border-bottom: 0;
  background: rgba(5, 12, 23, 0.58);
  box-shadow: none;
  backdrop-filter: blur(20px);
}

header .container {
  width: min(1200px, calc(100% - 32px));
}

.nav {
  min-height: 64px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    rgba(9, 20, 36, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.nav .logo {
  padding: 7px 14px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 19px;
}

.nav .logo::before {
  width: 31px;
  height: 31px;
  box-shadow: 0 0 28px rgba(50, 245, 200, 0.34);
}

.nav-links {
  gap: 3px;
  padding: 5px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
}

.nav-links a {
  padding: 10px 15px;
  color: #b8c8dc;
  font-size: 13px;
  font-weight: 700;
}

.nav-links a:hover {
  color: #06121f;
  background: var(--brand);
}

.nav-cta {
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid rgba(217, 255, 114, 0.28);
  font-size: 13px;
  box-shadow: 0 14px 34px rgba(50, 245, 200, 0.22);
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.075);
}

.nav-toggle:hover {
  background: rgba(50, 245, 200, 0.16);
}

@media (max-width: 900px) {
  header {
    padding: 10px 0;
  }

  .nav {
    min-height: 60px;
    border-radius: 26px;
  }

  .nav-links {
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    padding: 10px;
    border-radius: 24px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
      rgba(7, 17, 31, 0.96);
    backdrop-filter: blur(18px);
  }

  .nav-links a {
    padding: 13px 15px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
  }
}

@media (max-width: 640px) {
  .announce {
    padding: 8px 14px;
    font-size: 10px;
  }

  header .container {
    width: min(100% - 22px, 1200px);
  }

  .nav {
    padding: 7px;
  }

  .nav .logo {
    max-width: calc(100% - 54px);
    padding-right: 11px;
    font-size: 17px;
  }

  .nav .logo::before {
    width: 28px;
    height: 28px;
  }
}

/* ===============================================
   Inner pages - legal and thank-you layout
   =============================================== */

body:has(.legal-page),
body:has(.danke-page) {
  background:
    radial-gradient(circle at 8% 0%, rgba(50, 245, 200, 0.18), transparent 30rem),
    radial-gradient(circle at 94% 12%, rgba(112, 167, 255, 0.14), transparent 28rem),
    linear-gradient(180deg, #07111f 0%, #0a1322 100%);
  background-color: #07111f;
}

.legal-page {
  position: relative;
  max-width: 980px;
  margin: 74px auto 96px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 36px;
  color: #d8e5f4;
  background:
    radial-gradient(circle at 100% 0%, rgba(50, 245, 200, 0.12), transparent 20rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    rgba(9, 20, 36, 0.9);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.legal-page::before {
  content: "Rechtliches";
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(50, 245, 200, 0.24);
  border-radius: 999px;
  color: var(--brand);
  background: rgba(50, 245, 200, 0.08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-page h1 {
  color: #fff;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
}

.legal-page h2 {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
}

.legal-page h3 {
  margin-top: 24px;
  color: #eaf3ff;
  font-size: 18px;
  font-weight: 700;
}

.legal-page p,
.legal-page li {
  color: #b9c9dc;
  font-size: 15.5px;
  line-height: 1.75;
}

.legal-page p {
  margin-top: 14px;
}

.legal-page ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.legal-page li {
  position: relative;
  padding-left: 24px;
}

.legal-page li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(50, 245, 200, 0.1);
}

.legal-page a {
  color: var(--brand);
  font-weight: 700;
}

.legal-page .info-block {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.legal-page .info-block p:first-child {
  margin-top: 0;
}

.legal-page p[style] {
  border-top-color: rgba(255, 255, 255, 0.12) !important;
  color: #8ea0b7 !important;
}

.danke-page {
  position: relative;
  padding: 76px 0 96px;
  color: #fff;
}

.danke-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 38px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(50, 245, 200, 0.18), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(9, 20, 36, 0.92);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.danke-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 28px;
  color: #06121f;
  background: linear-gradient(135deg, var(--brand), #d9ff72);
  box-shadow: 0 20px 54px rgba(50, 245, 200, 0.24);
  font-size: 38px;
  font-weight: 800;
}

.danke-wrap h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
}

.danke-wrap > p {
  max-width: 620px;
  margin: 18px auto 0;
  color: #b9c9dc;
  font-size: 17px;
  line-height: 1.7;
}

.danke-card {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
}

.danke-card h3 {
  color: #fff;
  font-size: 22px;
}

.danke-steps {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.danke-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #c8d8ea;
}

.step-num {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #06121f;
  background: var(--brand);
  font-weight: 800;
}

.danke-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  padding: 13px 18px;
  border-radius: 999px;
  color: #06121f;
  background: linear-gradient(135deg, var(--brand), #d9ff72);
  font-weight: 800;
}

.danke-back svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 640px) {
  .legal-page {
    margin: 46px auto 70px;
    border-radius: 26px;
  }

  .legal-page h1 {
    font-size: 32px;
  }

  .legal-page p,
  .legal-page li {
    font-size: 14px;
  }

  .danke-page {
    padding: 48px 0 72px;
  }

  .danke-wrap {
    border-radius: 28px;
  }
}

/* ===============================================
   Hero form width refinement
   =============================================== */

@media (min-width: 1101px) {
  .hero .container {
    width: min(1280px, calc(100% - 40px));
    grid-template-columns: minmax(0, 1fr) minmax(460px, 0.88fr);
    gap: 44px;
    align-items: center;
  }

  .hero-form-card {
    width: 100%;
    padding: 30px;
  }

  .hero-form .row {
    gap: 15px;
  }

  .hero-form input,
  .hero-form select {
    min-height: 48px;
  }
}

/* ===============================================
   Hero reference layout - responsive polish
   =============================================== */

@media (max-width: 900px) {
  .hero {
    padding: 48px 0 64px;
  }

  .hero-checklist {
    gap: 12px;
    margin-top: 26px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    min-height: 46px;
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 36px 0 52px;
  }

  .hero-checklist li {
    gap: 12px;
    font-size: 14px;
  }

  .hero-check-icon {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
  }

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

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
  }

  .hero-form-card {
    padding: 24px 20px 22px;
    border-radius: 20px;
  }

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

/* ===============================================
   Bank modal redesign - reference wizard style
   =============================================== */

.bank-modal__panel {
  width: min(560px, 92vw);
  margin: 18px auto;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  --bm-accent: #16b897;
  --bm-accent-strong: #0b7a68;
  --bm-muted: #9da9bb;
  padding: 0;
  border: 1px solid rgba(16, 24, 39, 0.12);
  border-radius: 12px;
  color: var(--text-dark);
  background: #f6f8fc;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.bank-modal__titlebar {
  padding: 12px 14px 10px;
  border-bottom: 1px solid rgba(16, 24, 39, 0.1);
}

.bank-modal__titlebar h3 {
  color: #1f2d3f;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.bank-modal__close {
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  color: #61738d;
  background: #e9edf5;
}

.bank-modal__close svg {
  width: 14px;
  height: 14px;
}

.bank-modal__close:hover {
  color: #2c3f57;
  background: #dde5f1;
}

.bank-modal__bank,
.bm-metrics {
  display: none;
}

.bank-modal__form {
  margin-top: 0;
  padding: 10px 14px 0;
}

.bm-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 4px 0 8px;
}

.bm-step-dot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--bm-muted);
  background: transparent;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.bm-step-dot::after {
  content: "";
  position: absolute;
  left: calc(100% - 2px);
  right: -10px;
  top: 50%;
  height: 2px;
  background: #d7deea;
  transform: translateY(-50%);
}

.bm-step-dot:last-child::after {
  display: none;
}

.bm-step-dot em {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c6d2e2;
  border-radius: 50%;
  color: #8fa0b7;
  background: #fff;
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
}

.bm-step-dot span {
  color: var(--bm-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.bm-step-dot.is-active em,
.bm-step-dot.is-complete em {
  border-color: var(--bm-accent);
  color: #ffffff;
  background: var(--bm-accent);
}

.bm-step-dot.is-active span,
.bm-step-dot.is-complete span {
  color: var(--bm-accent);
}

.bm-step-dot.is-active,
.bm-step-dot.is-complete {
  color: var(--bm-accent);
  background: transparent;
}

.bm-step-dot.is-complete::after {
  background: #97e3d4;
}

.bm-step {
  padding: 2px 0 10px;
}

.bm-form-title {
  color: #1f2e41;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  padding: 0;
}

.bm-form-sub {
  margin-top: 7px;
  margin-bottom: 10px;
  color: #7a889b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
}

.bm-choice-grid,
.bm-choice-grid.term,
.bm-choice-grid.contact {
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.bm-choice span {
  min-height: 44px;
  justify-content: center;
  border: 1px solid rgba(22, 184, 151, 0.24);
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(180deg, #27cdaa, var(--bm-accent));
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.bm-choice input:checked + span {
  color: #fff;
  background: linear-gradient(180deg, var(--bm-accent), var(--bm-accent-strong));
  box-shadow: 0 8px 18px rgba(11, 122, 104, 0.28);
}

.bm-row .bm-field label,
.bm-check {
  color: #546377;
  font-size: 14px;
}

.bm-row input,
.bm-row select,
.bm-row textarea {
  border: 1px solid rgba(16, 24, 39, 0.14);
  border-radius: 8px;
  color: #11263b;
  background: #fff;
  min-height: 34px;
  padding: 7px 10px;
  font-size: 14px;
  line-height: 1.25;
}

.bm-row input::placeholder,
.bm-row textarea::placeholder {
  color: #9aacbf;
  font-size: 14px;
}

.bm-step[data-step="4"] .bm-field label {
  display: none;
}

.bm-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 0 0;
  border-top: 1px solid rgba(16, 24, 39, 0.08);
}

.bm-back,
.bm-cancel,
.bm-next,
.bm-step-actions .bm-submit {
  min-height: 34px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 6px 9px;
}

.bm-back {
  margin-right: auto;
}

.bm-cancel {
  margin-left: auto;
}

.bm-back {
  color: #9bacc2;
  background: #e8edf5;
  border: 1px solid rgba(111, 131, 153, 0.16);
}

.bm-back:not([disabled]) {
  color: #586f8a;
  background: #e8edf6;
}

.bm-back[disabled] {
  cursor: not-allowed;
  opacity: 0.8;
}

.bm-cancel {
  color: #4e6a96;
  background: #e6ecf8;
  border: 1px solid rgba(61, 88, 136, 0.16);
}

.bm-next,
.bm-step-actions .bm-submit {
  color: #fff;
  background: linear-gradient(180deg, #27cdaa, var(--bm-accent));
  border: 0;
}

.bm-step-actions .bm-submit {
  width: auto;
}

.bm-step-actions .bm-next,
.bm-step-actions .bm-submit {
  flex: 0 0 auto;
  min-width: 96px;
  padding-left: 16px;
  padding-right: 16px;
}

.bm-check {
  margin: 10px 0 8px;
  line-height: 1.25;
}

.bm-check a {
  font-weight: 600;
}

.bank-modal {
  padding: 8px;
}

.bank-modal.is-open {
  align-items: center;
  justify-items: center;
  padding-top: max(8px, env(safe-area-inset-top));
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}

@media (max-width: 900px) {
  .bank-modal__panel {
    width: min(560px, 94vw);
  }

  .bank-modal__titlebar h3 {
    font-size: 16px;
  }

  .bm-form-title {
    font-size: 20px;
  }

  .bm-form-sub {
    font-size: 14px;
  }

  .bm-choice span {
    font-size: 14px;
  }

  .bm-back,
  .bm-cancel,
  .bm-next,
  .bm-step-actions .bm-submit {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .bank-modal {
    padding: 8px;
    padding-top: max(8px, env(safe-area-inset-top));
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  .bank-modal__panel {
    width: min(560px, calc(100% - 8px));
    max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 16px);
    margin: 0 auto;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .bank-modal__titlebar {
    padding: 11px 12px 9px;
  }

  .bank-modal__titlebar h3 {
    font-size: 15px;
  }

  .bank-modal__form {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 9px 12px calc(10px + env(safe-area-inset-bottom));
  }

  .bm-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 8px;
  }

  .bm-step-dot::after {
    display: none;
  }

  .bm-step-dot span {
    font-size: 11px;
  }

  .bm-form-title {
    font-size: 19px;
  }

  .bm-form-sub {
    font-size: 12px;
  }

  .bm-row input,
  .bm-row select,
  .bm-row textarea {
    width: 97%;
    font-size: 16px;
    line-height: 1.3;
    margin-left: auto;
    margin-right: auto;
  }

  .bm-choice span {
    min-height: 40px;
    font-size: 14px;
  }

  .bm-step {
    padding-bottom: 56px;
  }

  .bm-step-actions {
    justify-content: space-between;
    position: sticky;
    bottom: 0;
    z-index: 5;
    background: #f6f8fc;
    padding-bottom: 4px;
  }

  .bm-back,
  .bm-cancel,
  .bm-next,
  .bm-step-actions .bm-submit {
    min-height: 33px;
    font-size: 14px;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 640px) {
    .bank-modal__form input[type="text"],
    .bank-modal__form input[type="email"],
    .bank-modal__form input[type="tel"],
    .bank-modal__form select,
    .bank-modal__form textarea {
      font-size: 16px !important;
      line-height: 1.3;
    }
  }
}
