/* ===== Kredova website styles ===== */

/* Fonts (self-hosted, SIL Open Font License) */
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* Brand tokens */
:root {
  --navy: #052448;
  --navy-deep: #03182F;
  --teal: #0C9DA4;
  --teal-text: #08777C;
  --teal-bright: #4FD1D6;
  --gold: #CEA158;
  --gold-text: #8A6526;
  --gold-soft: #E5C68E;
  --ink: #0E1B2C;
  --body: #2E3A4B;
  --muted: #4A5668;
  --line: #E6EAF0;
  --soft: #F4F7FA;
  --white: #FFFFFF;
  --light-text: #C9D6E6;
  --radius: 20px;
  --shadow: 0 30px 60px -40px rgba(5, 36, 72, 0.35);
  --display: "Poppins", system-ui, sans-serif;
  --text: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-text); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--navy); margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; }
h3 { font-size: 21px; line-height: 1.3; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.section { padding: 80px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 32px; }
.section-head.split { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head.split > div { max-width: 660px; display: flex; flex-direction: column; gap: 12px; }
.section-head.split > p { max-width: 420px; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-text); }
.eyebrow-light { color: var(--teal-bright); }
.eyebrow-gold { color: var(--gold-text); }
.muted { color: var(--muted); }
.muted-light { color: var(--light-text); }
.lead { font-size: 18px; color: var(--body); }
.lead-light { font-size: 19px; color: var(--light-text); max-width: 560px; }
.small { font-size: 14px; }
.gold { color: var(--gold-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 13px 26px; border-radius: 999px; font: 600 16px/1.2 var(--text); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(5, 36, 72, .55); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { color: var(--white); background: #0A3463; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { color: var(--navy); background: #D9B26F; }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { color: var(--white); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.link-strong { font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand img { height: 34px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--teal-text); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--navy); border-radius: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-mark { position: absolute; right: -180px; top: -120px; width: 760px; height: 760px; fill: #FFFFFF; opacity: .07; pointer-events: none; }
.hero-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 80px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { color: var(--white); font-size: clamp(36px, 5vw, 56px); line-height: 1.1; letter-spacing: -0.02em; }
.hero .accent { color: var(--teal-bright); }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 14px; font-weight: 500; color: #DCE6F2; }
.pill-tag { background: var(--gold); color: var(--navy); font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.hero-visual { flex: 1 1 420px; min-width: 0; }
.eco-card { background: var(--white); color: var(--ink); border-radius: 22px; padding: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); display: flex; flex-direction: column; gap: 14px; }
.eco-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5B6778; }
.eco-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.eco-node { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.eco-node strong { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--navy); }
.eco-kind { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.eco-kind.teal { color: var(--teal-text); }
.eco-kind.gold { color: var(--gold-text); }
.eco-arrow { display: flex; justify-content: center; }
.eco-arrow .ic { width: 24px; height: 28px; stroke-width: 2.2; }
.eco-arrow.teal .ic { stroke: var(--teal); }
.eco-arrow.gold .ic { stroke: var(--gold); }
.eco-core { background: var(--navy); color: var(--white); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.eco-core-head { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 18px; }
.eco-core-head img { border-radius: 7px; }
.eco-core-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.eco-core-grid span { background: rgba(255,255,255,.08); border-radius: 10px; padding: 10px 6px; font-size: 13px; text-align: center; }

/* Icons */
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic-check { width: 18px; height: 18px; stroke: var(--teal-text); stroke-width: 2.6; margin-top: 4px; }

/* Trust strip */
.trust { background: var(--soft); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; padding-top: 26px; padding-bottom: 26px; font-size: 15px; color: var(--body); }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .ic { color: var(--teal-text); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; background: var(--white); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(5,36,72,.45); border-color: #B9DCDE; }
.card p { font-size: 16px; color: var(--muted); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.card-icon .ic { width: 26px; height: 26px; }
.tone-teal { background: #E2F4F4; color: var(--teal-text); }
.tone-navy { background: #E7ECF4; color: var(--navy); }
.tone-gold { background: #F8EFDF; color: var(--gold-text); }
.card-label { font-size: 13px; font-weight: 600; }
.tone-text-teal { color: var(--teal-text); }
.tone-text-navy { color: var(--navy); }
.tone-text-gold { color: var(--gold-text); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tag { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: #3E4A5B; }
.tag-line { border: 1px solid var(--line); }

/* Chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; align-self: flex-start; }
.chip-teal { color: var(--navy); background: #E2F4F4; }
.chip-gold { color: #5C4316; background: #FBF4E6; border: 1px solid #EBD6AE; letter-spacing: 0; text-transform: none; font-size: 13px; }
.chip-gold-solid { color: var(--navy); background: var(--gold); letter-spacing: 0; text-transform: none; }

/* Platform */
.module-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
.module-tab { font: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 16px; background: rgba(255,255,255,.06); color: var(--white); border: 1.5px solid rgba(255,255,255,.18); transition: background .15s ease; }
.module-tab:hover { background: rgba(255,255,255,.12); }
.module-tab[aria-selected="true"] { background: var(--white); color: var(--navy); border-color: var(--white); }
.module-code { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--teal-bright); }
.module-tab[aria-selected="true"] .module-code { color: var(--teal-text); }
.module-name { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.3; }
.module-panel { background: var(--white); color: var(--ink); border-radius: 24px; padding: 32px; display: flex; flex-wrap: wrap; gap: 40px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.module-panel h3 { color: var(--navy); font-size: 28px; }
.module-main { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.module-main > p { color: #3E4A5B; }
.check-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 20px; }
.check-grid li, .check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--body); }
.module-flow { flex: 1 1 320px; min-width: 0; background: var(--soft); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.flow-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5B6778; }
.flow { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.flow li { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 600; color: var(--navy); font-size: 15px; }
.flow-n { width: 28px; height: 28px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ways { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ways h3 { font-size: 24px; }
.ways-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; width: 100%; }
.way { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.way-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--display); font-size: 19px; }
.way p { color: var(--light-text); font-size: 16px; }

/* Use cases */
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 24px; }
.seg-btn { font: 600 15px/1.2 var(--text); padding: 12px 22px; min-height: 44px; border-radius: 999px; border: none; cursor: pointer; background: transparent; color: #3E4A5B; }
.seg-btn[aria-selected="true"] { background: var(--navy); color: var(--white); }
.notice { display: flex; gap: 12px; align-items: center; background: #FBF4E6; border: 1px solid #EBD6AE; border-radius: 14px; padding: 14px 18px; color: #5C4316; font-size: 15px; margin-bottom: 24px; }
.notice .ic { color: var(--gold-text); width: 20px; height: 20px; }
.cases { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.case-list { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.case-btn { font: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 16px; width: 100%; background: transparent; border: 1.5px solid #DCE2EA; }
.case-btn:hover { background: #F1F6F8; }
.case-btn[aria-selected="true"] { background: var(--white); border-color: var(--teal); box-shadow: 0 16px 30px -22px rgba(5,36,72,.5); }
.case-tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5B6778; }
.case-btn[aria-selected="true"] .case-tag { color: var(--teal-text); }
.case-title { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--navy); line-height: 1.35; }
.case-detail-wrap { flex: 2 1 520px; min-width: 0; display: flex; }
.case-detail { width: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow); }
.case-detail h3 { font-size: 28px; line-height: 1.25; }
.case-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.case-cols p { color: var(--body); }
.mini-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.mini-head::before { content: ""; width: 18px; height: 3px; display: inline-block; }
.mini-head.gold { color: var(--gold-text); } .mini-head.gold::before { background: var(--gold); }
.mini-head.teal { color: var(--teal-text); } .mini-head.teal::before { background: var(--teal); }
.mini-head.light { color: var(--gold-soft); } .mini-head.light::before { background: var(--gold); }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.outcome { background: var(--navy); color: var(--white); border-radius: 16px; padding: 22px 24px; }
.outcome p { font-size: 18px; }
.case-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.case-foot .tags { margin-top: 0; }

/* Journey */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.step-btn { font: inherit; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 16px; background: var(--white); color: var(--navy); border: 1.5px solid #DCE2EA; }
.step-btn:hover { border-color: var(--teal); }
.step-btn[aria-selected="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.step-n { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--teal-text); }
.step-btn[aria-selected="true"] .step-n { color: var(--gold-soft); }
.step-name { font-family: var(--display); font-weight: 600; font-size: 18px; }
.step-panel { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; background: var(--soft); border-radius: 22px; padding: 36px 40px; }
.step-copy { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.step-copy h3 { font-size: 26px; }
.step-copy p { color: #3E4A5B; }
.step-points { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.point { display: flex; gap: 10px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 15px; color: var(--body); }
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--teal); flex-shrink: 0; }

/* Two-column sections */
.two-col { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.two-col.center { align-items: center; }
.two-col > * { flex: 1 1 400px; min-width: 0; }
.two-col > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.pillars { display: flex; flex-direction: column; gap: 14px; }
.pillar { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.pillar strong { font-family: var(--display); font-weight: 600; font-size: 19px; }
.pillar p { color: var(--light-text); font-size: 16px; }
.pillar-dot { width: 14px; height: 14px; border-radius: 999px; flex-shrink: 0; margin-top: 7px; }
.dot-teal { background: var(--teal); } .dot-white { background: var(--white); } .dot-gold { background: var(--gold); }

/* Leadership */
.leader { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.leader-card { flex: 1 1 340px; min-width: 0; background: var(--navy); color: var(--white); border-radius: 22px; padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.leader-id { display: flex; align-items: center; gap: 18px; }
.leader-id h3 { color: var(--white); font-size: 24px; }
.avatar { width: 84px; height: 84px; border-radius: 999px; background: var(--white); color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 600; font-size: 28px; flex-shrink: 0; object-fit: cover; }
.leader-role { font-weight: 600; color: var(--teal-bright); }
.quote-mark { width: 36px; height: 28px; fill: var(--gold); }
.leader-card blockquote { margin: 0; font-family: var(--display); font-size: 20px; line-height: 1.5; font-weight: 500; }
.leader-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--white); }
.leader-link:hover { color: var(--teal-bright); }
.leader-link .ic { width: 18px; height: 18px; }
.leader-body { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.exp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.exp { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.exp strong { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--navy); }
.exp-role { font-size: 14px; font-weight: 600; color: var(--teal-text); }
.exp-text { font-size: 15px; color: var(--muted); }

/* EMI */
.emi { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 34px; display: flex; flex-wrap: wrap; gap: 32px; box-shadow: var(--shadow); }
.emi-inputs { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.slider { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--body); }
.slider-top { display: flex; justify-content: space-between; gap: 12px; }
.slider output { color: var(--navy); }
.slider input { width: 100%; accent-color: var(--teal); min-height: 28px; }
.emi-result { flex: 1 1 200px; min-width: 0; background: var(--navy); color: var(--white); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.emi-k { font-size: 14px; color: var(--light-text); }
.emi-v { font-family: var(--display); font-weight: 600; font-size: 36px; line-height: 1.2; }
.emi-rows { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; font-size: 15px; }
.emi-rows div { display: flex; justify-content: space-between; gap: 12px; }
.emi-rows span { color: var(--light-text); }

/* Protection */
.protect { border-top: 1px solid var(--line); }
.protect-inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.protect-icon { width: 56px; height: 56px; border-radius: 16px; background: #FBF4E6; color: var(--gold-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.protect-icon .ic { width: 28px; height: 28px; }
.protect-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.protect-copy h2 { font-size: 22px; }
.protect-copy p { color: var(--body); }
.protect-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-link { font-size: 15px; font-weight: 600; text-decoration: none; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }

/* Borrower protection box (inside EMI section) */
.protect-box { background: var(--white); border: 1px solid #EBD6AE; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.protect-head { display: flex; align-items: center; gap: 12px; }
.protect-head h3 { font-size: 19px; }
.protect-box .protect-icon { width: 40px; height: 40px; border-radius: 12px; }
.protect-box .protect-icon .ic { width: 22px; height: 22px; }
.protect-box p { font-size: 15px; color: var(--body); }
.protect-box .pill-link { background: var(--soft); }

/* Contact & form */
.contact-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; color: var(--body); font-size: 16px; }
.contact-list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--teal-text); }
.contact-ic .ic { width: 20px; height: 20px; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 34px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--body); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea { font: 400 16px/1.4 var(--text); padding: 12px 14px; border: 1px solid #B8C2D1; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(12,157,164,.2); }
.form .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; }
.form .consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--teal); flex-shrink: 0; }
.form button { align-self: flex-start; }
.form button[disabled] { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 15px; font-weight: 600; min-height: 1em; }
.form-status.ok { color: var(--teal-text); }
.form-status.err { color: #B42318; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #B9C6D8; font-size: 15px; }
.site-footer .container { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 44px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-brand { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; font-size: 14px; }
.footer-brand img { height: 32px; width: auto; align-self: flex-start; }
.footer-tagline { color: var(--gold-soft); font-family: var(--display); font-weight: 500; letter-spacing: .06em; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-legal a { color: #B9C6D8; text-decoration: none; }
.footer-col a:hover, .footer-legal a:hover { color: var(--white); }
.footer-heading { font-weight: 600; color: var(--white); }
.footer-legal { border-top: 1px solid #16304F; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: #9FB0C6; }
.footer-legal a { text-decoration: underline; }

/* Legal pages */
.page-hero { background: var(--navy); color: var(--white); }
.page-hero .container { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 14px; }
.page-hero h1 { color: var(--white); font-size: clamp(32px, 4vw, 44px); line-height: 1.15; }
.updated { font-size: 14px; color: #9FB0C6; }
.legal { padding-top: 64px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-card { background: var(--soft); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.prose { font-size: 17px; line-height: 1.75; color: var(--ink); }
.prose h2 { font-size: 24px; margin: 36px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 24px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 20px 0; background: #FBF4E6; border: 1px solid #EBD6AE; border-radius: 16px; padding: 18px 22px; color: #3E3114; }
.prose blockquote p:last-child { margin-bottom: 0; }
.note-box { background: var(--soft); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.note-box h2 { font-size: 22px; }

/* 404 */
.notfound { padding: 140px 0; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }

/* Reveal-on-scroll (only when JS is running and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* Mobile */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; box-shadow: 0 20px 30px -20px rgba(5,36,72,.3); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .hero-inner { padding-top: 64px; padding-bottom: 72px; gap: 40px; }
  .module-panel, .case-detail, .step-panel, .emi, .form, .leader-card { padding: 24px; }
  .case-detail h3, .module-panel h3 { font-size: 23px; }
  .seg { display: flex; border-radius: 18px; }
  .seg-btn { flex: 1 1 100%; border-radius: 12px; }
  .emi-v { font-size: 30px; }
}

#contact { border-top: 1px solid var(--line); }

/* ===== Merged design additions ===== */

/* Bolder, more premium headings */
h1, h2 { font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; }
.hero h1 { font-weight: 700; letter-spacing: -0.03em; }

/* Section labels as pills */
.section .eyebrow { align-self: flex-start; display: inline-block; background: #E2F4F4; color: var(--teal-text); padding: 6px 12px; border-radius: 999px; font-size: 12px; }
.section-dark .eyebrow, .section .eyebrow-light { background: rgba(79, 209, 214, 0.12); color: var(--teal-bright); }
.step-panel .eyebrow { background: none; padding: 0; }
.btn-start { align-self: flex-start; }

/* Hero */
.hero-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-bright); }
.hero-eyebrow span { width: 32px; height: 2px; background: var(--gold); display: inline-block; }
.hero-tagline { font-size: 15px; font-weight: 600; color: var(--gold-soft); letter-spacing: .02em; }

/* Platform cockpit */
.cockpit { background: #071B33; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.65); display: flex; flex-direction: column; gap: 14px; color: var(--white); }
.cockpit-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #C9D6E6; }
.cockpit-head > span:first-child { display: flex; align-items: center; gap: 10px; }
.cockpit-head img { border-radius: 6px; }
.cockpit-badge { color: var(--navy); background: var(--gold); padding: 4px 10px; border-radius: 999px; font-size: 11px; letter-spacing: .04em; text-transform: none; }
.cockpit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cockpit-tile { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.ct-area { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9FB0C6; }
.cockpit-tile strong { font-family: var(--display); font-weight: 600; font-size: 22px; }
.ct-note { font-size: 13px; color: var(--teal-bright); }
.cockpit-flow { background: var(--white); color: var(--navy); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.cf-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-text); }
.cf-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.cf-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 6px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--gold)); }
.cf-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #3E4A5B; text-align: center; }
.cf-dot { width: 14px; height: 14px; border-radius: 999px; background: var(--white); border: 3px solid var(--teal); }
.cf-steps li:last-child .cf-dot { border-color: var(--gold); }
.cockpit-layers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cockpit-layers div { border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.cockpit-layers strong { font-size: 14px; }
.cockpit-layers span { font-size: 12px; color: #C9D6E6; }

/* Values strip */
.values { background: var(--white); border-bottom: 1px solid var(--line); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.value { padding: 22px 20px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; border-right: 1px solid var(--line); }
.value:last-child { border-right: none; }
.value strong { font-family: var(--display); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.value span { font-size: 14px; color: var(--teal-text); }

/* Why Kredova */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card-num { font-size: 13px; font-weight: 700; color: var(--gold-text); letter-spacing: .08em; }

/* Technology stack */
.stack { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; border-top: 1px solid rgba(255,255,255,.12); padding-top: 40px; }
.stack-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.stack-copy h3 { font-size: 26px; line-height: 1.25; }
.stack-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-tags span { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: #DCE6F2; }
.stack-layers { flex: 1 1 440px; min-width: 0; list-style: none; margin: 0; padding: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; display: flex; flex-direction: column; }
.stack-layers li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.stack-layers li:last-child { border-bottom: none; }
.stack-layers strong { font-size: 15px; }
.stack-layers span { font-size: 14px; color: #C9D6E6; }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ind-grid { grid-template-columns: 1fr; } }
.ind { border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; background: var(--white); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ind:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(5,36,72,.45); border-color: #B9DCDE; }
.ind h3 { font-size: 20px; }
.ind p { font-size: 15px; color: var(--muted); }

/* Financial inclusion ecosystem */
.eco { background: var(--soft); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.eco-row4, .eco-row3 { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.eco-chip { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.eco-chip-gold { border-color: #EBD6AE; color: var(--gold-text); }
.eco-hub { background: var(--navy); color: var(--white); border-radius: 16px; padding: 14px 22px; display: flex; align-items: center; gap: 12px; }
.eco-hub img { border-radius: 8px; }
.eco-hub div { display: flex; flex-direction: column; }
.eco-hub strong { font-family: var(--display); font-size: 18px; }
.eco-hub span { font-size: 13px; color: #C9D6E6; }
.eco-caption { font-size: 14px; color: var(--muted); text-align: center; }

@media (max-width: 640px) {
  .cf-steps li { font-size: 10px; }
  .cockpit-tile strong { font-size: 18px; }
  .value { border-right: none; border-bottom: 1px solid var(--line); }
}

.footer-about { color: #DCE6F2; font-size: 15px; }
@media (max-width: 1100px) and (min-width: 961px) { .site-nav { gap: 18px; } }

/* ===== Multi-page additions ===== */
.site-nav a[aria-current="page"]:not(.btn) { color: var(--teal-text); font-weight: 600; }
.page-hero-lg { position: relative; overflow: hidden; }
.page-hero-lg .container { position: relative; padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 18px; }
.page-hero-lg h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.1; max-width: 860px; }
.page-hero-lg .eyebrow { align-self: flex-start; background: rgba(79,209,214,.12); color: var(--teal-bright); padding: 6px 12px; border-radius: 999px; font-size: 12px; }
.card-link { margin-top: 4px; font-size: 15px; text-decoration: none; }

/* CTA band */
.cta { position: relative; overflow: hidden; background: linear-gradient(120deg, #052448, #0A3463); color: var(--white); }
.cta-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 80px; padding-bottom: 80px; }
.cta-inner > div { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.cta h2 { color: var(--white); }

/* Platform teaser */
.mod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.mod-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.16); color: var(--white); text-decoration: none; transition: background .15s ease, transform .15s ease; }
.mod-card:hover { background: rgba(255,255,255,.12); color: var(--white); transform: translateY(-2px); }
.mod-card strong { font-family: var(--display); font-weight: 600; font-size: 18px; }
.mod-text { font-size: 15px; color: var(--light-text); }
.teaser-row { margin-top: 28px; align-items: center; }

/* Use case teaser */
.uc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.uc-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.uc-card h3 { font-size: 20px; }
.uc-card p { color: var(--muted); font-size: 16px; }
.uc-card .card-link { margin-top: auto; }

/* Solutions detail */
.sol-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.sol-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.sol-points { flex: 1 1 360px; min-width: 0; list-style: none; margin: 0; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.sol-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--body); }
.section-soft .sol-points { background: var(--white); }

/* Borrowers */
.notice-btn { margin-left: auto; }
.notice { flex-wrap: wrap; margin-bottom: 48px; }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.steps3 li { border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; background: var(--white); }
.steps3 h3 { font-size: 20px; }
.steps3 p { color: var(--muted); font-size: 16px; }
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

/* Company details */
.company-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 36px; display: flex; flex-wrap: wrap; gap: 40px; box-shadow: var(--shadow); }
.company-card > div { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.company-dl { flex: 2 1 420px; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; }
.company-dl dt { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-text); }
.company-dl dd { margin: 4px 0 0; color: var(--body); }

/* Home: cleaner solution cards */
.card-link-end { margin-top: auto; padding-top: 6px; }
@media (max-width: 700px) { .hero-visual { display: none; } }

/* ===== Light hero (v2) ===== */
.hero, .page-hero { background: radial-gradient(1200px 520px at 85% 10%, rgba(12,157,164,.10), transparent 60%), linear-gradient(180deg, #F4F8FB 0%, #FFFFFF 100%); color: var(--navy); border-bottom: 1px solid var(--line); }
.hero .hero-mark, .page-hero .hero-mark { fill: var(--navy); opacity: .035; }
.hero h1, .page-hero h1 { color: var(--navy); }
.hero .accent { color: var(--teal-text); }
.hero .lead-light, .page-hero .lead-light { color: #3C4B5F; }
.hero .pill { background: #FFFFFF; border-color: var(--line); color: var(--navy); box-shadow: 0 6px 18px -10px rgba(5,36,72,.25); }
.hero .btn-outline-light { color: var(--navy); border-color: rgba(5,36,72,.35); }
.hero .btn-outline-light:hover { color: var(--navy); border-color: var(--navy); }
.hero .cockpit { box-shadow: 0 40px 70px -30px rgba(5,36,72,.45); }
.page-hero-lg .eyebrow { background: rgba(12,157,164,.10); color: var(--teal-text); }
/* Solution cards: short bullets */
.card-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.card-points li { position: relative; padding-left: 22px; font-size: 15px; color: #3C4B5F; }
.card-points li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); transform: rotate(45deg); }

/* ===== Motion (v3) — all disabled for reduced-motion users ===== */
@keyframes kv-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes kv-in-right { from { opacity: 0; transform: translateX(28px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes kv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes kv-drift-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60px, 40px) scale(1.12); } }
@keyframes kv-drift-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(50px, -30px) scale(.92); } }
@keyframes kv-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kv-travel { 0% { left: 10%; opacity: 0; } 6% { opacity: 1; } 88% { opacity: 1; } 100% { left: 90%; opacity: 0; } }
@keyframes kv-step { 0%, 14% { background: var(--white); box-shadow: none; } 20%, 60% { background: var(--teal); box-shadow: 0 0 0 6px rgba(12,157,164,.18); } 100% { background: var(--white); box-shadow: none; } }
@keyframes kv-sheen { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(220%); } }
@keyframes kv-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Soft moving light in the hero background */
.hero-glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-glow span { position: absolute; border-radius: 50%; filter: blur(60px); }
.hero-glow span:first-child { width: 520px; height: 520px; right: 4%; top: -140px; background: rgba(12,157,164,.16); animation: kv-drift-a 16s ease-in-out infinite; }
.hero-glow span:last-child { width: 420px; height: 420px; left: -120px; bottom: -200px; background: rgba(206,161,88,.14); animation: kv-drift-b 19s ease-in-out infinite; }

/* Hero entrance */
.hero-copy > * { animation: kv-up .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .18s; }
.hero-copy > *:nth-child(4) { animation-delay: .28s; }
.hero-visual { animation: kv-in-right .9s cubic-bezier(.2,.7,.2,1) .25s both; }
.hero .cockpit { animation: kv-float 7s ease-in-out 1.2s infinite; }

/* "trust." gets a gold underline that draws in */
.hero .accent { position: relative; display: inline-block; }
.hero .accent::after { content: ""; position: absolute; left: 2px; right: 6px; bottom: .02em; height: .09em; border-radius: 4px; background: var(--gold); transform-origin: left; animation: kv-underline .8s cubic-bezier(.2,.7,.2,1) .9s both; }

/* Lifecycle: a pulse travels Acquire → Collect, each step lights up as it passes */
.cf-steps::after { content: ""; position: absolute; top: 2px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(12,157,164,.25), 0 0 14px 2px rgba(12,157,164,.6); animation: kv-travel 5s linear infinite; }
.cf-dot { animation: kv-step 5s linear infinite; }
.cf-steps li:nth-child(1) .cf-dot { animation-delay: -.2s; }
.cf-steps li:nth-child(2) .cf-dot { animation-delay: .9s; }
.cf-steps li:nth-child(3) .cf-dot { animation-delay: 2s; }
.cf-steps li:nth-child(4) .cf-dot { animation-delay: 3.1s; }
.cf-steps li:nth-child(5) .cf-dot { animation-delay: 4.1s; }

/* Platform tiles: a light sheen passes over each in turn */
.cockpit-tile { position: relative; overflow: hidden; }
.cockpit-tile::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.10), transparent); transform: translateX(-120%); animation: kv-sheen 8s ease-in-out infinite; }
.cockpit-tile:nth-child(2)::after { animation-delay: 1.2s; }
.cockpit-tile:nth-child(3)::after { animation-delay: 2.4s; }
.cockpit-tile:nth-child(4)::after { animation-delay: 3.6s; }

/* Moving strip under the hero */
.marquee { background: var(--white); border-bottom: 1px solid var(--line); }
.marquee-inner { display: flex; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; }
.marquee-label { flex-shrink: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-text); }
.marquee-window { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: kv-marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--navy); white-space: nowrap; }
.marquee-item::after { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }

/* Livelier hovers */
.card:hover .card-icon { transform: translateY(-3px) rotate(-4deg); }
.card-icon { transition: transform .25s ease; }
.mod-card:hover { border-color: rgba(79,209,214,.6); box-shadow: 0 0 0 1px rgba(79,209,214,.25), 0 18px 40px -20px rgba(79,209,214,.45); }
.btn-gold:hover, .btn-navy:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(5,36,72,.45); }

@media (max-width: 700px) {
  .marquee-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .marquee-window { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glow span, .hero-copy > *, .hero-visual, .hero .cockpit, .hero .accent::after,
  .cf-steps::after, .cf-dot, .cockpit-tile::after, .marquee-track { animation: none !important; }
  .cf-steps::after, .cockpit-tile::after { display: none; }
  .marquee-track { flex-wrap: wrap; width: auto; row-gap: 8px; }
  .marquee-window { -webkit-mask-image: none; mask-image: none; }
  .card-icon, .btn { transition: none; }
}

/* ===== Interactive layer (v4) ===== */
/* Scroll progress + header shadow */
.site-header { transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(5,36,72,.35); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--gold)); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Cursor light in the hero */
.hero-glow::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 30%), rgba(12,157,164,.12), transparent 70%); opacity: var(--spot, 0); transition: opacity .4s ease; }

/* Cockpit: tilts toward the cursor */
.hero-visual { perspective: 1400px; }
.hero .cockpit { transition: rotate .25s ease-out; }

/* Lifecycle: JS moves the pulse; steps are clickable */
.cf-steps::after { animation: none; left: var(--pos, 10%); opacity: 1; transition: left .7s cubic-bezier(.4,0,.2,1); }
.cf-dot { animation: none; transition: background .3s ease, box-shadow .3s ease, transform .3s ease; }
.cf-step { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; font-size: 12px; font-weight: 600; color: #3E4A5B; text-align: center; border-radius: 8px; padding-bottom: 2px; }
.cf-step:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.cf-step:hover .cf-dot { transform: scale(1.15); }
.cf-step.is-done .cf-dot { background: var(--teal); }
.cf-step.is-active .cf-dot { background: var(--teal); box-shadow: 0 0 0 6px rgba(12,157,164,.2); transform: scale(1.15); }
.cf-step.is-active { color: var(--navy); }
.cf-caption { margin: 0; min-height: 2.6em; font-size: 13px; line-height: 1.35; color: #3C4B5F; border-top: 1px solid var(--line); padding-top: 10px; }
.cockpit-tile { transition: border-color .35s ease, background .35s ease, transform .35s ease; }
.cockpit-tile.is-active { border-color: rgba(79,209,214,.7); background: rgba(79,209,214,.10); transform: translateY(-2px); }

/* Platform modules: light follows the cursor */
.mod-card { position: relative; overflow: hidden; }
.mod-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(79,209,214,.16), transparent 65%); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.mod-card:hover::before { opacity: 1; }

/* Rules demo */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.demo-inputs { display: flex; flex-direction: column; gap: 22px; background: var(--soft); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.demo-field { display: flex; flex-direction: column; gap: 10px; }
.demo-field label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 15px; color: var(--navy); }
.demo-field output { font-family: var(--display); font-weight: 600; color: var(--teal-text); font-variant-numeric: tabular-nums; }
.demo-field input[type="range"] { width: 100%; accent-color: var(--teal); }
.demo-assume { margin: 0; font-size: 14px; color: var(--muted); }
.demo-result { background: var(--navy); color: var(--white); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 60px -30px rgba(5,36,72,.5); }
.demo-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #C9D6E6; }
.demo-badge { text-transform: none; letter-spacing: 0; font-size: 15px; padding: 7px 14px; border-radius: 999px; transition: background .3s ease, color .3s ease; }
.demo-badge.v-ok { background: #1E9E6A; color: #FFFFFF; }
.demo-badge.v-refer { background: var(--gold); color: var(--navy); }
.demo-badge.v-no { background: #C2453A; color: #FFFFFF; }
.demo-badge.pulse { animation: kv-pop .35s ease; }
@keyframes kv-pop { 50% { transform: scale(1.08); } }
.demo-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.demo-rules li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: border-color .3s ease; }
.demo-rules li div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.demo-rules strong { font-size: 16px; }
.demo-rules li div span { font-size: 13px; color: #C9D6E6; }
.demo-rules em { font-style: normal; font-family: var(--display); font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rule-icon { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.rule-icon::before { content: "✓"; }
li.r-ok .rule-icon { background: rgba(30,158,106,.2); color: #5BD6A2; }
li.r-refer .rule-icon { background: rgba(206,161,88,.22); color: var(--gold-soft); }
li.r-refer .rule-icon::before { content: "!"; }
li.r-no .rule-icon { background: rgba(194,69,58,.22); color: #FF8A7F; }
li.r-no .rule-icon::before { content: "✕"; }
li.r-ok { border-color: rgba(91,214,162,.35); }
li.r-refer { border-color: rgba(229,198,142,.45); }
li.r-no { border-color: rgba(255,138,127,.45); }
.demo-emi { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.12); color: #C9D6E6; }
.demo-emi strong { font-family: var(--display); font-size: 24px; color: var(--white); font-variant-numeric: tabular-nums; }
.demo-note { margin: 0; font-size: 13px; color: #9FB0C6; }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .cf-steps::after, .cf-dot, .cockpit-tile, .hero .cockpit, .demo-badge { transition: none !important; animation: none !important; }
  .hero-glow::after { display: none; }
}

/* ===== Interactive tools (v5) ===== */
.btn-outline-navy { background: transparent; color: var(--navy); border-color: rgba(5,36,72,.35); }
.btn-outline-navy:hover { color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:disabled, .btn-navy:disabled { opacity: .4; cursor: default; transform: none; box-shadow: none; }
.link-btn { all: unset; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--teal-text); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.section-dark .link-btn, .ready-score .link-btn { color: var(--teal-bright); }

/* Shared answer buttons */
.seg-answer { display: inline-flex; flex-shrink: 0; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; }
.ans { font: 600 15px/1 var(--text); border: 0; background: transparent; color: var(--navy); padding: 10px 16px; min-height: 40px; border-radius: 999px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.ans:hover { background: #E3EAF2; }
.ans:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.ans[aria-checked="true"] { background: var(--navy); color: var(--white); }
.ans-yes[aria-checked="true"] { background: #1E9E6A; }
.ans-partly[aria-checked="true"] { background: var(--gold); color: var(--navy); }
.ans-no[aria-checked="true"] { background: #C2453A; }

/* Service finder */
.finder { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.finder-steps { display: flex; flex-direction: column; gap: 22px; }
.finder-step { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.finder-step legend { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--navy); margin-bottom: 14px; padding: 0; }
.step-no { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { font: 600 15px/1.2 var(--text); color: var(--navy); background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 18px; min-height: 46px; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .15s ease; }
.choice:hover { border-color: var(--teal); transform: translateY(-1px); }
.choice:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.choice[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.finder-result { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); display: flex; }
.finder-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; color: var(--muted); width: 100%; }
.finder-ghost { width: 64px; height: 64px; border-radius: 18px; border: 2px dashed #C9D6E6; }
.finder-answer { display: flex; flex-direction: column; gap: 12px; width: 100%; animation: kv-up .45s ease both; }
.finder-for { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--teal-text); background: #E2F4F4; padding: 5px 12px; border-radius: 999px; }
.finder-answer h3 { font-size: 26px; line-height: 1.2; }
.finder-answer p { color: var(--body); }
.finder-answer .btn-row { margin-top: auto; padding-top: 8px; }
.sol-row.is-picked { outline: 3px solid rgba(12,157,164,.35); outline-offset: 18px; border-radius: 12px; transition: outline-color 1.2s ease; }
@media (max-width: 860px) { .finder { grid-template-columns: 1fr; } }

/* Readiness check */
.ready { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.ready-list { list-style: none; counter-reset: rq; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ready-q { counter-increment: rq; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color .25s ease, background .25s ease; }
.ready-q p { margin: 0; font-size: 16px; color: var(--navy); }
.ready-q p::before { content: counter(rq) ". "; font-weight: 700; color: var(--teal-text); }
.ready-q.a-yes { border-color: rgba(30,158,106,.45); background: #F3FBF7; }
.ready-q.a-partly { border-color: rgba(206,161,88,.6); background: #FDF8EF; }
.ready-q.a-no { border-color: rgba(194,69,58,.45); background: #FDF4F3; }
.ready-score { position: sticky; top: 96px; background: var(--navy); color: var(--white); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 30px 60px -30px rgba(5,36,72,.5); }
.ready-score h3 { color: var(--white); font-size: 24px; }
.ready-score p { color: var(--light-text); font-size: 15px; margin: 0; }
.gauge { position: relative; width: 150px; height: 150px; align-self: center; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 10; }
.gauge-track { stroke: rgba(255,255,255,.12); }
.gauge-fill { stroke: var(--teal-bright); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray .6s cubic-bezier(.2,.7,.2,1), stroke .4s ease; }
.gauge.b-mid .gauge-fill { stroke: var(--gold); }
.gauge.b-low .gauge-fill { stroke: #FF8A7F; }
.gauge-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge-text strong { font-family: var(--display); font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge-text span { font-size: 12px; color: var(--light-text); }
.ready-count { text-align: center; font-size: 14px; color: var(--light-text); }
.ready-gaps ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #DCE6F2; }
.ready-note { font-size: 12px !important; color: #9FB0C6 !important; }
@media (max-width: 960px) { .ready { grid-template-columns: 1fr; } .ready-score { position: static; } }
@media (max-width: 560px) { .ready-q { flex-direction: column; align-items: flex-start; } }

/* Loan app safety check */
.safe { display: flex; flex-direction: column; gap: 18px; max-width: 920px; }
.safe-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.safe-q { border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; background: var(--white); display: flex; flex-direction: column; gap: 10px; transition: border-color .25s ease, background .25s ease; }
.safe-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.safe-row p { margin: 0; color: var(--navy); font-size: 16px; }
.safe-q.is-flag { border-color: rgba(194,69,58,.5); background: #FDF4F3; }
.safe-q.is-ok { border-color: rgba(30,158,106,.45); background: #F3FBF7; }
.safe-feedback { margin: 0; font-size: 15px; padding-left: 14px; border-left: 3px solid; animation: kv-up .35s ease both; }
.safe-q.is-flag .safe-feedback { border-color: #C2453A; color: #8F2D24; }
.safe-q.is-ok .safe-feedback { border-color: #1E9E6A; color: #146B48; }
.safe-result { background: var(--navy); color: var(--white); border-radius: 22px; padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; transition: background .4s ease; }
.safe-result h3 { color: var(--white); font-size: 24px; }
.safe-result p { color: var(--light-text); margin: 0; }
.safe-result.r-ok { background: #0F5C46; }
.safe-result.r-warn { background: #6B4E17; }
.safe-result.r-stop { background: #7A2620; }
.safe-meter { display: flex; gap: 6px; }
.safe-meter span { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.15); transition: background .3s ease; }
.safe-meter span.m-ok { background: #5BD6A2; }
.safe-meter span.m-flag { background: #FF8A7F; }
.safe-count { font-size: 14px; color: var(--light-text); }
.safe-result .pill-link { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.25); }
.safe-result .link-btn { color: var(--gold-soft); }
@media (max-width: 640px) { .safe-row { flex-direction: column; align-items: flex-start; } }

/* EMI chart */
.emi-split { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,.12); }
.emi-split span { height: 100%; transition: width .4s ease; }
.split-p, .lg-p { background: var(--teal-bright); }
.split-i, .lg-i { background: var(--gold); }
.emi-legend { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--light-text); }
.emi-legend b { color: var(--white); font-weight: 600; }
.emi-legend i, .emi-years-head i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.emi-years-head i { margin-left: 10px; }
.emi-years { flex: 1 1 100%; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); padding-top: 22px; }
.emi-years-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.emi-years-head strong { color: var(--navy); font-size: 16px; }
.emi-bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; }
.emi-bar { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.emi-stack { width: 100%; max-width: 64px; display: flex; flex-direction: column-reverse; border-radius: 8px 8px 3px 3px; overflow: hidden; transition: height .4s ease; }
.emi-stack .sp { background: var(--teal); transition: height .4s ease; }
.emi-stack .si { background: var(--gold); transition: height .4s ease; }
.emi-bar small { font-size: 12px; color: var(--muted); font-weight: 600; }
.emi-years-note { margin: 0; font-size: 13px; color: var(--muted); }
.emi-lg-p { background: var(--teal); }

/* Use case stepper */
.stage-nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stage-btn { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--muted); border: 1.5px solid var(--line); transition: all .2s ease; }
.stage-btn span { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--soft); color: var(--navy); font-size: 13px; transition: all .2s ease; }
.stage-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.stage-btn.is-done { color: var(--navy); }
.stage-btn.is-done span { background: #E2F4F4; color: var(--teal-text); }
.stage-btn.is-active { color: var(--navy); border-color: var(--navy); }
.stage-btn.is-active span { background: var(--navy); color: var(--white); }
.stages { display: flex; flex-direction: column; gap: 18px; }
.stage-lead { font-size: 18px; color: var(--body); }
.js .stages .stage { display: none; }
.js .stages .stage.is-active { display: block; animation: kv-up .4s ease both; }
.js .stage.is-active .stage-steps li { animation: kv-up .4s ease both; }
.js .stage.is-active .stage-steps li:nth-child(2) { animation-delay: .12s; }
.js .stage.is-active .stage-steps li:nth-child(3) { animation-delay: .24s; }
.js .stage.is-active .stage-steps li:nth-child(4) { animation-delay: .36s; }
.stage-controls { display: none; }
.js .stage-controls { display: flex; align-items: center; gap: 14px; }
.stage-progress { flex: 1; height: 4px; background: var(--soft); border-radius: 2px; overflow: hidden; }
.stage-progress span { display: block; height: 100%; width: 33.3%; background: linear-gradient(90deg, var(--teal), var(--gold)); transition: width .4s ease; }
@media (max-width: 560px) { .stage-btn { font-size: 12px; padding: 8px; gap: 6px; } .stage-btn span { width: 22px; height: 22px; } }

@media (prefers-reduced-motion: reduce) {
  .finder-answer, .safe-feedback, .js .stages .stage.is-active, .js .stage.is-active .stage-steps li { animation: none !important; }
  .gauge-fill, .emi-split span, .emi-stack, .emi-stack .sp, .emi-stack .si, .stage-progress span { transition: none !important; }
}
.emi-years-head .lg-p { background: var(--teal); }

/* Platform teaser: six modules sit in two even rows of three */
.mod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mod-grid { grid-template-columns: 1fr; } }

/* Credit demo: loan types, presets, policy */
.demo-tabs { margin-bottom: 18px; flex-wrap: wrap; }
.demo-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.demo-presets > span { font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.choice-sm { padding: 8px 14px; min-height: 38px; font-size: 14px; }
.policy { border-top: 1px solid var(--line); padding-top: 14px; }
.policy summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 15px; list-style: none; display: flex; align-items: center; gap: 8px; }
.policy summary::-webkit-details-marker { display: none; }
.policy summary::before { content: "+"; width: 22px; height: 22px; border-radius: 6px; background: var(--navy); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.policy[open] summary::before { content: "–"; }
.policy summary span { font-weight: 400; color: var(--muted); }
.policy summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.policy-body { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; }
.policy-body input[type="range"] { accent-color: var(--gold); }
.demo-why { margin: 0; font-size: 15px; color: var(--white); background: rgba(255,255,255,.06); border-radius: 12px; padding: 12px 14px; }

/* ===== Site-wide polish (v6) ===== */
/* Section intros sit under the heading, never floating at the far right */
.section-head.split { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 12px; max-width: 760px; }
.section-head.split > p { max-width: 640px; }

/* Closing call-to-action: light band, so it never merges with dark sections or the footer */
.cta { background: radial-gradient(900px 400px at 85% 0%, rgba(12,157,164,.14), transparent 60%), linear-gradient(120deg, #EAF6F6, #F6F1E6); color: var(--navy); border-top: 1px solid var(--line); }
.cta h2 { color: var(--navy); }
.cta .hero-eyebrow { color: var(--teal-text); }
.cta .lead-light { color: #3C4B5F; }
.cta .hero-mark { fill: var(--navy); opacity: .05; }

/* Company details: address gets a full-width row */
.company-dl .dl-wide { grid-column: 1 / -1; }

/* Service finder: preview of the four services before a choice is made */
.finder-preview { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.finder-preview li { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border: 1px dashed #C9D6E6; border-radius: 14px; opacity: .75; }
.finder-preview strong { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--navy); }
.finder-preview .card-label { font-size: 12px; color: var(--muted); }
.finder-empty { align-items: stretch; justify-content: flex-start; }
.finder-empty p { margin: 4px 0 0; text-align: center; font-size: 15px; }

/* Readiness gauge: no stray dot at zero */
.gauge-fill[data-zero] { opacity: 0; }
.section-soft .ready-q:not([class*="a-"]) { background: var(--white); }
@media (max-width: 560px) { .policy summary span { display: none; } .demo-tabs { display: grid; grid-template-columns: 1fr; } }

/* ===== Platform page (v7) ===== */
/* Workflow steps light up in order */
.flow li { position: relative; overflow: hidden; transition: border-color .35s ease, background .35s ease, transform .35s ease; }
.flow li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--teal), var(--gold)); transition: width .6s ease; }
.flow li.is-on { border-color: rgba(12,157,164,.45); background: #F2FAFA; }
.flow li.is-on::after { width: 100%; }
.flow li.is-now { transform: translateX(4px); box-shadow: 0 10px 22px -16px rgba(5,36,72,.5); }
.flow-n { transition: background .35s ease; }
.flow li.is-on .flow-n { background: var(--teal); }
.flow-note { margin: 0; font-size: 13px; color: var(--muted); }

/* Second half of the platform page is light */
.platform-more .stack { margin-top: 0; border-top: 0; padding-top: 0; }
.platform-more .muted-light { color: var(--muted); }
.platform-more .stack-tags span { border-color: var(--line); color: var(--navy); background: var(--white); }
.platform-more .stack-layers { background: var(--soft); border-color: var(--line); padding: 8px; }
.platform-more .stack-layers li { border-bottom-color: var(--line); }
.platform-more .stack-layers strong { color: var(--navy); }
.platform-more .stack-layers span { color: #3C4B5F; }
.platform-more .ways { margin-top: 56px; }
.platform-more .way { background: var(--white); border-color: var(--line); box-shadow: var(--shadow); }
.platform-more .way-head strong { color: var(--navy); }
.platform-more .way p { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .flow li, .flow li::after, .flow-n { transition: none !important; }
  .flow li.is-now { transform: none; }
}

/* ===== Use Cases + Borrowers (v8) ===== */
/* Safety check: questions left, live result right */
.safe { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; max-width: none; }
.safe-result { position: sticky; top: 96px; }
.safe-result .protect-links { flex-wrap: wrap; }
@media (max-width: 960px) { .safe { grid-template-columns: 1fr; } .safe-result { position: static; } }
.reg-points li { padding-left: 0; } .reg-points li::before { content: "✓"; color: var(--teal-text); font-weight: 700; margin-right: 10px; }

/* ===== Proof & clarity (v9) ===== */
/* Hero: what is available today */
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 600px; }
.offer-list li { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.8); }
.offer-list span { font-size: 14px; font-weight: 600; color: var(--navy); }
.offer-list em { align-self: flex-start; font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.offer-gold { background: #F6ECD8; color: var(--gold-text); }
.offer-teal { background: #E2F4F4; color: var(--teal-text); }
.offer-navy { background: #E6ECF4; color: var(--navy); }
@media (max-width: 560px) { .offer-list { grid-template-columns: 1fr; } }
.cockpit-badge { white-space: nowrap; }

/* Demo: inputs on a tinted section, decision trail */
#try .demo-inputs { background: var(--white); }
#try .choice { background: var(--white); }
.demo-trail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.demo-trail li { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-size: 12px; line-height: 1.35; color: #C9D6E6; }
.demo-trail li b { font-weight: 600; }
.demo-trail span { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.demo-trail li.t-ok { border-color: rgba(91,214,162,.5); color: #5BD6A2; }
.demo-trail li.t-refer, .demo-trail li.t-human { border-color: rgba(229,198,142,.6); color: var(--gold-soft); }
.demo-trail li.t-no { border-color: rgba(255,138,127,.5); color: #FF8A7F; }
@media (max-width: 560px) { .demo-trail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Implementation approach */
.impl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: impl; }
.impl li { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); display: flex; flex-direction: column; gap: 8px; }
.impl h3 { font-size: 20px; }
.impl p { color: var(--muted); font-size: 16px; margin: 0; }
.impl-n { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.impl li:nth-child(n+4) .impl-n { background: var(--teal); }
.impl li:last-child .impl-n { background: var(--gold); color: var(--navy); }
@media (max-width: 860px) { .impl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .impl { grid-template-columns: 1fr; } }

/* Platform modules: facts */
.mod-facts { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.mod-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-text); }
.mod-facts dd { margin: 3px 0 0; font-size: 15px; color: var(--body); }
@media (max-width: 560px) { .mod-facts { grid-template-columns: 1fr; } }

/* Security */
.security { margin-top: 56px; display: flex; flex-direction: column; gap: 12px; }
.security h3 { font-size: 28px; }
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
.sec-item { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.sec-item strong { display: block; color: var(--navy); font-size: 16px; margin-bottom: 4px; }
.sec-item p { margin: 0; font-size: 15px; color: var(--muted); }
.sec-ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: #E2F4F4; color: var(--teal-text); display: inline-flex; align-items: center; justify-content: center; }
.sec-ic .ic { width: 22px; height: 22px; }
@media (max-width: 960px) { .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sec-grid { grid-template-columns: 1fr; } }

/* Contact: borrower pointer */
.notice-inline { margin: 4px 0 0; padding: 12px 14px; border-radius: 12px; background: #FDF8EF; border: 1px solid #F0E2C4; font-size: 15px; color: var(--body); }

/* ===== Watermark K (v1.3): whole letter, smaller, soft fade ===== */
.hero .hero-mark, .page-hero .hero-mark, .cta .hero-mark {
  right: 5%; left: auto; top: 50%; bottom: auto;
  width: auto; height: min(78%, 460px); aspect-ratio: 1 / 1;
  transform: translateY(-50%);
  fill: var(--navy); opacity: .05;
  -webkit-mask-image: linear-gradient(160deg, #000 35%, transparent 95%);
  mask-image: linear-gradient(160deg, #000 35%, transparent 95%);
}
.hero .hero-mark { right: 2%; opacity: .04; }
@media (max-width: 860px) {
  .page-hero .hero-mark, .cta .hero-mark { height: 60%; right: -10%; opacity: .04; }
}
.cta .hero-mark { right: 20%; } @media (max-width: 860px) { .cta .hero-mark { right: -10%; } }

/* ===== v1.5 ===== */
/* Homepage solutions */
.sol-head { max-width: none; }
.sol-intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; width: 100%; }
.sol-intro p { max-width: 640px; margin: 0; }
.sol-intro a { white-space: nowrap; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card-status { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.sol-copy .card-top { justify-content: flex-start; gap: 14px; align-items: center; }
/* Implementation: compact, connected */
.impl { gap: 14px; position: relative; }
.impl li { padding: 18px 20px; gap: 6px; }
.impl h3 { font-size: 18px; }
.impl p { font-size: 15px; }
.impl-n { width: 30px; height: 30px; font-size: 14px; position: relative; z-index: 1; }
.impl li::after { content: ""; position: absolute; top: 33px; left: 50px; right: -14px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--gold)); opacity: .55; }
.impl li:nth-child(3n)::after, .impl li:last-child::after { display: none; }
@media (max-width: 860px) { .impl li::after { display: none; } }
h2 .nowrap, .nowrap { white-space: nowrap; }
/* Why: four principles */
.why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
/* Use case service labels */
.uc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.uc-tags span { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--navy); border: 1px solid var(--line); }
.uc-card .card-link { margin-top: 4px; }
/* Credit demo */
.demo-rulesetlabel { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--gold-soft); text-transform: uppercase; }
/* Inclusion hub */
.hub { position: relative; display: grid; grid-template-columns: 1fr minmax(150px, .9fr) 1fr; grid-template-rows: auto auto auto; gap: 18px 16px; align-items: center; padding: 24px; border-radius: 24px; background: var(--soft); border: 1px solid var(--line); }
.hub-group { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.hub-group h4 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hub-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hub-group li { font-size: 13px; font-weight: 600; padding: 4px 9px; border-radius: 999px; }
.hub-navy h4 { color: var(--navy); } .hub-navy li { background: #E6ECF4; color: var(--navy); }
.hub-gold h4 { color: var(--gold-text); } .hub-gold li { background: #F6ECD8; color: var(--gold-text); }
.hub-teal h4 { color: var(--teal-text); } .hub-teal li { background: #E2F4F4; color: var(--teal-text); }
.hub-inst { grid-column: 1 / -1; grid-row: 1; }
.hub-gov { grid-column: 1; grid-row: 2; }
.hub-core { grid-column: 2; grid-row: 2; }
.hub-eco { grid-column: 3; grid-row: 2; }
.hub-comm { grid-column: 1 / -1; grid-row: 3; }
.hub-inst ul, .hub-comm ul { justify-content: center; } .hub-inst h4, .hub-comm h4 { text-align: center; }
.hub-core { background: var(--navy); color: var(--white); border-radius: 18px; padding: 18px 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; position: relative; z-index: 1; box-shadow: 0 0 0 8px rgba(12,157,164,.12), 0 20px 40px -20px rgba(5,36,72,.6); }
.hub-core strong { font-family: var(--display); font-size: 20px; }
.hub-core span { font-size: 12px; color: var(--light-text); }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hub-lines line { stroke: var(--teal); stroke-opacity: .55; stroke-width: 2; stroke-dasharray: 4 6; animation: hubflow 1.6s linear infinite; }
@keyframes hubflow { to { stroke-dashoffset: -20; } }
.hub-caption { grid-column: 1 / -1; grid-row: 4; margin: 4px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) {
  .hub { grid-template-columns: 1fr; }
  .hub-inst, .hub-gov, .hub-core, .hub-eco, .hub-comm, .hub-caption { grid-column: 1; grid-row: auto; }
  .hub-core { order: 2; } .hub-inst { order: 1; } .hub-gov { order: 3; } .hub-eco { order: 4; } .hub-comm { order: 5; } .hub-caption { order: 6; }
  .hub-lines { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hub-lines line { animation: none; } }
#inclusion .two-col > .hub { flex: 1.35 1 560px; }
.hub-group li { border-radius: 10px; }
.hub { grid-template-columns: 1fr minmax(140px, .8fr) 1fr; }

/* ===== v1.6 ===== */
/* Layered architecture stack */
.stack-v2 { align-items: flex-start; }
.stack-detail { border-left: 3px solid var(--teal); padding: 10px 0 10px 16px; display: flex; flex-direction: column; gap: 4px; min-height: 96px; }
.stack-detail-k { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--navy); }
.stack-detail p { margin: 0; color: var(--body); font-size: 16px; }
.layers { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.layers-hint { margin: 0; font-size: 13px; color: var(--muted); text-align: right; }
.layers-list { list-style: none; margin: 0; padding: 0 0 0 0; display: flex; flex-direction: column; gap: 8px; position: relative; }
.layers-list::before { content: ""; position: absolute; left: 22px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(0deg, var(--teal), var(--gold)); opacity: .35; }
.layers-list::after { content: ""; position: absolute; left: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(12,157,164,.22), 0 0 12px rgba(12,157,164,.7); animation: layerpulse 4s ease-in-out infinite; }
@keyframes layerpulse { 0% { bottom: 6%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { bottom: 92%; opacity: 0; } }
.layer { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; padding: 16px 18px 16px 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease; position: relative; }
.layer strong { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--navy); }
.layer span { font-size: 14px; color: var(--muted); }
.layer::before { content: ""; position: absolute; left: 17px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 4px; transform: rotate(45deg); background: var(--white); border: 2px solid var(--teal); transition: background .25s ease; }
.layer-1 { margin-left: 0; } .layer-2 { margin-left: 3%; width: 97%; } .layer-3 { margin-left: 6%; width: 94%; } .layer-4 { margin-left: 9%; width: 91%; } .layer-5 { margin-left: 12%; width: 88%; }
.layers-list li:nth-child(2) .layer { margin-left: 3%; width: 97%; } .layers-list li:nth-child(3) .layer { margin-left: 6%; width: 94%; } .layers-list li:nth-child(4) .layer { margin-left: 9%; width: 91%; } .layers-list li:nth-child(5) .layer { margin-left: 12%; width: 88%; }
.layer:hover { border-color: rgba(12,157,164,.5); transform: translateX(4px); }
.layer[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); transform: translateX(8px); box-shadow: 0 18px 30px -18px rgba(5,36,72,.6); }
.layer[aria-pressed="true"] strong { color: var(--white); }
.layer[aria-pressed="true"] span { color: var(--light-text); }
.layer[aria-pressed="true"]::before { background: var(--gold); border-color: var(--gold); }
.layer:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
@media (max-width: 640px) { .layers-list li .layer { margin-left: 0 !important; width: 100% !important; } .layers-hint { text-align: left; } }
@media (prefers-reduced-motion: reduce) { .layers-list::after { display: none; } .layer { transition: none; } }
/* Security */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; }
.sec-head > div { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.sec-head .link-strong { white-space: nowrap; }
.sec-item { padding: 16px 18px; align-items: flex-start; }
/* Three ways */
.ways-v2 { gap: 14px; }
.ways-v2 h2 { margin: 0 0 8px; }
.ways-v2 .way { gap: 10px; }
.way-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.way-title { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--navy); }
.way-link { margin-top: auto; padding-top: 4px; }
/* Use cases v1.6 */
.case-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 18px; }
.case-btn { flex-direction: row; align-items: flex-start; gap: 14px; padding: 14px 16px; }
.case-btn[hidden] { display: none; }
.case-ic { flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; background: #E2F4F4; color: var(--teal-text); display: inline-flex; align-items: center; justify-content: center; }
.case-ic .ic { width: 20px; height: 20px; }
.case-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.case-title { font-size: 16px; }
.case-svc { font-size: 12px; color: var(--muted); }
.case-btn[aria-selected="true"] .case-ic { background: var(--navy); color: var(--white); }
.case-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.case-count { font-size: 13px; color: var(--muted); font-weight: 600; }
.case-count em { font-style: normal; color: var(--gold-text); }
.mod-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.mod-chips > span { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.mod-chip { font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: var(--navy); color: var(--white); text-decoration: none; }
.mod-chip:hover { background: var(--teal); color: var(--white); }
.case-empty { color: var(--muted); font-size: 15px; padding: 10px 4px; }
/* EMI v1.6 */
.emi-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.slider-top label { font-weight: 600; }
.num-wrap { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); }
.num-in { width: 120px; font: 600 15px/1.2 var(--text); color: var(--navy); padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); text-align: right; font-variant-numeric: tabular-nums; }
.num-in.num-sm { width: 76px; }
.num-in:focus { outline: 2px solid var(--teal); outline-offset: 1px; background: var(--white); }
.unit-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--soft); }
.unit-toggle button { font: 600 12px/1 var(--text); border: 0; background: transparent; color: var(--muted); padding: 6px 9px; border-radius: 999px; cursor: pointer; }
.unit-toggle button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.emi-more { border-top: 1px solid var(--line); padding-top: 14px; }
.emi-more summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 15px; list-style: none; display: flex; align-items: center; gap: 8px; }
.emi-more summary::-webkit-details-marker { display: none; }
.emi-more summary::before { content: "+"; width: 22px; height: 22px; border-radius: 6px; background: var(--teal); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.emi-more[open] summary::before { content: "–"; }
.emi-more summary span { font-weight: 400; color: var(--muted); }
.emi-more-body { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; }
.emi-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--body); }
.afford-bar { height: 10px; border-radius: 5px; background: var(--soft); border: 1px solid var(--line); overflow: hidden; }
.afford-bar span { display: block; height: 100%; width: 0; transition: width .4s ease, background .3s ease; }
.afford p, .truecost p { margin: 8px 0 0; font-size: 14px; font-weight: 600; }
.afford.a-ok span { background: #1E9E6A; } .afford.a-ok p { color: #146B48; }
.afford.a-warn span { background: var(--gold); } .afford.a-warn p { color: var(--gold-text); }
.afford.a-high span { background: #C2453A; } .afford.a-high p { color: #8F2D24; }
.truecost { background: #FDF8EF; border: 1px solid #F0E2C4; border-radius: 12px; padding: 4px 12px 10px; }
.truecost p { color: var(--body); font-weight: 500; }
/* Lighter slider tracks, site-wide */
input[type="range"] { -webkit-appearance: none; appearance: none; height: 28px; background: transparent; --fill: 50%; --c: var(--teal); }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--c) var(--fill), #DCE3EC var(--fill)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: #DCE3EC; }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--c); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; background: var(--white); border: 3px solid var(--c); box-shadow: 0 2px 6px rgba(5,36,72,.25); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--c); cursor: pointer; }
input[type="range"]:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 6px; }
.policy-body input[type="range"] { --c: var(--gold); }
@media (max-width: 480px) { .num-in { width: 100px; } .num-in.num-sm { width: 64px; } }
.emi-years { min-width: 0; }
.emi-bars { gap: 4px; }
.emi-bar small { white-space: nowrap; font-size: 11px; min-height: 14px; }
.emi-years-note { overflow-wrap: anywhere; }
.security h3 { font-size: clamp(26px, 3vw, 34px); }
.ways-v2 h2 { font-size: clamp(26px, 3vw, 34px); }
.case-detail-wrap { align-items: flex-start; }
.case-detail { position: sticky; top: 96px; }
@media (max-width: 900px) { .case-detail { position: static; } }

/* ===== v1.7 hero card ===== */
.cockpit-products { display: inline-flex; align-self: flex-start; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.cockpit-products button { font: 600 12px/1 var(--text); color: #C9D6E6; background: transparent; border: 0; padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.cockpit-products button:hover { color: var(--white); }
.cockpit-products button[aria-pressed="true"] { background: var(--teal); color: var(--white); }
.cockpit-products button:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; }
.cockpit-tile > * { transition: opacity .22s ease; }
.cp-swap .cockpit-tile > *, .cp-swap .cockpit-meta b { opacity: 0; }
.cockpit-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; color: #9FB0C6; border-top: 1px solid rgba(255,255,255,.1); padding-top: 10px; }
.cockpit-meta b { color: #DCE6F2; font-weight: 600; transition: opacity .22s ease; }
@media (prefers-reduced-motion: reduce) { .cockpit-tile > *, .cockpit-meta b { transition: none; } }
