/* CA Kartik Agarwal & Associates LLP — site styles */
:root {
  /* Based on the CA India palette (Code of Ethics Vol I, Appendix L): blue #145886, green #55B848 */
  --navy-950: #071B30;
  --navy-900: #0A2540;
  --navy-800: #145886;
  --navy-700: #1B6399;
  --lime: #55B848;
  --lime-hover: #6AC75E;
  --green-600: #3E8E2A;   /* icons and marks on light surfaces */
  --green-text: #2F6E1F;  /* green text on light surfaces */
  --ink: #102A43;
  --muted: #4A5E72;
  --on-dark: #FFFFFF;
  --on-dark-muted: #B8C9DA;
  --surface: #F2F5F8;
  --white: #FFFFFF;
  --line: #DCE4EC;
  --line-dark: rgba(255, 255, 255, .16);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(10, 37, 64, .06), 0 8px 24px rgba(10, 37, 64, .08);
  --shadow-float: 0 18px 40px rgba(4, 18, 33, .35);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.on-light :focus-visible, main :focus-visible { outline-color: var(--navy-700); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s5); }
@media (max-width: 600px) { .wrap { padding: 0 var(--s4); } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: var(--s2); z-index: 200; background: var(--lime); color: var(--navy-900); padding: var(--s2) var(--s4); border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { left: var(--s4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s5);
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
  touch-action: manipulation;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lime { background: var(--lime); color: var(--navy-900); }
.btn-lime:hover { background: var(--lime-hover); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, .06); }
.btn-navy { background: var(--navy-900); color: var(--on-dark); }
.btn-navy:hover { background: var(--navy-800); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn-outline:hover { background: var(--white); }
.btn-sm { min-height: 44px; padding: 0 var(--s4); font-size: 14px; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--navy-900); padding: var(--s3) 0; }
.nav-pill {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  background: var(--white); border-radius: var(--r-pill); padding: var(--s2) var(--s2) var(--s2) var(--s4);
  min-height: 64px;
}
.brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; min-width: 0; }
/* CA India logo: shown unaltered on white with clear space (Appendix L). Source image is 1152x648 with the mark at x41-237, y34-185. */
.ca-logo { --h: 44px; display: block; height: var(--h); width: calc(var(--h) * 196 / 151); overflow: hidden; background: #fff; flex: none; }
.ca-logo img { display: block; max-width: none; height: auto; width: calc(var(--h) * 1152 / 151); margin-left: calc(var(--h) * -41 / 151); margin-top: calc(var(--h) * -34 / 151); }
.brand-rule { width: 1px; align-self: stretch; margin: 6px 0; background: var(--line); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-size: 15px; color: var(--navy-900); letter-spacing: -0.01em; }
.brand-text span { font-size: 12px; color: var(--muted); font-weight: 500; }
.nav { display: flex; align-items: center; gap: var(--s1); }
.nav > a:not(.btn), .nav-dd > summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 var(--s3);
  border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; cursor: pointer;
}
.nav > a:not(.btn):hover, .nav-dd > summary:hover { background: var(--surface); }
.nav > a[aria-current="page"], .nav-dd > summary.is-active { color: var(--navy-900); font-weight: 700; background: var(--surface); }
.nav-dd { position: relative; }
.nav-dd > summary { list-style: none; }
.nav-dd > summary::-webkit-details-marker { display: none; }
.nav-dd > summary svg { width: 14px; height: 14px; transition: transform .18s ease; }
.nav-dd[open] > summary svg { transform: rotate(180deg); }
.dd-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: 320px; background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow-float);
  padding: var(--s2); display: grid; z-index: 60;
}
.dd-panel a { display: block; padding: 10px var(--s3); border-radius: var(--r-sm); text-decoration: none; font-size: 14px; color: var(--ink); }
.dd-panel a:hover { background: var(--surface); }
.dd-panel a.dd-all { font-weight: 700; color: var(--navy-900); border-bottom: 1px solid var(--line); border-radius: var(--r-sm) var(--r-sm) 0 0; margin-bottom: var(--s1); }
.nav-cta { margin-left: var(--s2); }

/* Our Services mega menu: anchored to the nav pill so it never runs off-screen */
.nav-pill { position: relative; }
@media (min-width: 1041px) {
  .nav-dd { position: static; }
  .dd-mega {
    left: 0; right: 0; transform: none; width: auto; top: calc(100% + 10px);
    grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2) var(--s5); padding: var(--s5);
    max-height: calc(100dvh - 110px); overflow-y: auto;
  }
}
.dd-mega ul { list-style: none; margin: 0; padding: 0; }
.dd-mega li a { padding: 7px var(--s3); font-size: 14px; line-height: 1.35; }
.mega-h { margin: 0 0 var(--s2); }
.dd-mega .mega-h a { font-weight: 700; font-size: 15px; color: var(--navy-900); border-bottom: 2px solid var(--lime); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.mega-sub { margin: var(--s3) 0 2px; padding: 0 var(--s3); font-size: 12px; font-weight: 700; color: var(--muted); }
.mega-col > ul + ul { margin-top: var(--s1); }
.mega-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s2); border-top: 1px solid var(--line); padding-top: var(--s3); margin-top: var(--s2); }
.dd-mega .mega-foot a { font-weight: 600; color: var(--navy-800); }
@media (max-width: 1040px) {
  .dd-mega { display: grid; gap: var(--s3); padding-left: var(--s2); }
  .dd-mega .mega-h a { font-size: 15px; }
  .mega-foot { margin-top: 0; }
}

/* On-this-page links */
.jump { margin-bottom: var(--s6); }
.jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s4); border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--navy-800); text-decoration: none; }
.section-white .jump a { background: var(--surface); }
.jump a:hover { border-color: var(--navy-700); }
.svc-box { scroll-margin-top: 100px; }
.svc-box:target { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(85, 184, 72, .25); }
/* ---------- Fees ---------- */
.fee-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 980px) { .fee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fee-grid { grid-template-columns: 1fr; } }
.fee-grid.fee-grid-1 { grid-template-columns: minmax(0, 420px); }
@media (min-width: 601px) { .fee-grid.fee-grid-2 { grid-template-columns: repeat(2, minmax(0, 420px)); } }
.fee-band .h2 { margin-bottom: var(--s5); }
.fee-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5); }
.section-white .fee-card { background: var(--surface); border-color: transparent; }
.fee-applies { font-size: 12px; font-weight: 700; color: var(--green-text); }
.fee-card h3 { font-size: 18px; color: var(--navy-900); margin-top: var(--s2); }
.fee-incl { font-size: 14px; color: var(--muted); margin-top: 4px; }
.fee-price { margin-top: auto; padding-top: var(--s4); display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.fee-price b { font-size: 30px; line-height: 1; letter-spacing: -0.02em; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.fee-price span { font-size: 13px; color: var(--muted); font-weight: 500; }
.fee-actions { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
.add-cart.is-added { background: var(--green-600); }
.fee-link { font-size: 14px; font-weight: 600; color: var(--navy-800); }
.fee-help { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: var(--s4); align-items: center; margin-top: var(--s6); padding: var(--s5); border-radius: var(--r-md); background: var(--navy-900); color: var(--on-dark); }
.fee-help .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--lime); }
.fee-help .ico svg { width: 22px; height: 22px; }
.fee-help strong { display: block; font-size: 16px; }
.fee-help span { display: block; font-size: 14px; color: var(--on-dark-muted); margin-top: 2px; }
@media (max-width: 640px) { .fee-help { grid-template-columns: 44px minmax(0, 1fr); } .fee-help .btn { grid-column: 1 / -1; } }
.fee-note { font-size: 13px; color: var(--muted); margin-top: var(--s3); }

/* ---------- Cart button ---------- */
.cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--surface); color: var(--navy-900); cursor: pointer; flex: none; }
.cart-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--navy-900); color: var(--white); font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; display: none; }
.cart-btn.has-items .cart-count { display: block; background: var(--lime); color: var(--navy-900); }
.nav-pill > .cart-btn { order: 3; }
@media (min-width: 1041px) { .nav { margin-left: auto; } .nav-pill { gap: var(--s2); } }
@media (max-width: 1040px) { .nav-pill > .cart-btn { order: 0; margin-left: auto; } .nav-pill > .menu-btn { order: 1; } .brand { margin-right: auto; } }

/* ---------- Cart drawer ---------- */
.cart { position: fixed; inset: 0; z-index: 250; }
.cart[hidden] { display: none; }
.cart-scrim { position: absolute; inset: 0; background: rgba(7, 27, 48, .6); }
.cart-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--white); display: flex; flex-direction: column; box-shadow: var(--shadow-float); animation: cart-in .22s ease-out; }
@keyframes cart-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cart-panel { animation: none; } }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: var(--s4) var(--s5); border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 20px; color: var(--navy-900); }
.cart-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface); color: var(--navy-900); cursor: pointer; display: grid; place-items: center; }
.cart-x svg { width: 20px; height: 20px; }
.cart-body { flex: 1; overflow-y: auto; padding: var(--s3) var(--s5); }
.cart-items { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s2) var(--s3); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.ci-main strong { display: block; font-size: 15px; color: var(--navy-900); line-height: 1.35; }
.ci-main span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.ci-line { font-weight: 700; color: var(--navy-900); text-align: right; font-variant-numeric: tabular-nums; }
.ci-qty { display: inline-flex; align-items: center; gap: var(--s2); }
.ci-qty button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--navy-900); font-size: 18px; line-height: 1; cursor: pointer; }
.ci-qty button:hover { border-color: var(--navy-700); }
.ci-qty span { min-width: 64px; text-align: center; font-size: 14px; font-weight: 600; }
.ci-remove { justify-self: end; border: 0; background: none; color: #B42318; font-size: 13px; font-weight: 600; cursor: pointer; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
.cart-empty { text-align: center; padding: var(--s7) 0; color: var(--muted); }
.cart-empty .btn { margin-top: var(--s4); }
.cart-foot { border-top: 1px solid var(--line); padding: var(--s4) var(--s5) var(--s5); background: var(--surface); }
.cart-totals { margin: 0; }
.cart-totals div { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; }
.cart-totals dt { color: var(--muted); }
.cart-totals dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-totals .grand { border-top: 1px solid var(--line); margin-top: var(--s2); padding-top: var(--s3); font-size: 18px; }
.cart-totals .grand dt, .cart-totals .grand dd { color: var(--navy-900); font-weight: 700; }
.cart-note { font-size: 12px; color: var(--muted); margin-top: var(--s3); line-height: 1.5; }
.cart-actions { display: grid; gap: var(--s2); margin-top: var(--s4); }
.cart-actions .btn { width: 100%; }

@media (min-width: 621px) { .svc-grid.svc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.content-grid.single { grid-template-columns: 1fr; max-width: 760px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--surface); color: var(--navy-900); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: var(--s4); right: var(--s4); top: calc(100% - 4px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-radius: var(--r-md); padding: var(--s2); box-shadow: var(--shadow-float);
    max-height: calc(100dvh - 100px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn), .nav-dd > summary { min-height: 48px; border-radius: var(--r-sm); font-size: 16px; }
  .dd-panel { position: static; transform: none; width: auto; box-shadow: none; padding: 0 0 var(--s2) var(--s3); }
  .nav-cta { margin: var(--s2) 0 0; }
  .site-head .wrap { position: relative; }
}
@media (max-width: 420px) { .brand-text strong { font-size: 13px; } .brand-text span { font-size: 11px; } .brand-rule { display: none; } .brand .ca-logo { --h: 36px; } }

/* ---------- Entry disclaimer ---------- */
.gate { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: var(--s4); background: rgba(7, 27, 48, .78); }
.gate[hidden] { display: none; }
.gate-card { background: var(--white); border-radius: var(--r-md); width: 100%; max-width: 580px; max-height: calc(100dvh - 32px); overflow-y: auto; padding: var(--s6); box-shadow: var(--shadow-float); }
@media (max-width: 480px) { .gate-card { padding: var(--s5); } }
.gate-card .ca-logo { --h: 48px; margin-bottom: var(--s4); }
.gate-card h2 { font-size: 22px; color: var(--navy-900); }
.gate-card p { margin-top: var(--s3); font-size: 15px; line-height: 1.65; }
.gate-card ul { margin: var(--s3) 0 0; padding-left: 20px; font-size: 15px; line-height: 1.65; }
.gate-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
body.gate-open { overflow: hidden; }

/* ---------- Firm at a glance ---------- */
.glance { padding: var(--s5); }
.glance h2 { font-size: 18px; color: var(--navy-900); margin-bottom: var(--s3); }
.glance dl { margin: 0; }
.glance dl div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: var(--s3); padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.glance dt { color: var(--muted); font-weight: 500; }
.glance dd { margin: 0; font-weight: 600; color: var(--ink); }
@media (max-width: 420px) { .glance dl div { grid-template-columns: 1fr; gap: 2px; } }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 700px) { .svc-list { grid-template-columns: 1fr; } }
.svc-list li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5); }
.svc-list strong { display: block; font-size: 17px; color: var(--navy-900); }
.svc-list span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }

/* ---------- Dark hero band ---------- */
.band { background: var(--navy-900); color: var(--on-dark); }
.hero { padding: var(--s7) 0 var(--s9); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s8); align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: var(--s7); } .hero { padding: var(--s6) 0 var(--s8); } }
.kicker { display: inline-flex; align-items: center; gap: var(--s2); font-size: 14px; font-weight: 600; color: var(--lime); margin-bottom: var(--s4); }
.kicker svg { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.06; letter-spacing: -0.035em; max-width: 15ch; text-wrap: balance; }
.hero-lede { margin-top: var(--s5); font-size: 18px; line-height: 1.65; color: var(--on-dark-muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-facts { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); margin: var(--s6) 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--on-dark-muted); }
.hero-facts li { display: inline-flex; align-items: center; gap: var(--s2); }
.hero-facts svg { width: 16px; height: 16px; color: var(--lime); flex: none; }
.hero-facts a { color: var(--on-dark); text-decoration: none; font-weight: 600; }
.hero-facts a:hover { text-decoration: underline; }

/* Page hero (inner pages) */
.page-hero { padding: var(--s6) 0 var(--s8); }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -0.03em; max-width: 20ch; text-wrap: balance; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--s5); padding: 0; list-style: none; font-size: 14px; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .35); }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--on-dark); text-decoration: underline; }
.crumbs [aria-current] { color: var(--on-dark); }

/* Hero card stack */
.stack { position: relative; display: grid; gap: var(--s4); }
.panel { background: var(--white); color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-float); }
.status-card { padding: var(--s5); }
.status-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s4); margin-bottom: var(--s4); }
.status-head h2 { font-size: 18px; color: var(--navy-900); letter-spacing: -0.01em; }
.status-head p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; background: #E9F6DF; color: var(--green-text); white-space: nowrap; }
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-600); }
.track { list-style: none; margin: 0; padding: 0; }
.track li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--s3); position: relative; padding-bottom: var(--s4); }
.track li:last-child { padding-bottom: 0; }
.track li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 28px; bottom: 2px; width: 2px; background: var(--line); }
.track li.done:not(:last-child)::after { background: var(--green-600); }
.track .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); color: var(--muted); }
.track .done .dot { background: var(--green-600); border-color: var(--green-600); color: var(--white); }
.track .now .dot { border-color: var(--navy-800); color: var(--navy-800); background: var(--white); }
.track .dot svg { width: 14px; height: 14px; }
.track strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; padding-top: 3px; }
.track span.sub { display: block; font-size: 13px; color: var(--muted); }
.stack-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); }
@media (max-width: 480px) { .stack-row { grid-template-columns: 1fr; } }
.mini { padding: var(--s4) var(--s5); }
.mini h3 { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: var(--s2); }
.due-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.due-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s3); align-items: center; }
.due-list .d { font-variant-numeric: tabular-nums; text-align: center; line-height: 1.05; background: var(--surface); border-radius: var(--r-sm); padding: 6px 0; }
.due-list .d b { display: block; font-size: 17px; color: var(--navy-900); }
.due-list .d small { font-size: 11px; color: var(--muted); font-weight: 600; }
.due-list .w { font-size: 13px; font-weight: 600; line-height: 1.3; }
.due-list .w small { display: block; font-weight: 500; color: var(--muted); }
.mini-note { font-size: 11px; color: var(--muted); margin-top: var(--s2); }
.channels { display: grid; gap: var(--s2); margin-top: var(--s1); }
.channels a { display: flex; align-items: center; gap: var(--s3); min-height: 44px; padding: 0 var(--s3); border-radius: var(--r-sm); background: var(--surface); text-decoration: none; font-size: 14px; font-weight: 600; color: var(--navy-900); }
.channels a:hover { background: #E6ECF2; }
.channels svg { width: 18px; height: 18px; color: var(--green-600); flex: none; }

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: var(--s5) 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4) var(--s6); }
.trust li { display: flex; align-items: center; gap: var(--s3); font-size: 14px; font-weight: 600; color: var(--navy-900); }
.trust svg { width: 22px; height: 22px; color: var(--green-600); flex: none; }
@media (max-width: 700px) { .trust ul { justify-content: flex-start; } }

/* ---------- Sections ---------- */
section[id], [id="contact"] { scroll-margin-top: 92px; }
.section { padding: var(--s9) 0; }
@media (max-width: 700px) { .section { padding: var(--s8) 0; } }
.section-white { background: var(--white); }
.section-head { max-width: 680px; margin-bottom: var(--s7); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.tag { display: inline-flex; align-items: center; gap: var(--s2); font-size: 14px; font-weight: 600; color: var(--green-text); margin-bottom: var(--s3); }
.tag svg { width: 16px; height: 16px; color: var(--green-600); }
.band .tag { color: var(--lime); }
.band .tag svg { color: var(--lime); }
.h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--navy-900); letter-spacing: -0.03em; text-wrap: balance; }
.band .h2 { color: var(--on-dark); }
.lead { margin-top: var(--s4); font-size: 17px; line-height: 1.7; color: var(--muted); }
.band .lead { color: var(--on-dark-muted); }

/* About + stats */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: center; }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; gap: var(--s7); } }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5); }
.stat-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-900); color: var(--lime); margin-bottom: var(--s4); }
.stat-icon svg { width: 22px; height: 22px; }
.stat b { display: block; font-size: 34px; line-height: 1; letter-spacing: -0.03em; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.stat strong { display: block; font-size: 15px; margin-top: var(--s2); }
.stat p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.stat.feature { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark); }
.stat.feature .stat-icon { background: var(--lime); color: var(--navy-900); }
.stat.feature b { color: var(--on-dark); }
.stat.feature p { color: var(--on-dark-muted); }
.about-copy p + p { margin-top: var(--s4); }
.about-copy .lead + p { margin-top: var(--s4); }
.about-copy .btn { margin-top: var(--s6); }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--s6); text-decoration: none; color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease;
}
a.svc:hover { border-color: var(--navy-700); box-shadow: var(--shadow-card); }
.svc .stat-icon { margin-bottom: var(--s5); }
.svc h3 { font-size: 20px; color: var(--navy-900); }
.svc p { margin-top: var(--s3); color: var(--muted); font-size: 15px; }
.svc ul { list-style: none; margin: var(--s4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.svc ul li { font-size: 13px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--surface); color: var(--navy-800); font-weight: 500; }
.svc .more { margin-top: auto; padding-top: var(--s5); display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--navy-800); }
.svc .more svg { width: 16px; height: 16px; }
.svc.primary { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark); }
.svc.primary h3 { color: var(--on-dark); }
.svc.primary p { color: var(--on-dark-muted); }
.svc.primary .stat-icon { background: var(--lime); color: var(--navy-900); }
.svc.primary ul li { background: rgba(255, 255, 255, .1); color: var(--on-dark); }
.svc.primary .more { color: var(--lime); }
a.svc.primary:hover { border-color: var(--lime); }

/* Steps (a real sequence, so numbered) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; position: relative; padding-top: var(--s7); }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 15px; background: var(--lime); color: var(--navy-900);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 18px; left: 48px; right: 0; height: 2px; background: var(--line-dark); }
@media (max-width: 980px) { .steps li::after { display: none; } }
.steps h3 { font-size: 18px; color: var(--on-dark); }
.steps p { margin-top: var(--s2); font-size: 15px; color: var(--on-dark-muted); }
.steps-vertical { grid-template-columns: 1fr !important; gap: 0; margin-top: var(--s5); }
.steps-vertical li { padding: 0 0 var(--s4) 52px; min-height: 44px; }
.steps-vertical li::after { display: none; }
.steps-vertical li p { padding-top: 7px; color: var(--ink) !important; font-size: 15px; margin: 0; }
.section-white .steps h3, .on-light .steps h3 { color: var(--navy-900); }
.section-white .steps p, .on-light .steps p { color: var(--muted); }
.section-white .steps li::after, .on-light .steps li::after { background: var(--line); }

/* Experience list */
.exp { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s7); }
@media (max-width: 760px) { .exp { grid-template-columns: 1fr; } }
.exp li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--s4); padding: var(--s5) 0; border-top: 1px solid var(--line); }
.exp .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); color: var(--navy-800); }
.exp .ico svg { width: 20px; height: 20px; }
.exp strong { display: block; font-size: 16px; color: var(--navy-900); }
.exp span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.fine { font-size: 14px; color: var(--muted); margin-top: var(--s5); }

/* People */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.people-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.hero-desig { display: block; font-size: 0.6em; margin-top: 0.3em; color: var(--lime); }
@media (max-width: 900px) { .people { grid-template-columns: 1fr; } }
@media (min-width: 560px) and (max-width: 900px) { .people-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.person-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-sm, 10px); background: var(--paper, #F2F5F8); margin-bottom: var(--s5); }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s6); }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--lime); font-weight: 700; font-size: 22px; letter-spacing: 0; margin-bottom: var(--s5); }
.person h3 { font-size: 20px; color: var(--navy-900); }
.person .role { font-size: 14px; font-weight: 600; color: var(--green-text); margin-top: 4px; }
.person ul { list-style: none; margin: var(--s4) 0 0; padding: 0; }
.person li { position: relative; padding: var(--s2) 0 var(--s2) 26px; font-size: 15px; border-top: 1px solid var(--line); }
.person li svg { position: absolute; left: 0; top: 12px; width: 16px; height: 16px; color: var(--green-600); }

/* Reviews */
.reviews-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s5); margin-bottom: var(--s7); }
.rating { display: flex; align-items: center; gap: var(--s4); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4) var(--s5); }
.rating b { font-size: 36px; line-height: 1; color: var(--navy-900); letter-spacing: -0.03em; }
.stars { display: flex; gap: 2px; color: #E0A526; }
.stars svg { width: 18px; height: 18px; }
.rating small { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s6); display: flex; flex-direction: column; gap: var(--s5); }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); }
.quote figcaption { margin-top: auto; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s8); align-items: start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: var(--s6); } }
.faq-list { display: grid; gap: var(--s3); }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  padding: var(--s5); font-weight: 600; font-size: 16px; color: var(--navy-900); min-height: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 20px; height: 20px; flex: none; color: var(--navy-800); transition: transform .2s ease; }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item .ans { padding: 0 var(--s5) var(--s5); color: var(--muted); font-size: 15px; line-height: 1.7; }
.faq-item .ans p + p, .faq-item .ans ul { margin-top: var(--s3); }
.faq-item .ans ul { padding-left: 20px; }
.section-white .faq-item { background: var(--surface); border-color: transparent; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s7); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: var(--s5); margin-top: var(--s6); }
.ci { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s4); }
.ci .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--lime); }
.ci .ico svg { width: 20px; height: 20px; }
.ci strong { display: block; font-size: 15px; color: var(--on-dark); }
.ci span, .ci a { font-size: 15px; color: var(--on-dark-muted); overflow-wrap: anywhere; }
.ci a { text-decoration: none; }
.ci a:hover { color: var(--on-dark); text-decoration: underline; }
.form-card { padding: var(--s6); }
@media (max-width: 480px) { .form-card { padding: var(--s5); } }
.form-card h3 { font-size: 22px; color: var(--navy-900); }
.form-card > p { font-size: 15px; color: var(--muted); margin-top: var(--s2); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s5); }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy-900); }
.field label .req { color: #B42318; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font: 16px/1.4 var(--font); color: var(--ink); background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(27, 75, 115, .18); }
.field .err { font-size: 13px; color: #B42318; min-height: 0; }
.field.invalid input { border-color: #B42318; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin-top: var(--s5); }
.form-hint { font-size: 13px; color: var(--muted); }

/* ---------- Inner page content ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); }
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; } }
.box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s6); }
@media (max-width: 480px) { .box { padding: var(--s5); } }
.box h2 { font-size: 22px; color: var(--navy-900); }
.box h2 + p, .box h2 + ul { margin-top: var(--s3); }
.box p { color: var(--ink); font-size: 16px; line-height: 1.7; }
.box h3 { font-size: 17px; color: var(--navy-900); margin-top: var(--s5); }
.checks { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s1); }
.checks li { position: relative; padding: 6px 0 6px 28px; font-size: 15px; line-height: 1.55; }
.checks li svg { position: absolute; left: 0; top: 9px; width: 18px; height: 18px; color: var(--green-600); }
.callout { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s3); background: #FFF8E6; border: 1px solid #F1DFAE; border-radius: var(--r-sm); padding: var(--s4); margin-top: var(--s5); font-size: 15px; }
.callout svg { width: 22px; height: 22px; color: #9A6B00; }
.timeline-badge { display: inline-flex; align-items: center; gap: var(--s2); background: var(--surface); border-radius: var(--r-pill); padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--navy-900); margin-top: var(--s3); }
.timeline-badge svg { width: 16px; height: 16px; color: var(--green-600); }
.side-cta { position: sticky; top: 112px; }

/* ITR plans */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
@media (max-width: 980px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .plan-grid { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s6); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.plan .form-chip { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); background: var(--surface); color: var(--navy-800); white-space: nowrap; }
.plan h3 { font-size: 20px; color: var(--navy-900); margin-top: var(--s4); }
.plan > p { margin-top: var(--s2); font-size: 15px; color: var(--muted); }
.plan h4 { font-size: 13px; font-weight: 700; color: var(--navy-900); margin-top: var(--s5); letter-spacing: 0; }
.plan .checks li { font-size: 14px; padding-top: 4px; padding-bottom: 4px; }
.plan .checks li svg { top: 7px; width: 16px; height: 16px; }
.plan .btn { margin-top: auto; }
.plan .plan-foot { margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--line); display: grid; gap: var(--s3); }
.plan .plan-foot small { font-size: 13px; color: var(--muted); }
.plan.popular { border: 2px solid var(--navy-900); }
.plan.popular .form-chip { background: var(--navy-900); color: var(--lime); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; vertical-align: top; padding: var(--s4) var(--s5); border-bottom: 1px solid var(--line); font-size: 15px; }
thead th { background: var(--navy-900); color: var(--on-dark); font-size: 14px; font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; color: var(--navy-900); white-space: nowrap; }

.docs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 900px) { .docs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .docs-grid { grid-template-columns: 1fr; } }
.doc { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--s3); align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4); }
.doc .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); color: var(--navy-800); }
.doc .ico svg { width: 20px; height: 20px; }
.doc strong { display: block; font-size: 15px; color: var(--navy-900); }
.doc span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }

.dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 760px) { .dates { grid-template-columns: 1fr; } }
.date-card { border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: var(--s5); }
.date-card b { display: block; font-size: 28px; letter-spacing: -0.02em; color: var(--lime); font-variant-numeric: tabular-nums; }
.date-card strong { display: block; margin-top: var(--s2); font-size: 16px; color: var(--on-dark); }
.date-card p { font-size: 14px; color: var(--on-dark-muted); margin-top: 4px; }

/* Incorporation index cards */
.reg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 980px) { .reg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .reg-grid { grid-template-columns: 1fr; } }
.reg { display: flex; flex-direction: column; gap: var(--s2); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5); text-decoration: none; color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease; }
.reg:hover { border-color: var(--navy-700); box-shadow: var(--shadow-card); }
.reg h3 { font-size: 17px; color: var(--navy-900); }
.reg p { font-size: 14px; color: var(--muted); }
.reg .more { margin-top: auto; padding-top: var(--s2); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--navy-800); }
.reg .more svg { width: 16px; height: 16px; }

/* Legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 20px; color: var(--navy-900); margin: var(--s6) 0 var(--s3); }
.legal p, .legal li { font-size: 16px; line-height: 1.75; }
.legal p + p { margin-top: var(--s4); }
.legal ul { padding-left: 22px; }
.legal ol { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.post > p:first-child { font-size: 18px; color: var(--ink); }
.post .post-services { margin-top: var(--s4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .post .post-services { grid-template-columns: 1fr; } }
.post-meta { margin-top: var(--s4); color: var(--on-dark-muted); font-size: 15px; }

/* CTA band */
.cta-band { background: var(--navy-900); color: var(--on-dark); border-radius: var(--r-lg); padding: var(--s8) var(--s7); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s6); align-items: center; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; padding: var(--s7) var(--s5); } }
.cta-band h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.025em; }
.cta-band p { margin-top: var(--s3); color: var(--on-dark-muted); max-width: 56ch; }
.cta-band .hero-actions { margin-top: 0; }

/* ---------- Footer ---------- */
.site-foot { background: var(--navy-950); color: var(--on-dark-muted); padding: var(--s8) 0 var(--s6); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--s6); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h2 { font-size: 15px; color: var(--on-dark); letter-spacing: 0; margin-bottom: var(--s3); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { color: var(--on-dark-muted); text-decoration: none; }
.site-foot a:hover { color: var(--on-dark); text-decoration: underline; }
.foot-brand p { margin-top: var(--s3); line-height: 1.7; }
.foot-bottom { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); font-size: 13px; }
.foot-bottom p { max-width: 70ch; }

/* Enquiry assistant */
.chat-launch {
  position: fixed; right: var(--s5); bottom: var(--s5); z-index: 60;
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 52px; padding: 0 var(--s5);
  border: 0; border-radius: var(--r-pill); background: var(--navy-900); color: var(--white);
  font: 700 15px/1 var(--font); cursor: pointer; box-shadow: var(--shadow-float);
}
.chat-launch svg { width: 20px; height: 20px; color: var(--lime); }
.chat-launch:hover { background: var(--navy-800); }
.chat-launch[aria-expanded="true"] { display: none; }
.chat {
  position: fixed; right: var(--s5); bottom: var(--s5); z-index: 60;
  width: 380px; max-width: calc(100vw - 2 * var(--s4)); height: min(600px, calc(100vh - 2 * var(--s5)));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-float);
}
.chat[hidden] { display: none; }
.chat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s3); padding: var(--s4) var(--s4) var(--s4) var(--s5); background: var(--navy-900); color: var(--on-dark); }
.chat-head h2 { margin: 0; font-size: 17px; color: var(--on-dark); letter-spacing: 0; }
.chat-head p { margin: 2px 0 0; font-size: 13px; color: var(--on-dark-muted); }
.chat-x { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--on-dark); cursor: pointer; }
.chat-x:hover { background: rgba(255, 255, 255, .2); }
.chat-x svg { width: 18px; height: 18px; }
.chat-log { flex: 1; overflow-y: auto; padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); background: var(--surface); }
.msg { margin: 0; max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
.msg.bot { align-self: flex-start; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.you { align-self: flex-end; background: var(--navy-800); color: var(--white); border-bottom-right-radius: 4px; }
.msg.note { background: #FFF8E6; border-color: #F3D58A; }
.msg a { color: var(--navy-800); font-weight: 700; }
.chat-opts { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s1); }
.chat-opt { padding: 9px 14px; border: 1px solid var(--navy-800); border-radius: var(--r-pill); background: var(--white); color: var(--navy-800); font: 600 14px/1.3 var(--font); text-align: left; cursor: pointer; }
.chat-opt:hover { background: var(--navy-800); color: var(--white); }
.chat-review { align-self: stretch; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3) var(--s4); }
.chat-review dl { margin: 0; display: grid; gap: 6px; }
.chat-review dl div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--s2); font-size: 14px; }
.chat-review dt { color: var(--muted); }
.chat-review dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.chat-foot { padding: var(--s3) var(--s4) 0; background: var(--white); border-top: 1px solid var(--line); }
.chat-foot:empty { display: none; }
.chat-row { display: flex; gap: var(--s2); }
.chat-row input, .chat-row textarea { flex: 1; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font: 15px/1.4 var(--font); color: var(--ink); }
.chat-row textarea { min-height: 72px; resize: vertical; }
.chat-row input:focus, .chat-row textarea:focus { outline: 2px solid var(--navy-800); outline-offset: 1px; border-color: var(--navy-800); }
.chat-row input[aria-invalid="true"] { border-color: #B42318; }
.chat-err { margin: 6px 0 0; min-height: 1em; font-size: 13px; color: #B42318; }
.chat-skip { margin-top: 6px; padding: 0; border: 0; background: none; color: var(--navy-800); font: 600 14px var(--font); text-decoration: underline; cursor: pointer; }
.chat-consent { display: flex; gap: var(--s2); align-items: flex-start; font-size: 13.5px; color: var(--ink); line-height: 1.45; }
.chat-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--navy-800); }
.chat-consent a { color: var(--navy-800); }
.chat-send { width: 100%; justify-content: center; margin-top: var(--s3); }
.chat-send svg { width: 18px; height: 18px; }
.chat-send:disabled { opacity: .45; cursor: not-allowed; }
.chat-tools { display: flex; justify-content: space-between; padding: var(--s2) var(--s4) var(--s3); background: var(--white); }
.chat-tools button { padding: 6px 2px; border: 0; background: none; color: var(--muted); font: 600 13px var(--font); cursor: pointer; }
.chat-tools button:hover:not(:disabled) { color: var(--navy-800); text-decoration: underline; }
.chat-tools button:disabled { opacity: .4; cursor: default; }
@media (max-width: 560px) {
  .chat-launch { right: var(--s4); bottom: var(--s4); padding: 0 var(--s4); }
  .chat { right: 0; bottom: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
  body.chat-open { overflow: hidden; }
}
@media print { .chat, .chat-launch { display: none !important; } }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: var(--s5); bottom: var(--s5); z-index: 40;
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 52px; padding: 0 var(--s5);
  border-radius: var(--r-pill); background: #1F9D55; color: var(--white); text-decoration: none; font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 24px rgba(4, 18, 33, .3);
}
.wa-float:hover { background: #188547; }
.wa-float svg { width: 20px; height: 20px; }
@media (max-width: 560px) { .wa-float { right: var(--s4); bottom: var(--s4); padding: 0 var(--s4); } .wa-float span { display: none; } .wa-float { width: 56px; justify-content: center; padding: 0; } }

/* Careers */
.job-meta { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.job-meta li { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #EEF3F8; color: var(--navy-800); }
.page-hero .job-meta { margin-top: var(--s4); }
.page-hero .job-meta li { background: rgba(255, 255, 255, .1); color: var(--on-dark); }
.legal .job-meta { padding-left: 0; }
.apply-box { margin-top: var(--s6); padding: var(--s5); border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: var(--r-md); background: #F7FAFC; }
.apply-box h2 { margin-top: 0; }
.apply-box .btn { margin-top: var(--s4); }
.apply-box a:not(.btn) { overflow-wrap: anywhere; }
.page-hero .hero-lede a { color: var(--on-dark); }
