/* Shubham Kothari & Associates — design system
   Palette: deep navy + logo blue, warm sand neutral, saffron and green from the CA India mark.
   Type: Geist (self-hosted, OFL). */

@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/geist-latin-wght-normal.woff2) format("woff2-variations"), url(/assets/fonts/geist-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/geist-latin-ext-wght-normal.woff2) format("woff2-variations"), url(/assets/fonts/geist-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --font: "Geist Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;

  --bg: #f7f8fa;
  --bg-warm: #f1ede6;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --surface-3: #e2e9f3;
  --ink: #0e1b38;
  --text: #24304b;
  --muted: #56627f;
  --line: #dde3ec;
  --line-strong: #c3ccdb;

  --brand: #1b5a8a;
  --brand-strong: #134670;
  --brand-soft: #e2edf7;
  --on-brand: #ffffff;

  --navy: #0e1b38;
  --navy-2: #15264a;
  --saffron: #e8761e;
  --saffron-ink: #a94e0d;
  --green: #3f9d41;
  --green-ink: #2b7a2e;
  --wa: #1f8f4e;

  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --glass-line: rgba(255, 255, 255, 0.7);
  --glass-edge: rgba(14, 27, 56, 0.08);
  --grid-line: rgba(27, 90, 138, 0.07);

  --shadow-1: 0 1px 2px rgba(14, 27, 56, 0.06), 0 1px 1px rgba(14, 27, 56, 0.04);
  --shadow-2: 0 10px 28px -14px rgba(14, 27, 56, 0.28);
  --shadow-3: 0 30px 70px -30px rgba(14, 27, 56, 0.45);

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

  --wrap: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --header-h: 72px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0a1328;
  --bg-warm: #0e1a34;
  --surface: #101c38;
  --surface-2: #15244a;
  --surface-3: #1c2e5a;
  --ink: #f1f4fa;
  --text: #d5dcea;
  --muted: #9eaac5;
  --line: #213258;
  --line-strong: #30447a;

  --brand: #83b5e2;
  --brand-strong: #b0cfee;
  --brand-soft: #142a50;
  --on-brand: #0a1328;

  --saffron: #f08a3a;
  --saffron-ink: #f4a462;
  --green: #5cbd5e;
  --green-ink: #7fd07f;
  --wa: #2fb36a;

  --glass: rgba(16, 28, 56, 0.66);
  --glass-strong: rgba(16, 28, 56, 0.86);
  --glass-line: rgba(131, 181, 226, 0.14);
  --glass-edge: rgba(0, 0, 0, 0.3);
  --grid-line: rgba(131, 181, 226, 0.06);

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-2: 0 12px 30px -14px rgba(0, 0, 0, 0.6);
  --shadow-3: 0 30px 70px -30px rgba(0, 0, 0, 0.75);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "ss01" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 .6em; font-weight: 640; letter-spacing: -0.022em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.6vw, 4.35rem); line-height: 1.03; letter-spacing: -0.035em; font-weight: 660; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.18rem, 1.6vw, 1.38rem); letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 620; }
.num, .tnum { font-variant-numeric: tabular-nums; }
::selection { background: var(--brand); color: var(--on-brand); }

:focus-visible { outline: 2.5px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: .7rem 1rem; border-radius: var(--r-sm); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--bg); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--warm { background: var(--bg-warm); }
.section--surface { background: var(--surface); }
.prose { max-width: 70ch; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--text); max-width: 62ch; }
.muted { color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: .55rem; font-size: .95rem; font-weight: 560; color: var(--brand); margin: 0 0 1rem; }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--saffron), var(--green)); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head p { margin: 0; color: var(--muted); max-width: 60ch; font-size: 1.1rem; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 3rem; }
  .section-head--split h2 { margin: 0; }
}
.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -0.2em; }
.icon--sm { width: 1em; height: 1em; }

/* ---------- Buttons (Material-inspired with ripple) ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: var(--on-brand); --btn-bd: transparent;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.3rem; border-radius: 999px;
  border: 1.5px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-size: 1rem; font-weight: 580; letter-spacing: -0.005em; text-decoration: none; line-height: 1.2;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  box-shadow: var(--shadow-1);
}
.btn::after { content: ""; position: absolute; inset: 0; background: currentColor; opacity: 0; transition: opacity .2s var(--ease); z-index: -1; }
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn:hover::after { opacity: .08; }
.btn:active { transform: translateY(0); }
.btn--tonal { --btn-bg: var(--brand-soft); --btn-fg: var(--brand-strong); box-shadow: none; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); box-shadow: none; }
.btn--outline:hover { --btn-bd: var(--ink); }
.btn--wa { --btn-bg: var(--wa); --btn-fg: #fff; }
[data-theme="dark"] .btn--wa { --btn-fg: #06200f; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--ghost-light { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.28); box-shadow: none; }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: .95rem; }
.btn .icon { width: 1.15em; height: 1.15em; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: currentColor; opacity: .22; pointer-events: none; animation: ripple .6s var(--ease) forwards; z-index: -1; }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 580; text-decoration: none; color: var(--brand); }
.text-link .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--glass);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(14,27,56,.35); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 1rem; max-width: 1340px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand:hover { color: var(--ink); }
.logo-chip { display: inline-grid; place-items: center; height: 46px; padding: 5px 8px; border-radius: 12px; background: #fff; flex: none; transition: box-shadow .3s var(--ease); }
[data-theme="dark"] .logo-chip { box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 6px 16px -8px rgba(0,0,0,.6); }
.logo-chip img { height: 36px; width: auto; }
.brand-text { display: grid; line-height: 1.15; min-width: 0; }
.brand-name { font-weight: 650; font-size: 1.02rem; letter-spacing: -0.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { font-size: .8rem; color: var(--muted); font-weight: 500; }

.nav { display: none; }
.nav-list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .72rem; border-radius: 999px; white-space: nowrap;
  color: var(--text); text-decoration: none; font-weight: 520; font-size: .96rem;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav-link:hover { background: var(--surface-2); color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-sep { width: 1px; height: 22px; background: var(--line-strong); margin-inline: .45rem; }
.nav-invest { color: var(--saffron-ink); border: 1.5px solid color-mix(in srgb, var(--saffron) 45%, transparent); }
.nav-invest:hover { background: color-mix(in srgb, var(--saffron) 12%, transparent); color: var(--saffron-ink); }
.nav-invest .icon { width: .9em; height: .9em; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--line-strong); }
.icon-btn .icon { width: 20px; height: 20px; }
.theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: block; }
.header-cta { display: none; }
.menu-btn { display: inline-grid; }

@media (min-width: 1200px) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .header-cta { display: inline-flex; white-space: nowrap; }
}
@media (max-width: 560px) {
  .brand-sub { display: none; }
  .brand-name { font-size: .92rem; white-space: normal; line-height: 1.15; max-width: 11.5rem; }
  .logo-chip { height: 42px; padding: 4px 7px; }
  .logo-chip img { height: 32px; width: auto; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 150; visibility: hidden; pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(8, 15, 32, .45); opacity: 0; transition: opacity .3s var(--ease); }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .38s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  padding: 1rem var(--gutter) 2rem;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; height: 56px; margin-bottom: 1rem; }
.drawer-group { padding: 1rem 0; border-top: 1px solid var(--line); }
.drawer-group:first-of-type { border-top: 0; }
.drawer-label { font-size: .85rem; color: var(--muted); margin: 0 0 .4rem; font-weight: 520; }
.drawer-link { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; font-size: 1.2rem; font-weight: 580; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.drawer-link:hover { color: var(--brand); }
.drawer-link--sub { font-size: 1.02rem; font-weight: 500; color: var(--text); padding: .45rem 0; }
.drawer-link--invest { color: var(--saffron-ink); }
.drawer-contact { display: grid; gap: .6rem; margin-top: auto; padding-top: 1.5rem; }
body.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 6.5rem); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid {
  position: absolute; inset: -40px;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero-strokes { position: absolute; right: -6%; top: 0; width: min(780px, 80%); height: 100%; opacity: .9; will-change: transform; }
.hero-strokes path { fill: none; stroke-width: 3; stroke-linecap: round; }
.hero-strokes .s1 { stroke: var(--saffron); opacity: .55; }
.hero-strokes .s2 { stroke: var(--green); opacity: .5; }
.hero-strokes .s3 { stroke: var(--brand); opacity: .18; stroke-width: 1.5; }
.hero-inner { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 1000px) { .hero-inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); } }
.hero h1 { margin-bottom: 1.4rem; max-width: 15ch; }
.hero .lead { margin-bottom: 2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.25rem; padding: 0; list-style: none; }
.hero-proof li {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .85rem; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line); font-size: .92rem; font-weight: 520; color: var(--text);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-proof .icon { width: 1em; height: 1em; color: var(--green-ink); }

/* Lifecycle panel — the signature element */
.lifecycle {
  position: relative; border-radius: var(--r-xl); padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: var(--shadow-3), inset 0 1px 0 rgba(255,255,255,.35);
}
.lifecycle-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.lifecycle-head h2 { font-size: 1.12rem; margin: 0; letter-spacing: -0.01em; }
.lifecycle-head span { font-size: .85rem; color: var(--muted); }
.stages { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: .25rem; }
.stages::before { content: ""; position: absolute; left: 21px; top: 22px; height: var(--base, calc(100% - 44px)); width: 2px; background: var(--line); border-radius: 2px; }
.stages-wrap { position: relative; }
.stages-progress { position: absolute; z-index: 1; left: 21px; top: 22px; width: 2px; height: 0; border-radius: 2px; background: linear-gradient(180deg, var(--saffron), var(--green)); transition: height .6s var(--ease); }
.stage-btn {
  position: relative; display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; width: 100%;
  padding: .55rem .5rem .55rem 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; border-radius: var(--r-md);
}
.stage-dot {
  position: relative; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1.5px solid var(--line-strong); color: var(--muted);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.stage-dot .icon { width: 20px; height: 20px; }
.stage-title { display: flex; align-items: baseline; gap: .55rem; padding-top: .55rem; font-weight: 600; color: var(--ink); font-size: 1.02rem; letter-spacing: -0.01em; }
.stage-step { font-size: .8rem; font-weight: 560; color: var(--muted); font-variant-numeric: tabular-nums; }
.stage-body { display: grid; grid-template-rows: 0fr; padding-left: calc(44px + .9rem); transition: grid-template-rows .4s var(--ease); }
.stage-body > div { overflow: hidden; }
.stage-body p { margin: .25rem 0 .35rem; font-size: .95rem; color: var(--muted); line-height: 1.55; }
.stage.is-done .stage-dot { border-color: color-mix(in srgb, var(--green) 60%, var(--line-strong)); color: var(--green-ink); }
.stage.is-active .stage-dot { background: var(--brand); border-color: var(--brand); color: var(--on-brand); transform: scale(1.06); }
.stage.is-active .stage-body { grid-template-rows: 1fr; }
.stage-btn:hover .stage-dot { border-color: var(--brand); }
.lifecycle-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .92rem; }

/* ---------- Credentials band ---------- */
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { background: var(--surface); padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: .3rem; }
.fact-num { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 650; letter-spacing: -0.045em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.fact-label { color: var(--muted); font-size: 1rem; }
.creds { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 1.75rem 0 0; padding: 0; list-style: none; color: var(--text); font-weight: 520; }
.creds li { display: inline-flex; align-items: center; gap: .5rem; }
.creds .icon { color: var(--brand); width: 1.1em; height: 1.1em; }

/* ---------- Practice tiles ---------- */
.practices { display: grid; gap: 1rem; }
@media (min-width: 900px) { .practices { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; } .practice--india { grid-row: span 2; } }
.practice {
  position: relative; display: flex; flex-direction: column; gap: .9rem; padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.practice:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); color: var(--text); }
.practice h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin: 0; letter-spacing: -0.025em; }
.practice p { margin: 0; color: var(--muted); }
.practice .text-link { margin-top: auto; }
.practice-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.practice-icon .icon { width: 26px; height: 26px; }
.practice-list { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: .25rem 0 .5rem; padding: 0; }
.practice-list li { font-size: .9rem; padding: .3rem .7rem; border-radius: 999px; background: var(--surface-2); color: var(--text); }
.practice--india::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--saffron) 20%, transparent), transparent 70%); pointer-events: none;
}
.practice--global { background: var(--navy); border-color: var(--navy); color: #c9d4ea; }
.practice--global:hover { color: #c9d4ea; border-color: var(--navy-2); }
.practice--global h3 { color: #fff; }
.practice--global p { color: #b6c3de; }
.practice--global .practice-icon { background: rgba(131,181,226,.14); color: #9cc6ee; }
.practice--global .text-link { color: #9cc6ee; }
[data-theme="dark"] .practice--global { background: #0c1a3d; border-color: var(--line-strong); }
.practice--cfo .practice-icon { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green-ink); }

/* ---------- Services index (tabs) ---------- */
.svc { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .svc { grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: start; } }
.svc-tabs { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .25rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x proximity; }
.svc-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 960px) { .svc-tabs { flex-direction: column; overflow: visible; margin: 0; padding: 0; position: sticky; top: calc(var(--header-h) + 24px); } }
.svc-tab {
  flex: none; scroll-snap-align: start; display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 540; font-size: .98rem; cursor: pointer; text-align: left; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.svc-tab .icon { width: 19px; height: 19px; color: var(--muted); transition: color .2s var(--ease); }
.svc-tab:hover { border-color: var(--line-strong); }
.svc-tab[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.svc-tab[aria-selected="true"] .icon { color: var(--saffron); }
@media (min-width: 960px) { .svc-tab { border-radius: var(--r-md); white-space: normal; padding: .85rem 1rem; } }
.svc-panel {
  border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-1);
}
.svc-panel[hidden] { display: none; }
.svc-panel.is-entering { animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.svc-panel h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); letter-spacing: -0.025em; }
.svc-panel > p { color: var(--muted); max-width: 62ch; font-size: 1.06rem; }
.checks { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; gap: .7rem 2rem; }
@media (min-width: 640px) { .checks--2 { grid-template-columns: 1fr 1fr; } }
.checks li { position: relative; padding-left: 1.85rem; line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .18em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: color-mix(in srgb, var(--green) 16%, transparent);
  -webkit-mask: none; mask: none;
}
.checks li::after {
  content: ""; position: absolute; left: .38rem; top: .42em; width: .42rem; height: .24rem; border-left: 2px solid var(--green-ink); border-bottom: 2px solid var(--green-ink); transform: rotate(-45deg);
}
.checks li strong { display: block; font-weight: 600; }
.checks li span { color: var(--muted); font-size: .96rem; }

/* ---------- Feature band (real estate) ---------- */
.feature {
  position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(1.75rem, 4vw, 3.25rem);
  background: linear-gradient(135deg, var(--navy) 0%, #13305a 100%); color: #c9d4ea;
  display: grid; gap: 2rem;
}
[data-theme="dark"] .feature { background: linear-gradient(135deg, #0c1a3d 0%, #142c55 100%); border: 1px solid var(--line-strong); }
@media (min-width: 960px) { .feature { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; } }
.feature h2, .feature h3 { color: #fff; }
.feature p { color: #b9c6e0; }
.feature .kicker { color: #9cc6ee; }
.feature-tiles { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.feature-tile {
  padding: 1rem 1.1rem; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #e6ecf7; font-weight: 540; font-size: .98rem; line-height: 1.4;
}
.feature-tile small { display: block; color: #a9b8d6; font-weight: 450; font-size: .86rem; margin-top: .25rem; }
.feature-art { position: absolute; right: -40px; top: -40px; width: 340px; opacity: .5; pointer-events: none; }
.feature-art path { fill: none; stroke-width: 2.5; stroke-linecap: round; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0; margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: .97rem; font-weight: 500;
  transition: border-color .2s var(--ease), transform .2s var(--ease), background-color .2s var(--ease);
}
.chip:hover { border-color: var(--brand); transform: translateY(-1px); }
.chip--strong { background: var(--brand-soft); border-color: transparent; color: var(--brand-strong); font-weight: 560; }

.serve { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .serve { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.serve h3 { margin-bottom: 1rem; }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  counter-increment: step; position: relative; padding: 1.5rem 1.5rem 1.6rem; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.step::before {
  content: counter(step, decimal-leading-zero); display: block; font-size: .9rem; font-weight: 600; color: var(--saffron-ink); margin-bottom: 1.4rem; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Founder ---------- */
.founder { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.founder-photo { position: relative; max-width: 440px; isolation: isolate; }
.founder-photo picture, .founder-photo img { border-radius: var(--r-xl); }
.founder-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%; background: var(--surface-2); }
.founder-photo::before {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 70%; height: 70%; border-radius: var(--r-xl);
  border: 2px solid color-mix(in srgb, var(--saffron) 50%, transparent); z-index: -1;
}
.founder-badge {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem; padding: .85rem 1rem; border-radius: var(--r-md);
  background: var(--glass-strong); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-2);
}
.founder-badge strong { display: block; font-size: 1.05rem; }
.founder-badge span { font-size: .9rem; color: var(--muted); }
.cred-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .65rem; }
@media (min-width: 560px) { .cred-list { grid-template-columns: 1fr 1fr; } }
.cred-list li { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem .95rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); line-height: 1.4; font-size: .98rem; }
.cred-list .icon { color: var(--brand); margin-top: .1rem; }
.social-row { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- Global band ---------- */
.band-dark { background: var(--navy); color: #c9d4ea; position: relative; overflow: hidden; }
[data-theme="dark"] .band-dark { background: #081128; border-block: 1px solid var(--line); }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: #b6c3de; }
.band-dark .kicker { color: #9cc6ee; }
.band-dark .muted { color: #9fb0d0; }
.glass-card {
  border-radius: var(--r-lg); padding: 1.4rem 1.5rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.glass-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.glass-card p { margin: 0; font-size: .97rem; }
.glass-grid { display: grid; gap: .9rem; }
@media (min-width: 700px) { .glass-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .glass-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.band-orb { position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(131,181,226,.22), transparent 65%); pointer-events: none; }

/* ---------- Cards (insights/tools) ---------- */
.cards { display: grid; gap: 1rem; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex; flex-direction: column; gap: .6rem; padding: 1.5rem; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); color: var(--text); }
.card h3 { font-size: 1.18rem; margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card .text-link { margin-top: auto; padding-top: .5rem; }
.card-meta { font-size: .85rem; color: var(--muted); }
.card-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.card-icon .icon { width: 22px; height: 22px; }

/* Portal links */
.portals { display: grid; gap: .6rem; }
@media (min-width: 700px) { .portals { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .portals { grid-template-columns: repeat(3, 1fr); } }
.portal {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 560;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.portal small { display: block; font-weight: 450; color: var(--muted); font-size: .86rem; }
.portal:hover { border-color: var(--brand); color: var(--ink); }
.portal .icon { width: 1rem; height: 1rem; color: var(--muted); flex: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; max-width: 860px; }
.faq details { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; font-weight: 580; color: var(--ink); font-size: 1.05rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--muted); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .faq-a { padding: 0 1.25rem 1.2rem; color: var(--text); }
.faq .faq-a p:last-child { margin: 0; }

/* ---------- Contact band ---------- */
.contact-band {
  border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand) 0%, #0f3a62 100%); color: #e3ecf7;
  display: grid; gap: 2rem;
}
[data-theme="dark"] .contact-band { background: linear-gradient(135deg, #15325c 0%, #0c1f40 100%); border: 1px solid var(--line-strong); }
@media (min-width: 960px) { .contact-band { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.contact-band h2 { color: #fff; margin-bottom: .6rem; }
.contact-band p { color: #cfdcef; margin: 0; max-width: 52ch; }
.contact-list { display: grid; gap: .6rem; }
.contact-item {
  display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; border-radius: var(--r-md);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; text-decoration: none;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.contact-item:hover { background: rgba(255,255,255,.14); color: #fff; transform: translateY(-1px); }
.contact-item .icon { width: 22px; height: 22px; flex: none; }
.contact-item span { display: grid; line-height: 1.3; min-width: 0; }
.contact-item small { color: #bcd0ea; font-size: .85rem; }
.contact-item b { font-weight: 580; overflow-wrap: anywhere; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); max-width: 18ch; }
.page-hero .lead { margin-bottom: 1.75rem; }
.page-hero--dark { background: var(--navy); color: #c9d4ea; }
[data-theme="dark"] .page-hero--dark { background: #081128; border-bottom: 1px solid var(--line); }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lead { color: #c3cfe6; }
.page-hero--dark .kicker { color: #9cc6ee; }
.page-hero--dark .crumbs, .page-hero--dark .crumbs a { color: #a7b7d6; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.jump a { display: inline-block; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-size: .93rem; font-weight: 520; transition: border-color .2s var(--ease); }
.jump a:hover { border-color: var(--brand); color: var(--ink); }
.page-hero--dark .jump a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #e3eaf6; }

/* Service blocks on practice pages */
.svc-block { display: grid; gap: 1.5rem; padding-block: clamp(2.75rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.svc-block:first-of-type { border-top: 0; }
@media (min-width: 960px) { .svc-block { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3.5rem; } }
.svc-block-head .card-icon { margin-bottom: 1rem; }
.svc-block-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.svc-block-head p { color: var(--muted); }
.svc-items { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
@media (min-width: 640px) { .svc-items { grid-template-columns: 1fr 1fr; } }
.svc-item { padding: 1.1rem 1.2rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.svc-item:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.svc-item h3 { font-size: 1.02rem; margin: 0 0 .3rem; letter-spacing: -0.01em; }
.svc-item p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* ---------- Article ---------- */
.article { max-width: 760px; }
.article h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin-top: 2.4em; }
.article h3 { margin-top: 1.8em; }
.article p, .article li { font-size: 1.08rem; line-height: 1.75; }
.article li { margin-bottom: .45em; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .93rem; color: var(--muted); margin-bottom: 0; }
.note {
  border-radius: var(--r-md); padding: 1.1rem 1.25rem; background: var(--surface-2); border-left: 3px solid var(--brand); margin: 1.75rem 0; font-size: 1rem;
}
.note p { margin: 0; font-size: 1rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); margin: 1.5rem 0; background: var(--surface); -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline-offset: 2px; }
.data-table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 560px; }
.data-table th, .data-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.data-table thead th { background: var(--surface-2); color: var(--ink); font-weight: 600; position: sticky; top: 0; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table th[scope="row"] { color: var(--ink); font-weight: 580; }
.article-cta { margin-top: 3rem; padding: 1.5rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 1rem; }
@media (min-width: 700px) { .article-cta { grid-template-columns: 1fr auto; align-items: center; } }
.article-cta p { margin: 0; }
.related { margin-top: 3.5rem; }

/* ---------- Calculators ---------- */
.calc { display: grid; gap: 1.25rem; }
@media (min-width: 1000px) { .calc { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.5rem; align-items: start; } }
.panel { border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-1); }
.panel h2 { font-size: 1.3rem; letter-spacing: -0.015em; }
.field { display: grid; gap: .55rem; margin-bottom: 1.6rem; }
.field:last-child { margin-bottom: 0; }
.field-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.field label, .field .label { font-weight: 560; color: var(--ink); font-size: 1rem; }
.input-wrap {
  display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .8rem; border-radius: var(--r-sm);
  background: var(--surface-2); border: 1.5px solid transparent; transition: border-color .2s var(--ease), background-color .2s var(--ease);
  min-width: 0;
}
.input-wrap:focus-within { border-color: var(--brand); background: var(--surface); }
.input-wrap span { color: var(--muted); font-weight: 520; }
.input-wrap input {
  width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1.08rem; font-weight: 600;
  font-variant-numeric: tabular-nums; text-align: right; padding: 0; outline: none;
}
.input-wrap--wide { width: min(240px, 60%); }
.input-wrap--narrow { width: 120px; }
.hint { font-size: .88rem; color: var(--muted); margin: 0; min-height: 1.3em; }
.hint.is-warn { color: var(--saffron-ink); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--brand) var(--fill, 50%), var(--surface-3) var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--surface-3); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--brand); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand); box-shadow: var(--shadow-2); transition: transform .15s var(--ease); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand); box-shadow: var(--shadow-2); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px color-mix(in srgb, var(--saffron) 45%, transparent); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px color-mix(in srgb, var(--saffron) 45%, transparent); }
.range-scale { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-top: -.2rem; }

.results { display: grid; gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 560px) { .results { grid-template-columns: repeat(2, 1fr); } }
.result { background: var(--surface); padding: 1.1rem 1.25rem; display: grid; gap: .15rem; }
.result--hero { background: var(--brand-soft); }
@media (min-width: 560px) { .result--hero { grid-column: span 2; } }
.result-label { font-size: .9rem; color: var(--muted); }
.result-value { font-size: clamp(1.35rem, 2.6vw, 1.7rem); font-weight: 640; letter-spacing: -0.025em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.2; overflow-wrap: anywhere; }
.result--hero .result-value { font-size: clamp(2rem, 4.5vw, 2.8rem); color: var(--brand-strong); }
.result-words { font-size: .88rem; color: var(--muted); }

.viz { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 700px) { .viz { grid-template-columns: 220px 1fr; align-items: center; } }
.donut-wrap { position: relative; width: 200px; height: 200px; margin-inline: auto; }
.donut-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
.donut-center b { display: block; font-size: 1.4rem; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.donut-center small { color: var(--muted); font-size: .82rem; }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.legend li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .98rem; }
.legend .sw { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); }
.legend .sw::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--c); flex: none; }
.legend b { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }

.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); gap: 2px; flex-wrap: wrap; }
.seg button {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .92rem; font-weight: 560; padding: .5rem .95rem; border-radius: 999px; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.seg button[aria-pressed="true"], .seg button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1rem; margin-bottom: 1rem; }
.chart-head h2 { margin: 0; }
.chart-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .9rem; color: var(--muted); margin: 0 0 .75rem; padding: 0; list-style: none; }
.chart-legend li { display: inline-flex; align-items: center; gap: .45rem; }
.chart-legend li::before { content: ""; width: 11px; height: 11px; border-radius: 3px; background: var(--c); }
.chart-box { position: relative; }
.chart-box svg { width: 100%; height: auto; overflow: visible; }
.chart-box .axis text { fill: var(--muted); font-size: 11px; font-family: var(--font); font-variant-numeric: tabular-nums; }
.chart-box .grid line { stroke: var(--line); stroke-dasharray: 3 4; }
.chart-box .bar { transition: opacity .2s var(--ease); }
.chart-box .col:hover .bar, .chart-box .col.is-hot .bar { opacity: .82; }
.chart-tip {
  position: absolute; z-index: 5; pointer-events: none; min-width: 190px; padding: .7rem .85rem; border-radius: var(--r-sm);
  background: var(--glass-strong); border: 1px solid var(--line); box-shadow: var(--shadow-2); font-size: .86rem; line-height: 1.5;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transform: translateY(4px); transition: opacity .15s var(--ease), transform .15s var(--ease);
}
.chart-tip.is-on { opacity: 1; transform: none; }
.chart-tip b { color: var(--ink); display: block; margin-bottom: .2rem; }
.chart-tip div { display: flex; justify-content: space-between; gap: 1rem; color: var(--text); font-variant-numeric: tabular-nums; }
.amort { margin-top: 1.25rem; }
.amort .data-table { min-width: 680px; }
.amort .data-table th, .amort .data-table td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.amort .data-table th:first-child, .amort .data-table td:first-child { text-align: left; }
.amort .data-table td:first-child { font-weight: 620; color: var(--brand); }
.amort .data-table thead th { background: var(--ink); color: var(--bg); font-weight: 580; }
.amort .table-scroll { max-height: 560px; }
.amort tfoot td { font-weight: 640; color: var(--ink); background: var(--surface-2); border-top: 1.5px solid var(--line-strong); }

.rate-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.rate-chip {
  border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 580; font-size: .97rem;
  padding: .5rem .95rem; border-radius: 999px; cursor: pointer; min-width: 58px; transition: all .2s var(--ease);
}
.rate-chip:hover { border-color: var(--brand); }
.rate-chip[aria-checked="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  display: flex; flex-direction: column; gap: .75rem; padding: 1.6rem; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); color: var(--text); }
.contact-card h2 { font-size: 1.25rem; margin: 0; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card b { color: var(--ink); font-size: 1.08rem; overflow-wrap: anywhere; font-weight: 600; }
.contact-card .card-icon--wa { background: color-mix(in srgb, var(--wa) 15%, transparent); color: var(--wa); }
.address-card { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); margin-top: 1rem; }
@media (min-width: 800px) { .address-card { grid-template-columns: 1fr auto; align-items: center; } }
.address-card address { font-style: normal; font-size: 1.12rem; color: var(--ink); line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b6c3de; padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; margin-top: 0; }
[data-theme="dark"] .site-footer { background: #060d1f; border-top: 1px solid var(--line); }
.site-footer a { color: #d9e2f2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 2rem; } }
.footer-brand p { max-width: 38ch; font-size: .97rem; color: #a9b8d6; }
.footer-brand .brand { color: #fff; margin-bottom: 1.25rem; }
.footer-brand .brand-name { white-space: normal; }
.footer-col h2.footer-gap { margin-top: 1.6rem; }
.footer-brand .brand-sub { color: #a9b8d6; }
.footer-cols { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 1000px) { .footer-cols { display: contents; } }
.footer-col h2 { font-size: .98rem; color: #fff; margin-bottom: .9rem; letter-spacing: -0.005em; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .95rem; }
.footer-contact { display: grid; gap: .6rem; font-size: .95rem; }
.footer-contact a, .footer-contact address { display: flex; gap: .6rem; align-items: flex-start; font-style: normal; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: .2rem; color: #8fb4dc; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); color: #e3eaf6; }
.footer-social a:hover { background: rgba(255,255,255,.08); text-decoration: none; }
.footer-social .icon { width: 18px; height: 18px; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: .75rem; font-size: .88rem; color: #93a4c6; }
@media (min-width: 800px) { .footer-bottom { grid-template-columns: 1fr auto; align-items: center; } }
.footer-bottom p { margin: 0; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 28px -10px rgba(16, 90, 50, .7);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float .icon { width: 28px; height: 28px; }
@supports (bottom: env(safe-area-inset-bottom)) { .wa-float { bottom: calc(18px + env(safe-area-inset-bottom)); } }

/* ---------- Disclaimer / legal ---------- */
.legal { max-width: 760px; }
.legal p { font-size: 1.06rem; line-height: 1.75; }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; align-content: center; }
.nf-code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 700; letter-spacing: -0.06em; line-height: 1; margin-bottom: 1rem; background: linear-gradient(90deg, var(--saffron), var(--brand) 55%, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.hero-enter > * { animation: heroIn .9s var(--ease) both; }
.hero-enter > *:nth-child(2) { animation-delay: .08s; }
.hero-enter > *:nth-child(3) { animation-delay: .16s; }
.hero-enter > *:nth-child(4) { animation-delay: .24s; }
.hero-enter > *:nth-child(5) { animation-delay: .32s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.draw path { stroke-dasharray: var(--len, 1400); stroke-dashoffset: var(--len, 1400); animation: draw 2.2s var(--ease) .2s forwards; }
.draw path:nth-child(2) { animation-delay: .45s; }
.draw path:nth-child(3) { animation-delay: .7s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .draw path { stroke-dashoffset: 0; }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header, .drawer-panel, .lifecycle { background: var(--surface); }
}

@media print {
  .site-header, .site-footer, .wa-float, .drawer, .hero-bg { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}

/* Calculator chart colours (theme-aware via tokens) */
.bar-p { fill: var(--brand); }
.bar-i { fill: var(--saffron); }
.bar-o { fill: color-mix(in srgb, var(--saffron) 45%, var(--surface-3)); }
.arc-p { stroke: var(--brand); }
.arc-i { stroke: var(--saffron); }
.arc-bg { stroke: var(--surface-3); }
.lg-p { --c: var(--brand); }
.lg-i { --c: var(--saffron); }
.lg-o { --c: color-mix(in srgb, var(--saffron) 45%, var(--surface-3)); }
.chart-box .col { outline: none; cursor: pointer; }
.chart-box .col:focus-visible .bar { stroke: var(--ink); stroke-width: 1.5; }
@media (min-width: 560px) { .result--wide { grid-column: span 2; } }
.calc-note { font-size: .92rem; color: var(--muted); margin: 1rem 0 0; }
.field-group { display: grid; gap: .6rem; margin-bottom: 1.6rem; }
.field-group:last-child { margin-bottom: 0; }

/* Mobile: keep hero strokes clear of the headline */
@media (max-width: 759px) { .hero-strokes { display: none; } }

/* Practice tile service list */
.practice-areas { list-style: none; margin: .25rem 0 .75rem; padding: 0; display: grid; gap: .55rem 1.25rem; }
@media (min-width: 520px) { .practice-areas { grid-template-columns: 1fr 1fr; } }
.practice-areas li { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink); font-weight: 540; font-size: .97rem; }
.practice-areas .icon { color: var(--brand); width: 1.1em; height: 1.1em; }

/* FAQ split layout */
.faq-split { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .faq-split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 3rem; align-items: start; } .faq-split .section-head { position: sticky; top: calc(var(--header-h) + 32px); } }
.faq-split .faq { max-width: none; }
