:root {
  --navy: #0b1e4b;
  --navy-2: #0d2357;
  --navy-3: #153674;
  --blue: #1e5ef5;
  --blue-dark: #1848c4;
  --gold: #ffc42d;
  --green: #1faa59;
  --bg: #f4f7fc;
  --paper: #ffffff;
  --ink: #17233f;
  --muted: #5a6b8c;
  --line: #e2e9f5;
  --shadow: 0 18px 55px rgba(13, 35, 87, 0.12);
  --shadow-sm: 0 8px 26px rgba(13, 35, 87, 0.08);
  --radius: 22px;
  --container: min(1180px, calc(100% - 36px));
  --font-bn: "Hind Siliguri", sans-serif;
  --font-en: "Manrope", "Hind Siliguri", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 18%, rgba(30, 94, 245, 0.08), transparent 30rem),
    linear-gradient(180deg, #f9fbff 0, var(--bg) 38rem, #f7f9fd 100%);
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.skip-link {
  position: fixed; top: -80px; left: 16px; z-index: 9999;
  padding: 10px 15px; border-radius: 10px; background: var(--gold);
  color: #111827; font-weight: 800;
}
.skip-link:focus { top: 14px; }
.reading-progress {
  position: fixed; inset: 0 auto auto 0; z-index: 1200;
  width: 0; height: 4px; background: linear-gradient(90deg, var(--gold), #ff9d1d);
  box-shadow: 0 1px 8px rgba(255, 196, 45, 0.65);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000; height: 76px;
  background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(226,233,245,.9);
  box-shadow: 0 7px 24px rgba(13,35,87,.07); backdrop-filter: blur(14px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 14px rgba(13,35,87,.15); }
.brand-text { display: grid; line-height: 1.16; font-family: var(--font-bn); }
.brand-name { color: var(--navy); font-size: 1.14rem; font-weight: 800; }
.brand-tag { margin-top: 4px; color: var(--muted); font-size: .68rem; font-weight: 600; white-space: nowrap; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 2px; margin-left: auto; }
.nav-link {
  padding: 10px 9px; border-radius: 10px; color: #314263;
  font-family: var(--font-bn); font-size: .93rem; font-weight: 600; white-space: nowrap;
  transition: .2s ease;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--blue); background: #edf3ff; outline: none; }
.header-contact { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: .82rem; font-weight: 800; white-space: nowrap; }
.phone-ring {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  color: #fff; background: var(--green); box-shadow: 0 0 0 5px rgba(31,170,89,.1);
}
.phone-ring svg { width: 17px; height: 17px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px;
  padding: 10px 16px; border: 0; border-radius: 12px; font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: #1e2740; background: var(--gold); box-shadow: 0 8px 20px rgba(255,196,45,.28); font-family: var(--font-bn); }
.btn-gold:hover { background: #ffd154; box-shadow: 0 11px 24px rgba(255,196,45,.38); }
.hamburger { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.hamburger span { display: block; height: 2px; margin: 5px 0; border-radius: 9px; background: var(--navy); transition: .2s; }
.drawer-overlay { position: fixed; inset: 0; z-index: 1080; background: rgba(5,16,44,.56); backdrop-filter: blur(3px); }
.mobile-drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 1090; width: min(88vw, 360px);
  padding: 18px; overflow-y: auto; background: #fff; box-shadow: -18px 0 45px rgba(5,16,44,.25);
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.drawer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-bn); font-size: 1.05rem; font-weight: 800; color: var(--navy); }
.drawer-brand img { width: 42px; height: 42px; border-radius: 50%; }
.drawer-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #eef3fb; color: var(--navy); font-size: 1.5rem; cursor: pointer; }
.drawer-nav { display: grid; gap: 6px; padding: 18px 0; }
.drawer-nav a { padding: 12px 14px; border-radius: 11px; color: #293b60; font-family: var(--font-bn); font-weight: 650; }
.drawer-nav a:hover { color: var(--blue); background: #eef4ff; }
.drawer-contact { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: var(--navy); color: #fff; font-size: .9rem; }

/* Legal hero */
.legal-hero { position: relative; padding: 76px 0 74px; overflow: hidden; color: #fff; background: linear-gradient(125deg, #081a46 0%, #113574 58%, #1e5ef5 145%); }
.legal-hero::before, .legal-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.legal-hero::before { width: 390px; height: 390px; right: -80px; top: -210px; border: 66px solid rgba(255,196,45,.12); }
.legal-hero::after { width: 260px; height: 260px; left: -120px; bottom: -190px; background: rgba(30,94,245,.38); filter: blur(2px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.09); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(255,196,45,.14); }
.legal-hero h1 { max-width: 850px; margin: 18px 0 12px; font-size: clamp(2.15rem, 4.6vw, 4.15rem); line-height: 1.06; letter-spacing: -.045em; }
.legal-hero p { max-width: 720px; margin: 0; color: #dce8ff; font-size: 1.04rem; line-height: 1.7; }
.hero-meta { display: grid; gap: 10px; min-width: 225px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(255,255,255,.09); backdrop-filter: blur(10px); }
.hero-meta span { color: #bed2fa; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.hero-meta strong { color: #fff; font-size: .94rem; }

/* Document layout */
.legal-shell { padding: 42px 0 86px; }
.legal-grid { display: grid; grid-template-columns: 280px minmax(0,1fr); align-items: start; gap: 28px; }
.toc { position: sticky; top: 102px; padding: 20px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); }
.toc-title { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--navy); font-size: .95rem; font-weight: 800; }
.toc-title svg { width: 19px; color: var(--blue); }
.toc-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.toc-list a { display: block; padding: 8px 10px; border-left: 3px solid transparent; border-radius: 0 8px 8px 0; color: #63718d; font-size: .82rem; font-weight: 650; line-height: 1.35; transition: .2s; }
.toc-list a:hover, .toc-list a.active { border-left-color: var(--blue); color: var(--blue); background: #edf3ff; }
.toc-help { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; line-height: 1.55; }
.toc-help a { display: block; margin-top: 6px; color: var(--blue); font-weight: 800; }
.mobile-toc { display: none; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow-sm); }
.mobile-toc summary { padding: 14px 16px; cursor: pointer; color: var(--navy); font-weight: 800; }
.mobile-toc .toc-list { padding: 0 14px 14px; }
.legal-document { padding: clamp(24px, 4vw, 50px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.document-intro { margin-bottom: 34px; padding: 20px 22px; border-left: 5px solid var(--gold); border-radius: 0 14px 14px 0; background: #fff9e9; color: #3b465d; }
.document-intro p { margin: 0; }
.legal-section { padding: 6px 0 26px; border-bottom: 1px solid var(--line); }
.legal-section + .legal-section { padding-top: 30px; }
.legal-section:last-child { padding-bottom: 0; border-bottom: 0; }
.legal-section h2 { margin: 0 0 14px; color: var(--navy); font-size: clamp(1.3rem, 2.2vw, 1.72rem); line-height: 1.3; letter-spacing: -.02em; }
.legal-section h3 { margin: 22px 0 9px; color: #23365f; font-size: 1.05rem; line-height: 1.4; }
.legal-section p { margin: 0 0 13px; color: #41506c; }
.legal-section ul, .legal-section ol { margin: 8px 0 16px; padding-left: 22px; color: #41506c; }
.legal-section li { margin: 7px 0; padding-left: 5px; }
.legal-section a { color: var(--blue-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.notice { margin: 18px 0; padding: 17px 18px; border: 1px solid #cfe0ff; border-radius: 14px; background: #f0f5ff; color: #304568; }
.notice strong { color: var(--navy); }
.notice.warning { border-color: #f4d57e; background: #fff9e7; }
.consent-quote { margin: 18px 0; padding: 20px 22px; border: 1px solid #bcd1ff; border-radius: 15px; background: linear-gradient(135deg,#f4f7ff,#edf3ff); color: #243b68; font-weight: 700; }
.policy-table { width: 100%; margin: 16px 0 22px; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; font-size: .9rem; }
.policy-table th, .policy-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.policy-table th { color: var(--navy); background: #edf3ff; font-weight: 800; }
.policy-table tr:last-child td { border-bottom: 0; }
.contact-card { display: grid; gap: 8px; margin-top: 18px; padding: 20px; border-radius: 16px; color: #fff; background: linear-gradient(135deg,var(--navy),var(--navy-3)); }
.contact-card strong { font-size: 1.08rem; }
.contact-card a { color: #fff; text-decoration-color: rgba(255,255,255,.55); }
.document-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.action-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--navy); background: #fff; font-weight: 800; cursor: pointer; }
.action-btn:hover { border-color: #b8cdf7; background: #f1f5ff; }

/* Footer */
.footer { color: #dce7ff; background: #07183d; }
.footer-grid { display: grid; grid-template-columns: 1.55fr .8fr .9fr 1.05fr .85fr; gap: 30px; padding: 54px 0 38px; }
.f-logo-row { display: flex; align-items: center; gap: 12px; }
.f-logo-row img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.f-logo-row div { display: grid; font-family: var(--font-bn); }
.f-logo-row strong { color: #fff; font-size: 1.2rem; }
.f-logo-row small { color: #b8c9ed; font-size: .72rem; }
.f-brand p { max-width: 360px; color: #b7c5e2; font-family: var(--font-bn); font-size: .89rem; line-height: 1.75; }
.f-eng { display: inline-block; color: var(--gold); font-size: .73rem; font-weight: 800; letter-spacing: .1em; }
.f-col { display: flex; flex-direction: column; gap: 8px; }
.f-col h3 { margin: 0 0 8px; color: #fff; font-size: .96rem; }
.f-col a, .f-address { color: #b7c5e2; font-size: .82rem; line-height: 1.55; font-style: normal; transition: .2s; }
.f-col a:hover { color: var(--gold); transform: translateX(2px); }
.f-bottom { padding: 16px 18px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; }
.f-bottom p { margin: 0; color: #9eb1d6; font-family: var(--font-bn); font-size: .8rem; }
.bottom-nav { display: none; }
.wa-float {
  position: fixed; right: 22px; bottom: 24px; z-index: 800; display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%; color: #fff; background: #20b75a;
  box-shadow: 0 12px 30px rgba(24,154,71,.32); transition: transform .2s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.back-top { position: fixed; right: 28px; bottom: 94px; z-index: 790; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; opacity: 0; pointer-events: none; color: var(--navy); background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; transition: .2s; }
.back-top.show { opacity: 1; pointer-events: auto; }

@media (max-width: 1100px) {
  .brand-tag, .header-phone strong { display: none; }
  .main-nav { gap: 0; }
  .nav-link { padding-inline: 7px; font-size: .88rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .site-header { height: 68px; }
  .main-nav, .header-cta { display: none; }
  .header-inner { gap: 12px; }
  .header-contact { margin-left: auto; }
  .header-phone strong { display: block; }
  .hamburger { display: block; }
  .legal-hero { padding: 58px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: auto 1fr; max-width: 330px; }
  .legal-grid { grid-template-columns: 1fr; }
  .toc { display: none; }
  .mobile-toc { display: block; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
}
@media (max-width: 620px) {
  :root { --container: min(100% - 24px, 1180px); }
  html { scroll-padding-top: 82px; }
  body { font-size: 16px; padding-bottom: 66px; }
  .site-header { height: 64px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-name { font-size: 1.03rem; }
  .header-phone { display: none; }
  .legal-hero { padding: 44px 0 48px; }
  .legal-hero h1 { font-size: clamp(2rem, 10vw, 2.75rem); }
  .legal-hero p { font-size: .96rem; }
  .hero-meta { min-width: 0; width: 100%; }
  .legal-shell { padding: 24px 0 50px; }
  .legal-document { padding: 22px 18px; border-radius: 17px; }
  .document-intro { padding: 17px; }
  .legal-section { scroll-margin-top: 82px; }
  .policy-table { display: block; overflow-x: auto; white-space: normal; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 30px; }
  .bottom-nav {
    position: fixed; inset: auto 0 0; z-index: 950; display: grid; grid-template-columns: repeat(4,1fr);
    height: 66px; border-top: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 -8px 22px rgba(13,35,87,.09); backdrop-filter: blur(12px);
  }
  .bn-item { display: grid; place-items: center; align-content: center; gap: 1px; color: #596985; font-family: var(--font-bn); font-size: .7rem; font-weight: 700; }
  .bn-item span { font-size: 1.1rem; line-height: 1; }
  .wa-float { right: 14px; bottom: 80px; width: 52px; height: 52px; }
  .back-top { right: 19px; bottom: 141px; width: 38px; height: 38px; }
}
@media print {
  body { background: #fff; padding: 0; }
  .reading-progress, .site-header, .legal-hero::before, .legal-hero::after, .toc, .mobile-toc, .document-actions, .footer, .bottom-nav, .wa-float, .back-top { display: none !important; }
  .legal-hero { padding: 24px 0; color: #111; background: #fff; border-bottom: 2px solid #111; }
  .legal-hero p, .hero-meta span, .hero-meta strong { color: #333; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-meta { border: 1px solid #bbb; background: #fff; }
  .legal-shell { padding: 24px 0; }
  .legal-grid { display: block; }
  .legal-document { padding: 0; border: 0; box-shadow: none; }
  .legal-section { break-inside: avoid; }
  a { text-decoration: none !important; }
}
