/* --------------------------------
   BRAND & GLOBAL
----------------------------------- */
:root {
    --brand-blue: #0050b3;       /* Deeper, more institutional blue */
    --brand-blue-light: #1d8fff;
    --brand-orange: #f58025;
    --black: #000000;
    --white: #ffffff;

    --bg-main: #f4f6fb;
    --bg-alt: #e8f0ff;
    --card-bg: #ffffff;
    --border-subtle: #d1d5e6;

    --text-main: #111827;        /* Darker, cleaner text */
    --text-muted: #4b5563;       /* Still readable on white */

    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);

    --transition-fast: 150ms ease-out;
}

/* Reset & base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(0, 80, 179, 0.12), transparent 55%),
        radial-gradient(circle at bottom right, rgba(245, 128, 37, 0.08), transparent 55%),
        var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* --------------------------------
   HEADER (FORTUNE 500 STYLE)
----------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #e2e8f0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 72px;
    width: auto;
}

/* NAV */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    font-size: 0.94rem;
    font-weight: 500;
}

.nav-links a {
    color: #111827;
    position: relative;
    padding-bottom: 0.1rem;
    transition:
        color var(--transition-fast),
        opacity var(--transition-fast),
        transform var(--transition-fast);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-light));
    transition: width var(--transition-fast);
}

/* Optional active state (if you add class="nav-active" in templates) */
.nav-links a.nav-active {
    color: var(--brand-blue);
    font-weight: 600;
}

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

.nav-links a:hover {
    color: var(--brand-blue);
}

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

/* --------------------------------
   BUTTONS
----------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast);
    text-align: center;
    gap: 0.35rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
    color: var(--white);
    box-shadow: 0 16px 35px rgba(0, 80, 179, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 45px rgba(0, 80, 179, 0.45);
}

.btn-secondary {
    background: #e0edff;
    border-color: #c2d7ff;
    color: #111827;
}

.btn-secondary:hover {
    background: #d2e4ff;
}

.btn-outline {
    background: transparent;
    border-color: #cbd5f5;
    color: var(--brand-blue);
    font-weight: 600;
}

.btn-outline:hover {
    background: #e4edff;
}

.btn-full {
    width: 100%;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    background: var(--brand-orange);
    color: var(--white);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast);
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(245, 128, 37, 0.45);
    background: #ff8f3c;
}

/* --------------------------------
   HERO
----------------------------------- */
.hero {
    padding: 3.4rem 0 3.6rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 2.6rem;
    align-items: center;
}

.hero-copy h1 {
    font-size: 2.6rem;
    line-height: 1.15;
    margin: 0 0 0.8rem;
    color: #0b1020;
}

.hero-copy p {
    margin: 0;
    max-width: 34rem;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 8px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.7rem;
}

.hero-subtext {
    margin-top: 1.1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--brand-orange);
}

/* HERO FORM (if used) */
.hero-form-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.9rem 1.7rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid #d7dcec;
}

.hero-form-card h2 {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
    color: #0b1020;
}

.form-subtitle {
    margin: 0 0 1.15rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --------------------------------
   FORM ELEMENTS
----------------------------------- */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.9rem;
}

.form-group label {
    font-size: 0.85rem;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea,
.contact-form input,
.contact-form textarea {
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    padding: 0.55rem 0.95rem;
    font-size: 0.9rem;
    background: #f9fafb;
    color: var(--text-main);
    outline: none;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast);
}

/* textarea size fix */
.contact-form textarea,
.hero-form-card textarea {
    border-radius: 16px;
    resize: vertical;
}

/* placeholders */
.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9ca3af;
    font-size: 0.9rem;
    opacity: 0.95;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 1px rgba(0, 80, 179, 0.35);
    background: #ffffff;
}

.form-footnote {
    margin-top: 0.7rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

.char-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: -0.1rem;
    margin-bottom: 0.4rem;
    text-align: right;
}
/* Error pages: increase vertical spacing */
.error-page .section {
  padding: 8rem 0;
}
@media (max-width: 768px) {
  .error-page .section {
    padding: 5rem 0;
  }
}

/* --------------------------------
   GENERIC SECTIONS
----------------------------------- */
.section {
    padding: 3rem 0;
}

/*i updated this above to 3 rem */
.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 34rem;
    margin: 0 auto 2.3rem;
}

.section-header h2 {
    margin-bottom: 0.4rem;
    font-size: 1.6rem;
    color: #0b1020;
}

.section-header p {
    margin: 0;
    color: var(--text-muted);
}

/* --------------------------------
   CARD GRID
----------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.3rem 1.2rem;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 14px 30px rgba(148, 163, 184, 0.24);
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast),
        background-color var(--transition-fast);
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 80, 179, 0.55);
    box-shadow: 0 20px 40px rgba(148, 163, 184, 0.4);
    background: radial-gradient(circle at top left, rgba(0, 80, 179, 0.06), #ffffff);
}

.card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.02rem;
    color: #0b1020;
}

.card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --------------------------------
   STEPS
----------------------------------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.step {
    position: relative;
    padding: 1.2rem 1.2rem 1.3rem;
    border-radius: var(--radius-md);
    border: 1px dashed rgba(148, 163, 184, 0.9);
    background: radial-gradient(circle at top left, rgba(0, 80, 179, 0.1), transparent 70%), #ffffff;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(0, 80, 179, 0.08);
    color: var(--brand-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
}
/* Checkbox error styling */
.checkbox-wrapper.has-error input[type="checkbox"],
label.has-error input[type="checkbox"] {
  outline: 2px solid #dc3545;
  outline-offset: 2px;
}


/* --------------------------------
   CTA SECTION
----------------------------------- */
.section-cta {
    background: linear-gradient(135deg, #eef2ff, #f9fbff);
    border-top: 1px solid #dde3f0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.9rem;
}

.cta-content h2 {
    margin: 0 0 0.4rem;
    color: #0b1020;
}

.cta-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* --------------------------------
   CONTACT SECTION (generic)
----------------------------------- */
.contact {
    padding: 3.6rem 1.25rem 4rem;
    text-align: center;
}

.contact h2 {
    margin-bottom: 1rem;
    color: #0b1020;
}

.contact-form {
    max-width: 520px;
    margin: 0 auto;
    text-align: left;
    background: var(--card-bg);
    padding: 1.8rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid #dde3f0;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    color: #374151;
    margin-bottom: 0.55rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-top: 0.25rem;
    margin-bottom: 0.9rem;
}

/* Spinner */
.spinner {
    display: none;
    margin: 0.8rem auto;
    border: 3px solid rgba(148, 163, 184, 0.3);
    border-top: 3px solid var(--brand-blue);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    animation: spin 0.75s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.success-message {
    display: none;
    margin-top: 0.8rem;
    color: #16a34a;
    font-size: 0.85rem;
}

.error-message {
    display: none;
    margin-top: 0.8rem;
    color: #dc2626;
    font-size: 0.85rem;
}

/* --------------------------------
   FOOTER – INSTITUTIONAL
----------------------------------- */
.footer-new {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 60%), #020617;
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.5);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}

.footer-logo {
    width: 150px;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: #9ca3af;
    font-size: 0.9rem;
    max-width: 16rem;
}

.footer-col h3 {
    margin-bottom: .8rem;
    text-transform: uppercase;
    font-size: .82rem;
    letter-spacing: .08em;
    color: #e5e7eb;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: .35rem;
}

.footer-col a {
    color: #9ca3af;
    font-size: 0.9rem;
    transition: color 0.18s ease, transform 0.18s ease;
}

.footer-col a:hover {
    color: var(--brand-blue-light);
    transform: translateX(1px);
}

/* Contact lines */
.footer-col p {
    margin: 0 0 0.3rem;
    font-size: 0.9rem;
    color: #9ca3af;
}

.footer-col i {
    margin-right: 0.4rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    color: #6b7280;
    font-size: .85rem;
}

/* SOCIAL ICONS (if used) */
.footer-social {
    margin-top: 0.7rem;
    display: flex;
    gap: 0.8rem;
    font-size: 1.2rem;
}

.footer-social a {
    color: #9ca3af;
}

.footer-social a:hover {
    color: var(--brand-blue-light);
}

/* --------------------------------
   RESPONSIVE (global)
----------------------------------- */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-form-card {
        max-width: 440px;
        margin: 0 auto;
    }

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

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

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

@media (max-width: 640px) {
    .nav-links {
        display: none; /* keep simple for now */
    }

    .header-content {
        padding: 0.6rem 0;
    }

    .logo-img {
        height: 52px;
    }

    .hero {
        padding-top: 2.4rem;
    }

    .hero-copy h1 {
        font-size: 2.1rem;
    }

    .card-grid,
    .steps-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .container {
        padding: 0 1rem;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* =========================================================
   HOMEPAGE ADD-ONS – ONE AND DONE (SCOPED)
   Styles: Quick Fit, Comparison, Image Band, Checklist, Resources
   Scope: .page-home only (won't break other pages)
========================================================= */

.page-home .muted { color: var(--text-muted); }
.page-home .btn-block { width: 100%; justify-content: center; }

.page-home .section-header h2 { letter-spacing: -0.02em; }
.page-home .section-header p { max-width: 60rem; }

/* Premium base for all add-on cards */
.page-home .fit-card,
.page-home .compare-card,
.page-home .resource-card,
.page-home .fit-action-box,
.page-home .home-band-tile,
.page-home .checklist-card {
  border: 1px solid rgba(221, 227, 240, 0.95);
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.08),
    0 2px 0 rgba(15, 23, 42, 0.02);
}

.page-home .compare-card,
.page-home .resource-card,
.page-home .fit-action-box,
.page-home .home-band-tile,
.page-home .checklist-card {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.page-home .compare-card:hover,
.page-home .resource-card:hover,
.page-home .fit-action-box:hover,
.page-home .home-band-tile:hover,
.page-home .checklist-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow:
    0 28px 70px rgba(15, 23, 42, 0.10),
    0 2px 0 rgba(15, 23, 42, 0.02);
}

/* ---------------------------
   QUICK FIT
---------------------------- */
.page-home .section-home-fit { padding: 2rem 0; }

.page-home .fit-card{
  padding: 1.55rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 1.25rem;
  align-items: start;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

.page-home .fit-copy h2 { margin: 0.35rem 0 0.55rem; }
.page-home .fit-copy p { margin: 0; line-height: 1.55; }

.page-home .fit-pills{
  margin-top: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.page-home .fit-pill{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(221, 227, 240, 0.95);
  background: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.page-home .fit-pill i { color: #16a34a; }

.page-home .fit-actions{
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
}

.page-home .fit-action-box{
  padding: 1.05rem;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.page-home .fit-action-icon{
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(37, 99, 235, 0.22);
}

.page-home .fit-action-icon i { color: var(--brand-blue); font-size: 1.05rem; }

.page-home .fit-action-body h3{
  margin: 0;
  font-size: 1.03rem;
  letter-spacing: -0.01em;
}

.page-home .fit-action-body p{ margin: 0.25rem 0 0.75rem; line-height: 1.45; }

/* ---------------------------
   COMPARISON
---------------------------- */
.page-home .section-home-compare{ padding: 3.25rem 0; }

.page-home .compare-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.05rem;
  margin-top: 1.1rem;
}

.page-home .compare-card{ padding: 1.15rem 1.15rem 1.2rem; }

.page-home .compare-top{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.page-home .compare-icon{
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(2, 132, 199, 0.10);
  border: 1px solid rgba(2, 132, 199, 0.22);
  color: #0369a1;
}

.page-home .compare-top h3{
  margin: 0;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}

.page-home .compare-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.page-home .compare-list li{
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.page-home .compare-list span{ color: var(--text-muted); font-size: 1.0rem; }
.page-home .compare-list strong{ color: #0b1020; font-weight: 500; letter-spacing: -0.01em; }

.page-home .compare-cta{
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* ---------------------------
   IMAGE BAND (Fast timelines / Built for operators / Use it your way)
   THIS is the missing piece you were seeing
---------------------------- */
.page-home .section-home-band{ padding: 1.6rem 0 2.2rem; }

.page-home .home-band{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.page-home .home-band-tile{
  position: relative;
  overflow: hidden;
  background: #f3f5f9;
}

.page-home .home-band-tile img{
  width: 100%;
  height: 270px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 220ms ease;
}

.page-home .home-band-tile:hover img{ transform: scale(1.06); }

.page-home .home-band-overlay{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.78) 100%);
  color: #fff;
}

.page-home .home-band-overlay h3{
  margin: 0 0 0.25rem;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.page-home .home-band-overlay p{ margin: 0; opacity: 0.92; }

/* ---------------------------
   CHECKLIST (What to prepare)
---------------------------- */
.page-home .section-home-checklist{ padding: 3.25rem 0; }

.page-home .checklist-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.15rem;
}

.page-home .checklist-card{
  padding: 1.15rem 1.15rem 1.2rem;
}

.page-home .checklist-top{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.page-home .check-icon{
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(37, 99, 235, 0.22);
  flex-shrink: 0;
}

.page-home .check-icon i{ color: var(--brand-blue); font-size: 1.05rem; }

.page-home .checklist-top h3{
  margin: 0;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  color: #0b1020;
}

.page-home .checklist{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.page-home .checklist li{
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.7rem 0.8rem;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  color: var(--text-muted);
  line-height: 1.45;
}

.page-home .checklist li i{ margin-top: 0.15rem; color: #16a34a; }

.page-home .checklist-cta{
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* ---------------------------
   OWNER RESOURCES (Funding FAQs / Working capital basics / Talk through options)
   THIS is the other missing piece you were seeing
---------------------------- */
.page-home .section-home-resources{ padding: 3.25rem 0; }

.page-home .resource-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}

.page-home .resource-card{
  text-decoration: none;
  color: inherit;
  padding: 1.15rem;
}

.page-home .resource-icon{
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(37, 99, 235, 0.22);
  margin-bottom: 0.7rem;
}

.page-home .resource-icon i{ color: var(--brand-blue); font-size: 1.1rem; }

.page-home .resource-card h3{
  margin: 0 0 0.35rem;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}

.page-home .resource-card p{ margin: 0; line-height: 1.55; }

.page-home .resource-link{
  margin-top: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
}

/* ---------------------------
   RESPONSIVE
---------------------------- */
@media (max-width: 1100px){
  .page-home .fit-card{ grid-template-columns: 1fr; }
  .page-home .compare-grid{ grid-template-columns: 1fr; }
  .page-home .home-band{ grid-template-columns: 1fr; }
  .page-home .resource-grid{ grid-template-columns: 1fr; }
  .page-home .checklist-grid{ grid-template-columns: 1fr; }
  .page-home .home-band-tile img{ height: 230px; }
}

@media (max-width: 560px){
  .page-home .compare-list li{
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* -------------------------------
   ERROR PAGES (404 / 500)
-------------------------------- */
.error-body {
    background: var(--bg-main);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
}

.error-container {
    max-width: 480px;
    margin: 4rem auto;
    text-align: center;
}

.error-code {
    font-size: 6rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin: 0 0 1rem;
    text-shadow: 0 0 20px rgba(0, 80, 179, 0.35);
}

.error-message {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* --------------------------------
   COMING SOON PAGE
----------------------------------- */
.coming-soon-body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(0, 80, 179, 0.12), transparent 55%),
        radial-gradient(circle at bottom right, rgba(245, 128, 37, 0.10), transparent 55%),
        #f5f7fb;
    color: var(--text-main);
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

.coming-soon-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.04), transparent 60%);
    pointer-events: none;
}

.coming-soon-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 0 1.5rem;
}

.coming-soon-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem 2rem 2.3rem;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.coming-soon-logo {
    max-width: 220px;
    margin: 0 auto 1.5rem;
}

.coming-soon-title {
    margin: 0 0 0.6rem;
    font-size: 1.4rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0b1020;
}

.coming-soon-subtitle {
    margin: 0;
    font-size: 0.98rem;
    color: var(--text-muted);
}

/* small tweak for mobile */
@media (max-width: 480px) {
    .coming-soon-card {
        padding: 2rem 1.4rem 1.9rem;
    }

    .coming-soon-title {
        font-size: 1.2rem;
        letter-spacing: 0.14em;
    }

    .coming-soon-logo {
        max-width: 190px;
        margin-bottom: 1.2rem;
    }
}

.contact-section {
    margin-top: 40px;
    text-align: center;
    color: var(--text-main);
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-description {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
    color: var(--text-muted);
}

.contact-details p {
    margin: 5px 0;
    font-size: 1.05rem;
}

.contact-details a {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 600;
}

/* --------------------------------
   APPLICATION WIZARD
----------------------------------- */
.application-shell {
    padding-top: 3rem;
    padding-bottom: 4rem;
    color: var(--text-main);
    background: var(--bg-main);
}

.application-hero {
    padding: 1.5rem 0 0.5rem;
}

.application-hero h1 {
    margin: 0 0 0.35rem;
    font-size: 1.9rem;
    color: #0b1020;
}

.application-hero p {
    margin: 0;
    color: var(--text-muted);
    max-width: 36rem;
}

.application-main {
    padding-top: 1.5rem;
}

.application-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.9rem 1.6rem 2.1rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid #dde3f0;
}

/* Required star */
label.required::after,
.checkbox-inline.required span::after,
.checkbox-block.required span::after,
.label.required::after {
    content: " *";
    color: #dc2626;
    font-weight: 600;
}

/* Progress bar */
.app-progress {
    margin-bottom: 1.25rem;
}

.app-progress-track {
    position: relative;
    height: 4px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.app-progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-light));
    transition: width 200ms ease-out;
}

.app-progress-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.25rem;
    margin: 0.65rem 0 0;
    padding: 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.app-progress-steps li {
    text-align: center;
    opacity: 0.7;
}

.app-progress-steps li.active {
    opacity: 1;
    color: #0b1020;
    font-weight: 600;
}

/* Step error banner */
.step-error-banner {
    display: none;            /* hide until JS shows it */
    margin-bottom: 1rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    font-size: 0.85rem;
    color: #b91c1c;
}
/* Bottom error banner, near the Continue button */
.step-error-banner--bottom {
    margin-top: 0.75rem;
    margin-bottom: 0; /* we’re right above the nav bar */
}

/* Desktop: show top banner, hide bottom one by default */
.step-error-banner--bottom {
    display: none;
}

/* Mobile: hide the top error banner, show the bottom one instead */
@media (max-width: 640px) {
    .step-error-banner {
        display: none !important;
    }
    .step-error-banner--bottom {
        display: block;
    }
}

/* Steps */
.app-step {
    display: none;
}

.app-step.active {
    display: block;
}

.app-step h2 {
    margin: 0 0 0.4rem;
    font-size: 1.3rem;
    color: #0b1020;
}

.step-subtitle {
    margin: 0 0 1.4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.step-section-title {
    margin: 1.4rem 0 0.7rem;
    font-size: 0.94rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

/* Radio and checkbox styling */
.radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.88rem;
}

.radio-row label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Radio pills for yes/no */
.radio-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.radio-pill-group.has-error {
    outline: 1px solid rgba(220, 38, 38, 0.9);
    border-radius: 999px;
    padding: 0.25rem 0.3rem;
}

.radio-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.9);
    background: #f9fafb;
    cursor: pointer;
    font-size: 0.86rem;
    transition: background 120ms ease-out, border-color 120ms ease-out, color 120ms ease-out;
}

.radio-pill input {
    display: none;
}

.radio-pill span {
    display: inline-block;
}

.radio-pill input:checked + span {
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-light));
    color: #ffffff;
    padding-inline: 0.4rem;
    border-radius: 999px;
    font-weight: 600;
}

/* Checkboxes */
.checkbox-inline,
.checkbox-block {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.checkbox-block {
    background: #f9fafb;
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 0.65rem;
}

.checkbox-inline input,
.checkbox-block input {
    margin-top: 0.1rem;
}

/* SSN wrapper and ghost button */
.ssn-wrapper {
    display: flex;
    align-items: stretch;
    gap: 0.4rem;
}

.ssn-wrapper input {
    flex: 1;
}

.btn-ghost.ssn-toggle {
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    background: #ffffff;
    padding: 0 0.7rem;
    font-size: 0.8rem;
    cursor: pointer;
    white-space: nowrap;
}

/* Consents + fine print */
.consent-box {
    margin-top: 1.1rem;
}

.consent-list {
    margin-top: 0.8rem;
}

.fine-print {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Error state for fields */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: rgba(220, 38, 38, 0.9);
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.28);
}

/* Optional hint text */
.field-hint {
    margin-top: 0.3rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Step actions */
.step-actions {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.leave-warning {
    margin-top: 1.1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}

/* Messages override for application context */
.application-card .success-message,
.application-card .error-message {
    text-align: left;
}

/* Document grid + dropzones */
.document-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.dropzone {
    border-radius: 14px;
    border: 1.5px dashed rgba(148, 163, 184, 0.9);
    background: #f9fafb;
    padding: 0.9rem 0.8rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 120ms ease-out, background 120ms ease-out, transform 120ms ease-out;
    font-size: 0.84rem;
}

.dropzone p {
    margin: 0.2rem 0;
}

.dropzone span {
    text-decoration: underline;
}

.dropzone input[type="file"] {
    display: none;
}

.dropzone-file-name {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.dropzone.drag-over {
    border-color: var(--brand-blue);
    background: rgba(219, 234, 254, 0.7);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 900px) {
    .application-card {
        padding-inline: 1.15rem;
    }

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

    .app-progress-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 0.3rem;
    }

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

@media (max-width: 640px) {
    .application-shell {
        padding-top: 2.2rem;
    }

    .application-card {
        padding-inline: 1rem;
    }

    .app-progress-steps {
        font-size: 0.7rem;
    }

    /*.step-actions {*/
    /*    flex-direction: column-reverse;*/
    }

    /*.step-actions .btn {*/
    /*    width: 100%;*/
    }
}

/* Phone input with +1 prefix */
.phone-wrapper {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.phone-prefix {
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    background: #eff1f5;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* SSN Show/Hide button text */
.ssn-toggle {
    color: #111827 !important;
}

/* Make Step 1 feel a bit “larger” */
.app-step[data-step="0"] h2 {
    font-size: 1.6rem;
}

.app-step[data-step="0"] .step-subtitle {
    font-size: 0.95rem;
}

.app-step[data-step="0"] .consent-box span {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Same as business row */
.copy-address-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.75rem;
}

.copy-address-row label {
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Upload progress styling */
.upload-progress-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 18px;
}

.upload-progress-wrapper {
    margin-top: 0.5rem;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    min-height: 1.5rem;
    flex-wrap: wrap;
}

.upload-progress {
    margin-top: 0.1rem;
    height: 5px;
    border-radius: 999px;
    background: rgba(209, 213, 219, 0.8);
    overflow: hidden;
    min-width: 140px;
    max-width: 180px;
}

.upload-progress-bar {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #4fd1c5, #3182ce);
    transition: width 0.2s ease-out;
}

.upload-progress-text {
    font-size: 0.75rem;
    color: #4b5563;
    white-space: nowrap;
}

.dropzone-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.4rem;
    gap: 0.75rem;
}

.dropzone-remove {
    border: none;
    background: transparent;
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    color: #111827 !important;
}

/* ---------------------------------------------
   Hyperlink Styling for Application Pages
--------------------------------------------- */

.application-card a,
.consent-box a,
.consent-list a,
.fine-print a {
    color: var(--brand-blue);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.application-card a:hover,
.consent-box a:hover,
.consent-list a:hover,
.fine-print a:hover {
    color: var(--brand-blue-light);
    opacity: 0.9;
    text-decoration: underline;
}

.application-card a:active,
.consent-box a:active,
.consent-list a:active,
.fine-print a:active {
    opacity: 0.8;
}

.checkbox-block span a {
    color: var(--brand-blue);
    font-weight: 600;
}

.application-card a:visited,
.consent-box a:visited,
.consent-list a:visited,
.fine-print a:visited {
    color: var(--brand-blue);
}

.application-card span a {
    padding: 0 2px;
}

.application-card a:focus,
.consent-list a:focus,
.fine-print a:focus {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

/* --------------------------------
   DOCUMENTS STEP (PLAID + UPLOADS)
----------------------------------- */

.documents-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.3rem;
    margin-top: 1.1rem;
}

.documents-option {
    background: #ffffff;
    border-radius: 18px;
    padding: 1rem 1rem 1.1rem;
    border: 1px solid #dde3f0;
    box-shadow: 0 12px 30px rgba(148, 163, 184, 0.25);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.documents-option--primary {
    border-color: rgba(0, 80, 179, 0.7);
    background:
        radial-gradient(circle at top left, rgba(0, 80, 179, 0.16), transparent 60%),
        #ffffff;
}

.documents-option--secondary {
    background:
        radial-gradient(circle at top right, rgba(245, 128, 37, 0.16), transparent 60%),
        #ffffff;
}

.documents-option-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.documents-option-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #0b1020;
}

.documents-option-header p {
    margin: 0.1rem 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.documents-option-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: #eff1f7;
}

.documents-option-icon--plaid {
    border: 1px solid rgba(0, 80, 179, 0.7);
}

.documents-option-icon--upload {
    border: 1px solid rgba(245, 128, 37, 0.75);
}

.documents-option-body {
    margin: 0.2rem 0 0.4rem;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.documents-option-hint {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.documents-status {
    margin-top: 0.5rem;
    text-align: center;
    font-size: 0.86rem;
}

.manual-upload-container {
    margin-top: 0.8rem;
}

/* Documents footer (lock + reassurance text) */
.documents-footer {
    margin-top: 1.3rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.75rem 0.8rem;
    border-radius: 14px;
    background: #f9fafb;
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.documents-footer-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.documents-footer-text p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.documents-toggle-btn {
    margin-top: 0.4rem;
}

/* --------------------------------
   SUBMITTED STEP STYLING
----------------------------------- */

.submit-success {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding-top: 0.6rem;
}

.submit-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    margin: 0 auto 0.9rem;
    background: radial-gradient(circle at top left, rgba(0, 80, 179, 0.2), rgba(226, 232, 240, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 46px rgba(148, 163, 184, 0.65);
}

.submit-success-checkmark {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 2px solid rgba(45, 212, 191, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #16a34a;
    background: #f9fafb;
}

.submit-success h2 {
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
    font-size: 1.4rem;
    color: #0b1020;
}

.submit-success .step-subtitle {
    max-width: 32rem;
    margin: 0 auto 1.3rem;
}

.submit-success-details {
    text-align: left;
    margin: 0.9rem auto 1.3rem;
    max-width: 420px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.submit-success-details h3 {
    margin: 0 0 0.4rem;
    font-size: 0.96rem;
    color: #0b1020;
}

.submit-success-details ul {
    margin: 0;
    padding-left: 1.1rem;
}

.submit-success-details li {
    margin-bottom: 0.25rem;
}

.submit-success-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 0.3rem;
}

@media (max-width: 900px) {
    .documents-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .submit-success-details {
        text-align: left;
        padding-inline: 0.3rem;
    }
}

/* Critical: only show the current step */
.app-step {
    display: none;
}
.app-step.active {
    display: block;
}

/* Submitted step container */
.app-step.submitted-step {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.submitted-state {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px 28px;
    max-width: 520px;
    margin: 32px auto 0;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    text-align: center;
}

.submitted-icon-wrapper {
    width: 68px;
    height: 68px;
    border-radius: 999px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    color: #ffffff;
    font-size: 34px;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.22);
}

.submitted-check {
    font-size: 1.8rem;
    line-height: 1;
}

.submitted-title {
    font-size: 1.45rem;
    font-weight: 650;
    color: #0f172a;
    margin-bottom: 6px;
}

.submitted-subtitle {
    font-size: 0.98rem;
    color: #4b5563;
    margin-bottom: 10px;
}

.submitted-copy {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    color: #4b5563;
}

.submitted-meta {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 4px;
}

.submitted-meta + .submitted-meta {
    margin-top: 4px;
}

.submitted-actions {
    margin-top: 24px;
}

.submitted-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 10px 22px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    min-width: 220px;
    background: #0b4a79;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
    transition: background 0.18s ease, transform 0.18s ease,
                box-shadow 0.18s ease;
}

.submitted-home-btn:hover {
    background: #0f5488;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.26);
}

.submitted-home-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}

/* HERO IMAGE CONTAINERS (homepage + about + blog) */
.hero-image-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(148, 163, 184, 0.45);
}

.hero-image-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* CONTACT PAGE LAYOUT */
.contact-page-hero {
    padding-bottom: 1rem;
}

.contact-page-main {
    padding-top: 1rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

/* LEFT PANELS */
.contact-panels {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.contact-panel {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.2rem 1.3rem;
    border: 1px solid #dde3f0;
    box-shadow: 0 16px 34px rgba(148, 163, 184, 0.25);
}

.contact-panel h2 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    color: #0b1020;
}

.contact-panel p {
    margin: 0 0 0.6rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-panel-details p {
    margin-bottom: 0.4rem;
}

/* RIGHT FORM CARD */
.contact-form-card {
    background: var(--card-bg);
    border-radius: 22px;
    padding: 1.8rem 1.6rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid #dde3f0;
}

.contact-form-card h2 {
    margin: 0 0 0.4rem;
    font-size: 1.25rem;
    color: #0b1020;
}

.contact-form-subtitle {
    margin: 0 0 1.4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-form-main .form-group {
    margin-bottom: 0.9rem;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ================================
   ABOUT PAGE
================================ */
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.about-hero h1 {
    font-size: 2.3rem;
    margin-bottom: 0.6rem;
    color: #0b1020;
}

.about-hero p {
    max-width: 34rem;
}

/* ABOUT PAGE – HERO IMAGE FULL FIT */
.about-hero-image {
    height: 300px;
}


/* Stats strip */
.about-stats {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.stat-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.1rem 1rem;
    border: 1px solid #dde3f0;
    box-shadow: 0 16px 34px rgba(148, 163, 184, 0.28);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 650;
    margin-bottom: 0.2rem;
    color: #0b1020;
}

.stat-card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Approach layout */
.about-approach-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.section-header-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.about-pill-list {
    margin-top: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-pill {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.1rem 1rem;
    border: 1px solid #dde3f0;
}

.about-pill h3 {
    margin: 0 0 0.3rem;
    font-size: 1.02rem;
    color: #0b1020;
}

.about-pill p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Right-side panels */
.about-side-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-side-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1rem 1rem 1.1rem;
    border: 1px solid #dde3f0;
}

.about-side-card h3 {
    margin: 0 0 0.4rem;
    font-size: 0.98rem;
    color: #0b1020;
}

.about-side-card ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.86rem;
    color: var(--text-muted);
}

/* Values section tweaks */
.about-values-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Responsive for About */
@media (max-width: 1024px) {
    .about-stats-grid,
    .about-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-approach-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .about-stats-grid,
    .about-values-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
#documents-upload-error {
  display: none;
}
@media (max-width: 640px) {
  #documents-upload-error {
    display: block;
  }
}

/* ================================
   BLOG / INSIGHTS PAGE
================================ */
.blog-hero {
    padding-bottom: 1.5rem;
}

.blog-hero-header h1 {
    font-size: 2.1rem;
    margin-bottom: 0.5rem;
    color: #0b1020;
}

.blog-hero-header p {
    max-width: 40rem;
}

/* Filters */
.blog-filters {
    margin-top: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-filter {
    border-radius: 999px;
    border: 1px solid #d0d7e5;
    padding: 0.35rem 0.9rem;
    font-size: 0.82rem;
    background: #ffffff;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out, transform 150ms ease-out;
}

.blog-filter--active,
.blog-filter:hover {
    background: #e0edff;
    border-color: var(--brand-blue);
    color: #0b1020;
}

/* Featured article + aside */
.blog-feature-section {
    padding-top: 1.5rem;
}

.blog-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.blog-feature {
    background: #ffffff;
    border-radius: 22px;
    padding: 1.6rem 1.5rem;
    border: 1px solid #dde3f0;
    box-shadow: 0 20px 42px rgba(148, 163, 184, 0.32);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.5rem;
}

.blog-feature-body h2 {
    margin: 0 0 0.4rem;
    font-size: 1.5rem;
    color: #0b1020;
}

.blog-feature-excerpt {
    margin: 0 0 0.7rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.blog-feature-image {
    min-height: 220px;
}

/* Aside card */
.blog-aside-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.4rem 1.3rem;
    border: 1px solid #dde3f0;
    box-shadow: 0 16px 34px rgba(148, 163, 184, 0.28);
}

.blog-aside-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    color: #0b1020;
}

.blog-aside-card p {
    margin: 0 0 0.9rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Meta + link */
.blog-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin: 0 0 0.3rem;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.blog-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-link::after {
    content: "↗";
    font-size: 0.85rem;
}

.blog-link:hover {
    color: var(--brand-blue-light);
}

/* Blog list grid */
.blog-list-section {
    padding-top: 1.5rem;
}

.blog-list-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.blog-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.2rem 1.15rem;
    border: 1px solid #dde3f0;
    box-shadow: 0 18px 36px rgba(148, 163, 184, 0.28);
}

.blog-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.02rem;
    color: #0b1020;
}

.blog-card-excerpt {
    margin: 0 0 0.7rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Blog */
@media (max-width: 1100px) {
    .blog-feature {
        grid-template-columns: minmax(0, 1fr);
    }

    .blog-feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

@media (max-width: 640px) {
    .blog-hero-header h1 {
        font-size: 1.8rem;
    }

    .blog-list-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* ================================
   FAQ PAGE
   (Paste after your global styles)
================================ */

.faq-hero {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.faq-hero-header {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.faq-hero-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.4rem;
    color: #0b1020;
}

.faq-hero-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.faq-hero-meta {
    margin-top: 1.3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.faq-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.faq-hero-meta i {
    font-size: 0.9rem;
}

/* Reuses your .blog-filter button style for topic chips */
.faq-filters {
    margin-top: 2rem;
    margin-bottom: 1rem;
    justify-content: center;
}

/* MAIN LAYOUT */
.faq-layout {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
    gap: 1.8rem;
}

.faq-main {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.faq-sidebar {
    align-self: flex-start;
}

/* FAQ GROUP CARD */
.faq-group {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #dde3f0;
    box-shadow: 0 18px 40px rgba(148, 163, 184, 0.25);
    padding: 1.4rem 1.3rem 1.5rem;
}

.faq-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.faq-group-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0b1020;
    margin: 0;
}

.faq-group-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

/* LIST + ACCORDION ITEMS */
.faq-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.faq-item + .faq-item {
    border-top: 1px solid #e5e7eb;
}

.faq-question {
    width: 100%;
    padding: 0.9rem 0.1rem;
    border: none;
    background: none;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    cursor: pointer;
}

.faq-question-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
}

.faq-question-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid #cbd5f5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #4b5563;
    background: #f9fafb;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.faq-item[aria-expanded="true"] .faq-question-icon {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
    color: #ffffff;
    border-color: transparent;
}

.faq-answer {
    display: none;
    padding: 0 0 0.9rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.faq-answer p {
    margin: 0 0 0.55rem;
}

.faq-answer ul {
    margin: 0.2rem 0 0.6rem 1.1rem;
    padding: 0;
    font-size: 0.88rem;
}

.faq-answer li {
    margin-bottom: 0.25rem;
}

/* SIDEBAR CARD */
.faq-sidebar-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #dde3f0;
    box-shadow: 0 16px 36px rgba(148, 163, 184, 0.25);
    padding: 1.5rem 1.3rem;
}

.faq-sidebar-card h2 {
    margin: 0 0 0.45rem;
    font-size: 1.02rem;
    color: #0b1020;
}

.faq-sidebar-card p {
    margin: 0 0 0.8rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.faq-sidebar-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.7rem;
}

.faq-sidebar-meta p {
    margin-bottom: 0.25rem;
}

.faq-sidebar-meta strong {
    color: #111827;
}

/* BOTTOM DISCLAIMER / CTA */
.faq-bottom-cta {
    margin-top: 2.6rem;
    text-align: center;
}

.faq-bottom-cta p {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 960px) {
    .faq-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .faq-sidebar {
        order: -1;
    }
}

@media (max-width: 640px) {
    .faq-hero {
        padding-top: 2.4rem;
        padding-bottom: 1.8rem;
    }

    .faq-hero-header h1 {
        font-size: 1.9rem;
    }

    .faq-hero-meta {
        align-items: flex-start;
    }
}
/* =====================================
   HEADER – BANKING / INSTITUTIONAL
===================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.03);
}

/* Inner layout */
.header-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.75rem;
    padding: 0.75rem 0;
}

/* Logo */
.header-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.header-logo {
    height: 54px;
    width: auto;
    display: block;
    margin-left: 10px;
}

/* NAVIGATION – desktop base */
.header-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.92rem;
}

/* Links */
.header-link {
    position: relative;
    text-decoration: none;
    font-weight: 500;
    color: #4b5563;
    letter-spacing: 0.03em;
    padding-bottom: 0.15rem;
    transition:
        color 0.16s ease,
        opacity 0.16s ease;
}

.header-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-blue, #0050b3), var(--brand-blue-light, #1d8fff));
    transition: width 0.18s ease;
}

.header-link:hover {
    color: #111827;
}

.header-link:hover::after {
    width: 100%;
}

/* Header CTA button */
.header-cta {
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    background: linear-gradient(135deg, var(--brand-blue, #0050b3), var(--brand-blue-light, #1d8fff));
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 80, 179, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        background 0.16s ease;
}

.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(0, 80, 179, 0.5);
    background: linear-gradient(135deg, #1d8fff, #0f6ad3);
}

/* Ensure base .btn doesn’t override header CTA */
.header-cta.btn {
    border: none;
}

/* ICON-BASED MATERIAL HAMBURGER */
.header-toggle--icon {
    display: none; /* shown on mobile */
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #d7dce5;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.18s ease;
}

.header-toggle--icon:hover {
    background: #f4f7fb;
    border-color: #c8d2e0;
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
}

/* Icons */
.header-toggle--icon .material-symbols-outlined {
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    color: #111827;
    transition: opacity 0.2s ease, transform 0.2s ease;
    position: absolute;
}

/* Default: show hamburger menu */
.menu-icon {
    opacity: 1;
    transform: scale(1);
}

/* Hide close icon initially */
.close-icon {
    opacity: 0;
    transform: scale(0.6);
}

/* When nav is open */
.header-toggle--open .menu-icon {
    opacity: 0;
    transform: scale(0.6) rotate(90deg);
}

.header-toggle--open .close-icon {
    opacity: 1;
    transform: scale(1);
}

/* Mobile only */
@media (max-width: 768px) {
    .header-toggle--icon {
        display: inline-flex;
        position: relative;
        margin-right: 10px;
    }
}

/* Prevent background scrolling when menu open */
.nav-open {
    overflow: hidden;
}

/* ============= DESKTOP / LARGE TABLET ============= */
@media (min-width: 901px) {
    .header-inner {
        padding: 0.85rem 0;
    }

    .header-logo {
        height: 60px;
    }
}

/* ============= TABLETS / SMALL DESKTOPS ============= */
@media (max-width: 900px) {
    .header-inner {
        gap: 1.25rem;
        padding: 0.6rem 0;
    }

    .header-nav {
        gap: 1.2rem;
        font-size: 0.9rem;
    }

    .header-cta {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* ============= PHONES – CLEAN WHITE DROPDOWN ============= */
@media (max-width: 768px) {
    .header-inner {
        padding: 0.6rem 0;
        position: relative;
    }

    .header-logo {
        height: 44px;
    }

    /* Show toggle, hide nav initially */
    .header-toggle {
        display: inline-flex;
    }

    .header-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        /*margin-top: 0.35rem;*/
        padding: 0.75rem 1.25rem 1rem;
        background: #ffffff;
        border-top: 1px solid rgba(148, 163, 184, 0.35);
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        z-index: 999;
    }

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

    .header-link {
        width: 100%;
        padding: 0.6rem 0;
        font-size: 0.95rem;
        border-bottom: 1px solid #f3f4f6;
    }

    .header-link:last-of-type {
        border-bottom: none;
    }

    .header-link::after {
        display: none; /* no underline animation in dropdown */
    }

    .header-cta {
        margin-top: 0.7rem;
        align-self: stretch;
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
    }
}



/* Footer contact lines: align icon + text on one line */
.footer-col p {
    display: flex;
    align-items: flex-start;
    margin: 0 0 0.5rem;  /* Slightly increased bottom margin for better spacing between contact items */
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.4;    /* Reduced from inherited 1.6 for tighter multi-line spacing; adjust if needed */
}

.footer-col p i {
    flex-shrink: 0;
    margin-right: 0.6rem;  /* Increased from 0.4rem for better separation */
    margin-top: 0.15rem;   /* Vertically centers the icon with the first line of text */
}

.footer-col p span {
    flex: 1;
}

/* Make sure the link doesn’t break to a new line by itself */
.footer-col p a {
    display: inline;
    white-space: nowrap;     /* optional: keeps phone/email on one line */
}
/* =====================================
   HOMEPAGE – PREMIUM BANKING LOOK
   (SAFE TO APPEND AT BOTTOM)
===================================== */

/* HERO REFINEMENTS */
.hero--homepage {
    padding-top: 3.6rem;
    padding-bottom: 3.4rem;
}

.hero--homepage .hero-copy h1 {
    font-size: 2.7rem;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0 0 0.35rem;
}

.hero-lead {
    margin-top: 0;
    margin-bottom: 1.2rem;
    max-width: 36rem;
    color: var(--text-muted);
}

/* HERO PILLS */
.hero-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    background: #eef2ff;
    color: #111827;
    border: 1px solid #d4ddff;
    white-space: nowrap;
}

.hero-pill i {
    font-size: 0.85rem;
    color: var(--brand-blue);
}

/* HERO RATING */
.hero-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    margin-top: 0.4rem;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.hero-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    color: #f59e0b;
}

.hero-rating-stars i {
    font-size: 0.9rem;
}

.hero-rating-text {
    color: var(--text-muted);
}

/* HERO IMAGE */
.hero-image-container--homepage {
    min-height: 260px;
}

/* =====================================
   METRICS STRIP
===================================== */

.section-metrics {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
}

.metrics-strip {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.8rem 1.6rem 1.9rem;
    border: 1px solid #dde3f0;
    box-shadow: 0 18px 45px rgba(148, 163, 184, 0.28);
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr);
    gap: 1.8rem;
    align-items: center;
}

.metrics-intro p {
    margin: 0.1rem 0 0;
    font-size: 0.94rem;
    color: var(--text-muted);
}

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

.metric {
    padding-right: 0.4rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 650;
    color: #0b1020;
    margin-bottom: 0.1rem;
}

.metric-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.metric-copy {
    font-size: 0.84rem;
    margin: 0;
    color: var(--text-muted);
}

/* =====================================
   PRODUCT CARDS
===================================== */

.product-card {
    position: relative;
    padding-top: 1.5rem;
}

.product-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    color: var(--brand-blue);
}

.product-icon i {
    font-size: 1rem;
}

.product-list {
    margin: 0.7rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.product-list li {
    margin-bottom: 0.25rem;
}

/* Section footnote text */
.section-footnote {
    margin-top: 1.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: left;
}

/* =====================================
   REASONS / WHY CHOOSE US
===================================== */

.reasons-grid .reason-card {
    padding-top: 1.5rem;
}

.reason-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    color: #92400e;
}

.reason-icon i {
    font-size: 0.95rem;
}

/* =====================================
   USE OF FUNDS SECTION
===================================== */

.use-funds-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
    gap: 2rem;
    align-items: flex-start;
}

.use-funds-copy h2 {
    margin-top: 0.2rem;
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}

.use-funds-copy p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.use-funds-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.use-fund-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.8rem 0.4rem;
}

.use-fund-item h3 {
    margin: 0 0 0.25rem;
    font-size: 0.98rem;
}

.use-fund-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.use-fund-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0369a1;
}

.use-fund-icon i {
    font-size: 0.95rem;
}

/* =====================================
   STEPS – HOMEPAGE TWEAKS
===================================== */

.steps-grid--homepage .step {
    background: #ffffff;
    border-radius: var(--radius-md);
    border-style: solid;
    border-color: #dde3f0;
    box-shadow: 0 14px 32px rgba(148, 163, 184, 0.3);
}

.step-list {
    margin: 0.65rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.step-list li {
    margin-bottom: 0.25rem;
}

/* =====================================
   CARD GRID – HORIZONTAL SCROLL ON MOBILE
===================================== */

.card-grid--scroll {
    /* desktop / tablet: normal grid (inherits from .card-grid) */
}

/* On smaller screens, turn selected grids into horizontal scrolling rows */
@media (max-width: 768px) {
    .metrics-strip {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .use-funds-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .card-grid--scroll {
        display: flex;
        overflow-x: auto;
        padding-bottom: 0.75rem;
        gap: 1rem;
        scroll-snap-type: x mandatory;
    }

    .card-grid--scroll > .card {
        min-width: 260px;
        max-width: 320px;
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .card-grid--scroll::-webkit-scrollbar {
        height: 6px;
    }

    .card-grid--scroll::-webkit-scrollbar-track {
        background: transparent;
    }

    .card-grid--scroll::-webkit-scrollbar-thumb {
        background: rgba(148, 163, 184, 0.6);
        border-radius: 999px;
    }

    .hero--homepage {
        padding-top: 2.6rem;
        padding-bottom: 2.6rem;
    }

    .hero--homepage .hero-copy h1 {
        font-size: 2.1rem;
    }

    .hero-pill-row {
        gap: 0.4rem;
    }
}

@media (max-width: 640px) {
    .metrics-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .metrics-strip {
        padding: 1.5rem 1.2rem 1.6rem;
    }

    .use-funds-grid {
        gap: 1.4rem;
    }

    .hero-rating {
        font-size: 0.82rem;
    }
}
.form-status {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.45;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    display: inline-block;
}

.form-status--success {
    background-color: #ecfdf5;      /* light mint green */
    color: #065f46;                 /* deep emerald green */
    border: 1px solid #34d399;      /* soft green border */
}

.form-status--error {
    background-color: #fef2f2;      /* light red */
    color: #b91c1c;                 /* deep red */
    border: 1px solid #fca5a5;      /* soft red border */
}
/* ================================
   LEGAL PAGES (TERMS / PRIVACY / SECURITY)
================================ */

.legal-hero {
    padding-top: 3rem;
    padding-bottom: 1.6rem;
    background: linear-gradient(135deg, #eef2ff, #f9fbff);
    border-bottom: 1px solid #dde3f0;
}

.legal-hero-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
}

.legal-hero .eyebrow {
    margin-bottom: 0.45rem;
}

.legal-hero h1 {
    margin: 0 0 0.55rem;
    font-size: 2rem;
    color: #0b1020;
}

.legal-hero-text {
    margin: 0;
    font-size: 0.98rem;
    color: var(--text-muted);
}

.legal-meta {
    margin-top: 0.9rem;
    font-size: 0.82rem;
    color: #6b7280;
}

/* Main legal content wrapper */
.legal-body {
    padding-top: 2.3rem;
    padding-bottom: 3rem;
}

.legal-page {
    max-width: 900px;
    margin: 0 auto;
}

/* Headings */
.legal-page h2 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #0b1020;
}

.legal-page h3 {
    margin-top: 1.4rem;
    margin-bottom: 0.4rem;
    font-size: 1rem;
    color: #111827;
}

/* Text & lists */
.legal-page p {
    margin: 0 0 0.8rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.legal-page ul,
.legal-page ol {
    margin: 0.4rem 0 1rem 1.3rem;
    padding: 0;
    font-size: 0.94rem;
    color: var(--text-muted);
}

.legal-page li {
    margin-bottom: 0.35rem;
}

/* Small footnote / last section text */
.legal-footnote {
    margin-top: 1.4rem;
    font-size: 0.85rem;
    color: #6b7280;
}

/* Responsive tweaks */
@media (max-width: 640px) {
    .legal-hero {
        padding-top: 2.4rem;
        padding-bottom: 1.4rem;
    }

    .legal-hero h1 {
        font-size: 1.7rem;
    }

    .legal-body {
        padding-top: 1.8rem;
        padding-bottom: 2.4rem;
    }

    .legal-page {
        padding: 0 0.1rem;
    }
}
/* Legal summary callout boxes */
.legal-callout {
    margin: 1.2rem 0 1.6rem;
    padding: 1rem 1.2rem;
    border-radius: 0.75rem;
    background-color: #eff6ff;      /* soft blue background */
    border: 1px solid #bfdbfe;      /* light blue border */
    font-size: 0.9rem;
    color: var(--text-muted);
}
.submitted-home-btn {
    color: #ffffff !important;     /* white text */
}
/* "Your Privacy Choices" badge */
.privacy-choices-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: none;
    background: transparent;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: #0066cc;
    cursor: pointer;
    font-family: inherit;
}

.privacy-choices-badge:hover {
    text-decoration: underline;
}

.privacy-choices-toggle {
    display: inline-flex;
    align-items: center;
    padding: 0.05rem 0.35rem;
    border-radius: 999px;
    background-color: #0066cc;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
}

.privacy-choices-toggle .toggle-check,
.privacy-choices-toggle .toggle-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.toggle-check {
    padding-right: 0.25rem;
    margin-right: 0.1rem;
    border-right: 1px solid rgba(255,255,255,0.6);
}
/* Footer: "Your Privacy Choices" button styled like a link */
.footer-col ul li .privacy-choices-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    font: inherit;          /* same font, size, weight as links */
    color: inherit;         /* same color as other footer links */
    cursor: pointer;
    text-align: left;
}

.footer-col ul li .privacy-choices-badge span {
    line-height: 1.4;
}

/* Hover to match link hover behaviour */
.footer-col ul li .privacy-choices-badge:hover {
    text-decoration: underline;
}

/* Privacy icon sizing */
.privacy-choices-icon {
    height: 1em;            /* match text size */
    width: auto;
    display: inline-block;
    vertical-align: middle;
}
/* Make "Your Privacy Choices" match other footer links */
.footer-col ul li .privacy-choices-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    font: inherit;
    color: #e5e7eb;  /* <-- MATCH footer links */
    cursor: pointer;
    text-align: left;
}

.footer-col ul li .privacy-choices-badge:hover {
    text-decoration: underline;
    color: #ffffff; /* optional – same hover as other links */
}

/* Icon sizing */
.privacy-choices-icon {
    height: 1em;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(1.3); /* ensures white/light appearance like other icons */
}
/* Make Your Privacy Choices match footer links EXACTLY */
.footer-link-privacy {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    color: var(--footer-link-color, #e5e7eb); /* same as other links */
    cursor: pointer;
    text-decoration: none;
}

.footer-link-privacy span {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

/* Hover effect same as other links */
.footer-link-privacy:hover span {
    text-decoration: underline;
    color: #ffffff;
}

/* Icon styling to match link size */
.footer-link-privacy .privacy-icon {
    height: 0.9em;        /* same optical height as text */
    width: auto;
    opacity: 0.85;        /* match subtle icon tone */
    margin-top: 1px;      /* aligns baseline perfectly */
}

/* Optional: brighten icon on hover */
.footer-link-privacy:hover .privacy-icon {
    opacity: 1;
}
/* Final override: make "Your Privacy Choices" identical to other legal links */
.footer-link-privacy {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 0.9rem;          /* same as .footer-col a */
    font-weight: 400;
    color: #9ca3af;             /* same as .footer-col a */
    cursor: pointer;
    text-decoration: none;
}

.footer-link-privacy span {
    font-size: inherit;
    line-height: 1.4;
    color: inherit;
}

/* Hover state to match .footer-col a:hover */
.footer-link-privacy:hover span {
    color: var(--brand-blue-light);
    transform: translateX(1px);
    text-decoration: none;      /* footer links don’t underline on hover */
}

/* Icon: small and subtle, aligned with text */
.footer-link-privacy .privacy-icon {
    height: 0.9em;              /* same visual height as text */
    width: auto;
    margin-top: 1px;
    opacity: 0.85;
}

.footer-link-privacy:hover .privacy-icon {
    opacity: 1;
}
/* Bottom row on Documents step: lock text left, hCaptcha right */
.documents-bottom-row {
    margin-top: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Let the lock text take available width */
.documents-footer {
    flex: 1 1 auto;
}

/* hCaptcha box on the right */
.hcaptcha-wrapper {
    flex: 0 0 auto;
}

/* Red outline for hCaptcha when invalid */
.hcaptcha-wrapper.has-error {
    border: 2px solid #ff5b5b;
    border-radius: 8px;
    padding: 8px;
}

/* Red outline for Plaid / Manual boxes when invalid */
.documents-option.has-error {
    border: 2px solid #ff5b5b;
    box-shadow: 0 0 0 1px rgba(255, 91, 91, 0.15);
}
/* Bottom row: lock text left, hCaptcha right */
.documents-bottom-row {
    margin-top: 1.5rem;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    align-content: space-between;
}

/* Ensure the lock text container aligns at the top */
.documents-footer {
    flex: 1 1 auto;
    display: flex;
    align-items: flex-start; /* aligns icon + text */
}

/* hCaptcha box aligned to the top */
.hcaptcha-wrapper {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start; /* ensures hCaptcha aligns with icon/text */
}

/* Red outline for hCaptcha when invalid */
.hcaptcha-wrapper.has-error {
    border: 2px solid #ff5b5b;
    border-radius: 8px;
    padding: 8px;
}

/* Red outline for Plaid / Manual boxes when invalid */
.documents-option.has-error {
    border: 2px solid #ff5b5b;
    box-shadow: 0 0 0 1px rgba(255, 91, 91, 0.15);
}
#plaid-status {
    font-size: 1.05rem;      /* Slightly larger */
    font-weight: 600;        /* Semi-bold */
    margin-top: 6px;
}
.currency-wrapper {
    position: relative;
}
.currency-prefix {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #444;
    font-size: 0.95rem;
}
.currency-wrapper input {
    padding-left: 28px; /* Make space for $ */
}
.leave-warning .meta-icon {
    font-size: 1em;
    vertical-align: text-bottom;
}

@media (max-width: 640px) {
    .application-card {
        padding-bottom: 5rem; /* make room for sticky nav */
    }

    #wizard-nav {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        box-shadow: 0 -2px 12px rgba(15, 23, 42, 0.08);
        z-index: 20;
    }
}
/* Avoid iOS zooming on form fields */
@supports (-webkit-touch-callout: none) {
    .application-card input,
    .application-card select,
    .application-card textarea {
        font-size: 16px;
    }
}
iframe[src*="plaid.com"] {
    max-width: 100%;
}
@media (max-width: 640px) {
    .dropzone {
        padding: 1.1rem 0.9rem;
        min-height: 88px; /* bigger tap target */
    }

    .dropzone p {
        font-size: 0.9rem;
    }

    .dropzone-actions {
        justify-content: flex-end;
    }
}
/* SUBMIT OVERLAY (blocks screen while application is sending) */
.submit-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none; /* shown via .is-active */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(3px);
}

.submit-overlay.is-active {
    display: flex;
}

.submit-overlay__content {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    max-width: 360px;
    width: 90%;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
    text-align: center;
}

.submit-overlay__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.submit-overlay__subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

/* Simple spinner */
.submit-overlay__spinner {
    margin: 0 auto 1rem auto;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 3px solid #e5e7eb;
    border-top-color: #2563eb;
    animation: submit-spinner 0.8s linear infinite;
}

/* Progress bar */
.submit-overlay__progress {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.submit-overlay__bar {
    width: 40%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #4f46e5);
    animation: submit-bar 1.2s ease-in-out infinite;
}

@keyframes submit-spinner {
    to {
        transform: rotate(360deg);
    }
}

@keyframes submit-bar {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(20%);
    }
    100% {
        transform: translateX(100%);
    }
}

/*@media (max-width: 640px) {*/
/*    .submit-overlay__content {*/
/*        padding: 1.5rem 1.25rem;*/
/*        max-width: 320px;*/
/*    }*/
/*}*/
.submit-overlay__note {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}
.submit-overlay__error-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.submit-overlay__close-btn {
    margin-top: 1.5rem;
    padding: 0.65rem 1.25rem;
    background: #c62828;
    color: white;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}
.submit-overlay__close-btn:hover {
    background: #b71c1c;
}
/* ================================
   LEGAL – LAYOUT & SIDEBAR WIDTH
================================ */

.legal-layout {
    display: grid;
    /* widen the sidebar from 260px → 320px */
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 2.25rem;
    align-items: flex-start;
}

/* Sidebar container */
.legal-toc {
    position: sticky;
    top: 110px; /* sits under sticky header */
    align-self: flex-start;
    z-index: 5;
}

/* Sidebar "card" – now flex so list can scroll inside */
.legal-toc-card {
    background: var(--card-bg, #ffffff);
    border-radius: 12px;
    padding: 1.25rem 1.2rem 1.35rem;
    border: 1px solid var(--border-subtle, #e2e8f0);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    font-size: 0.9rem;

    /* NEW: make the card fit viewport height & allow inner scroll */
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 140px); /* tweak this if needed */
}

/* Title + subtitle stay at the top */
.legal-toc-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted, #6b7280);
    margin: 0 0 0.25rem;
}

.legal-toc-subtitle {
    font-size: 0.84rem;
    color: var(--text-muted, #6b7280);
    margin: 0 0 0.7rem;
}

/* List now scrolls inside the card */
.legal-toc-list {
    list-style: none;
    padding: 0;
    margin: 0.2rem 0 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;

    /* NEW: scrolling area */
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0; /* important so flexbox allows scrolling */
    padding-right: 0.1rem; /* tiny space for scrollbar */
}

.legal-toc-item {
    margin: 0;
}

/* Links – can now take advantage of extra width */
.legal-toc-link {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.38rem 0.65rem;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    color: var(--text-muted, #4b5563);
    transition:
        background-color 140ms ease-out,
        color 140ms ease-out,
        box-shadow 140ms ease-out;
}

.legal-toc-number {
    flex-shrink: 0;
    min-width: 1.6rem;
    text-align: right;
    font-feature-settings: "tnum" 1;
    font-variant-numeric: tabular-nums;
    opacity: 0.7;
    font-size: 0.82rem;
}

.legal-toc-label {
    flex: 1;
    font-size: 0.88rem;
    line-height: 1.4;
}

/* Hover – light, no movement */
.legal-toc-link:hover {
    background: #f3f4f6;
    color: #111827;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
}

/* Active state – cleaner pill, solid brand color */
.legal-toc-link.is-active {
    background: var(--brand-blue-soft, #e0ecff);
    color: #0b1020;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.35);
}

.legal-toc-link.is-active .legal-toc-number {
    opacity: 1;
    font-weight: 600;
}

/* Small meta footer in the card – stays pinned at bottom */
.legal-toc-meta {
    margin-top: 0.8rem;
    padding-top: 0.6rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.78rem;
    color: var(--text-muted, #6b7280);

    /* Don't scroll; sits under the scrollable list */
    flex-shrink: 0;
}

.legal-toc-meta-flag {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.15rem;
    opacity: 0.85;
}

/* Heading scroll offset for sticky header */
.legal-page h2[id],
.legal-page h3[id] {
    scroll-margin-top: 120px;
}

/* Legal content typography */
.legal-page {
    font-size: 0.95rem;
}

.legal-page h2 {
    margin-top: 2rem;
    margin-bottom: 0.55rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f172a;
}

.legal-page h3 {
    margin-top: 1.4rem;
    margin-bottom: 0.4rem;
    font-size: 1rem;
    font-weight: 500;
    color: #111827;
}

/* Responsive layout: stack TOC on top on smaller screens */
@media (max-width: 960px) {
    .legal-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .legal-toc {
        position: static;
        margin-bottom: 1.5rem;
    }

    .legal-toc-card {
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.10);
        max-height: none; /* no viewport constraint on small screens */
    }

    .legal-toc-list {
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 640px) {
    .legal-toc-card {
        padding: 1rem 1rem 1.1rem;
        border-radius: 10px;
    }

    .legal-toc-link {
        padding: 0.32rem 0.55rem;
    }

    .legal-page h2 {
        font-size: 1.1rem;
    }
}
/* ============================================
   LEGAL PAGE – HYPERLINK STYLING
============================================ */

.legal-page a {
    color: var(--brand-blue, #1d4ed8);            /* A clear medium blue */
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color 140ms ease, text-decoration-color 140ms ease;
}

.legal-page a:hover {
    color: var(--brand-blue-dark, #1e3a8a);       /* Darker blue on hover */
    text-decoration-color: var(--brand-blue-dark, #1e3a8a);
}

.legal-page a:active {
    color: var(--brand-blue-darker, #172554);
}
/* Hide Osano floating widget */
#osano-cm-widget,
.osano-cm-widget,
.osano-cm-button {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}
/* Hide floating TrustedSite / McAfee trustmark, but keep inline ones */
.trustedsite-trustmark-floating,
.trustedsite-floating,
.trustedsite-trustmark-floating-wrapper,
.trustedsite_trustmark_wrapper_bottomright {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}
/* Hide all TrustedSite badges by default */
.trustedsite-trustmark {
    display: none !important;
}

/* Show ONLY the TrustedSite badge that lives inside the footer */
footer .trustedsite-trustmark {
    display: block !important;
}
.field-error-message {
    color: #d9534f;      /* or your existing danger red */
    font-size: 12px;
    line-height: 1.3;
    margin-top: 4px;     /* small space, so it almost touches the input */
}

/* Optional: if you only want special behavior on mobile */
@media (max-width: 640px) {
    .field-error-message {
        font-size: 11px;
        margin-top: 3px;
    }
}
/* Inline spinner for Plaid status line */
.documents-status .spinner--inline {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 0.4rem;
    border-radius: 50%;
    border: 2px solid rgba(148, 163, 184, 0.4);
    border-top-color: var(--brand-blue);
    animation: spin 0.75s linear infinite; /* reuse existing @keyframes spin */
    vertical-align: -2px;
}
.spinner.spinner--inline {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 0.4rem;
    border-width: 2px;

    /* --- FIX VERTICAL ALIGNMENT --- */
    vertical-align: middle;       /* makes the spinner sit exactly in the middle */
    position: relative;
    top: -1px;                    /* nudges it down just enough to line up visually */
}
/* ============================================
   HETER ISKA – PAGE-SPECIFIC STYLES (SCOPED)
   Safe: does NOT override global .container or .section
   Applies only when body (or wrapper) has .page-heter-iska
============================================ */

/* ---------- HERO + BODY WRAPPERS ---------- */

.page-heter-iska .legal-hero {
  padding-top: 3rem;
  padding-bottom: 1.6rem;
  background: linear-gradient(135deg, #eef2ff, #f9fbff);
  border-bottom: 1px solid #dde3f0;
}

.page-heter-iska .legal-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}

.page-heter-iska .legal-hero h1 {
  margin: 0 0 0.55rem;
  font-size: 2rem;
  color: #0b1020;
}

.page-heter-iska .legal-hero-text {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.page-heter-iska .legal-meta {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: #6b7280;
}

.page-heter-iska .legal-body {
  padding-top: 2.3rem;
  padding-bottom: 3rem;
}

/* ---------- 2-COLUMN LEGAL LAYOUT + TOC ---------- */

.page-heter-iska .legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: flex-start;
}

.page-heter-iska .legal-toc {
  position: sticky;
  top: 110px;
  align-self: flex-start;
  z-index: 5;
}

.page-heter-iska .legal-toc-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.25rem 1.2rem 1.35rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  font-size: 0.9rem;

  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 140px);
}

.page-heter-iska .legal-toc-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
  margin: 0 0 0.25rem;
}

.page-heter-iska .legal-toc-subtitle {
  font-size: 0.84rem;
  color: #6b7280;
  margin: 0 0 0.7rem;
}

.page-heter-iska .legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;

  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
  padding-right: 0.1rem;
}

/* (Optional) nicer TOC scrollbars without touching global scrollbars */
.page-heter-iska .legal-toc-list::-webkit-scrollbar {
  width: 10px;
}
.page-heter-iska .legal-toc-list::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.12);
  border-radius: 999px;
}
.page-heter-iska .legal-toc-list::-webkit-scrollbar-track {
  background: transparent;
}

.page-heter-iska .legal-toc-link {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.38rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: background-color 140ms ease-out, color 140ms ease-out, box-shadow 140ms ease-out;
}

.page-heter-iska .legal-toc-number {
  flex-shrink: 0;
  min-width: 1.6rem;
  text-align: right;
  opacity: 0.7;
  font-size: 0.82rem;
}

.page-heter-iska .legal-toc-label {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.4;
}

.page-heter-iska .legal-toc-link:hover {
  background: #f3f4f6;
  color: #111827;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
}

.page-heter-iska .legal-toc-link.is-active {
  background: #e0ecff;
  color: #0b1020;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.35);
}

.page-heter-iska .legal-toc-meta {
  margin-top: 0.8rem;
  padding-top: 0.6rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.78rem;
  color: #6b7280;
  flex-shrink: 0;
}

.page-heter-iska .legal-toc-meta-flag {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.15rem;
  opacity: 0.85;
}

/* ---------- MAIN LEGAL CONTENT TYPOGRAPHY ---------- */

.page-heter-iska .legal-page {
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.page-heter-iska .legal-page h2 {
  margin-top: 2rem;
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
  scroll-margin-top: 120px;
}

.page-heter-iska .legal-page p {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Callout */
.page-heter-iska .legal-callout {
  margin: 1.2rem 0 1.6rem;
  padding: 1rem 1.2rem;
  border-radius: 0.75rem;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Signature block (kept in case reused; harmless if unused) */
.page-heter-iska .signature-card {
  margin-top: 1.2rem;
  background: #ffffff;
  border-radius: 18px;
  padding: 1.2rem 1.2rem 1.25rem;
  border: 1px solid #dde3f0;
  box-shadow: 0 14px 32px rgba(148, 163, 184, 0.22);
}

.page-heter-iska .signature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.page-heter-iska .signature-line {
  display: grid;
  grid-template-columns: minmax(0, 140px) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
}

.page-heter-iska .sig-label {
  font-size: 0.85rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.page-heter-iska .sig-fill {
  border-bottom: 1px solid #cbd5e1;
  padding: 0.35rem 0.1rem;
  color: #111827;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 960px) {
  .page-heter-iska .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-heter-iska .legal-toc {
    position: static;
    margin-bottom: 1.5rem;
  }

  .page-heter-iska .legal-toc-card {
    max-height: none;
  }

  .page-heter-iska .legal-toc-list {
    overflow-y: visible;
  }
}

@media (max-width: 640px) {
  .page-heter-iska .legal-hero {
    padding-top: 2.4rem;
    padding-bottom: 1.4rem;
  }

  .page-heter-iska .legal-hero h1 {
    font-size: 1.7rem;
  }

  .page-heter-iska .legal-body {
    padding-top: 1.8rem;
    padding-bottom: 2.4rem;
  }

  .page-heter-iska .signature-line {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* ============================================
   WORKING CAPITAL LOANS – PAGE-SPECIFIC
   Scoped to: .page-working-capital
============================================ */

.page-working-capital .hero--loan-type {
  background: linear-gradient(135deg, #eef2ff, #f9fbff);
  border-bottom: 1px solid #dde3f0;
}

.page-working-capital .hero-image-container--loan-type img {
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
}

/* Match your product-card icon style but make it consistent on this page */
.page-working-capital .product-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;

  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--brand-blue);
}

/* 6-box grid */
.page-working-capital .wcl-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.page-working-capital .wcl-card-compact p {
  margin-bottom: 0;
}

/* Compare section layout */
.page-working-capital .wcl-compare-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1.2rem;
  align-items: start;
}

/* Side 3 boxes */
.page-working-capital .wcl-side-3 {
  display: grid;
  gap: 0.9rem;
}

.page-working-capital .wcl-side-box {
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: 18px;
  padding: 1rem 1rem 0.9rem;
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.06);
}

.page-working-capital .wcl-side-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;

  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--brand-blue);
}

.page-working-capital .wcl-side-box h3 {
  margin: 0 0 0.35rem;
}

.page-working-capital .wcl-side-box p {
  margin: 0;
  color: #4b5563;
}

.page-working-capital .wcl-side-cta {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.1rem;
}

/* 3-box grid for FAQs */
.page-working-capital .wcl-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.page-working-capital .wcl-faq-actions {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 980px) {
  .page-working-capital .wcl-grid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-working-capital .wcl-compare-grid {
    grid-template-columns: 1fr;
  }

  .page-working-capital .wcl-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-working-capital .wcl-grid-6 {
    grid-template-columns: 1fr;
  }

  .page-working-capital .hero-image-container--loan-type img {
    max-height: 320px;
  }
}
/* ================================
   UNSECURED BUSINESS LOANS PAGE
   Scoped styles for: .page-unsecured-loans
=================================== */

.page-unsecured-loans .hero-eyebrow {
  margin-bottom: 0.35rem;
}

/* 6-box grid */
.page-unsecured-loans .ubl-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.page-unsecured-loans .ubl-card-compact {
  padding-top: 1.35rem;
}

/* Types list (lines, stacked) */
.page-unsecured-loans .ubl-types-list {
  background: #ffffff;
  border: 1px solid #dde3f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.18);
}

.page-unsecured-loans .ubl-type-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.9rem;
  padding: 1rem 1.05rem;
  border-bottom: 1px solid #eef2ff;
  align-items: start;
}

.page-unsecured-loans .ubl-type-row:last-child {
  border-bottom: 0;
}

.page-unsecured-loans .ubl-type-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(37, 99, 235, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  margin-top: 0.1rem;
}

.page-unsecured-loans .ubl-type-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
  color: #0b1020;
}

.page-unsecured-loans .ubl-type-body p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Compare section: left content + right 3 boxes */
.page-unsecured-loans .ubl-compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.page-unsecured-loans .ubl-side-3 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-unsecured-loans .ubl-side-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.1rem 1.05rem;
  border: 1px solid #dde3f0;
  box-shadow: 0 16px 34px rgba(148, 163, 184, 0.28);
}

.page-unsecured-loans .ubl-side-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  color: var(--brand-blue);
}

.page-unsecured-loans .ubl-side-box h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: #0b1020;
}

.page-unsecured-loans .ubl-side-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.page-unsecured-loans .ubl-side-cta {
  margin-top: 0.25rem;
  display: flex;
}

/* 3-box FAQ grid */
.page-unsecured-loans .ubl-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.page-unsecured-loans .ubl-faq-actions {
  margin-top: 1.3rem;
  display: flex;
  justify-content: center;
}

/* Comparison table styling */
.page-unsecured-loans .comparison-table-wrap {
  margin-top: 1.25rem;
  border-radius: 18px;
  border: 1px solid #dde3f0;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.22);
}

.page-unsecured-loans .comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.page-unsecured-loans .comparison-table thead th {
  text-align: left;
  padding: 0.95rem 1rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: #0b1020;
  background: #f7f9ff;
  border-bottom: 1px solid #dde3f0;
}

.page-unsecured-loans .comparison-table tbody td {
  padding: 0.95rem 1rem;
  vertical-align: top;
  color: #1f2937;
  border-bottom: 1px solid #eef2ff;
  font-size: 0.95rem;
  line-height: 1.45;
}

.page-unsecured-loans .comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-unsecured-loans .comparison-table tbody td:first-child {
  font-weight: 800;
  color: #0b1020;
  width: 22%;
}

.page-unsecured-loans .comparison-table tbody tr:nth-child(even) td {
  background: #fbfcff;
}

/* Responsive: stacks table rows on mobile */
@media (max-width: 820px) {
  .page-unsecured-loans .comparison-table-wrap {
    border-radius: 16px;
  }

  .page-unsecured-loans .comparison-table,
  .page-unsecured-loans .comparison-table thead,
  .page-unsecured-loans .comparison-table tbody,
  .page-unsecured-loans .comparison-table th,
  .page-unsecured-loans .comparison-table td,
  .page-unsecured-loans .comparison-table tr {
    display: block;
    width: 100%;
  }

  .page-unsecured-loans .comparison-table thead {
    display: none;
  }

  .page-unsecured-loans .comparison-table tbody tr {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #dde3f0;
    background: #ffffff;
  }

  .page-unsecured-loans .comparison-table tbody tr:nth-child(even) {
    background: #fbfcff;
  }

  .page-unsecured-loans .comparison-table tbody td {
    border: 0;
    padding: 0.35rem 0;
  }

  .page-unsecured-loans .comparison-table tbody td:first-child {
    width: 100%;
    font-weight: 900;
    margin-bottom: 0.15rem;
  }

  .page-unsecured-loans .comparison-table tbody td:nth-child(2)::before {
    content: "Secured: ";
    font-weight: 800;
    color: #0b1020;
  }

  .page-unsecured-loans .comparison-table tbody td:nth-child(3)::before {
    content: "Unsecured: ";
    font-weight: 800;
    color: #0b1020;
  }
}

/* Responsive layout */
@media (max-width: 1024px) {
  .page-unsecured-loans .ubl-grid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-unsecured-loans .ubl-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-unsecured-loans .ubl-compare-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .page-unsecured-loans .ubl-grid-6,
  .page-unsecured-loans .ubl-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-unsecured-loans .ubl-type-row {
    grid-template-columns: 40px 1fr;
    padding: 0.95rem 0.95rem;
  }

  .page-unsecured-loans .ubl-type-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
}
/* =====================================
   RETAIL BUSINESS LOANS (PAGE-SPECIFIC)
   Append to the bottom of your CSS
===================================== */

.page-retail-loans .hero-image-container--loan-type {
  min-height: 280px;
}

/* 6-box grid */
.rbl-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.rbl-card-compact .product-icon {
  margin-bottom: 0.75rem;
}

/* Compare layout (left content + right 3 boxes) */
.rbl-compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.rbl-side-3 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rbl-side-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.1rem 1.05rem 1.15rem;
  border: 1px solid #dde3f0;
  box-shadow: 0 16px 34px rgba(148, 163, 184, 0.25);
}

.rbl-side-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  color: var(--brand-blue);
}

.rbl-side-box h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: #0b1020;
}

.rbl-side-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.rbl-side-cta {
  margin-top: 0.25rem;
}

/* FAQ 3-grid */
.rbl-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.rbl-faq-actions {
  margin-top: 1.3rem;
  display: flex;
  justify-content: center;
}

/* Responsive */
@media (max-width: 900px) {
  .rbl-grid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rbl-compare-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 640px) {
  .rbl-grid-6 {
    grid-template-columns: minmax(0, 1fr);
  }

  .rbl-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* =====================================
   RESTAURANT FINANCING (PAGE-SPECIFIC)
   Scoped styles for: .page-restaurant-financing
===================================== */

.page-restaurant-financing .hero-image-container--loan-type {
  min-height: 280px;
}

/* 6-box grid */
.page-restaurant-financing .rf-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.page-restaurant-financing .rf-card-compact .product-icon {
  margin-bottom: 0.75rem;
}

/* Compare layout (left content + right 3 boxes) */
.page-restaurant-financing .rf-compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.page-restaurant-financing .rf-side-3 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-restaurant-financing .rf-side-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.1rem 1.05rem 1.15rem;
  border: 1px solid #dde3f0;
  box-shadow: 0 16px 34px rgba(148, 163, 184, 0.25);
}

.page-restaurant-financing .rf-side-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  color: var(--brand-blue);
}

.page-restaurant-financing .rf-side-box h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: #0b1020;
}

.page-restaurant-financing .rf-side-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.page-restaurant-financing .rf-side-cta {
  margin-top: 0.25rem;
}

/* FAQ 3-grid */
.page-restaurant-financing .rf-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.page-restaurant-financing .rf-faq-actions {
  margin-top: 1.3rem;
  display: flex;
  justify-content: center;
}

/* Responsive */
@media (max-width: 900px) {
  .page-restaurant-financing .rf-grid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-restaurant-financing .rf-compare-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-restaurant-financing .rf-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-restaurant-financing .rf-grid-6 {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-restaurant-financing .rf-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* =====================================
   NO CREDIT CHECK BUSINESS LOANS (PAGE)
   Scoped styles for .page-no-credit-check-loans
===================================== */

/* 6-box grid */
.page-no-credit-check-loans .ncc-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.page-no-credit-check-loans .ncc-card-compact .product-icon {
  margin-bottom: 0.75rem;
}

/* Compare layout (left + right 3 boxes) */
.page-no-credit-check-loans .ncc-compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.page-no-credit-check-loans .ncc-side-3 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-no-credit-check-loans .ncc-side-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.1rem 1.05rem 1.15rem;
  border: 1px solid #dde3f0;
  box-shadow: 0 16px 34px rgba(148, 163, 184, 0.25);
}

.page-no-credit-check-loans .ncc-side-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  color: var(--brand-blue);
}

.page-no-credit-check-loans .ncc-side-box h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: #0b1020;
}

.page-no-credit-check-loans .ncc-side-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.page-no-credit-check-loans .ncc-side-cta {
  margin-top: 0.25rem;
}

/* FAQ 3-grid */
.page-no-credit-check-loans .ncc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.page-no-credit-check-loans .ncc-faq-actions {
  margin-top: 1.3rem;
  display: flex;
  justify-content: center;
}

/* Mini benefits band (separate section) */
.page-no-credit-check-loans .section-mini-benefits {
  padding-top: 0;
}

.page-no-credit-check-loans .ncc-mini-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  margin-top: -0.6rem; /* subtle tuck under metrics, still separate */
}

.page-no-credit-check-loans .ncc-mini-stat {
  background: #ffffff;
  border: 1px solid #dde3f0;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  box-shadow: 0 14px 28px rgba(148, 163, 184, 0.16);
}

.page-no-credit-check-loans .ncc-mini-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(37, 99, 235, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex: 0 0 auto;
  margin-top: 0.05rem;
}

.page-no-credit-check-loans .ncc-mini-title {
  font-weight: 850;
  color: #0b1020;
  line-height: 1.2;
}

.page-no-credit-check-loans .ncc-mini-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.18rem;
  line-height: 1.35;
}

/* Softer secondary pill row */
.page-no-credit-check-loans .hero-pill-row--secondary {
  margin-top: 0.6rem;
}

.page-no-credit-check-loans .hero-pill--soft {
  opacity: 0.95;
}

/* Responsive */
@media (max-width: 980px) {
  .page-no-credit-check-loans .ncc-grid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-no-credit-check-loans .ncc-compare-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-no-credit-check-loans .ncc-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-no-credit-check-loans .ncc-mini-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -0.4rem;
  }
}

@media (max-width: 640px) {
  .page-no-credit-check-loans .ncc-grid-6,
  .page-no-credit-check-loans .ncc-grid-3,
  .page-no-credit-check-loans .ncc-mini-band {
    grid-template-columns: 1fr;
  }

  .page-no-credit-check-loans .ncc-mini-band {
    margin-top: 0.2rem;
  }
}
/* =====================================
   BUSINESS MICROLOANS (PAGE-SPECIFIC)
   Scoped styles for: .page-microloans
===================================== */

.page-microloans .hero-image-container--loan-type {
  min-height: 280px;
}

/* 6-box grid */
.page-microloans .ml-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.page-microloans .ml-card-compact .product-icon {
  margin-bottom: 0.75rem;
}

/* Compare layout (left + right 3 boxes) */
.page-microloans .ml-compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.page-microloans .ml-side-3 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-microloans .ml-side-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.1rem 1.05rem 1.15rem;
  border: 1px solid #dde3f0;
  box-shadow: 0 16px 34px rgba(148, 163, 184, 0.25);
}

.page-microloans .ml-side-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  color: var(--brand-blue);
}

.page-microloans .ml-side-box h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: #0b1020;
}

.page-microloans .ml-side-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.page-microloans .ml-side-cta {
  margin-top: 0.25rem;
}

/* FAQ 3-grid */
.page-microloans .ml-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.page-microloans .ml-faq-actions {
  margin-top: 1.3rem;
  display: flex;
  justify-content: center;
}

/* Responsive */
@media (max-width: 900px) {
  .page-microloans .ml-grid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-microloans .ml-compare-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-microloans .ml-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-microloans .ml-grid-6,
  .page-microloans .ml-grid-3 {
    grid-template-columns: 1fr;
  }
}
/* =====================================
   MERCHANT CASH ADVANCE (PAGE-SPECIFIC)
   Scoped styles for: .page-merchant-cash-advance
===================================== */

.page-merchant-cash-advance .hero-image-container--loan-type {
  min-height: 280px;
}

/* 6-box grid */
.page-merchant-cash-advance .mca-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.page-merchant-cash-advance .mca-card-compact .product-icon {
  margin-bottom: 0.75rem;
}

/* Compare layout (left + right 3 boxes) */
.page-merchant-cash-advance .mca-compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.page-merchant-cash-advance .mca-side-3 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-merchant-cash-advance .mca-side-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.1rem 1.05rem 1.15rem;
  border: 1px solid #dde3f0;
  box-shadow: 0 16px 34px rgba(148, 163, 184, 0.25);
}

.page-merchant-cash-advance .mca-side-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  color: var(--brand-blue);
}

.page-merchant-cash-advance .mca-side-box h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: #0b1020;
}

.page-merchant-cash-advance .mca-side-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.page-merchant-cash-advance .mca-side-cta {
  margin-top: 0.25rem;
}

/* FAQ 3-grid */
.page-merchant-cash-advance .mca-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.page-merchant-cash-advance .mca-faq-actions {
  margin-top: 1.3rem;
  display: flex;
  justify-content: center;
}

/* Responsive */
@media (max-width: 900px) {
  .page-merchant-cash-advance .mca-grid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-merchant-cash-advance .mca-compare-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-merchant-cash-advance .mca-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-merchant-cash-advance .mca-grid-6,
  .page-merchant-cash-advance .mca-grid-3 {
    grid-template-columns: 1fr;
  }
}
/* ============================
   Sitemap Page (Refined)
=============================== */

.sitemap-page {
  padding: 5rem 0 6rem;
}

/* Header */
.sitemap-header {
  margin-bottom: 3.5rem;
}

.sitemap-header h1 {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Layout */
.sitemap-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 4rem;
  row-gap: 3.5rem;
  align-items: start;
}

/* Stack (right column) */
.sitemap-stack {
  display: grid;
  gap: 3rem;
}

/* Section titles */
.sitemap-section h2 {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: #0b1020;
}

/* Links */
.sitemap-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-links li {
  margin-bottom: 0.7rem;
}

.sitemap-links a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-blue);
  line-height: 1.4;
}

.sitemap-links a:hover {
  text-decoration: underline;
}

/* Compact lists */
.sitemap-links-compact li {
  margin-bottom: 0.6rem;
}

/* Empty column handling */
.sitemap-section ul:empty {
  min-height: 1.25rem;
}

/* Tablet */
@media (max-width: 1024px) {
  .sitemap-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
    row-gap: 3rem;
  }

  .sitemap-stack {
    grid-column: span 2;
    max-width: 680px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .sitemap-page {
    padding: 4rem 0 5rem;
  }

  .sitemap-header {
    margin-bottom: 2.75rem;
  }

  .sitemap-header h1 {
    font-size: 2.1rem;
  }

  .sitemap-layout {
    grid-template-columns: 1fr;
    row-gap: 2.75rem;
  }

  .sitemap-stack {
    grid-column: auto;
  }
}

