/* TaxHindustan website — matches CA app (crm-theme.css) */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root,
[data-lf-theme="light"] {
  --lf-font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --lf-font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --lf-font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --lf-primary: #0F172A;
  --lf-accent: #0D9488;
  --lf-accent-2: #14b8a6;
  --lf-bg: #F8FAFC;
  --lf-surface: #FFFFFF;
  --lf-border: #E2E8F0;
  --lf-muted: #64748B;
  --lf-text: #0F172A;
  --lf-sidebar-bg: #0F172A;
  --lf-sidebar-text: #E2E8F0;
  --lf-sidebar-muted: #94A3B8;
  --lf-success: #059669;
  --lf-warning: #D97706;
  --lf-danger: #EF4444;
  --lf-on-accent: #FFFFFF;
  --lf-glow: rgba(13, 148, 136, 0.2);
  --lf-radius: 16px;
  --lf-radius-lg: 22px;
  --lf-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.12);
  --lf-shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.18);
  --lf-btn-grad: linear-gradient(135deg, #14b8a6, #06b6d4);
  --lf-orb-opacity: 0.28;
  /* Legacy aliases */
  --ink: var(--lf-primary);
  --ink-2: #1e293b;
  --teal: var(--lf-accent);
  --teal-2: var(--lf-accent-2);
  --teal-deep: #0f766e;
  --paper: var(--lf-bg);
  --sand: #f1f5f9;
  --line: var(--lf-border);
  --muted: var(--lf-muted);
  --danger: var(--lf-danger);
  --ok: var(--lf-success);
  --shadow: var(--lf-shadow);
  --radius: var(--lf-radius);
  --font: var(--lf-font-display);
  --sans: var(--lf-font-sans);
}

[data-lf-theme="dark"] {
  --lf-primary: #F1F5F9;
  --lf-accent: #2DD4BF;
  --lf-accent-2: #14b8a6;
  --lf-bg: #070B14;
  --lf-surface: #0F172A;
  --lf-border: rgba(148, 163, 184, 0.16);
  --lf-muted: #94A3B8;
  --lf-text: #E2E8F0;
  --lf-sidebar-bg: #0A0F1A;
  --lf-sidebar-text: #E2E8F0;
  --lf-sidebar-muted: #94A3B8;
  --lf-on-accent: #0F172A;
  --lf-glow: rgba(45, 212, 191, 0.22);
  --lf-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.55);
  --lf-shadow-lg: 0 28px 56px -12px rgba(0, 0, 0, 0.65);
  --lf-orb-opacity: 0.22;
  --ink: #F1F5F9;
  --ink-2: #CBD5E1;
  --paper: var(--lf-bg);
  --sand: #111827;
  --line: var(--lf-border);
  --muted: var(--lf-muted);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.lf-app,
body {
  font-family: var(--lf-font-sans);
  background: #F8FAFC;
  background: var(--lf-bg);
  color: var(--lf-text);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.wrap, .header-inner, .section, .hero, .foot-grid, .copy {
  width: 100%; max-width: 1180px; margin-left: auto; margin-right: auto;
}

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--lf-primary); color: #fff; padding: 10px 16px;
  border-radius: 12px; font-weight: 600; font-size: 13px; transition: top .2s;
}
.skip-link:focus { top: 12px; outline: 2px solid var(--lf-accent-2); outline-offset: 2px; }

/* Banner */
.banner {
  background: linear-gradient(90deg, #0f766e, #0D9488 40%, #06b6d4);
  color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 9px 14px;
}

/* Sticky glass header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(248, 250, 252, .82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--lf-border);
}
[data-lf-theme="dark"] .site-header { background: rgba(7, 11, 20, .86); }
.header-inner { padding: 12px 22px; display: flex; align-items: center; gap: 18px; }

/* Logo — teal Hindustan */
.logo { display: flex; align-items: baseline; gap: 8px; font-weight: 700; letter-spacing: -.03em; flex-shrink: 0; }
.logo .word { font-family: var(--lf-font-display); font-size: 22px; color: var(--lf-primary); }
.logo .word span { color: var(--lf-accent); }
.logo .badge {
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--lf-muted);
  border: 1px solid var(--lf-border); padding: 3px 8px; border-radius: 999px; font-weight: 700;
  font-family: var(--lf-font-sans);
}

/* Nav */
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a:not(.btn) {
  font-size: 13.5px; font-weight: 500; padding: 8px 12px; border-radius: 999px;
  color: var(--ink-2); transition: background .15s, color .15s;
}
.nav a:not(.btn):hover, .nav a:not(.btn).active {
  background: rgba(13, 148, 136, .1); color: var(--teal-deep);
}

/* Icon + theme */
.icon-btn, .theme-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--lf-border); background: var(--lf-surface); color: var(--lf-primary);
  cursor: pointer; transition: border-color .15s, background .15s, color .15s, transform .15s;
}
.icon-btn:hover, .theme-toggle:hover {
  border-color: var(--lf-accent); background: rgba(13, 148, 136, .08); color: var(--lf-accent); transform: translateY(-1px);
}
.theme-toggle { color: var(--lf-muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; border-radius: 999px; padding: 11px 18px;
  font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: transform .18s, box-shadow .18s, filter .18s, background .18s, border-color .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--lf-primary); color: #fff; box-shadow: 0 8px 20px rgba(15, 23, 42, .18); }
.btn-dark:hover { filter: brightness(1.08); }
.btn-teal {
  background: linear-gradient(135deg, #14b8a6, #06b6d4); color: #fff;
  box-shadow: 0 8px 24px rgba(20, 184, 166, .3);
}
.btn-teal:hover { filter: brightness(1.06); box-shadow: 0 12px 28px rgba(20, 184, 166, .4); }
.btn-ghost { background: transparent; border: 1px solid var(--lf-border); color: var(--lf-primary); }
.btn-ghost:hover { border-color: var(--lf-accent); background: rgba(13, 148, 136, .06); }
.btn-wa { background: #25D366; color: #062; box-shadow: 0 8px 20px rgba(37, 211, 102, .28); }
.btn-wa:hover { filter: brightness(1.05); }
.btn-sm, .btn.btn-sm { padding: 7px 12px; font-size: 12.5px; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 56px 22px 32px; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 40px; align-items: center;
}
.kicker {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lf-accent); font-weight: 700; margin-bottom: 12px;
}
h1, .hero h1 {
  font-family: var(--lf-font-display); font-weight: 700; letter-spacing: -.03em;
  font-size: clamp(34px, 5vw, 56px); line-height: 1.08; margin-bottom: 16px; color: var(--lf-primary);
}
h2 { font-family: var(--lf-font-display); font-weight: 700; letter-spacing: -.02em; color: var(--lf-primary); }
.lede { font-size: 17px; color: var(--lf-muted); max-width: 540px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }

/* Audience / billing toggles */
.audience-toggle, .bill-toggle, .billing-toggle {
  display: inline-flex; background: var(--lf-surface); border: 1px solid var(--lf-border);
  border-radius: 999px; padding: 4px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.audience-toggle { margin-bottom: 18px; }
.audience-toggle button, .bill-toggle button, .billing-toggle button {
  border: 0; background: transparent; padding: 8px 14px; border-radius: 999px;
  cursor: pointer; font-weight: 600; font-size: 13px; color: var(--lf-muted);
  transition: background .15s, color .15s, box-shadow .15s;
}
.audience-toggle button.on, .audience-toggle button[aria-pressed="true"] {
  background: linear-gradient(135deg, #14b8a6, #06b6d4); color: #fff;
  box-shadow: 0 4px 14px rgba(20, 184, 166, .28);
}
.bill-toggle button.on, .billing-toggle button.on { background: var(--lf-primary); color: #fff; }

/* Hero card — dark + teal orb */
.hero-card {
  position: relative; overflow: hidden; background: var(--lf-sidebar-bg); color: var(--lf-sidebar-text);
  border-radius: var(--lf-radius-lg); padding: 22px; box-shadow: var(--lf-shadow-lg);
  min-height: 420px; border: 1px solid rgba(148, 163, 184, .12);
}
.hero-card::before {
  content: ''; position: absolute; width: 220px; height: 220px; border-radius: 40% 60% 55% 45%;
  background: radial-gradient(circle, rgba(20, 184, 166, .45) 0%, transparent 70%);
  top: -60px; right: -40px; filter: blur(8px); pointer-events: none; opacity: var(--lf-orb-opacity);
}
.hero-card h3 { font-family: var(--lf-font-display); font-size: 20px; margin-bottom: 6px; color: #fff; position: relative; }
.hero-card p { color: var(--lf-sidebar-muted); font-size: 13px; margin-bottom: 16px; position: relative; }
.portal-row {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(30, 41, 59, .85); border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; font-size: 13px; position: relative;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: #25d366; display: inline-block;
  margin-right: 8px; box-shadow: 0 0 0 3px rgba(37, 211, 102, .2);
}
.portal-row .amt { color: var(--lf-accent-2); font-weight: 700; font-family: var(--lf-font-mono); }

/* Stats + trust */
.stats { display: flex; gap: 22px; flex-wrap: wrap; }
.stat b { display: block; font-family: var(--lf-font-display); font-size: 26px; color: var(--lf-primary); letter-spacing: -.02em; }
.stat span { font-size: 12px; color: var(--lf-muted); }
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; justify-content: center;
  padding: 18px 22px; margin: 0 auto; max-width: 1180px; border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius); background: var(--lf-surface); box-shadow: var(--lf-shadow);
  color: var(--lf-muted); font-size: 13px; font-weight: 600;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip i { color: var(--lf-accent); }

/* Sections + grids */
.section { padding: 56px 22px; }
.section-h { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.section-h h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; }
.section-h p { color: var(--lf-muted); max-width: 420px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* Cards */
.card {
  background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: var(--lf-radius);
  padding: 20px; box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.card:hover { border-color: rgba(13, 148, 136, .35); box-shadow: var(--lf-shadow); transform: translateY(-2px); }
.card .icon { font-size: 26px; margin-bottom: 10px; }
.card h3 { font-family: var(--lf-font-display); font-size: 18px; margin-bottom: 6px; color: var(--lf-primary); }
.card p { color: var(--lf-muted); font-size: 14px; }
.price-from { margin-top: 12px; font-weight: 700; color: var(--teal-deep); font-size: 14px; }
.badge-pop {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--lf-accent);
  background: rgba(13, 148, 136, .12); border: 1px solid rgba(13, 148, 136, .35);
  border-radius: 999px; padding: 4px 10px;
  animation: badge-pop-in .45s cubic-bezier(.22, 1, .36, 1);
}
@keyframes badge-pop-in { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: scale(1); } }

/* Pricing */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan {
  background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: var(--lf-radius-lg);
  padding: 22px; display: flex; flex-direction: column; min-height: 100%; position: relative;
}
.plan.popular { border-color: var(--lf-accent); box-shadow: 0 16px 40px rgba(13, 148, 136, .14); }
.plan .flag {
  position: absolute; top: -11px; right: 16px; background: linear-gradient(135deg, #14b8a6, #06b6d4);
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.plan .cost { font-family: var(--lf-font-display); font-size: 36px; margin: 10px 0 2px; color: var(--lf-primary); letter-spacing: -.03em; }
.plan .cost small { font-size: 14px; color: var(--lf-muted); font-family: var(--lf-font-sans); }
.plan ul { margin: 16px 0 20px; flex: 1; }
.plan li { font-size: 13.5px; padding: 6px 0; border-bottom: 1px dashed #e2e8f0; color: var(--lf-text); }
.plan li.no { color: #94a3b8; text-decoration: line-through; }

/* Service */
.svc-hero { display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; }
.meta-pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 18px; }
.pill {
  background: rgba(13, 148, 136, .1); color: var(--teal-deep); border-radius: 999px;
  padding: 5px 10px; font-size: 12px; font-weight: 600;
}
.buy-box { position: sticky; top: 84px; }
.buy-box .big { font-family: var(--lf-font-display); font-size: 40px; color: var(--lf-primary); letter-spacing: -.03em; }
.check-list { margin-top: 12px; }
.check-list li { padding: 7px 0 7px 22px; position: relative; font-size: 14px; color: var(--lf-text); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--lf-accent); font-weight: 700; }

/* Steps + callout */
.steps { counter-reset: step; display: grid; gap: 12px; margin-top: 14px; }
.steps li, .step {
  counter-increment: step; position: relative; padding: 14px 14px 14px 52px;
  background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: 14px; font-size: 14px;
}
.steps li::before, .step::before {
  content: counter(step); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(13, 148, 136, .12); color: var(--lf-accent); font-weight: 700; font-size: 12px;
  font-family: var(--lf-font-mono);
}
.callout {
  background: rgba(13, 148, 136, .08); border: 1px solid rgba(13, 148, 136, .28);
  border-left: 4px solid var(--lf-accent); border-radius: 14px; padding: 14px 16px;
  font-size: 14px; color: var(--lf-text); margin: 14px 0;
}

/* Forms + result */
.login-wrap { max-width: 460px; margin: 48px auto; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--lf-muted); margin-bottom: 4px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--lf-border);
  background: var(--lf-surface); color: var(--lf-text); font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--lf-accent); box-shadow: 0 0 0 3px rgba(13, 148, 136, .15);
}
.result-box {
  margin-top: 14px; padding: 14px 16px; border-radius: var(--lf-radius); background: var(--lf-bg);
  border: 1px solid var(--lf-border); font-family: var(--lf-font-mono); font-size: 13px;
  color: var(--lf-text); white-space: pre-wrap;
}
.result-box.ok { border-color: rgba(5, 150, 105, .35); background: rgba(5, 150, 105, .06); }
.result-box.err { border-color: rgba(239, 68, 68, .35); background: rgba(239, 68, 68, .06); color: var(--lf-danger); }

/* Demo seats */
.demo-list { margin-top: 18px; }
.demo-item, .demo-seats .demo-item {
  display: flex; justify-content: space-between; gap: 10px; padding: 10px 0;
  border-bottom: 1px solid var(--lf-border); font-size: 13px; cursor: pointer;
}
.demo-item:hover { color: var(--lf-accent); }
.demo-seats { display: grid; gap: 8px; margin-top: 14px; }
.demo-seats button, .demo-seat {
  display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left;
  padding: 12px 14px; border-radius: 14px; border: 1px solid var(--lf-border); background: var(--lf-bg);
  cursor: pointer; font-size: 13px; color: var(--lf-text); transition: border-color .15s, background .15s, transform .15s;
}
.demo-seats button:hover, .demo-seat:hover {
  border-color: rgba(13, 148, 136, .45); background: rgba(13, 148, 136, .06); transform: translateX(3px);
}

/* Portal — dark sidebar */
.portal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 22px; }
.side, .portal-nav {
  background: var(--lf-sidebar-bg); color: var(--lf-sidebar-text); border-radius: 20px;
  padding: 16px; min-height: 70vh; border: 1px solid rgba(148, 163, 184, .1);
}
.side a, .side button.linky, .portal-nav a, .portal-nav button {
  display: block; width: 100%; text-align: left; background: transparent; border: 0; color: inherit;
  padding: 9px 10px; border-radius: 10px; font-size: 13.5px; cursor: pointer;
}
.side a:hover, .side a.on, .side button.linky:hover,
.portal-nav a:hover, .portal-nav a.on, .portal-nav button:hover {
  background: rgba(30, 41, 59, .95); color: #fff;
}
.side .grp, .portal-nav .grp {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--lf-sidebar-muted);
  margin: 14px 6px 6px; font-weight: 700;
}

/* Tables + tags */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--lf-muted); padding: 8px; border-bottom: 1px solid var(--lf-border);
}
.table td { padding: 10px 8px; border-bottom: 1px solid #eef2f4; color: var(--lf-text); }
[data-lf-theme="dark"] .table td { border-bottom-color: rgba(148, 163, 184, .12); }
.tag {
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: rgba(13, 148, 136, .1); color: var(--teal-deep);
}

/* Chips / filters */
.filters, .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.filters { margin-bottom: 18px; }
.chips { padding: 0 12px 8px; background: var(--lf-bg); }
.filters button, .chips button {
  border: 1px solid var(--lf-border); background: var(--lf-surface); border-radius: 999px;
  padding: 7px 12px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--lf-text);
}
.filters button.on, .chips button.on { background: var(--lf-primary); color: #fff; border-color: var(--lf-primary); }
.filters button:hover, .chips button:hover { border-color: var(--lf-accent); }
.notice {
  background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; padding: 10px 12px;
  border-radius: 12px; font-size: 13px; margin: 12px 0;
}
[data-lf-theme="dark"] .notice {
  background: rgba(217, 119, 6, .12); border-color: rgba(251, 191, 36, .28); color: #fbbf24;
}

/* Float discs — rounded-rect (app style) */
.floaters, .float-discs {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.wa-btn, .chat-fab, .float-discs .disc, .float-disc {
  width: 56px; height: 56px; border-radius: 18px; border: 0; cursor: pointer;
  display: grid; place-items: center; font-size: 22px; box-shadow: var(--lf-shadow-lg);
  transition: transform .18s, filter .18s;
}
.wa-btn:hover, .chat-fab:hover, .float-disc:hover { transform: translateY(-2px) scale(1.03); }
.wa-btn { background: #25D366; }
.chat-fab { background: var(--lf-sidebar-bg); color: #fff; }

/* Assist panel Chatbot|AI */
.assist-panel, .chat-box {
  width: min(360px, calc(100vw - 32px)); height: 460px; background: var(--lf-surface);
  border-radius: var(--lf-radius-lg); box-shadow: var(--lf-shadow-lg); border: 1px solid var(--lf-border);
  display: none; flex-direction: column; overflow: hidden;
}
.assist-panel.open, .chat-box.open { display: flex; }
.assist-panel .tabs, .assist-tabs {
  display: flex; gap: 4px; padding: 8px; background: var(--lf-bg); border-bottom: 1px solid var(--lf-border);
}
.assist-panel .tabs button, .assist-tabs button {
  flex: 1; border: 0; background: transparent; padding: 8px; border-radius: 10px;
  font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--lf-muted); cursor: pointer;
}
.assist-panel .tabs button.on, .assist-tabs button.on {
  background: linear-gradient(135deg, #14b8a6, #06b6d4); color: #fff;
}
.chat-head {
  background: var(--lf-sidebar-bg); color: #fff; padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center; font-family: var(--lf-font-display);
}
.chat-msgs { flex: 1; overflow: auto; padding: 12px; background: var(--lf-bg); }
.bubble { max-width: 86%; padding: 9px 12px; border-radius: 14px; margin-bottom: 8px; font-size: 13.5px; }
.bubble.bot { background: var(--lf-surface); border: 1px solid var(--lf-border); }
.bubble.me { background: var(--lf-primary); color: #fff; margin-left: auto; }
.chat-input { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--lf-border); }
.chat-input input {
  flex: 1; border: 1px solid var(--lf-border); border-radius: 999px; padding: 10px 12px;
  background: var(--lf-surface); color: var(--lf-text);
}

/* Palette */
.palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.palette .swatch, .palette-swatch {
  border-radius: 14px; border: 1px solid var(--lf-border); overflow: hidden; background: var(--lf-surface);
}
.palette .chip, .palette-swatch .chip { height: 56px; }
.palette .meta, .palette-swatch .meta { padding: 8px 10px; font-size: 11px; color: var(--lf-muted); }
.palette .meta strong, .palette-swatch .meta strong { display: block; color: var(--lf-text); font-size: 12px; }

/* Toasts */
.toast-root {
  position: fixed; top: 18px; right: 18px; z-index: 80;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.toast {
  pointer-events: auto; min-width: 260px; max-width: min(380px, calc(100vw - 32px));
  padding: 12px 14px; border-radius: 14px; background: var(--lf-surface);
  border: 1px solid var(--lf-border); box-shadow: var(--lf-shadow-lg); font-size: 13.5px;
  color: var(--lf-text); animation: toast-in .35s cubic-bezier(.22, 1, .36, 1);
}
.toast.ok { border-color: rgba(5, 150, 105, .4); }
.toast.err { border-color: rgba(239, 68, 68, .4); }
.toast.info { border-color: rgba(13, 148, 136, .4); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Bell panel */
.bell-panel {
  position: absolute; top: calc(100% + 8px); right: 0; width: min(340px, calc(100vw - 24px));
  background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: var(--lf-radius);
  box-shadow: var(--lf-shadow-lg); overflow: hidden; z-index: 50;
}
.bell-panel .head {
  display: flex; justify-content: space-between; align-items: center; padding: 12px 14px;
  border-bottom: 1px solid var(--lf-border); font-weight: 700; font-family: var(--lf-font-display);
}
.bell-panel .item { padding: 12px 14px; border-bottom: 1px solid var(--lf-border); font-size: 13px; }
.bell-panel .item:hover { background: var(--lf-bg); }
.bell-panel .item small { display: block; color: var(--lf-muted); margin-top: 4px; font-size: 11px; }

/* Footer */
.site-footer { background: var(--lf-sidebar-bg); color: var(--lf-sidebar-text); margin-top: auto; padding: 40px 22px 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.site-footer h4 { color: #fff; margin-bottom: 10px; font-size: 14px; font-family: var(--lf-font-display); }
.site-footer a { display: block; font-size: 13.5px; color: var(--lf-sidebar-muted); padding: 4px 0; }
.site-footer a:hover { color: var(--lf-accent-2); }
.copy {
  margin-top: 24px; border-top: 1px solid rgba(148, 163, 184, .16); padding-top: 14px;
  font-size: 12px; color: #7d9199;
}

/* Mobile CTA */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(248, 250, 252, .92); backdrop-filter: blur(16px);
  border-top: 1px solid var(--lf-border); box-shadow: 0 -8px 24px rgba(15, 23, 42, .08);
}
.mobile-cta .btn { flex: 1; }
[data-lf-theme="dark"] .mobile-cta { background: rgba(7, 11, 20, .92); }
.menu-btn { display: none; }

/* Dark extras */
[data-lf-theme="dark"] .card,
[data-lf-theme="dark"] .plan,
[data-lf-theme="dark"] .field input,
[data-lf-theme="dark"] .field select,
[data-lf-theme="dark"] .field textarea,
[data-lf-theme="dark"] .filters button,
[data-lf-theme="dark"] .chips button,
[data-lf-theme="dark"] .btn-ghost { background: var(--lf-surface); color: var(--lf-text); }
[data-lf-theme="dark"] .plan li { border-bottom-color: rgba(148, 163, 184, .12); }
[data-lf-theme="dark"] .btn-dark { background: #E2E8F0; color: #0F172A; }

/* Responsive */
@media (max-width: 980px) {
  .hero, .svc-hero, .portal-layout, .plan-grid, .grid-4, .foot-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex; position: absolute; top: 62px; left: 0; right: 0; background: var(--lf-surface);
    flex-direction: column; align-items: stretch; padding: 12px; border-bottom: 1px solid var(--lf-border);
    box-shadow: var(--lf-shadow);
  }
  .menu-btn { display: inline-flex !important; }
  .header-inner { position: relative; flex-wrap: wrap; }
  .mobile-cta { display: flex; }
  .floaters, .float-discs { bottom: 76px; }
  .buy-box { position: static; }
  .hero-card { min-height: 320px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 36px; }
  .hero-actions .btn { width: 100%; }
  .stats { gap: 14px; }
  .section { padding: 40px 16px; }
}

/* Print */
@media print {
  .banner, .site-header, .floaters, .float-discs, .assist-panel, .chat-box,
  .mobile-cta, .toast-root, .theme-toggle, .menu-btn, .skip-link { display: none !important; }
  body.lf-app, body { background: #fff; color: #000; }
  .card, .plan, .hero-card { box-shadow: none; break-inside: avoid; }
  a { text-decoration: underline; }
  .site-footer { background: #fff; color: #000; border-top: 1px solid #ccc; }
}

/* ——— USK-inspired layout blocks (TaxHindustan CRM tokens) ——— */
.topbar {
  background: var(--lf-sidebar-bg);
  color: var(--lf-sidebar-muted);
  font-size: 0.72rem;
  font-weight: 600;
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 8px 20px;
  display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; justify-content: space-between;
}
.topbar a { color: var(--lf-accent-2); }
.topbar .hours { color: #cbd5e1; }
/* Category dropdowns in main nav (Incorporation, MCA, GST, …) */
.nav-drop,
.mega-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-drop-btn {
  border: 0;
  background: transparent;
  color: var(--lf-muted);
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.nav-drop-btn:hover,
.nav-drop.open > .nav-drop-btn {
  background: rgba(13, 148, 136, 0.1);
  color: var(--lf-accent-deep);
}
.nav-drop-panel,
.mega-drop-panel {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  min-width: 280px;
  max-width: min(720px, 94vw);
  max-height: min(75vh, 520px);
  overflow: auto;
  background: var(--lf-surface);
  border: 1px solid var(--lf-border);
  border-radius: 16px;
  box-shadow: var(--lf-shadow-lg);
  padding: 12px 14px 14px;
  z-index: 80;
}
.mega-drop-panel { min-width: min(640px, 94vw); }
.nav-drop:hover > .nav-drop-panel,
.nav-drop.open > .nav-drop-panel,
.mega-wrap:hover > .nav-drop-panel,
.mega-wrap.open > .nav-drop-panel { display: block; }
.nav-drop-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 12px;
  border-bottom: 1px solid var(--lf-border);
  margin-bottom: 12px;
}
.nav-drop-head strong {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lf-accent);
  font-weight: 800;
}
.nav-drop-head a {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: var(--lf-accent-deep) !important;
  padding: 0 !important;
}
.mega-drop-grid {
  display: grid;
  gap: 12px 18px;
}
.mega-drop-grid.cols-1 { grid-template-columns: 1fr; }
.mega-drop-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega-drop-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-drop-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mega-drop-col {
  min-width: 0;
  border-right: 1px solid var(--lf-border);
  padding-right: 12px;
}
.mega-drop-col:last-child { border-right: 0; padding-right: 0; }
.mega-drop-col h5 {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lf-accent);
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}
.mega-drop-col a,
.nav-drop-list a {
  display: block;
  padding: 6px 4px;
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--lf-muted);
  font-weight: 600;
  line-height: 1.35;
}
.mega-drop-col a:hover,
.nav-drop-list a:hover {
  background: #f1f5f9;
  color: var(--lf-accent-deep);
}

.hero-usk {
  max-width: 1200px; margin: 0 auto; padding: 28px 20px 10px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px; align-items: center;
}
.hero-usk .hero-photo {
  width: 100%; border-radius: 22px; border: 1px solid var(--lf-border);
  box-shadow: var(--lf-shadow-lg); object-fit: cover; min-height: 280px; max-height: 380px;
}
.hero-usk .console {
  background: var(--lf-sidebar-bg); color: var(--lf-sidebar-text);
  border-radius: 22px; padding: 16px; border: 1px solid rgba(148,163,184,.14);
  box-shadow: var(--lf-shadow-lg); font-size: 0.78rem;
}
.hero-usk .console .bar {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px;
}
.hero-usk .console .secure {
  font-size: 0.65rem; font-weight: 800; color: #99f6e4;
  background: rgba(13,148,136,.2); border: 1px solid rgba(45,212,191,.3);
  padding: 4px 8px; border-radius: 999px;
}
.console-step { padding: 10px 0; border-top: 1px solid rgba(148,163,184,.12); }
.console-step b { color: #fff; display: block; margin-bottom: 2px; }

.section-band { background: #fff; border-top: 1px solid var(--lf-border); border-bottom: 1px solid var(--lf-border); }
.trust-marquee {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  max-width: 1200px; margin: 0 auto; padding: 16px 20px;
}
.catalog-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.svc-card-usk {
  display: flex; flex-direction: column; gap: 8px; min-height: 180px;
}
.svc-card-usk .top { display: flex; justify-content: space-between; gap: 8px; align-items: start; }
.journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.journey-card {
  background: var(--lf-surface); border: 1px solid var(--lf-border);
  border-radius: 16px; padding: 16px; position: relative;
}
.journey-card .num {
  width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(135deg,#14b8a6,#06b6d4); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: var(--lf-font-display); margin-bottom: 10px;
}
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review-card .stars { color: #f59e0b; letter-spacing: 1px; font-size: 0.75rem; margin-bottom: 8px; }
.cta-band {
  max-width: 1200px; margin: 28px auto; padding: 28px 22px;
  background: var(--lf-sidebar-bg); color: #e2e8f0; border-radius: 22px;
  display: grid; grid-template-columns: 1.4fr auto; gap: 16px; align-items: center;
}
.cta-band h2 { color: #fff; font-family: var(--lf-font-display); font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cta-band p { color: #94a3b8; margin-top: 6px; }

.contact-hero {
  max-width: 1200px; margin: 0 auto; padding: 28px 20px 8px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center;
}
.contact-hero img {
  width: 100%; border-radius: 20px; border: 1px solid var(--lf-border);
  object-fit: cover; max-height: 280px; box-shadow: var(--lf-shadow);
}
.office-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0; }
.office-card .icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(13,148,136,.12); color: var(--lf-accent-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.contact-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; }
.why-list { list-style: none; }
.why-list li { padding: 8px 0 8px 22px; position: relative; font-size: 0.875rem; }
.why-list li::before { content: "✓"; position: absolute; left: 0; color: var(--lf-accent); font-weight: 800; }
.mega-footer-cols {
  max-width: 1200px; margin: 18px auto;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}
.mega-footer-cols h4,
.mega-foot-col h4 {
  margin-bottom: 10px;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lf-accent-2);
  font-weight: 800;
}
.mega-foot-col a {
  display: block;
  font-size: 0.72rem;
  padding: 3px 0;
  color: #94a3b8;
}
.mega-foot-col a:hover { color: #fff; }
.img-trust { width: 100%; max-width: 520px; border-radius: 16px; border: 1px solid var(--lf-border); }

@media (max-width: 1100px) {
  .mega-panel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mega-col:nth-child(4n) { border-right: 0; }
  .mega-footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-usk, .contact-hero, .contact-layout, .journey-grid, .programs-grid, .review-grid, .office-grid, .cta-band {
    grid-template-columns: 1fr;
  }
  .mega-panel {
    position: static;
    width: 100%;
    display: none;
    box-shadow: none;
    border-radius: 12px;
    margin-top: 8px;
  }
  .mega-wrap.open .mega-panel { display: block; }
  .mega-panel-grid,
  .mega-footer-cols { grid-template-columns: 1fr 1fr; }
  .mega-col { border-right: 0; border-bottom: 1px solid var(--lf-border); padding-bottom: 10px; margin-bottom: 6px; }
}

/* ——— USK-style service detail page ——— */
.svc-page { max-width: 1200px; margin: 0 auto; padding: 24px 20px 64px; }
.svc-crumb { font-size: 0.78rem; color: var(--lf-muted); margin-bottom: 14px; }
.svc-crumb a { color: var(--lf-accent-deep); font-weight: 600; }
.svc-top {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; align-items: start;
  margin-bottom: 28px;
}
.svc-top h1 { font-family: var(--lf-font-display); font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -0.03em; }
.svc-apply {
  background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: 18px;
  padding: 16px; box-shadow: var(--lf-shadow); position: sticky; top: 84px;
}
.svc-apply .big { font-family: var(--lf-font-display); font-size: 2rem; font-weight: 700; }
.svc-section { margin: 36px 0; }
.svc-section > .kicker { margin-bottom: 8px; }
.svc-section h2 {
  font-family: var(--lf-font-display); font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  margin-bottom: 12px; letter-spacing: -0.02em;
}
.svc-section .lede-sm { color: var(--lf-muted); max-width: 70ch; margin-bottom: 16px; }
.svc-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items: start; }
.svc-photo {
  width: 100%; border-radius: 18px; border: 1px solid var(--lf-border);
  object-fit: cover; max-height: 320px; box-shadow: var(--lf-shadow);
}
.benefit-grid, .why-grid, .type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.benefit-card, .type-card, .comp-card {
  background: var(--lf-surface); border: 1px solid var(--lf-border);
  border-radius: 14px; padding: 14px;
}
.benefit-card h3, .type-card h3, .comp-card h3 {
  font-size: 0.95rem; font-family: var(--lf-font-display); margin-bottom: 6px;
}
.elig-steps { display: grid; gap: 12px; }
.elig-step {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px;
  background: var(--lf-surface); border: 1px solid var(--lf-border);
  border-radius: 14px; padding: 14px;
}
.elig-step .n {
  width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(135deg,#14b8a6,#06b6d4); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:800;
}
.doc-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.doc-group { background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: 14px; padding: 14px; }
.doc-group h3 { font-size: 0.9rem; margin-bottom: 8px; font-family: var(--lf-font-display); }
.doc-group li { font-size: 0.8rem; padding: 5px 0; color: var(--lf-text); }
.doc-group li small { display:block; color: var(--lf-muted); font-size: 0.72rem; }
.process-ol { counter-reset: step; list-style: none; display: grid; gap: 10px; }
.process-ol li {
  background: var(--lf-surface); border: 1px solid var(--lf-border);
  border-radius: 14px; padding: 14px 14px 14px 56px; position: relative;
}
.process-ol li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 12px; top: 14px;
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--lf-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.8rem;
}
.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-acc { display: grid; gap: 8px; margin-top: 12px; }
.faq-item {
  background: var(--lf-surface); border: 1px solid var(--lf-border);
  border-radius: 12px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 14px 16px;
  font-weight: 700; font-size: 0.875rem; display: flex; justify-content: space-between; gap: 12px;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--lf-accent); font-weight: 800; font-size: 1.1rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a {
  padding: 0 16px 14px; color: var(--lf-muted); font-size: 0.8125rem; line-height: 1.55;
  border-top: 1px solid var(--lf-border);
  padding-top: 12px;
}
.related-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.related-strip a {
  border: 1px solid var(--lf-border); background: #fff; border-radius: 999px;
  padding: 7px 12px; font-size: 0.75rem; font-weight: 600; color: var(--lf-muted);
}
.related-strip a:hover { border-color: var(--lf-border-bright); color: var(--lf-accent-deep); }
.svc-trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.disclaimer-box {
  font-size: 0.72rem; color: var(--lf-muted); background: #f1f5f9;
  border: 1px solid var(--lf-border); border-radius: 12px; padding: 12px; margin-top: 12px;
}
@media (max-width: 960px) {
  .svc-top, .svc-split, .benefit-grid, .why-grid, .type-grid, .doc-groups, .cost-grid { grid-template-columns: 1fr; }
  .svc-apply { position: static; }
}

@media (max-width: 960px) {
  .mega-drop-panel, .nav-drop-panel { min-width: 0; max-width: none; }
  .mega-drop-grid.cols-2,
  .mega-drop-grid.cols-3,
  .mega-drop-grid.cols-4 { grid-template-columns: 1fr; }
  .mega-drop-col { border-right: 0; border-bottom: 1px solid var(--lf-border); padding-right: 0; padding-bottom: 10px; margin-bottom: 8px; }
  .mega-drop-col:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
}

/* ——— Website admin + lead forms ——— */
.lead-form { max-width: 420px; }
.lead-form h3 { font-size: 1.15rem; }
.admin-shell { max-width: 1200px; margin: 0 auto; padding: 20px; }
.admin-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center;
  padding-bottom: 14px; border-bottom: 1px solid var(--lf-border); margin-bottom: 8px;
}
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-tabs a {
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--lf-border);
  font-size: 0.78rem; font-weight: 700; color: var(--lf-muted);
}
.admin-tabs a.on, .admin-tabs a:hover {
  background: var(--lf-primary); color: #fff; border-color: var(--lf-primary);
}
.admin-leads {
  display: grid; grid-template-columns: 320px 1fr; gap: 14px; align-items: start;
}
.lead-list {
  background: var(--lf-surface); border: 1px solid var(--lf-border);
  border-radius: 14px; max-height: 70vh; overflow: auto; padding: 8px;
}
.lead-row {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  padding: 10px; border-radius: 10px; cursor: pointer; margin-bottom: 4px;
}
.lead-row strong { display: block; font-size: 0.875rem; }
.lead-row small { color: var(--lf-muted); font-size: 0.72rem; }
.lead-row.on, .lead-row:hover { background: #f1f5f9; }
.lead-detail .bubble { margin: 8px 0; }
.stat-big { font-family: var(--lf-font-display); font-size: 2rem; font-weight: 700; }
.lead-strip {
  max-width: 1200px; margin: 28px auto; padding: 0 20px;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; align-items: start;
}
@media (max-width: 960px) {
  .admin-leads, .lead-strip { grid-template-columns: 1fr; }
}

/* Phase 1 extras */
.kyc-card {
  border: 1px dashed rgba(13, 148, 136, .45);
  background: rgba(13, 148, 136, .06);
  border-radius: var(--lf-radius);
  padding: 16px 18px;
  margin: 18px 0;
  font-size: 13.5px;
}
.kyc-card h3 { font-size: 15px; margin-bottom: 8px; }
.kyc-card dl { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; }
.kyc-card dt { color: var(--lf-muted); font-weight: 600; }
.kyc-card dd { color: var(--lf-text); font-family: var(--lf-font-mono); font-size: 12.5px; }
.door-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.door {
  background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: var(--lf-radius-lg);
  padding: 22px; min-height: 180px; display: flex; flex-direction: column; gap: 10px;
}
.door:hover { border-color: rgba(13, 148, 136, .4); box-shadow: var(--lf-shadow); }
.lang-toggle { display: inline-flex; gap: 4px; align-items: center; }
.lang-toggle button {
  border: 1px solid var(--lf-border); background: var(--lf-surface); border-radius: 999px;
  padding: 6px 10px; font-size: 12px; font-weight: 700; cursor: pointer; color: var(--lf-muted);
}
.lang-toggle button.on { background: var(--lf-primary); color: #fff; border-color: var(--lf-primary); }
.warning-banner {
  background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412;
  padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; margin: 12px 0;
}
[data-lf-theme="dark"] .warning-banner {
  background: rgba(217, 119, 6, .12); border-color: rgba(251, 191, 36, .28); color: #fbbf24;
}
.phase-label {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--lf-accent-2);
  border: 1px solid rgba(45, 212, 191, .35); padding: 4px 10px; border-radius: 999px;
}
.roadmap-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #92400e; background: #fef3c7; border-radius: 999px; padding: 2px 7px; margin-left: 6px;
}
[data-lf-theme="dark"] .roadmap-tag { background: rgba(251, 191, 36, .15); color: #fbbf24; }
.faq-item { border: 1px solid var(--lf-border); border-radius: 12px; padding: 12px 14px; background: var(--lf-surface); margin-bottom: 8px; }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--lf-primary); }
.faq-item p { margin-top: 8px; color: var(--lf-muted); font-size: 14px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.compare-table th, .compare-table td { padding: 10px 8px; border-bottom: 1px solid var(--lf-border); text-align: left; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.main { flex: 1; }
.breadcrumbs { font-size: 13px; color: var(--lf-muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--lf-accent); }
.cart-badge {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--lf-accent); color: #fff; font-size: 10px; font-weight: 700;
  margin-left: 4px;
}
@media (max-width: 980px) {
  .door-grid { grid-template-columns: 1fr; }
  .kyc-card dl { grid-template-columns: 1fr; }
}

/* ===== Section B — Quiet Ledger tokens + chrome ===== */
:root, [data-lf-theme="light"] {
  --forest: #0B3D2E;
  --saffron: #E08A1E;
  --paper: #FAFBF8;
  --sage: #E8F0EA;
  --charcoal: #1A1F1C;
  --slate-th: #5C675F;
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-soft: cubic-bezier(0.4, 0, 1, 1);
  --t-micro: 160ms;
  --t-ui: 240ms;
  --t-section: 560ms;
  --lf-accent: #0B3D2E;
  --lf-accent-2: #1F7A4D;
  --lf-bg: #FAFBF8;
  --lf-btn-grad: linear-gradient(135deg, #0B3D2E, #1F7A4D);
}
.utility-bar { background: var(--forest); color: #E8F0EA; font-size: 12.5px; }
.utility-inner { max-width: 1180px; margin: 0 auto; padding: 6px 20px; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.utility-bar a { color: #fff; text-decoration: none; }
.utility-bar .chip { background: rgba(255,255,255,.12); padding: 2px 8px; border-radius: 999px; }
.utility-bar .muted { opacity: .75; }

.site-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(16px); background: rgba(250,251,248,.78); border-bottom: 1px solid var(--lf-border); transition: padding var(--t-ui) var(--ease-out-expo); }
.site-header.compact .header-inner { min-height: 64px; }
.header-inner { max-width: 1180px; margin: 0 auto; padding: 10px 20px; min-height: 84px; display: flex; align-items: center; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--charcoal); }
.logo .monogram { width: 34px; height: 34px; border-radius: 10px; background: var(--forest); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.logo .word { font-family: var(--lf-font-display); font-weight: 700; font-size: 1.1rem; }
.logo .word span { color: var(--lf-accent-2); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-mega { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; }
.mega-wrap { position: relative; }
.mega-trigger { background: transparent; border: 0; padding: 8px 10px; border-radius: 999px; font: inherit; color: var(--lf-text); cursor: pointer; }
.mega-trigger:hover, .mega-wrap.open .mega-trigger { background: var(--sage); color: var(--forest); }
.mega-panel { position: absolute; left: 0; top: calc(100% + 8px); min-width: min(720px, 92vw); background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: 18px; box-shadow: var(--lf-shadow-lg); padding: 16px; z-index: 50; clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none; transition: clip-path var(--t-ui) var(--ease-out-expo), opacity var(--t-micro); }
.mega-wrap.open .mega-panel, .mega-wrap:focus-within .mega-panel { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
.mega-panel[hidden] { display: block !important; }
.mega-wrap:not(.open):not(:focus-within) .mega-panel { clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none; }
.mega-panel-grid { display: grid; gap: 14px; }
.mega-panel-grid.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.mega-panel-grid.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.mega-col h5 { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-th); margin-bottom: 8px; }
.mega-col a { display: block; padding: 6px 8px; border-radius: 10px; text-decoration: none; color: var(--charcoal); font-size: 13.5px; }
.mega-col a strong { display: block; font-weight: 600; }
.mega-col a span { display: block; color: var(--lf-muted); font-size: 12px; }
.mega-col a:hover { background: var(--sage); }
.route-progress { height: 2px; background: linear-gradient(90deg, var(--saffron), var(--forest)); transform-origin: left; }

.stamp-headline { font-family: Fraunces, var(--lf-font-display), serif; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; letter-spacing: -0.02em; }
.hero-b { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; padding: 36px 0 12px; }
.hero-canvas { position: relative; min-height: 280px; }
.glass-card { position: absolute; width: min(240px, 70%); background: rgba(255,255,255,.72); backdrop-filter: blur(12px); border: 1px solid rgba(11,61,46,.12); border-radius: 18px; padding: 14px 16px; box-shadow: var(--lf-shadow); transition: transform var(--t-ui) var(--ease-out-expo); left: calc(8% + var(--i) * 8%); top: calc(12% + var(--i) * 18%); }
.glass-card:hover { transform: translateY(-4px); }
.due-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.due-chip { display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 999px; background: var(--sage); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.due-chip.warn { background: #FFF4E5; color: #C97800; }
.due-chip em { font-style: normal; font-weight: 700; }
.tile-rail { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; margin: 8px 0 20px; }
.tile-rail a { background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: 16px; padding: 14px; text-decoration: none; color: inherit; transition: transform var(--t-micro), box-shadow var(--t-micro); }
.tile-rail a:hover { transform: translateY(-3px); box-shadow: var(--lf-shadow); }
.tile-rail span { display: block; font-weight: 700; color: var(--forest); }
.tile-rail em { font-style: normal; color: var(--lf-muted); font-size: 13px; }
.cmd-ribbon { padding-top: 0; }
.cmd-search { width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--lf-border); background: var(--lf-surface); font: inherit; cursor: pointer; text-align: left; }
.cmd-search kbd { margin-left: auto; font-size: 12px; background: var(--sage); padding: 2px 6px; border-radius: 6px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pill-row button { border: 1px solid var(--lf-border); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; cursor: pointer; }
.how-steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; list-style: none; counter-reset: how; }
.how-steps li { background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: 16px; padding: 16px; counter-increment: how; }
.how-steps li::before { content: counter(how); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--forest); color: #fff; font-size: 12px; margin-bottom: 8px; }
.lifecycle-pin { overflow: hidden; }
.lifecycle-track { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.life-node { flex: 0 0 auto; scroll-snap-align: start; padding: 12px 16px; border-radius: 999px; background: var(--sage); font-weight: 600; font-size: 13.5px; }
.life-node.on { background: var(--forest); color: #fff; }
.lifecycle-thread { height: 3px; margin-top: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--forest), var(--saffron), var(--sage)); }
.founder-note { background: var(--sage); border-radius: 20px; padding: 22px 24px; font-size: 1.05rem; line-height: 1.55; border-left: 4px solid var(--forest); }
.founder-note cite { display: block; margin-top: 12px; font-size: 13.5px; color: var(--slate-th); font-style: normal; }

/* Modals / cmdk / sahayak */
.modal-root, .cmdk-root { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; }
.modal-root[hidden], .cmdk-root[hidden], .sahayak-panel[hidden] { display: none !important; }
.modal-backdrop, .cmdk-backdrop { position: absolute; inset: 0; background: rgba(26,31,28,.45); }
.modal-card, .cmdk-card { position: relative; width: min(560px, 92vw); background: var(--lf-surface); border-radius: 22px; padding: 22px; box-shadow: var(--lf-shadow-lg); }
.modal-x { position: absolute; right: 12px; top: 10px; border: 0; background: transparent; font-size: 22px; cursor: pointer; }
.fork-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.fork-card { text-align: left; border: 1px solid var(--lf-border); border-radius: 16px; padding: 14px; background: #fff; cursor: pointer; transition: transform var(--t-micro), border-color var(--t-micro); }
.fork-card:hover, .fork-card.on { border-color: var(--forest); transform: translateY(-2px); }
.fork-ico { font-size: 22px; display: block; margin-bottom: 6px; }
.fork-follow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cmdk-card input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--lf-border); font: inherit; font-size: 16px; }
.cmdk-list { max-height: 320px; overflow: auto; margin-top: 10px; }
.cmdk-item { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.cmdk-item[aria-selected="true"], .cmdk-item:hover { background: var(--sage); }
.cmdk-item small { color: var(--lf-muted); }
.cmdk-hint { margin-top: 8px; font-size: 12px; color: var(--lf-muted); }

.sahayak-orb { position: fixed; right: 18px; bottom: 88px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--forest); color: #fff; font-size: 20px; font-weight: 700; cursor: pointer; box-shadow: var(--lf-shadow-lg); }
.sahayak-pulse { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--forest); animation: sahayak-breathe 1.2s var(--ease-out-expo) 1; pointer-events: none; opacity: 0; }
.sahayak-orb.breathe .sahayak-pulse { opacity: 1; }
@keyframes sahayak-breathe { 0% { transform: scale(.9); opacity: .6; } 100% { transform: scale(1.25); opacity: 0; } }
.sahayak-panel { position: fixed; right: 18px; bottom: 156px; z-index: 61; width: min(360px, calc(100vw - 24px)); background: var(--lf-surface); border: 1px solid var(--lf-border); border-radius: 20px; box-shadow: var(--lf-shadow-lg); padding: 14px; }
.sahayak-panel header { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.sahayak-panel header p { font-size: 12.5px; color: var(--lf-muted); }
.sahayak-chips { display: flex; flex-direction: column; gap: 8px; }
.sahayak-chips button { border: 1px solid var(--lf-border); background: #fff; border-radius: 12px; padding: 10px 12px; text-align: left; font: inherit; cursor: pointer; }
.sahayak-chips button:hover { border-color: var(--forest); background: var(--sage); }
.sahayak-body { margin-top: 10px; font-size: 14px; line-height: 1.45; }
.sahayak-disclaimer { margin-top: 10px; font-size: 11.5px; color: var(--lf-muted); }

/* Oracle + configurator */
.oracle-grid, .cfg-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.oracle-progress { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; color: var(--lf-muted); }
.oracle-progress i { display: block; height: 4px; width: 40%; background: var(--forest); border-radius: 99px; transition: width var(--t-ui); }
.oracle-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.oracle-actions button { text-align: left; padding: 12px; border-radius: 12px; border: 1px solid var(--lf-border); background: #fff; font: inherit; cursor: pointer; }
.oracle-actions button:hover { border-color: var(--forest); background: var(--sage); }
.oracle-live ul { list-style: none; margin: 12px 0; }
.oracle-live li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--lf-border); font-variant-numeric: tabular-nums; }
.cfg-addons { display: flex; flex-direction: column; gap: 8px; }
.cfg-addon { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border: 1px solid var(--lf-border); border-radius: 12px; cursor: pointer; }
.cfg-addon em { display: block; font-style: normal; color: var(--lf-muted); font-size: 12.5px; }
.price-roll { font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--forest); transition: transform var(--t-micro); }
.price-roll.tick { transform: translateY(-2px); }
.cfg-meta { display: grid; gap: 8px; margin: 12px 0; }
.cfg-meta div { display: grid; gap: 2px; }
.cfg-meta dt { font-size: 12px; color: var(--lf-muted); }
.sticky-card { position: sticky; top: 96px; }

/* Health ring + status tracker */
.console-top { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; }
.health-ring-wrap { display: flex; gap: 16px; align-items: center; }
.health-ring { width: 120px; height: 120px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--sage); stroke-width: 10; }
.ring-fg { fill: none; stroke: var(--forest); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 700ms var(--ease-out-expo); }
.health-readout strong { font-size: 2rem; font-variant-numeric: tabular-nums; }
.due-list { list-style: none; display: grid; gap: 8px; }
.due-list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--lf-bg); font-size: 13.5px; }
.due-danger { outline: 1px solid rgba(180,35,24,.25); }
.due-warn { outline: 1px solid rgba(201,120,0,.25); }
.due-ok { outline: 1px solid rgba(31,122,77,.2); }
.due-soon { display: inline-flex; align-items: center; gap: 6px; color: #B42318; font-weight: 700; font-size: 11px; letter-spacing: .04em; animation: due-pulse 1.4s ease-in-out infinite; }
@keyframes due-pulse { 50% { opacity: .55; } }
.tracker-nodes, .tracker-cinematic { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tracker-nodes li, .tracker-cinematic li { padding: 10px 14px; border-radius: 999px; background: var(--sage); font-size: 13px; }
.tracker-nodes li.done, .tracker-cinematic li.done { background: #DDF0E5; color: #1F7A4D; }
.tracker-nodes li.current, .tracker-cinematic li.current { background: var(--forest); color: #fff; box-shadow: 0 0 0 4px rgba(11,61,46,.15); }
.tracker-cinematic { flex-direction: column; }
.tracker-cinematic li { border-radius: 16px; display: flex; justify-content: space-between; gap: 12px; }
.status-hero { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 16px; }
.status-stamp { font-weight: 800; letter-spacing: .12em; color: rgba(180,35,24,.45); border: 2px dashed rgba(180,35,24,.35); padding: 10px 14px; border-radius: 12px; transform: rotate(-8deg); }
.plain-list { list-style: disc; padding-left: 18px; line-height: 1.7; }
.linkish { background: none; border: 0; color: var(--forest); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
.btn-teal { background: var(--lf-btn-grad); color: #fff; }

@media (max-width: 960px) {
  .hero-b, .oracle-grid, .cfg-layout, .console-top, .how-steps, .tile-rail { grid-template-columns: 1fr; }
  .glass-card { position: relative; left: auto !important; top: auto !important; width: 100%; margin-bottom: 8px; }
  .hero-canvas { min-height: 0; }
  .nav-mega { display: none; }
  .nav-mega.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 100%; background: var(--lf-surface); padding: 12px; border-bottom: 1px solid var(--lf-border); max-height: 70vh; overflow: auto; }
  .mega-panel { position: static; min-width: 0; box-shadow: none; border: 0; padding: 8px 0 12px; }
  .fork-grid { grid-template-columns: 1fr; }
  .sahayak-orb { bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: opacity 150ms linear !important; }
  .glass-card:hover, .tile-rail a:hover, .fork-card:hover { transform: none; }
  .due-soon { animation: none; }
  .sahayak-pulse { display: none; }
}
