/* ==========================================================================
   Jain K Vrind & Co. — page components (loaded after main.css)
   Inner pages, profile, calendar, AI demo, FAQ, insights, toolkit, contact.
   Kept separate so each stylesheet stays small.
   ========================================================================== */

/* ---------- 27b. Page components ---------------------------------------- */
.explore-card { text-decoration: none; min-height: 180px; }
.explore-card .card-title { font-size: 1.2rem; }
.explore-card .link-arrow { margin-top: auto; }
.service-link { min-height: 200px; }
.service-link .card-title { font-size: 1.15rem; }
.service-link .link-arrow { margin-top: auto; font-size: var(--fs-sm); }

.subnav-wrap { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-block: 12px; }
.subnav { display: flex; gap: 8px; overflow-x: auto; list-style: none; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { display: inline-block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); text-decoration: none; border: 1px solid var(--line); }
.subnav a:hover { border-color: var(--navy-900); color: var(--navy-900); }
.area-head { margin-bottom: 40px; align-items: end; }
.area-cta { display: flex; justify-content: flex-start; }
@media (min-width: 960px) { .area-cta { justify-content: flex-end; } }

.highlight-card { align-self: start; gap: 16px; background: var(--off); border-color: var(--off-2); }
.highlight-card:hover { transform: none; box-shadow: none; border-color: var(--off-2); }
.highlight-card .kicker { margin: 0; }
.highlight-card .btn { align-self: flex-start; }

.timeline { list-style: none; position: relative; display: grid; gap: 28px; padding-left: 28px; border-left: 1px solid var(--line); max-width: 820px; }
.timeline-item { position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -34px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px var(--teal-100); }
.timeline-period { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.timeline-item h3 { font-size: var(--fs-h3); font-weight: 500; margin: 6px 0; }
.timeline-item p { color: var(--muted); margin: 0; }

.event-list { list-style: none; display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.event-list li { display: grid; gap: 2px; padding: 18px 20px; background: var(--navy-900); }
.event-list strong { color: #fff; font-weight: 500; }
.bg-dark .meta { color: var(--teal-300); }

/* Compliance calendar */
.cal { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.cal-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--off); }
.cal-bar .chip { padding: 8px 14px; font-size: var(--fs-sm); }
.cal-nav { display: flex; align-items: center; gap: 12px; }
.cal-nav strong { min-width: 150px; text-align: center; font-weight: 600; }
.cal-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; }
.cal-nav button:hover { border-color: var(--navy-900); }
.cal-list { list-style: none; }
.cal-item { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--line-2); }
.cal-item:last-child { border-bottom: 0; }
.cal-item.is-past { opacity: .55; }
.cal-item.is-today .cal-date { background: var(--teal); color: #fff; }
.cal-date { display: grid; place-items: center; align-content: center; width: 64px; height: 64px; border-radius: 14px; background: var(--navy-900); color: #fff; line-height: 1.05; }
.cal-date strong { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 400; }
.cal-date small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
.cal-item.is-today .cal-date small { color: #fff; }
.cal-title { font-weight: 600; margin: 4px 0 6px; }
.cal-meta { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.cal-note { font-size: var(--fs-sm); color: var(--muted); margin: 6px 0 0; }
.cal-empty { padding: 36px 22px; text-align: center; color: var(--muted); margin: 0; }

/* AI demo */
.ai-hero { padding-block: clamp(64px, 9vw, 128px); isolation: isolate; }
.ai-hero .breadcrumbs ol { color: var(--on-dark-muted); }
.ai-hero .page-title { color: #fff; max-width: 20ch; }
.ai-hero .page-title em { color: var(--teal-300); }
.ai-app { gap: 16px; }
.ai-app .check-list { gap: 8px; font-size: .9375rem; color: var(--ink-2); }
.ai-demo { display: grid; gap: 20px; }
.ai-data, .ai-console { border-radius: var(--radius-lg); border: 1px solid var(--line-dark); background: var(--navy-800); padding: 24px; }
.ai-data-head, .ai-console-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; margin-bottom: 16px; color: #fff; }
.ai-console-head { justify-content: flex-start; }
.ai-console-head .badge { margin-left: auto; }
.ai-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal-300); box-shadow: 0 0 0 5px rgba(99, 207, 197, .15); }
.ai-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.ai-table th, .ai-table td { padding: 9px 4px; border-bottom: 1px solid var(--line-dark); text-align: right; color: var(--on-dark); font-weight: 400; }
.ai-table th[scope="row"], .ai-table thead th:first-child { text-align: left; color: var(--on-dark-muted); }
.ai-table thead th { font-size: 12px; color: var(--on-dark-muted); letter-spacing: .04em; }
.ai-table .is-total th, .ai-table .is-total td { color: #fff; font-weight: 600; }
.ai-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ai-actions .chip { background: transparent; border-color: var(--line-dark); color: var(--on-dark); font-size: var(--fs-sm); padding: 8px 14px; }
.ai-actions .chip:hover { border-color: #fff; color: #fff; }
.ai-actions .chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.ai-output { min-height: 260px; padding: 20px; border-radius: var(--radius); background: var(--navy-950); border: 1px solid var(--line-dark); color: var(--on-dark); font-size: .9375rem; }
.ai-prompt { display: inline-block; padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; font-weight: 500; margin-bottom: 14px; }
.ai-steps { list-style: none; display: grid; gap: 6px; margin-bottom: 16px; font-size: var(--fs-sm); color: var(--on-dark-muted); }
.ai-steps li::before { content: "◌"; margin-right: 8px; color: var(--teal-300); }
.ai-steps li.is-done::before { content: "✓"; }
.ai-answer p { margin: 0 0 10px; line-height: 1.6; }
.ai-status { margin: 12px 0 0; min-height: 1.4em; }
.demo-note { display: flex; gap: 8px; align-items: center; margin: 22px 0 0; font-size: var(--fs-sm); color: var(--teal-300); }
@media (min-width: 1000px) { .ai-demo { grid-template-columns: 1fr 1.4fr; } }

.ask-ai { display: grid; gap: 32px; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); border: 1px dashed var(--line); background: var(--off); align-items: center; }
.ask-ai .badge { margin-bottom: 18px; }
.ask-questions { list-style: none; display: grid; gap: 10px; }
.ask-questions li { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.ask-questions .icon { color: var(--teal); }
@media (min-width: 960px) { .ask-ai { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item summary .icon { transition: transform .3s var(--ease); color: var(--teal); }
.faq-answer { padding: 0 22px 20px; color: var(--ink-2); }

/* Insights */
.filter-bar { display: flex; gap: 10px; margin-bottom: 18px; max-width: 640px; }
.search-field { position: relative; flex: 1; }
.search-field .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-field .input { padding-left: 46px; border-radius: 999px; }
.filter-chips { margin-bottom: 32px; }
.filter-chips .chip { text-decoration: none; }
.filter-chips .chip[aria-current="page"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.results-note { color: var(--muted); margin-bottom: 24px; }
.featured-article { padding: clamp(28px, 4vw, 48px); margin-bottom: 24px; background: var(--off); border-color: var(--off-2); }
.featured-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.08; margin: 6px 0; max-width: 24ch; }
.featured-title a { text-decoration: none; }
.article-hero .page-title { max-width: 24ch; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); }
.article-layout { display: grid; gap: 48px; }
.article-aside { align-self: start; }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; } .article-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0 !important; padding: 0 !important; }
.tag-list .chip { text-decoration: none; font-size: var(--fs-sm); padding: 6px 14px; }
.prose .video { margin-bottom: 32px; }

/* Owner profile lists, track record */
.profile-list { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.profile-list.is-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.profile-item { display: flex; flex-direction: column; gap: 6px; padding: 24px 26px; background: #fff; }
.profile-period { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.profile-title { font-size: 1.0625rem; font-weight: 600; margin: 0; line-height: 1.35; }
.profile-title a { text-decoration: none; }
.profile-detail { margin: 0; color: var(--muted); font-size: .9375rem; }
.bg-off .profile-list { background: var(--off-2); border-color: var(--off-2); }
.bg-dark .profile-list { background: var(--line-dark); border-color: var(--line-dark); }
.bg-dark .profile-item { background: var(--navy-900); }
.bg-dark .profile-title { color: #fff; }
.bg-dark .profile-period { color: var(--teal-300); }
.bg-dark .profile-detail { color: var(--on-dark-muted); }
.subhead { font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--teal); margin: 48px 0 18px; }
.bg-dark .subhead { color: var(--teal-300); }
.stats-dark { background: var(--line-dark); border-color: var(--line-dark); margin-bottom: 32px; }
.stats-dark .stat { background: var(--navy-800); }
.stats-dark .stat-value { color: #fff; }
.stats-dark .stat-label { color: var(--on-dark-muted); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line-dark); }
.matters { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9375rem; }
.matters th, .matters td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-dark); }
.matters thead th { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; }
.matters tbody th { color: #fff; font-weight: 600; white-space: nowrap; }
.matters td { color: var(--on-dark-muted); }
.matters td:nth-child(2) { white-space: nowrap; color: var(--teal-300); font-variant-numeric: tabular-nums; }
.matters tbody tr:last-child > * { border-bottom: 0; }
.small-note { font-size: var(--fs-sm); margin-top: 14px; }
.sector-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.sector-list li { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.highlight-card .intersection { margin: 0 0 10px; }


/* Compact practice cards (homepage) */
.is-compact .practice-card { min-height: 0; padding: 24px; gap: 12px; }
.is-compact .practice-card .card-title { font-size: 1.15rem; }
.is-compact .practice-card .card-text { font-size: .9375rem; }

/* ---------- Toolkit ------------------------------------------------------ */
.toolkit-band { display: grid; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg); color: #fff;
  background: radial-gradient(70% 120% at 100% 0%, rgba(42, 166, 158, .4), transparent 60%), var(--navy-900); }
.toolkit-band .section-title { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); margin-bottom: 12px; }
.toolkit-band .section-title em { color: var(--teal-300); }
.toolkit-band .lead { color: var(--on-dark-muted); margin: 0; }
.toolkit-quick { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.toolkit-quick a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--on-dark); text-decoration: none; font-size: var(--fs-sm); transition: all .2s; }
.toolkit-quick a:hover { border-color: #fff; color: #fff; }
@media (min-width: 960px) { .toolkit-band { grid-template-columns: 1.2fr 1fr; } }

.tool-card { text-decoration: none; gap: 12px; }
.tool-card .card-title { font-size: 1.05rem; }
.tool-card .link-arrow { margin-top: auto; }
.tool-card.is-large { min-height: 230px; }
.toolkit-grid { margin-bottom: 8px; }

.tool { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.tool-grid { display: grid; }
.tool-inputs { padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; align-content: start; }
.tool-result { padding: clamp(22px, 3vw, 36px); background: var(--off); border-top: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
@media (min-width: 1000px) { .tool-grid { grid-template-columns: 1.1fr 1fr; } .tool-result { border-top: 0; border-left: 1px solid var(--line); } }
.tool > [data-tool="tds"], .tool > .cal { padding: clamp(18px, 3vw, 28px); }
.tool > .cal { box-shadow: none; border: 0; }
.tool-fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.tool-fieldset legend { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--teal); padding: 0; margin-bottom: 12px; }
.tool-subtitle { font-size: 1rem; font-weight: 600; margin: 0 0 4px; }
.tool-checklist .check-list { gap: 8px; font-size: .9375rem; color: var(--ink-2); }
.tool-checklist .icon { color: var(--danger); }
.input-lg { font-size: 1.4rem; min-height: 60px; font-variant-numeric: tabular-nums; }
.chip-input .input { width: 110px; min-height: 42px; border-radius: 999px; padding: 8px 14px; }

.tool-verdict { margin: 0; padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 500; }
.tool-verdict.is-positive { background: var(--teal-100); border-color: #bfe3de; color: var(--teal-600); }
.tool-verdict.is-negative { background: #fdecea; border-color: #f5c2bd; color: #8e1c13; }

.result-table { width: 100%; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; background: #fff; border-radius: 12px; overflow: hidden; }
.result-table th, .result-table td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); text-align: right; }
.result-table th[scope="row"], .result-table thead th:first-child { text-align: left; font-weight: 500; color: var(--ink-2); }
.result-table thead th { font-size: 12px; letter-spacing: .04em; color: var(--muted); font-weight: 600; background: #fff; }
.result-table .is-total th, .result-table .is-total td { font-weight: 700; color: var(--navy-900); border-bottom: 0; background: var(--off-2); }
.result-table .is-best { color: var(--teal-600); }
.result-table thead .is-best { color: var(--teal-600); }
.result-table thead .is-best::after { content: " ✓"; }
.result-table .is-disabled { color: var(--muted); opacity: .55; }
.tds-table th, .tds-table td { text-align: left; vertical-align: top; }
.tds-table tbody th { white-space: nowrap; color: var(--navy-900); font-weight: 700; }
.tds-table .tds-rate { font-weight: 600; color: var(--teal-600); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.table-scroll .result-table { min-width: 560px; }
.tool-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.tool-toolbar .search-field { flex: 1 1 280px; max-width: 520px; }

.result-list { margin: 0; display: grid; background: #fff; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; }
.result-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.result-list > div:last-child { border-bottom: 0; }
.result-list dt { color: var(--ink-2); }
.result-list dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.result-list .is-total { background: var(--off-2); }
.result-list .is-total dt, .result-list .is-total dd { font-weight: 700; color: var(--navy-900); }

.whatif-light { border-top: 1px solid var(--line); }
.whatif-light label { color: var(--ink-2); }
.whatif-light output, .whatif-light strong { color: var(--navy-900); }
.whatif-light .whatif-result { color: var(--teal-600); }
.whatif-light .range { background: linear-gradient(90deg, var(--teal) var(--pct, 0%), var(--line) var(--pct, 0%)); }

.dropzone { display: grid; justify-items: center; gap: 6px; padding: 36px 20px; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--off); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.is-over, .dropzone:focus-within { border-color: var(--teal); background: var(--teal-100); }
.dropzone .icon { width: 32px; height: 32px; color: var(--teal); transform: rotate(180deg); }
.dropzone-title { font-weight: 600; }
.file-info { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.mode-field { padding-left: 34px; display: grid; gap: 10px; }
.mode-field[hidden] { display: none; }
.file-list { list-style: none; display: grid; gap: 8px; }
.file-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.file-link { font-weight: 600; color: var(--teal-600); word-break: break-all; }
.tool-notes { margin-top: 32px; max-width: 880px; }
.tool-notes .subhead { margin-top: 0; }
.tool-notes .check-list { color: var(--ink-2); }
.th-sub { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: 0; color: var(--muted); text-transform: none; margin-top: 2px; }
.tds-table { min-width: 860px !important; }
.tds-table .tds-new { white-space: nowrap; font-weight: 600; color: var(--navy-900); }

/* ---------- Contact & consultation -------------------------------------- */
.contact-layout { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 5fr 7fr; } .contact-layout > aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.contact-layout .subhead { margin-top: 0; }
.contact-card { display: grid; gap: 4px; padding: 8px 0 0; }
.contact-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--teal-100); color: var(--teal-600); }
.contact-label { margin: 0 0 4px; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.contact-item address { font-size: 1.0625rem; line-height: 1.55; color: var(--ink); }
.contact-value { font-size: 1.125rem; font-weight: 600; color: var(--navy-900); text-decoration: none; word-break: break-word; }
.contact-value:hover { color: var(--teal); text-decoration: underline; }
.contact-item .meta { margin: 2px 0 0; }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 10px 0 0; font-size: var(--fs-sm); }
.contact-area { margin: 16px 0; color: var(--muted); font-size: var(--fs-sm); }
.map-embed { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(60% 80% at 80% 10%, rgba(42, 166, 158, .25), transparent 60%), linear-gradient(var(--line-2) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / 28px 28px, var(--off); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; width: 100%; border: 0; background: transparent; cursor: pointer; color: var(--navy-900); font-weight: 600; }
.map-load .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--navy-900); color: #fff; box-shadow: var(--shadow); transition: transform .3s var(--ease-out); }
.map-load:hover .icon { transform: translateY(-3px); }
.enquiry-form { padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-actions .meta { margin: 0; }
.form-status:empty { display: none; }
.form-topic { margin: -4px 0 0; }
.field-error[hidden] { display: none; }
.steps-list { list-style: none; counter-reset: step; display: grid; gap: 14px; margin-bottom: 32px; }
.steps-list li { counter-increment: step; position: relative; display: grid; gap: 2px; padding-left: 48px; }
.steps-list li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: #fff; font-size: var(--fs-sm); font-weight: 600; }
.steps-list span { color: var(--muted); font-size: .9375rem; }

/* ---------- Legal pages ------------------------------------------------- */
.legal-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; } .legal-toc { position: sticky; top: calc(var(--header-h) + 24px); } }
.legal-toc { padding: 22px; border-radius: var(--radius); background: var(--off); border: 1px solid var(--off-2); }
.legal-toc .kicker { margin-bottom: 12px; }
.legal-toc ol { list-style: none; display: grid; gap: 4px; margin: 0 0 14px; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: flex; gap: 8px; padding: 5px 0; font-size: var(--fs-sm); color: var(--ink-2); text-decoration: none; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--teal); font-variant-numeric: tabular-nums; }
.legal-toc a:hover { color: var(--teal); }
.legal-toc .meta { margin: 0; }
.legal-body section { scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-body section + section h2 { margin-top: 1.8em; }
.legal-body h2 { font-size: 1.5rem; }
.legal-address { margin: 0 0 1em; padding: 16px 18px; border-left: 2px solid var(--teal); background: var(--off); border-radius: 0 10px 10px 0; font-style: normal; line-height: 1.7; }
.legal-updated { margin-top: 40px; }

/* ---------- Toolkit in the main menu ---------------------------------- */
.nav-link-toolkit { gap: 7px; color: var(--teal-600); font-weight: 600; }
.nav-link-toolkit .icon { color: var(--teal); }
.nav-link-toolkit:hover, .nav-link-toolkit.is-active { color: var(--teal-600); background: var(--teal-100); }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .nav-link-toolkit,
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .nav-link-toolkit .icon { color: var(--teal-300); }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-is-open) .nav-link-toolkit:hover { background: rgba(99, 207, 197, .12); color: #fff; }
.m-badge { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--teal-100); color: var(--teal-600); font-size: 12px; font-weight: 600; vertical-align: middle; }
.nav-link { white-space: nowrap; }
@media (min-width: 1240px) { .nav-link { padding: 10px 11px; } }

/* ---------- EMI calculator ---------------------------------------------- */
.slider-field { display: grid; gap: 12px; padding-bottom: 6px; }
.slider-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.slider-head label { font-weight: 600; color: var(--ink); }
.slider-value { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid #ccd3dc; border-radius: 12px; background: #fff; color: var(--muted); font-weight: 600; transition: border-color .2s, box-shadow .2s; }
.slider-value:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(42, 166, 158, .18); }
.slider-value .input { border: 0; box-shadow: none !important; padding: 10px 0; min-height: 46px; width: 9.5ch; text-align: right; font-size: 1.125rem; font-weight: 700; color: var(--navy-900); font-variant-numeric: tabular-nums; background: transparent; }
.slider-value .input[aria-invalid="true"] { color: var(--danger); }
#emi-years, #emi-rate { width: 4.5ch; }
.range-light { background: linear-gradient(90deg, var(--teal) var(--pct, 0%), var(--line) var(--pct, 0%)); height: 6px; }
.range-light::-webkit-slider-thumb { width: 22px; height: 22px; }
.slider-scale { display: flex; justify-content: space-between; margin: 0; font-size: 12px; color: var(--muted); }
.emi-hero { padding: 22px; border-radius: 14px; background: var(--navy-900); color: #fff; }
.emi-label { margin: 0; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-300); font-weight: 600; }
.emi-value { margin: 6px 0 4px; font-family: var(--font-serif); font-size: clamp(2.6rem, 2rem + 2.5vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.emi-hero .meta { color: var(--on-dark-muted); margin: 0; }
.emi-split { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
.emi-donut { width: 120px; height: 120px; transform: rotate(-90deg); }
.emi-donut circle { fill: none; stroke-width: 16; }
.emi-donut-track { stroke: var(--line); }
.emi-donut-principal { stroke: var(--navy-900); transition: stroke-dasharray .5s var(--ease-out); }
.emi-donut-interest { stroke: var(--teal-400); transition: stroke-dasharray .5s var(--ease-out), stroke-dashoffset .5s var(--ease-out); }
.emi-key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: 0; }
.emi-key.is-principal { background: var(--navy-900); }
.emi-key.is-interest { background: var(--teal-400); }
.emi-ratio { margin: 0; }
.emi-schedule { border-top: 1px solid var(--line); }
.emi-schedule summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px clamp(22px, 3vw, 36px); font-weight: 600; cursor: pointer; list-style: none; }
.emi-schedule summary::-webkit-details-marker { display: none; }
.emi-schedule summary .icon { color: var(--teal); transition: transform .3s var(--ease); }
.emi-schedule[open] summary .icon { transform: rotate(180deg); }
.emi-schedule .table-scroll { margin: 0 clamp(22px, 3vw, 36px) clamp(22px, 3vw, 36px); max-height: 520px; overflow: auto; }
.emi-schedule thead th { position: sticky; top: 0; }
@media (max-width: 480px) { .emi-split { grid-template-columns: 1fr; justify-items: center; } .emi-figures { width: 100%; } }
