/* =====================================================================
   BoringHero Design System v8.0 — Professional Indian Utility Suite
   Palette:
     - Saffron: #FF671F (Indian Flag Kesariya — primary CTA only)
     - White:   #FFFFFF / #F8FAFC (Clean paper surfaces)
     - Green:   #046A38 (Indian Flag Emerald — live status, trust)
     - Navy:    #06038D / #0F172A (Ashoka Chakra — dominant text & UI)
   Typography: Clean System Font Stack + Devanagari Native Stack
   Layout: Two-column hero, 4-column card grid, full institutional footer
   ===================================================================== */

:root {
  color-scheme: light;

  /* Official & High-Contrast Tiranga Colors */
  /* Official & Prestigious Tiranga Flag Colors */
  --saffron: #FF671F;
  --saffron-dark: #B83F00;  /* WCAG AA 5.28:1 on light */
  --saffron-soft: #FFF7ED;
  --saffron-border: #FFEDD5;

  --green: #046A38;
  --green-dark: #024021;
  --green-soft: #F0FDF4;
  --green-border: #DCFCE7;

  --navy: #06038D;          /* Official Ashoka Chakra Royal Blue */
  --navy-dark: #03014A;
  --navy-slate: #0A1931;    /* Deep Ashoka Navy (replaces harsh jet black) */
  --navy-soft: #EEF2FF;
  --navy-border: #E0E7FF;

  /* Neutral Paper Surfaces */
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-alt: #F1F5F9;
  --surface-hover: #E2E8F0;

  /* Elevated Typography (Gentle on Typists' Eyes, Zero Harsh Black) */
  --ink: #0A1931;          /* Deep Ashoka Navy for headings & brand */
  --ink-body: #334155;     /* Soft warm slate for reading paragraphs */
  --muted: #475569;        /* WCAG AA 6.92:1 high-contrast readable slate */
  --muted-light: #64748B;

  /* Borders & Dividers */
  --line: #E2E8F0;
  --line-strong: #CBD5E1;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 9999px;

  /* Fonts */
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-hi: "Noto Sans Devanagari", "Nirmala UI", Mangal, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Container Widths */
  --max-w: 1200px;
  --max-w-text: 740px;
  --header-h: 58px;
}

/* Open-Source SIL OFL 1.1 Remington Hindi Fallback Font (Derived from Hind by Indian Type Foundry) */
@font-face {
  font-family: "BH Remington Hindi";
  src: url("/assets/fonts/BHRemingtonHindi.woff") format("woff"),
       url("/assets/fonts/BHRemingtonHindi.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink-body);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0 0 0.85rem;
}

a {
  color: var(--navy-slate);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--saffron-dark);
}

button, select, input, textarea {
  font: inherit;
  color: inherit;
}

[lang="hi"], [lang^="hi-"] {
  font-family: var(--font-hi);
}

:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
}

.bh-wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Accessibility Skip Link */
.bh-skip {
  position: absolute;
  top: -999px;
  left: 16px;
  background: var(--navy-slate);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-size: 13px;
  font-weight: 600;
}

.bh-skip:focus {
  top: 10px;
}

/* =====================================================================
   TOP RIBBON — Authentic Indian Tricolour (Saffron · White · Green)
   ===================================================================== */
.bh-top-ribbon {
  height: 5px;
  width: 100%;
  display: flex;
}
.bh-top-ribbon .ribbon-saffron { flex: 1; background: #FF671F; }
.bh-top-ribbon .ribbon-white   { width: 56px; background: #FFFFFF; position: relative; display: flex; align-items: center; justify-content: center; }
.bh-top-ribbon .ribbon-white::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #06038D; }
.bh-top-ribbon .ribbon-green  { flex: 1; background: #046A38; }

/* =====================================================================
   HEADER — Sticky white bar with logo, nav, CTA, mobile toggle
   ===================================================================== */
.bh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

.bh-header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Logo */
.bh-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
  color: var(--navy-slate);
  flex-shrink: 0;
}
.bh-logo-icon { width: 36px; height: 36px; display: grid; place-items: center; flex: none; }
.bh-logo-text { display: inline-flex; align-items: baseline; }
.bh-logo-text .logo-boring { color: var(--navy-slate); font-weight: 700; }
.bh-logo-text .logo-hero   { color: var(--saffron); font-weight: 800; }

/* Desktop Nav */
.bh-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.bh-nav a:not(.bh-nav-cta) {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-body);
  border-radius: var(--radius-sm);
  transition: all 0.12s ease;
}
.bh-nav a:not(.bh-nav-cta):hover {
  background: var(--surface-alt);
  color: var(--ink);
}
.bh-nav a[aria-current="page"] {
  background: transparent;
  color: var(--navy);
  font-weight: 700;
  border-bottom: 2px solid var(--saffron);
  border-radius: 0;
}

.bh-nav a.bh-nav-cta,
.bh-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 8px 18px;
  background: #FF671F !important;
  color: #FFFFFF !important;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid #D94E07;
  box-shadow: 0 2px 6px rgba(255, 103, 31, 0.25);
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.16s ease, box-shadow 0.16s ease;
}
.bh-nav a.bh-nav-cta:hover,
.bh-nav-cta:hover {
  background: #D94E07 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 78, 7, 0.45);
}
.bh-nav a.bh-nav-cta:active,
.bh-nav-cta:active {
  transform: translateY(0);
  background: #C2410C !important;
  box-shadow: 0 2px 4px rgba(194, 65, 12, 0.3);
}

/* Mobile Toggle */
.bh-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.12s;
}
.bh-mobile-toggle:hover { background: var(--surface-alt); }

/* Mobile Dropdown */
.bh-mobile-menu {
  background: #FFFFFF;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0 14px;
}
.bh-mobile-menu .bh-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bh-mobile-menu a {
  display: block;
  padding: 9px 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-body);
  border-radius: var(--radius-sm);
  transition: background 0.1s;
}
.bh-mobile-menu a:hover { background: var(--surface-alt); }
.bh-mobile-cta {
  margin-top: 6px;
  padding: 10px 10px !important;
  background: var(--saffron) !important;
  color: #FFFFFF !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  text-align: center;
}

/* =====================================================================
   HERO — Two-column layout: left=content, right=showcase card
   ===================================================================== */
.bh-hero {
  position: relative;
  padding: 54px 0 48px;
  overflow: hidden;
}

/* Soft background wash — only behind hero */
.bh-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% -10%, rgba(255,103,31,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(4,106,56,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bh-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}

.bh-hero-content {
  min-width: 0;
}

/* Eyebrow label */
.bh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  background: var(--saffron-soft);
  border: 1px solid var(--saffron-border);
  border-radius: var(--radius-pill);
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--saffron-dark);
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--saffron);
  flex: none;
  animation: pulseGlow 2s ease-in-out infinite;
}
.eyebrow-sep { opacity: 0.5; }

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,103,31,0.4); }
  50%       { box-shadow: 0 0 0 5px rgba(255,103,31,0); }
}

/* Hero Headline */
.bh-hero-h1 {
  font-size: clamp(2.1rem, 1.2rem + 2.4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--navy-slate);
  margin-bottom: 14px;
}
.h1-accent {
  color: var(--saffron);
  position: relative;
}

/* Hindi tagline */
.bh-hero-hi {
  font-family: var(--font-hi);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.55;
  margin-bottom: 14px;
  padding: 10px 16px;
  background: var(--green-soft);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* English description */
.bh-hero-desc {
  font-size: 0.98rem;
  color: var(--ink-body);
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 56ch;
}

/* Trust chips row */
.bh-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.785rem;
  font-weight: 600;
  color: var(--ink-body);
  box-shadow: var(--shadow-xs);
}
.trust-chip svg {
  width: 13px; height: 13px;
  color: var(--green);
  flex: none;
}

/* CTA Buttons */
.bh-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bh-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #FF671F !important;
  color: #FFFFFF !important;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 1px solid #D94E07;
  box-shadow: 0 2px 6px rgba(255, 103, 31, 0.25);
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}
.bh-btn-primary:hover {
  background: #D94E07 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 78, 7, 0.4);
}
.bh-btn-primary:active {
  transform: translateY(0);
  background: #C2410C !important;
  box-shadow: 0 2px 4px rgba(194, 65, 12, 0.25);
}

.bh-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  background: #FFFFFF;
  color: var(--navy-slate);
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.bh-btn-ghost:hover {
  background: #F8FAFC;
  color: var(--navy);
  border-color: var(--navy);
}
.bh-btn-ghost:active {
  background: var(--surface-alt);
}

/* ===== Hero Showcase Card (right column) ===== */
.bh-hero-card-wrap { position: relative; }

.bh-hero-showcase-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

/* Saffron top bar on the showcase card */
.bh-hero-showcase-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron) 0%, #FFFFFF 50%, var(--green) 100%);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.showcase-live-bar {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  padding: 4px 10px;
  background: var(--green-soft);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-pill);
}

.live-pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
  animation: pulseGlow 1.8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(4,106,56,0.4); }
  50%       { box-shadow: 0 0 0 5px rgba(4,106,56,0); }
}

.showcase-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy-slate);
  line-height: 1.2;
  margin-bottom: 6px;
}
.showcase-title span { color: var(--saffron); }

.showcase-hi {
  font-family: var(--font-hi);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 20px;
  display: block;
}

.showcase-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 9px;
}
.showcase-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-slate);
}
.showcase-features li svg {
  width: 15px; height: 15px;
  color: var(--green);
  flex: none;
}

.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.showcase-tags span,
.showcase-tags a {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--navy-soft);
  border: 1px solid var(--navy-border);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: all 0.14s ease;
}
.showcase-tags a:hover {
  background: var(--navy);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.showcase-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 20px;
  background: var(--navy);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.885rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--navy-dark);
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  box-shadow: 0 2px 6px rgba(6, 3, 141, 0.2);
}
.showcase-cta:hover {
  background: var(--saffron);
  border-color: var(--saffron-dark);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 103, 31, 0.35);
}
.showcase-cta:active {
  transform: translateY(0);
  background: var(--saffron-dark);
  box-shadow: 0 2px 4px rgba(255, 103, 31, 0.2);
}

/* =====================================================================
   TOOLS DIRECTORY SECTION
   Fixed 4-column grid, clean cards, solid borders for upcoming
   ===================================================================== */
.bh-tools-section {
  padding: 60px 0 48px;
  background: var(--bg);
}

/* Section label (centred pill with lines) */
.bh-sec-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--saffron-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sec-label-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--saffron-border), transparent);
  max-width: 80px;
}

.bh-sec-title {
  text-align: center;
  font-size: clamp(1.4rem, 1rem + 1vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy-slate);
  margin-bottom: 8px;
}

.bh-sec-sub {
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* 3-column grid for live tools */
.bh-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* Individual Tool Card (Anchor tag for full card clickability) */
a.bh-tool-card,
.bh-tool-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  text-align: left;
  height: 100%;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
}

a.bh-tool-card:hover,
.bh-tool-card:hover {
  text-decoration: none !important;
  border-color: var(--line-strong);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
}

/* Live card: green top accent */
a.bh-tool-card.is-live,
.bh-tool-card.is-live {
  border-top: 3px solid var(--green);
}
a.bh-tool-card.is-live:hover,
.bh-tool-card.is-live:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: 0 10px 26px rgba(4, 106, 56, 0.16);
}

/* Upcoming cards: solid light border with lock glyph overlay */
.bh-tool-card.is-upcoming {
  cursor: pointer;
  border-color: var(--line);
  background: #FCFCFD;
}
.bh-tool-card.is-upcoming:hover {
  border-color: var(--navy);
  background: #FAFBFF;
  box-shadow: 0 4px 14px rgba(6, 3, 141, 0.1);
}

.bh-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

/* Coloured icon squares */
.bh-card-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  flex: none;
}
.bh-card-icon.color-saffron { background: var(--saffron-soft); color: var(--saffron); }
.bh-card-icon.color-green   { background: var(--green-soft);   color: var(--green);   }
.bh-card-icon.color-navy    { background: var(--navy-soft);    color: var(--navy);    }
.bh-card-icon svg { width: 20px; height: 20px; }

/* Phase/status badges */
.bh-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.badge-live  { background: var(--green-soft); color: var(--green-dark); border: 1px solid var(--green-border); }
.badge-soon  { background: var(--saffron-soft); color: var(--saffron-dark); border: 1px solid var(--saffron-border); }
.badge-road  { background: var(--surface-alt); color: var(--muted); border: 1px solid var(--line); }
.badge-pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; animation: pulseGlow 1.8s ease-in-out infinite; }

.bh-card-body { flex: 1; }

.bh-card-body h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy-slate);
  margin-bottom: 4px;
  line-height: 1.3;
}

.bh-card-hi {
  font-family: var(--font-hi);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--saffron);
  margin-bottom: 8px;
  display: block;
}

.bh-card-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.bh-card-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bh-tag-pill {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-body);
  background: var(--surface-alt);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

.bh-card-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: gap 0.1s ease, color 0.1s ease;
  white-space: nowrap;
}
.bh-tool-card:hover .bh-card-link,
a.bh-tool-card:hover .bh-card-link { gap: 6px; color: var(--saffron-dark); }

/* =====================================================================
   WHY BORINGHERO SECTION
   ===================================================================== */
.bh-why-section {
  padding: 56px 0 48px;
  background: #FFFFFF;
  border-top: 1px solid var(--line);
}

.bh-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bh-why-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.bh-why-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.bh-why-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.wicon-green  { background: var(--green-soft);   color: var(--green);   }
.wicon-saffron{ background: var(--saffron-soft); color: var(--saffron); }
.wicon-navy   { background: var(--navy-soft);    color: var(--navy);    }
.bh-why-icon svg { width: 24px; height: 24px; }

.bh-why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-slate);
  margin-bottom: 10px;
}
.bh-why-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* =====================================================================
   HOW IT WORKS — 3-step horizontal layout
   ===================================================================== */
.bh-steps-section {
  padding: 56px 0 48px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.bh-steps-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.bh-step-item {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 20px 24px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-xs);
}

.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 800;
  flex: none;
}

.step-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-slate);
  margin-bottom: 5px;
}
.step-body p {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.bh-step-connector {
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 1.3rem;
  color: var(--saffron);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 20px;
}

/* =====================================================================
   FEEDBACK BANNER — Light Indian Flag Styled Institutional Card
   ===================================================================== */
.bh-feedback-section {
  padding: 20px 0 56px;
  background: var(--bg);
}

.bh-feedback-banner {
  background: #FFFFFF;
  border: 1.5px solid var(--navy-border);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.bh-feedback-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF671F 0%, #FF671F 33.3%, #06038D 33.3%, #06038D 66.6%, #046A38 66.6%, #046A38 100%);
}

.feedback-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  background: var(--navy-soft);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--navy);
  border: 1px solid var(--navy-border);
}
.feedback-icon-wrap svg { width: 24px; height: 24px; }

.feedback-content { flex: 1; }

.bh-feedback-banner h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.bh-feedback-banner p {
  font-size: 0.875rem;
  color: var(--ink-body);
  margin: 0;
  line-height: 1.5;
}

.bh-feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: #FF671F !important;
  color: #FFFFFF !important;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid #D94E07;
  white-space: nowrap;
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.16s ease, box-shadow 0.16s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255,103,31,0.3);
}
.bh-feedback-btn:hover {
  background: #D94E07 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 78, 7, 0.45);
}
.bh-feedback-btn:active {
  transform: translateY(0);
  background: #C2410C !important;
}

/* =====================================================================
   FOOTER — Clean Light Institutional Indian Suite Footer (No Dark / Black)
   ===================================================================== */
.bh-footer {
  margin-top: auto;
  background: #FFFFFF;
  color: var(--muted);
  font-size: 0.84rem;
  border-top: 1px solid var(--line);
  position: relative;
}

/* Elegant 3-color Tiranga Accent Ribbon along footer top edge */
.bh-footer::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF671F 0%, #FF671F 33.3%, #06038D 33.3%, #06038D 66.6%, #046A38 66.6%, #046A38 100%);
}

.bh-footer-main {
  padding: 48px 0 36px;
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.1fr 1.5fr;
  gap: 40px;
}

/* Footer brand column */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  text-decoration: none;
}
.footer-logo-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--saffron);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  letter-spacing: -0.02em;
}
.footer-logo strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.bh-footer-brand h4 {
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 8px;
}

.bh-footer-brand p {
  color: var(--ink-body);
  font-size: 0.84rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.bh-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-body);
}
.bh-footer-badge svg { width: 13px; height: 13px; color: var(--green); flex: none; }

/* Footer columns */
.bh-footer-col h5 {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.bh-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
.bh-footer-links a {
  color: var(--muted);
  font-size: 0.84rem;
  text-decoration: none;
  transition: color 0.12s ease, font-weight 0.12s ease;
}
.bh-footer-links a:hover {
  color: var(--saffron-dark);
  font-weight: 600;
}

/* Support column */
.bh-footer-col p {
  color: var(--ink-body);
  font-size: 0.83rem;
  line-height: 1.6;
  margin-bottom: 10px;
}
.footer-email-link {
  display: inline-block;
  color: var(--saffron-dark) !important;
  font-weight: 700;
  font-size: 0.875rem;
  word-break: break-all;
  text-decoration: none;
  transition: opacity 0.12s;
}
.footer-email-link:hover { opacity: 0.8; }
.footer-made-in {
  font-family: var(--font-hi);
  font-size: 0.84rem;
  color: var(--muted-light) !important;
  margin-top: 10px !important;
}

/* Footer bottom bar */
.bh-footer-bottom {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  background: #F8FAFC;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted-light);
}
.bh-footer-bottom p { margin: 0; }

/* =====================================================================
   POST-ACTION TASK NAVIGATION (Workflow Continuity)
   Shown when an operation completes: Start New Task, Explore, Return Home
   ===================================================================== */
.bh-post-actions {
  margin-top: 24px;
  animation: bhFadeInUp 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.bh-post-actions-card {
  background: #FFFFFF;
  border: 1.5px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bh-post-actions-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF671F 0%, #FF671F 33.3%, #06038D 33.3%, #06038D 66.6%, #046A38 66.6%, #046A38 100%);
}

.bh-post-actions-header {
  margin-bottom: 16px;
}

.bh-post-actions-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-soft);
  color: var(--green-dark);
  border: 1px solid var(--green-border);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.bh-post-actions-header h4 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.bh-post-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.bh-btn-action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.35;
  cursor: pointer;
  transition: all 0.16s ease;
}

.bh-btn-action small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}

.bh-btn-action:hover {
  background: #FFFFFF;
  border-color: var(--saffron);
  box-shadow: 0 4px 12px rgba(255, 103, 31, 0.15);
  transform: translateY(-2px);
  color: var(--saffron-dark);
}

.bh-btn-action svg {
  width: 22px;
  height: 22px;
  margin-bottom: 6px;
  color: var(--navy);
  transition: transform 0.2s ease, color 0.16s ease;
}

.bh-btn-action:hover svg {
  color: var(--saffron);
  transform: scale(1.1);
}

.bh-btn-action--primary {
  background: var(--saffron-soft);
  border-color: var(--saffron-border);
  color: var(--saffron-dark);
}
.bh-btn-action--primary svg { color: var(--saffron); }

@keyframes bhFadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}


/* =====================================================================
   COMING SOON MODAL
   ===================================================================== */
.bh-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(5px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.bh-modal-overlay.open { display: flex; }

.bh-modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 24px 60px -10px rgba(15,23,42,0.3);
  position: relative;
  animation: modalIn 0.22s cubic-bezier(0.16,1,0.3,1);
}

@keyframes modalIn {
  from { transform: scale(0.93); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.bh-modal-close-btn {
  position: absolute;
  top: 14px; right: 16px;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border: 0;
  background: var(--surface-alt);
  cursor: pointer;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: all 0.1s;
}
.bh-modal-close-btn:hover { color: var(--ink); background: var(--surface-hover); }

.bh-modal-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  background: var(--navy-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.bh-modal-icon-wrap svg { width: 26px; height: 26px; }

.bh-modal-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--saffron-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--saffron-soft);
  border: 1px solid var(--saffron-border);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.bh-modal-box h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-slate);
  margin-bottom: 8px;
  line-height: 1.25;
}

.bh-modal-box p {
  font-size: 0.9rem;
  color: var(--ink-body);
  line-height: 1.6;
  margin-bottom: 18px;
}

.bh-modal-specs {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 20px;
  list-style: none;
  font-size: 0.82rem;
  color: var(--ink-body);
  display: grid;
  gap: 7px;
}
.bh-modal-specs li { display: flex; align-items: center; gap: 7px; }
.bh-modal-specs li svg { width: 14px; height: 14px; color: var(--green); flex: none; }

.bh-modal-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bh-modal-btn-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 18px;
  background: var(--saffron);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  border: 0;
  cursor: pointer;
  transition: background 0.12s;
}
.bh-modal-btn-primary:hover { background: var(--saffron-dark); }

.bh-modal-btn-secondary {
  padding: 11px 18px;
  background: transparent;
  color: var(--ink-body);
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.1s;
}
.bh-modal-btn-secondary:hover { background: var(--surface-alt); }

/* Form Elements for Feedback Modal & Contact Page */
.bh-form-group {
  margin-bottom: 12px;
  text-align: left;
}
.bh-form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-slate);
  margin-bottom: 4px;
}
.bh-form-control {
  width: 100%;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-family: inherit;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
  box-sizing: border-box;
}
.bh-form-control:focus {
  border-color: #FF671F;
  box-shadow: 0 0 0 3px rgba(255, 103, 31, 0.18);
}
textarea.bh-form-control {
  resize: vertical;
  min-height: 80px;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .bh-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .bh-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .bh-hero { padding: 40px 0 36px; }
  .bh-hero-card-wrap { max-width: 540px; }
  .bh-hero-desc { max-width: 100%; }
  .bh-why-grid { grid-template-columns: 1fr 1fr; }
  .bh-steps-grid { flex-direction: column; gap: 12px; }
  .bh-step-connector { display: none; }
  .bh-footer-main { grid-template-columns: 1fr 1fr; }
  .bh-feedback-banner { padding: 24px; }
}

@media (max-width: 640px) {
  .bh-wrap { padding-left: 14px; padding-right: 14px; }
  .bh-nav { display: none; }
  .bh-mobile-toggle { display: flex; }
  .bh-cards-grid { grid-template-columns: 1fr; }
  .bh-why-grid { grid-template-columns: 1fr; }
  .bh-footer-main { grid-template-columns: 1fr; gap: 28px; }
  .bh-feedback-banner { flex-direction: column; align-items: flex-start; }
  .bh-feedback-btn { width: 100%; justify-content: center; }
  .bh-hero-actions { flex-direction: column; align-items: stretch; }
  .bh-btn-primary, .bh-btn-ghost { justify-content: center; }
  .bh-hero-h1 { font-size: 2rem; }
}


/* =====================================================================
   SHARED TOOL PAGE & CONTENT COMPONENTS
   Tool subheaders, feature cards, FAQ accordions & limit checklists
   ===================================================================== */

/* Tool Sub-Header Bar */
.bh-tool-header {
  padding: 14px 0 10px;
  background: transparent;
}

.bh-tool-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.bh-tool-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bh-tool-title-group h1 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy-slate);
}

.bh-tool-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--saffron-soft);
  color: var(--saffron-dark);
  border: 1px solid var(--saffron-border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
}

.bh-tool-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bh-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-body);
  box-shadow: var(--shadow-xs);
}

.bh-pill svg {
  width: 13px;
  height: 13px;
  color: var(--green);
  flex: none;
}

/* Generic Content Section */
.bh-section {
  padding: 36px 0 20px;
  border-top: 1px solid var(--line);
}

.bh-section h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-slate);
  margin-bottom: 4px;
}

.bh-lead {
  font-size: 0.925rem;
  color: var(--muted);
  margin-bottom: 18px;
}

/* 4-Column Feature Cards Grid */
.bh-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.bh-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.bh-card:hover {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  border-color: var(--line-strong);
}

.bh-ico {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: var(--saffron-soft);
  color: var(--saffron);
}

.bh-ico.is-accent {
  background: var(--navy-soft);
  color: var(--navy);
}

.bh-ico.is-ok {
  background: var(--green-soft);
  color: var(--green);
}

.bh-ico svg {
  width: 20px;
  height: 20px;
}

.bh-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy-slate);
  margin-bottom: 6px;
}

.bh-card p {
  font-size: 0.835rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* FAQ Accordion */
.bh-faq {
  max-width: 860px;
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.bh-faq details {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bh-faq details:hover {
  border-color: var(--line-strong);
}

.bh-faq details[open] {
  border-color: var(--navy);
  box-shadow: var(--shadow-xs);
}

.bh-faq summary {
  padding: 13px 20px;
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--navy-slate);
  cursor: pointer;
  position: relative;
  list-style: none;
  user-select: none;
}

.bh-faq summary::-webkit-details-marker {
  display: none;
}

.bh-faq summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.18s ease;
}

.bh-faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--navy);
}

.bh-faq details p {
  padding: 0 20px 16px;
  margin: 0;
  color: var(--ink-body);
  font-size: 0.885rem;
  line-height: 1.6;
}

/* Limitations List */
.bh-limits {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
  max-width: 860px;
}

.bh-limits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.865rem;
  color: var(--ink-body);
  line-height: 1.55;
  box-shadow: var(--shadow-xs);
}

.bh-limits svg {
  width: 16px;
  height: 16px;
  color: var(--saffron-dark);
  flex: none;
  margin-top: 3px;
}

/* Toast Notification (Copy to Word, Clear) */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy-slate);
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (max-width: 960px) {
  .bh-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bh-cards {
    grid-template-columns: 1fr;
  }
  .bh-tool-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}


/* =====================================================================
   INSTITUTIONAL PROSE PAGES (About, Contact, Privacy, Terms, Disclaimer)
   Clean, centered typography optimized for reading comfort and legal trust
   ===================================================================== */

.bh-page-head {
  padding: 36px 0 20px;
  background: transparent;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.bh-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
}
.bh-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.12s ease;
}
.bh-breadcrumb a:hover {
  color: var(--navy);
  text-decoration: underline;
}
.bh-breadcrumb span {
  color: var(--line-strong);
}

.bh-page-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.bh-page-badge.badge-saffron {
  background: var(--saffron-soft);
  color: var(--saffron-dark);
  border: 1px solid var(--saffron-border);
}
.bh-page-badge.badge-green {
  background: var(--green-soft);
  color: var(--green-dark);
  border: 1px solid var(--green-border);
}
.bh-page-badge.badge-navy {
  background: var(--navy-soft);
  color: var(--navy);
  border: 1px solid var(--navy-border);
}

.bh-page-head h1 {
  font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy-slate);
  margin: 0 0 6px;
}

.bh-page-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 12px;
  max-width: 720px;
}

.bh-page-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.bh-page-meta svg {
  width: 14px;
  height: 14px;
  flex: none;
}

/* Quick Summary & Key Highlights Card */
.bh-summary-card {
  background: #F8FAFC;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--saffron);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-xs);
}
.bh-summary-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-slate);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bh-summary-card p {
  font-size: 0.875rem;
  color: var(--ink-body);
  line-height: 1.6;
  margin: 0 0 10px;
}
.bh-summary-card p:last-child {
  margin-bottom: 0;
}
.bh-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.bh-summary-item {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-slate);
}
.bh-summary-item svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex: none;
  margin-top: 1px;
}

/* Table of Contents Jump Links */
.bh-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 12px 16px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.bh-toc span {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
}
.bh-toc a {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 3px 11px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-slate);
  text-decoration: none !important;
  transition: all 0.14s ease;
}
.bh-toc a:hover {
  background: var(--navy);
  color: #FFFFFF !important;
  border-color: var(--navy);
  transform: translateY(-1px);
}

/* Institutional Callout & Card Blocks */
.bh-card-block {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0;
  box-shadow: var(--shadow-xs);
}
.bh-card-block h3 {
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-slate);
}

.bh-prose {
  width: 100%;
  max-width: var(--max-w-text);
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px 48px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-body);
}

.bh-prose h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-slate);
  margin: 32px 0 12px;
  letter-spacing: -0.015em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.bh-prose h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-slate);
  margin: 22px 0 8px;
}

.bh-prose p {
  margin-bottom: 1rem;
}

.bh-prose ul, .bh-prose ol {
  padding-left: 22px;
  margin: 0 0 1.25rem;
}

.bh-prose li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.bh-prose a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bh-prose a:hover {
  color: var(--saffron-dark);
}

.bh-prose .note,
.bh-prose blockquote {
  background: var(--surface-alt);
  border-left: 4px solid var(--navy);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin: 18px 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.bh-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 0.85rem;
  background: #FFFFFF;
}
.bh-prose th {
  background: #F1F5F9;
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--navy-slate);
  font-weight: 700;
}
.bh-prose td {
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--ink-body);
  vertical-align: top;
}

/* Standalone Institutional Tables */
.bh-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 20px;
  font-size: 0.85rem;
  background: #FFFFFF;
}
.bh-table th {
  background: #F1F5F9;
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--navy-slate);
  font-weight: 700;
}
.bh-table td {
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--ink-body);
  vertical-align: top;
}
.bh-table tbody tr:nth-child(even) {
  background: #F8FAFC;
}
.bh-table tbody tr:hover {
  background: #F1F5F9;
}

/* Editorial Deep Guide Card (Standalone & Converter Tool Pages) */
.cv-guide {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-xs);
}
.cv-guide h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-slate);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.cv-guide h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy-slate);
  margin: 24px 0 8px;
}
.cv-guide p {
  font-size: 0.94rem;
  color: var(--ink-body);
  line-height: 1.75;
  margin-bottom: 12px;
}
.cv-guide ul, .cv-guide ol {
  font-size: 0.92rem;
  color: var(--ink-body);
  line-height: 1.7;
  padding-left: 20px;
  margin-bottom: 14px;
}
.cv-guide li {
  margin-bottom: 6px;
}
.cv-guide-callout {
  background: #F8FAFC;
  border-left: 4px solid var(--saffron);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin: 16px 0;
  font-size: 0.9rem;
  color: var(--navy-slate);
  line-height: 1.65;
}

@media (max-width: 640px) {
  .cv-guide {
    padding: 20px 16px;
  }
  .bh-prose {
    padding-left: 14px;
    padding-right: 14px;
  }
  .bh-summary-card {
    padding: 14px 16px;
  }
}

/* =====================================================================
   Tiranga Design System Accents & Indian Identity
   ===================================================================== */
.bh-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.bh-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.bh-logo-brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.logo-boring { color: var(--navy); font-weight: 800; }
.logo-hero   { color: var(--saffron); font-weight: 800; }
.bh-flag-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-left: 3px;
  vertical-align: super;
}
.bh-logo-tagline {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bh-top-ribbon {
  height: 6px;
  width: 100%;
  display: flex;
}
.bh-top-ribbon .ribbon-saffron { flex: 1; background: #FF671F; }
.bh-top-ribbon .ribbon-white   { width: 70px; background: #FFFFFF; position: relative; display: flex; align-items: center; justify-content: center; }
.bh-top-ribbon .ribbon-white::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #06038D; }
.bh-top-ribbon .ribbon-green   { flex: 1; background: #046A38; }

.bh-nav a {
  color: var(--ink);
  font-weight: 600;
  transition: color 0.15s ease;
}
.bh-nav a:hover {
  color: var(--saffron-dark);
}
.bh-nav a.active {
  color: var(--navy);
  border-bottom: 2px solid var(--saffron);
}

.bh-suite-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: var(--navy-soft);
  color: var(--navy);
  border: 1px solid var(--navy-border);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
}

.bh-live-counter-bar {
  background: #F8FAFC;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  margin-top: 22px;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
  font-size: 0.85rem;
  color: var(--ink-body);
}
.bh-live-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.bh-live-stat-pill strong {
  color: var(--navy);
  font-weight: 800;
  font-size: 0.94rem;
}
.bh-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
}
.bh-footer-4col {
  grid-template-columns: 1.35fr 1fr 1fr 1fr 0.9fr;
  gap: 24px;
}
@media (max-width: 960px) {
  .bh-footer-4col { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .bh-footer-4col { grid-template-columns: 1fr; gap: 24px; }
}
