/* ================================================
   FONTS (self-hosted brand face: Poppins, SIL OFL)
   ================================================ */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/poppins-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/poppins-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/poppins-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/poppins-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/poppins-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/poppins-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ================================================
   RESET & BASE
   ================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif; color: #15231f; background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ================================================
   CSS VARIABLES
   ================================================ */
:root {
  --navy: #0c2a24;
  --navy-mid: #12352d;
  --navy-light: #1a4a3e;
  --gold: #f4b414;
  --gold-light: #f6c343;
  --white: #ffffff;
  --off-white: #f5f8f6;
  --border: #dfe7e3;
  --border-strong: #c4d3cc;
  --label-bg: #e9f1ed;
  --text-muted: #4f5e59;
  --text-dark: #15231f;
  --green: #15803d;
  --red: #dc2626;
  --amber: #d97706;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
}

/* ================================================
   TYPOGRAPHY
   ================================================ */
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--text-muted); line-height: 1.75; }

/* ================================================
   LAYOUT UTILITIES
   ================================================ */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sector-grid { align-items: stretch; gap: 28px; }
.sector-grid .sector-art { height: 220px; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
.text-muted { color: var(--text-muted) !important; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mt-8 { margin-top: 8px; }
.mt-24 { margin-top: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.tag { display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.tag-gold { background: rgba(244,180,20,0.15); color: var(--gold); border: 1px solid rgba(244,180,20,0.3); }
.tag-navy { background: rgba(12,42,36,0.08); color: var(--navy); }
.tag-green { background: rgba(22,163,74,0.1); color: var(--green); }

/* ================================================
   BUTTONS
   ================================================ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.2s; border: none; white-space: nowrap; }
.btn-primary { background: var(--gold); color: var(--navy); border: 2px solid var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(244,180,20,0.35); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ================================================
   CARDS
   ================================================ */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); padding: 28px; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.card-navy p { color: rgba(255,255,255,0.8); }
.card-gold-border { border-top: 3px solid var(--gold); }

/* ================================================
   NAVBAR
   ================================================ */
.site-header { position: sticky; top: 0; z-index: 1000; }
#navbar {
  position: relative;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  transition: all 0.3s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.nav-logo-img { display: block; height: 34px; width: auto; }
.nav-logo-sub { font-size: 10px; color: var(--gold); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 9px; border-radius: 6px; font-size: 13.5px; white-space: nowrap; font-weight: 500; color: rgba(255,255,255,0.85); cursor: pointer; transition: all 0.2s; }
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-link.active { color: var(--gold); }
.nav-cta { white-space: nowrap; margin-left: 8px; padding: 8px 18px; background: var(--gold); color: var(--navy); border-radius: 7px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.nav-cta:hover { background: var(--gold-light); }
.nav-burger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* ================================================
   PAGE SYSTEM
   ================================================ */
.page { display: none; }
.mobile-menu { display: none; }
.page.active { display: block; }

/* ================================================
   HERO
   ================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1f5a4a 100%);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(244,180,20,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(244,180,20,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--gold); }
.hero-lead { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 36px; max-width: 520px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.1); border-radius: var(--radius); overflow: hidden; }
.hero-stat { background: rgba(255,255,255,0.06); padding: 20px 12px; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.hero-stat-val { font-size: clamp(18px, 1.9vw, 26px); line-height: 1.2; font-weight: 900; color: var(--gold); white-space: nowrap; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.8); margin-top: 2px; }
.hero-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 24px 28px; backdrop-filter: blur(10px); }
.hero-side { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; }
/* Top-align both hero columns and drop the photo level with the headline, below the tag */
.hero-grid { align-items: start; }
@media (min-width: 901px) { .hero-side { margin-top: 44px; } }
.hero-art { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.12); }
.hero-art svg { display: block; width: 100%; height: auto; aspect-ratio: 560 / 380; }
.hero-art::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); }
.hero-card-rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.hero-card-rows .hero-card-row { flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 0; }
.hero-card-rows .hero-card-row:last-child { border-bottom: none; }
.hero-card-rows .hero-card-row:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.hero-card-rows .hero-card-row:last-child:nth-child(odd) { grid-column: 1 / -1; }
.hero-card-rows .hero-card-val { font-size: 13px; }
.sector-art { margin: -28px -28px 18px; height: 180px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.sector-art svg { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .hero-card-rows { grid-template-columns: 1fr; } .hero-card-rows .hero-card-row:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,0.08); } }
.hero-card-title { font-size: 13px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.hero-card-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.hero-card-row:last-child { border-bottom: none; }
.hero-card-key { font-size: 13px; color: rgba(255,255,255,0.8); }
.hero-card-val { font-size: 14px; font-weight: 700; color: var(--white); }

/* ================================================
   COMPARISON BAND
   ================================================ */
.compare-band { background: var(--off-white); padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.compare-inner { display: flex; align-items: center; gap: 24px; overflow-x: auto; }
.compare-label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.compare-item { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.compare-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.compare-name { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.compare-rate { font-size: 13px; color: var(--text-muted); }
.compare-sep { color: var(--border); }

/* ================================================
   SECTION HEADERS
   ================================================ */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { color: var(--navy); margin-bottom: 12px; }
.section-header p { max-width: 540px; margin: 0 auto; font-size: 16px; }

/* ================================================
   WHY US
   ================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); transition: all 0.2s; }
.why-card:hover { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244,180,20,0.1); }
.why-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.why-card h3 { color: var(--navy); margin-bottom: 8px; }

/* ================================================
   PRODUCT TABLE
   ================================================ */
.product-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border-strong); border-top: 4px solid var(--gold); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.product-table th { background: var(--navy); color: var(--white); padding: 14px 20px; text-align: left; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; }
.product-table td { padding: 15px 20px; border-bottom: 1px solid var(--border-strong); font-size: 14px; vertical-align: middle; transition: background 0.15s; }
.product-table tr:last-child td { border-bottom: none; }
.product-table td:first-child { width: 30%; font-weight: 700; color: var(--navy); background: var(--label-bg); border-right: 1px solid var(--border-strong); box-shadow: inset 4px 0 0 var(--navy-light); }
.product-table td:nth-child(2) { font-weight: 600; color: var(--text-dark); font-size: 15px; }
.product-table td:last-child { color: var(--text-muted); font-size: 13px; border-left: 1px dashed var(--border-strong); }
.product-table tr:hover td { background: #fff8e5; }
.product-table tr:hover td:first-child { background: #fdedc0; box-shadow: inset 4px 0 0 var(--gold); }

/* ================================================
   COMPETITOR COMPARE
   ================================================ */
.comp-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.comp-table th { padding: 16px 18px; font-size: 13px; font-weight: 700; text-align: left; }
.comp-table th:first-child { background: var(--off-white); color: var(--text-muted); }
.comp-table th.alpha { background: var(--navy); color: var(--white); }
.comp-table th.competitor1 { background: #3d6b5e; color: var(--white); }
.comp-table th.competitor2 { background: #2a5a4d; color: var(--white); }
.comp-table td { padding: 14px 18px; border-bottom: 1px solid var(--border-strong); font-size: 13px; }
.comp-table td + td { border-left: 1px solid var(--border); }
.comp-table td:first-child { font-weight: 700; color: var(--navy); background: var(--label-bg); border-right: 1px solid var(--border-strong); }
.comp-table tr:hover td { background: #fff8e5; }
.comp-table tr:last-child td { border-bottom: none; }
.check { color: var(--green); font-weight: 700; }
.cross { color: var(--red); }
.neutral { color: var(--text-muted); }
.highlight-col { background: #fff6dc; font-weight: 700; border-left: 2px solid var(--gold) !important; border-right: 2px solid var(--gold); }
.comp-table th.alpha { box-shadow: inset 0 -4px 0 var(--gold); }

/* ================================================
   PROCESS STEPS
   ================================================ */
.steps { counter-reset: step; }
.step { display: flex; gap: 24px; margin-bottom: 40px; }
.step:last-child { margin-bottom: 0; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-body h3 { color: var(--navy); margin-bottom: 6px; }
.step-body p { margin: 0; }

/* ================================================
   STATS BAR
   ================================================ */
.stats-bar { background: linear-gradient(135deg, var(--navy), var(--navy-light)); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 16px; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-val { font-size: 36px; font-weight: 900; color: var(--gold); }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.8); margin-top: 4px; }

/* ================================================
   BROKER SECTION
   ================================================ */
.broker-hero { background: linear-gradient(135deg, var(--navy), #1f5a4a); padding: 80px 0; }
.broker-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(244,180,20,0.15); border: 1px solid rgba(244,180,20,0.3); border-radius: 20px; padding: 6px 16px; margin-bottom: 20px; }
.broker-badge span { font-size: 12px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.5px; }
.proc-table { width: 100%; border-collapse: collapse; }
.proc-table th { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); padding: 10px 16px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; text-align: left; }
.proc-table td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); font-size: 14px; }
.proc-table tr:last-child td { border-bottom: none; }
.proc-table td:first-child { font-weight: 600; color: var(--white); }

/* ================================================
   CREDIT ENGINE EMBED
   ================================================ */
.engine-hero { background: linear-gradient(135deg, #081d19 0%, var(--navy) 100%); padding: 60px 0 0; }
.engine-frame { width: 100%; height: 900px; border: none; border-radius: var(--radius) var(--radius) 0 0; box-shadow: var(--shadow-lg); display: block; }

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonial { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: relative; }
.testimonial::before { content: '"'; font-size: 80px; color: var(--gold); opacity: 0.3; position: absolute; top: -10px; left: 20px; font-family: var(--font-display); line-height: 1; }
.testimonial-text { font-size: 15px; color: var(--text-dark); line-height: 1.7; margin-bottom: 16px; position: relative; z-index: 1; }
.testimonial-author { font-size: 13px; font-weight: 700; color: var(--navy); }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ================================================
   FAQs
   ================================================ */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 18px 24px; font-weight: 600; font-size: 15px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--navy); background: var(--white); transition: background 0.2s; }
.faq-q:hover { background: var(--off-white); }
.faq-q.open { background: var(--navy); color: var(--white); }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.3s ease; font-size: 14px; color: var(--text-muted); line-height: 1.75; }
.faq-a.open { padding: 16px 24px; max-height: 800px; }
.faq-icon { font-size: 20px; font-weight: 300; flex-shrink: 0; }

/* ================================================
   CONTACT
   ================================================ */
.contact-card { background: var(--navy); border-radius: var(--radius); padding: 40px; color: var(--white); }
.contact-card h3 { color: var(--white); margin-bottom: 6px; }
.contact-info { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.contact-row { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.85); }
.contact-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; color: var(--text-dark); background: var(--white); transition: border-color 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); }
.form-field textarea { min-height: 100px; resize: vertical; }
.form-field input[type="file"] { padding: 10px; background: #fafbfa; border-style: dashed; cursor: pointer; }
.doc-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.doc-list { list-style: none; margin: 8px 0 0; padding: 0; }
.doc-list li { font-size: 12px; color: var(--navy); padding: 6px 10px; background: rgba(12,42,36,0.05); border-radius: 6px; margin-top: 4px; display: flex; justify-content: space-between; gap: 10px; }
.doc-list li.bad { background: #fef2f2; color: #b91c1c; }
.contact-case-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.doc-reminder-col { position: sticky; top: 96px; }
.doc-reminder { background: var(--off-white); }
@media (max-width: 900px) { .contact-case-grid { grid-template-columns: 1fr; } .doc-reminder-col { position: static; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card h3 { color: var(--navy); margin-bottom: 10px; }
.blog-card p { font-size: 13px; }
.article-body { max-width: 780px; margin: 0 auto; }
.article-body h2 { color: var(--navy); margin: 28px 0 10px; font-size: 1.35rem; }
.article-body p { margin-bottom: 14px; font-size: 15px; }

/* ================================================
   LEGAL PAGES
   ================================================ */
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 { font-size: 1.4rem; color: var(--navy); margin: 32px 0 12px; }
.legal-body h3 { font-size: 1.1rem; color: var(--navy); margin: 20px 0 8px; }
.legal-body p { margin-bottom: 14px; font-size: 14px; }
.legal-body ul { padding-left: 20px; margin-bottom: 14px; }
.legal-body li { font-size: 14px; color: var(--text-muted); margin-bottom: 6px; line-height: 1.6; }
.legal-hero { background: var(--navy); padding: 48px 0; }
.fca-box { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 24px; }
.fca-box-title { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.fca-box p { margin: 0; font-size: 13px; }

/* ================================================
   FOOTER
   ================================================ */
.footer { background: var(--navy); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { margin-bottom: 8px; }
.footer-logo img { display: block; height: 40px; width: auto; }
.footer-tagline { font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.7; }
.footer-col h4 { color: rgba(255,255,255,0.75); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px; }
.footer-link { display: block; font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 8px; cursor: pointer; transition: color 0.2s; }
.footer-link:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-legal { font-size: 11.5px; color: rgba(255,255,255,0.75); line-height: 1.7; max-width: 700px; }
.footer-fca { font-size: 11px; color: rgba(255,255,255,0.75); margin-top: 6px; }

/* ================================================
   PAYMENTSNOOZE
   ================================================ */
.flexflo-section { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); }
.ff-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 28px; }
.ff-card h3 { color: var(--white); margin-bottom: 8px; }
.ff-card p { color: rgba(255,255,255,0.8); font-size: 14px; margin: 0; }
.ff-card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.ff-example { margin-top: 32px; background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); }
.ff-example-light { border: 1px solid var(--border); box-shadow: var(--shadow); }
.ff-example-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.ff-example-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.ff-example-title { font-size: 17px; font-weight: 700; color: var(--navy); }
.ff-example-cost { font-size: 14px; color: var(--text-muted); }
.ff-example-cost strong { color: var(--navy); font-size: 18px; }
.ff-example-note { font-size: 13px; margin: 16px 0 0; }
.ff-timeline { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 6px; }
.ff-month { min-width: 0; background: var(--off-white); border: 1px solid var(--border); border-radius: 8px; padding: 10px 4px; text-align: center; font-size: 12px; color: var(--text-dark); overflow-wrap: anywhere; }
.ff-month b { display: block; font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.ff-snooze { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 700; }
.ff-snooze b { color: var(--navy); }
.ff-spread { background: #fff6dc; border-color: #f0d58a; font-weight: 700; color: var(--navy); }
.ff-end { background: var(--white); border: 2px dashed var(--navy-light); font-weight: 700; color: var(--navy); }
.ff-detail { margin-bottom: 20px; }
.ff-rules { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ff-rules li { font-size: 14px; color: rgba(255,255,255,0.85); padding-left: 22px; position: relative; }
.ff-rules li::before { content: '⏸'; position: absolute; left: 0; color: var(--gold); font-size: 12px; top: 2px; }
.ff-rules strong { color: var(--gold); }
.ff-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ff-chips span { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 6px 12px; font-size: 13px; color: var(--navy); font-weight: 600; }
.tier-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; background: var(--white); }
.tier-table th { background: var(--navy); color: var(--white); padding: 12px 14px; text-align: left; font-weight: 600; box-shadow: inset 0 -3px 0 var(--gold); }
.tier-table td { padding: 12px 14px; border-bottom: 1px solid var(--border-strong); }
.tier-table td + td { border-left: 1px solid var(--border); }
.tier-table tbody tr:nth-child(even) td { background: var(--off-white); }
.tier-table td:first-child { font-weight: 700; color: var(--navy); background: var(--label-bg); }
.tier-table tbody tr:last-child td { border-bottom: none; }
.tier-table tbody tr:hover td { background: #fff8e5; }
.ff-example .tier-table { border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; }
.sector-uses { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sector-uses li { font-size: 13px; padding-left: 18px; position: relative; }
.sector-uses li::before { content: '•'; position: absolute; left: 4px; color: var(--gold); font-weight: 700; }
.refi-box { margin-top: 32px; padding: 32px; border-radius: var(--radius); background: linear-gradient(135deg, var(--navy), var(--navy-light)); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.refi-box > div { flex: 1 1 480px; }
@media (max-width: 820px) {
  .ff-timeline { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .calc-toggle { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .ff-example { padding: 20px 16px; }
  .ff-timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ff-month { font-size: 13px; }
}
@media (max-width: 360px) {
  .ff-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ================================================
   WHO WE BACK
   ================================================ */
.sme-art { position: relative; align-self: stretch; min-height: 380px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.sme-art svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
@media (max-width: 900px) {
  .sme-art { min-height: 0; aspect-ratio: 540 / 440; }
}
.sme-art::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); }
.sme-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.sme-list li { display: flex; gap: 10px; font-size: 15px; color: var(--text-dark); }
.sme-list li::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* ================================================
   NOTIFICATION STRIP
   ================================================ */
.notice-strip { background: linear-gradient(90deg, var(--gold), #d99d0a); padding: 10px 0; text-align: center; }
.notice-strip p { color: var(--navy); font-size: 13px; font-weight: 600; margin: 0; }

/* ================================================
   COOKIE BANNER
   ================================================ */
#cookieBanner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy); border-top: 3px solid var(--gold); padding: 16px 24px; z-index: 2000; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
#cookieBanner p { color: rgba(255,255,255,0.85); font-size: 13px; margin: 0; flex: 1; min-width: 200px; }
#cookieBanner p a { color: var(--gold); text-decoration: underline; cursor: pointer; }
.text-link { color: var(--navy); font-weight: 600; text-decoration: underline; cursor: pointer; }
.contact-card .text-link { color: inherit; font-weight: inherit; text-decoration: none; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .tier-table { min-width: 680px; }
.cookie-btns { display: flex; gap: 10px; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1140px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu { display: none; }
  .mobile-menu.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-mid); padding: 16px; z-index: 999; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .mobile-link { display: block; padding: 12px 16px; color: rgba(255,255,255,0.85); font-size: 15px; cursor: pointer; border-radius: 6px; }
  .mobile-link:hover { background: rgba(255,255,255,0.08); color: var(--white); }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.6s ease forwards; }

/* ================================================
   REPAYMENT CALCULATOR
   ================================================ */
.calc-section { background: var(--off-white); }
.calc-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; }
.calc-controls { padding: 36px; }
.calc-results { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: var(--white); padding: 36px; display: flex; flex-direction: column; }
.calc-field { margin-bottom: 28px; }
.calc-field-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.calc-field-label { font-size: 14px; font-weight: 600; color: var(--navy); }
.calc-field-val { font-size: 20px; font-weight: 800; color: var(--navy); }
.calc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 4px; background: var(--border); outline: none; }
.calc-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); cursor: pointer; border: 3px solid var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.calc-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); cursor: pointer; border: 3px solid var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.calc-range:focus-visible { box-shadow: 0 0 0 3px rgba(244,180,20,0.4); }
[role="button"]:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.calc-minmax { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); margin-top: 6px; }
.calc-toggle { display: flex; gap: 8px; background: var(--off-white); padding: 4px; border-radius: 10px; border: 1px solid var(--border); }
.calc-toggle button { flex: 1; padding: 10px; border: none; background: transparent; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all 0.2s; }
.calc-toggle button.active { background: var(--navy); color: var(--white); }
.calc-toggle button:disabled { opacity: 0.4; cursor: not-allowed; }
.calc-result-label { font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 6px; }
.calc-result-big { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 900; color: var(--white); line-height: 1.1; }
.calc-result-sub { font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.calc-breakdown { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 18px; margin-top: auto; }
.calc-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; }
.calc-row span:first-child { color: rgba(255,255,255,0.8); }
.calc-row span:last-child { font-weight: 700; color: var(--white); }
.calc-disclaimer { font-size: 11px; color: rgba(255,255,255,0.75); line-height: 1.5; margin-top: 16px; }
@media (max-width: 820px) { .calc-wrap { grid-template-columns: 1fr; } }
.calc-wrap > * { min-width: 0; }
@media (max-width: 600px) {
  .calc-controls, .calc-results { padding: 24px 18px; }
  .calc-field-head { flex-wrap: wrap; gap: 4px 12px; }
  .calc-field-val { font-size: 18px; }
  .calc-toggle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .calc-toggle button { padding: 10px 4px; }
  .calc-row { gap: 12px; }
  .calc-row span:last-child { text-align: right; white-space: nowrap; }
}

/* ================================================
   TRUST BAR
   ================================================ */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 24px 0; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.trust-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--off-white); border: 1px solid var(--border); border-radius: 30px; font-size: 13px; font-weight: 600; color: var(--navy); }
.trust-chip span:first-child { font-size: 16px; }

/* ================================================
   REASSURANCE MICROCOPY
   ================================================ */
.reassure { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.8); margin-top: -36px; margin-bottom: 36px; }
.reassure-dark { color: var(--text-muted); }
.reassure .dot { color: var(--green); font-weight: 700; }

/* ================================================
   MINI STEPS (how it works)
   ================================================ */
.mini-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .mini-steps { grid-template-columns: 1fr 1fr; } }
.mini-step { text-align: center; padding: 28px 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); position: relative; }
.mini-step-num { width: 40px; height: 40px; margin: 0 auto 14px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.mini-step h4 { color: var(--navy); margin-bottom: 6px; }
.mini-step p { font-size: 13px; margin: 0; }
@media (max-width: 700px) { .mini-steps { grid-template-columns: 1fr; } }

/* ================================================
   FORM SUCCESS / ERROR MESSAGES
   ================================================ */
.form-msg { padding: 14px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; margin-top: 14px; display: none; }
.form-msg.show { display: block; }
.form-msg.success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #065f46; }
.form-msg.error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }

/* ================================================
   BACK TO TOP
   ================================================ */
#backTop { position: fixed; bottom: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold); border: 1px solid rgba(255,255,255,0.15); font-size: 20px; cursor: pointer; display: none; align-items: center; justify-content: center; z-index: 1500; box-shadow: var(--shadow-lg); transition: all 0.2s; }
#backTop:hover { background: var(--navy-light); transform: translateY(-2px); }
#backTop.show { display: flex; }

/* ================================================
   2026 REFRESH LAYER
   Same palette and structure; modern type, softer
   geometry, glass navigation and calmer motion.
   ================================================ */
:root {
  --font-display: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-body: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-accent: 'Geist', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(12,42,36,0.04), 0 6px 20px -6px rgba(12,42,36,0.10);
  --shadow-lg: 0 2px 4px rgba(12,42,36,0.04), 0 24px 60px -18px rgba(12,42,36,0.28);
  --ease: cubic-bezier(.2,.7,.2,1);
}
body { font-family: var(--font-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; letter-spacing: -0.005em; }
::selection { background: var(--gold); color: var(--navy); }
h1, h2, h3, h4, .stat-val, .hero-stat-val, .calc-result-big, .calc-field-val, .step-num, .mini-step-num, .ff-example-title { font-family: var(--font-display); font-optical-sizing: auto; }
h1 { font-weight: 700; letter-spacing: -0.04em; line-height: 1.04; text-wrap: balance; }
h2 { font-weight: 650; letter-spacing: -0.035em; line-height: 1.1; text-wrap: balance; }
h3 { font-weight: 600; letter-spacing: -0.02em; }
h4 { font-weight: 600; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
.hero h1 span { font-weight: 700; }
.stat-val, .hero-stat-val, .calc-result-big, .calc-field-val, .calc-row span:last-child, .ff-month, .tier-table td, .product-table td { font-variant-numeric: tabular-nums; }
.stat-val, .hero-stat-val, .calc-result-big { font-weight: 700; letter-spacing: -0.04em; }

/* Eyebrow tags */
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent); flex-shrink: 0; }
.tag-gold { background: rgba(244,180,20,0.10); border-color: rgba(244,180,20,0.28); }
.section .tag-gold, .section-sm .tag-gold, .calc-section .tag-gold { color: #8a6100; background: rgba(244,180,20,0.12); }
.hero .tag-gold, .refi-box .tag-gold, .flexflo-section .tag-gold, .broker-hero .tag-gold, .legal-hero .tag-gold, .engine-hero .tag-gold, .stats-bar .tag-gold, .card-navy .tag-gold { color: var(--gold); }

/* Buttons: pill shape, gentle lift */
.btn { border-radius: 999px; padding: 14px 26px; font-weight: 600; letter-spacing: -0.005em; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s; }
.btn-sm { padding: 9px 18px; }
.btn-primary { box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 1px 2px rgba(12,42,36,0.12); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 10px 28px -8px rgba(244,180,20,0.6); }
.btn-secondary { border: 1.5px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.04); backdrop-filter: blur(8px); }
.btn-outline { border-width: 1.5px; }
.btn:active { transform: translateY(0) scale(.98); }

/* Glass navigation */
#navbar { background: rgba(6,26,22,0.9); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); box-shadow: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-inner { height: 72px; }
.nav-links { gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); }
.nav-link { border-radius: 999px; padding: 7px 11px; font-size: 13.5px; color: rgba(255,255,255,0.8); }
.nav-link:hover { background: rgba(255,255,255,0.08); }
.nav-link.active { color: var(--gold); background: rgba(255,255,255,0.10); }
.nav-cta { border-radius: 999px; padding: 8px 16px; margin-left: 6px; font-weight: 600; }
.nav-logo-sub { font-weight: 500; letter-spacing: 0.18em; font-size: 9.5px; }
.mobile-menu.open { -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); background: rgba(18,53,45,0.96); border-radius: 0 0 20px 20px; }
.mobile-link { border-radius: 12px; }

/* Hero: fine grid texture + softer glow */
.hero { background: radial-gradient(1200px 600px at 85% -10%, rgba(244,180,20,0.14), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(31,90,74,0.9), transparent 60%), var(--navy); padding: 72px 0 96px; }
.hero::before { inset: 0; top: 0; right: 0; width: auto; height: auto; border-radius: 0; background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%); pointer-events: none; }
.hero::after { display: none; }
.hero-lead { font-size: 17.5px; color: rgba(255,255,255,0.8); }
.hero-stats { gap: 0; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius); }
.hero-stat { background: transparent; padding: 22px 12px; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(255,255,255,0.08); }
.hero-stat-label { font-size: 11.5px; color: rgba(255,255,255,0.75); letter-spacing: .01em; }
.hero-card { background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)); border: 1px solid rgba(255,255,255,0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 30px 60px -30px rgba(0,0,0,0.5); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.hero-card-title { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; }
.hero-card-key { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,0.75); }
.hero-card-val { font-weight: 600; }
.hero-art, .sme-art { border-radius: var(--radius); }
.hero-art::after, .sme-art::after { height: 3px; }
@media (max-width: 900px) { .hero-stat:nth-child(3) { border-left: none; } .hero-stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.08); } }

/* Trust chips: swap emoji for a clean gold check */
.trust-bar { padding: 22px 0; }
.trust-chip { background: var(--white); border-radius: 999px; padding: 9px 16px 9px 12px; font-weight: 500; font-size: 13px; box-shadow: 0 1px 2px rgba(12,42,36,0.04); }
.trust-chip span:first-child { font-size: 0; width: 18px; height: 18px; border-radius: 50%; background: rgba(244,180,20,0.18); display: inline-flex; align-items: center; justify-content: center; }
.trust-chip span:first-child::before { content: ''; width: 8px; height: 4px; border-left: 2px solid #8a6100; border-bottom: 2px solid #8a6100; transform: translateY(-1px) rotate(-45deg); }

/* Cards & surfaces */
.card, .why-card, .mini-step, .testimonial, .faq-item, .ff-card, .ff-example, .calc-wrap, .contact-card, .fca-box, .refi-box { border-radius: var(--radius); }
.card { box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-card { background: linear-gradient(180deg, var(--white), var(--off-white)); transition: border-color .25s, box-shadow .35s var(--ease), transform .35s var(--ease); }
.why-card:hover { transform: translateY(-3px); border-color: rgba(244,180,20,0.6); box-shadow: 0 0 0 4px rgba(244,180,20,0.08), var(--shadow); }
.why-icon { color: var(--gold); font-weight: 700; }
.why-icon, .ff-card-icon { border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.15); }
.sector-art { border-radius: var(--radius) var(--radius) 0 0; }
.sector-art svg { transition: transform .6s var(--ease); }
.card:hover .sector-art svg { transform: scale(1.04); }
.mini-step { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.mini-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini-step-num, .step-num { font-weight: 700; }
.step-num { background: var(--white); color: var(--navy); border: 1.5px solid var(--navy); }
.testimonial::before { font-family: var(--font-accent); }

/* Tables: softer, more airy */
.product-table, .comp-table { border-top-width: 1px; border-color: var(--border); box-shadow: var(--shadow); }
.product-table { border-top: 3px solid var(--gold); }
.product-table th, .tier-table th { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; }
.product-table td, .comp-table td { border-bottom-color: var(--border); }
.product-table td:first-child { box-shadow: none; background: var(--off-white); border-right-color: var(--border); font-weight: 600; }
.product-table tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.comp-table td:first-child { background: var(--off-white); font-weight: 600; }
.tier-table th { box-shadow: inset 0 -2px 0 var(--gold); }

/* Section headers */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-header { margin-bottom: 56px; }
.section-header p { font-size: 16.5px; }

/* Stats & dark bands */
.stats-bar, .flexflo-section, .broker-hero, .calc-results, .refi-box { background: radial-gradient(900px 400px at 100% 0%, rgba(244,180,20,0.10), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%); }
.stat-val { font-size: clamp(32px, 3.4vw, 44px); }
.stat-label { letter-spacing: .01em; }
.broker-badge { border-radius: 999px; }

/* FAQs */
.faq-item { transition: border-color .2s, box-shadow .2s; }
.faq-item:hover { border-color: var(--border-strong); }
.faq-q { padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.faq-q.open { background: var(--off-white); color: var(--navy); box-shadow: inset 3px 0 0 var(--gold); }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; transition: transform .3s var(--ease), background .2s; }
.faq-q.open .faq-icon { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* Forms */
.form-field input, .form-field select, .form-field textarea { border-radius: var(--radius-sm); border-width: 1px; padding: 12px 14px; font-family: inherit; background: #fbfcfb; transition: border-color .2s, box-shadow .2s, background .2s; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: var(--border-strong); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { background: var(--white); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(244,180,20,0.18); }
.form-field label { font-weight: 500; }
button, input, select, textarea { font-family: inherit; }

/* Calculator */
.calc-range { height: 4px; }
.calc-toggle { border-radius: 999px; }
.calc-toggle button { border-radius: 999px; }
.calc-result-label { font-weight: 600; letter-spacing: 0.14em; font-size: 11px; }


/* Calculator results: breakdown sits with the instalment; CTA at the foot */
.calc-result-sub { margin-bottom: 18px; }
.calc-split { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); border-radius: 12px; padding: 6px 16px; margin-bottom: 22px; }
.calc-split .calc-row { padding: 7px 0; }
.calc-split .calc-row + .calc-row { border-top: 1px solid rgba(255,255,255,0.07); }
.calc-breakdown { margin-top: 0; padding-top: 16px; }
.calc-group-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 4px; }
.calc-breakdown .calc-row { padding: 6px 0; }
.calc-row-total { font-size: 15px; padding: 8px 0 10px !important; border-bottom: 1px solid rgba(255,255,255,0.10); margin-bottom: 4px; }
.calc-row-total span:first-child { color: var(--white) !important; font-weight: 600; }
.calc-row-total span:last-child { color: var(--gold) !important; }
.calc-foot { margin-top: auto; padding-top: 24px; }
/* Broker fee: tucked away as an optional, collapsed control */
.calc-broker { border-top: 1px solid var(--border); padding-top: 14px; }
.calc-broker summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); }
.calc-broker summary::-webkit-details-marker { display: none; }
.calc-broker summary > span:first-child::before { content: '+'; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; border: 1px solid var(--border-strong); font-size: 12px; line-height: 1; transition: transform .25s var(--ease); }
.calc-broker[open] summary > span:first-child::before { transform: rotate(45deg); }
.calc-broker summary em { font-style: normal; }
.calc-broker summary:hover { color: var(--navy); }
.calc-broker-val { font-size: 12px; font-weight: 600; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.calc-broker-body { padding-top: 12px; }
.calc-broker-body p { font-size: 11.5px; color: var(--text-muted); margin-top: 8px; line-height: 1.6; }
.calc-range-sm::-webkit-slider-thumb { width: 18px; height: 18px; }
.calc-range-sm::-moz-range-thumb { width: 18px; height: 18px; }


/* Hero balance: text beside a full-height photo, loan summary as a full-width band below */
@media (min-width: 901px) {
  .hero-grid { align-items: stretch; }
  .hero-side { margin-top: 44px; }
  .hero-art { flex: 1; min-height: 340px; }
  .hero-art svg { height: 100%; aspect-ratio: auto; }
}
.hero-card-wide { position: relative; z-index: 1; margin-top: 56px; padding: 28px 32px; }
.hero-card-wide .hero-card-title { margin-bottom: 8px; }
.hero-card-wide .hero-card-rows { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.hero-card-wide .hero-card-rows .hero-card-row { border-bottom: none !important; border-top: 1px solid rgba(255,255,255,0.08); padding: 14px 0 6px; grid-column: auto; height: 100%; }
.hero-card-note { grid-column: span 2; font-size: 11.5px; color: rgba(255,255,255,0.75); line-height: 1.5; margin: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.hero-card-cta { padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 900px) {
  .hero-card-wide .hero-card-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card-note { grid-column: 1 / -1; order: 2; border-top: none; padding-top: 4px; }
  .hero-card-cta { order: 1; }
}
@media (max-width: 600px) {
  .hero-card-wide { padding: 22px 20px; }
  .hero-card-wide .hero-card-rows { grid-template-columns: 1fr; }
  .hero-card-note { grid-column: auto; }
}
/* Loan at a glance: four themed groups, headline figure + short detail */
.glance .hero-card-title { margin-bottom: 20px; }
.glance-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.glance-group { padding: 0 28px; border-left: 1px solid rgba(255,255,255,0.08); min-width: 0; }
.glance-group:first-child { padding-left: 0; border-left: none; }
.glance-group:last-child { padding-right: 0; }
.glance-head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--white); }
.glance-num { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: var(--gold); font-variant-numeric: tabular-nums; }
.glance-list { margin: 0; }
.glance-item { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.glance-item:last-child { border-bottom: none; }
.glance-item dt { margin: 0 0 3px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); }
.glance-item dd { margin: 0; display: flex; flex-direction: column; gap: 1px; }
.glance-item dd strong { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--white); }
.glance-item dd strong.glance-sub { margin-top: 6px; }
.glance-item dd span { font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,0.7); }
.glance-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); }
.glance-note { margin: 0; font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,0.65); }
.glance-cta { flex-shrink: 0; justify-content: center; white-space: nowrap; }
@media (max-width: 1100px) {
  .glance-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .glance-group:nth-child(odd) { padding-left: 0; border-left: none; }
  .glance-group:nth-child(even) { padding-right: 0; }
}
@media (max-width: 600px) {
  .glance-groups { grid-template-columns: 1fr; row-gap: 24px; }
  .glance-group { padding: 0; border-left: none; }
  .glance-foot { flex-direction: column-reverse; align-items: stretch; }
  .glance-cta { width: 100%; white-space: normal; }
}


/* Comparison table: personal guarantee explainer */
.pg-note { margin-top: 20px; padding: 22px 26px; border-radius: var(--radius); background: var(--off-white); border: 1px solid var(--border); border-left: 3px solid var(--gold); }
.pg-note-title { font-weight: 600; color: var(--navy); margin-bottom: 8px; font-size: 15px; letter-spacing: -0.01em; }
.pg-note p { font-size: 14px; margin: 0; }
.pg-note p + p { margin-top: 10px; }


/* Contrast: placeholders and small labels meet WCAG AA */
.form-field input::placeholder, .form-field textarea::placeholder { color: #66756f; opacity: 1; }
.calc-minmax, .doc-hint { color: var(--text-muted); }


/* Document checklists: required vs on-request groups */
.doc-group-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin: 14px 0 6px; }
.doc-group-label:first-of-type { margin-top: 4px; }
.doc-required li { color: var(--navy); font-weight: 600; }

/* Footer, cookie, back-to-top */
.footer { background: radial-gradient(800px 300px at 0% 0%, rgba(244,180,20,0.08), transparent 60%), linear-gradient(180deg, #1f5446 0%, var(--navy-light) 100%); }
.footer-desc { color: rgba(255,255,255,0.8); }
.footer-legal { color: rgba(255,255,255,0.75); }
.footer-fca { color: rgba(255,255,255,0.75); }
.footer-col h4 { color: #ffffff; }
.footer-col h4 { font-family: var(--font-body); letter-spacing: 0.14em; font-weight: 600; }
#cookieBanner { left: 16px; right: 16px; bottom: 16px; border-top: none; border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; background: rgba(12,42,36,0.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow-lg); }
#backTop { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(12,42,36,0.85); }
.notice-strip p { font-weight: 500; letter-spacing: .01em; }

/* Motion: smooth entrance and scroll-linked reveals where supported */
@keyframes fadeUp { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
.fade-up { animation: fadeUp .8s var(--ease) both; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .why-card, .mini-step, .card, .faq-item, .stat-item, .testimonial { animation: fadeUp linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ================================================
   FLOFUND BRAND LAYER (Brand Guidelines v1, Nov 2026)
   Emerald leads, gold is the accent. Poppins SemiBold
   for headlines and key figures, Poppins for everything
   else. 19° brand angle, 56×3 gold rules, 6px buttons.
   ================================================ */
:root {
  --deep-emerald: #0C2A24;
  --midnight: #081D19;
  --emerald-mid: #12352D;
  --emerald-light: #1A4A3E;
  --forest-glow: #1F5A4A;
  --gold: #F4B414;
  --gold-light: #F6C343;
  --deep-gold: #D99D0A;
  --gold-ink: #8A6100;
  --mint: #F5F8F6;
  --sage-border: #DFE7E3;
  --slate: #5B6B66;
  --ink: #15231F;

  --navy: var(--deep-emerald);
  --navy-mid: var(--emerald-mid);
  --navy-light: var(--emerald-light);
  --off-white: var(--mint);
  --border: var(--sage-border);
  --border-strong: #C9D6D0;
  --label-bg: var(--mint);
  --text-muted: var(--slate);
  --text-dark: var(--ink);

  --font-display: 'Poppins', Arial, Helvetica, sans-serif;
  --font-body: 'Poppins', Arial, Helvetica, sans-serif;
  --font-accent: var(--font-body);
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(12,42,36,0.05), 0 8px 24px -12px rgba(12,42,36,0.18);
  --shadow-lg: 0 2px 4px rgba(12,42,36,0.05), 0 28px 56px -28px rgba(12,42,36,0.40);
  --glow: radial-gradient(120% 110% at 0% 0%, rgba(31,90,74,0.95) 0%, rgba(31,90,74,0) 55%), linear-gradient(155deg, var(--deep-emerald) 30%, var(--midnight) 100%);
  --cut: 132px;
}

/* ---------- Type ---------- */
body { font-family: var(--font-body); font-size: 16px; line-height: 1.625; color: var(--ink); letter-spacing: 0; }
p { color: var(--slate); line-height: 1.65; }
h1, h2 { font-family: var(--font-display); font-weight: 600; color: var(--deep-emerald); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); line-height: 1.06; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.5rem); line-height: 1.15; }
h3, h4, .calc-field-val, .step-num, .mini-step-num, .ff-example-title, .faq-q { font-family: var(--font-body); }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; }
h4 { font-size: 1rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.hero h1 span { font-weight: 600; }
h1 .hl, h2 .hl { color: var(--gold-ink); }
.hero h1 span, .page-hero h1 .hl, .flexflo-section h2 .hl, .refi-box .hl, .card-navy .hl { color: var(--gold); }
.article-body h1 { margin-bottom: 20px; font-size: clamp(2rem, 4vw, 3rem); }
.article-body h2, .legal-body h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; }
.legal-body h3 { font-family: var(--font-body); font-weight: 600; }
.article-body > .btn { margin-bottom: 32px; }

/* Eyebrow: gold rule, then Poppins SemiBold caps tracked +200 */
.tag { display: block; width: fit-content; padding: 0; margin-bottom: 16px; background: none !important; border: none !important; border-radius: 0; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.5; color: var(--gold-ink); }
.tag::before { content: ''; display: block; width: 56px; height: 3px; margin-bottom: 18px; background: var(--gold); border-radius: 0; box-shadow: none; }
.section .tag-gold, .section-sm .tag-gold, .calc-section .tag-gold, .tag-navy { color: var(--gold-ink); }
.hero .tag, .page-hero .tag, .flexflo-section .tag, .refi-box .tag, .card-navy .tag, .stats-bar .tag { color: var(--gold); }
.section-header .tag, .text-center .tag { margin-left: auto; margin-right: auto; }
.section-header .tag::before, .text-center .tag::before { margin-left: auto; margin-right: auto; }
.section-header[style*="text-align:left"] .tag, .section-header[style*="text-align:left"] .tag::before { margin-left: 0; }
.refi-box .tag::before { margin-bottom: 14px; }

/* ---------- Buttons: gold primary, emerald outline secondary, 6px corners ---------- */
.btn { border-radius: 6px; padding: 14px 26px; font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-primary { background: var(--gold); border: 1.5px solid var(--gold); color: var(--deep-emerald); box-shadow: none; }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(244,180,20,0.8); }
.btn-secondary { background: transparent; border: 1.5px solid rgba(255,255,255,0.75); color: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }
.btn-outline { background: transparent; border: 1.5px solid var(--deep-emerald); color: var(--deep-emerald); }
.btn-outline:hover { background: var(--deep-emerald); color: var(--white); }
.btn-dark { border-radius: 6px; }
[role="button"]:focus-visible, button:focus-visible, a:focus-visible, .nav-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Navigation ---------- */
#navbar { background: var(--deep-emerald); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid rgba(255,255,255,0.08); box-shadow: 0 1px 0 rgba(0,0,0,0.2); }
.nav-inner { height: 80px; }
.nav-logo { gap: 0; }
.nav-logo-img { height: 44px; width: auto; }
.nav-links { gap: 2px; padding: 0; background: none; border: none; border-radius: 0; }
.nav-link { position: relative; padding: 8px 9px; border-radius: 6px; font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.82); }
.nav-link:hover { background: none; color: var(--white); }
.nav-link.active { background: none; color: var(--white); }
.nav-link.active::after { content: ''; position: absolute; left: 9px; right: 9px; bottom: 0; height: 2px; background: var(--gold); }
.nav-cta { margin-left: 12px; padding: 10px 18px; border-radius: 6px; font-size: 13.5px; font-weight: 600; color: var(--deep-emerald); }
.mobile-menu.open { background: var(--emerald-mid); -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; border-bottom: 3px solid var(--gold); }
.mobile-link { border-radius: 6px; font-weight: 500; }

/* ---------- Emerald glow + ghost mark (one per layout) ---------- */
.hero, .page-hero { position: relative; overflow: hidden; background: var(--glow); }
.hero { padding: 88px 0 96px; }
.hero::before { content: none; display: none; }
.hero::after, .page-hero::after { content: ''; display: block; position: absolute; z-index: 0; pointer-events: none; left: auto; bottom: auto; border-radius: 0; background: url(/assets/flofund-mark.svg) no-repeat center / contain; opacity: 0.08; aspect-ratio: 27.35 / 25.43; }
.hero::after { top: -6%; right: -14%; width: min(78vw, 980px); height: auto; }
.page-hero { padding: 88px 0 80px; }
.page-hero-lg { padding: 104px 0 96px; }
.page-hero::after { top: -30%; right: -6%; width: min(60vw, 620px); height: auto; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); max-width: 820px; }
.page-hero p { color: rgba(255,255,255,0.82); }
.hero-lead { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.84); }

/* Key figures: small Poppins label above, Poppins SemiBold figure in Light Gold */
.hero-stats { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius); }
.hero-stat { flex-direction: column-reverse; gap: 6px; padding: 20px 12px 22px; }
.hero-stat-val, .stat-val, .key-figure-val, .calc-result-big { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1; color: var(--gold-light); }
.hero-stat-val { font-size: clamp(30px, 3vw, 42px); }
.hero-stat-label { margin: 0; font-size: 12px; color: rgba(255,255,255,0.78); }
/* Symmetric hero stats: equal-width columns, labels share a two-line slot so every figure sits on the same baseline */
.hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero-stat { justify-content: flex-start; padding: 22px 12px 24px; gap: 8px; }
.hero-stat-val { font-size: clamp(26px, 2.5vw, 38px); }
.hero-stat-label { line-height: 1.4; min-height: 2.8em; display: flex; align-items: flex-end; justify-content: center; text-wrap: balance; }
@media (max-width: 900px) { .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.key-figure { display: flex; flex-direction: column-reverse; gap: 8px; padding: 22px 26px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-left: 3px solid var(--gold); border-radius: var(--radius); }
.key-figure-val { font-size: clamp(36px, 4vw, 52px); }
.key-figure-label { font-size: 13px; color: rgba(255,255,255,0.8); }

/* The 19° slice: photos cut on the mark's slant, edged with a gold line */
.hero-art { border: none; border-radius: 0; box-shadow: none; background: var(--gold); clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%); }
.hero-art svg { clip-path: polygon(calc(var(--cut) + 5px) 0, 100% 0, 100% 100%, 5px 100%); }
.hero-art::after, .sme-art::after { content: none; display: none; }
.sme-art { --cut: 110px; border-radius: 0; box-shadow: none; background: var(--gold); clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%); }
.sme-art svg { clip-path: polygon(calc(var(--cut) + 5px) 0, 100% 0, 100% 100%, 5px 100%); }
@media (max-width: 900px) {
  .hero-art { --cut: calc((100vw - 48px) * 0.19); }
  .sme-art { --cut: calc((100vw - 48px) * 0.23); }
}

.hero-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero-card-title { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: var(--gold); }
.hero-card-key { font-size: 11px; letter-spacing: 0.12em; }

/* ---------- Trust chips with slanted gold bullets ---------- */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--sage-border); }
.trust-chip { gap: 10px; padding: 9px 14px; border-radius: 6px; background: var(--mint); border: 1px solid var(--sage-border); box-shadow: none; font-size: 13px; font-weight: 500; color: var(--deep-emerald); }
.trust-chip::before { content: ''; width: 9px; height: 9px; flex-shrink: 0; background: var(--gold); transform: skewX(-19deg); }

/* ---------- Cards and surfaces ---------- */
.card, .why-card, .mini-step, .testimonial, .faq-item, .ff-card, .ff-example, .calc-wrap, .contact-card, .fca-box, .refi-box, .pg-note { border-radius: var(--radius); }
.card { border: 1px solid var(--sage-border); box-shadow: none; }
.card:hover { transform: none; box-shadow: var(--shadow); border-color: var(--border-strong); }
.card-gold-border { border-top: 1px solid var(--sage-border); }
.card-gold-border::before, .ff-card::before { content: ''; display: block; width: 56px; height: 3px; margin-bottom: 18px; background: var(--gold); }
.sector-grid .card-gold-border::before { content: none; display: none; }
.card-navy { background: var(--deep-emerald); border-color: var(--deep-emerald); }
.card-navy h3[style*="--gold"] { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--gold) !important; }
.why-card { background: var(--white); }
.why-card:hover { transform: none; border-color: var(--border-strong); box-shadow: var(--shadow); }
.why-card h3 { margin-bottom: 10px; }

/* Numbered steps: slanted parallelograms on the brand angle */
.mini-step { text-align: left; padding: 28px 24px; }
.mini-step:hover { transform: none; }
.mini-step-num, .step-num { width: 56px; height: 40px; border: none; border-radius: 0; font-size: 17px; font-weight: 600; clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.mini-step-num { margin: 0 0 18px; background: var(--gold); color: var(--deep-emerald); }
.step-num { background: var(--deep-emerald); color: var(--white); }
.step { gap: 20px; }

/* Bullets: gold squares slanted 19° */
.sector-uses li, .sme-list li, .ff-rules li { position: relative; display: block; padding-left: 24px; }
.sector-uses li::before, .sme-list li::before, .ff-rules li::before { content: ''; position: absolute; left: 3px; top: calc(0.85em - 5px); top: calc(0.5lh - 5px); width: 10px; height: 10px; background: var(--gold); transform: skewX(-19deg); }
.fit-no .sector-uses li::before { background: var(--slate); }

/* Sector photos: emerald-darkened lower third and solid gold sector labels */
.sector-art { position: relative; }
.sector-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,29,25,0.62) 0%, rgba(8,29,25,0) 45%); pointer-events: none; }
.sector-label { position: absolute; left: 18px; bottom: 16px; z-index: 1; padding: 6px 12px; border-radius: 4px; background: var(--gold); color: var(--midnight); font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2; }
.sector-grid .card:hover .sector-art svg { transform: scale(1.03); }

/* Case-fit and risk callouts in brand colours */
.fit-box { padding: 24px 26px; border-radius: var(--radius); border: 1px solid var(--sage-border); }
.fit-box h4 { margin-bottom: 10px; color: var(--deep-emerald); }
.fit-box p, .fit-box .sector-uses li { color: var(--ink); }
.fit-yes { background: var(--mint); border-left: 3px solid var(--forest-glow); }
.fit-no { background: var(--white); border-left: 3px solid var(--slate); }
.risk-box { margin-top: 16px; padding: 20px 24px; border-radius: var(--radius); background: #FEF6DE; border: 1px solid #F1DA92; border-left: 3px solid var(--gold); }
.risk-box h4 { margin-bottom: 8px; color: var(--ink); }
.risk-box p { margin: 0; font-size: 13px; color: var(--ink); }

/* ---------- Dark bands ---------- */
.flexflo-section, .stats-bar, .calc-results, .refi-box { background: linear-gradient(160deg, var(--emerald-mid) 0%, var(--deep-emerald) 55%, var(--midnight) 100%); }
.refi-box { border-left: 3px solid var(--gold); }
.refi-box h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; line-height: 1.2; }
.ff-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); }
.ff-example { border-radius: var(--radius); box-shadow: none; }
.ff-example-light { border: 1px solid var(--sage-border); }
.ff-example-label { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: var(--gold-ink); }
.ff-example-title { font-weight: 600; font-size: 16px; color: var(--deep-emerald); }
.ff-example-cost strong { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--deep-emerald); }
.ff-month { border-radius: 6px; }
.ff-spread { background: #FEF6DE; border-color: #F1DA92; }
.ff-end { border-color: var(--emerald-light); }
.ff-chips span { border-radius: 6px; font-weight: 500; color: var(--deep-emerald); }
.ff-rules strong { color: var(--gold-light); }

/* ---------- Tables ---------- */
.product-table, .comp-table { border: 1px solid var(--sage-border); border-radius: var(--radius); box-shadow: none; }
.product-table { border-top: 3px solid var(--deep-emerald); }
.product-table th, .tier-table th, .comp-table th { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; }
.product-table td:first-child, .comp-table td:first-child, .tier-table td:first-child { background: var(--mint); color: var(--deep-emerald); font-weight: 600; }
.product-table tr:hover td, .comp-table tr:hover td, .tier-table tbody tr:hover td { background: var(--mint); }
.product-table tr:hover td:first-child { background: #EAF1ED; box-shadow: inset 3px 0 0 var(--gold); }
.comp-table th.alpha { background: var(--deep-emerald); box-shadow: inset 0 -3px 0 var(--gold); }
.comp-table th.competitor1 { background: var(--forest-glow); }
.comp-table th.competitor2 { background: var(--emerald-light); }
.highlight-col { background: #FDF8EA; }
.tier-table th { background: var(--deep-emerald); box-shadow: inset 0 -2px 0 var(--gold); }
.check { color: var(--forest-glow); }
.proc-val { color: var(--white) !important; font-weight: 600; }
.proc-table th { font-size: 11px; letter-spacing: 0.12em; }

/* ---------- FAQs ---------- */
.faq-q { font-weight: 600; font-size: 15px; letter-spacing: 0; color: var(--deep-emerald); }
.faq-q.open { background: var(--mint); color: var(--deep-emerald); box-shadow: inset 3px 0 0 var(--gold); }
.faq-icon { border-radius: 6px; }
.faq-a { font-size: 14.5px; }
.container[style*="max-width:800px"] > h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; }

/* ---------- Forms ---------- */
.form-field label { font-weight: 500; color: var(--deep-emerald); }
.form-field input, .form-field select, .form-field textarea { border-radius: 6px; background: var(--white); border: 1px solid var(--border-strong); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--deep-gold); box-shadow: 0 0 0 3px rgba(244,180,20,0.22); }
.form-msg { border-radius: 6px; }

/* ---------- Calculator ---------- */
.calc-wrap { border-radius: var(--radius); box-shadow: var(--shadow); }
.calc-field-label { font-weight: 500; color: var(--deep-emerald); }
.calc-field-val { font-weight: 600; color: var(--deep-emerald); }
.calc-toggle, .calc-toggle button { border-radius: 6px; }
.calc-toggle button { font-weight: 500; }
.calc-toggle button.active { background: var(--deep-emerald); color: var(--white); }
.calc-result-label { font-size: 12px; letter-spacing: 0.2em; color: var(--gold); }
.calc-result-big { font-size: clamp(2.6rem, 5vw, 3.6rem); margin: 6px 0 10px; }
.calc-split { border-radius: 6px; }
.calc-range { background: var(--sage-border); }

/* ---------- Contact ---------- */
.contact-card { background: var(--deep-emerald); border-left: 3px solid var(--gold); }
.contact-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; }
.contact-icon { border-radius: 6px; background: rgba(255,255,255,0.07); color: var(--gold); }
.contact-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Footer, cookie banner, back to top ---------- */
.footer { background: radial-gradient(90% 120% at 0% 0%, rgba(31,90,74,0.55) 0%, rgba(31,90,74,0) 55%), var(--midnight); border-top: 3px solid var(--gold); }
.footer-logo { margin-bottom: 18px; }
.footer-logo img { height: 48px; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.2em; color: var(--gold); }
.footer-link { color: rgba(255,255,255,0.8); }
.footer-link:hover { color: var(--gold-light); }
#cookieBanner { border-radius: var(--radius); background: var(--deep-emerald); -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid rgba(255,255,255,0.12); border-left: 3px solid var(--gold); }
#backTop { border-radius: 6px; background: var(--deep-emerald); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Layout touch-ups */
.section-header[style*="text-align:left"] p { margin-left: 0; }
#page-about .section .grid-2 { align-items: start; }
.calc-foot .btn, .hero-card-cta .btn { white-space: normal; text-align: center; }
.sector-uses li::before, .sme-list li::before, .ff-rules li::before { top: calc(0.85em - 5px); top: calc(0.5lh - 5px); }

::selection { background: var(--gold-light); color: var(--deep-emerald); }

/* Product page: full-width terms table + repayments layout */
.product-terms { margin-bottom: 72px; }
.product-repay { margin-bottom: 60px; }
.repay-intro { margin-bottom: 24px; padding: 32px; }
.repay-intro-grid { display: grid; grid-template-columns: minmax(0,3fr) minmax(0,2fr); gap: 40px; align-items: center; }
.repay-intro p { margin: 0; }
.repay-formula { padding: 20px 22px; background: var(--mint); border-left: 3px solid var(--gold); border-radius: 8px; font-size: 14px; line-height: 1.7; color: var(--deep-emerald); font-weight: 600; }
@media (max-width: 900px) {
  .repay-intro-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Brokers page: stacked, full-width layout */
.broker-benefits-wrap { margin-bottom: 56px; }
.broker-benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.broker-benefits .broker-benefit { flex: 0 1 calc((100% - 48px) / 4); padding: 22px; }
.broker-benefit p { font-size: 13px; margin: 0; }
.broker-terms { margin-bottom: 24px; padding: 32px 36px; }
.broker-terms-table { table-layout: fixed; min-width: 640px; }
.broker-terms-table td { vertical-align: top; line-height: 1.55; padding: 13px 20px; }
.broker-terms-table th { padding: 12px 20px; }
.broker-terms > p { margin-top: 18px !important; }
.broker-docs { margin-bottom: 60px; padding: 28px 36px; }
.broker-docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.broker-docs-grid .doc-group-label { margin-top: 8px; }
@media (max-width: 1000px) { .broker-benefits .broker-benefit { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 900px) { .broker-docs-grid { grid-template-columns: 1fr; gap: 8px; } }
@media (max-width: 600px) {
  .broker-benefits .broker-benefit { flex-basis: 100%; }
  .broker-terms, .broker-docs { padding: 22px 18px; }
}

/* At a glance: key figures band + grouped term cards */
.pt-figures { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); background: var(--deep-emerald); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; position: relative; }
.pt-figures::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); }
.pt-figure { padding: 30px 28px 28px; }
.pt-figure + .pt-figure { border-left: 1px solid rgba(255,255,255,0.10); }
.pt-fig-label { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 10px; }
.pt-fig-val { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; color: var(--gold-light); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.pt-figure p { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.78); margin: 0; }
.pt-groups { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.pt-group { background: var(--white); border: 1px solid var(--sage-border); border-radius: var(--radius); padding: 28px 30px 10px; }
.pt-group-title { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 6px; padding-top: 14px; position: relative; }
.pt-group-title::before { content: ''; position: absolute; top: 0; left: 0; width: 56px; height: 3px; background: var(--gold); }
.pt-group dl { margin: 0; }
.pt-item { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 20px; padding: 16px 0; border-top: 1px solid var(--sage-border); }
.pt-item:first-child { border-top: none; }
.pt-item dt { font-size: 13px; font-weight: 600; color: var(--slate); padding-top: 1px; }
.pt-item dd { margin: 0; }
.pt-item dd strong { display: block; font-size: 15px; font-weight: 600; color: var(--deep-emerald); line-height: 1.45; margin-bottom: 4px; }
.pt-item dd span { display: block; font-size: 13px; color: var(--slate); line-height: 1.55; }
@media (max-width: 1000px) {
  .pt-figures { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pt-figure:nth-child(3) { border-left: none; }
  .pt-figure:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.10); }
  .pt-groups { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pt-figures { grid-template-columns: 1fr; }
  .pt-figure + .pt-figure { border-left: none; border-top: 1px solid rgba(255,255,255,0.10); }
  .pt-group { padding: 22px 20px 6px; }
  .pt-item { grid-template-columns: 1fr; gap: 4px; }
}

/* Page buttons are now links: keep the centred text a <button> had */
a.btn { text-align: center; }

/* ================================================
   BRAND ILLUSTRATIONS (replace photography)
   Inline SVG drawn in the emerald + gold palette,
   on the mark's 19° slant with a gold edge.
   ================================================ */
.hero-art svg, .sme-art svg, .sector-art svg { background: var(--glow); }
.sector-art svg { display: block; width: 100%; height: 100%; }
.sector-art::after { background: linear-gradient(to top, rgba(8,29,25,0.45) 0%, rgba(8,29,25,0) 38%); }

.hero-art text, .sme-art text, .sector-art text { font-family: var(--font-body); }
.art-kicker { font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; fill: #F4B414; }
.art-title { font-size: 16px; font-weight: 600; fill: #FFFFFF; }
.art-legend text { font-size: 10.5px; fill: rgba(255,255,255,0.72); }
.art-axis { font-size: 10px; fill: rgba(255,255,255,0.5); }
.art-pill { font-size: 11px; font-weight: 600; fill: #081D19; dominant-baseline: middle; }
.art-figure { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; fill: #0C2A24; }
.art-small { font-size: 11.5px; fill: #4F5E59; }
.art-small-light { fill: rgba(255,255,255,0.72); }
.art-chip { font-size: 13px; font-weight: 600; fill: #FFFFFF; }
.art-tag { font-size: 13px; font-weight: 500; fill: #E9F1ED; }
.art-tag-dark { fill: #081D19; font-weight: 600; }
.art-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; fill: rgba(255,255,255,0.62); }
.art-label-gold { fill: #F6C343; }

.ha-card { filter: drop-shadow(0 14px 28px rgba(0,0,0,0.35)); }
.ha-chip { filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)); }
.ha-bars rect, .sa-fill, .sa-tag, .ha-card, .ha-chip { transform-box: fill-box; }

@media (prefers-reduced-motion: no-preference) {
  .ha-bars rect { transform-origin: 50% 100%; animation: artRise .7s var(--ease) both; animation-delay: calc(.35s + var(--i) * 55ms); }
  .ha-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: artDraw 1.4s var(--ease) .5s forwards; }
  .ha-ring { animation: artRing 1.2s var(--ease) .9s both; }
  .ha-card { animation: artFloatIn .8s var(--ease) .7s both; }
  .ha-chip { animation: artFloatIn .8s var(--ease) 1.1s both; }
  .sme-art.in-view .sa-tag { animation: artFloatIn .7s var(--ease) both; }
  html.js .sme-art:not(.in-view) .sa-tag { opacity: 0; }
  .sa-fill { transform-origin: 0 50%; }
  html.js .sme-art:not(.in-view) .sa-fill { transform: scaleX(0); }
  .sme-art.in-view .sa-fill { animation: artGrowX 1.1s var(--ease) .45s both; }
  .sa-tags > g:nth-child(2) .sa-tag { animation-delay: .12s; }
  .sa-tags > g:nth-child(3) .sa-tag { animation-delay: .24s; }
  .sector-art .spin { animation: artSpin 24s linear infinite; }
  .sector-art .spin-rev { animation: artSpin 16s linear infinite reverse; }
  .sector-art .sa-icon { transition: transform .6s var(--ease); transform-origin: 75% 50%; }
  .sector-grid .card:hover .sector-art .sa-icon { transform: translateX(-6px) scale(1.03); }
  .sector-grid .card:hover .sector-art svg { transform: none; }
}
@keyframes artRise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes artDraw { to { stroke-dashoffset: 0; } }
@keyframes artRing { from { stroke-dasharray: 0 100; } to { stroke-dasharray: 85 100; } }
@keyframes artFloatIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes artSpin { to { transform: rotate(360deg); } }
@keyframes artGrowX { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ================================================
   INFOGRAPHICS (scroll-triggered via .in-view)
   ================================================ */
.viz-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 4px; }
.viz-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--deep-emerald); margin-bottom: 18px; }
.viz-note { font-size: 13px; margin: 14px 0 0; }
.k-cap, .k-int { display: inline-block; width: 10px; height: 10px; margin-right: 7px; background: var(--deep-emerald); transform: skewX(-19deg); }
.k-int { background: var(--gold); }

/* ---------- Case-to-funds journey ---------- */
.journey { position: relative; margin: 0 0 36px; }
.journey-track { position: absolute; left: 12.5%; right: 12.5%; top: 10px; height: 2px; background: var(--sage-border); }
.journey-fill { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; }
.journey-stops { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.journey-stops li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.journey-dot { width: 26px; height: 20px; margin-bottom: 12px; background: var(--white); border: 2px solid var(--gold); transform: skewX(-19deg); }
.journey-dot-end { background: var(--gold); }
.journey-stops b { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.02em; line-height: 1.1; color: var(--deep-emerald); }
.journey-stops li > span:last-child { font-size: 12.5px; line-height: 1.4; color: var(--text-muted); max-width: 170px; }
.journey-dark { margin: 44px 0 0; max-width: 820px; }
.journey-dark .journey-track { background: rgba(255,255,255,0.18); }
.journey-dark .journey-dot { background: var(--deep-emerald); }
.journey-dark .journey-dot-end { background: var(--gold); }
.journey-dark .journey-stops b { color: var(--gold-light); }
.journey-dark .journey-stops li > span:last-child { color: rgba(255,255,255,0.75); }
@media (max-width: 640px) {
  .journey-track { display: none; }
  .journey-stops { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
}

/* ---------- Instalment split + rate tiers ---------- */
.repay-viz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-bottom: 24px; padding: 32px; background: var(--white); border: 1px solid var(--sage-border); border-radius: var(--radius); }
.repay-viz-col + .repay-viz-col { border-left: 1px solid var(--sage-border); padding-left: 40px; }
.split-bar { display: flex; height: 64px; border-radius: 6px; overflow: hidden; }
.split-bar > span { display: flex; flex-direction: column; justify-content: center; width: var(--w); padding: 0 14px; font-size: 12px; white-space: nowrap; overflow: hidden; }
.split-bar b { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.split-cap { background: var(--deep-emerald); color: rgba(255,255,255,0.8); }
.split-cap b { color: var(--white); }
.split-int { background: var(--gold); padding: 0 !important; }
.split-int-label { position: relative; margin-top: 8px; text-align: right; font-size: 12px; color: var(--text-muted); }
.split-int-label b { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--deep-emerald); }
.split-int-label::before { content: ""; position: absolute; right: 6.9%; top: -8px; height: 6px; width: 2px; background: var(--gold); }
.split-key { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 12.5px; color: var(--text-muted); }
.rate-bars { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rate-bars li { display: grid; grid-template-columns: 48px minmax(0, 1fr) 92px; align-items: center; gap: 12px; font-size: 13px; }
.rate-bar-label { font-weight: 600; color: var(--deep-emerald); }
.rate-bar-track { height: 14px; background: var(--mint); border-radius: 3px; overflow: hidden; }
.rate-bar-fill { display: block; width: var(--w); height: 100%; background: var(--emerald-light); border-radius: 3px; transform-origin: 0 50%; }
.rate-bars .is-example .rate-bar-fill { background: var(--gold); }
.rate-bars .is-example .rate-bar-val { font-weight: 700; color: var(--deep-emerald); }
.rate-bar-val { text-align: right; color: var(--text-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .repay-viz { grid-template-columns: 1fr; gap: 32px; padding: 24px; }
  .repay-viz-col + .repay-viz-col { border-left: none; padding-left: 0; border-top: 1px solid var(--sage-border); padding-top: 28px; }
}

/* ---------- Top-up bars ---------- */
.topup-viz { display: flex; flex-direction: column; gap: 14px; margin: 8px 0 24px; padding-top: 22px; }
.topup-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: center; gap: 16px; }
.topup-label { display: flex; flex-direction: column; font-size: 12px; color: var(--text-muted); line-height: 1.3; }
.topup-label b { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--deep-emerald); }
.topup-track { position: relative; display: flex; width: var(--len); height: 40px; }
.topup-track .seg { display: flex; align-items: center; width: var(--w); padding: 0 10px; font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topup-track .seg:first-child { border-radius: 5px 0 0 5px; }
.topup-track .seg:last-of-type { border-radius: 0 5px 5px 0; }
.seg-repaid { background: repeating-linear-gradient(-71deg, var(--mint) 0 6px, #E4ECE8 6px 12px); color: var(--deep-emerald); border: 1px solid var(--sage-border); }
.seg-owed { background: var(--deep-emerald); color: var(--white); }
.seg-new { background: var(--gold); color: var(--midnight); font-weight: 600 !important; }
.topup-marker { position: absolute; left: var(--at); top: -6px; bottom: -6px; width: 2px; background: var(--gold-ink); }
.topup-marker em { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 2px; font-style: normal; font-size: 11px; font-weight: 600; color: var(--gold-ink); white-space: nowrap; }
@media (max-width: 640px) {
  .topup-row { grid-template-columns: 1fr; gap: 6px; }
  .topup-label { flex-direction: row; gap: 6px; align-items: baseline; }
  .topup-row:first-child .topup-track { margin-top: 18px; }
  .topup-track { height: 36px; }
  .seg-word { display: none; }
  .topup-track .seg { padding: 0 7px; font-size: 11px; }
}

/* ---------- Broker fee columns ---------- */
.fee-viz { margin-top: 24px; padding: 28px 32px; background: var(--white); border: 1px solid var(--sage-border); border-radius: var(--radius); }
.fee-viz-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.fee-viz-head .viz-title { margin-bottom: 0; }
.fee-viz-key { display: flex; gap: 18px; font-size: 12.5px; color: var(--text-muted); }
.fee-viz-key-gbp { font-weight: 600; color: var(--deep-emerald); }
.fee-cols { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 4vw, 48px); padding-top: 12px; border-bottom: 1px solid var(--sage-border); }
.fee-cols li { display: grid; grid-template-rows: 170px auto auto; text-align: center; }
.fee-col-bar { align-self: end; height: var(--h); display: flex; justify-content: center; padding-top: 10px; background: var(--deep-emerald); clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px); transform-origin: 50% 100%; }
.fee-cols li:last-child .fee-col-bar { background: var(--gold); }
.fee-col-pct { font-family: var(--font-display); font-weight: 600; font-size: clamp(15px, 2vw, 22px); letter-spacing: -0.02em; color: var(--gold-light); }
.fee-cols li:last-child .fee-col-pct { color: var(--midnight); }
.fee-col-term { padding-top: 10px; font-size: 13px; font-weight: 600; color: var(--deep-emerald); border-top: 1px solid var(--sage-border); }
.fee-col-gbp { padding: 2px 0 12px; font-size: 12.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .fee-viz { padding: 22px 18px; } .fee-cols li { grid-template-rows: 130px auto auto; } }

/* ---------- Process steps: gold connector draws down ---------- */
.step { position: relative; }
.step-num { position: relative; z-index: 1; }
.steps .step:not(:last-child)::before, .steps .step:not(:last-child)::after { content: ''; position: absolute; left: 27px; top: 40px; bottom: -40px; width: 2px; background: var(--sage-border); }
.steps .step:not(:last-child)::after { background: var(--gold); transform-origin: 50% 0; }

/* ---------- Motion (only when the visitor allows it) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal]:not(.in-view) .journey-fill { transform: scaleX(0); }
  .journey-fill { transition: transform 1.6s var(--ease) .2s; }
  html.js .journey:not(.in-view) .journey-stops li { opacity: 0; transform: translateY(10px); }
  .journey-stops li { transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.15s + var(--i) * .4s); }

  html.js .repay-viz:not(.in-view) .split-bar { clip-path: inset(0 100% 0 0 round 6px); }
  .split-bar { clip-path: inset(0 0 0 0 round 6px); transition: clip-path 1.2s var(--ease) .1s; }
  html.js .repay-viz:not(.in-view) .rate-bar-fill { transform: scaleX(0); }
  .rate-bar-fill { transition: transform 1s var(--ease); transition-delay: calc(.3s + var(--i) * 90ms); }

  html.js .topup-viz:not(.in-view) .topup-track { clip-path: inset(-30px 100% -10px 0); }
  .topup-track { clip-path: inset(-30px -60px -10px 0); transition: clip-path 1s var(--ease); }
  .topup-row:nth-child(2) .topup-track { transition-delay: .35s; }
  .topup-row:nth-child(3) .topup-track { transition-delay: .7s; }

  html.js .fee-viz:not(.in-view) .fee-col-bar { transform: scaleY(0); }
  .fee-col-bar { transition: transform .9s var(--ease); transition-delay: calc(.1s + var(--i) * .15s); }

  html.js .steps:not(.in-view) .step:not(:last-child)::after { transform: scaleY(0); }
  .steps .step:not(:last-child)::after { transition: transform .7s var(--ease); }
  .steps .step:nth-child(2)::after { transition-delay: .6s; }
  .steps .step:nth-child(3)::after { transition-delay: 1.2s; }
  html.js .steps:not(.in-view) .step-num { transform: scale(.6); opacity: 0; }
  .steps .step-num { transition: transform .5s var(--ease), opacity .5s var(--ease); }
  .steps .step:nth-child(2) .step-num { transition-delay: .6s; }
  .steps .step:nth-child(3) .step-num { transition-delay: 1.2s; }
  .steps .step:nth-child(4) .step-num { transition-delay: 1.8s; }

  html.js .ff-timeline:not(.in-view) .ff-month { opacity: 0; transform: translateY(10px); }
  .ff-month { transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .ff-timeline.in-view .ff-snooze { animation: snoozePulse 1.6s var(--ease) 1s 2; }
}
.ff-month:nth-child(2) { transition-delay: 50ms; } .ff-month:nth-child(3) { transition-delay: 100ms; } .ff-month:nth-child(4) { transition-delay: 150ms; }
.ff-month:nth-child(5) { transition-delay: 200ms; } .ff-month:nth-child(6) { transition-delay: 250ms; } .ff-month:nth-child(7) { transition-delay: 300ms; }
.ff-month:nth-child(8) { transition-delay: 350ms; } .ff-month:nth-child(9) { transition-delay: 400ms; } .ff-month:nth-child(10) { transition-delay: 450ms; }
.ff-month:nth-child(11) { transition-delay: 500ms; } .ff-month:nth-child(12) { transition-delay: 550ms; } .ff-month:nth-child(13) { transition-delay: 600ms; }
@keyframes snoozePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(244,180,20,0.55); } 60% { box-shadow: 0 0 0 10px rgba(244,180,20,0); } }
.journey-note { margin: 18px 0 0; font-size: 12px; text-align: center; color: var(--text-muted); }
.journey-dark .journey-note { text-align: left; color: rgba(255,255,255,0.65); }

/* Pre-screen timing footnotes */
.footnote { display: block; margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.footnote-dark { color: rgba(255,255,255,0.65); }
.page-hero p.footnote-dark { color: rgba(255,255,255,0.65); }
.hero-footnote { margin: -26px 0 30px; }
.trust-note { margin-top: 12px; text-align: center; }
.steps-note { margin-top: 24px; }
.faq-a .footnote { margin-top: 8px; }
.inline-link { color: var(--deep-emerald); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.inline-link:hover { color: var(--gold-ink); }
.card-navy .inline-link, .page-hero .inline-link { color: var(--gold-light); }
.card-navy .inline-link:hover, .page-hero .inline-link:hover { color: var(--white); }

/* ================================================
   SECURITY: ONE PROPERTY, CHOOSE AN OPTION
   ================================================ */
.sec-step { margin-bottom: 28px; }
.sec-step-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.sec-step-num { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.sec-step-head h3 { color: var(--navy); margin: 0 0 2px; font-size: 1.1rem; }
.sec-step-head p { margin: 0; font-size: 14px; }
.sec-options { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); }
.sec-option { padding: 20px; }
.sec-option-label { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #8a6400; margin-bottom: 6px; }
.sec-option h4 { color: var(--navy); margin-bottom: 6px; }
.sec-option p { font-size: 13px; margin: 0; }
.sec-or { position: relative; display: flex; align-items: center; justify-content: center; width: 1px; background: var(--border); margin: 16px 0; }
.sec-or span { position: absolute; background: var(--white); border: 1px solid var(--border-strong); color: var(--navy); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.sec-ltv { margin: 12px 0 0; padding: 12px 16px; background: var(--off-white); border-radius: 8px; font-size: 13px; color: var(--text-dark); }
.sec-ltv strong { color: var(--navy); }
@media (max-width: 820px) {
  .sec-options { grid-template-columns: 1fr; }
  .sec-or { width: auto; height: 1px; margin: 0 20px; }
}

/* Keep the PaymentSnooze comparison table within narrow phone screens */
@media (max-width: 560px) {
  .ff-example .tier-table { table-layout: fixed; font-size: 12px; }
  .ff-example .tier-table th, .ff-example .tier-table td { padding: 10px 8px; overflow-wrap: anywhere; }
  .ff-example .tier-table th { font-size: 11px; letter-spacing: 0; overflow-wrap: normal; }
  .ff-example .tier-table th:first-child, .ff-example .tier-table td:first-child { width: 26%; }
}

/* Let long button labels wrap rather than push past very narrow screens */
@media (max-width: 400px) {
  .btn { white-space: normal; max-width: 100%; justify-content: center; text-align: center; }
}

/* Grid columns may shrink below their content's intrinsic width (stops form fields widening the page) */
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }

/* ================================================
   BLOG ARTICLES: hero, reading aids and infographics
   Same language as the site: emerald glow, gold accents,
   19° slanted markers, reveals triggered by .in-view
   ================================================ */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1100; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .read-progress { animation: readProgress linear both; animation-timeline: scroll(root); }
  }
}
@keyframes readProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Hero */
.article-hero { padding: 56px 0 64px; }
.article-hero h1 { max-width: 880px; font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.1; }
.article-hero .article-lead { max-width: 740px; margin-top: 20px; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.84); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 32px; font-size: 13px; color: rgba(255,255,255,0.6); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: rgba(255,255,255,0.35); }
.crumbs a { color: rgba(255,255,255,0.82); }
.crumbs a:hover { color: var(--gold-light); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-size: 13px; color: rgba(255,255,255,0.74); }
.article-meta span { display: inline-flex; align-items: center; gap: 9px; }
.article-meta span::before { content: ''; width: 8px; height: 8px; background: var(--gold); transform: skewX(-19deg); }
@media (prefers-reduced-motion: no-preference) {
  .article-hero .container > * { animation: fadeUp .8s var(--ease) both; }
  .article-hero .container > :nth-child(2) { animation-delay: .08s; }
  .article-hero .container > :nth-child(3) { animation-delay: .16s; }
  .article-hero .container > :nth-child(4) { animation-delay: .24s; }
  .article-hero .container > :nth-child(5) { animation-delay: .32s; }
}

/* Body */
.article-section { padding: 64px 0 24px; }
.article-body h2 { margin: 52px 0 14px; scroll-margin-top: 100px; }
.article-body h3 { margin: 30px 0 8px; font-size: 1.12rem; color: var(--deep-emerald); }
.article-body p, .article-body li { font-size: 16px; line-height: 1.75; }
.article-body p { margin-bottom: 16px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body p a:not(.btn), .article-body li a:not(.btn) { color: var(--deep-emerald); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article-body p a:not(.btn):hover, .article-body li a:not(.btn):hover { color: var(--gold-ink); }
.article-list { list-style: none; margin: 0 0 20px; }
.article-list li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--slate); }
.article-list li::before { content: ''; position: absolute; left: 3px; top: calc(0.875em - 5px); width: 10px; height: 10px; background: var(--gold); transform: skewX(-19deg); }
ol.article-list { counter-reset: al; }
ol.article-list li { counter-increment: al; padding-left: 40px; }
ol.article-list li::before { content: counter(al); top: 2px; width: 26px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--deep-emerald); transform: none; clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }

/* Key points and contents */
.keypoints { margin: 0 0 28px; padding: 26px 28px; background: var(--mint); border: 1px solid var(--sage-border); border-left: 3px solid var(--gold); border-radius: var(--radius); }
.keypoints .viz-kicker { margin-bottom: 12px; }
.keypoints ul { margin: 0; }
.keypoints li { margin-bottom: 8px; color: var(--ink); font-size: 15px; }
.keypoints li:last-child { margin-bottom: 0; }
.toc { margin: 0 0 12px; padding: 22px 28px; border: 1px solid var(--sage-border); border-radius: var(--radius); }
.toc ol { list-style: none; counter-reset: toc; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; margin: 10px 0 0; }
.toc li { counter-increment: toc; display: flex; gap: 10px; align-items: baseline; font-size: 14px; line-height: 1.45; }
.toc li::before { content: counter(toc, decimal-leading-zero); flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.toc a { color: var(--deep-emerald); font-weight: 500; }
.toc a:hover { color: var(--gold-ink); }
@media (max-width: 640px) { .toc ol { grid-template-columns: 1fr; } .keypoints, .toc { padding: 20px; } }

/* Pull-out callout on emerald glow */
.callout { position: relative; overflow: hidden; margin: 32px 0; padding: 30px 32px; border-radius: var(--radius); background: var(--glow); color: var(--white); }
.callout::after { content: ''; position: absolute; right: -40px; top: -30px; width: 200px; aspect-ratio: 27.35 / 25.43; background: url(/assets/flofund-mark.svg) no-repeat center / contain; opacity: 0.08; pointer-events: none; }
.callout p { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,0.86); font-size: 15px; }
.callout .callout-big { margin-bottom: 10px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--white); }
.callout .callout-big em { font-style: normal; color: var(--gold); }

/* Infographic frame */
.ig { margin: 32px 0 36px; padding: 28px 30px; background: var(--white); border: 1px solid var(--sage-border); border-radius: var(--radius); }
.ig-dark { background: var(--glow); border-color: transparent; }
.ig-dark .viz-kicker { color: var(--gold); }
.ig-dark .viz-title { color: var(--white); }
.ig-dark .viz-note { color: rgba(255,255,255,0.65); }
.ig .viz-note { margin-top: 18px; font-size: 12.5px; line-height: 1.55; }
@media (max-width: 600px) { .ig { padding: 22px 18px; } }

/* Security ladder: strength meter per type */
.ig-ladder { list-style: none; margin: 0; }
.ig-ladder li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 4px 20px; align-items: start; padding: 16px 0; border-top: 1px solid var(--sage-border); margin: 0; }
.ig-ladder li:first-child { border-top: none; padding-top: 4px; }
.ig-meter { display: flex; gap: 4px; padding-top: 5px; }
.ig-meter i { width: 14px; height: 18px; background: var(--sage-border); transform: skewX(-19deg); }
.ig-meter i.on { background: var(--gold); }
.ig-meter.is-pg i.on { background: var(--deep-gold); }
.ig-ladder h4 { margin: 0 0 2px; font-size: 15.5px; color: var(--deep-emerald); }
.ig-ladder p { margin: 0; font-size: 13.5px; line-height: 1.55; }
.ig-ladder .ig-where { display: inline-block; margin-top: 6px; padding: 2px 9px; border-radius: 4px; background: var(--mint); font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--deep-emerald); }
.ig-ladder .is-flag .ig-where { background: rgba(244,180,20,0.18); color: var(--gold-ink); }
.ig-ladder-key { display: flex; justify-content: space-between; margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
@media (max-width: 520px) { .ig-ladder li { grid-template-columns: 1fr; } }

/* Two enforcement roads to the same front door */
.ig-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.ig-lane-head { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid rgba(255,255,255,0.14); }
.ig-lane-head b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--white); }
.ig-lane-head span { font-size: 12.5px; color: rgba(255,255,255,0.65); }
.ig-lane ol { list-style: none; margin: 0; }
.ig-lane li { position: relative; margin: 0; padding: 0 0 18px 34px; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,0.86); }
.ig-lane li::before { content: ''; position: absolute; left: 2px; top: 3px; width: 14px; height: 14px; border: 2px solid var(--gold); background: var(--deep-emerald); transform: skewX(-19deg); z-index: 1; }
.ig-lane li:not(:last-child)::after { content: ''; position: absolute; left: 9px; top: 18px; bottom: 0; width: 2px; background: rgba(244,180,20,0.45); transform-origin: 50% 0; }
.ig-lane li small { display: block; font-size: 11.5px; color: rgba(255,255,255,0.55); }
.ig-lane li.ig-home { padding-bottom: 0; }
.ig-lane li.ig-home::before { content: none; }
.ig-home-chip { display: inline-flex; align-items: center; gap: 10px; margin-left: -34px; padding: 10px 16px; border-radius: 6px; background: var(--gold); color: var(--midnight); font-weight: 600; font-size: 14px; }
.ig-home-chip svg { flex-shrink: 0; }
@media (max-width: 680px) { .ig-paths { grid-template-columns: 1fr; gap: 36px; } }

/* Stacked property value: who is repaid first */
.ig-stack { position: relative; padding-top: 30px; }
.ig-stack-bar { position: relative; display: flex; height: 64px; border-radius: 6px; overflow: hidden; background: var(--mint); }
.ig-seg { display: flex; flex-direction: column; justify-content: center; width: var(--w); padding: 0 12px; font-size: 11.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; }
.ig-seg b { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.ig-seg-1 { background: var(--deep-emerald); color: rgba(255,255,255,0.8); }
.ig-seg-1 b { color: var(--white); }
.ig-seg-2 { background: var(--gold); color: var(--midnight); }
.ig-seg-3 { background: repeating-linear-gradient(-71deg, var(--mint) 0 6px, #E4ECE8 6px 12px); color: var(--deep-emerald); }
.ig-mark { position: absolute; top: 0; bottom: -8px; left: var(--at); width: 2px; background: var(--gold-ink); z-index: 2; }
.ig-mark em { position: absolute; top: 0; right: 6px; font-style: normal; font-size: 11px; font-weight: 600; color: var(--gold-ink); white-space: nowrap; line-height: 1.2; }
.ig-mark.is-left em { right: auto; left: 6px; }
.ig-mark.is-soft { background: var(--slate); }
.ig-mark.is-soft em { color: var(--slate); }
.ig-legend { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 20px 0 0; }
.ig-legend li { display: flex; gap: 10px; margin: 0; font-size: 13px; line-height: 1.45; color: var(--slate); }
.ig-legend li b { display: block; color: var(--deep-emerald); font-weight: 600; }
.ig-legend .sw { flex-shrink: 0; width: 14px; height: 14px; margin-top: 3px; transform: skewX(-19deg); }
.sw-1 { background: var(--deep-emerald); } .sw-2 { background: var(--gold); } .sw-3 { background: #DCE6E1; }
@media (max-width: 640px) {
  .ig-legend { grid-template-columns: 1fr; }
  .ig-seg { padding: 0 8px; }
  .ig-seg span { display: none; }
  .ig-seg b { font-size: 13px; }
}

/* Simplified insolvency queue */
.ig-queue { list-style: none; margin: 0; }
.ig-queue li { display: flex; align-items: center; gap: 14px; margin: 0 0 8px calc(var(--i) * 3.2%); padding: 12px 16px; border-radius: 6px; background: var(--mint); border: 1px solid var(--sage-border); font-size: 13.5px; line-height: 1.4; color: var(--slate); }
.ig-queue li b { color: var(--deep-emerald); font-weight: 600; }
.ig-queue .q-num { flex-shrink: 0; width: 34px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; background: var(--deep-emerald); color: var(--white); clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.ig-queue li.is-secured { background: var(--deep-emerald); border-color: var(--deep-emerald); color: rgba(255,255,255,0.78); }
.ig-queue li.is-secured b { color: var(--white); }
.ig-queue li.is-secured .q-num { background: var(--gold); color: var(--midnight); }
.ig-queue li.is-flag { border: 1.5px dashed var(--gold-ink); background: rgba(244,180,20,0.10); }
.ig-queue li.is-flag .q-num { background: var(--gold-ink); }
.ig-queue .q-side { margin-left: auto; padding-left: 10px; font-size: 11.5px; font-weight: 600; color: var(--gold-ink); text-align: right; }
@media (max-width: 600px) { .ig-queue li { margin-left: 0; flex-wrap: wrap; } .ig-queue .q-side { margin-left: 48px; padding-left: 0; text-align: left; } }

/* What a personal guarantee can reach */
.ig-reach { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: center; }
.ig-reach-src { position: relative; padding: 20px; border-radius: 6px; background: var(--deep-emerald); color: rgba(255,255,255,0.75); font-size: 12.5px; line-height: 1.45; }
.ig-reach-src b { display: block; margin-bottom: 4px; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--white); }
.ig-reach-src::after { content: 'PG'; position: absolute; right: -18px; top: 50%; translate: 0 -50%; width: 40px; height: 26px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; background: var(--gold); color: var(--midnight); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.ig-reach-tiles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.ig-reach-tiles li { margin: 0; padding: 14px 16px; border: 1.5px solid var(--gold); border-radius: 6px; background: rgba(244,180,20,0.07); font-size: 13px; line-height: 1.45; color: var(--slate); }
.ig-reach-tiles li b { display: block; color: var(--deep-emerald); font-size: 14px; font-weight: 600; }
.ig-reach-vs { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 6px; background: var(--mint); font-size: 13px; color: var(--ink); }
.ig-reach-vs::before { content: ''; flex-shrink: 0; width: 10px; height: 10px; background: var(--deep-emerald); transform: skewX(-19deg); }
@media (max-width: 640px) {
  .ig-reach { grid-template-columns: 1fr; }
  .ig-reach-src::after { right: 50%; top: auto; bottom: -16px; translate: 50% 0; }
  .ig-reach-tiles { grid-template-columns: 1fr; margin-top: 8px; }
}

/* Comparison table */
.ig-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ig-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 13.5px; line-height: 1.45; }
.ig-table th, .ig-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--sage-border); }
.ig-table thead th { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--deep-emerald); border-bottom: 2px solid var(--deep-emerald); }
.ig-table thead th.is-hl { border-bottom-color: var(--gold); }
.ig-table tbody th { width: 26%; font-weight: 600; color: var(--deep-emerald); }
.ig-table td { color: var(--slate); }
.pill { display: inline-block; margin-bottom: 4px; padding: 2px 9px; border-radius: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; }
.pill-warn { background: var(--gold); color: var(--midnight); }
.pill-ok { background: var(--mint); color: var(--deep-emerald); border: 1px solid var(--sage-border); }
.pill-dark { background: var(--deep-emerald); color: var(--white); }

/* Daily deductions vs one monthly instalment */
.ig-cal-row { margin-bottom: 20px; }
.ig-cal-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; font-size: 13px; color: rgba(255,255,255,0.75); }
.ig-cal-head b { color: var(--white); font-weight: 600; }
.ig-cal-head .ig-cal-total { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--gold-light); }
.ig-days { display: grid; grid-template-columns: repeat(21, minmax(0, 1fr)); gap: 4px; }
.ig-day { height: 34px; border-radius: 3px; background: rgba(255,255,255,0.07); }
.ig-day.hit { background: var(--gold); }
.ig-day.big { background: var(--gold); box-shadow: inset 0 0 0 2px var(--gold-light); }
.ig-days-scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: rgba(255,255,255,0.5); }
.ig-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.ig-fig { display: flex; flex-direction: column-reverse; gap: 6px; padding: 16px 18px; border-radius: var(--radius); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-left: 3px solid var(--gold); }
.ig-fig b { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 3vw, 30px); line-height: 1; letter-spacing: -0.02em; color: var(--gold-light); }
.ig-fig span { font-size: 12px; line-height: 1.4; color: rgba(255,255,255,0.75); }
.ig-fig.is-light { background: var(--mint); border-color: var(--sage-border); border-left-color: var(--gold); }
.ig-fig.is-light b { color: var(--deep-emerald); }
.ig-fig.is-light span { color: var(--slate); }
@media (max-width: 640px) { .ig-figs { grid-template-columns: 1fr; } .ig-days { gap: 2px; } .ig-day { height: 26px; } }

/* Affordability cover */
.ig-cover { list-style: none; margin: 0; }
.ig-cover li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 96px; gap: 14px; align-items: center; margin: 0 0 12px; font-size: 13px; }
.ig-cover-label { font-weight: 600; color: var(--deep-emerald); line-height: 1.3; }
.ig-cover-label small { display: block; font-weight: 400; color: var(--slate); }
.ig-cover-track { position: relative; height: 22px; border-radius: 3px; background: var(--mint); }
.ig-cover-fill { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px; background: var(--deep-emerald); transform-origin: 0 50%; }
.ig-cover li.is-gold .ig-cover-fill { background: var(--gold); }
.ig-cover-band { position: absolute; top: -6px; bottom: -6px; left: var(--a); width: var(--b); background: repeating-linear-gradient(-71deg, rgba(244,180,20,0.22) 0 5px, rgba(244,180,20,0.08) 5px 10px); border-left: 2px solid var(--gold-ink); border-right: 2px solid var(--gold-ink); }
.ig-cover-val { text-align: right; font-weight: 600; color: var(--deep-emerald); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .ig-cover li { grid-template-columns: minmax(0, 1fr) auto; } .ig-cover-track { grid-column: 1 / -1; grid-row: 2; } }

/* Article end: CTA, disclaimer, related */
.article-cta { position: relative; overflow: hidden; margin: 48px 0 24px; padding: 34px 32px; border-radius: var(--radius); background: var(--glow); }
.article-cta::after { content: ''; position: absolute; right: -50px; bottom: -60px; width: 240px; aspect-ratio: 27.35 / 25.43; background: url(/assets/flofund-mark.svg) no-repeat center / contain; opacity: 0.08; pointer-events: none; }
.article-cta h2 { margin: 0 0 10px !important; color: var(--white); font-size: 1.5rem !important; }
.article-cta p { position: relative; z-index: 1; color: rgba(255,255,255,0.82); }
.article-cta .btns { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.article-disclaimer { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--sage-border); font-size: 12.5px !important; line-height: 1.6 !important; color: var(--slate); }
.article-faq { margin-top: 12px; }
.article-faq .faq-q { font-size: 15px; }
.related-section { padding: 40px 0 88px; }
.related-section h2 { margin-bottom: 24px; font-size: 1.6rem; }

/* Blog cards with a glow header */
.blog-grid .blog-card { display: flex; flex-direction: column; overflow: hidden; }
.blog-card .btn { margin-top: auto; align-self: flex-start; }
.blog-card p { margin-bottom: 22px; }
.blog-card-art { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; margin: -28px -28px 22px; padding: 22px 24px; background: var(--glow); }
.blog-card-art::after { content: ''; position: absolute; right: -24px; top: -20px; width: 150px; aspect-ratio: 27.35 / 25.43; background: url(/assets/flofund-mark.svg) no-repeat center / contain; opacity: 0.08; transition: transform .6s var(--ease); }
.blog-card:hover .blog-card-art::after { transform: translateX(-8px) rotate(-4deg); }
.blog-card-art small { position: relative; z-index: 1; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.blog-card-art b { position: relative; z-index: 1; margin-top: 4px; font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.05; letter-spacing: -0.02em; color: var(--white); }
.blog-card-art b em { font-style: normal; color: var(--gold); }
.blog-card-art .bca-bar { position: relative; z-index: 1; display: flex; height: 8px; margin-top: 14px; border-radius: 2px; overflow: hidden; background: rgba(255,255,255,0.10); }
.blog-card-art .bca-bar i { display: block; width: var(--w); background: var(--c, var(--gold)); }
.blog-card-meta { margin-bottom: 8px; font-size: 12px; color: var(--slate); }
.blog-grid .blog-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0 36px; }
.blog-card-featured .blog-card-art { min-height: 280px; margin: -28px 0 -28px -28px; padding: 32px; }
.blog-card-featured .blog-card-art b { font-size: clamp(34px, 4vw, 48px); }
.blog-card-featured .blog-card-body { display: flex; flex-direction: column; padding: 8px 0; }
.blog-card-featured h3 { font-size: 1.5rem; }
.blog-card-featured p { font-size: 14.5px; }
@media (max-width: 900px) {
  .blog-grid .blog-card-featured { grid-template-columns: 1fr; }
  .blog-card-featured .blog-card-art { min-height: 200px; margin: -28px -28px 22px; }
}

/* Motion for the article infographics */
@media (prefers-reduced-motion: no-preference) {
  html.js .ig:not(.in-view) .ig-ladder .ig-meter i.on { background: var(--sage-border); }
  .ig-meter i { transition: background .35s var(--ease); }
  .ig-ladder li:nth-child(2) .ig-meter i { transition-delay: .25s; }
  .ig-ladder li:nth-child(3) .ig-meter i { transition-delay: .5s; }
  .ig-ladder li:nth-child(4) .ig-meter i { transition-delay: .75s; }
  .ig-ladder li:nth-child(5) .ig-meter i { transition-delay: 1s; }
  .ig-ladder li:nth-child(6) .ig-meter i { transition-delay: 1.25s; }
  html.js .ig:not(.in-view) .ig-ladder li { opacity: 0; transform: translateY(10px); }
  .ig-ladder li { transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * .25s); }

  html.js .ig:not(.in-view) .ig-paths .ig-lane li { opacity: 0; transform: translateY(8px); }
  html.js .ig:not(.in-view) .ig-paths .ig-lane li::after { transform: scaleY(0); }
  .ig-lane li { transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i) * .38s); }
  .ig-lane li::after { transition: transform .38s linear; transition-delay: calc(var(--i) * .38s + .2s); }
  .ig.in-view .ig-home-chip { animation: snoozePulse 1.6s var(--ease) 2; animation-delay: calc(var(--i) * .38s + .3s); }

  html.js .ig-stack:not(.in-view) .ig-seg { clip-path: inset(0 100% 0 0); }
  .ig-seg { clip-path: inset(0 0 0 0); transition: clip-path .8s var(--ease); transition-delay: calc(var(--i) * .5s); }
  html.js .ig-stack:not(.in-view) .ig-mark { opacity: 0; }
  .ig-mark { transition: opacity .5s var(--ease) 1.6s; }

  html.js .ig:not(.in-view) .ig-queue li { opacity: 0; transform: translateX(-14px); }
  .ig-queue li { transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i) * .2s); }

  html.js .ig:not(.in-view) .ig-reach .ig-reach-tiles li { opacity: 0; transform: scale(.94); border-color: var(--sage-border); }
  .ig-reach-tiles li { transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .6s var(--ease); transition-delay: calc(.3s + var(--i) * .22s); }

  html.js .ig-cal:not(.in-view) .ig-day.hit, html.js .ig-cal:not(.in-view) .ig-day.big { transform: scaleY(0); }
  .ig-day { transform-origin: 50% 100%; transition: transform .35s var(--ease); transition-delay: calc(var(--i) * 45ms); }
  .ig-cal-row + .ig-cal-row .ig-day { transition-delay: calc(1.1s + var(--i) * 45ms); }

  html.js .ig:not(.in-view) .ig-cover .ig-cover-fill { transform: scaleX(0); }
  .ig-cover-fill { transition: transform 1s var(--ease); transition-delay: calc(var(--i) * .3s); }
  html.js .ig:not(.in-view) .ig-cover .ig-cover-band { opacity: 0; }
  .ig-cover-band { transition: opacity .6s var(--ease) .9s; }

  html.js .ig-compare:not(.in-view) tbody tr { opacity: 0; transform: translateY(6px); }
  .ig-compare tbody tr { transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .ig-compare tbody tr:nth-child(2) { transition-delay: .12s; } .ig-compare tbody tr:nth-child(3) { transition-delay: .24s; }
  .ig-compare tbody tr:nth-child(4) { transition-delay: .36s; } .ig-compare tbody tr:nth-child(5) { transition-delay: .48s; }
  .ig-compare tbody tr:nth-child(6) { transition-delay: .6s; } .ig-compare tbody tr:nth-child(7) { transition-delay: .72s; }
}
.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; }
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--gold-ink); }
.faq-q h3 { font-family: inherit; line-height: inherit; }

/* ================================================
   PRODUCT HERO: repayment clock with a snoozed month
   and the top-up point, plus a top-up breakdown bar
   ================================================ */
.product-hero::after { opacity: 0.04; }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.product-hero-art { margin: 0; max-width: 500px; width: 100%; justify-self: end; }
.product-hero-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.product-hero-art svg text { font-family: var(--font-body); }
.product-hero-art figcaption { margin-top: 12px; font-size: 11.5px; text-align: center; color: rgba(255,255,255,0.55); }
.rc-fill { fill: #F4B414; }
.rc-cap { fill: #F6C343; fill-opacity: 0.55; }
.rc-seg-snooze { fill: rgba(244,180,20,0.06); stroke: #F6C343; stroke-width: 1.5; stroke-dasharray: 5 4; }
.rc-pause { fill: #F6C343; }
.rc-seg-end { fill: #F5F8F6; }
.rc-figure { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; fill: #F6C343; }
.rc-sub { font-size: 11.5px; fill: rgba(255,255,255,0.72); }
.rc-num { font-size: 11px; font-weight: 500; fill: rgba(255,255,255,0.5); }
.rc-num-hl { fill: #F6C343; font-weight: 600; }
.rc-chip-t { font-size: 12px; font-weight: 600; fill: #0C2A24; }
.rc-chip-s { font-size: 10.5px; fill: #4F5E59; }
.rc-light.rc-chip-t { fill: #FFFFFF; }
.rc-light.rc-chip-s { fill: rgba(255,255,255,0.7); }
.rc-flag { filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)); }
.rc-seg, .rc-flag { transform-box: fill-box; transform-origin: center; }

@media (max-width: 900px) {
  .product-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-hero-art { justify-self: center; }
}
@keyframes rcPop { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
@keyframes snoozeBlink { 50% { fill: rgba(244,180,20,0.28); } }
@keyframes rcGrow { from { transform: scaleX(0); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .rc-seg { animation: rcPop .4s var(--ease) both; animation-delay: calc(.5s + var(--i) * .26s); }
  .rc-seg-snooze { animation: rcPop .4s var(--ease) both, snoozeBlink 1.4s ease-in-out 2; animation-delay: calc(.5s + var(--i) * .26s), 2.4s; }
  .rc-flag { animation: artFloatIn .7s var(--ease) both; }
  .rc-flag-topup { animation-delay: 1.6s; }
  .rc-flag-snooze { animation-delay: 2.1s; }
  .rc-flag-end { animation-delay: 4s; }
}

/* ================================================
   MODERN ROUNDED LAYER
   Pill-shaped navigation and softer, rounder
   components across the whole site.
   ================================================ */
:root { --radius: 16px; --radius-sm: 12px; }

/* Navigation: links grouped inside a slim rounded pill, CTA separate */
#navbar .container { max-width: 1260px; }
.nav-links { gap: 14px; padding: 0; margin-left: 24px; background: none; border: none; border-radius: 0; box-shadow: none; }
.nav-pill { display: flex; align-items: center; gap: 0; padding: 4px; border-radius: 999px; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.10); }
.nav-link { padding: 7px 12px; border-radius: 999px; font-size: 13.5px; line-height: 1.2; transition: background .2s, color .2s; }
.nav-link:hover { background: rgba(255,255,255,0.07); color: var(--white); }
.nav-link.active { background: rgba(255,255,255,0.11); color: var(--gold); box-shadow: none; }
.nav-link.active::after { content: none; }
.nav-cta { margin-left: 0; padding: 10px 20px; border-radius: 999px; font-size: 13.5px; line-height: 1.2; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(244,180,20,0.8); }
@media (max-width: 1240px) { .nav-link { padding: 7px 9px; font-size: 13px; } .nav-links { gap: 10px; margin-left: 16px; } }
.mobile-menu.open { margin: 8px 12px 0; border-radius: 20px; border: 1px solid rgba(255,255,255,0.12); border-bottom: 1px solid rgba(255,255,255,0.12); box-shadow: 0 20px 40px -16px rgba(0,0,0,0.5); }
.mobile-link { border-radius: 999px; }
.nav-burger { padding: 10px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.18); }

/* Buttons and small controls */
.btn, .btn-dark { border-radius: 999px; }
.trust-chip, .ff-chips span, .sector-label, .ig-where, .ig-home-chip { border-radius: 999px; }
.calc-toggle { border-radius: 999px; }
.calc-toggle button { border-radius: 999px; }
.faq-icon, .contact-icon { border-radius: 50%; }
#backTop { border-radius: 50%; }

/* Form fields */
.form-field input, .form-field select, .form-field textarea { border-radius: var(--radius-sm); }
.form-msg, .doc-list li { border-radius: var(--radius-sm); }

/* Inner panels and visual blocks */
.ff-month, .calc-split, .split-bar, .repay-formula, .sec-ltv,
.ig-stack-bar, .ig-queue li, .ig-reach-src, .ig-reach-tiles li { border-radius: var(--radius-sm); }
.rate-bar-track, .rate-bar-fill { border-radius: 999px; }
#cookieBanner { border-radius: 20px; }
.hero-art, .sme-art { border-radius: var(--radius); }

/* Cookie consent: banner is revealed by site.js only when a choice is needed */
#cookieBanner[hidden] { display: none; }
.footer-link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; text-align: left; }
.cookie-table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 13px; }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(12,42,36,0.12); }
.cookie-table th { color: var(--navy); font-weight: 600; }
.cookie-table td { color: var(--text-muted); line-height: 1.55; }
.cookie-table code { font-size: 12px; }

/* ================================================
   BROKER CALLS TO ACTION
   Two clear routes everywhere: Register as a broker (secondary), Submit a case (primary, gold).
   ================================================ */
.nav-ctas { display: flex; align-items: center; gap: 8px; margin-left: auto; padding-left: 16px; }
.nav-cta-secondary { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.6); padding: 8.5px 18px; }
.nav-cta-secondary:hover { background: rgba(255,255,255,0.08); border-color: var(--white); color: var(--white); box-shadow: none; }
.nav-burger { margin-left: 12px; }
.mobile-ctas { display: grid; gap: 10px; padding: 4px 0 14px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.mobile-ctas .btn { justify-content: center; width: 100%; }
@media (max-width: 1199px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu.open { display: block; position: absolute; top: 100%; left: 0; right: 0; padding: 16px; z-index: 999; }
  .mobile-link { display: block; padding: 12px 16px; color: rgba(255,255,255,0.85); font-size: 15px; cursor: pointer; }
  .mobile-link:hover { background: rgba(255,255,255,0.08); color: var(--white); }
}
@media (min-width: 761px) { .mobile-ctas { display: none; } }
@media (max-width: 760px) { .nav-ctas { display: none; } }

.refi-box > .refi-box-btns { flex: 0 0 auto; display: flex; gap: 12px; flex-wrap: wrap; }

.broker-path { padding-top: 0; }
.broker-path-box { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 40px; align-items: center; padding: 44px; border-radius: var(--radius); border-left: 3px solid var(--gold); background: linear-gradient(160deg, var(--emerald-mid) 0%, var(--deep-emerald) 55%, var(--midnight) 100%); }
.broker-path-intro h2 { color: var(--white); margin-bottom: 12px; }
.broker-path-intro p { color: rgba(255,255,255,0.82); margin: 0; }
.broker-path .tag { color: var(--gold); }
.broker-path-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.broker-path-step { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); }
.broker-path-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 14px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.6); color: var(--white); font-weight: 600; font-size: 14px; }
.broker-path-step h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 8px; }
.broker-path-step p { color: rgba(255,255,255,0.78); font-size: 14px; margin: 0 0 20px; flex: 1; }
@media (max-width: 900px) { .broker-path-box { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; } }
@media (max-width: 640px) { .broker-path-steps { grid-template-columns: 1fr; } .broker-path-step .btn { width: 100%; justify-content: center; } }
