/* Dream Credit design system. Tokens come from the logo: deep navy + antique gold. (Token names say orange for history; the values are gold.) */
:root {
  --navy-950: #00152b;
  --navy-900: #001e3a;
  --navy-800: #001e3a;
  --navy-700: #001e3a;
  --blue-100: #ece4cb;
  --blue-50: #f7f1d9;
  --orange-600: #8a7050;
  --orange-500: #a98c69;
  --orange-400: #b8956b;
  --amber-400: #c4a37c;
  --red-500: #ff4b0a;
  --orange-50: #f5eedb;
  --ink: #131f22;
  --muted: #5a6468;
  --line: #e7deC3;
  --bg: #f6f1dc;
  --white: #fff;
  --green: #0f9d6b;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0, 30, 58, 0.05), 0 4px 14px rgba(0, 30, 58, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 30, 58, 0.09);
  --shadow-lg: 0 24px 60px rgba(0, 30, 58, 0.16);
  --matte-gold: #b8956b;
  --matte-gold-hover: #947a59;
  --grad-gold: linear-gradient(135deg, #947a59 0%, #c4a37c 55%, #d2b890 100%);
  --grad-gold-hover: linear-gradient(135deg, #a98c69 0%, #c9ab82 55%, #dcc29c 100%);
  --grad-gold-btn: linear-gradient(180deg, #cdb185 0%, #b9996f 50%, #a98c69 100%);
  --grad-gold-btn-hover: linear-gradient(180deg, #d6bd96 0%, #bf9f76 50%, #ad8f68 100%);
  --shine-shadow: 0 6px 16px rgba(148, 122, 89, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  --grad-navy: linear-gradient(145deg, #00152b 0%, #001e3a 55%, #001e3a 100%);

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: #fffeec;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-800); text-decoration: none; }
a:hover { color: var(--orange-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy-900); color: #fff; padding: 10px 18px; border-radius: var(--r-pill); z-index: 200; }
.skip:focus { left: 8px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--bg); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 0.78rem/1 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange-600); background: var(--orange-50);
  padding: 8px 14px; border-radius: var(--r-pill); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-gold); }
.lead { font-size: 1.12rem; color: var(--muted); }

/* Icons */
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-lg { width: 26px; height: 26px; }
.ic-sm { width: 18px; height: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 0.96rem/1 var(--font-head);
  padding: 16px 28px; border-radius: var(--r-pill);
  border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy-800); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--navy-950); color: #fff; }
/* Shiny gold accent. background-origin keeps the gradient continuous under the 2px transparent border (no seam). */
.btn-accent { background: var(--grad-gold-btn); background-origin: border-box; color: var(--navy-950); box-shadow: var(--shine-shadow); }
.btn-accent:hover { background: var(--grad-gold-btn-hover); background-origin: border-box; color: var(--navy-950); box-shadow: 0 10px 22px rgba(148, 122, 89, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-ghost { background: #fff; color: var(--navy-800); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy-800); color: var(--navy-800); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { color: var(--navy-900); box-shadow: var(--shadow-md); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: #fff; }
.btn-sm { padding: 12px 22px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 0.92rem/1 var(--font-head); color: var(--navy-800); }
.link-arrow:hover { color: var(--orange-600); gap: 12px; }

/* Header */
.topbar { background: var(--navy-950); color: #ddd7c0; font-size: 0.84rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--amber-400); }
.topbar-phones { display: inline-flex; align-items: center; gap: 8px; }
.topbar-phones span { color: #fff; margin-left: -8px; margin-right: -4px; }
.topbar .group { display: flex; gap: 22px; flex-wrap: wrap; }
.menu-partner { display: none; }
.topbar-powered b { color: #fff; font-family: var(--font-head); font-weight: 600; letter-spacing: 0.02em; }
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 254, 236, 0.94); backdrop-filter: saturate(1.4) blur(14px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy-900); }
.brand img { width: 60px; height: 60px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 700 1.3rem/1 var(--font-head); letter-spacing: -0.02em; color: var(--navy-900); }
.brand-name span { color: var(--orange-500); }
.brand-sub { white-space: nowrap; font: 500 0.66rem/1 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.site-header .brand, .nav-cta { flex: none; }
.nav-cta .btn, .menu > li > a, .menu > li > button { white-space: nowrap; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  display: inline-flex; align-items: center; gap: 6px; font: 500 0.92rem/1 var(--font-head); color: var(--ink);
  padding: 12px 10px; border-radius: var(--r-pill); background: none; border: 0; cursor: pointer;
}
.menu > li > a:hover, .menu > li > button:hover, .menu a[aria-current="page"] { background: var(--blue-50); color: var(--navy-800); }
.menu .ic { width: 14px; height: 14px; transition: transform 0.2s; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; padding: 10px; list-style: none; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.2s ease;
}
.has-sub:hover .dropdown, .has-sub:focus-within .dropdown, .has-sub.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover > button .ic, .has-sub.open > button .ic { transform: rotate(180deg); }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-md); color: var(--ink); font: 500 0.9rem/1.2 var(--font-head); }
.dropdown a:hover { background: var(--blue-50); color: var(--navy-800); }
.dropdown .tile { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--blue-50); color: var(--navy-800); display: grid; place-items: center; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .btn-sm { padding: 11px 16px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; color: var(--navy-900); cursor: pointer; place-items: center; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1000px 500px at 85% -10%, #f4ebcf 0%, transparent 60%), #fffeec; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.hero h1 em { white-space: nowrap; font-style: normal; color: var(--orange-500); }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 10px 16px; border-radius: var(--r-pill); font: 500 0.84rem/1 var(--font-head); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.chip .ic { color: var(--orange-500); width: 18px; height: 18px; }

.hero-visual { position: relative; padding: 20px 0 30px; }
.panel { background: var(--grad-navy); border-radius: var(--r-xl); padding: 30px; color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.panel::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(169, 140, 105, 0.2); }
.panel-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; position: relative; z-index: 1; }
.panel-top span { font: 500 0.82rem/1 var(--font-head); color: #d4cdb4; }
.pill-live { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.12); padding: 7px 12px; border-radius: var(--r-pill); font: 500 0.76rem/1 var(--font-head); }
.pill-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; }
.panel-amount { font: 700 2.5rem/1 var(--font-head); letter-spacing: -0.02em; position: relative; z-index: 1; }
.panel-amount small { display: block; font: 500 0.8rem/1 var(--font-head); color: #d4cdb4; margin-bottom: 10px; letter-spacing: 0; }
.bars { display: flex; align-items: flex-end; gap: 12px; height: 118px; margin: 26px 0 22px; position: relative; z-index: 1; }
.bars i { flex: 1; border-radius: 12px 12px 6px 6px; background: var(--grad-gold); opacity: 0.95; }
.bars i:nth-child(1) { height: 32%; } .bars i:nth-child(2) { height: 46%; } .bars i:nth-child(3) { height: 40%; } .bars i:nth-child(4) { height: 62%; } .bars i:nth-child(5) { height: 76%; } .bars i:nth-child(6) { height: 100%; }
.panel-rows { display: grid; gap: 10px; position: relative; z-index: 1; }
.panel-row { display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.08); border-radius: var(--r-md); padding: 13px 16px; font-size: 0.88rem; }
.panel-row b { font-family: var(--font-head); font-weight: 600; }
.float-card { position: absolute; background: #fff; border-radius: var(--r-lg); padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; z-index: 2; animation: float 6s ease-in-out infinite; }
.float-card .tile { width: 42px; height: 42px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--orange-50); color: var(--orange-600); }
.float-card.green .tile { background: #e3f7ee; color: var(--green); }
.float-card b { display: block; font: 600 0.9rem/1.2 var(--font-head); color: var(--navy-900); }
.float-card span { font-size: 0.78rem; color: var(--muted); }
.fc-1 { left: -26px; bottom: 56px; }
.fc-2 { right: -10px; top: -22px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Page hero (inner pages) */
.page-hero { background: radial-gradient(900px 420px at 90% -20%, #f4ebcf 0%, transparent 60%), #fffeec; padding: clamp(40px, 6vw, 76px) 0 clamp(44px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero .grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; font-size: 0.86rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #b5ad95; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--orange-600); }
.answer-box { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--orange-500); border-radius: var(--r-lg); padding: 22px 26px; margin: 22px 0 28px; box-shadow: var(--shadow-sm); }
.answer-box p { margin: 0; color: var(--ink); }
.answer-box strong { font-family: var(--font-head); color: var(--navy-900); }
.side-card { background: #fff; border-radius: var(--r-xl); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.side-card h3 { margin-bottom: 16px; }
.mini-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.mini-list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); font-size: 0.94rem; }
.mini-list li:last-child { border: 0; padding: 0; }
.mini-list b { font-family: var(--font-head); font-weight: 600; color: var(--navy-900); text-align: right; }

/* Cards and grids */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; position: relative; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d9cca6; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .link-arrow { margin-top: auto; padding-top: 6px; }
.icon-tile { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--blue-50); color: var(--navy-800); display: grid; place-items: center; margin-bottom: 22px; transition: 0.2s; }
.card:hover .icon-tile { background: var(--grad-gold); color: var(--navy-950); }
.icon-tile.orange { background: var(--orange-50); color: var(--orange-600); }
.card.dark { background: var(--grad-navy); border-color: transparent; color: #fff; }
.card.dark h3 { color: #fff; }
.card.dark p { color: #d6cfb6; }
.card.dark .icon-tile { background: rgba(255, 255, 255, 0.12); color: #fff; }
.card.dark .link-arrow { color: #fff; }
.card.dark:hover .icon-tile { background: var(--grad-gold); color: var(--navy-950); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.tag { font: 500 0.76rem/1 var(--font-head); padding: 7px 12px; border-radius: var(--r-pill); background: var(--blue-50); color: var(--navy-800); }
.card.dark .tag { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Split media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .ic { background: var(--orange-50); color: var(--orange-600); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 2px; stroke-width: 2.4; }
.checks b { font-family: var(--font-head); font-weight: 600; color: var(--navy-900); }
.stat-wall { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.stat:nth-child(2) { transform: translateY(26px); }
.stat:nth-child(4) { transform: translateY(26px); }
.stat.navy { background: var(--grad-navy); color: #fff; border: 0; }
.stat.navy p { color: #d6cfb6; }
.stat b { display: block; font: 700 1.9rem/1.1 var(--font-head); color: var(--navy-900); margin-bottom: 8px; }
.stat.navy b { color: #fff; }
.stat p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; position: relative; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-md); background: var(--grad-gold); color: var(--navy-950); font: 700 1rem/1 var(--font-head); margin-bottom: 18px; }
.step h3 { font-size: 1.04rem; }
.step p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Audience pills */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who-item { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.who-item .icon-tile { margin: 0; flex: none; width: 52px; height: 52px; }
.who-item h3 { font-size: 1.04rem; margin-bottom: 6px; }
.who-item p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 0.82rem/1.3 var(--font-head); text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: var(--navy-800); }
tr:last-child td { border: 0; }
td:first-child { font-family: var(--font-head); font-weight: 600; color: var(--navy-900); }

/* CTA band */
.cta { position: relative; overflow: hidden; background: var(--grad-navy); color: #fff; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 36px; align-items: center; }
.cta::before { content: ""; position: absolute; right: -120px; bottom: -160px; width: 440px; height: 440px; border-radius: 50%; background: rgba(169, 140, 105, 0.2); }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: #d9d3bb; font-size: 1.05rem; margin-bottom: 26px; max-width: 620px; }
.cta > * { position: relative; z-index: 1; }
.cta-side { display: grid; gap: 12px; }
.cta-contact { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r-lg); padding: 16px 18px; color: #fff; }
.cta-contact:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.cta-contact .tile { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--grad-gold); color: var(--navy-950); display: grid; place-items: center; flex: none; }
.cta-contact small { display: block; color: #d4cdb4; font-size: 0.78rem; }
.cta-contact b { font: 600 1rem/1.3 var(--font-head); }
.cta.light { background: var(--orange-50); color: var(--ink); border: 1px solid var(--line); }
.cta.light::before { display: none; }
.cta.light h2 { color: var(--navy-900); }
.cta.light p { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: border-color 0.2s, box-shadow 0.2s; }
.faq details[open] { border-color: #d9cca6; box-shadow: var(--shadow-md); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; font: 600 1.02rem/1.4 var(--font-head); color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--blue-50); color: var(--navy-800); transition: 0.25s; }
.faq details[open] summary .ic { transform: rotate(45deg); background: var(--grad-gold); color: var(--navy-950); }
.faq .ans { padding: 0 26px 24px; color: var(--muted); }
.faq .ans p:last-child { margin-bottom: 0; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-card.compact { padding: 26px; }
.form-card h2, .form-card h3 { margin-bottom: 8px; }
.form-card .sub { color: var(--muted); font-size: 0.94rem; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { font: 500 0.86rem/1.2 var(--font-head); color: var(--navy-900); }
input, select, textarea {
  font: 400 0.96rem/1.3 var(--font-body); color: var(--ink); background: var(--bg); border: 1.5px solid transparent;
  border-radius: var(--r-md); padding: 15px 18px; width: 100%; transition: 0.18s; appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355627a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-800); background: #fff; box-shadow: 0 0 0 4px rgba(0, 30, 58, 0.1); }
input.invalid, select.invalid { border-color: var(--red-500); background: #fff6f2; }
.err { color: #b42a00; font-size: 0.8rem; min-height: 0; display: none; }
.field.has-err .err { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.82rem; color: var(--muted); grid-column: 1 / -1; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy-800); flex: none; padding: 0; }
.form-note { font-size: 0.8rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-status { margin-top: 14px; padding: 14px 18px; border-radius: var(--r-md); font-size: 0.92rem; display: none; }
.form-status.show { display: block; background: #e3f7ee; color: #0a6b49; }
.hp { position: absolute; left: -9999px; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: stretch; }
.calc-inputs { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); display: grid; gap: 28px; }
.range-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; }
.range-head output, .range-head .val, .range-head .val-input { font: 600 1rem/1 var(--font-head); color: var(--navy-900); background: var(--blue-50); padding: 9px 16px; border-radius: var(--r-pill); }
.range-head .val-input { border: 1px solid transparent; text-align: right; width: 6.5em; min-width: 0; margin: 0; }
.range-head .val-input.w-amt { width: 9.5em; }
.range-head .val-input.w-ten { width: 7em; }
.range-head .val-input:focus { outline: 0; background: #fff; border-color: var(--navy-800); box-shadow: 0 0 0 3px rgba(11, 42, 99, 0.12); }
input[type="range"] { padding: 0; height: 8px; border-radius: var(--r-pill); background: linear-gradient(90deg, #947a59 0%, #c4a37c var(--p, 30%), var(--blue-100) var(--p, 30%)); border: 0; cursor: pointer; }
input[type="range"]:focus { box-shadow: none; background: linear-gradient(90deg, #947a59 0%, #c4a37c var(--p, 30%), var(--blue-100) var(--p, 30%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 6px solid var(--navy-800); box-shadow: var(--shadow-md); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid var(--navy-800); }
.calc-result { background: var(--grad-navy); color: #fff; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 22px; position: relative; overflow: hidden; }
.calc-result::after { content: ""; position: absolute; right: -90px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: rgba(169, 140, 105, 0.2); }
.calc-result > * { position: relative; z-index: 1; }
.emi-big small { color: #d4cdb4; font: 500 0.86rem/1 var(--font-head); display: block; margin-bottom: 10px; }
.emi-big b { font: 700 clamp(2.2rem, 5vw, 3.1rem)/1 var(--font-head); letter-spacing: -0.02em; }
.donut { width: 190px; height: 190px; margin: 0 auto; border-radius: 50%; background: conic-gradient(var(--amber-400) var(--deg, 50%), rgba(255, 255, 255, 0.2) 0); display: grid; place-items: center; }
.donut::before { content: ""; width: 128px; height: 128px; border-radius: 50%; background: #0b2a47; grid-area: 1/1; }
.donut span { grid-area: 1/1; z-index: 1; font: 600 0.82rem/1.3 var(--font-head); text-align: center; }
.split-rows { display: grid; gap: 10px; }
.split-rows div { display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.09); border-radius: var(--r-md); padding: 14px 18px; font-size: 0.92rem; }
.split-rows b { font-family: var(--font-head); font-weight: 600; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; background: var(--amber-400); }
.dot.w { background: rgba(255, 255, 255, 0.4); }

/* Prose pages */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prose h3 { margin-top: 1.5em; }
.prose li { margin-bottom: 0.5em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--orange-500); }
.prose .answer-box { margin-top: 0; }
.meta { color: var(--muted); font-size: 0.88rem; display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.callout { background: var(--orange-50); border-radius: var(--r-lg); padding: 22px 26px; margin: 1.6em 0; border: 1px solid #d8c08e; }
.callout p:last-child { margin: 0; }
.doc-block { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.doc-block ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.doc-block li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.doc-block li .ic { color: var(--green); width: 20px; height: 20px; margin-top: 2px; stroke-width: 2.4; }
.post-card .meta { margin-bottom: 14px; }

/* Footer */
.footer { background: var(--navy-950); color: #d4cdb4; padding: 72px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.9fr 0.9fr 1.9fr; gap: 44px; padding-bottom: 52px; }
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 20px; }
.footer a { color: #d4cdb4; }
.footer a:hover { color: var(--amber-400); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 0.92rem; }
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: #a8a089; }
.footer .logo-tile { background: #fff; border-radius: var(--r-md); padding: 5px; }
.footer .logo-tile img { width: 44px; height: 44px; }
.footer p { font-size: 0.92rem; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ic { color: var(--amber-400); margin-top: 3px; width: 18px; height: 18px; }
/* Footer contact list: one icon per row; phones and emails comma-separated on desktop, stacked on mobile */
.footer .contact-list li { align-items: flex-start; }
.footer .contact-list .cl-items { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; row-gap: 4px; }
.footer .contact-list .sep { margin-left: -6px; }
@media (max-width: 640px) {
  .footer .contact-list .cl-items { flex-direction: column; row-gap: 12px; }
  .footer .contact-list .sep { display: none; }
}
.disclosure { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 26px 0; font-size: 0.8rem; color: #a8a089; line-height: 1.7; }
.disclosure p { margin: 0 0 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.84rem; }
.footer-bottom .links { display: flex; gap: 22px; flex-wrap: wrap; }

/* Floating actions */
.fab { position: fixed; right: 18px; bottom: 22px; z-index: 90; display: grid; gap: 12px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); color: #fff; transition: transform 0.2s; }
.fab a:hover { transform: scale(1.08); color: #fff; }
.fab .wa { background: #1faa59; }
.fab .call { background: var(--navy-800); display: none; }
.fab .ic { width: 26px; height: 26px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1240px) {
  .nav-toggle { display: grid; }
  .nav-cta .btn { display: none; }
  .menu { position: fixed; inset: 118px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 20px var(--gutter) 90px; gap: 4px; overflow-y: auto; transform: translateX(100%); transition: transform 0.3s ease; visibility: hidden; }
  .nav-open .menu { transform: none; visibility: visible; }
  .menu > li > a, .menu > li > button { width: 100%; justify-content: space-between; padding: 16px 18px; font-size: 1rem; border-radius: var(--r-md); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 8px; min-width: 0; display: none; }
  .has-sub.open .dropdown { display: block; }
}
@media (max-width: 960px) {
  .hero-grid, .split, .page-hero .grid, .calc, .cta { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .hero-grid { gap: 40px; }
  .g3, .who { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2), .stat:nth-child(4) { transform: none; }
}
@media (max-width: 720px) {
  :root { --gutter: 18px; }
  .topbar .group:last-child { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar .topbar-hours { display: none; }
  .topbar-powered { display: flex !important; }
  .g2, .g3, .g4, .who, .form-grid, .steps, .steps.four { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .brand img { width: 50px; height: 50px; }
  .menu { inset: 118px 0 0 0; }
  .fc-1 { left: -4px; bottom: 20px; }
  .fc-2 { right: -4px; }
  .panel { padding: 22px; }
  .panel-amount { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; }
  .section-head { margin-bottom: 32px; }
  .stat-wall { grid-template-columns: 1fr; }
  th, td { padding: 13px 14px; }
  .btn-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .topbar, .site-header, .fab, .cta, .footer { display: none; } }

/* Additions */
.calc.stack { grid-template-columns: 1fr; }
.calc.stack .calc-inputs, .calc.stack .calc-result { padding: 28px; }
.tbl-note { font-size: 0.86rem; color: var(--muted); margin-top: 14px; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center-btn { display: flex; justify-content: center; margin-top: 36px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.cta .form-card p, .cta .form-card .sub { color: var(--muted); max-width: none; }
.cta .form-card .sub { font-size: 0.94rem; }
.cta .form-card .form-note { font-size: 0.8rem; margin: 14px 0 0; }
.cta .form-card h3 { color: var(--navy-900); }
.cta .form-card a { color: var(--navy-800); text-decoration: underline; }
.consent input[type="checkbox"] { appearance: auto; -webkit-appearance: checkbox; border-radius: 4px; background: none; }

.menu-cta { display: none; }
@media (max-width: 1240px) {
  .menu-partner { display: list-item; }
  .menu-cta { display: grid; gap: 12px; margin-top: 14px; }
  .menu > li.menu-cta > a { justify-content: center; padding: 16px 28px; }
  .menu > li.menu-cta > a.btn-accent:hover { background: var(--grad-gold-btn-hover); background-origin: border-box; color: var(--navy-950); }
  .menu > li.menu-cta > a.btn-ghost:hover { background: #fff; }
}

.fab-label { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: 74px; }
  .fab { left: 0; right: 0; bottom: 0; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 30, 58, 0.1); }
  .fab a { width: auto; height: 50px; border-radius: var(--r-pill); display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: none; font: 600 0.92rem/1 var(--font-head); }
  .fab .call { display: flex; order: 1; }
  .fab .wa { order: 2; }
  .fab .ic { width: 20px; height: 20px; }
  .fab-label { display: inline; }
  .table-wrap table { min-width: 640px; }
}

/* Form redesign */
.consent { display: flex; flex-direction: column; gap: 6px; grid-column: 1 / -1; font-size: 0.82rem; color: var(--muted); }
.consent-row { display: flex; gap: 12px; align-items: flex-start; }
.consent-row label { font: 400 0.82rem/1.55 var(--font-body); color: var(--muted); cursor: pointer; }
.consent-row input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--navy-800); flex: none; padding: 0; }
.form-card.compact { padding: 32px; border-radius: var(--r-xl); }
.form-card.compact h3 { font-size: 1.4rem; }
.form-card.compact .sub { margin-bottom: 20px; }
.form-card.compact .form-grid { gap: 14px; }
.form-card.compact input, .form-card.compact select { padding: 14px 16px; }
.cta.cta-form { grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(32px, 5vw, 64px); }
.cta.cta-form .checks { margin-bottom: 30px; }
.cta.cta-form .checks li { color: #ddd7c1; font-size: 0.96rem; }
.cta.cta-form .checks b { color: #fff; }
.cta.cta-form .checks .ic { background: rgba(255, 255, 255, 0.14); color: var(--amber-400); }
.cta.cta-form h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
@media (max-width: 960px) { .cta.cta-form { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .form-card.compact { padding: 24px; } }
.btn-block { white-space: nowrap; }
@media (max-width: 720px) { .cta.cta-form { padding: 28px 14px; } .cta.cta-form > div:first-child { padding: 0 8px; } .form-card.compact { padding: 22px 18px; } }

/* ===== Hero redesign ===== */
.hx { position: relative; overflow: hidden; padding: clamp(32px, 4.5vw, 64px) 0 clamp(96px, 10vw, 140px); background: radial-gradient(900px 480px at 92% -8%, #f4ebcf 0%, transparent 62%), #fffeec; }
.hx::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(0, 30, 58, 0.09) 1.5px, transparent 1.5px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 100%); mask-image: linear-gradient(100deg, transparent 35%, #000 100%); pointer-events: none; }
.hx-grid { position: relative; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hx-grid.solo { grid-template-columns: 1fr; }
.hx h1 { font-size: clamp(2rem, 3.9vw, 3.1rem); line-height: 1.14; margin-bottom: 0.5em; }
.hx h1 em { font-style: normal; white-space: nowrap; color: var(--orange-500); }
.hx .lead { max-width: 560px; margin-bottom: 28px; }
.hx .answer-box { margin: 4px 0 28px; max-width: 600px; }
.hx .crumbs { margin-bottom: 18px; }
.hx-media { position: relative; padding: 0 0 22px 0; max-width: 560px; width: 100%; justify-self: end; }
.hx-media::before { content: ""; position: absolute; z-index: 0; right: -16px; bottom: 0; width: 78%; height: 82%; border-radius: var(--r-xl); background: var(--grad-gold); }
.hx-media::after { content: ""; position: absolute; z-index: 0; left: -22px; top: -22px; width: 120px; height: 120px; background-image: radial-gradient(var(--navy-800) 2.2px, transparent 2.2px); background-size: 16px 16px; opacity: 0.28; }
.hx-media .frame { position: relative; z-index: 1; aspect-ratio: var(--ratio, 5 / 4.6); border-radius: var(--r-xl); overflow: hidden; background: var(--blue-100); box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.hx-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hx-media .float-card { z-index: 3; }
.hx-media .fc-a { left: -34px; bottom: 54px; }
.hx-media .fc-b { right: -26px; top: 34px; animation-delay: -3s; }

.strip { position: relative; z-index: 5; margin-top: -68px; }
.strip-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 10px; }
.strip-item { display: flex; align-items: center; gap: 14px; padding: 18px 22px; position: relative; }
.strip-item + .strip-item::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.strip-item .tile { width: 46px; height: 46px; flex: none; border-radius: var(--r-md); background: var(--blue-50); color: var(--navy-800); display: grid; place-items: center; }
.strip-item .k { display: block; font: 500 0.74rem/1.2 var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.strip-item b { display: block; font: 600 0.98rem/1.35 var(--font-head); color: var(--navy-900); }
.strip-note { text-align: center; font-size: 0.8rem; color: var(--muted); margin: 14px 0 0; }
.strip + .section { padding-top: clamp(48px, 6vw, 80px); }

/* graphic heroes */
.gx .gx-card { position: relative; z-index: 1; background: #fff; border: 6px solid #fff; border-radius: var(--r-xl); padding: 26px; box-shadow: var(--shadow-lg); }
.gx .gx-card.navy { background: var(--grad-navy); border-color: transparent; color: #fff; overflow: hidden; }
.gx-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font: 500 0.84rem/1 var(--font-head); color: #d4cdb4; }
.gx-top.dark { color: var(--navy-900); font-weight: 600; font-size: 0.98rem; }
.gx-big { font: 700 2.7rem/1 var(--font-head); letter-spacing: -0.02em; margin-bottom: 20px; }
.gx-donut { width: 150px; height: 150px; border-radius: 50%; margin: 0 0 22px; background: conic-gradient(var(--amber-400) 77%, rgba(255, 255, 255, 0.2) 0); display: grid; place-items: center; position: relative; }
.gx-donut::before { content: ""; position: absolute; inset: 20px; border-radius: 50%; background: #0b2a47; }
.gx-donut span { position: relative; font: 600 0.78rem/1.3 var(--font-head); text-align: center; }
.pill-ok { background: #e3f7ee; color: #0a6b49; padding: 7px 12px; border-radius: var(--r-pill); font: 600 0.74rem/1 var(--font-head); }
.gx-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); background: var(--bg); margin-bottom: 10px; }
.gx-row .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.gx-row .tick .ic { width: 15px; height: 15px; stroke-width: 3; }
.gx-row b { flex: 1; font: 500 0.92rem/1.3 var(--font-head); color: var(--navy-900); }
.gx-row em { font-style: normal; font-size: 0.78rem; color: var(--green); font-weight: 600; }
.gx-row.todo .tick { background: #fff; border: 2px dashed #c2b99e; }
.gx-row.todo em { color: var(--orange-600); }
.bubble { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.bubble .tile { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--blue-50); color: var(--navy-800); }
.bubble p { margin: 0; padding: 12px 16px; border-radius: 4px var(--r-lg) var(--r-lg) var(--r-lg); background: var(--bg); font-size: 0.9rem; line-height: 1.55; color: var(--navy-900); }
.bubble.a { flex-direction: row-reverse; }
.bubble.a .tile { background: var(--grad-gold); color: var(--navy-950); }
.bubble.a p { background: var(--navy-800); color: #fff; border-radius: var(--r-lg) 4px var(--r-lg) var(--r-lg); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mini-tile { background: var(--bg); border-radius: var(--r-md); padding: 16px 8px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.mini-tile .tile { width: 42px; height: 42px; border-radius: var(--r-md); background: #fff; color: var(--navy-800); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
a.mini-tile { color: inherit; text-decoration: none; transition: transform 0.16s, box-shadow 0.16s; -webkit-tap-highlight-color: rgba(0, 30, 58, 0.12); }
a.mini-tile:hover, a.mini-tile:active { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.mini-tile b { font: 600 0.74rem/1.25 var(--font-head); color: var(--navy-900); }
.mini-tile.accent { background: var(--grad-gold); }
.mini-tile.accent .tile { color: var(--orange-600); }
.gx-step { display: flex; gap: 16px; align-items: center; padding: 14px 16px; border-radius: var(--r-md); background: var(--bg); margin-bottom: 10px; }
.gx-step .n { width: 38px; height: 38px; border-radius: var(--r-md); background: var(--grad-gold); color: var(--navy-950); font: 700 0.95rem/1 var(--font-head); display: grid; place-items: center; flex: none; }
.gx-step b { display: block; font: 600 0.95rem/1.3 var(--font-head); color: var(--navy-900); }
.gx-step span:not(.n) { font-size: 0.82rem; color: var(--muted); }

@media (max-width: 960px) {
  .hx-grid { grid-template-columns: 1fr; }
  .hx-media { justify-self: center; max-width: 520px; margin: 8px auto 0; }
  .hx-media .fc-a { left: -8px; }
  .hx-media .fc-b { right: -6px; }
  .hx { padding-bottom: 110px; }
}
@media (max-width: 720px) {
  .hx-media::before { right: -8px; }
  .hx-media::after { display: none; }
  .hx-media .frame { border-width: 4px; }
  .hx-media .float-card { padding: 10px 14px; gap: 10px; max-width: calc(100% - 16px); }
  .hx-media .fc-b { right: 8px; }
  .hx-media .float-card .tile { width: 36px; height: 36px; }
  .hx-media .float-card b { font-size: 0.8rem; }
  .hx-media .float-card span:not(.tile) { font-size: 0.7rem; }
  .strip { margin-top: -80px; }
  .strip-card { grid-template-columns: 1fr 1fr; padding: 6px; }
  .strip-item { padding: 14px 12px; gap: 10px; }
  .strip-item + .strip-item::before { display: none; }
  .strip-item .tile { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .gx-big { font-size: 2.2rem; }
}

.hx.hx-flat { padding-bottom: clamp(48px, 6vw, 84px); }
@media (max-width: 720px) { .strip-item { align-items: flex-start; } }

.footer .powered { margin: 16px 0 0; font-size: 0.86rem; color: #a8a089; }
.footer .powered strong { color: #fff; font-family: var(--font-head); font-weight: 600; letter-spacing: 0.02em; }
.office-card { background: var(--grad-navy); color: #fff; border-radius: var(--r-xl); padding: clamp(26px, 4vw, 40px); position: relative; overflow: hidden; }
.office-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(169, 140, 105, 0.2); }
.office-card > * { position: relative; z-index: 1; }
.office-card h3 { color: #fff; margin-bottom: 18px; }
.office-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 16px; }
.office-card li { display: flex; gap: 14px; align-items: flex-start; color: #dcd6c0; font-size: 0.95rem; }
.office-card li .ic { color: var(--amber-400); margin-top: 3px; }
.office-card a { color: #fff; }

/* Parent firm page and "Powered by" links */
.topbar-powered a, .footer .powered a { color: inherit; text-decoration: none; }
.topbar-powered a:hover, .footer .powered a:hover { text-decoration: underline; text-underline-offset: 3px; }
.office-card li b { font-family: var(--font-head); font-weight: 600; color: #fff; }
.hx-media .frame img[src*="nn-kazi-logo-hd"] { object-fit: contain; background: #001e3a; }
.hx-media .frame:has(img[src*="nn-kazi-logo-hd"]) { background: #001e3a; border-color: #b8956b; }

/* Lender strip */
.lenders { padding-block: clamp(48px, 6vw, 72px); }
.lender-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.lender { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 76px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); text-align: left; }
.lender img { max-height: 40px; width: auto; max-width: 100%; object-fit: contain; }
.lender .mono { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-pill); background: var(--blue-50); color: var(--navy-800); font: 700 0.78rem/1 var(--font-head); letter-spacing: 0.02em; }
.lender .nm { font: 600 0.86rem/1.25 var(--font-head); color: var(--navy-900); }
.lender.more { background: var(--orange-50); border-style: dashed; }
.lender.more .nm { color: var(--orange-600); }
@media (max-width: 1080px) { .lender-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .lender-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .lender { padding: 10px; min-height: 66px; } .lender .mono { width: 32px; height: 32px; } }

/* Journey pop-up */
body.jp-lock { overflow: hidden; }
.jp { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity 0.22s ease; }
.jp.open { opacity: 1; }
.jp-backdrop { position: absolute; inset: 0; background: rgba(0, 21, 43, 0.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.jp-card { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 22px clamp(20px, 4vw, 32px) 26px; transform: translateY(14px) scale(0.98); transition: transform 0.26s ease; outline: none; }
.jp.open .jp-card { transform: none; }
.jp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.jp-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.jp-brand img { border-radius: 10px; flex: none; }
.jp-brand b { display: block; font: 600 0.98rem/1.2 var(--font-head); color: var(--navy-900); }
.jp-brand span { display: block; font-size: 0.8rem; color: var(--muted); }
.jp-close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg); color: var(--navy-800); display: grid; place-items: center; cursor: pointer; transition: 0.18s; }
.jp-close:hover { background: var(--blue-100); }
.jp-close .ic { width: 20px; height: 20px; transform: rotate(45deg); }
.jp-bar { height: 6px; border-radius: var(--r-pill); background: var(--blue-100); overflow: hidden; margin-bottom: 22px; }
.jp-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--orange-400), var(--amber-400)); transition: width 0.3s ease; }
.jp-count { margin: 0 0 6px; font: 600 0.76rem/1 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-600); }
.jp-q { margin: 0 0 6px; font: 600 clamp(1.25rem, 3.4vw, 1.5rem)/1.28 var(--font-head); color: var(--navy-900); }
.jp-q:focus { outline: none; }
.jp-hint { margin: 0 0 18px; color: var(--muted); font-size: 0.92rem; }
.jp-step .field { margin-top: 18px; }
.jp-step[data-step="name"] .field, .jp-step[data-step="city"] .field, .jp-step[data-step="phone"] .field { margin-top: 20px; }
.jp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.jp-grid-loans { grid-template-columns: repeat(3, 1fr); }
.jp-opt { display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px 14px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #fff; color: var(--navy-900); font: 500 0.88rem/1.25 var(--font-head); cursor: pointer; transition: 0.16s; min-height: 56px; }
.jp-opt:hover { border-color: var(--orange-400); background: var(--orange-50); }
.jp-opt:focus-visible { outline: 3px solid rgba(0, 30, 58, 0.25); outline-offset: 2px; }
.jp-opt[aria-pressed="true"] { border-color: var(--navy-800); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--navy-800); }
.jp-opt .tile { flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--blue-50); color: var(--navy-800); display: grid; place-items: center; }
.jp-opt[aria-pressed="true"] .tile { background: var(--navy-800); color: #fff; }
.jp-opt .ic { width: 17px; height: 17px; }
.jp-grid-loans .jp-opt { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 0.82rem; }
.jp-step > .err { margin-top: 10px; }
.jp-actions { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.jp-actions[hidden], .jp-actions [hidden] { display: none !important; }
.jp-next-btn { margin-left: auto; }
.jp-back, .jp-skip { border: 0; background: none; cursor: pointer; font: 500 0.9rem/1 var(--font-head); color: var(--muted); padding: 12px 10px; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 6px; }
.jp-back:hover, .jp-skip:hover { color: var(--navy-800); }
.jp-back .ic { transform: rotate(180deg); }
.jp-skip { margin-left: auto; }
.jp-skip + .jp-next-btn { margin-left: 0; }
@media (max-width: 560px) {
  .jp { align-items: flex-end; padding: 0; }
  .jp-card { width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: var(--r-xl) var(--r-xl) 0 0; padding-bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateY(40px); }
  .jp-grid-loans { grid-template-columns: repeat(2, 1fr); }
  .jp-brand span { display: none; }
}
@media (max-width: 380px) { .jp-grid:not(.jp-grid-loans) { grid-template-columns: 1fr; } .jp-grid-loans .jp-opt { padding: 10px 11px; min-height: 0; } }

/* Animated thank-you */
.jp-done { padding-top: 4px; }
.thx { position: relative; text-align: center; }
.thx-bar { display: flex; justify-content: flex-end; margin: -6px 0 -14px; position: relative; z-index: 2; }
.thx-confetti { position: fixed; width: 0; height: 0; z-index: 2100; pointer-events: none; }
.thx-confetti i { position: absolute; left: 0; top: 0; width: var(--w); height: calc(var(--w) * 1.6); margin: calc(var(--w) * -0.8) 0 0 calc(var(--w) * -0.5); background: var(--c); border-radius: 2px; opacity: 0; animation: thxConf var(--t, 3.4s) cubic-bezier(0.15, 0.6, 0.35, 1) var(--d) forwards; }
.thx-confetti i.round { height: var(--w); border-radius: 50%; }
@keyframes thxConf {
  0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(0.4); }
  22% { opacity: 1; transform: translate(calc(var(--x) * 0.7), calc(var(--up) * -1)) rotate(calc(var(--r) * 0.4)) scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), var(--fall)) rotate(var(--r)) scale(1); }
}
.thx-badge { position: relative; width: 92px; height: 92px; margin: 6px auto 20px; }
.thx-badge::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--green); opacity: 0; animation: thxPulse 1.1s ease-out 0.75s forwards; }
.thx-badge svg { width: 100%; height: 100%; overflow: visible; }
.thx-fill { fill: #e3f7ee; transform-origin: 44px 44px; transform: scale(0); animation: thxPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards; }
.thx-ring { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 240; stroke-dashoffset: 240; transform-origin: 44px 44px; transform: rotate(-90deg); animation: thxDraw 0.6s ease-out 0.2s forwards; }
.thx-check { fill: none; stroke: var(--green); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: thxDraw 0.4s ease-out 0.7s forwards; }
@keyframes thxDraw { to { stroke-dashoffset: 0; } }
@keyframes thxPop { to { transform: scale(1); } }
@keyframes thxPulse { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.55); } }
.thx-title { margin: 0 0 8px; font: 700 clamp(1.5rem, 4vw, 1.85rem)/1.2 var(--font-head); color: var(--navy-900); opacity: 0; animation: thxUp 0.5s ease-out 0.9s forwards; }
.thx-title:focus { outline: none; }
.thx-text { margin: 0 auto 20px; max-width: 420px; color: var(--muted); font-size: 0.96rem; opacity: 0; animation: thxUp 0.5s ease-out 1s forwards; }
.thx-next { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; text-align: left; }
.thx-next li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--ink); background: var(--bg); padding: 12px 14px; border-radius: var(--r-md); opacity: 0; animation: thxUp 0.45s ease-out forwards; }
.thx-next li:nth-child(1) { animation-delay: 1.15s; }
.thx-next li:nth-child(2) { animation-delay: 1.3s; }
.thx-next li:nth-child(3) { animation-delay: 1.45s; }
.thx-next .ic { color: var(--green); flex: none; width: 18px; height: 18px; margin-top: 1px; stroke-width: 3; }
@keyframes thxUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .thx-fill { transform: none; } .thx-ring, .thx-check { stroke-dashoffset: 0; }
  .thx-title, .thx-text, .thx-next li { opacity: 1; }
  .thx-badge::after { display: none; }
}

/* Request a call back: right edge tab and side panel */
.cb-tab { position: fixed; right: 0; top: 50%; z-index: 95; transform: translateY(-50%); writing-mode: vertical-rl; display: flex; align-items: center; gap: 10px; padding: 18px 12px; border: 0; border-radius: 14px 0 0 14px; background: var(--navy-800); color: #fff; font: 600 0.88rem/1 var(--font-head); letter-spacing: 0.02em; cursor: pointer; box-shadow: var(--shadow-lg); transition: background 0.2s, padding 0.2s; }
.cb-tab:hover, .cb-tab:focus-visible { background: var(--navy-700); padding-right: 16px; }
.cb-tab .ic { transform: rotate(90deg); }
.cb { position: fixed; inset: 0; z-index: 1900; display: flex; justify-content: flex-end; }
.cb[hidden] { display: none; }
.cb-backdrop { position: absolute; inset: 0; background: rgba(0, 21, 43, 0.5); opacity: 0; transition: opacity 0.25s; }
.cb-card { position: relative; width: min(400px, 100%); height: 100%; overflow-y: auto; background: #fff; padding: 28px 24px 28px; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform 0.28s ease; outline: none; }
.cb.open .cb-backdrop { opacity: 1; }
.cb.open .cb-card { transform: none; }
.cb-card h2 { font-size: 1.4rem; margin: 0 40px 6px 0; color: var(--navy-900); }
.cb-sub { color: var(--muted); font-size: 0.92rem; margin: 0 0 20px; }
.cb-form { display: grid; gap: 16px; }
.cb-label { font: 500 0.86rem/1.2 var(--font-head); color: var(--navy-900); }
.cb-dates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cb-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cb-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 46px; padding: 8px 6px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff; color: var(--navy-900); font: 500 0.82rem/1.2 var(--font-head); cursor: pointer; transition: 0.16s; text-align: center; }
.cb-chip small { font: 400 0.72rem/1.2 var(--font-body); color: var(--muted); }
.cb-chip:hover:not(:disabled) { border-color: var(--navy-800); }
.cb-chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.cb-chip[aria-pressed="true"] small { color: #ece4cb; }
.cb-chip:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.cb-group.has-err .cb-label { color: var(--red-500); }
.btn-wa { background: #1faa59; color: #fff; border-color: #1faa59; }
.btn-wa:hover { background: #178a47; color: #fff; }
body.cb-lock { overflow: hidden; }
@media (max-width: 720px) { .cb-tab { top: auto; bottom: 96px; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cb-card, .cb-backdrop { transition: none; } }

/* Opening splash: logo, then name, then tagline. Total 3s. Hides itself with CSS, so it can never get stuck. */
.splash { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, #fffff8 0%, #fbf6dd 60%, #f1e9ce 100%); animation: splashOut 0.6s ease 2.6s forwards; }
.splash.done { opacity: 0; visibility: hidden; transition: opacity 0.3s ease; }
.no-splash .splash { display: none; }
.splash-in { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; }
.splash-logo { width: 132px; height: 132px; object-fit: contain; opacity: 0; transform: scale(0.6); animation: splashLogo 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.15s forwards; filter: drop-shadow(0 10px 22px rgba(0, 30, 58, 0.18)); }
.splash-name { margin-top: 18px; font: 700 clamp(1.7rem, 7vw, 2.3rem)/1.1 var(--font-head); color: var(--navy-900); opacity: 0; transform: translateY(10px); animation: splashUp 0.6s ease 0.9s forwards; }
.splash-name span { color: var(--orange-500); }
.splash-line { height: 2px; width: 0; margin: 16px 0 14px; border-radius: 2px; background: var(--grad-gold); animation: splashLine 0.6s ease 1.35s forwards; }
.splash-tag { font: 600 clamp(0.74rem, 3.2vw, 0.9rem)/1.2 var(--font-head); letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); opacity: 0; transform: translateY(8px); animation: splashUp 0.7s ease 1.55s forwards; }
@keyframes splashLogo { to { opacity: 1; transform: scale(1); } }
@keyframes splashUp { to { opacity: 1; transform: none; } }
@keyframes splashLine { to { width: 64px; } }
@keyframes splashOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) { .splash { display: none; } }

/* Loan type: several choices */
.lm { display: flex; flex-wrap: wrap; gap: 8px; }
.lm-chip { padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: #fff; color: var(--navy-900); font: 500 0.84rem/1.2 var(--font-head); cursor: pointer; transition: 0.16s; }
.lm-chip:hover { border-color: var(--navy-800); }
.lm-chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.lm-chip[aria-pressed="true"]::before { content: "\2713\00a0"; }
.lm-hint { font: 400 0.78rem/1.2 var(--font-body); color: var(--muted); }
.field.has-err .lm-chip { border-color: var(--red-500); }

/* Quick apply cards (home page) */
.qa-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.qa-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 18px 18px; box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.qa-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.qa-card h3 { font-size: 1.05rem; line-height: 1.25; }
.qa-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.5; flex: 1; }
.qa-card .btn { margin-top: 6px; }
.qa-tag { position: absolute; top: 14px; right: 14px; font: 600 0.68rem/1 var(--font-head); letter-spacing: 0.02em; color: var(--navy-950); background: var(--grad-gold); padding: 6px 10px; border-radius: var(--r-pill); }
.qa-card .icon-tile { margin-top: 8px; }
@media (max-width: 1100px) { .qa-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) {
  .qa-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .qa-card { padding: 20px 14px 14px; }
  .qa-card:last-child { grid-column: 1 / -1; }
  .qa-card h3 { font-size: 0.98rem; }
  .qa-card .btn { width: 100%; padding: 12px 14px; }
}

/* Small phones: a long email or URL wraps instead of widening the page, and grid columns may shrink below their content */
.split > * { min-width: 0; }
.card, .side-card, .doc-block, .office-card, .answer-box, .stat { overflow-wrap: anywhere; }

/* Very small phones (folded foldables, 280 to 340px): a slimmer header so the menu button stays on screen */
@media (max-width: 340px) {
  :root { --gutter: 14px; }
  .brand { gap: 8px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 1.08rem; }
  .nav-toggle { width: 42px; height: 42px; }
  .qa-grid, .strip-card { grid-template-columns: 1fr; }
  .calc > * { min-width: 0; }
  .calc-inputs, .calc-result, .calc.stack .calc-inputs, .calc.stack .calc-result { padding: 20px; }
}

/* Upload documents page */
.up { max-width: 980px; padding-bottom: 96px; }
.up-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow-sm); scroll-margin-top: 90px; }
.up-step { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.up-step h2 { margin: 0; font-size: clamp(1.2rem, 3.4vw, 1.5rem); }
.up-step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--navy-800); color: #fff; font: 600 0.95rem/1 var(--font-head); display: grid; place-items: center; flex: none; }
.up-step2 { margin-top: 36px; margin-bottom: 8px; }
.up-loanbox { margin-top: 18px; }
.up-loanbox .lm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.up-lead { color: var(--muted); font-size: 0.9rem; margin: 0 0 4px; display: flex; gap: 8px; align-items: center; }
.up-group { margin-top: 26px; }
.up-group-h { font-size: 1rem; display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--navy-900); }
.up-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.up-doc { background: #fff; border: 1.5px dashed #d7c9a3; border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 8px; transition: border-color 0.18s, background 0.18s, box-shadow 0.18s; }
.up-doc.need { border-color: var(--matte-gold); }
.up-doc.has-files { border-style: solid; border-color: var(--green); background: #f4fbf8; }
.up-doc.drag { border-color: var(--navy-800); background: var(--blue-50); box-shadow: 0 0 0 4px rgba(0, 30, 58, 0.08); }
.up-doc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.up-doc h3 { font-size: 1rem; margin: 0; line-height: 1.3; }
.up-tag { flex: none; font: 600 0.7rem/1 var(--font-head); padding: 5px 9px; border-radius: var(--r-pill); background: var(--blue-100); color: var(--navy-800); white-space: nowrap; }
.up-tag.need { background: var(--navy-800); color: #fff; }
.up-hint { margin: 0; font-size: 0.84rem; color: var(--muted); }
.up-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.up-files:empty { display: none; }
.up-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }
.up-add, .up-cam { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: var(--r-md); border: 1.5px solid var(--navy-800); background: var(--navy-800); color: #fff; font: 600 0.9rem/1 var(--font-head); cursor: pointer; transition: 0.16s; flex: 1; }
.up-add:hover { background: var(--navy-900); }
.up-cam { background: #fff; color: var(--navy-800); display: none; }
.up-cam:hover { background: var(--blue-50); }
@media (pointer: coarse) { .up-cam { display: inline-flex; } }
.up-add .ic, .up-cam .ic { width: 18px; height: 18px; }
.up-file { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--r-md); background: var(--bg); }
.up-thumb { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; flex: none; background: #fff; display: grid; place-items: center; font: 700 0.7rem/1 var(--font-head); color: var(--muted); }
.up-thumb img { width: 100%; height: 100%; object-fit: cover; }
.up-fmain { flex: 1; min-width: 0; display: grid; gap: 3px; }
.up-fname { font-size: 0.86rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-fsub { font-size: 0.76rem; color: var(--muted); }
.up-prog { height: 4px; border-radius: 4px; background: #e6dcc0; overflow: hidden; }
.up-prog i { display: block; height: 100%; width: 0; background: var(--matte-gold); transition: width 0.15s; }
.up-file[data-state="done"] .up-prog i { background: var(--green); }
.up-file[data-state="done"] .up-fsub { color: #0a6b49; }
.up-file[data-state="err"] .up-fsub { color: #b42a00; }
.up-file[data-state="err"] .up-prog { display: none; }
.up-file[data-state="done"] .up-prog { display: none; }
.up-retry { display: none; border: 0; background: none; color: var(--navy-800); font: 600 0.8rem/1 var(--font-head); text-decoration: underline; cursor: pointer; padding: 10px 6px; }
.up-file[data-state="err"] .up-retry { display: inline; }
.up-file[data-final] .up-retry { display: none; }
.up-rm { width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.up-rm:hover { background: #fff; color: #b42a00; }
.up-rm .ic { width: 18px; height: 18px; }
.up-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 97; background: rgba(255, 255, 255, 0.98); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 30, 58, 0.12); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform 0.25s ease; }
.up-bar.show { transform: none; }
.up-bar-in { max-width: 980px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.up-count { font: 600 0.92rem/1.3 var(--font-head); color: var(--navy-900); }
.up-bar .btn { flex: none; }
.up-bar .btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.up-page .fab { display: none; }
.up-page .cb-tab { bottom: 96px; }
.up-page .chat-launch { bottom: 96px; }
.up .tbl-note { margin-top: 20px; }
@media (max-width: 720px) {
  .up-grid { grid-template-columns: 1fr; }
  .up-bar-in { gap: 10px; }
  .up-bar .btn { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) { .up-bar { transition: none; } }
.up-page .hx { padding-bottom: 8px; }
.up-page .hx + .section { padding-top: 22px; }
/* Whole loan card is tappable, not only the small "Learn more" link */
.card > .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card:has(> .link-arrow) { cursor: pointer; -webkit-tap-highlight-color: rgba(0, 30, 58, 0.08); }
.card:has(> .link-arrow):active { transform: scale(0.99); }

/* Several bank accounts, ITR years and so on */
.up-sets { display: grid; gap: 12px; }
.up-set { display: flex; flex-direction: column; gap: 8px; border-radius: var(--r-md); }
.up-set + .up-set { border-top: 1px dashed #d7c9a3; padding-top: 12px; }
.up-set.drag { background: var(--blue-50); outline: 2px solid var(--navy-800); outline-offset: 4px; }
.up-set-head { display: flex; align-items: center; gap: 8px; }
.up-set-n { flex: none; font: 600 0.72rem/1 var(--font-head); padding: 7px 9px; border-radius: var(--r-pill); background: var(--navy-800); color: #fff; white-space: nowrap; }
.up-label { padding: 10px 12px; font-size: 0.88rem; border-radius: var(--r-sm); min-width: 0; flex: 1; }
.up-set-rm { flex: none; border: 0; background: none; color: #b42a00; font: 600 0.78rem/1 var(--font-head); text-decoration: underline; cursor: pointer; padding: 10px 4px; }
.up-more { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 1.5px dashed var(--navy-800); border-radius: var(--r-md); background: transparent; color: var(--navy-800); font: 600 0.88rem/1 var(--font-head); cursor: pointer; margin-top: 4px; }
.up-more:hover { background: var(--blue-50); }
.up-more .ic { width: 16px; height: 16px; }

/* Location landing pages (/loans-in-<city>/), home page area cards and footer area links */
.loc-photo { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); background: var(--blue-100); aspect-ratio: var(--ratio, 4 / 4.4); }
.loc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
a.tag { text-decoration: none; transition: background 0.2s, color 0.2s; }
a.tag:hover, a.tag:focus-visible { background: var(--navy-900); color: #fff; }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.loc-card { padding: 0; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.loc-card img { width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; display: block; }
.loc-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.loc-card-body h3 { font-size: 1.04rem; margin-bottom: 8px; }
.loc-card-body p { font-size: 0.88rem; flex: 1; }
.loc-card-body .link-arrow { margin-top: 4px; }
.footer-areas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 22px 0 6px; margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.footer-areas h4 { margin: 0; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-areas ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.footer-areas a { font-size: 0.92rem; }
