/* Credilent Insurance Broker — site styles */
:root {
  --navy: #0B1F4B;
  --navy-2: #071538;
  --red: #A6192E;
  --red-dark: #7E1222;
  --rose: #FBEFF1;
  --rose-text: #F4B4BD;
  --grey: #5F6368;
  --text-2: #4A5568;
  --line: #E3E7ED;
  --field: #C7CFDA;
  --bg-soft: #F3F5FA;
  --bg-card: #F6F7FA;
  --ok-bg: #EAF5EE; --ok: #1D5B34;
  --warn-bg: #FFF6E5; --warn: #6B4A00;
  --err-bg: #FDECEE; --err: #8A1325;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(11, 31, 75, 0.12);
  --head: 'Poppins', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--navy); background: #fff; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--head); line-height: 1.18; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 960px; }
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #fff; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.section-navy .eyebrow { color: var(--rose-text); }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.lead { font-size: 17px; color: var(--text-2); margin-top: 14px; max-width: 680px; }
.section-navy .lead { color: #C9D3E6; }
.muted { color: var(--grey); }
.small { font-size: 13px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-sm { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #13295C; color: #fff; }
.btn-outline { background: #fff; border-color: var(--field); color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light { background: transparent; border-color: #5A6F9E; color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-btn { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--red); cursor: pointer; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.input, select.input, textarea.input { min-height: 48px; padding: 0 14px; border: 1px solid var(--field); border-radius: 10px; font: inherit; font-size: 16px; font-weight: 400; color: var(--navy); background: #fff; width: 100%; }
textarea.input { padding: 12px 14px; min-height: 96px; resize: vertical; }
.input:focus, .btn:focus-visible, .tile:focus-visible, .link-btn:focus-visible { outline: 3px solid rgba(166, 25, 46, .35); outline-offset: 2px; }
.input-lg { min-height: 56px; font-size: 18px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); font-weight: 400; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--red); }
.choice { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 12px; border: 1px solid var(--field); border-radius: 10px; font-size: 15px; font-weight: 400; }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--red); }
fieldset { margin: 0; padding: 0; border: 0; }
legend { padding: 0 0 10px; font-size: 14px; font-weight: 500; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: 12px; font-size: 14px; }
.alert-err { background: var(--err-bg); color: var(--err); }
.alert-ok { background: var(--ok-bg); color: var(--ok); }
.alert-warn { background: var(--warn-bg); color: var(--warn); }
.pill { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: #EEF1F5; color: var(--navy); }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-err { background: var(--err-bg); color: var(--err); }
.pill-red { background: var(--rose); color: var(--red); }

/* Header */
.util { background: var(--navy); color: #D6DDEA; font-size: 13px; }
.util .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 8px; padding-bottom: 8px; }
.util a { color: #fff; text-decoration: none; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand-sub { display: flex; flex-direction: column; line-height: 1.2; padding-left: 14px; border-left: 1px solid #D5DAE1; font-size: 11px; font-weight: 600; color: var(--grey); letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 4px 24px; font-size: 15px; font-weight: 500; }
.main-nav a { color: var(--navy); text-decoration: none; padding: 12px 0; }
.main-nav a:hover { color: var(--red); }
.head-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--field); border-radius: 10px; background: #fff; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1060px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 16px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 640px) {
  .util-left, .head-actions .hide-sm, .brand-sub { display: none; }
  .brand img { height: 38px; }
}

/* Hero */
.hero { background: var(--bg-soft); }
.hero .container { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 64px; padding-bottom: 80px; }
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding-top: 20px; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 700; letter-spacing: -0.02em; }
.hero h1 span { color: var(--red); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-weight: 500; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: none; margin-top: 2px; }
.quote-card { flex: 1 1 540px; min-width: 0; background: #fff; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 22px; box-shadow: var(--shadow); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; }
.tile { min-height: 92px; padding: 12px 6px; border: 2px solid var(--line); background: #fff; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 600; color: var(--navy); cursor: pointer; text-align: center; }
.tile[aria-pressed="true"] { border-color: var(--red); background: var(--rose); }
.divider { height: 1px; background: var(--line); }
.h-form { font-size: 22px; font-weight: 600; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card-soft { background: var(--bg-card); border-radius: 18px; padding: 26px; }
.card h3 { font-size: 18px; font-weight: 600; }
.card p, .card-soft p { color: var(--text-2); font-size: 15px; margin-top: 8px; }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; background: var(--rose); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { background: #fff; border-radius: 18px; padding: 28px; }
.steps .num { font-family: var(--head); font-size: 42px; font-weight: 700; line-height: 1; color: var(--red); display: block; margin-bottom: 10px; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--text-2); font-size: 15px; margin-top: 8px; }
/* Insurance partners: tabs + carousel */
.ins-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 0 auto 30px; }
.ins-tabs button { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font: inherit; font-size: 14px; font-weight: 500; color: var(--navy); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ins-tabs button:hover { border-color: var(--red); color: var(--red); }
.ins-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.ins-carousel { position: relative; max-width: 1120px; margin: 0 auto; }
.ins-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 12px; scroll-padding-inline: 4px; scrollbar-width: none; justify-content: safe center; }
.ins-track::-webkit-scrollbar { display: none; }
.ins-card { flex: 0 0 250px; scroll-snap-align: start; background: #fff; border-radius: 16px; box-shadow: 0 2px 10px rgba(11,31,75,.06); padding: 10px 10px 20px; text-align: center; transition: box-shadow .2s, transform .2s; }
.ins-card:hover { box-shadow: 0 10px 26px rgba(11,31,75,.12); transform: translateY(-2px); }
.ins-logo { height: 132px; border-radius: 12px; background: radial-gradient(120% 90% at 50% 0%, var(--rose) 0%, var(--bg-card) 62%); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; position: relative; overflow: hidden; }
.ins-logo::after { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 70%; border-radius: 50%; border: 1px solid rgba(166,25,46,.12); }
.ins-crest { width: 78px; height: 88px; filter: drop-shadow(0 6px 10px rgba(7,21,56,.22)); transition: transform .25s; position: relative; z-index: 1; }
.ins-card:hover .ins-crest { transform: scale(1.06) rotate(-2deg); }
.ins-covers { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.ins-covers span { font-size: 11px; font-weight: 500; color: var(--navy); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; }
.ins-logo img { max-width: 150px; max-height: 90px; object-fit: contain; background: #fff; padding: 8px 10px; border-radius: 6px; }
.ins-card h3 { font-family: var(--body); font-size: 16px; font-weight: 600; color: var(--navy); margin: 0; line-height: 1.35; }
.ins-card p { font-size: 13px; color: var(--grey); margin: 4px 0 0; }
.ins-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); box-shadow: 0 4px 14px rgba(11,31,75,.15); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ins-arrow[hidden] { display: none; }
.ins-arrow:hover { color: var(--red); }
.ins-prev { left: -8px; } .ins-next { right: -8px; }
@media (max-width: 640px) { .ins-card { flex-basis: 70%; } .ins-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .ins-tabs button { white-space: nowrap; } .ins-prev { left: 0; } .ins-next { right: 0; } }
.claims-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.claims-list li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid #253B6E; border-radius: 14px; color: #E6ECF3; }
.claims-list .n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.band-rose { background: var(--rose); border-radius: 28px; padding: clamp(28px, 5vw, 60px); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; font-family: var(--head); font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 26px; font-weight: 400; color: var(--red); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 0 22px; color: var(--text-2); max-width: 820px; }

/* Footer */
.site-footer { background: var(--navy-2); color: #A9B4C9; font-size: 14px; }
.site-footer .container { padding-top: 64px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 40px; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.foot-grid nav, .foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-grid h2 { font-family: var(--body); font-size: 14px; font-weight: 600; color: #fff; letter-spacing: 0; }
.site-footer a { color: #C9D3E6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-logo { align-self: flex-start; background: #fff; border-radius: 12px; padding: 10px 14px; }
.foot-logo img { height: 34px; width: auto; }
.tagline { font-family: var(--head); letter-spacing: .12em; color: var(--rose-text); }
.disclosures { border-top: 1px solid #1C2F5E; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.65; }
.disclosures strong { color: #E6ECF3; }

/* App screens (account, POSP, admin) */
.app-bg { background: var(--bg-soft); min-height: 70vh; }
.app-wrap { max-width: 1280px; margin: 0 auto; padding: 32px 24px 72px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.app-side { flex: 1 1 230px; min-width: 0; background: #fff; border-radius: 20px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.app-side a, .app-side button { display: flex; align-items: center; min-height: 46px; padding: 0 14px; border-radius: 10px; color: var(--navy); font: inherit; font-weight: 500; text-decoration: none; background: none; border: 0; text-align: left; cursor: pointer; }
.app-side .active, .app-side [aria-current="page"], .app-side [aria-selected="true"] { background: var(--rose); color: var(--red); font-weight: 600; }
.app-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.panel { background: #fff; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.panel h2 { font-size: 19px; font-weight: 600; }
.stat { background: #fff; border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.stat .v { font-family: var(--head); font-size: 28px; font-weight: 700; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.data th { text-align: left; color: var(--grey); font-weight: 500; padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 12px 8px; border-bottom: 1px solid #EEF1F5; vertical-align: top; }
.empty { padding: 28px; text-align: center; color: var(--grey); background: var(--bg-card); border-radius: 14px; }
.stepper { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.stepper li { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 8px; border-radius: 12px; }
.stepper li.current { background: var(--rose); }
.stepper .dot { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--line); color: var(--grey); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.stepper li.done .dot, .stepper li.current .dot { background: var(--red); color: #fff; }
.progress { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--red); }
.doc-row { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.otp-boxes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.otp-boxes input { min-width: 0; height: 56px; border: 1px solid var(--field); border-radius: 12px; font: inherit; font-size: 22px; font-weight: 600; text-align: center; color: var(--navy); }
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; background: #EEF1F5; border-radius: 12px; }
.tabs button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--navy); cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--red); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 14px; z-index: 100; box-shadow: var(--shadow); }
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 10px; }
.draft-note { background: var(--warn-bg); color: var(--warn); padding: 12px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 24px; }

/* Dropdown menus */
.nav-item { position: relative; }
.nav-item > button { border: 0; background: none; font: inherit; color: var(--navy); padding: 12px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav-item > button::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 4px; }
.nav-item > button:hover { color: var(--red); }
.dropdown { display: none; position: absolute; top: 100%; left: -16px; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; z-index: 60; }
.dropdown a { display: block; padding: 10px 12px !important; border-radius: 8px; border: 0 !important; }
.dropdown a:hover { background: var(--rose); }
.dropdown small { display: block; color: var(--grey); font-size: 12px; }
.nav-item.open .dropdown { display: block; }
@media (min-width: 1061px) { .nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: block; } }
@media (max-width: 1060px) {
  .nav-item > button { width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
}
/* Trust bar, tools, guides */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.trust-item strong { display: block; font-size: 15px; }
.trust-item svg { flex: none; }
.tool-figure { font-family: var(--head); font-size: 36px; font-weight: 700; color: var(--red); margin: 4px 0 10px; }
.result-card { background: var(--rose); border-radius: 18px; padding: 24px; }
.result-card ul { padding-left: 18px; margin: 0; display: flex; flex-direction: column; gap: 6px; color: var(--text-2); }
.link-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.link-card:hover { border-color: var(--red); color: var(--navy); }
.link-card .go { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--red); }
.article { max-width: 760px; }
.article h2 { font-size: 24px; margin: 36px 0 12px; }
.article p, .article li { font-size: 17px; color: #2D3748; line-height: 1.7; }
.article p + p { margin-top: 14px; }
.article ul, .article ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.article table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15px; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article th { background: var(--bg-card); }
.article .meta { color: var(--grey); font-size: 14px; margin-top: 10px; }
.article-cta { background: var(--navy); color: #fff; border-radius: 20px; padding: 28px; margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.article-cta p { color: #C9D3E6 !important; }

.input-lg::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; }

/* Printable POSP documents */
.doc-page { background: #E9ECF2; min-height: 100vh; padding: 32px 16px; }
.doc-toolbar { max-width: 900px; margin: 0 auto 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.doc-sheet { background: #fff; max-width: 900px; margin: 0 auto; padding: 48px; box-shadow: 0 10px 30px rgba(11,31,75,.12); }
.id-card { width: 340px; height: 214px; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(11,31,75,.15); display: flex; flex-direction: column; }
.id-card .top { background: var(--navy); color: #fff; padding: 8px 12px; display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.id-card .body { flex: 1; display: flex; gap: 12px; padding: 12px; }
.id-card .photo { width: 78px; height: 96px; border-radius: 8px; background: var(--rose); object-fit: cover; flex: none; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-size: 28px; color: var(--red); }
.id-card .name { font-family: var(--head); font-weight: 600; font-size: 15px; line-height: 1.2; }
.id-card .meta { font-size: 10.5px; color: var(--text-2); line-height: 1.45; }
.id-card .code { font-family: var(--head); font-size: 16px; font-weight: 700; color: var(--red); }
.id-card .foot { background: var(--rose); color: var(--navy); padding: 5px 12px; font-size: 9px; }
.cert { border: 10px solid var(--navy); outline: 2px solid var(--red); outline-offset: -18px; padding: 56px 64px; text-align: center; }
.cert h1 { font-size: 34px; margin: 18px 0 6px; }
.cert .who { font-family: var(--head); font-size: 30px; color: var(--red); margin: 18px 0 8px; }
.cert p { font-size: 16px; color: var(--text-2); max-width: 640px; margin: 8px auto; line-height: 1.7; }
.sign-row { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; text-align: left; font-size: 13px; }
.sign-row .line { border-top: 1px solid var(--navy); padding-top: 6px; min-width: 200px; }
.stmt-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-bottom: 2px solid var(--navy); padding-bottom: 18px; margin-bottom: 18px; }
.stmt-totals { margin-left: auto; margin-top: 16px; min-width: 280px; font-size: 15px; }
.stmt-totals div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }
@media print {
  @page { margin: 12mm; }
  .doc-page { background: #fff; padding: 0; }
  .doc-toolbar { display: none; }
  .doc-sheet { box-shadow: none; padding: 0; max-width: none; }
  .id-card { box-shadow: none; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Advice-first: hero buttons, consultation, floating WhatsApp */
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.consult { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.consult-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.consult .quote-card { flex: 1 1 420px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; align-items: center; gap: 8px; background: #1F8F4E; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 8px 22px rgba(11,31,75,.25); transition: transform .2s; }
.wa-float:hover { transform: translateY(-2px); color: #fff; }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }
@media print { .wa-float { display: none; } }
.ins-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
/* Product pages */
.crumbs { color: var(--grey); } .crumbs a { color: var(--grey); text-decoration: none; } .crumbs a:hover { color: var(--red); }
.cover-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 32px; }
.cover-card { background: var(--bg-card); border-radius: 16px; padding: 22px 22px 20px; }
.cover-card .cover-tick { display: inline-flex; width: 38px; height: 38px; border-radius: 10px; background: var(--rose); align-items: center; justify-content: center; margin-bottom: 12px; }
.cover-card h3 { font-family: var(--body); font-size: 17px; font-weight: 600; }
.cover-card p { color: var(--text-2); font-size: 15px; margin-top: 6px; }
.plain-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.plain-list li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 14px 16px; }
.plain-list li svg { flex: none; margin-top: 2px; }
.plain-list strong { display: block; font-weight: 600; }
.plain-list span { color: var(--text-2); font-size: 15px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 32px; }
.why-grid > div { border: 1px solid #253B6E; border-radius: 16px; padding: 24px; }
.why-grid h3 { color: #fff; font-family: var(--body); font-size: 18px; font-weight: 600; }
.why-grid p { color: #C9D3E6; margin-top: 8px; font-size: 15px; }
.related { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 28px; }
.related a { font-weight: 500; }
.hero .quote-card { flex: 1 1 420px; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--navy); } .btn-ghost:hover { color: var(--red); }
/* Account tables: cards on phones; side menu as a swipeable row */
.cards-sm .card-title .pill { display: none; }
.show-sm { display: none; }
@media (max-width: 720px) {
  .app-side { flex: 1 1 100%; flex-direction: row; overflow-x: auto; gap: 6px; padding: 8px; border-radius: 14px; scrollbar-width: none; }
  .app-side::-webkit-scrollbar { display: none; }
  .app-side a, .app-side button { white-space: nowrap; min-height: 40px; padding: 0 14px; flex: none; }
  .table-wrap:has(.cards-sm) { overflow: visible; }
  table.cards-sm { min-width: 0 !important; border: 0; }
  table.cards-sm thead { display: none; }
  table.cards-sm, table.cards-sm tbody, table.cards-sm tr, table.cards-sm td { display: block; width: 100%; }
  table.cards-sm tr { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; background: #fff; }
  table.cards-sm td { border: 0 !important; padding: 4px 0 !important; display: flex; justify-content: space-between; gap: 12px; font-size: 15px; text-align: right; overflow-wrap: anywhere; }
  table.cards-sm td[data-label]::before { content: attr(data-label); color: var(--grey); flex: none; }
  table.cards-sm td.card-title { align-items: center; padding-bottom: 8px !important; margin-bottom: 4px; border-bottom: 1px solid var(--line) !important; }
  table.cards-sm .card-title .pill, table.cards-sm .show-sm { display: inline-flex; }
  table.cards-sm td.show-sm { display: flex; }
  table.cards-sm .hide-sm { display: none !important; }
}
/* Family insurance vault */
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--red); text-decoration: underline; cursor: pointer; }
.score-start { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; background: linear-gradient(135deg, var(--rose), #fff 70%); border-radius: 16px; padding: 24px; }
.score-start > div { flex: 1 1 320px; }
.score-grid { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; }
.score-main { display: flex; gap: 20px; align-items: center; flex: 1 1 300px; }
.score-ring { width: 128px; height: 128px; flex: none; }
.score-parts { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.score-parts .bar { height: 8px; background: #E6E9F0; border-radius: 99px; overflow: hidden; margin-top: 6px; }
.score-parts .bar span { display: block; height: 100%; background: var(--navy); border-radius: 99px; }
.gap-list, .good-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.gap { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--bg-card); flex-wrap: wrap; }
.gap > div { flex: 1 1 180px; min-width: 0; }
.gap .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grey); flex: none; }
.gap-high .dot { background: var(--red); } .gap-medium .dot { background: #C77700; }
.good-list li { padding-left: 26px; position: relative; color: var(--text-2); font-size: 15px; }
.good-list li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 12px; height: 7px; border-left: 2px solid #1F8F4E; border-bottom: 2px solid #1F8F4E; transform: rotate(-45deg); }
.advice-form, .vault-form { display: flex; flex-direction: column; gap: 14px; background: var(--bg-card); border-radius: 16px; padding: 20px; }
.vault-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.vault-card { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.vault-card header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.vault-type { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.vault-card h3 { font-family: var(--body); font-size: 17px; font-weight: 600; }
.vault-card dl { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.vault-card dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.vault-card dt { color: var(--grey); } .vault-card dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.vault-card footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: auto; flex-wrap: wrap; }
.vault-card .src { font-size: 12.5px; color: var(--grey); }
.vault-teaser { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; }
/* Family emergency card */
.fc { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); max-width: 760px; margin: 0 auto; width: 100%; }
.fc-head { background: var(--navy); color: #fff; padding: 20px 24px; display: flex; gap: 18px; align-items: center; }
.fc-logo { height: 40px; width: auto; background: #fff; border-radius: 8px; padding: 5px 9px; }
.fc-kicker { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #F4B4BD; font-weight: 600; margin: 0; }
.fc-head h2 { color: #fff; font-size: 22px; margin: 2px 0 0; }
.fc-small { font-size: 12.5px; color: #C9D3E6; margin: 2px 0 0; }
.fc-sos { background: var(--rose); border-left: 5px solid var(--red); margin: 18px 20px; border-radius: 12px; padding: 14px 18px; }
.fc-sos-title { font-weight: 700; color: var(--red); margin: 0 0 6px; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.fc-sos ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.fc-sos a, .fc a { color: var(--red); font-weight: 600; text-decoration: none; }
.fc-sec { padding: 6px 20px 14px; }
.fc-sec h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); border-bottom: 2px solid var(--navy); padding-bottom: 6px; margin: 8px 0 10px; font-family: var(--body); font-weight: 700; }
.fc-tip { font-size: 13.5px; color: var(--text-2); margin: 0 0 10px; }
.fc-pol { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; break-inside: avoid; }
.fc-pol-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 8px; }
.fc-pol-head span { font-size: 12px; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.fc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px 16px; }
.fc-grid span { display: block; font-size: 12px; color: var(--grey); }
.fc-grid b { font-weight: 600; font-size: 14.5px; overflow-wrap: anywhere; }
.fc-via { font-size: 12.5px; color: #1F6B40; margin: 8px 0 0; }
.fc-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.fc-contacts > div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.fc-contacts span { font-size: 12.5px; color: var(--grey); }
.fc-empty { padding: 20px; color: var(--grey); }
.fc-foot { font-size: 11.5px; color: var(--grey); padding: 14px 20px 18px; border-top: 1px solid var(--line); }
.card-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.card-layout > .panel { flex: 1 1 340px; min-width: 0; }
.card-layout > .card-preview { flex: 1.4 1 420px; min-width: 0; }
.helpline-row { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--line); }
.helpline-row span { flex: 1 1 160px; font-size: 14.5px; }
.helpline-row input { flex: 0 1 170px; }
.share-box { background: var(--bg-card); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.share-link { font-size: 13px; word-break: break-all; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
@media print {
  body:has(.fc) #site-header, body:has(.fc) #site-footer, body:has(.fc) .app-side, body:has(.fc) .card-layout > .panel,
  body:has(.fc) .app-main > div:first-child, body:has(.fc) .wa-float, body:has(.fc) #print { display: none !important; }
  body:has(.fc), body:has(.fc) .app-bg { background: #fff !important; }
  body:has(.fc) .app-wrap, body:has(.fc) main { padding: 0 !important; }
  .fc { border: 0; max-width: none; }
  .fc-head, .fc-sos { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* App start screen (installed app) */
.app-launch { background: var(--navy); min-height: 100vh; }
.app-launch #site-header, .app-launch #site-footer, .app-launch .wa-float { display: none; }
.launch { min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: max(40px, env(safe-area-inset-top)) 22px max(28px, env(safe-area-inset-bottom)); max-width: 520px; margin: 0 auto; color: #fff; }
.launch-top { display: flex; flex-direction: column; gap: 12px; margin-top: 6vh; }
.launch-logo { height: 46px; width: auto; align-self: flex-start; background: #fff; border-radius: 10px; padding: 6px 10px; }
.launch h1 { color: #fff; font-size: 30px; margin-top: 18px; }
.launch-top p { color: #C9D3E6; font-size: 17px; }
.launch-actions { display: flex; flex-direction: column; gap: 12px; }
.launch-btn { display: flex; flex-direction: column; gap: 2px; background: #fff; color: var(--navy); border-radius: 16px; padding: 16px 18px; text-decoration: none; }
.launch-btn strong { font-size: 17px; } .launch-btn span { font-size: 14px; color: var(--grey); }
.launch-btn-quiet { background: transparent; border: 1px solid #3A5185; color: #fff; } .launch-btn-quiet span { color: #C9D3E6; }
.launch-sos { color: #F4B4BD; text-align: center; font-weight: 600; text-decoration: none; }
/* Install the app */
.install-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; background: var(--navy); color: #fff; border-radius: 16px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 10px 30px rgba(11,31,75,.35); max-width: 520px; margin: 0 auto; }
.install-bar img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.install-bar p { margin: 0; font-size: 14px; line-height: 1.35; flex: 1; } .install-bar p strong { display: block; font-size: 15px; }
.install-bar .btn { flex: none; }
.install-bar .x { background: none; border: 0; color: #C9D3E6; font-size: 22px; line-height: 1; cursor: pointer; padding: 4px; }
@media print { .install-bar { display: none; } }
.has-install-bar .wa-float { bottom: 96px; }
/* Business insurance desk */
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.kpi strong { font-family: var(--head); font-size: 24px; color: var(--navy); line-height: 1.2; }
.advice-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.advice-list li { background: #FFF6E5; border-radius: 12px; padding: 10px 14px; font-size: 14.5px; color: #5C3B00; }
.cal-chart { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; height: 190px; margin: 16px 0 10px; padding-bottom: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.cal-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; min-width: 40px; height: 100%; }
.cal-bar { width: 70%; max-width: 34px; background: #D5DAE5; border-radius: 6px 6px 2px 2px; }
.cal-col.has .cal-bar { background: var(--navy); }
.cal-val { font-size: 11px; color: var(--grey); white-space: nowrap; }
.cal-m { font-size: 12.5px; font-weight: 600; color: var(--navy); }
.cal-n { font-size: 11px; color: var(--red); min-height: 14px; }
.loc-list { list-style: none; margin: 10px 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.loc-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
@media (max-width: 640px) { .cal-chart { grid-template-columns: repeat(12, 44px); } }
@media print {
  body:has(#statement) #site-header, body:has(#statement) #site-footer, body:has(#statement) .app-side, body:has(#statement) .wa-float,
  body:has(#statement) .install-bar, body:has(#statement) .app-main > :not(#statement), body:has(#statement) #statement .btn, body:has(#statement) #fy { display: none !important; }
}
/* Business claims register */
.claim-card { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.claim-card header, .claim-card footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.claim-card footer { align-items: center; border-top: 1px solid var(--line); padding-top: 10px; }
.claim-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; font-size: 11.5px; color: var(--grey); }
.claim-steps li { display: flex; flex-direction: column; gap: 6px; line-height: 1.25; }
.claim-steps li span { height: 6px; border-radius: 99px; background: #E6E9F0; }
.claim-steps li.done span { background: #1F8F4E; } .claim-steps li.done { color: var(--navy); }
.claim-steps li.now span { background: var(--red); } .claim-steps li.now { color: var(--red); font-weight: 600; }
.claim-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px 16px; }
.claim-facts span { display: block; font-size: 12px; color: var(--grey); } .claim-facts b { font-weight: 600; font-size: 14.5px; }
.docs-pending { background: #FFF6E5; color: #5C3B00; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
@media (max-width: 640px) { .claim-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 10px; } }
.admin-ticket { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.admin-ticket form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; align-items: end; }
#account-slot { display: flex; align-items: center; gap: 4px; }
/* Log in / Sign up switch */
.mode-toggle { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-card); border-radius: 12px; padding: 4px; gap: 4px; }
.mode-toggle button { border: 0; background: transparent; border-radius: 9px; padding: 10px; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }
.mode-toggle button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 4px rgba(11,31,75,.12); color: var(--red); }

/* Language switch (English / Hindi) */
.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; overflow: hidden; }
.lang-switch button { background: none; border: 0; color: #D6DDEA; font: inherit; font-size: 12.5px; padding: 2px 11px; cursor: pointer; line-height: 1.6; }
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--navy); font-weight: 600; }
html.lang-hi { --head: 'Mukta', 'Poppins', system-ui, sans-serif; --body: 'Mukta', 'Inter', system-ui, -apple-system, sans-serif; }
html.lang-hi body, html.lang-hi button, html.lang-hi input, html.lang-hi select { font-family: var(--body); }
html.lang-hi h1, html.lang-hi h2, html.lang-hi h3, html.lang-hi .hx-kicker, html.lang-hi .hx-title { font-family: var(--head); }
html.lang-hi .hx-title { font-style: normal; font-weight: 600; }
html.lang-hi .lead, html.lang-hi p { line-height: 1.7; }
