/*
 * INVESTAX INDIA - SITE UI LIBRARY (ix-ui.css)
 * One design for every public page, based on the Investment Knowledge Centre.
 * Uses the shared tokens in tokens.css. Components are scoped to .ixl.
 *
 * Contents: typography, base, hero band, sections, cards, buttons, article
 * layout, editor content (.ixl-prose), blog cards, CTA band, calculators.
 */
.ixl { --ixl-head: "Josefin Sans", Arial, sans-serif; --ixl-num: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r1: #2f8f5b; --r2: #7aa63a; --r3: #c9a227; --r4: #d9822b; --r5: #b42318;
  background: var(--ix-bg, #f7f7f5); color: var(--ix-text, #171717); font-size: 16px; line-height: 1.65; }
.ixl *, .ixl *::before, .ixl *::after { box-sizing: border-box; }
.ixl h1, .ixl h2, .ixl h3, .ixl h4 { font-family: var(--ixl-head); color: inherit; margin: 0; line-height: 1.2; text-wrap: balance; letter-spacing: 0; }
.ixl p { margin: 0; }
.ixl a { color: var(--ix-gold-strong, #b58a18); }
.ixl a:hover { color: var(--ix-text); }
.ixl :focus-visible { outline: 2px solid var(--ix-gold, #c9a227); outline-offset: 2px; }
.ixl-wrap { max-width: var(--ix-container, 1200px); margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.ixl-eyebrow { display: inline-block; font: 700 12px/1.3 var(--ixl-head); letter-spacing: .14em; text-transform: uppercase; color: var(--ix-gold-strong, #b58a18); }
.ixl-band .ixl-eyebrow { color: var(--ix-gold, #c9a227); }
.ixl-lede { font-size: 18px; color: var(--ix-muted, #6f6f6f); max-width: 64ch; }
.ixl-num { font-family: var(--ixl-num); font-variant-numeric: tabular-nums; }
.ixl-section { padding-block: 64px; }
.ixl-section + .ixl-section { border-top: 1px solid var(--ix-border, #e6e3da); }
.ixl-head { display: grid; gap: 10px; margin-bottom: 30px; max-width: 760px; }
.ixl-head h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; }
.ixl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 8px; border: 1.5px solid var(--ix-gold, #c9a227); background: var(--ix-gold, #c9a227); color: var(--ix-on-gold) !important; font: 700 14px/1 var(--ixl-head); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: filter .15s, transform .15s; }
.ixl-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.ixl-btn.ghost { background: transparent; color: var(--ix-gold, #c9a227) !important; }
.ixl-btn.dark { background: var(--ix-band); border-color: #0b0b0b; color: #fff !important; }

/* Black band (hero) */
.ixl-band { background: var(--ix-band); color: #f4f1e8; position: relative; overflow: hidden; }
.ixl-band::after { content: ""; position: absolute; right: -140px; top: -160px; width: 460px; height: 460px; border-radius: 50%; border: 1px solid rgba(201,162,39,.32); pointer-events: none; }
.ixl-band .ixl-lede { color: var(--ix-on-band-muted); }
.ixl-band a:not(.ixl-btn) { color: var(--ix-gold, #c9a227); }
.ixl-hero { padding-block: 56px 60px; }
.ixl-hero .ixl-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.ixl-hero .ixl-wrap > * { min-width: 0; }
.ixl-hero h1 { font-size: clamp(32px, 4.8vw, 52px); font-weight: 700; font-style: italic; text-transform: uppercase; margin-top: 14px; color: #fff; }
.ixl-hero h1 span { color: var(--ix-gold, #c9a227); display: block; }
.ixl-hero .ixl-lede { margin-top: 18px; }
.ixl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ixl-note-light { margin-top: 22px; font-size: 13px; color: var(--ix-on-band-muted); }
.ixl-stats { display: grid; gap: 0; border: 1px solid #2a2a2a; border-radius: 14px; background: var(--ix-band-2); }
.ixl-stats div { padding: 18px 22px; display: flex; align-items: baseline; gap: 14px; }
.ixl-stats div + div { border-top: 1px solid var(--ix-text); }
.ixl-stats b { font: 700 34px/1 var(--ixl-head); color: var(--ix-gold, #c9a227); min-width: 52px; }
.ixl-stats span { color: #d8d3c5; }
@media (max-width: 900px) { .ixl-hero .ixl-wrap { grid-template-columns: 1fr; gap: 32px; } }

.ixl-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ix-on-band-muted); }
.ixl-crumbs a { color: #d8d3c5 !important; text-decoration: none; }
.ixl-crumbs a:hover { color: var(--ix-gold, #c9a227) !important; }

/* Risk */
.ixl-risk { display: inline-flex; align-items: center; gap: 7px; font: 700 12px/1 var(--ixl-head); letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--ix-gold-soft, #f7f0d9); color: var(--ix-text); white-space: nowrap; }
.ixl-risk i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.ixl-risk.r1 i { background: var(--r1); } .ixl-risk.r2 i { background: var(--r2); } .ixl-risk.r3 i { background: var(--r3); } .ixl-risk.r4 i { background: var(--r4); } .ixl-risk.r5 i { background: var(--r5); }
.ixl-meter { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.ixl-meter i { height: 8px; border-radius: 3px; background: var(--ix-band-2); }
.ixl-meter i.on.r1 { background: var(--r1); } .ixl-meter i.on.r2 { background: var(--r2); } .ixl-meter i.on.r3 { background: var(--r3); } .ixl-meter i.on.r4 { background: var(--r4); } .ixl-meter i.on.r5 { background: var(--r5); }

/* Risk ladder */
.ixl-ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ixl-rung { background: var(--ix-surface, #fff); border: 1px solid var(--ix-border, #e6e3da); border-radius: 12px; padding: 16px; display: grid; gap: 10px; align-content: start; min-width: 0; border-top: 4px solid var(--r3); }
.ixl-rung.r1 { border-top-color: var(--r1); } .ixl-rung.r2 { border-top-color: var(--r2); } .ixl-rung.r4 { border-top-color: var(--r4); } .ixl-rung.r5 { border-top-color: var(--r5); }
.ixl-rung h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; }
.ixl-rung a { display: block; font-size: 14px; text-decoration: none; color: var(--ix-text, #171717); padding: 6px 0; border-bottom: 1px dashed var(--ix-border, #e6e3da); }
.ixl-rung a:last-child { border-bottom: 0; }
.ixl-rung a:hover { color: var(--ix-gold-strong, #b58a18); }
.ixl-ladder-axis { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; color: var(--ix-muted, #6f6f6f); }
.ixl-ladder-axis span::before { content: ""; }
@media (max-width: 900px) { .ixl-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ixl-ladder { grid-template-columns: 1fr; } }

/* Product cards */
.ixl-group + .ixl-group { margin-top: 44px; }
.ixl-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--ix-text); }
.ixl-group-head h3 { font-size: 22px; }
.ixl-group-head p { color: var(--ix-muted, #6f6f6f); font-size: 15px; }
.ixl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ixl-card { background: var(--ix-surface, #fff); border: 1px solid var(--ix-border, #e6e3da); border-radius: 14px; padding: 22px; display: grid; gap: 12px; align-content: start; text-decoration: none; color: inherit !important; transition: border-color .15s, transform .15s, box-shadow .15s; min-width: 0; }
.ixl-card:hover { border-color: var(--ix-gold, #c9a227); transform: translateY(-2px); box-shadow: var(--ix-shadow-sm, 0 4px 14px rgba(0,0,0,.06)); }
.ixl-card h4 { font-size: 19px; }
.ixl-card p { color: var(--ix-muted, #6f6f6f); font-size: 15px; }
.ixl-card .go { font: 700 13px var(--ixl-head); letter-spacing: .05em; text-transform: uppercase; color: var(--ix-gold-strong, #b58a18); }
.ixl-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ixl-cards.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ixl-cards.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .ixl-cards.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .ixl-cards, .ixl-cards.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ixl-cards, .ixl-cards.n4, .ixl-cards.n2 { grid-template-columns: 1fr; } }

/* Calculator tiles */
.ixl-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ixl-tile { display: grid; gap: 4px; padding: 16px; border-radius: 12px; background: var(--ix-band-2); border: 1px solid #2a2a2a; color: #f4f1e8 !important; text-decoration: none; min-width: 0; transition: border-color .15s; }
.ixl-tile:hover { border-color: var(--ix-gold, #c9a227); }
.ixl-tile b { font: 700 15px var(--ixl-head); color: #fff; }
.ixl-tile span { font-size: 13px; color: var(--ix-on-band-muted); }
@media (max-width: 1000px) { .ixl-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ixl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Checklist + advice box */
.ixl-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.ixl-split > * { min-width: 0; }
@media (max-width: 900px) { .ixl-split { grid-template-columns: 1fr; } }
.ixl-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ixl-checks li { background: var(--ix-surface, #fff); border: 1px solid var(--ix-border, #e6e3da); border-radius: 12px; padding: 16px 16px 16px 48px; position: relative; font-size: 15px; }
.ixl-checks li::before { content: "✓"; position: absolute; left: 16px; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: var(--ix-gold, #c9a227); color: var(--ix-on-gold); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.ixl-checks b { display: block; font-family: var(--ixl-head); margin-bottom: 2px; }
@media (max-width: 600px) { .ixl-checks { grid-template-columns: 1fr; } }
.ixl-advice { background: var(--ix-band); color: #f4f1e8; border-radius: 14px; padding: 26px; display: grid; gap: 14px; border: 1px solid var(--ix-gold, #c9a227); }
.ixl-advice h3 { font-size: 22px; color: #fff; }
.ixl-advice p { color: var(--ix-on-band-muted); font-size: 15px; }
.ixl-advice small { color: var(--ix-on-band-muted); font-size: 12px; line-height: 1.5; }
.ixl-disclaimer { font-size: 13px; color: var(--ix-muted, #6f6f6f); border-top: 1px solid var(--ix-border, #e6e3da); padding-top: 20px; margin-top: 40px; max-width: 900px; }

/* Product page */
.ixl-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--ix-band-2); border: 1px solid #2a2a2a; border-radius: 14px; overflow: hidden; }
.ixl-facts > div { background: var(--ix-band-2); padding: 16px 18px; min-width: 0; }
.ixl-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ix-on-band-muted); }
.ixl-facts dd { margin: 4px 0 0; color: #fff; font-weight: 600; font-size: 15px; }
.ixl-facts .risk-row { grid-column: 1 / -1; display: grid; gap: 8px; }
.ixl-facts .risk-row p { color: var(--ix-on-band-muted); font-size: 13px; }
.ixl-dl { margin: 0; }

.ixl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
@media (max-width: 1000px) { .ixl-layout { grid-template-columns: 1fr; } }
.ixl-article { display: grid; gap: 46px; min-width: 0; }
.ixl-article section { display: grid; gap: 14px; scroll-margin-top: 110px; }
.ixl-article h2 { font-size: 26px; padding-bottom: 10px; border-bottom: 2px solid var(--ix-gold, #c9a227); width: fit-content; max-width: 100%; }
.ixl-article p { max-width: 70ch; }
.ixl-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.ixl-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; background: var(--ix-surface, #fff); border: 1px solid var(--ix-border, #e6e3da); border-radius: 10px; padding: 14px; }
.ixl-steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ix-gold, #c9a227); color: var(--ix-gold-strong, #b58a18); display: grid; place-items: center; font: 700 14px var(--ixl-head); }
.ixl-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ixl-types div { background: var(--ix-surface, #fff); border: 1px solid var(--ix-border, #e6e3da); border-left: 3px solid var(--ix-gold, #c9a227); border-radius: 0 10px 10px 0; padding: 14px 16px; min-width: 0; }
.ixl-types b { display: block; font-family: var(--ixl-head); font-size: 16px; margin-bottom: 4px; }
.ixl-types span { color: var(--ix-muted, #6f6f6f); font-size: 15px; }
@media (max-width: 680px) { .ixl-types { grid-template-columns: 1fr; } }
.ixl-pc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ixl-pc > div { border-radius: 12px; padding: 18px 20px; min-width: 0; }
.ixl-pc .pros { background: var(--ix-surface-2); } .ixl-pc .cons { background: var(--ix-surface-2); }
.ixl-pc h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.ixl-pc .pros h3 { color: var(--ix-success, #217a4b); } .ixl-pc .cons h3 { color: var(--ix-danger, #b42318); }
.ixl-pc ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: 15px; }
@media (max-width: 680px) { .ixl-pc { grid-template-columns: 1fr; } }
.ixl-list { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.ixl-tax { background: var(--ix-gold-soft, #f7f0d9); border-radius: 12px; padding: 18px 22px; display: grid; gap: 10px; }
.ixl-tax ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; font-size: 15px; }
.ixl-tax small { color: var(--ix-gold-strong); font-size: 13px; }
.ixl-suits { font-size: 17px; background: var(--ix-surface, #fff); border: 1px solid var(--ix-border, #e6e3da); border-radius: 12px; padding: 18px 22px; }
.ixl-faq { display: grid; gap: 10px; }
.ixl-faq details { background: var(--ix-surface, #fff); border: 1px solid var(--ix-border, #e6e3da); border-radius: 10px; padding: 0 18px; }
.ixl-faq summary { cursor: pointer; padding: 15px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.ixl-faq summary::-webkit-details-marker { display: none; }
.ixl-faq summary::after { content: "+"; color: var(--ix-gold-strong, #b58a18); font-size: 20px; line-height: 1; }
.ixl-faq details[open] summary::after { content: "–"; }
.ixl-faq details p { padding-bottom: 16px; color: var(--ix-text); }

.ixl-aside { position: sticky; top: 110px; display: grid; gap: 16px; }
@media (max-width: 1000px) { .ixl-aside { position: static; } }
.ixl-box { background: var(--ix-surface, #fff); border: 1px solid var(--ix-border, #e6e3da); border-radius: 14px; padding: 18px; display: grid; gap: 10px; }
.ixl-box h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ix-muted, #6f6f6f); }
.ixl-box a { text-decoration: none; color: var(--ix-text, #171717); font-size: 15px; display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--ix-border); }
.ixl-box a:last-child { border-bottom: 0; }
.ixl-box a:hover { color: var(--ix-gold-strong, #b58a18); }
.ixl-box a span { color: var(--ix-muted, #6f6f6f); font-size: 13px; }
.ixl-toc a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ix-gold, #c9a227); align-self: center; flex: none; order: -1; margin-right: 4px; }
.ixl-toc a { justify-content: flex-start; }
.ixl-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 46px; }
.ixl-pager a { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--ix-border, #e6e3da); border-radius: 12px; background: var(--ix-surface, #fff); text-decoration: none; color: var(--ix-text, #171717); }
.ixl-pager a:hover { border-color: var(--ix-gold, #c9a227); }
.ixl-pager small { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ix-muted, #6f6f6f); }
.ixl-pager b { font-family: var(--ixl-head); font-size: 17px; }
.ixl-pager .next { text-align: right; grid-column: 2; }

/* Calculators */
.ixl-calc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .ixl-calc-layout { grid-template-columns: 1fr; } }
.ixl-calc-nav { position: sticky; top: 110px; display: grid; gap: 16px; background: var(--ix-surface, #fff); border: 1px solid var(--ix-border, #e6e3da); border-radius: 14px; padding: 16px; }
.ixl-calc-nav h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--ix-muted, #6f6f6f); margin-bottom: 4px; }
.ixl-calc-nav a { display: block; padding: 7px 10px; border-radius: 8px; text-decoration: none; color: var(--ix-text, #171717); font-size: 15px; }
.ixl-calc-nav a:hover { background: var(--ix-gold-soft); }
.ixl-calc-nav a[aria-current="true"] { background: var(--ix-band); color: var(--ix-gold, #c9a227); font-weight: 600; }
@media (max-width: 900px) {
  .ixl-calc-nav { position: static; display: flex; gap: 8px; overflow-x: auto; padding: 10px; scrollbar-width: thin; }
  .ixl-calc-nav > div { display: contents; }
  .ixl-calc-nav h4 { display: none; }
  .ixl-calc-nav a { flex: none; border: 1px solid var(--ix-border, #e6e3da); border-radius: 999px; padding: 7px 14px; font-size: 14px; }
}
.ixl-calc { background: var(--ix-surface, #fff); border: 1px solid var(--ix-border, #e6e3da); border-radius: 16px; overflow: hidden; scroll-margin-top: 110px; }
.ixl-calcs { display: grid; gap: 22px; }
.ixl-calc-head { padding: 22px 24px 0; display: grid; gap: 4px; }
.ixl-calc-head h2 { font-size: 26px; }
.ixl-calc-head p { color: var(--ix-muted, #6f6f6f); }
.ixl-calc-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 22px 24px 24px; }
@media (max-width: 760px) { .ixl-calc-body { grid-template-columns: 1fr; } }
.ixl-fields { display: grid; gap: 14px; align-content: start; }
.ixl-field { display: grid; gap: 6px; min-width: 0; }
.ixl-field label { font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; gap: 10px; }
.ixl-field label output { font-family: var(--ixl-num); color: var(--ix-gold-strong, #b58a18); font-weight: 600; }
.ixl-input { display: flex; align-items: stretch; border: 1px solid var(--ix-border, #e6e3da); border-radius: 8px; background: var(--ix-surface); overflow: hidden; }
.ixl-input:focus-within { border-color: var(--ix-gold, #c9a227); box-shadow: 0 0 0 3px rgba(201,162,39,.18); }
.ixl-input span { padding: 0 12px; display: grid; place-items: center; color: var(--ix-muted, #6f6f6f); background: var(--ix-surface-2); font-size: 14px; }
.ixl-input input, .ixl-input select { flex: 1; min-width: 0; border: 0; background: transparent; padding: 11px 12px; font: 16px var(--ixl-num); color: var(--ix-text, #171717); outline: none; }
.ixl-field input[type="range"] { width: 100%; accent-color: var(--ix-gold, #c9a227); }
.ixl-result { background: var(--ix-band); color: #f4f1e8; border-radius: 14px; padding: 22px; display: grid; gap: 16px; align-content: start; }
.ixl-result .main small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ix-on-band-muted); }
.ixl-result .main strong { display: block; font: 700 clamp(28px, 4vw, 38px)/1.1 var(--ixl-head); color: var(--ix-gold, #c9a227); margin-top: 6px; overflow-wrap: anywhere; }
.ixl-result dl { margin: 0; display: grid; gap: 10px; }
.ixl-result dl div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--ix-text); padding-top: 10px; }
.ixl-result dt { color: var(--ix-on-band-muted); font-size: 14px; }
.ixl-result dd { margin: 0; font-family: var(--ixl-num); color: #fff; text-align: right; }
.ixl-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--ix-band-2); }
.ixl-bar i { display: block; height: 100%; transition: width .3s ease; }
.ixl-bar .a { background: #8b8678; } .ixl-bar .b { background: var(--ix-gold, #c9a227); } .ixl-bar .c { background: #6e7f8d; }
.ixl-key { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ix-on-band-muted); }
.ixl-key i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.ixl-result .msg { font-size: 14px; color: #d8d3c5; }
.ixl-result .msg.warn { color: var(--ix-gold); }
.ixl-calc-foot { padding: 14px 24px; background: var(--ix-surface-2); border-top: 1px solid var(--ix-border, #e6e3da); font-size: 13px; color: var(--ix-muted, #6f6f6f); display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
.ixl-calc-foot a { font-weight: 600; text-decoration: none; }
.ixl-xirr { width: 100%; border-collapse: collapse; }
.ixl-xirr th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ix-muted, #6f6f6f); padding: 0 6px 6px 0; }
.ixl-xirr td { padding: 4px 6px 4px 0; }
.ixl-xirr input, .ixl-xirr select { width: 100%; min-width: 0; border: 1px solid var(--ix-border, #e6e3da); border-radius: 6px; padding: 9px 8px; font: 14px var(--ixl-num); background: var(--ix-surface); }
.ixl-xirr-wrap { overflow-x: auto; }
.ixl-mini-btn { background: none; border: 1px solid var(--ix-border, #e6e3da); border-radius: 6px; padding: 7px 12px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ix-text, #171717); }
.ixl-mini-btn:hover { border-color: var(--ix-gold, #c9a227); }
.ixl-js .ixl-calc[hidden] { display: none !important; }

@media (max-width: 680px) {
  .ixl-section { padding-block: 46px; }
  .ixl-pager { grid-template-columns: 1fr; }
  .ixl-pager .next { grid-column: 1; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .ixl * { transition: none !important; } }

/* =====================================================================
   SITE-WIDE TYPOGRAPHY: one family, one scale, on every page
   ===================================================================== */
:root {
  --ix-font-head: "Josefin Sans", "Segoe UI", Arial, sans-serif;
  --ix-font-body: "Josefin Sans", "Segoe UI", Arial, sans-serif;
  --ix-font-num: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
html body { font-family: var(--ix-font-body); font-size: 16px; line-height: 1.65; color: var(--ix-text); -webkit-font-smoothing: antialiased; }
/* Every text element uses the brand family. Icon fonts and figures keep theirs. */
html body *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not([class^="flaticon"]):not([class*=" flaticon"]):not([class^="pe-7s"]):not([class*=" pe-7s"]):not([class^="ion"]):not(code):not(pre):not(kbd):not(.ixl-num):not(.ixl-input input):not(.ixl-xirr input):not(.ixl-result dd):not(.ixl-figure) {
  font-family: var(--ix-font-body) !important;
}
:where(h1, h2, h3, h4, h5, h6) { font-family: var(--ix-font-head); font-weight: 700; line-height: 1.2; letter-spacing: 0; color: inherit; text-wrap: balance; }
:where(p, li) { line-height: 1.65; }
:where(small) { font-size: 13px; }
.ixl-figure { font-family: var(--ix-font-num); font-variant-numeric: tabular-nums; }

/* =====================================================================
   ADDITIONAL COMPONENTS
   ===================================================================== */

/* Hero with a picture on the right */
.ixl-hero-media { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--ix-band-line); min-height: 260px; background: var(--ix-band-2); }
.ixl-hero-media img { width: 100%; height: 100%; min-height: 260px; max-height: 380px; object-fit: cover; display: block; }
.ixl-hero-media figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 10px; background: rgba(7,7,7,.78); color: #f4f1e8; font-size: 13px; }
.ixl-hero-media figcaption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ix-gold); flex: none; }
.ixl-hero-panel { border: 1px solid var(--ix-band-line); border-radius: 16px; background: var(--ix-band-2); padding: 32px; display: grid; gap: 14px; }
.ixl-hero-panel strong { font: italic 700 clamp(26px, 3vw, 36px)/1.1 var(--ix-font-head); text-transform: uppercase; color: #fff; }
.ixl-hero-panel strong span { color: var(--ix-gold); display: block; }
.ixl-hero-panel p { color: var(--ix-on-band-muted); }
.ixl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ixl-chips span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ix-band-line); color: #e8e4d8; }
.ixl-hero--compact { padding-block: 44px 48px; }
.ixl-hero--compact .ixl-wrap { grid-template-columns: 1fr; }
.ixl-hero--compact h1 { font-size: clamp(30px, 4.2vw, 46px); }

/* Feature strip under the hero */
.ixl-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ixl-strip > div { display: flex; gap: 12px; align-items: flex-start; background: var(--ix-surface); border: 1px solid var(--ix-border); border-radius: 12px; padding: 16px; min-width: 0; }
.ixl-strip svg { width: 26px; height: 26px; flex: none; color: var(--ix-gold-strong); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ixl-strip b { display: block; font-family: var(--ix-font-head); font-size: 15px; }
.ixl-strip small { color: var(--ix-muted); }
@media (max-width: 980px) { .ixl-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ixl-strip { grid-template-columns: 1fr; } }
.ixl-section--tight { padding-block: 28px; }

/* Card with icon or picture */
.ixl-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--ix-band); color: var(--ix-gold); display: grid; place-items: center; }
.ixl-card .ic svg, .ixl-card .ic img { width: 24px; height: 24px; }
.ixl-card .ic svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ixl-card--media { padding: 0; overflow: hidden; }
.ixl-card--media .media { aspect-ratio: 16 / 9; background: var(--ix-band-2) center / cover no-repeat; display: block; }
.ixl-card--media .body { padding: 20px 22px 22px; display: grid; gap: 10px; }
.ixl-card .meta { font-size: 13px; color: var(--ix-muted); }

/* Text entered in the admin editor */
.ixl-prose { display: grid; gap: 14px; min-width: 0; color: var(--ix-text); overflow-wrap: anywhere; }
.ixl-prose > * { margin: 0 !important; max-width: 75ch; }
.ixl-prose h1, .ixl-prose h2 { font-size: 26px; padding-bottom: 10px; border-bottom: 2px solid var(--ix-gold); width: fit-content; max-width: 100%; margin-top: 18px !important; }
.ixl-prose h3 { font-size: 21px; margin-top: 12px !important; }
.ixl-prose h4, .ixl-prose h5, .ixl-prose h6 { font-size: 17px; }
.ixl-prose p, .ixl-prose li { font-size: 16px; line-height: 1.7; color: var(--ix-text); }
.ixl-prose ul, .ixl-prose ol { padding-left: 1.3em; display: grid; gap: 6px; }
.ixl-prose ul li::marker { color: var(--ix-gold); }
.ixl-prose a { color: var(--ix-gold-strong); text-decoration: underline; text-underline-offset: 3px; }
.ixl-prose strong, .ixl-prose b { font-weight: 700; }
.ixl-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.ixl-prose blockquote { border-left: 3px solid var(--ix-gold); padding: 6px 0 6px 16px; color: var(--ix-muted); }
.ixl-prose table { width: 100%; max-width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: 15px; }
.ixl-prose th, .ixl-prose td { border: 1px solid var(--ix-border); padding: 10px 12px; text-align: left; vertical-align: top; }
.ixl-prose th, .ixl-prose thead td { background: var(--ix-surface-2); font-weight: 700; }
.ixl-prose iframe, .ixl-prose video { max-width: 100%; }
.ixl-panel { background: var(--ix-surface); border: 1px solid var(--ix-border); border-radius: 16px; padding: clamp(20px, 3vw, 32px); }

/* Call-to-action band */
.ixl-cta { background: var(--ix-band); border-radius: 18px; padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: center; color: #f4f1e8; position: relative; overflow: hidden; border: 1px solid var(--ix-band-line); }
.ixl-cta::after { content: ""; position: absolute; right: -80px; top: -120px; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(201,162,39,.3); pointer-events: none; }
.ixl-cta h2 { font-size: clamp(24px, 3vw, 32px); color: #fff; margin-top: 8px; }
.ixl-cta p { color: var(--ix-on-band-muted); margin-top: 8px; max-width: 60ch; }
.ixl-cta .ixl-eyebrow { color: var(--ix-gold); }
.ixl-cta > * { position: relative; z-index: 1; min-width: 0; }
@media (max-width: 760px) { .ixl-cta { grid-template-columns: 1fr; } }

/* Profile / team cards */
.ixl-people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ixl-person { background: var(--ix-surface); border: 1px solid var(--ix-border); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit !important; display: grid; }
.ixl-person img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--ix-surface-2); }
.ixl-person div { padding: 14px 16px; display: grid; gap: 2px; }
.ixl-person b { font-family: var(--ix-font-head); }
.ixl-person span { font-size: 14px; color: var(--ix-muted); }
@media (max-width: 900px) { .ixl-people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Two-column feature rows (image + text) */
.ixl-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ixl-feature + .ixl-feature { margin-top: 48px; }
.ixl-feature > * { min-width: 0; }
.ixl-feature img { width: 100%; border-radius: 16px; display: block; }
.ixl-feature .copy { display: grid; gap: 12px; }
.ixl-feature .copy h3 { font-size: 24px; }
.ixl-feature .copy p { color: var(--ix-muted); }
.ixl-feature:nth-child(even) .media { order: 2; }
@media (max-width: 860px) { .ixl-feature { grid-template-columns: 1fr; gap: 20px; } .ixl-feature:nth-child(even) .media { order: 0; } }

/* Empty states */
.ixl-empty { padding: 28px; border: 1px dashed var(--ix-border-strong); border-radius: 14px; text-align: center; color: var(--ix-muted); }

/* ---------- Additions for the rebuilt home and about pages ---------- */
.ixl-tiles.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ixl-tiles.n3 .ixl-tile { padding: 22px; gap: 8px; }
.ixl-tiles.n3 .ixl-tile b { font-size: 17px; }
.ixl-tiles.n3 .ixl-tile span { font-size: 14px; }
@media (max-width: 760px) { .ixl-tiles.n3 { grid-template-columns: 1fr; } }
.ixl-advice a:not(.ixl-btn) { color: var(--ix-gold) !important; text-decoration: underline; }
.ixl-advice .ixl-actions { margin-top: 4px; }

/* Health check */
.ixl-health { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.ixl-health > * { min-width: 0; }
.ixl-health-intro { display: grid; gap: 12px; }
.ixl-health-intro h2 { font-size: clamp(26px, 3.2vw, 36px); }
.ixl-health-intro p { color: var(--ix-muted); }
.ixl-health-score { margin-top: 8px; padding: 16px 18px; border-radius: 12px; background: var(--ix-band); border: 1px solid var(--ix-band-line); display: grid; gap: 4px; }
.ixl-health-score strong { font: 700 30px var(--ix-font-head); color: var(--ix-gold); }
.ixl-health-score span { font-size: 14px; color: var(--ix-on-band-muted); }
.ixl-health-score a { color: var(--ix-gold) !important; font-weight: 700; }
.ixl-health-qs { display: grid; gap: 10px; }
.ix-v2 .ixl-health .ix-health-q { padding: 14px 16px; border: 1px solid var(--ix-border); border-radius: 12px; background: var(--ix-surface-2); }
.ix-v2 .ixl-health .ix-health-q > strong { font: 700 15px var(--ix-font-head); color: var(--ix-text); margin-bottom: 10px; display: block; }
.ix-v2 .ixl-health .ix-health-q > div { display: flex; flex-wrap: wrap; gap: 8px; }
.ix-v2 .ixl-health .ix-health-q button { font: 600 13px var(--ix-font-body); border: 1px solid var(--ix-border-strong, var(--ix-border)); background: var(--ix-surface); color: var(--ix-text); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.ix-v2 .ixl-health .ix-health-q button:hover { border-color: var(--ix-gold); }
.ix-v2 .ixl-health .ix-health-q button.active { background: var(--ix-gold); border-color: var(--ix-gold); color: var(--ix-on-gold); }
@media (max-width: 860px) { .ixl-health { grid-template-columns: 1fr; } }

/* Quotes */
.ixl-quote { margin: 0; }
.ixl-quote blockquote { margin: 0; color: var(--ix-text); font-size: 16px; line-height: 1.7; }
.ixl-quote blockquote::before { content: "\201C"; display: block; font: 700 40px/0.8 Georgia, serif; color: var(--ix-gold); margin-bottom: 8px; }
.ixl-quote figcaption { display: grid; gap: 2px; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--ix-border); }
.ixl-quote figcaption b { font-family: var(--ix-font-head); padding-top: 10px; }
.ixl-quote figcaption span { font-size: 13px; color: var(--ix-muted); }
.ixl-cards > .ixl-quote:hover { transform: none; }
.select2-hidden-accessible { border: 0 !important; clip: rect(0 0 0 0) !important; height: 1px !important; width: 1px !important; margin: -1px !important; overflow: hidden !important; padding: 0 !important; position: absolute !important; white-space: nowrap !important; }
#ix-tax-regime-checker .ix-i-field select.select2-hidden-accessible, #ix-gst-scheme-checker .ix-i-field select.select2-hidden-accessible, .ix-i-field select.select2-hidden-accessible { width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; }
.ix-i-field { position: relative; }
.ixl .ixl-quote blockquote { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; font-style: normal !important; text-align: left !important; max-width: none !important; width: auto !important; color: var(--ix-text) !important; font-size: 16px !important; line-height: 1.7 !important; }
.ixl .ixl-quote blockquote::after { display: none !important; }
.ixl .ixl-quote blockquote::before { position: static !important; display: block !important; content: "\201C" !important; font: 700 40px/0.8 Georgia, serif !important; color: var(--ix-gold) !important; margin: 0 0 8px !important; transform: none !important; opacity: 1 !important; width: auto !important; height: auto !important; background: none !important; }

/* Contact and payment pages: match the hub hero type */
.investax-contact-hero h1 { font-family: var(--ix-font-head) !important; font-style: italic !important; font-weight: 700 !important; text-transform: uppercase !important; font-size: clamp(32px, 4.8vw, 52px) !important; line-height: 1.08 !important; color: #fff !important; }
.investax-contact-hero h1:after { background: var(--ix-gold) !important; }
.ix-payment-area { padding-top: 48px !important; }
