/* BSR Consulting. Navy and grey from the logo, amber CTAs, light tinted bands. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F3F6FA;
  --tint: #DCEBF7;
  --ink: #1E2A38;
  --heading: #04245A;
  --muted: #5B6168;
  --line: #DCE6F0;
  --accent: #2B6CB0;
  --btn: #04245A;
  --btn-ink: #FFFFFF;
  --amber: #F2A33A;
  --amber-ink: #04245A;
  --teal: #1F9D8B;
  --coral: #D9534F;
  --wa: #1E8E4E;
  --shadow: 0 2px 10px rgba(4, 36, 90, 0.08);
  --font: "Lato", "Calibri", "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
  --grey: #797C7F;
  --display: "Montserrat", "Lato", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1A27; --surface: #142436; --surface-2: #112033; --tint: #1B3450;
    --ink: #DCE5EE; --heading: #F2F6FA; --muted: #9AAFC3; --line: #24394F;
    --accent: #78AEEA; --btn: #78AEEA; --btn-ink: #0E1A27; --amber: #F2A33A; --amber-ink: #04245A;
    --teal: #3CB8A5; --coral: #EE7A75; --wa: #2BA862; --shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1A27; --surface: #142436; --surface-2: #112033; --tint: #1B3450;
  --ink: #DCE5EE; --heading: #F2F6FA; --muted: #9AAFC3; --line: #24394F;
  --accent: #78AEEA; --btn: #78AEEA; --btn-ink: #0E1A27; --amber: #F2A33A; --amber-ink: #04245A;
  --teal: #3CB8A5; --coral: #EE7A75; --wa: #2BA862; --shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { color: var(--heading); line-height: 1.2; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem); font-weight: 900; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
section { scroll-margin-top: 76px; }
.band { padding-block: 80px; }
.band.tinted { background: var(--surface-2); }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.section-head { display: grid; gap: 10px; max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--muted); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: 700 0.98rem var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-outline { background: transparent; color: var(--heading); border-color: var(--line); }
.btn-wa { background: var(--wa); color: #FFFFFF; }
.btn svg { width: 18px; height: 18px; }

/* Header */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); min-width: 0; }
.mono { width: 40px; height: 40px; border-radius: 50%; background: var(--btn); color: var(--btn-ink); display: grid; place-items: center; font-weight: 900; font-size: 0.95rem; flex: none; }
.brand-name { font-weight: 900; font-size: 1.05rem; line-height: 1.1; }
.brand-sub { font-size: 0.78rem; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); }
.nav-links .btn { color: var(--btn-ink); padding: 10px 18px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; color: var(--heading); cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px)); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 4px; }
  .nav-links .btn { justify-content: center; margin-top: 6px; }
}

/* Hero */
.hero { background: var(--surface-2); padding-block: 64px 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.pill { justify-self: start; border: 1.5px solid var(--accent); color: var(--accent); background: var(--surface); border-radius: 999px; padding: 6px 14px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.5rem); font-weight: 900; }
.hero h1 span { color: var(--accent); }
.hero-lead { font-size: 1.15rem; color: var(--ink); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; justify-self: center; width: min(440px, 100%); aspect-ratio: 1; max-width: 100%; }
.hero-circle { position: absolute; inset: 0; border-radius: 50%; background: var(--tint); border: 8px solid var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.hero-circle img { width: 100%; height: 100%; object-fit: cover; }
.float-chip { position: absolute; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; box-shadow: var(--shadow); white-space: nowrap; }
.float-chip { transform: translate(-50%, -50%); }
.chip-a { top: 14.6%; left: 14.6%; background: var(--amber); color: var(--amber-ink); }
.chip-b { top: 14.6%; left: 85.4%; background: var(--btn); color: var(--btn-ink); }
.chip-c { top: 85.4%; left: 14.6%; background: var(--btn); color: var(--btn-ink); }
.chip-d { top: 85.4%; left: 85.4%; background: var(--amber); color: var(--amber-ink); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { width: min(320px, 82%); order: -1; }
}

.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.cred { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 4px; align-content: start; }
.cred strong { color: var(--heading); font-size: 1.05rem; }
.cred span { color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
@media (max-width: 860px) { .creds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .creds { grid-template-columns: 1fr; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); min-width: 0; }
.icon { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.icon svg { width: 26px; height: 26px; stroke: var(--btn-ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc p { color: var(--muted); font-size: 0.98rem; }
.svc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 0.95rem; }
.svc li { display: grid; grid-template-columns: 10px 1fr; gap: 10px; align-items: baseline; }
.svc li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); transform: translateY(-1px); }
.svc .ask { margin-top: auto; align-self: flex-start; background: none; border: none; padding: 6px 0 0; font: 700 0.95rem var(--font); color: var(--accent); cursor: pointer; }
.svc .ask:hover { text-decoration: underline; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.num { width: 48px; height: 48px; border-radius: 50%; background: var(--btn); color: var(--btn-ink); display: grid; place-items: center; font-weight: 900; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 0.97rem; margin-top: 4px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.about-copy { display: grid; gap: 18px; min-width: 0; }
.about-copy p { max-width: 62ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--tint); color: var(--heading); border-radius: 999px; padding: 5px 12px; font-size: 0.85rem; font-weight: 700; }
.skills { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 22px; min-width: 0; }
.skills h3 { margin-bottom: 10px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Learning */
.learn-top { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; max-width: 100%; }
.tab { flex: none; border: 1.5px solid var(--line); background: var(--surface); color: var(--heading); border-radius: 999px; padding: 9px 16px; font: 700 0.92rem var(--font); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.search { flex: 1 1 220px; max-width: 320px; }
.search input { width: 100%; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; font: 0.95rem var(--font); background: var(--surface); color: var(--ink); }
.folders { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.folder { display: inline-flex; gap: 8px; align-items: center; border: none; background: var(--tint); color: var(--heading); border-radius: 10px; padding: 8px 14px; font: 700 0.9rem var(--font); cursor: pointer; }
.folder svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.folder .count { font-weight: 400; color: var(--muted); }
.folder[aria-pressed="true"] { background: var(--amber); color: var(--amber-ink); }
.folder[aria-pressed="true"] .count { color: var(--amber-ink); }
.items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.item-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.8rem; color: var(--muted); }
.badge { border-radius: 6px; padding: 2px 8px; font-weight: 900; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: #FFFFFF; }
.badge.pdf { background: var(--coral); }
.badge.article { background: var(--accent); }
.badge.link { background: var(--teal); }
.badge.new { background: var(--amber); color: var(--amber-ink); }
.item h3 { font-size: 1.06rem; }
.item p { color: var(--muted); font-size: 0.95rem; }
.item-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: auto; }
.item-actions a, .item-actions button { font: 700 0.92rem var(--font); color: var(--accent); background: none; border: none; padding: 0; cursor: pointer; text-decoration: none; }
.item-actions a:hover, .item-actions button:hover { text-decoration: underline; }
.empty { grid-column: 1 / -1; border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 32px; text-align: center; color: var(--muted); }
@media (max-width: 760px) { .items { grid-template-columns: 1fr; } }

/* Reader */
.reader { position: fixed; inset: 0; z-index: 80; background: rgba(10, 22, 36, 0.55); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.reader-card { background: var(--surface); color: var(--ink); border-radius: 18px; width: min(760px, 100%); max-height: 100%; overflow-y: auto; padding: 32px; position: relative; }
.reader-card h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 8px 40px 18px 0; }
.reader-body { display: grid; gap: 14px; }
.reader-body h3 { margin-top: 10px; }
.reader-body ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--heading); font-size: 1.2rem; cursor: pointer; }

/* Booking */
.book { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.book-info { display: grid; gap: 20px; min-width: 0; }
.contact-list { display: grid; gap: 12px; }
.contact { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.contact .icon { width: 44px; height: 44px; }
.contact .icon svg { width: 20px; height: 20px; }
.contact small { display: block; color: var(--muted); font-size: 0.8rem; }
.contact a, .contact span.v { color: var(--heading); font-weight: 700; text-decoration: none; word-break: break-word; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.92rem; color: var(--heading); }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; font: 1rem var(--font); color: var(--ink); background: var(--bg); }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.field textarea { min-height: 130px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.status { border-radius: 10px; padding: 12px 14px; font-size: 0.95rem; }
.status.ok { background: color-mix(in srgb, var(--teal) 15%, transparent); color: var(--heading); border: 1px solid var(--teal); }
.status.err { background: color-mix(in srgb, var(--coral) 12%, transparent); color: var(--heading); border: 1px solid var(--coral); }
.fine { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 860px) { .book { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } .form-card { padding: 22px; } }

/* Footer */
footer { background: var(--surface-2); border-top: 1px solid var(--line); padding-block: 40px; font-size: 0.92rem; color: var(--muted); }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
.foot-col { display: grid; gap: 6px; align-content: start; min-width: 0; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: var(--ink); text-decoration: none; font-weight: 700; }

.wa-float { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; background: var(--wa); color: #FFFFFF; text-decoration: none; font-weight: 700; padding: 12px 18px; border-radius: 999px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); }
.wa-float svg { width: 20px; height: 20px; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* ---------- Shared additions ---------- */
.logo { width: 42px; height: 42px; flex: none; display: block; }
.np, :lang(ne) { font-family: "Mukta", "Noto Sans Devanagari", var(--font); }
.np-line { color: var(--muted); font-size: 1.05rem; font-weight: 600; }

/* Time-limited notice bar */
.notice-bar { background: var(--amber); color: var(--amber-ink); font-size: 0.95rem; }
.notice-bar .wrap { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: center; padding-block: 10px; text-align: center; }
.notice-bar a { color: var(--amber-ink); font-weight: 900; }

/* Service card links */
.svc-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding-top: 6px; }
.svc-links a { font-weight: 700; font-size: 0.95rem; color: var(--accent); text-decoration: none; }
.svc-links a:hover { text-decoration: underline; }
.svc-links .ask { margin-top: 0; padding: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 700; color: var(--heading); font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--heading); display: grid; place-items: center; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; background: var(--btn); color: var(--btn-ink); }
.faq .answer { padding: 0 22px 20px; color: var(--ink); display: grid; gap: 10px; }
.faq .answer p, .faq .answer li { font-size: 0.98rem; }
.faq .answer ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }

/* Inner pages */
.crumbs { font-size: 0.88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.page-hero { background: var(--surface-2); padding-block: 48px 56px; }
.page-hero .wrap { display: grid; gap: 16px; }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); font-weight: 900; max-width: 820px; }
.page-hero .lead { font-size: 1.12rem; max-width: 720px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.prose { display: grid; gap: 18px; min-width: 0; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); margin-top: 18px; }
.prose p, .prose li { max-width: 70ch; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.checklist li::before { content: "✓"; color: var(--teal); font-weight: 900; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.facts { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
table.facts th { background: var(--btn); color: var(--btn-ink); text-align: left; padding: 10px 14px; font-weight: 700; }
table.facts td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; font-variant-numeric: tabular-nums; }
table.facts tr:nth-child(even) td { background: var(--surface-2); }
.callout { background: var(--tint); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 6px; }
.callout.warn { background: color-mix(in srgb, var(--amber) 22%, var(--surface)); }
.callout strong { color: var(--heading); }
.side { position: sticky; top: 92px; display: grid; gap: 16px; }
.side .card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.side .card h3 { font-size: 1.2rem; }
.side .card p { color: var(--muted); font-size: 0.95rem; }
.side .btn { justify-content: center; }
.side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.side ul a { text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.side ul a[aria-current="page"] { color: var(--heading); }
.steps-list { counter-reset: st; list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.steps-list li { counter-increment: st; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps-list li::before { content: counter(st); width: 40px; height: 40px; border-radius: 50%; background: var(--btn); color: var(--btn-ink); display: grid; place-items: center; font-weight: 900; }
.cta-band { background: var(--btn); color: var(--btn-ink); border-radius: 18px; padding: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 12px; }
.cta-band h2 { color: var(--btn-ink); margin: 0; font-size: 1.4rem; }
.cta-band .btn-amber { color: var(--amber-ink); }
@media (max-width: 960px) { .page-grid { grid-template-columns: 1fr; } .side { position: static; } }

/* Article pages */
.article { max-width: 760px; display: grid; gap: 18px; }
.article .meta { color: var(--muted); font-size: 0.92rem; }
.article h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); font-weight: 900; }
.article h3 { font-size: 1.3rem; margin-top: 10px; }
.article ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }

/* Document viewer pages */
.doc-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; color: var(--muted); font-weight: 700; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.doc-viewer { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 16px; max-height: 85vh; overflow-y: auto; }
.pdf-page { width: 100%; max-width: 900px; margin: 0 auto; background: #FFFFFF; box-shadow: var(--shadow); }
.pdf-page canvas { width: 100%; height: auto; display: block; }
.doc-frame { width: 100%; height: 80vh; border: 0; background: #FFFFFF; }

/* ---------- BSR brand ---------- */
.logo-tile { width: 52px; height: 48px; border-radius: 10px; background: #FFFFFF; display: grid; place-items: center; flex: none; padding: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.logo-tile img { width: 44px; height: auto; }
.logo-tile.sm { width: 40px; height: 36px; border-radius: 8px; }
.logo-tile.sm img { width: 32px; }
.wordmark { display: grid; line-height: 1; padding-left: 12px; border-left: 1.5px solid var(--line); }
.wm-top { font-family: var(--display); font-weight: 800; font-size: 1.55rem; letter-spacing: 0.2em; color: var(--heading); }
.wm-sub { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.34em; color: var(--grey); margin-top: 3px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--heading); font-size: 1.05rem; margin-bottom: 4px; }
.foot .reg { font-size: 0.84rem; }
.tagline { justify-self: start; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; color: var(--grey); border-top: 2px solid var(--amber); padding-top: 10px; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.005em; }
.hero { background: linear-gradient(180deg, var(--tint) 0%, var(--surface-2) 70%); }
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 3vw, 3.6rem); line-height: 1.08; }
.page-hero h1, .article h1 { font-weight: 800; }
.section-head h2, .why-copy h2, .book-info h2 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.6rem); }
.est-title { font-family: var(--display); font-weight: 800; }
.eyebrow { font-family: var(--display); }
.btn { font-family: var(--display); font-weight: 700; font-size: 0.94rem; }

/* Service cards: two per row (10 services = 5 even rows), one per row on phones */
.services { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 680px) { .services { grid-template-columns: 1fr; } }

/* Fine estimator */
.card-lg { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 10px 30px rgba(4, 36, 90, 0.10); display: grid; gap: 16px; min-width: 0; scroll-margin-top: 90px; }
.est-title { font-size: 1.35rem; }
.est-sub { color: var(--muted); font-size: 0.95rem; margin-top: -8px; }
.est-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.est-fields label { display: grid; gap: 6px; font-weight: 700; font-size: 0.88rem; color: var(--heading); }
.est-fields select { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; font: 1rem var(--font); color: var(--ink); background: var(--bg); }
.est-result { background: var(--surface-2); border-radius: 14px; padding: 16px 18px; display: grid; gap: 2px; }
.est-label { font-size: 0.82rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.est-amount { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); font-weight: 900; color: var(--heading); font-variant-numeric: tabular-nums; }
.est-waiver { border-left: 4px solid var(--amber); padding: 6px 0 6px 12px; font-size: 0.95rem; }
.est-waiver strong { color: var(--heading); font-size: 1.1rem; }
.est-cta { justify-content: center; }
.est-note { font-size: 0.78rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 420px) { .est-fields { grid-template-columns: 1fr; } .card-lg { padding: 22px; } }

/* Trust strip */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 22px 20px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong { color: var(--heading); }
.trust-item span { color: var(--muted); font-size: 0.88rem; line-height: 1.4; }
@media (max-width: 860px) { .trust-row { grid-template-columns: 1fr 1fr; } .trust-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .trust-item:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 460px) { .trust-row { grid-template-columns: 1fr; } .trust-item:nth-child(2) { border-top: 1px solid var(--line); } }

.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .steps.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .steps.four { grid-template-columns: 1fr; } }

/* Why */
.why-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.why-copy { display: grid; gap: 16px; }
.why-copy p { color: var(--ink); max-width: 52ch; }
.why-points { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why-pt { display: grid; grid-template-columns: 52px 1fr; gap: 14px; }
.why-pt p { color: var(--muted); font-size: 0.96rem; margin-top: 4px; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why-points { grid-template-columns: 1fr; } }
.icon { background: var(--btn); }
.svc .icon { background: var(--tint); }
.svc .icon svg { stroke: var(--heading); }

.trust-item strong { font-family: var(--display); font-weight: 800; }
.trust-item { border-left-color: var(--line); }
.trust-item:first-child strong, .trust-item strong { color: var(--heading); }
.trust-item strong::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--amber); border-radius: 50%; margin-right: 8px; }

/* Service picked from a card or the estimator */
.svc-note { background: var(--tint); color: var(--heading); border-radius: 10px; padding: 8px 12px; font-size: 0.92rem; display: flex; align-items: center; gap: 8px; margin-top: -6px; }
.svc-note[hidden] { display: none; }
.svc-note button { margin-left: auto; border: none; background: none; font-size: 1.2rem; line-height: 1; cursor: pointer; color: var(--muted); }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--amber); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); min-width: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 0.85rem; color: var(--muted); }
.post-cat { background: var(--btn); color: var(--btn-ink); border-radius: 6px; padding: 2px 10px; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.post h3 { font-size: 1.2rem; }
.post h3 a { color: var(--heading); text-decoration: none; }
.post h3 a:hover { color: var(--accent); }
.post p { color: var(--muted); font-size: 0.97rem; }
.post-more { margin-top: auto; font-weight: 700; text-decoration: none; }
.post.featured { grid-column: 1 / -1; background: var(--btn); border-top-color: var(--amber); }
.post.featured h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.post.featured h3 a, .post.featured p, .post.featured .post-meta, .post.featured .post-more { color: var(--btn-ink); }
.post.featured .post-cat { background: var(--amber); color: var(--amber-ink); }
.post .empty, .posts .empty { grid-column: 1 / -1; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }

/* Amber highlight box under the headline (rounded to match the cards) */
.hl-box { justify-self: start; background: var(--amber); color: var(--amber-ink); font-family: var(--display); font-weight: 800; font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.4rem); letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 22px; border-radius: 999px; margin-top: -8px; }
.page-hero .hl-box { margin-top: 0; }

/* Salary tax calculator */
.st-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.st-form { gap: 18px; }
.st-h { font-size: 1.05rem; }
.st-row3 { display: grid; grid-template-columns: 1.4fr 0.6fr 1.4fr; gap: 14px; }
.st-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.st-field { display: grid; gap: 6px; align-content: start; font-weight: 700; font-size: 0.88rem; color: var(--heading); }
.st-field input, .st-field select { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; font: 1rem var(--font); color: var(--ink); background: var(--bg); font-variant-numeric: tabular-nums; }
.st-field input:focus, .st-field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.st-field small { font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.st-checks { display: grid; gap: 10px; }
.st-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; cursor: pointer; }
.st-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--btn); flex: none; }
.st-check small { color: var(--muted); }
.st-result { position: sticky; top: 92px; gap: 14px; }
.st-amounts { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: flex-end; }
.st-amounts > div { display: grid; }
.st-amounts small { color: var(--muted); font-size: 0.85rem; }
.st-month { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.st-lines { margin: 0; display: grid; border-top: 1px solid var(--line); }
.st-lines > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.st-lines dt { color: var(--muted); }
.st-lines dd { margin: 0; font-weight: 700; color: var(--heading); font-variant-numeric: tabular-nums; text-align: right; }
.st-lines .tot dt { color: var(--heading); font-weight: 700; }
.st-break summary { cursor: pointer; font-weight: 700; color: var(--accent); font-size: 0.95rem; }
.st-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; margin-top: 10px; font-variant-numeric: tabular-nums; }
.st-table th { text-align: left; color: var(--muted); font-weight: 700; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.st-table td { padding: 6px 4px; border-bottom: 1px solid var(--line); }
.st-table td:last-child, .st-table th:last-child, .st-table td:nth-child(3), .st-table th:nth-child(3) { text-align: right; }
.st-table .tot td { font-weight: 900; color: var(--heading); border-bottom: 0; }
.st-result .btn { justify-content: center; }
@media (max-width: 960px) { .st-grid { grid-template-columns: 1fr; } .st-result { position: static; } }
@media (max-width: 560px) { .st-row3, .st-row2 { grid-template-columns: 1fr; } }

/* Collapse the menu a little earlier now there are more links */
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px)); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 4px; }
  .nav-links .btn { justify-content: center; margin-top: 6px; }
}

/* Salary calculator: year and assessment toggles */
.st-top { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.st-group { display: grid; gap: 6px; }
.st-group[hidden] { display: none; }
.st-glabel { font-weight: 700; font-size: 0.88rem; color: var(--heading); }
.st-seg { display: inline-flex; background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.st-seg button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font: 700 0.92rem var(--display); color: var(--heading); cursor: pointer; }
.st-seg button[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); }
.st-fynote { font-size: 0.88rem; color: var(--muted); margin-top: -6px; }
.st-field[hidden], .st-lines > div[hidden] { display: none; }
.st-check input:disabled + span { color: var(--muted); }
.st-warn { font-size: 0.85rem; background: color-mix(in srgb, var(--amber) 18%, var(--surface)); border-radius: 10px; padding: 8px 12px; }
.st-table .sub td { font-weight: 700; color: var(--heading); }
.prose h3 { margin-top: 6px; }
@media (max-width: 1200px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px)); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 4px; }
  .nav-links .btn { justify-content: center; margin-top: 6px; }
}

/* Careers */
.field select { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; font: 1rem var(--font); color: var(--ink); background: var(--bg); }
.field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.copy-btn { margin-left: 8px; border: 1.5px solid var(--line); background: var(--surface); color: var(--heading); border-radius: 999px; padding: 3px 12px; font: 700 0.8rem var(--display); cursor: pointer; vertical-align: middle; }
.copy-btn:hover { border-color: var(--accent); }

/* Calmer top of page: soft neutral hero, no orange rule */
.hero { background: var(--surface-2); }
.tagline { border-top: 0; padding-top: 0; }
.hero-lead { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }

/* Social links */
.social { display: flex; gap: 8px; margin-top: 4px; }
.social a { width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--heading); display: grid; place-items: center; }
.social a:hover { background: var(--btn); color: var(--btn-ink); }
.social svg { width: 18px; height: 18px; }
.follow { display: flex; align-items: center; gap: 12px; }
.follow small { color: var(--muted); font-size: 0.8rem; }

/* Nepali keyword line under page headings */
.page-hero .np-line { font-family: "Mukta", "Noto Sans Devanagari", var(--font); color: var(--muted); font-size: 1.1rem; font-weight: 600; margin-top: -6px; }

/* Nepali paragraph (OCR waiver page) */
.np-block { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 10px; margin-top: 12px; font-family: "Mukta", "Noto Sans Devanagari", var(--font); }
.np-block h2 { font-family: "Mukta", "Noto Sans Devanagari", var(--display); font-weight: 700; margin-top: 0 !important; letter-spacing: 0; }
.np-block p { font-size: 1.05rem; line-height: 1.7; }
.np-tag { justify-self: start; background: var(--btn); color: var(--btn-ink); border-radius: 999px; padding: 2px 12px; font-size: 0.85rem; font-weight: 600; }

/* Blog article pages */
.article h2 { font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.7rem); margin-top: 16px; }
.article ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.article p, .article li { max-width: 72ch; }
.article .table-wrap { margin: 2px 0; }
.article .callout { margin: 6px 0; }

/* Newsletter (blog page) */
.nl-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.nl-copy { display: grid; gap: 16px; min-width: 0; }
.nl-copy h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.4rem); }
.nl-points { margin: 0; display: grid; gap: 8px; }
.nl-h { margin-top: 8px; }
.nl-archive ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.nl-archive li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nl-archive li a { font-weight: 700; text-decoration: none; }
.nl-archive li span { color: var(--muted); font-size: 0.88rem; white-space: nowrap; }
.nl-empty { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .nl-grid { grid-template-columns: 1fr; } }
