/*
Theme Name: Blue Door Funding V12
Theme URI: https://bluedoorfunding.co.uk
Author: Blue Door Funding
Description: Blue Door Funding — V12. The original design with your chosen new sections (how it works, reviews, recent deals, FAQ, closing banner), the Companies House application form and all V11 fixes.
Version: 12.9.6
Text Domain: bluedoor
*/

:root {
  --primary: #1e3a8a;
  --secondary: #2563eb;
  --surface: #f6fafe;
  --surface-dim: #eaeef2;
  --dark: #111827;
  --text: #171c1f;
  --text-mid: #44474e;
  --text-light: #74777f;
  --text-hint: #9ca3af;
  --border: #e1e3e6;
  --border-light: #f0f2f5;
  --bg: #ffffff;
  --bg-alt: #f6fafe;
  --tp-green: #00b67a;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-font-smoothing: antialiased; }
html:has(body.admin-bar) { scroll-padding-top: 132px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; padding-top: 80px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── HEADER (Stitch: sticky, blurred, uppercase nav) ── */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; background: #ffffff; border-bottom: 1px solid var(--border); box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.header::before { content: ''; position: absolute; top: -100px; left: 0; right: 0; height: 100px; background: #ffffff; }
.admin-bar .header { top: 32px; }
.header-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo a { display: flex; align-items: center; gap: 10px; }
.logo .custom-logo, .logo .custom-logo-link img { height: 36px; width: auto; }
.logo .custom-logo-link { display: flex; align-items: center; }
.logo-text { font-size: 24px; font-weight: 700; color: var(--primary); letter-spacing: -0.02em; }
.logo-text span { color: var(--secondary); font-weight: 500; }
.nav-desktop { display: flex; align-items: center; background: none; padding: 0; border-radius: 0; box-shadow: none; border: none; gap: 8px; }
.nav-desktop ul, .nav-desktop .menu { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav-desktop li { list-style: none; position: relative; }
.nav-desktop a, .nav-desktop .nav-link { font-size: 14px; font-weight: 600; color: var(--text-light); letter-spacing: 0.02em; padding: 13px 18px; border-radius: 0; transition: all 0.2s; background: none; border: none; cursor: pointer; text-transform: none; display: block; position: relative; }
.nav-desktop a:hover { color: var(--primary); }
.nav-desktop .current-menu-item > a, .nav-desktop .current_page_item > a { color: var(--secondary); background: none; }
.nav-desktop .current-menu-item > a::after, .nav-desktop .current_page_item > a::after { content: ''; position: absolute; bottom: 6px; left: 18px; right: 18px; height: 2px; background: var(--secondary); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.btn { display: inline-block; font-family: var(--font); font-weight: 700; cursor: pointer; transition: all 0.2s; border: none; }
.btn-primary { background: var(--primary); color: #fff; padding: 13px 26px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 8px; }
.btn-primary:hover { background: var(--secondary); }
.btn-outline { border: 1px solid var(--border); color: var(--text); padding: 12px 28px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; background: none; }
.btn-outline:hover { background: var(--bg-alt); }
.btn-ghost { color: var(--primary); padding: 14px 8px; font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--primary); background: none; border-top: none; border-left: none; border-right: none; border-radius: 0; }
.btn-large { padding: 16px 36px; font-size: 13px; }
.btn-white { display: inline-block; background: #fff; color: var(--primary); padding: 16px 36px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.btn-white:hover { background: var(--bg-alt); }
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; transition: all 0.3s; }
.mobile-nav { display: none; background: #ffffff; border-bottom: 1px solid var(--border); padding: 16px 32px 24px; position: fixed; top: 80px; left: 0; right: 0; z-index: 9998; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.admin-bar .mobile-nav { top: 112px; }
.mobile-nav.open { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav ul, .mobile-nav .menu { display: flex; flex-direction: column; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mobile-nav li { list-style: none; }
.mobile-nav a { font-size: 15px; padding: 12px 0; color: var(--text); border-bottom: 1px solid var(--border-light); display: block; }

/* ── HERO (full-bleed background image with overlay) ── */
.hero { position: relative; overflow: hidden; height: calc(100vh - 80px); display: flex; flex-direction: column; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center center; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(30,58,138,0.95) 0%, rgba(30,58,138,0.92) 28%, rgba(37,99,235,0.65) 40%, rgba(37,99,235,0.2) 50%, rgba(37,99,235,0) 58%); z-index: 1; }
.hero-inner { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; padding: 60px 32px 0; width: 100%; flex: 1; display: flex; align-items: center; }
.hero-content { max-width: 720px; text-shadow: 0 1px 8px rgba(0,0,0,0.3); }
.hero-label { font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #60a5fa; margin-bottom: 20px; display: block; }
.hero-content h1 { font-size: 52px; font-weight: 800; line-height: 1.0; letter-spacing: -0.03em; color: #fff; margin-bottom: 20px; white-space: nowrap; }
.fade-swap { display: inline-block; position: relative; min-width: 360px; height: 1.25em; vertical-align: top; }
.fs-word { position: absolute; left: 0; top: 0; color: #fff; font-style: italic; font-weight: 800; border-bottom: 4px solid #38bdf8; padding-bottom: 2px; opacity: 0; white-space: nowrap; animation: fsSwap 10s linear infinite; }
.fs-word:nth-child(1) { animation-delay: 0s; }
.fs-word:nth-child(2) { animation-delay: 2s; }
.fs-word:nth-child(3) { animation-delay: 4s; }
.fs-word:nth-child(4) { animation-delay: 6s; }
.fs-word:nth-child(5) { animation-delay: 8s; }
@keyframes fsSwap {
  0%, 1% { opacity: 0; transform: translateY(8px); }
  3%, 18% { opacity: 1; transform: translateY(0); }
  20%, 100% { opacity: 0; transform: translateY(-8px); }
}
.hero-content p { font-size: 17px; color: rgba(255,255,255,0.75); line-height: 1.65; max-width: 480px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-hero-outline { border: 1.5px solid rgba(255,255,255,0.4); color: #fff; padding: 16px 36px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(255,255,255,0.08); border-radius: 8px; transition: all 0.2s; }
.btn-hero-outline:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.6); }
.hero-buttons .btn-primary { background: #fff; color: var(--primary); border: 1.5px solid #fff; border-radius: 8px; padding: 16px 36px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-buttons .btn-primary:hover { background: rgba(255,255,255,0.9); color: var(--primary); border-color: rgba(255,255,255,0.9); }

/* ── USP STRIP (V1: blue left-border) ── */
.usps { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 32px 0; background: var(--bg); }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usp-item { padding: 0 16px; border-left: 2px solid var(--secondary); }
.usp-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.usp-desc { font-size: 12px; color: var(--text-light); }

/* ── HERO TRUSTPILOT BAR (inside hero, bottom) ── */
.hero-tp-bar { position: relative; z-index: 2; background: rgba(255,255,255,0.95); padding: 14px 0; }
.hero-tp-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--text-light); }
.hero-tp-inner strong { color: var(--text); }
.hero-reassure { gap: 18px; flex-wrap: wrap; }
.hero-reassure span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-mid); }
.hero-reassure span svg { color: var(--secondary); flex-shrink: 0; }
.hero-reassure-dot { color: var(--border) !important; font-weight: 700; }

/* ── HERO MOBILE TRUSTPILOT ── */
.hero-tp-mobile { display: none; }

/* ── TRUSTPILOT STRIP (hidden - now inside hero) ── */
.tp-strip { display: none; }
.tp-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--text-light); flex-wrap: nowrap; white-space: nowrap; }
.tp-inner strong { color: var(--text); }
.tp-placeholder a { color: var(--secondary); font-weight: 600; text-decoration: none; }
.tp-placeholder a:hover { text-decoration: underline; }
.tp-stars { display: flex; gap: 1px; flex-shrink: 0; }
.tp-star { width: 20px; height: 20px; background: var(--tp-green); display: flex; align-items: center; justify-content: center; }
.tp-star svg { width: 11px; height: 11px; fill: #fff; }

/* ── SECTION DEFAULTS ── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--primary); color: #fff; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--secondary); margin-bottom: 12px; }
.section-heading { font-size: 40px; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }

/* ── JOURNEY STEPS (unified grid) ── */
.journey { padding: 80px 0; background: var(--bg-alt); }
.journey-heading { font-size: 40px; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 48px; }
.journey-unified { position: relative; }
.journey-track { position: absolute; top: 26px; left: 26px; right: calc(20% - 26px); height: 3px; z-index: 0; }
.journey-track-line { width: 100%; height: 100%; background: #dde1e9; }
.journey-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; z-index: 1; }
.journey-col { padding-right: 24px; }
.journey-col:last-child { padding-right: 0; }
.journey-num { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: var(--text-light); background: #dde1e9; margin-bottom: 16px; }
.journey-num.first { background: var(--primary); color: #fff; }
.journey-num.last { background: var(--secondary); color: #fff; }
.journey-col h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.journey-col p { font-size: 14px; color: var(--text-light); line-height: 1.65; }

/* ── ADVANTAGE GRID (Stitch: 3-col with stats) ── */
.advantage { padding: 80px 0; background: var(--bg-alt); }
.adv-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.adv-cell { padding: 40px 36px; }
.adv-cell-border { border-bottom: 1px solid var(--border); }
.adv-label { font-size: 12px; font-weight: 700; color: var(--secondary); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px; }
.adv-heading { font-size: 40px; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 16px; }
.adv-cell > p { font-size: 15px; color: var(--text-light); line-height: 1.7; }
.adv-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.adv-icon svg { width: 28px; height: 28px; color: var(--secondary); }
.adv-cell h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 10px; letter-spacing: -0.01em; }
.adv-stats { padding: 40px 36px; }
.adv-stat { margin-bottom: 28px; }
.adv-stat:last-child { margin-bottom: 0; }
.adv-stat-val { font-size: 48px; font-weight: 800; color: var(--primary); line-height: 1; letter-spacing: -0.03em; }
.adv-stat-label { font-size: 11px; font-weight: 700; color: var(--secondary); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 4px; }

/* ── REVIEWS (V1: Trustpilot stars + titles) ── */
.reviews-section { padding: 80px 0; background: var(--bg); }
.tp-rating-line { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-light); margin-bottom: 36px; flex-wrap: wrap; }
.tp-rating-line strong { color: var(--text); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { border: 1px solid var(--border); padding: 28px; }
.review-stars { display: flex; gap: 1px; margin-bottom: 14px; }
.review-star { width: 18px; height: 18px; background: var(--tp-green); display: flex; align-items: center; justify-content: center; }
.review-star svg { width: 10px; height: 10px; fill: #fff; }
.review-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.review-text { font-size: 14px; color: var(--text-mid); line-height: 1.65; margin-bottom: 16px; }
.review-author { font-size: 13px; font-weight: 600; color: var(--text); }
.review-date { font-size: 12px; color: var(--text-hint); }
.reviews-link { text-align: center; margin-top: 28px; }

/* ── CTA BANNER (Stitch: full-width navy) ── */
.cta-banner { background: var(--primary); padding: 80px 0; text-align: center; }
.cta-banner h2 { font-size: 40px; font-weight: 800; color: #fff; letter-spacing: -0.03em; margin-bottom: 12px; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 520px; margin: 0 auto 32px; line-height: 1.6; }

/* ── PAGE HERO (inner pages - Stitch: dark overlay) ── */
.page-hero { background: var(--primary); padding: 80px 0 64px; }
.page-hero h1 { font-size: 48px; font-weight: 800; color: #fff; letter-spacing: -0.03em; margin-bottom: 14px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.6); max-width: 540px; line-height: 1.65; }

/* ── ABOUT (Stitch: mission grid + timeline) ── */
.about-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.about-mission h2 { font-size: 32px; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; margin-bottom: 16px; }
.about-mission p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 14px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-value { padding: 20px; }
.about-value-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.about-value-icon svg { width: 24px; height: 24px; color: var(--secondary); }
.about-value h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.about-value p { margin-bottom: 0; font-size: 14px; }
.timeline { max-width: 600px; margin: 0 auto; position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -34px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--secondary); border: 3px solid var(--bg); }
.timeline-year { font-size: 12px; font-weight: 700; color: var(--secondary); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.timeline-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.timeline-item p { font-size: 14px; color: var(--text-light); }
.reg-banner { background: var(--primary); padding: 60px 0; color: #fff; }
.reg-banner h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.reg-banner p { font-size: 15px; color: rgba(255,255,255,0.6); max-width: 600px; line-height: 1.7; }

/* ── FINANCE TYPES (Stitch: sidebar tabs + detail panel) ── */
.ft-layout { display: grid; grid-template-columns: 240px 1fr; gap: 0; min-height: 560px; }
.ft-nav { display: flex; flex-direction: column; border-right: 1px solid var(--border); padding-top: 0; }
.ft-nav-item { padding: 14px 20px; font-size: 14px; font-weight: 600; color: var(--text-light); cursor: pointer; transition: all 0.15s; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border-light); border-left: 3px solid transparent; }
.ft-nav-item:first-child { border-top: none; }
.ft-nav-item:hover { color: var(--text); background: var(--bg-alt); }
.ft-nav-item.active { color: var(--secondary); background: var(--bg); border-left-color: var(--secondary); }
.ft-nav-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ft-nav-icon svg { width: 18px; height: 18px; color: var(--secondary); }
.ft-nav-item.active .ft-nav-icon svg { color: var(--secondary); }
.ft-panel { display: none; padding: 28px 48px 40px; }
.ft-panel.active { display: block; }
.ft-panel-label { font-size: 12px; font-weight: 700; color: var(--secondary); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.ft-panel h2 { font-size: 32px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; margin-bottom: 16px; }
.ft-panel-desc { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 28px; }
.ft-panel-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.ft-col-title { font-size: 11px; font-weight: 700; color: var(--text); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.ft-col-list { list-style: none; }
.ft-col-list li { font-size: 14px; color: var(--text-mid); padding: 6px 0; display: flex; align-items: center; gap: 8px; }
.ft-col-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); flex-shrink: 0; }
.ft-panel-sub { font-size: 12px; color: var(--text-hint); margin-top: 14px; }

/* ── CONTACT (Stitch: form + sidebar) ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: -60px; position: relative; z-index: 2; }
.contact-form-wrap { background: var(--bg); padding: 48px; border: 1px solid var(--border); }
.contact-form-wrap h2 { font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 28px; letter-spacing: -0.02em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 0; }
.form-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 6px; display: block; }
.form-input { width: 100%; background: var(--bg-alt); border: 1px solid var(--border); padding: 14px 16px; font-family: var(--font); font-size: 14px; color: var(--text); outline: none; transition: border-color 0.2s; }
.form-input:focus { border-color: var(--secondary); }
.form-input::placeholder { color: var(--text-hint); }
textarea.form-input { resize: vertical; }
.form-note { font-size: 11px; color: var(--text-hint); text-transform: uppercase; letter-spacing: 0.08em; text-align: center; margin-top: 16px; }
.contact-sidebar { background: var(--bg); padding: 48px; border: 1px solid var(--border); border-left: none; }
.contact-response { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 3px solid var(--secondary); display: inline-block; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-item-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.contact-item-icon svg { width: 22px; height: 22px; color: var(--secondary); }
.contact-item-label { font-size: 11px; font-weight: 700; color: var(--secondary); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2px; }
.contact-item-value { font-size: 16px; font-weight: 600; color: var(--text); }
.contact-item-detail { font-size: 13px; color: var(--text-light); }
.contact-reg { background: var(--primary); padding: 28px; margin-top: 24px; }
.contact-reg h4 { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.contact-reg p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.contact-success { text-align: center; padding: 48px 24px; }
.contact-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.contact-success p { color: var(--text-mid); }

/* ── FOOTER (Stitch: 4-col grid) ── */
.footer { background: var(--dark); padding: 56px 0 32px; color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; margin-bottom: 36px; }
.footer-brand p { max-width: 260px; line-height: 1.65; margin-top: 14px; }
.footer-logo { margin-bottom: 4px; }
.footer-logo img, .footer-logo .custom-logo { height: 36px; width: auto; max-width: 180px; }
.footer-logo .custom-logo-link { display: inline-block; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col-title { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.35); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 13px; transition: color 0.2s; display: block; }
.footer-col ul li a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,0.25); flex-wrap: wrap; gap: 8px; }

/* ── PRIVACY POLICY ── */
.privacy-content h2 { font-size: 20px; font-weight: 700; color: var(--primary); margin-top: 36px; margin-bottom: 12px; letter-spacing: -0.01em; }
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content h3 { font-size: 16px; font-weight: 600; margin-top: 16px; margin-bottom: 6px; }
.privacy-content p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 12px; }
.privacy-content a { color: var(--secondary); }
.privacy-table { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin: 16px 0 20px; }
.privacy-table-row { display: grid; grid-template-columns: 1fr 1fr; }
.privacy-table-row div { padding: 12px 16px; font-size: 14px; color: var(--text-mid); border-bottom: 1px solid var(--border); }
.privacy-table-row:last-child div { border-bottom: none; }
.privacy-table-header div { font-size: 12px; font-weight: 700; color: var(--text); letter-spacing: 0.06em; text-transform: uppercase; background: var(--bg-alt); }

/* ── CASE STUDY ── */
.case-study { padding: 80px 0; }
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cs-image { position: relative; }
.cs-img { width: 100%; height: 400px; object-fit: cover; border-radius: 12px; display: block; }
.cs-stat-badge { position: absolute; bottom: -20px; left: 20px; background: var(--primary); color: #fff; padding: 20px 28px; border-radius: 8px; max-width: 280px; }
.cs-stat-val { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.cs-stat-desc { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); line-height: 1.4; }
.cs-heading { font-size: 32px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; margin-bottom: 16px; }
.cs-desc { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 24px; }
.cs-points { margin-bottom: 28px; }
.cs-point { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.cs-point strong { color: var(--text); display: block; margin-bottom: 4px; }

/* ── FINANCE CALCULATOR ── */
.calc-section { background: var(--bg); }
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; }
.calc-left { padding: 32px; }
.calc-right { background: var(--bg-alt); padding: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.calc-field { margin-bottom: 20px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-label { font-size: 13px; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; margin-bottom: 10px; }
.calc-label span { color: var(--secondary); font-weight: 700; }
.calc-slider { width: 100%; height: 6px; -webkit-appearance: none; appearance: none; background: #dde1f0; border-radius: 3px; outline: none; cursor: pointer; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.calc-slider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); cursor: pointer; }
.calc-credit-tiles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.calc-credit-tile { padding: 14px 12px; text-align: center; border: 1.5px solid var(--border); border-radius: 8px; cursor: pointer; transition: all 0.2s; background: var(--bg); display: flex; align-items: center; justify-content: center; gap: 8px; }
.calc-credit-tile:hover { border-color: #c7cfdf; }
.calc-tick { display: none; flex-shrink: 0; }
.calc-credit-tile.selected { border-color: var(--secondary); background: #f0f5ff; }
.calc-credit-tile.selected .calc-tick { display: block; }
.calc-credit-name { font-size: 14px; font-weight: 600; color: var(--text-light); }
.calc-credit-tile.selected .calc-credit-name { color: var(--primary); }
.calc-monthly { font-size: 44px; font-weight: 800; color: var(--primary); margin-bottom: 4px; letter-spacing: -0.02em; }
.calc-monthly-label { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }
.calc-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; margin-bottom: 24px; }
.calc-mini-val { font-size: 20px; font-weight: 700; color: var(--text); }
.calc-mini-label { font-size: 10px; font-weight: 600; color: var(--text-hint); letter-spacing: 0.08em; text-transform: uppercase; }
.calc-cta { display: block; width: 100%; padding: 14px; font-family: var(--font); font-size: 14px; font-weight: 700; color: #fff; background: var(--primary); border: none; border-radius: 8px; text-align: center; text-decoration: none; transition: background 0.2s; }
.calc-cta:hover { background: var(--secondary); }
.calc-disclaimer { font-size: 11px; color: var(--text-hint); text-align: center; margin-top: 16px; line-height: 1.5; }

/* ── ADVANTAGE SWIPE (mobile only) ── */
.adv-swipe { display: none; }

/* ── LEGAL PAGES ── */
.legal-content { max-width: 720px; }
.legal-content h2 { font-size: 20px; font-weight: 700; color: var(--primary); margin: 36px 0 12px; letter-spacing: -0.01em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { margin: 12px 0 12px 20px; list-style: disc; }
.legal-content ul li { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 6px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; }
.legal-table th { text-align: left; font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: 0.04em; text-transform: uppercase; padding: 12px 16px; border-bottom: 2px solid var(--border); background: var(--bg-alt); }
.legal-table td { font-size: 14px; color: var(--text-mid); padding: 12px 16px; border-bottom: 1px solid var(--border); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  /* Header */
  body { padding-top: 64px; }
  .header { top: 0; left: 0; right: 0; width: 100%; max-width: none; transform: none; border-radius: 0; }
  .header-inner { height: 64px; padding: 0 20px; }
  .nav-desktop { display: none; }
  .header-actions .btn-primary { display: none; }
  .mobile-menu-toggle { display: block; }
  .mobile-nav { top: 64px; left: 0; right: 0; width: 100%; max-width: none; transform: none; padding: 16px 20px 24px; border-radius: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
  .mobile-nav a { color: var(--text); font-size: 16px; font-weight: 500; }
  .mobile-nav .btn-primary { color: #fff !important; }
  .admin-bar .header { top: 32px; }
  .admin-bar .mobile-nav { top: 96px; }

  /* Hero - full bleed mobile */
  .hero { height: calc(100vh - 64px); }
  .hero-bg { background-position: 60% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(15,23,42,0.92) 0%, rgba(30,58,138,0.88) 50%, rgba(30,58,138,0.7) 100%); }
  .hero-inner { padding: 0 24px; flex: 1; display: flex; align-items: center; }
  .hero-tp-bar { display: none; }
  .hero-label { display: block; font-size: 11px; color: #60a5fa; margin-bottom: 12px; }
  .hero-content h1 { font-size: clamp(32px, 8vw, 42px); line-height: 1.1; margin-bottom: clamp(10px, 2vh, 18px); white-space: normal; }
  .fade-swap { min-width: 240px; }
  .hero-content p { font-size: clamp(15px, 3.5vw, 17px); margin-bottom: clamp(16px, 3vh, 28px); }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .hero-buttons .btn { width: 100%; text-align: center; }
  .btn-hero-outline { color: #fff; }

  /* USP - hide on mobile (shown in hero instead) */
  .usps { display: none; }

  /* Trustpilot - show inside hero, hide standalone */
  .hero-tp-mobile { display: block; margin-top: clamp(16px, 3vh, 28px); font-size: 13px; color: rgba(255,255,255,0.5); }
  .hero-tp-mobile .tp-inner { font-size: 13px; gap: 6px; flex-wrap: nowrap; color: rgba(255,255,255,0.5); }
  .hero-tp-mobile .tp-inner strong { color: #fff; }
  .hero-usps-mobile { display: flex; justify-content: flex-start; gap: 16px; margin-top: clamp(10px, 2vh, 16px); font-size: 12px; color: #fff; }
  .hero-usps-mobile span { white-space: nowrap; }
  .tp-strip { display: none; }

  /* Page hero (all inner pages) */
  .page-hero { padding: 28px 0 28px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero p { font-size: 14px; }

  /* USP */
  .usps { padding: 16px 0; overflow: hidden; }
  .usps .container { padding: 0; }
  .usp-grid { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 20px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; gap: 0; padding: 0 20px; scrollbar-width: none; }
  .usp-grid::-webkit-scrollbar { display: none; }
  .usp-item { min-width: 200px; flex-shrink: 0; scroll-snap-align: start; padding: 0 16px; border-left: 2px solid var(--secondary); }

  /* Journey */
  .journey { padding: 18px 0 36px; overflow: hidden; }
  .journey-heading { font-size: 26px; margin-bottom: 20px; }
  .journey-track { display: none; }
  .journey-cols { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 20px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; gap: 16px; padding: 0 20px; scrollbar-width: none; }
  .journey-cols::-webkit-scrollbar { display: none; }
  .journey-col { min-width: 82vw; max-width: 82vw; flex-shrink: 0; scroll-snap-align: start; background: var(--bg); border: 1px solid var(--border); padding: 24px; border-radius: 8px; }
  .journey-col .journey-num { margin-bottom: 12px; }

  /* Advantage */
  .advantage { padding: 36px 0; overflow: hidden; }
  .adv-grid { display: flex; flex-direction: column; }
  .adv-cell { padding: 24px 20px; }
  .adv-cell-border { border-bottom: 1px solid var(--border); }
  .adv-heading { font-size: 26px; }
  .adv-intro { order: 1; }
  .adv-feature { display: none; }
  .adv-stats { order: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; padding: 24px 20px; border-bottom: none; }
  .adv-stat { margin-bottom: 0; }
  .adv-stat-val { font-size: 24px; }
  .adv-swipe { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 20px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; gap: 16px; padding: 16px 20px 4px; scrollbar-width: none; order: 2; }
  .adv-swipe::-webkit-scrollbar { display: none; }
  .adv-swipe-card { min-width: 82vw; max-width: 82vw; flex-shrink: 0; scroll-snap-align: start; background: var(--bg); border: 1px solid var(--border); padding: 24px; border-radius: 8px; }
  .adv-swipe-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
  .adv-swipe-card p { font-size: 14px; color: var(--text-light); line-height: 1.65; }

  /* Reviews */
  .reviews-section { padding: 36px 0; overflow: hidden; }
  .tp-rating-line { font-size: 13px; }
  .reviews-grid { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 20px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; gap: 16px; padding: 0 20px; scrollbar-width: none; }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .review-card { min-width: 82vw; max-width: 82vw; flex-shrink: 0; scroll-snap-align: start; }

  /* CTA */
  .cta-banner { padding: 40px 0; }

  /* Calculator */
  .calc-wrap { grid-template-columns: 1fr; }
  .calc-left { padding: 24px 20px; }
  .calc-right { padding: 24px 20px; }
  .calc-monthly { font-size: 36px; }
  .calc-credit-tiles { grid-template-columns: 1fr 1fr 1fr; }

  /* Case study */
  .cs-grid { grid-template-columns: 1fr; gap: 32px; }
  .cs-img-placeholder { height: 240px; }
  .cs-heading { font-size: 24px; }

  /* CTA text */
  .cta-banner h2 { font-size: 24px; }
  .cta-banner p { font-size: 14px; }

  /* Finance Types */
  .ft-layout { grid-template-columns: 1fr; min-height: auto; }
  .ft-nav { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 0; border-right: none; border-bottom: 1px solid var(--border); padding: 0; scrollbar-width: none; }
  .ft-nav::-webkit-scrollbar { display: none; }
  .ft-nav-item { font-size: 13px; padding: 12px 16px; border-bottom: none; border-left: none !important; white-space: nowrap; flex-shrink: 0; scroll-snap-align: start; }
  .ft-nav-item.active { border-bottom: 3px solid var(--secondary); border-left: none !important; }
  .ft-panel { padding: 24px 20px; }
  .ft-panel h2 { font-size: 22px; }
  .ft-panel-desc { font-size: 14px; }
  .ft-panel-cols { grid-template-columns: 1fr; gap: 24px; }

  /* About */
  .about-mission { grid-template-columns: 1fr; gap: 32px; }
  .about-mission h2 { font-size: 26px; }
  .about-values { grid-template-columns: 1fr; }
  .timeline { padding-left: 32px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; margin-top: -30px; }
  .contact-form-wrap { padding: 28px 20px; }
  .contact-form-wrap h2 { font-size: 20px; }
  .contact-sidebar { border-left: none; border-top: 1px solid var(--border); padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Apply form */
  .af-page { padding: 16px 16px 32px; }
  .af-card { padding: 24px 18px 20px; border-radius: 12px; }
  .af-step h2 { font-size: 19px; }
  .af-grid.c3 { grid-template-columns: 1fr 1fr 1fr; }
  .af-grid.c4 { grid-template-columns: 1fr 1fr; }
  .af-tile { padding: 16px 6px; font-size: 12px; }
  .af-tile svg { width: 22px; height: 22px; }
  .af-tile-glyph { font-size: 24px; height: 22px; }
  .af-chip { padding: 8px 16px; font-size: 13px; }
  .af-next { padding: 14px 24px; }

  /* Legal pages (Terms, Privacy) */
  .legal-content { padding: 0; }
  .legal-content h2 { font-size: 18px; margin-top: 28px; }
  .legal-content p { font-size: 14px; }
  .legal-content ul li { font-size: 14px; }
  .legal-table { font-size: 12px; }
  .legal-table th, .legal-table td { padding: 10px 12px; }

  /* Footer */
  .footer { padding: 32px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 20px; }

  /* Global */
  .section { padding: 36px 0; }
  .section-label { font-size: 11px; }
  .section-heading { font-size: 26px; }
  .container { padding: 0 20px; }
}

/* ── FLOATING CONTACT BUTTON ── */
.fc-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 9998; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fc-btn { width: 60px; height: 60px; border-radius: 50%; background: var(--secondary); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 6px 20px rgba(37,99,235,0.35), 0 2px 6px rgba(37,99,235,0.2); transition: all 0.3s cubic-bezier(0.4,0,0.2,1); position: relative; }
.fc-btn:hover { background: var(--primary); transform: scale(1.05); box-shadow: 0 8px 24px rgba(30,58,138,0.4), 0 3px 8px rgba(30,58,138,0.25); }
.fc-btn::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--secondary); opacity: 0.4; animation: fc-pulse 2s ease-out infinite; z-index: -1; }
@keyframes fc-pulse { 0% { transform: scale(1); opacity: 0.4; } 100% { transform: scale(1.5); opacity: 0; } }
.fc-icon-close { display: none; }
.fc-wrap.open .fc-icon-msg { display: none; }
.fc-wrap.open .fc-icon-close { display: block; }
.fc-wrap.open .fc-btn::before { animation: none; }
.fc-menu { display: flex; flex-direction: column; gap: 10px; opacity: 0; pointer-events: none; transform: translateY(10px) scale(0.95); transition: all 0.25s cubic-bezier(0.4,0,0.2,1); transform-origin: bottom right; }
.fc-wrap.open .fc-menu { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.fc-option { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: #fff; border-radius: 14px; box-shadow: 0 4px 16px rgba(30,58,138,0.12), 0 1px 4px rgba(30,58,138,0.06); text-decoration: none; transition: all 0.2s; min-width: 200px; }
.fc-option:hover { transform: translateX(-4px); box-shadow: 0 6px 20px rgba(30,58,138,0.18); }
.fc-option-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.fc-whatsapp { background: #25d366; }
.fc-call { background: var(--secondary); }
.fc-email { background: var(--primary); }
.fc-option-text { display: flex; flex-direction: column; line-height: 1.3; }
.fc-option-text strong { font-size: 14px; font-weight: 700; color: var(--text); }
.fc-option-text span { font-size: 12px; color: var(--text-light); }

@media (max-width: 900px) {
  .fc-wrap { bottom: 16px; right: 16px; }
  .fc-btn { width: 54px; height: 54px; }
  .fc-option { min-width: 180px; padding: 10px 14px 10px 10px; }
  .fc-option-icon { width: 36px; height: 36px; }
}

/* Lender strip ------------------------------------------------------------- */
.lender-strip { background: var(--bg); padding: 44px 0 36px; border-bottom: 1px solid var(--border-light); }
.lender-strip-label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text-light); margin-bottom: 28px; }
.lender-row { display: flex; align-items: center; justify-content: center; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.lender-item { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: calc(var(--i) * 180ms + 100ms); }
.lender-strip.visible .lender-item { opacity: 1; transform: translateY(0); }
.lender-item img { height: 42px; width: auto; max-width: 200px; object-fit: contain; opacity: 0.85; transition: opacity 0.3s; }
.lender-item:hover img { opacity: 1; }
.lender-more { display: flex; align-items: baseline; gap: 8px; padding-left: clamp(16px, 3vw, 32px); border-left: 1px solid var(--border); }
.lender-more-num { font-size: 28px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.lender-more-text { font-size: 15px; font-weight: 500; color: var(--text-mid); }
@media (prefers-reduced-motion: reduce) {
  .lender-item { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 768px) {
  .lender-strip { padding: 32px 0 26px; }
  .lender-item img { height: 32px; max-width: 140px; }
  .lender-more-num { font-size: 22px; }
  .lender-more-text { font-size: 13px; }
  .lender-more { padding-left: 16px; }
}

/* Sticky mobile apply bar --------------------------------------------------- */
.sticky-apply { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: #fff; border-top: 1px solid var(--border); padding: 12px 16px; transform: translateY(100%); transition: transform 0.3s ease; box-shadow: 0 -4px 16px rgba(0,0,0,0.08); display: none; }
.sticky-apply.visible { transform: translateY(0); }
.sticky-apply-btn { display: block; width: 100%; text-align: center; background: var(--primary); color: #fff; padding: 15px; border-radius: 8px; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
@media (max-width: 768px) {
  .sticky-apply { display: block; }
  .fc-wrap { bottom: 80px; }
}

/* Exit-intent callback modal ------------------------------------------------ */
.exit-modal { position: fixed; inset: 0; z-index: 200; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.exit-modal.active { opacity: 1; visibility: visible; }
.exit-modal-inner { background: var(--primary); color: #fff; border-radius: 20px; max-width: 460px; width: 100%; padding: 44px 40px; position: relative; transform: translateY(16px) scale(0.98); transition: transform 0.3s ease; }
.exit-modal.active .exit-modal-inner { transform: translateY(0) scale(1); }
.exit-modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: rgba(255,255,255,0.6); font-size: 30px; line-height: 1; cursor: pointer; transition: color 0.2s; }
.exit-modal-close:hover { color: #fff; }
.exit-modal-label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #93c5fd; margin-bottom: 12px; }
.exit-modal h3 { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: -0.02em; line-height: 1.15; }
.exit-modal p { font-size: 15px; color: rgba(255,255,255,0.82); line-height: 1.55; margin-bottom: 24px; }
.exit-input { width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); color: #fff; font-size: 15px; margin-bottom: 12px; }
.exit-input::placeholder { color: rgba(255,255,255,0.55); }
.exit-input:focus { outline: none; border-color: #93c5fd; background: rgba(255,255,255,0.15); }
.exit-submit { width: 100%; padding: 15px; border-radius: 10px; border: none; background: #fff; color: var(--primary); font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.2s, transform 0.15s; }
.exit-submit:hover { background: #eff6ff; transform: translateY(-1px); }
.exit-submit:disabled { opacity: 0.6; cursor: default; }
.exit-note { font-size: 13px; margin-top: 12px; margin-bottom: 0; text-align: center; }
.exit-modal-success { text-align: center; padding: 12px 0; }
.exit-success-icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: rgba(255,255,255,0.15); color: #fff; display: flex; align-items: center; justify-content: center; }
@media (max-width: 540px) {
  .exit-modal-inner { padding: 36px 26px; }
  .exit-modal h3 { font-size: 22px; }
}

/* FAQ accordion ------------------------------------------------------------- */
.faq-section { padding: 80px 0; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; background: var(--bg); overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.faq-item.open { border-color: var(--secondary); box-shadow: 0 4px 16px rgba(30, 58, 138, 0.06); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: inherit; }
.faq-chevron { flex-shrink: 0; color: var(--secondary); transition: transform 0.3s ease; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding: 0 24px 22px; margin: 0; font-size: 15px; line-height: 1.65; color: var(--text-mid); }
@media (max-width: 540px) {
  .faq-q { font-size: 15px; padding: 18px 20px; }
  .faq-a p { padding: 0 20px 20px; }
}

/* Case studies -------------------------------------------------------------- */
.cases-section { padding: 80px 0; }
.cases-intro { max-width: 620px; margin: 0 auto 48px; text-align: center; font-size: 17px; color: var(--text-mid); line-height: 1.6; }
.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: 0 auto 48px; }
.case-card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 36px 34px; transition: transform 0.25s, box-shadow 0.25s; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(30, 58, 138, 0.1); }
.case-amount { font-size: 34px; font-weight: 900; color: var(--primary); letter-spacing: -0.02em; margin-bottom: 6px; }
.case-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--secondary); margin-bottom: 18px; }
.case-card h3 { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 12px; letter-spacing: -0.01em; line-height: 1.25; }
.case-card p { font-size: 15px; color: var(--text-mid); line-height: 1.65; margin: 0; }
.cases-snapshot { max-width: 1000px; margin: 0 auto; background: var(--primary); border-radius: 16px; padding: 40px 44px; }
.cases-snapshot-title { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #93c5fd; margin-bottom: 28px; text-align: center; }
.cases-snapshot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.snapshot-item { text-align: center; }
.snapshot-amount { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 6px; }
.snapshot-sector { font-size: 13px; font-weight: 600; color: #bfdbfe; margin-bottom: 10px; }
.snapshot-desc { font-size: 13px; color: rgba(255,255,255,0.72); line-height: 1.5; }
@media (max-width: 900px) {
  .cases-grid { grid-template-columns: 1fr; }
  .cases-snapshot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 540px) {
  .cases-snapshot-grid { grid-template-columns: 1fr; }
  .cases-snapshot { padding: 32px 24px; }
  .case-card { padding: 28px 24px; }
}

/* Footer social ------------------------------------------------------------- */
.footer-social { margin-top: 18px; }
.footer-social-link { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,0.6); font-size: 13px; text-decoration: none; transition: color 0.2s; }
.footer-social-link:hover { color: #fff; }
.footer-social-link svg { flex-shrink: 0; }

/* ═══ V11 additions ═══════════════════════════════════════════════════════ */
:root {
  --v-accent: var(--secondary);
  --v-accent-lit: #93c5fd;
  --v-ink: var(--text);
  --v-panel: var(--primary);
  --v-paper: var(--bg-alt);
  --v-hair: var(--border);
  --v-slate: var(--text-mid);
}
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.footer-logo img, .footer-logo .custom-logo { filter: brightness(0) invert(1); }
.footer-hours { color: rgba(255,255,255,0.45); font-size: 13px; }
.footer-bottom .footer-reg { flex-basis: 100%; }
@media (max-width: 768px) {
  .fc-wrap { bottom: 16px; }
  .bd-has-sticky .fc-wrap { bottom: 80px; }
}

/* Shared form bits used by the application form */
.ap .wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.ap .eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--secondary); }
.ap .label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 8px; }
.ap .input { width: 100%; padding: 15px 16px; border: 1.5px solid var(--border); border-radius: 10px; background: #fff; font-family: var(--font); font-size: 16px; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; }
.ap .input:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(37,99,235,0.12); }
.ap .input::placeholder { color: #9ca3af; }
.ap .field { margin-bottom: 16px; }
.ap .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ap .btn { padding: 15px 28px; border-radius: 8px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.ap .btn-line { background: #fff; color: var(--text); border: 1.5px solid var(--border); }
.ap .btn-line:hover { border-color: var(--primary); color: var(--primary); }
.ap .btn-primary:hover { background: var(--secondary); }
.ap .form-err { font-size: 14px; color: #b42339; }
.ap .ap-h { font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--text); }
@media (max-width: 640px) {
  .ap .wrap { padding: 0 16px; }
  .ap .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ═══ Application form ════════════════════════════════════════════════════ */
.ap { background: var(--v-paper); padding: 48px 0 110px; min-height: 100vh; }
.ap-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 30px; align-items: start; }

.ap-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.ap-steps-item button { width: 100%; background: none; border: none; padding: 0; text-align: left; cursor: pointer; color: var(--v-slate); font-family: var(--font); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.ap-steps-item button:disabled { cursor: default; }
.ap-steps-item button::before { content: ''; display: block; height: 3px; border-radius: 3px; background: var(--v-hair); margin-bottom: 9px; transition: background 0.3s; }
.ap-steps-n { display: none; }
.ap-steps-item.is-done button::before { background: var(--v-accent); opacity: 0.45; }
.ap-steps-item.is-done button { color: var(--v-ink); }
.ap-steps-item.is-done button:hover { color: var(--v-accent); }
.ap-steps-item.is-current button::before { background: var(--v-accent); }
.ap-steps-item.is-current button { color: var(--v-accent); font-weight: 600; }

.ap-card { background: #fff; border: 1px solid var(--v-hair); border-radius: 26px; padding: 46px 48px 38px; box-shadow: 0 30px 60px -48px rgba(11,27,43,0.45); }
.ap-card .eyebrow { margin-bottom: 12px; }
.ap-step { display: none; }
.ap-step.is-active { display: block; animation: apIn 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.ap-step.is-leaving { opacity: 0; transform: translateX(-24px); transition: opacity 0.2s, transform 0.2s; }
.is-back .ap-step.is-active { animation-name: apInBack; }
.is-back .ap-step.is-leaving { transform: translateX(24px); }
@keyframes apIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes apInBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.ap-step.is-active > .eyebrow, .ap-step.is-active > .ap-h, .ap-step.is-active > .ap-sub { animation: apRise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
.ap-step.is-active > .ap-h { animation-delay: 0.04s; }
.ap-step.is-active > .ap-sub { animation-delay: 0.08s; }
@keyframes apRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.ap-h { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; outline: none; }
.ap-sub { font-size: 16px; color: var(--v-slate); line-height: 1.6; margin-bottom: 26px; max-width: 54ch; }
.ap-step > .ap-h:last-of-type { margin-bottom: 24px; }

/* Company search */
.ap-co { position: relative; }
.ap-co-box { position: relative; }
.ap-co-ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--v-slate); pointer-events: none; }
.ap .ap-co-input { padding-left: 50px; padding-right: 48px; font-size: 17px; height: 60px; }
.ap-co.is-manual .ap-co-ico { display: none; }
.ap .ap-co.is-manual .ap-co-input { padding-left: 18px; }
.ap-spin { position: absolute; right: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid var(--v-hair); border-top-color: var(--v-accent); border-radius: 50%; animation: apSpin 0.7s linear infinite; }
@keyframes apSpin { to { transform: rotate(360deg); } }
.ap-co-list { list-style: none; margin: 8px 0 0; padding: 6px; position: absolute; left: 0; right: 0; z-index: 20; background: #fff; border: 1px solid var(--v-hair); border-radius: 16px; box-shadow: 0 24px 48px -20px rgba(11,27,43,0.35); max-height: 360px; overflow-y: auto; }
.ap-opt { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 11px; cursor: pointer; }
.ap-opt.is-active, .ap-opt:hover { background: rgba(27,77,228,0.07); }
.ap-opt-name { font-family: var(--font); font-weight: 600; font-size: 16px; color: var(--v-ink); letter-spacing: -0.01em; }
.ap-opt-meta { font-family: var(--font); font-size: 12px; color: var(--v-accent); }
.ap-opt-addr { font-size: 13px; color: var(--v-slate); }
.ap-opt.is-inactive .ap-opt-name { color: var(--v-slate); }
.ap-opt.is-inactive .ap-opt-meta { color: #B42339; }
.ap-co-msg { min-height: 20px; margin-top: 10px; font-size: 14px; color: var(--v-slate); }
.ap-co-msg.is-error { color: #B42339; }
.ap-manual { margin-top: 10px; }
.ap-optional { text-transform: none; letter-spacing: 0; font-family: var(--font); }
.ap-opt { line-height: 1.35; }

/* Verified company card */
.ap-found { border: 1.5px solid var(--v-accent); border-radius: 18px; padding: 22px 24px; background: linear-gradient(180deg, rgba(37,99,235,0.06), rgba(27,77,228,0)); animation: apIn 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.ap-found-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.ap-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--v-accent); padding: 6px 11px; border-radius: 100px; }
.ap-found-name { font-family: var(--font); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 16px; }
.ap-found-meta { display: grid; grid-template-columns: repeat(4, auto); gap: 6px 22px; margin: 0 0 12px; justify-content: start; }
.ap-found-meta dt { font-family: var(--font); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--v-slate); }
.ap-found-meta dd { margin: 2px 0 0; font-family: var(--font); font-size: 14px; color: var(--v-ink); }
.ap-found-addr { font-size: 14px; color: var(--v-slate); }

.ap-link { background: none; border: none; padding: 0; font-family: var(--font); font-size: 14.5px; font-weight: 600; color: var(--v-accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ap-link:hover { color: #1540C4; }
.ap-other { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--v-hair); }
.ap-other-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.ap-choice { text-align: left; background: var(--v-paper); border: 1.5px solid var(--v-hair); border-radius: 16px; padding: 16px 18px; cursor: pointer; font-family: var(--font); transition: border-color 0.2s, background 0.2s; }
.ap-choice:hover { border-color: var(--v-accent); background: #fff; }
.ap-choice strong { display: block; font-size: 15px; color: var(--v-ink); margin-bottom: 4px; }
.ap-choice span { font-size: 13.5px; color: var(--v-slate); line-height: 1.5; }
.ap-trading-name { margin-top: 4px; }

/* Stop screen */
.ap-stop { text-align: center; padding: 10px 0 4px; }
.ap-stop-ico { color: var(--v-accent); display: flex; justify-content: center; margin: 0 auto 18px; }
.ap-stop .ap-sub { margin-left: auto; margin-right: auto; }
.ap-stop-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Choices */
.ap-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ap-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px 10px; background: #fff; border: 1.5px solid var(--v-hair); border-radius: 18px; cursor: pointer; font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--v-ink); transition: border-color 0.2s, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s, box-shadow 0.2s; }
.ap-tile:hover { border-color: var(--v-accent); transform: translateY(-2px); }
.ap-tile-ico { color: var(--v-accent); height: 26px; display: flex; align-items: center; transition: color 0.2s; }
.ap-glyph { font-family: var(--font); font-size: 26px; font-weight: 500; line-height: 1; }
.ap-tile.is-on { background: rgba(37,99,235,0.06); border-color: var(--v-accent); color: var(--v-accent); font-weight: 600; transform: none; }
.ap-tile::after { content: ''; position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--v-accent) var(--ap-tick) center / 12px no-repeat; transform: scale(0); transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ap-tile.is-on::after { transform: scale(1); }
:root { --ap-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); --ap-tick-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }

.ap-amount { font-family: var(--font); font-size: clamp(30px, 4vw, 42px); font-weight: 600; letter-spacing: -0.03em; color: var(--v-accent); margin: 4px 0 22px; min-height: 1.2em; }
.ap-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ap-chip { display: inline-flex; align-items: center; font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--v-ink); background: #fff; border: 1.5px solid var(--v-hair); border-radius: 100px; padding: 12px 20px; cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.ap-chip:hover { border-color: var(--v-accent); }
.ap-chip::before { content: ''; width: 0; height: 14px; margin-right: 0; background: var(--ap-tick-blue) center / 14px no-repeat; transition: width 0.2s, margin 0.2s; }
.ap-chip.is-on { background: rgba(37,99,235,0.06); border-color: var(--v-accent); color: var(--v-accent); font-weight: 600; }
.ap-chip.is-on::before { width: 14px; margin-right: 7px; }
.ap-or { position: relative; text-align: center; margin: 26px 0 18px; }
.ap-or::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--v-hair); }
.ap-or span { position: relative; background: #fff; padding: 0 14px; font-family: var(--font); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--v-slate); }
.ap-exact { position: relative; max-width: 300px; }
.ap-exact > span { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-family: var(--font); font-size: 18px; color: var(--v-slate); }
.ap-exact .input { padding-left: 40px; font-family: var(--font); font-size: 18px; }

.ap-pills { display: grid; gap: 10px; }
.ap-pill { display: flex; justify-content: flex-start; align-items: center; gap: 12px; padding: 18px 22px; background: #fff; border: 1.5px solid var(--v-hair); border-radius: 16px; cursor: pointer; font-family: var(--font); font-size: 16px; font-weight: 500; color: var(--v-ink); text-align: left; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.ap-pill:hover { border-color: var(--v-accent); }
.ap-pill::before { content: ''; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--v-hair); background: #fff center / 12px no-repeat; transition: background-color 0.2s, border-color 0.2s; }
.ap-pill:hover::before { border-color: var(--v-accent); }
.ap-pill-hint { margin-left: auto; white-space: nowrap; font-family: var(--font); font-size: 12px; color: var(--v-slate); }
.ap-pill.is-on { background: rgba(37,99,235,0.06); border-color: var(--v-accent); color: var(--v-accent); font-weight: 600; }
.ap-pill.is-on::before { background-color: var(--v-accent); background-image: var(--ap-tick); border-color: var(--v-accent); }
.ap-pill.is-on .ap-pill-hint { color: var(--v-accent); opacity: 0.75; }

.ap-q + .ap-q { margin-top: 26px; }
.ap-hint { margin-top: 10px; font-size: 13.5px; color: var(--v-slate); padding-left: 12px; border-left: 2px solid var(--v-accent); }
.ap-consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 6px; font-size: 14.5px; color: var(--v-slate); line-height: 1.55; cursor: pointer; }
.ap-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--v-accent); flex-shrink: 0; }
.ap-consent a { color: var(--v-accent); }

.ap-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--v-hair); }
.ap-nav #ap-next { margin-left: auto; min-width: 180px; }
.ap-card .form-err { text-align: left; margin-top: 18px; padding: 12px 16px; background: rgba(180,35,57,0.06); border-radius: 12px; }
.ap .btn:disabled { opacity: 0.6; cursor: default; transform: none; }

/* Ledger */
.ap-ledger { position: sticky; top: 104px; background: var(--v-panel); color: #fff; border-radius: 24px; padding: 30px 28px; margin-top: 30px; }
.ap-ledger .eyebrow { color: var(--v-accent-lit); margin-bottom: 16px; }
.ap-rows { margin: 0 0 22px; }
.ap-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,0.14); }
.ap-row dt { font-family: var(--font); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); flex-shrink: 0; }
.ap-row dd { margin: 0; font-family: var(--font); font-size: 13.5px; color: rgba(255,255,255,0.35); text-align: right; word-break: break-word; }
.ap-row.is-filled dd { color: #fff; }
.ap-row.is-flash dd { animation: apFlash 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes apFlash { 0% { color: var(--v-accent-lit); transform: translateX(-4px); } 100% { color: #fff; transform: none; } }
.ap-promises { list-style: none; margin: 0; padding: 0; }
.ap-promises li { position: relative; padding: 5px 0 5px 22px; font-size: 13.5px; color: rgba(255,255,255,0.68); }
.ap-promises li::before { content: '✓'; position: absolute; left: 0; color: var(--v-accent-lit); font-weight: 700; }
.ap-ledger-toggle, .ap-sum-chips { display: none; }

@media (max-width: 960px) {
  .ap-grid { grid-template-columns: 1fr; gap: 14px; }
  .ap-ledger { order: -1; position: static; margin-top: 0; padding: 0; background: #fff; color: var(--v-ink); border: 1px solid var(--v-hair); border-radius: 18px; box-shadow: 0 18px 40px -36px rgba(11,27,43,0.5); }
  .ap-ledger-toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 16px 20px; background: none; border: none; cursor: pointer; font-family: var(--font); text-align: left; color: var(--v-ink); }
  .ap-ledger-toggle > span:first-child { font-size: 14px; font-weight: 700; }
  .ap-ledger-count { margin-left: auto; font-size: 13px; color: var(--v-accent); font-weight: 600; }
  .ap-ledger-chev { color: var(--v-accent); transition: transform 0.25s; }
  .ap-ledger.is-open .ap-ledger-chev { transform: rotate(180deg); }
  .ap-ledger-body { display: none; padding: 4px 20px 20px; border-top: 1px solid var(--v-hair); }
  .ap-ledger.is-open .ap-ledger-body { display: block; animation: apRise 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
  .ap-ledger-body > .eyebrow, .ap-rows { display: none; }
  .ap-sum-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 18px; padding: 0; }
  .ap-sum-chips:empty::before { content: 'Your answers will show here as you go.'; font-size: 14px; color: var(--v-slate); }
  .ap-sum-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1.5px solid var(--v-accent); border-radius: 100px; font-size: 14px; font-weight: 600; color: var(--v-accent); }
  .ap-sum-chips li::before { content: ''; width: 13px; height: 13px; background: var(--ap-tick-blue) center / 13px no-repeat; }
  .ap-promises li { color: var(--v-slate); }
  .ap-promises li::before { color: var(--v-accent); }
}
@media (max-width: 640px) {
  .ap { padding: 28px 0 90px; }
  .ap-card { padding: 30px 22px 26px; border-radius: 22px; }
  .ap-steps-l { font-size: 0; }
  .ap-steps-item.is-current .ap-steps-l { font-size: 11px; }
  .ap-tiles { grid-template-columns: 1fr 1fr; }
  .ap-tile { padding: 20px 8px; font-size: 14px; }
  .ap-other-panel { grid-template-columns: 1fr; }
  .ap-found-meta { grid-template-columns: 1fr 1fr; }
  .ap-found-name { font-size: 21px; }
  .ap-nav #ap-next { min-width: 0; flex: 1; }
}



/* ═══ V12: chosen sections ═══════════════════════════════════════════════
   New layouts for How it works, Reviews, Recent deals, FAQ and the closing
   banner, set in the site's own headings, Inter and navy/blue. */
.nx-head-center { text-align: center; }
.nx-head-center .section-heading { margin-left: auto; margin-right: auto; }
.nx-center { text-align: center; margin-top: 40px; }
.nx-intro { font-size: 17px; color: var(--text-mid); line-height: 1.65; max-width: 620px; margin-bottom: 40px; }

/* How it works */
.nx-steps-section { padding: 80px 0; background: var(--bg-alt); }
.nx-steps-section .section-heading { margin-bottom: 44px; }
.nx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.nx-steps::before { content: ''; position: absolute; top: 21px; left: 22px; right: calc((100% - 84px) / 4 - 22px); height: 2px; background: var(--secondary); opacity: 0.3; }
.nx-step { position: relative; }
.nx-step-n { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--secondary); color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 20px; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 6px var(--bg-alt); }
.nx-step h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px; letter-spacing: -0.01em; }
.nx-step p { font-size: 14.5px; color: var(--text-mid); line-height: 1.65; }

/* Reviews */
.nx-reviews-section { padding: 80px 0; background: var(--bg-alt); }
.nx-reviews-section .section-heading { margin-bottom: 40px; }
.nx-tp { margin-bottom: 32px; text-align: center; }
.nx-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.nx-review { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px 26px; display: flex; flex-direction: column; gap: 18px; }
.nx-review-who { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.nx-review-name { font-weight: 700; font-size: 15px; color: var(--secondary); }
.nx-review-date { font-size: 13px; color: var(--text-light); }
.nx-review blockquote { margin: 0; }
.nx-review-title { font-weight: 700; font-size: 16.5px; color: var(--text); margin-bottom: 8px; line-height: 1.35; }
.nx-review blockquote p:last-child { font-size: 15px; color: var(--text-mid); line-height: 1.7; }

/* Recent deals */
.nx-deals-section { padding: 80px 0; background: var(--bg); }
.nx-ledger { border-top: 1px solid var(--border); margin-bottom: 64px; }
.nx-row { display: grid; grid-template-columns: 190px 1fr 220px; gap: 28px; align-items: center; padding: 24px 12px; border-bottom: 1px solid var(--border); border-radius: 8px; transition: background 0.2s; }
.nx-row:hover { background: #f1f5ff; }
.nx-row-amt { font-size: 28px; font-weight: 800; color: var(--secondary); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.nx-row-what h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.nx-row-what p { font-size: 14.5px; color: var(--text-mid); }
.nx-row-meta { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); text-align: right; }
.nx-subhead { font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; margin-bottom: 20px; }
.nx-stories { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.nx-story { background: var(--bg-alt); border-radius: 12px; padding: 32px 30px; }
.nx-story-amt { font-size: 30px; font-weight: 800; color: var(--secondary); letter-spacing: -0.03em; margin-bottom: 4px; }
.nx-story-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 18px; }
.nx-story h4 { font-size: 20px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; margin-bottom: 10px; }
.nx-story p { font-size: 15px; color: var(--text-mid); line-height: 1.7; }

/* FAQ */
.nx-faq-section { padding: 80px 0; background: var(--bg-alt); }
.nx-faq-section .section-heading { margin-bottom: 36px; }
.nx-faq { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 4px 28px; }
.nx-faq-item + .nx-faq-item { border-top: 1px solid var(--border); }
.nx-faq-h { margin: 0; font-size: inherit; }
.nx-faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font); font-size: 17px; font-weight: 700; color: var(--text); }
.nx-faq-q:hover { color: var(--primary); }
.nx-faq-ico { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: #e8efff; color: var(--secondary); display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease, background 0.2s, color 0.2s; }
.nx-faq-item.open .nx-faq-ico { transform: rotate(45deg); background: var(--secondary); color: #fff; }
.nx-faq-item.open .nx-faq-q { color: var(--primary); }
.nx-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.nx-faq-item.open .nx-faq-a { max-height: 360px; }
.nx-faq-a p { padding: 0 44px 22px 0; font-size: 15.5px; color: var(--text-mid); line-height: 1.7; }

/* Closing banner */
.nx-cta { position: relative; overflow: hidden; background: var(--primary); text-align: center; padding: 96px 0; }
.nx-cta::before { content: ''; position: absolute; left: 50%; bottom: -260px; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(96,165,250,0.45), rgba(37,99,235,0)); pointer-events: none; }
.nx-cta .container { position: relative; }
.nx-cta h2 { font-size: 42px; font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 14px; }
.nx-cta p { font-size: 17px; color: rgba(255,255,255,0.78); max-width: 540px; margin: 0 auto 32px; line-height: 1.6; }
.nx-cta .btn-white { border-radius: 8px; }

@media (max-width: 960px) {
  .nx-steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .nx-steps::before { display: none; }
  .nx-reviews { grid-template-columns: 1fr; }
  .nx-stories { grid-template-columns: 1fr; }
  .nx-row { grid-template-columns: 150px 1fr; }
  .nx-row-meta { grid-column: 2; text-align: left; margin-top: -16px; }
}
@media (max-width: 640px) {
  .nx-steps-section, .nx-reviews-section, .nx-deals-section, .nx-faq-section { padding: 56px 0; }
  .nx-steps { grid-template-columns: 1fr; }
  .nx-row { grid-template-columns: 1fr; gap: 6px; padding: 20px 4px; }
  .nx-row-meta { grid-column: auto; margin-top: 4px; }
  .nx-row-amt { font-size: 24px; }
  .nx-faq { padding: 0 18px; }
  .nx-faq-q { font-size: 16px; }
  .nx-faq-a p { padding-right: 0; }
  .nx-story { padding: 26px 22px; }
  .nx-cta { padding: 64px 0; }
  .nx-cta h2 { font-size: 30px; }
}


/* ═══ Application: fits the screen, buttons fixed to the bottom ═══════════ */
body.bd-apply { overflow: hidden; }
body.bd-apply .ap { position: fixed; top: var(--ap-top, 80px); left: 0; right: 0; bottom: var(--ap-bar, 76px); min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 40px 0 32px; }
.ap-steps { margin-bottom: 18px; }
.ap-steps-item button::before { margin-bottom: 10px; }
.ap-card .eyebrow { margin-bottom: 12px; }
.ap-h { font-size: clamp(28px, 3vw, 38px); margin-bottom: 10px; }
.ap-sub { margin-bottom: 26px; }
.ap-card .form-err { margin-top: 18px; }
@media (min-width: 641px) {
  .ap-card { background: #fff; border: 1px solid var(--v-hair); border-radius: 26px; padding: 46px 48px 42px; box-shadow: 0 30px 60px -48px rgba(11,27,43,0.45); }
  .ap-box { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
  .ap-stop { padding: 6px 0 0; }
}
@media (min-width: 961px) {
  .ap-ledger { top: 0; margin-top: 45px; }
}
@media (max-width: 640px) {
  .ap-card { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
  .ap-box { background: #fff; border: 1px solid var(--v-hair); border-radius: 16px; box-shadow: 0 30px 60px -48px rgba(11,27,43,0.45); }
  .ap-stop { background: #fff; border: 1px solid var(--v-hair); border-radius: 16px; }
}

/* Bottom bar */
.ap-nav { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; margin: 0; padding: 0; border-top: 1px solid var(--v-hair); background: #fff; box-shadow: 0 -12px 30px -24px rgba(11,27,43,0.35); }
.ap-nav-in { width: 100%; box-sizing: border-box; max-width: var(--max-w); margin: 0 auto; padding: 14px 32px calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 20px; }
.ap-back { display: inline-flex; align-items: center; gap: 8px; background: none; border: none; padding: 10px 4px; font-family: var(--font); font-size: 16px; font-weight: 500; color: var(--v-ink); cursor: pointer; }
.ap-back:hover { color: var(--v-accent); }
.ap-back svg { transition: transform 0.2s; }
.ap-back:hover svg { transform: translateX(-3px); }
.ap-nav-note { margin-left: auto; font-size: 13.5px; color: var(--v-slate); }
.ap-nav #ap-next { margin-left: 0; min-width: 200px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.ap-nav #ap-next::after { content: '→'; font-size: 16px; transition: transform 0.2s; }
.ap-nav #ap-next:hover::after { transform: translateX(3px); }
.ap-nav #ap-next:focus:not(:focus-visible) { outline: none; }

/* Small pieces */
.ap-co-list.is-floating { position: fixed; right: auto; margin: 0; z-index: 70; box-shadow: 0 28px 60px -18px rgba(11,27,43,0.45); }
.ap-co-msg:empty { min-height: 0; margin: 0; }
.ap-other-panel { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ap .ap-exact .input { padding-left: 42px; }
.ap .ap-exact > span { left: 16px; z-index: 1; pointer-events: none; }
.ap .ap-exact .input, .ap .ap-exact > span { font-size: 18px; line-height: 1.2; }

/* Phones */
@media (max-width: 960px) {
  .ap-ledger-toggle { padding: 13px 18px; }
}
@media (max-width: 640px) {
  body.bd-apply .ap { padding: 16px 0 20px; }
  .ap-grid { gap: 14px; }
  .ap-ledger { border-radius: 14px; }
  .ap-ledger-toggle { padding: 12px 16px; }
  .ap-ledger-toggle > span:first-child { font-size: 13.5px; }
  .ap-ledger-body { padding: 2px 16px 16px; }
  .ap-steps { margin-bottom: 20px; gap: 4px; }
  .ap-steps-l, .ap-steps-item.is-current .ap-steps-l { display: none; }
  .ap-steps-item button::before { margin-bottom: 0; }
  .ap-card .eyebrow { margin-bottom: 8px; font-size: 11px; }
  .ap-h { font-size: 25px; margin-bottom: 8px; }
  .ap-sub { font-size: 15px; line-height: 1.5; margin-bottom: 18px; }
  .ap-box { padding: 18px; border-radius: 16px; }
  .ap-stop { padding: 28px 20px; }
  .ap .label { font-size: 11px; margin-bottom: 7px; }
  .ap .input { padding: 13px 14px; }
  .ap .ap-co-input { height: 52px; font-size: 16px; padding-left: 44px; }
  .ap .ap-co.is-manual .ap-co-input { padding-left: 14px; }
  .ap-co-ico { left: 16px; }
  .ap .field { margin-bottom: 12px; }
  .ap-co-msg { margin-top: 8px; font-size: 13px; }
  .ap-manual { margin-top: 10px; }
  .ap-found { padding: 16px; border-radius: 14px; }
  .ap-found-top { margin-bottom: 10px; }
  .ap-badge { font-size: 10px; padding: 5px 9px; }
  .ap-found-name { font-size: 19px; margin-bottom: 12px; }
  .ap-found-meta { gap: 8px 16px; margin-bottom: 8px; }
  .ap-found-meta dd { font-size: 13px; }
  .ap-found-addr { font-size: 13px; margin: 0; }
  .ap-other { margin-top: 16px; padding-top: 14px; }
  .ap-link { font-size: 14px; }
  .ap-choice { padding: 12px 14px; }
  .ap-tiles { gap: 8px; }
  .ap-tile { flex-direction: row; justify-content: flex-start; text-align: left; padding: 14px 32px 14px 14px; gap: 10px; font-size: 14.5px; }
  .ap-tile-ico { height: 22px; }
  .ap-tile-ico svg { width: 20px; height: 20px; }
  .ap-glyph { font-size: 20px; width: 20px; justify-content: center; }
  .ap-tile::after { top: 50%; right: 10px; margin-top: -9px; width: 18px; height: 18px; background-size: 11px; }
  .ap-chips { gap: 8px; }
  .ap-chip { padding: 9px 14px; font-size: 14px; }
  .ap-chips-left { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .ap-chips-left .ap-chip { justify-content: center; padding: 10px 4px; font-size: 13.5px; white-space: nowrap; }
  .ap-chips-left .ap-chip::before { display: none; }
  .ap-q + .ap-q { margin-top: 16px; }
  .ap-hint { margin-top: 8px; font-size: 12.5px; padding-left: 10px; line-height: 1.45; }
  .ap-amount { font-size: 26px; margin: 0 0 12px; }
  .ap-or { margin: 16px 0 12px; }
  .ap-exact { max-width: none; }
  .ap-pills { gap: 8px; }
  .ap-pill { padding: 13px 16px; font-size: 15px; }
  .ap-consent { font-size: 13.5px; gap: 10px; }
  .ap-card .form-err { margin-top: 10px; padding: 10px 12px; font-size: 13.5px; }
  .ap-stop .ap-sub { font-size: 14.5px; }
  .ap-nav-in { padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); gap: 12px; }
  .ap-nav-note { display: none; }
  .ap-nav #ap-next { flex: 1; min-width: 0; margin-left: auto; }
  .ap-nav .btn { padding-top: 14px; padding-bottom: 14px; }
  .ap-back { padding: 10px 6px; }
}

/* WordPress admin bar (only shown to logged-in admins) */
@media (max-width: 782px) {
  .admin-bar .header { top: 46px; }
  .admin-bar .mobile-nav { top: 110px; }
  html:has(body.admin-bar) { scroll-padding-top: 126px; }
}
@media (max-width: 600px) {
  .admin-bar #wpadminbar { position: fixed; }
}

@media (min-width: 641px) {
  body.bd-apply .ap { padding: 32px 0 22px; }
  .ap-card { padding: 42px 46px 36px; }
  .ap-nav-in { padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}

/* ── Only when a step would not fit: the form tightens in stages ──────────
   apply.js works out the smallest stage that fits every step on this screen,
   so spacing stays the same from step to step.                            */
.ap-q + .ap-q-row { margin-top: 26px; }
@media (min-width: 641px) {
  .ap-q-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 22px 44px; }
  .ap-q-row > .ap-q { margin-top: 0; }
  .ap-q-trading { flex: 1 1 360px; }
  .ap-q-home { flex: 0 0 auto; }
  .ap-chips { gap: 10px; }
  .ap-chip { padding: 12px 18px; }
  .ap-amount { font-size: 28px; margin: 0 0 16px; }

  body.bd-apply .ap.fit-1 { padding-top: 22px; padding-bottom: 16px; }
  .ap.fit-1 .ap-steps { margin-bottom: 14px; }
  .ap.fit-1 .ap-card { padding: 36px 42px 32px; }

  .ap.fit-2 .ap-sub { margin-bottom: 20px; }
  .ap.fit-2 .ap-tile { padding-top: 18px; padding-bottom: 18px; }
  .ap.fit-2 .ap-pill { padding-top: 15px; padding-bottom: 15px; }
  .ap.fit-2 .ap-pills { gap: 9px; }
  .ap.fit-2 .ap-chip { padding-top: 10px; padding-bottom: 10px; }
  .ap.fit-2 .ap-q + .ap-q, .ap.fit-2 .ap-q + .ap-q-row { margin-top: 20px; }
  .ap.fit-2 .ap-or { margin: 18px 0 14px; }
  .ap.fit-2 .field { margin-bottom: 12px; }

  body.bd-apply .ap.fit-3 { padding-top: 16px; padding-bottom: 12px; }
  .ap.fit-3 .ap-card { padding: 28px 34px 26px; }
  .ap.fit-3 .ap-h { font-size: 30px; }
  .ap.fit-3 .ap-tile { padding-top: 14px; padding-bottom: 14px; gap: 8px; }
  .ap.fit-3 .ap-pill { padding-top: 12px; padding-bottom: 12px; }
  .ap.fit-3 .input { padding-top: 12px; padding-bottom: 12px; }
  .ap.fit-3 .ap-co-input { height: 52px; }
  .ap.fit-3 .ap-found-addr { display: none; }

  .ap.fit-4 .ap-step:not(.ap-stop):not([data-step="1"]) > .ap-sub { display: none; }
  .ap.fit-4 .ap-step:not(.ap-stop) > .ap-h { margin-bottom: 18px; }

  .ap.fit-5 .ap-card .eyebrow { display: none; }
  .ap.fit-5 .ap-step:not(.ap-stop) > .ap-sub { display: none; }
  .ap.fit-5 .ap-amount { display: none; }
}
@media (min-width: 961px) {
  .ap.fit-1 .ap-ledger { margin-top: 41px; }
  .ap.fit-3 .ap-ledger { margin-top: 41px; padding: 22px 24px; }
  .ap.led-tight .ap-promises { display: none; }
  .ap.led-tight .ap-rows { margin-bottom: 0; }
  .ap.led-tight .ap-row { padding: 9px 0; }
  .ap.led-tight .ap-ledger { padding: 24px 26px; }
}
@media (max-width: 640px) {
  .ap-q-row .ap-q-home { margin-top: 16px; }
  body.bd-apply .ap.fit-1 { padding-top: 10px; padding-bottom: 12px; }
  .ap.fit-1 .ap-grid { gap: 10px; }
  .ap.fit-1 .ap-ledger-toggle { padding: 10px 16px; }
  .ap.fit-1 .ap-steps { margin-bottom: 14px; }
  .ap.fit-1 .ap-sub { margin-bottom: 14px; }
  .ap.fit-1 .ap-box { padding: 14px 16px; }
  .ap.fit-1 .ap-tile { padding-top: 11px; padding-bottom: 11px; }
  .ap.fit-1 .ap-pill { padding-top: 11px; padding-bottom: 11px; }
  .ap.fit-1 .ap-chip { padding-top: 8px; padding-bottom: 8px; }
  .ap.fit-1 .ap-q + .ap-q, .ap.fit-1 .ap-q + .ap-q-row { margin-top: 12px; }
  .ap.fit-1 .ap-q-row .ap-q-home { margin-top: 12px; }
  .ap.fit-1 .field { margin-bottom: 10px; }
  .ap.fit-1 .input { padding-top: 11px; padding-bottom: 11px; }
  .ap.fit-1 .ap-co-input { height: 48px; }
  .ap.fit-1 .ap-found { padding: 12px 14px; }
  .ap.fit-1 .ap-other { margin-top: 12px; padding-top: 10px; }
  .ap.fit-2 .ap-tile { padding-top: 9px; padding-bottom: 9px; }
  .ap.fit-2 .ap-pill { padding-top: 9px; padding-bottom: 9px; }
  .ap.fit-2 .ap-chip { padding-top: 7px; padding-bottom: 7px; }
  .ap.fit-2 .ap-pills, .ap.fit-2 .ap-tiles { gap: 6px; }
  .ap.fit-2 .ap-or { margin: 10px 0 8px; }
  .ap.fit-2 .ap-amount { font-size: 22px; margin-bottom: 8px; }
  .ap.fit-2 .ap-found-name { font-size: 17px; margin-bottom: 8px; }
  .ap.fit-2 .ap-choice { padding: 10px 12px; }
  .ap.fit-2 .ap-found-addr { display: none; }
  .ap.fit-3 .ap-step:not(.ap-stop):not([data-step="1"]) > .ap-sub { display: none; }
  .ap.fit-3 .ap-step:not(.ap-stop):not([data-step="1"]) > .ap-h { margin-bottom: 18px; }
  .ap.fit-3 .ap-hint { font-size: 12px; }
  .ap.fit-3 .ap-choice span { display: none; }
  .ap.fit-3 .ap-stop { padding-top: 22px; padding-bottom: 20px; }
  .ap.fit-3 .ap-stop-ico { margin-bottom: 10px; }
  .ap.fit-3 .ap-stop .ap-sub { margin-bottom: 12px; }
  .ap.fit-4 .ap-card .eyebrow { display: none; }
  .ap.fit-4 .ap-h { font-size: 22px; }
  .ap.fit-4 .ap-step:not(.ap-stop) > .ap-sub { display: none; }
  .ap.fit-4 .ap-step:not(.ap-stop) > .ap-h { margin-bottom: 16px; }
  .ap.fit-4 .ap-amount { display: none; }
  .ap.fit-5 .ap-ledger-toggle { padding-top: 8px; padding-bottom: 8px; }
  .ap.fit-5 .ap-hint { display: none; }
  .ap.fit-5 .ap-found-meta > div:nth-child(3) { display: none; }
  .ap.fit-5 .ap-found-check { margin-top: 6px; font-size: 12.5px; }
}
.is-measuring .ap-step.is-active:not(.is-measure) { display: none; }
.is-measuring .ap-step.is-measure { display: block; animation: none; }
@media (min-width: 961px) {
  .ap-amount { display: none; }
}
@media (min-width: 961px) and (max-width: 1120px) {
  .ap-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
  .ap-card { padding-left: 36px; padding-right: 36px; }
}
@media (min-width: 641px) {
  .ap .ap-q-row > .ap-q { margin-top: 0 !important; }
}
@media (min-width: 641px) {
  .ap-q-row { column-gap: 32px; }
  .ap-q-trading { flex: 1 1 470px; }
  .ap-chip { padding-left: 16px; padding-right: 16px; }
}

/* Answer buttons in even rows: no lonely button on its own line */
.ap-chips[data-field="amount"], .ap-chips[data-field="revenue"], .ap-chips[data-field="trading"] { display: grid; }
.ap-chips[data-field="amount"] .ap-chip, .ap-chips[data-field="revenue"] .ap-chip, .ap-chips[data-field="trading"] .ap-chip { justify-content: center; white-space: nowrap; }
@media (min-width: 641px) {
  .ap-chips[data-field="amount"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ap-chips[data-field="revenue"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ap-chips[data-field="trading"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ap-chips[data-field="revenue"] .ap-chip, .ap-chips[data-field="trading"] .ap-chip { padding-left: 8px; padding-right: 8px; }
  .ap-exact { max-width: calc((100% - 20px) / 3); min-width: 220px; }
}
@media (min-width: 641px) and (max-width: 1120px) {
  .ap-chips[data-field="revenue"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ap-chips[data-field="amount"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
@media (min-width: 641px) {
  .ap-step[data-step="5"] .ap-chip { padding-top: 10px; padding-bottom: 10px; }
  .ap-step[data-step="5"] .ap-q + .ap-q { margin-top: 22px; }
  .ap-hint { margin-top: 8px; }
}
@media (min-width: 641px) {
  .ap-step[data-step="5"] .ap-q { display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: 24px; align-items: center; }
  .ap-step[data-step="5"] .ap-q > .label { margin: 0; line-height: 1.45; }
  .ap-step[data-step="5"] .ap-q > .ap-hint { grid-column: 2; }
  .ap-step[data-step="5"] .ap-q + .ap-q { margin-top: 0; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--v-hair); }
  .ap-chips[data-field="homeowner"] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ap-chips[data-field="homeowner"] .ap-chip { justify-content: center; }
}
@media (min-width: 641px) and (max-width: 1120px) {
  .ap-step[data-step="5"] .ap-q { grid-template-columns: 150px minmax(0, 1fr); column-gap: 18px; }
  .ap-chips[data-field="trading"] { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .ap-chips[data-field="trading"] .ap-chip { font-size: 14px; padding-left: 4px; padding-right: 4px; }
  .ap-chips[data-field="homeowner"] { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
}
@media (max-width: 640px) {
  .ap-chips[data-field="trading"], .ap-chips[data-field="homeowner"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Companies House eligibility check */
.ap-found-check { margin: 10px 0 0; font-size: 13.5px; color: var(--v-slate); display: flex; align-items: center; gap: 8px; }
.ap-found-check:empty { display: none; }
.ap-found-check.is-pending::before { content: ''; width: 12px; height: 12px; border: 2px solid var(--v-hair); border-top-color: var(--v-accent); border-radius: 50%; animation: apSpin 0.7s linear infinite; flex-shrink: 0; }
.ap-found-check.is-ok { color: var(--v-accent); font-weight: 500; }
.ap-found-check.is-ok::before { content: ''; width: 14px; height: 14px; background: var(--ap-tick-blue) center / 14px no-repeat; flex-shrink: 0; }
.ap-stop-ico svg { display: none; }
.ap-stop[data-reason="sole"] .ap-stop-ico-sole, .ap-stop[data-reason="young"] .ap-stop-ico-young, .ap-stop[data-reason="dormant"] .ap-stop-ico-dormant, .ap-stop[data-reason="inactive"] .ap-stop-ico-inactive { display: block; }
.ap-nav #ap-next:disabled { opacity: 0.75; cursor: progress; }

/* ═══ Ad landing pages ═══════════════════════════════════════════════════ */
.header-landing .logo { display: flex; align-items: center; }
.lp-trust { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--primary); }
.lp-trust svg { color: var(--secondary); flex-shrink: 0; }
.lp-legal { display: inline-flex; gap: 14px; margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--border); }
.lp-legal a { font-weight: 500; font-size: 13px; color: var(--text-light, #6b7280); text-decoration: none; }
.lp-legal a:hover { color: var(--secondary); text-decoration: underline; }
.ap-intro { grid-column: 1 / -1; margin: 0 0 22px; padding-left: 14px; border-left: 3px solid var(--v-accent); font-size: 16px; line-height: 1.55; color: var(--v-ink); max-width: 78ch; }
.ap.fit-2 .ap-intro { margin-bottom: 16px; }
.ap.fit-4 .ap-intro { display: none; }
@media (max-width: 960px) {
  .ap-intro { order: -2; margin-bottom: 0; }
}
@media (max-width: 640px) {
  .lp-trust > span:first-of-type { display: none; }
  .lp-legal { margin-left: 4px; padding-left: 10px; gap: 12px; }
  .ap-intro { font-size: 14px; padding-left: 12px; }
  .ap.fit-3 .ap-intro { display: none; }
}

.lp-ty { min-height: calc(100vh - 80px); min-height: calc(100dvh - 80px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: var(--v-paper, #f5f8fd); }
.lp-ty-card { width: 100%; max-width: 620px; background: #fff; border: 1px solid var(--v-hair); border-radius: 26px; padding: 52px 48px 44px; text-align: center; box-shadow: 0 30px 60px -48px rgba(11,27,43,0.45); }
.lp-ty-icon { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background: var(--v-accent); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 32px -16px rgba(37,99,235,0.7); }
.lp-ty-eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--secondary); margin-bottom: 10px; }
.lp-ty-card h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--text); margin-bottom: 14px; }
.lp-ty-lead { font-size: 16.5px; color: var(--v-slate); line-height: 1.6; margin: 0 auto 30px; max-width: 46ch; }
.lp-ty-steps { list-style: none; counter-reset: lp; margin: 0 0 30px; padding: 0; text-align: left; display: grid; gap: 12px; }
.lp-ty-steps li { counter-increment: lp; position: relative; padding: 14px 18px 14px 58px; border: 1px solid var(--v-hair); border-radius: 14px; font-size: 15px; line-height: 1.5; color: var(--v-slate); }
.lp-ty-steps li::before { content: counter(lp); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: rgba(37,99,235,0.08); color: var(--v-accent); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.lp-ty-steps strong { display: block; color: var(--v-ink); font-weight: 600; }
.lp-ty-link { font-size: 14px; font-weight: 600; color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .lp-ty { min-height: calc(100vh - 64px); min-height: calc(100dvh - 64px); }
}
@media (max-width: 640px) {
  .lp-ty { padding: 20px 16px; align-items: flex-start; }
  .lp-ty-card { padding: 34px 20px 28px; border-radius: 20px; }
  .lp-ty-icon { width: 60px; height: 60px; margin-bottom: 16px; }
  .lp-ty-icon svg { width: 32px; height: 32px; }
  .lp-ty-lead { font-size: 15px; margin-bottom: 22px; }
  .lp-ty-steps li { padding: 12px 14px 12px 52px; font-size: 14px; }
}

/* The ad intro line is for the first screen only */
.ap:not(.on-first) .ap-intro { display: none; }
@media (min-width: 961px) {
  .bd-landing .ap-grid { row-gap: 0; }
  .ap-intro { margin-bottom: 18px; max-width: none; }
}

/* Phones with room to spare: answer buttons grow a little with the screen
   height. Short phones keep the current sizes, and the fit stages still
   tighten things if a step would not fit. */
@media (max-width: 640px) {
  .ap-tiles, .ap-pills { gap: clamp(8px, calc(8px + (100vh - 700px) * 0.02), 12px); gap: clamp(8px, calc(8px + (100svh - 700px) * 0.02), 12px); }
  .ap-tile { padding-top: clamp(14px, calc(14px + (100vh - 700px) * 0.045), 21px); padding-bottom: clamp(14px, calc(14px + (100vh - 700px) * 0.045), 21px); }
  .ap-tile { padding-top: clamp(14px, calc(14px + (100svh - 700px) * 0.045), 21px); padding-bottom: clamp(14px, calc(14px + (100svh - 700px) * 0.045), 21px); }
  .ap-pill { padding-top: clamp(13px, calc(13px + (100vh - 700px) * 0.04), 19px); padding-bottom: clamp(13px, calc(13px + (100vh - 700px) * 0.04), 19px); }
  .ap-pill { padding-top: clamp(13px, calc(13px + (100svh - 700px) * 0.04), 19px); padding-bottom: clamp(13px, calc(13px + (100svh - 700px) * 0.04), 19px); }
  .ap-chips { gap: clamp(7px, calc(7px + (100vh - 700px) * 0.02), 11px); gap: clamp(7px, calc(7px + (100svh - 700px) * 0.02), 11px); }
  .ap-chips .ap-chip { padding-top: clamp(10px, calc(10px + (100vh - 700px) * 0.03), 15px); padding-bottom: clamp(10px, calc(10px + (100vh - 700px) * 0.03), 15px); }
  .ap-chips .ap-chip { padding-top: clamp(10px, calc(10px + (100svh - 700px) * 0.03), 15px); padding-bottom: clamp(10px, calc(10px + (100svh - 700px) * 0.03), 15px); }
  .ap-q + .ap-q { margin-top: clamp(16px, calc(16px + (100vh - 700px) * 0.05), 24px); margin-top: clamp(16px, calc(16px + (100svh - 700px) * 0.05), 24px); }
}
@media (max-width: 640px) {
  .ap.fit-4 .ap-stop-ico { display: none; }
  .ap.fit-4 .ap-stop .ap-h { font-size: 22px; margin-bottom: 12px; }
  .ap.fit-5 .ap-stop .ap-sub { font-size: 14px; line-height: 1.45; margin-bottom: 10px; }
  .ap.fit-5 .ap-stop-actions { gap: 8px; }
}
.ap-step.is-leaving { pointer-events: none; }

/* ═══ Phones and tablets: the form sits in the normal page ════════════════
   Fixed full-screen panels fight the phone keyboard (fields jump, the bottom
   bar drifts). Here the form is ordinary page content, sized to the screen,
   and the browser scrolls to fields the way it does on any website. */
@media (max-width: 960px), (pointer: coarse) {
  body.bd-apply { overflow: visible; }
  body.bd-apply .ap { position: relative; top: auto; right: auto; bottom: auto; left: auto; overflow: visible; min-height: calc(100vh - var(--ap-top, 64px)); padding-bottom: calc(var(--ap-bar, 72px) + 12px) !important; }
  @supports (height: 100svh) {
    body.bd-apply .ap { min-height: calc(100svh - var(--ap-top, 64px)); }
  }
  body.bd-apply.ap-typing .ap { padding-bottom: 100vh !important; }
  body.bd-apply.ap-typing .ap-nav { visibility: hidden; }
  .ap .form-err { scroll-margin-bottom: calc(var(--ap-bar, 72px) + 12px); scroll-margin-top: calc(var(--ap-top, 64px) + 12px); }
  .ap input, .ap textarea { scroll-margin-top: calc(var(--ap-top, 64px) + 40px); }
  .form-input, .exit-input, .ap .input { font-size: 16px; }
}
@media (min-width: 961px) and (pointer: coarse) {
  .ap-ledger { top: calc(var(--ap-top, 80px) + 16px); }
}
@media (max-width: 640px) {
  .lp-trust svg { display: none; }
  .lp-legal { margin-left: 0; padding-left: 0; border-left: 0; }
}

/* Company results: no text-selection boxes or tap flashes while scrolling */
.ap-co-list { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; overscroll-behavior: contain; }
.ap-opt { -webkit-tap-highlight-color: transparent; }
@media (max-width: 960px), (pointer: coarse) {
  .ap-co-list { position: absolute; left: 0; right: 0; top: auto; margin-top: 8px; z-index: 30; -webkit-overflow-scrolling: touch; }
}
.ap-co-list:not([hidden]) + .ap-co-msg { opacity: 0; }
