:root {
  --green-900: #006d2f;
  --green-800: #008f3d;
  --green-700: #0a9c46;
  --green-100: #eaf8e5;
  --text: #141719;
  --muted: #596068;
  --line: #e5e9e8;
  --shadow: 0 8px 22px rgba(22, 36, 28, .12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 214, 102, .22), transparent 28%),
    linear-gradient(160deg, #f4fff8 0%, #e9f7f9 45%, #f7fff1 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans Devanagari", "Noto Sans", Arial, sans-serif;
  font-weight: 500;
}

body {
  animation: pageIn .28s ease both;
}

button,
a {
  border: 0;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

@keyframes pageIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.phone-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(245, 253, 248, .96) 55%, rgba(238, 249, 244, .98) 100%);
  padding-top: calc(88px + env(safe-area-inset-top));
  padding-bottom: calc(94px + env(safe-area-inset-bottom));
}

.app-page {
  display: none;
}

.app-page.is-active {
  display: block;
}

.top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  min-height: calc(88px + env(safe-area-inset-top));
  padding: calc(12px + env(safe-area-inset-top)) 20px 10px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .12), transparent 34%),
    linear-gradient(115deg, #047b36, #009742 62%, #006f30);
}

.brand-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 38px 44px;
  align-items: center;
  gap: 10px;
}

.brand-copy,
.service-card,
.bottom-nav a,
.bottom-nav button {
  min-width: 0;
}

.logo-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 0;
  background: #fff url("assets/logo-circle.png") center / 48px 48px no-repeat;
  color: #09823a;
  font-size: 7px;
  font-weight: 900;
  line-height: .92;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.logo-mark svg {
  display: none;
}

.logo-mark span,
.logo-mark small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.brand-copy h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.08;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-copy p {
  margin: 7px 0 0;
  font-size: 14px;
  font-weight: 500;
  opacity: .94;
}

.global-compliance-notice {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  margin: 12px 14px 0;
  padding: 13px 14px;
  border: 1px solid #f0c36d;
  border-left: 5px solid #b56b00;
  border-radius: 12px;
  color: #4c3100;
  background: #fff8e6;
  box-shadow: 0 7px 18px rgba(91, 57, 0, .10);
}

.compliance-notice-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: #9a5b00;
  font-size: 20px;
  font-weight: 950;
  font-family: Georgia, serif;
}

.global-compliance-notice strong {
  display: block;
  color: #392400;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.global-compliance-notice p {
  margin: 5px 0 7px;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 650;
}

.global-compliance-notice a {
  display: inline-block;
  color: #075d2a;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
  font-weight: 900;
}

.page-source-attribution {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid #b9d9f5;
  border-radius: 12px;
  color: #123a5c;
  background: #eef7ff;
}

.page-source-attribution strong {
  color: #083f70;
  font-size: 13px;
  font-weight: 900;
}

.page-source-attribution span,
.page-source-attribution small {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 650;
}

.page-source-attribution code {
  overflow-wrap: anywhere;
  color: #075d2a;
  font-size: 11px;
  font-weight: 800;
}

.site-compliance-footer {
  margin: 24px 14px 12px;
  padding: 18px 16px;
  border-top: 4px solid #0b7f4b;
  border-radius: 12px;
  color: #34463c;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.site-compliance-footer strong {
  display: block;
  color: #075d2a;
  font-size: 14px;
  font-weight: 900;
}

.site-compliance-footer p {
  margin: 7px auto 12px;
  max-width: 760px;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 600;
}

.site-compliance-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
}

.site-compliance-footer a {
  color: #075d2a;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
  font-weight: 850;
}

.source-disclaimer-card {
  margin: 0 0 18px;
  padding: 16px;
  border: 2px solid #e3a42d;
  border-radius: 12px;
  color: #4c3100;
  background: #fff8e6;
}

.source-disclaimer-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 950;
}

.source-disclaimer-card p + p {
  margin-top: 8px;
}

.official-source-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.official-source-item {
  padding: 14px;
  border: 1px solid #dce9e2;
  border-radius: 12px;
  background: #f8fffa;
}

.official-source-item h3 {
  margin: 0 0 7px;
  color: #075d2a;
  font-size: 15px;
}

.official-source-item p {
  margin-top: 4px;
}

.official-source-item .official-action {
  overflow-wrap: anywhere;
  justify-content: flex-start;
  margin-bottom: 0;
  font-size: 12px;
}

.welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 255, 255, .18), transparent 28%),
    linear-gradient(145deg, #048239, #009a43 58%, #035d2b);
  opacity: 1;
  transition: opacity .42s ease, visibility .42s ease;
}

.welcome-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcome-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  animation: welcomePop .52s cubic-bezier(.2, .9, .25, 1.1) both;
}

.welcome-logo {
  width: 108px;
  height: 108px;
  border-radius: 30px;
  background: #fff url("assets/logo-circle.png") center / 96px 96px no-repeat;
  box-shadow: 0 22px 44px rgba(0, 50, 20, .28);
}

.welcome-card h2 {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 950;
}

.welcome-card p {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  opacity: .92;
}

.welcome-loader {
  width: 116px;
  height: 4px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .24);
}

.welcome-loader::before {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: #fff;
  animation: welcomeLoad 1.15s ease-in-out infinite;
}

@keyframes welcomePop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes welcomeLoad {
  0% {
    transform: translateX(-105%);
  }
  100% {
    transform: translateX(250%);
  }
}

.menu-button {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.header-share-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  cursor: pointer;
}

.header-share-button svg {
  width: 25px;
  height: 25px;
}

.app-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  background: rgba(7, 25, 15, .38);
  backdrop-filter: blur(6px);
}

.app-menu-overlay.is-open {
  display: block;
}

.app-menu-panel {
  position: absolute;
  top: 14px;
  right: 14px;
  left: 14px;
  max-width: 430px;
  margin: 0 auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .2);
  padding: 16px;
  animation: cardIn .24s ease both;
}

.app-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.app-menu-head b,
.app-menu-head small {
  display: block;
}

.app-menu-head b {
  color: #075d2a;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 950;
}

.app-menu-head small {
  margin-top: 3px;
  color: #647067;
  font-size: 12px;
  font-weight: 650;
}

.app-menu-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eaf8e5;
  color: #075d2a;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
}

.menu-calculator-list {
  display: grid;
  gap: 10px;
}

.menu-calculator-list a {
  display: grid;
  grid-template-columns: 42px 1fr 20px;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 13px;
  background: linear-gradient(135deg, #f7fbf8, #fff);
  box-shadow: 0 6px 16px rgba(22, 36, 28, .08);
  color: #151a17;
}

.menu-calculator-list i,
.menu-policy-row i {
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 950;
}

.menu-calculator-list i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #078b3e;
  background: #e8f8ec;
  font-size: 21px;
}

.menu-calculator-list strong {
  color: #151a17;
  font-size: 15px;
  font-weight: 850;
}

.menu-calculator-list a > span {
  color: #078b3e;
  font-size: 27px;
  line-height: 1;
  font-weight: 900;
}

.menu-policy-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(58px, 1fr));
  gap: 7px;
  overflow-x: auto;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid #e4ebe6;
}

.menu-policy-row a {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-height: 62px;
  padding: 8px 6px;
  border-radius: 12px;
  background: #eef7ff;
  color: #075985;
  font-size: 11px;
  line-height: 1.08;
  font-weight: 800;
  text-align: center;
}

.menu-policy-row i {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #fff;
  background: #0b8b3c;
  font-size: 14px;
}

.menu-button span {
  width: 25px;
  height: 3px;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .12);
}

.menu-button b {
  display: none;
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  align-items: center;
  min-height: 136px;
  margin: 14px 19px 20px;
  padding: 17px 20px 22px;
  border: 1px solid #d7e5d2;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(245, 255, 238, .98) 0%, rgba(238, 250, 223, .94) 44%, rgba(228, 246, 204, .75) 100%),
    repeating-linear-gradient(105deg, transparent 0 18px, rgba(109, 173, 66, .12) 19px 22px);
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-text h2 {
  margin: 0;
  color: #0f5d24;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 950;
}

.hero-text p {
  margin: 11px 0 0;
  color: #214829;
  font-size: 16px;
  font-weight: 650;
}

.map-illustration {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: grid;
  place-items: center;
  margin-left: -16px;
  margin-right: -22px;
}

.map-illustration svg {
  width: 100%;
  max-width: 176px;
  filter: drop-shadow(0 8px 10px rgba(42, 127, 45, .15));
}

.slider-dots {
  position: absolute;
  bottom: 9px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slider-dots span {
  width: 9px;
  height: 7px;
  border-radius: 99px;
  background: #c8cbcb;
}

.slider-dots .active {
  width: 13px;
  background: var(--green-800);
}

.services {
  padding: 0 19px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.title-rail {
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: #00a24a;
}

.title-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e9f8eb;
}

.section-title h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.service-card {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 104px;
  padding: 10px 8px;
  border-radius: 11px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.service-card:active {
  transform: translateY(1px);
}

.service-card strong {
  margin-top: 8px;
  max-width: 100%;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 760;
  text-align: center;
  overflow-wrap: anywhere;
}

.service-card span:last-child {
  display: block;
  margin-top: 6px;
  max-width: 100%;
  color: #4d535a;
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.icon-bubble {
  width: 47px;
  height: 47px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}

.green {
  color: #0d8a3d;
  background: #ddf3e1;
}

.blue {
  color: #1e5ec0;
  background: #e0e9ff;
}

.amber {
  color: #e38b00;
  background: #fff0d7;
}

.violet {
  color: #743bc0;
  background: #eee2ff;
}

.rose {
  color: #c32d43;
  background: #ffe2e7;
}

.teal {
  color: #0d8d8a;
  background: #dff8f6;
}

.cyan {
  color: #0b7799;
  background: #dff7ff;
}

.lime {
  color: #2f8b18;
  background: #e9f8d9;
}

.trust-strip {
  display: grid;
  grid-template-columns: 42px 1fr 68px;
  align-items: center;
  gap: 12px;
  margin: 12px 19px 12px;
  padding: 10px 14px;
  border: 1px solid #dbe9d5;
  border-radius: 10px;
  background: linear-gradient(90deg, #f5fff1, #fbfff9);
}

.shield {
  width: 35px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  background: #009f45;
  clip-path: polygon(50% 0, 91% 12%, 88% 61%, 50% 100%, 12% 61%, 9% 12%);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
}

.trust-strip span {
  margin-top: 5px;
  color: #27312c;
  font-size: 12px;
  font-weight: 500;
}

.gov-mark {
  display: grid;
  justify-items: center;
  color: #188040;
  font-size: 9px;
  font-weight: 900;
  text-align: center;
}

.gov-mark svg {
  width: 44px;
  height: 44px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  width: 100%;
  min-height: 56px;
  padding: 5px 0 calc(6px + env(safe-area-inset-bottom));
  border-radius: 0;
  background: linear-gradient(135deg, #063f36, #0b7f4b 70%, #0a9b5b);
  box-shadow: 0 -8px 24px rgba(7, 47, 33, .24);
  transform: translateX(-50%);
}

.bottom-nav button,
.bottom-nav a {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: #eafff2;
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, .24);
  cursor: pointer;
}

.bottom-nav button:last-child,
.bottom-nav a:last-child {
  border-right: 0;
}

.bottom-nav .active {
  color: #ffe08a;
}

.bottom-nav b {
  max-width: 100%;
  color: currentColor;
  font-size: 11px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bottom-nav .active b {
  font-weight: 650;
}

.title-icon {
  background: currentColor;
}

.icon-svg {
  width: 37px;
  height: 37px;
  color: currentColor;
}

.nav-svg {
  display: block;
  width: 25px;
  height: 25px;
  color: currentColor;
}

.bottom-nav .active .nav-svg {
  color: currentColor;
}

.icon-home {
  position: relative;
  color: #0b8b3c;
  background: #e8f8ec;
}

.icon-home::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 12px;
  width: 14px;
  height: 13px;
  border: 3px solid currentColor;
  border-top: 0;
}

.icon-home::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 17px;
  height: 17px;
  border-left: 3px solid currentColor;
  border-top: 3px solid currentColor;
  transform: rotate(45deg);
}

.calculator-page {
  padding: 18px 19px 0;
}

.calculator-menu-page {
  padding: 18px 19px 0;
}

.calculator-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-bottom: 16px;
}

.calculator-menu-hero {
  display: grid;
  grid-template-columns: 1fr 72px;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid #dbe9d5;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4fff1, #fff);
  box-shadow: 0 8px 22px rgba(22, 36, 28, .08);
  animation: cardIn .42s ease both;
}

.calculator-menu-hero h2 {
  margin: 0;
  color: #075d2a;
  font-size: 24px;
  line-height: 1.16;
  font-weight: 950;
}

.calculator-menu-hero p {
  margin: 7px 0 0;
  color: #4f5a54;
  font-size: 13px;
  font-weight: 650;
}

.hero-calc-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #078b3e;
  background: #e4f8e8;
}

.hero-calc-icon svg {
  width: 40px;
  height: 40px;
}

.calculator-list {
  display: grid;
  gap: 12px;
}

.calc-menu-card {
  display: grid;
  grid-template-columns: 58px 1fr 22px;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  animation: cardIn .42s ease both;
}

.calc-menu-card:nth-child(2) {
  animation-delay: .04s;
}

.calc-menu-card:nth-child(3) {
  animation-delay: .08s;
}

.calc-menu-card:nth-child(4) {
  animation-delay: .12s;
}

.calc-menu-card .icon-bubble {
  width: 52px;
  height: 52px;
}

.calc-menu-card strong,
.calc-menu-card span {
  display: block;
}

.calc-menu-card strong {
  color: #151a17;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
}

.calc-menu-card span {
  margin-top: 5px;
  color: #596068;
  font-size: 12px;
  font-weight: 650;
}

.card-arrow {
  color: #078b3e;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
}

.coming-soon {
  opacity: .78;
}

.coming-soon .card-arrow {
  color: #a0a9a4;
  font-size: 13px;
}

.jamabandi-page {
  padding: 18px 19px 0;
}

.page-heading-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-bottom: 13px;
}

.back-link {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 9px 0 0;
  border-radius: 50%;
  color: #087b37;
  background: #e8f8ec;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.jamabandi-hero {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid #dbe9d5;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4fff1, #fff);
  box-shadow: 0 8px 22px rgba(22, 36, 28, .08);
  animation: cardIn .42s ease both;
}

.page-heading-row .jamabandi-hero,
.page-heading-row .calculator-menu-hero,
.page-heading-row .bansawali-hero,
.page-heading-row .simple-title-card {
  grid-template-columns: 1fr;
  gap: 0;
  min-height: 54px;
  margin-bottom: 0;
  padding: 11px 13px;
}

.page-heading-row .jamabandi-hero .icon-bubble,
.page-heading-row .calculator-menu-hero .hero-calc-icon,
.page-heading-row .bansawali-hero .hero-calc-icon {
  display: none;
}

.page-heading-row .jamabandi-hero h2,
.page-heading-row .calculator-menu-hero h2,
.page-heading-row .bansawali-hero h2,
.page-heading-row .simple-title-card h2 {
  font-size: 20px;
}

.page-heading-row .jamabandi-hero p,
.page-heading-row .calculator-menu-hero p,
.page-heading-row .bansawali-hero p,
.page-heading-row .simple-title-card p {
  margin-top: 4px;
}

.jamabandi-hero .icon-bubble {
  width: 52px;
  height: 52px;
}

.jamabandi-hero h2 {
  margin: 0;
  color: #075d2a;
  font-size: 23px;
  line-height: 1.15;
  font-weight: 950;
}

.jamabandi-hero p {
  margin: 6px 0 0;
  color: #4f5a54;
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 650;
}

.official-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 13px;
  padding: 13px 15px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #0b62c8, #158de3);
  box-shadow: 0 9px 20px rgba(11, 98, 200, .22);
  font-size: 14px;
  font-weight: 850;
  animation: cardIn .42s ease both;
}

.official-action b {
  font-size: 26px;
  line-height: 1;
}

.simple-title-card {
  display: grid;
  align-content: center;
  border: 1px solid #dbe9d5;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4fff1, #fff);
  box-shadow: 0 8px 22px rgba(22, 36, 28, .08);
  animation: cardIn .42s ease both;
}

.simple-title-card h2 {
  margin: 0;
  color: #075d2a;
  line-height: 1.16;
  font-weight: 950;
}

.simple-title-card p {
  margin: 6px 0 0;
  color: #4f5a54;
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 650;
}

.external-action {
  margin-bottom: 12px;
}

.jamabandi-page .official-action {
  margin-bottom: calc(78px + env(safe-area-inset-bottom));
}

.external-action svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.bhu-naksha-hero {
  background: linear-gradient(135deg, #f2f7ff, #fff);
  border-color: #dbe5f7;
}

.enibandhan-hero {
  background: linear-gradient(135deg, #eafaff, #fff);
  border-color: #ccecf6;
}

.enibandhan-hero h2 {
  color: #086f91;
}

.bhulagan-hero {
  background: linear-gradient(135deg, #f2ffe8, #fff);
  border-color: #d8edc9;
}

.bhulagan-hero h2 {
  color: #2f7c16;
}

.portal-preview {
  margin: 13px 0 0;
  overflow: hidden;
  border: 1px solid #d6ece4;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(22, 36, 28, .1);
}

.portal-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.portal-preview figcaption {
  padding: 10px 12px;
  color: #4f5a54;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
}

.bhu-naksha-hero h2 {
  color: #144f9b;
}

.bhu-naksha-note {
  border-left-color: #2264c8;
}

.plot-info-hero {
  background: linear-gradient(135deg, #fff5f6, #fff);
  border-color: #f4d9df;
}

.plot-info-hero h2 {
  color: #9a2038;
}

.plot-info-note {
  border-left-color: #c8344e;
}

.parimarjan-hero {
  background: linear-gradient(135deg, #faf5ff, #fff);
  border-color: #e7d6f8;
}

.parimarjan-hero h2 {
  color: #6e2eb8;
}

.parimarjan-note {
  border-left-color: #7a38c7;
}

.khatiyan-hero {
  background: linear-gradient(135deg, #fff9ed, #fff);
  border-color: #f2dfb8;
}

.khatiyan-hero h2 {
  color: #9b6208;
}

.khatiyan-note {
  border-left-color: #d99112;
}

.jamabandi-note,
.guide-step,
.jamabandi-grid > div,
.faq-box {
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.jamabandi-note {
  display: grid;
  gap: 4px;
  margin-top: 13px;
  padding: 13px 14px;
  border-left: 5px solid #0b8f40;
  animation: cardIn .42s ease both;
}

.jamabandi-note strong,
.jamabandi-grid strong {
  color: #151a17;
  font-size: 14px;
  font-weight: 900;
}

.jamabandi-note span,
.jamabandi-grid span,
.guide-step p,
.faq-box p {
  color: #596068;
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 600;
}

.guide-steps {
  display: grid;
  gap: 10px;
  margin-top: 13px;
}

.guide-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  padding: 13px;
  animation: cardIn .42s ease both;
}

.guide-step:nth-child(2) {
  animation-delay: .04s;
}

.guide-step:nth-child(3) {
  animation-delay: .08s;
}

.guide-step:nth-child(4) {
  animation-delay: .12s;
}

.guide-step > b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #078b3e;
  background: #e8f8ec;
  font-size: 16px;
  font-weight: 950;
}

.guide-step h3 {
  margin: 0 0 4px;
  color: #151a17;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
}

.guide-step p {
  margin: 0;
}

.jamabandi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 13px;
}

.jamabandi-grid > div {
  display: grid;
  gap: 5px;
  padding: 13px;
}

.faq-box {
  margin-top: 13px;
  overflow: hidden;
}

.faq-box details + details {
  border-top: 1px solid #edf0ee;
}

.faq-box summary {
  cursor: pointer;
  padding: 13px 14px;
  color: #151a17;
  font-size: 13.5px;
  font-weight: 900;
}

.faq-box p {
  margin: 0;
  padding: 0 14px 14px;
}

.age-page {
  padding: 18px 19px 0;
}

.age-card,
.age-info-card {
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  animation: cardIn .42s ease both;
}

.age-card {
  overflow: hidden;
}

.age-card-header {
  padding: 18px 16px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #0284c7, #004f7c);
}

.age-card-header svg {
  width: 42px;
  height: 42px;
  color: #ffe28a;
}

.age-card-header h2 {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 950;
}

.age-card-header p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
  opacity: .92;
}

.age-form {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.age-form label {
  display: grid;
  gap: 7px;
  color: #25302a;
  font-size: 13px;
  font-weight: 850;
}

.age-form input {
  height: 48px;
  border: 2px solid #dce5df;
  border-radius: 9px;
  padding: 0 12px;
  color: var(--text);
  font: 850 16px/1 system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans", Arial, sans-serif;
  outline: none;
}

.age-form input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, .16);
}

.age-action {
  height: 50px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #0284c7, #004f7c);
  font-size: 15px;
  font-weight: 950;
}

.age-result {
  margin: 0 16px 16px;
  padding: 14px;
  border: 1px solid #cfe8d7;
  border-radius: 11px;
  background: #f4faf6;
  animation: cardIn .32s ease both;
}

.age-result h3 {
  margin: 0 0 12px;
  color: #078b3e;
  text-align: center;
  font-size: 16px;
  font-weight: 950;
}

.main-age-box {
  padding: 14px;
  border: 1px solid #e3ebe5;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.main-age-box span,
.main-age-box strong {
  display: block;
}

.main-age-box span {
  color: #667069;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.main-age-box strong {
  margin-top: 5px;
  color: #151a17;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 950;
}

.age-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.age-summary div {
  padding: 11px;
  border: 1px solid #e3ebe5;
  border-radius: 9px;
  background: #fff;
}

.age-summary span,
.age-summary b {
  display: block;
}

.age-summary span {
  color: #667069;
  font-size: 11px;
  font-weight: 900;
}

.age-summary b {
  margin-top: 4px;
  color: #151a17;
  font-size: 16px;
  font-weight: 950;
}

.age-info-card {
  margin-top: 14px;
  padding: 16px;
}

.age-info-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 950;
}

.age-info-card p {
  margin: 0;
  color: #596068;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 650;
}

.bansawali-page {
  padding: 18px 19px 0;
  max-width: 100%;
  overflow-x: hidden;
}

.bansawali-hero,
.bansawali-form,
.member-panel,
.tree-panel {
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  animation: cardIn .42s ease both;
}

.bansawali-hero {
  display: grid;
  grid-template-columns: 1fr 72px;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid #dbe9d5;
  background: linear-gradient(135deg, #f4fff1, #fff);
}

.bansawali-title-card {
  border-top: 4px solid #0284c7;
}

.bansawali-hero h2 {
  margin: 0;
  color: #075d2a;
  font-size: 23px;
  line-height: 1.18;
  font-weight: 950;
}

.bansawali-hero p {
  margin: 7px 0 0;
  color: #4f5a54;
  font-size: 13px;
  font-weight: 650;
}

.tree-hero-icon {
  color: #078b3e;
}

.bansawali-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  min-width: 0;
}

.bansawali-form h3 {
  margin: 0 0 4px;
  color: #151a17;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 950;
}

.bansawali-tool-grid {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.bansawali-left {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.bansawali-form label {
  display: grid;
  gap: 7px;
  color: #25302a;
  font-size: 13px;
  font-weight: 850;
}

.bansawali-form input,
.bansawali-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #dce5df;
  border-radius: 9px;
  padding: 0 12px;
  background: #fff;
  color: var(--text);
  font: 750 15px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans Devanagari", "Noto Sans", Arial, sans-serif;
  outline: none;
}

.bansawali-form input:focus,
.bansawali-form select:focus {
  border-color: #0b913f;
  box-shadow: 0 0 0 3px rgba(11, 145, 63, .12);
}

.bansawali-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.bansawali-actions button {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 9px;
  color: #075d2a;
  background: #eaf8e5;
  font-size: 13px;
  font-weight: 900;
}

.bansawali-actions button:first-child {
  color: #b42335;
  background: #fff0f2;
}

.member-panel,
.tree-panel {
  padding: 15px;
  margin-top: 12px;
  min-width: 0;
  overflow: hidden;
}

.tree-panel-head {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.member-panel h3,
.tree-panel h3 {
  margin: 0 0 12px;
  color: #151a17;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 950;
}

.tree-panel-head h3 {
  margin-bottom: 0;
}

.member-list {
  display: grid;
  gap: 9px;
  max-height: 210px;
  overflow: auto;
}

.member-table {
  border: 1px solid #e3ebe5;
  border-radius: 10px;
  padding: 8px;
  background: #fbfdfc;
}

.member-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid #e3ebe5;
  border-radius: 9px;
  background: #fbfdfc;
  min-width: 0;
}

.member-row div {
  min-width: 0;
}

.member-row strong,
.member-row span {
  overflow-wrap: anywhere;
}

.member-row:first-child::before {
  content: "नाम / Parent / Tag";
  grid-column: 1 / -1;
  margin: -2px 0 2px;
  color: #667069;
  font-size: 11px;
  font-weight: 900;
}

.member-row strong,
.member-row span {
  display: block;
}

.member-row strong {
  color: #151a17;
  font-size: 14px;
  font-weight: 900;
}

.member-row span {
  margin-top: 3px;
  color: #596068;
  font-size: 12px;
  font-weight: 650;
}

.delete-member {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #b42335;
  background: #fff0f2;
  font-size: 18px;
  font-weight: 900;
}

.tree-scroll {
  min-height: 390px;
  overflow: auto;
  border: 1px solid #dfe8e2;
  border-radius: 10px;
  background: #fcfdfd;
  padding: 18px;
}

.tree-empty {
  display: block;
  margin-top: 90px;
  color: #667069;
  text-align: center;
  font-size: 13px;
  font-weight: 750;
}

.v-tree {
  min-width: max-content;
  text-align: center;
}

.v-tree ul {
  display: flex;
  justify-content: center;
  position: relative;
  padding: 20px 0 0;
  margin: 0;
}

.v-tree li {
  position: relative;
  list-style: none;
  text-align: center;
  padding: 20px 6px 0;
}

.v-tree li::before,
.v-tree li::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 20px;
  border-top: 2px solid #9aa5a0;
}

.v-tree li::before {
  right: 50%;
}

.v-tree li::after {
  left: 50%;
  border-left: 2px solid #9aa5a0;
}

.v-tree li:only-child {
  padding-top: 0;
}

.v-tree li:only-child::before,
.v-tree li:only-child::after {
  display: none;
}

.v-tree li:first-child::before,
.v-tree li:last-child::after {
  border: 0;
}

.v-tree li:last-child::before {
  border-right: 2px solid #9aa5a0;
  border-radius: 0 7px 0 0;
}

.v-tree li:first-child::after {
  border-radius: 7px 0 0 0;
}

.v-tree ul ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 20px;
  border-left: 2px solid #9aa5a0;
}

.tree-node {
  display: inline-block;
  min-width: 112px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  border: 2px solid #0b91bf;
  color: #151a17;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .08);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
}

.tree-node small {
  display: block;
  margin-top: 4px;
  color: #596068;
  font-size: 10px;
  font-weight: 750;
}

.node-root {
  color: #fff;
  background: #075d2a;
  border-color: #075d2a;
}

.node-root small {
  color: rgba(255, 255, 255, .78);
}

@media print {
  body {
    background: #fff;
  }

  .top-header,
  .bottom-nav,
  .bansawali-form,
  .bansawali-actions,
  .member-panel,
  .bansawali-hero {
    display: none !important;
  }

  .phone-shell {
    padding: 0;
  }

  .tree-panel {
    box-shadow: none;
    margin: 0;
  }
}

@media (min-width: 760px) {
  .bansawali-tool-grid {
    grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.3fr);
    align-items: start;
  }

  .tree-panel {
    margin-top: 0;
  }
}

/* Native Android-style visual refresh */
:root {
  --app-green: #08744b;
  --app-green-dark: #075b3c;
  --app-blue: #086bea;
  --app-ink: #102b25;
  --app-muted: #61716d;
  --app-line: #dce9e5;
  --app-bg: #f4faf9;
}

html {
  background: #e3f5ef;
}

body {
  color: var(--app-ink);
  background: linear-gradient(145deg, #d8f3e9, #f7fbff);
  -webkit-tap-highlight-color: transparent;
}

.phone-shell {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 90px 14px 92px;
  overflow: hidden;
  background: var(--app-bg);
  box-shadow: 0 0 32px rgba(4, 83, 55, .15);
}

.top-header {
  top: 0;
  left: 50%;
  width: min(100%, 520px);
  min-height: 88px;
  padding: 30px 14px 9px;
  transform: translateX(-50%);
  color: var(--app-ink);
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid #d9e7e3;
  box-shadow: 0 2px 12px rgba(5, 70, 48, .08);
}

.top-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 22px;
  background: linear-gradient(90deg, var(--app-green-dark), var(--app-green));
}

.brand-row {
  display: grid;
  grid-template-columns: 40px 42px minmax(0, 1fr) 40px;
  grid-template-areas: "menu logo brand share";
  gap: 8px;
}

.menu-button { grid-area: menu; }
.logo-mark { grid-area: logo; }
.brand-copy { grid-area: brand; }
.header-share-button { grid-area: share; }

.menu-button,
.header-share-button {
  width: 40px;
  height: 40px;
  color: var(--app-green-dark);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.menu-button span {
  background: var(--app-green-dark);
}

.header-share-button svg { display: none; }
.header-share-button::before { content: "🔔"; font-size: 20px; }

.logo-mark {
  width: 40px;
  height: 40px;
  padding: 3px;
  background: #fff;
  border: 1px solid #9fd6c2;
  box-shadow: none;
}

.brand-copy h1 {
  color: #145c3a;
  font-size: 17px;
  line-height: 1.15;
}

.brand-copy p {
  margin-top: 3px;
  color: #487266;
  font-size: 11px;
}

.native-search-wrap {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 30px;
  align-items: center;
  min-height: 48px;
  margin: 10px 0 12px;
  padding: 0 10px;
  color: #647a84;
  background: #fff;
  border: 1px solid #d8e8e5;
  border-radius: 18px;
  box-shadow: 0 5px 16px rgba(13, 80, 61, .07);
}

.native-search-wrap > span { font-size: 28px; transform: rotate(-18deg); }
.native-search-wrap input {
  width: 100%;
  padding: 12px 5px;
  color: var(--app-ink);
  font: inherit;
  font-size: 15px;
  background: transparent;
  border: 0;
  outline: 0;
}
.native-search-wrap button {
  color: #6c7c79;
  font-size: 23px;
  background: transparent;
  border: 0;
}

.hero-card,
.guide-card,
.tool-card,
.calculator-card,
.age-card,
.byaj-card,
.info-card,
.source-card,
.policy-card {
  border-color: var(--app-line);
  border-radius: 16px;
  box-shadow: 0 5px 16px rgba(20, 71, 58, .07);
}

.home-page .hero-card {
  min-height: 150px;
  margin: 0 0 14px;
  border-radius: 15px;
  background-color: #bfeeff;
  box-shadow: 0 8px 20px rgba(8, 106, 80, .14);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(239, 255, 254, .95) 0%, rgba(224, 250, 245, .76) 48%, rgba(213, 247, 239, .12) 80%);
}

.hero-copy { max-width: 72%; }
.hero-copy h2 { color: #0b2e28; font-size: clamp(22px, 6vw, 30px); line-height: 1.3; }
.hero-copy p { color: #1b5f4c; }

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.service-card {
  position: relative;
  min-height: 142px;
  padding: 12px 10px 14px;
  justify-content: flex-start;
  color: var(--app-ink);
  text-align: center;
  background: #fff;
  border: 1px solid #e0ebe8;
  border-radius: 14px;
  box-shadow: 0 4px 13px rgba(16, 67, 54, .08);
}

.service-card::after {
  content: "›";
  position: absolute;
  right: 9px;
  bottom: 8px;
  color: #0c6550;
  font-size: 27px;
  line-height: 1;
}

.service-card .service-icon,
.service-card > i {
  width: 58px;
  height: 58px;
  margin: 0 auto 10px;
  border-radius: 16px;
  box-shadow: 0 7px 14px rgba(8, 85, 62, .15);
}

.service-card:nth-child(4n+1) .service-icon,
.service-card:nth-child(4n+1) > i { background: linear-gradient(145deg, #04bc76, #078757); }
.service-card:nth-child(4n+2) .service-icon,
.service-card:nth-child(4n+2) > i { background: linear-gradient(145deg, #137dea, #0b4cae); }
.service-card:nth-child(4n+3) .service-icon,
.service-card:nth-child(4n+3) > i { background: linear-gradient(145deg, #a45bff, #7431dc); }
.service-card:nth-child(4n+4) .service-icon,
.service-card:nth-child(4n+4) > i { background: linear-gradient(145deg, #ffab16, #ff7b00); }

.service-card h3 { color: #172e28; font-size: 16px; }
.service-card p { color: #5d6e69; font-size: 12px; line-height: 1.4; }
.service-card[hidden] { display: none !important; }

.native-detail .brand-row {
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  grid-template-areas: "logo brand blank";
}
.native-detail .menu-button,
.native-detail .header-share-button { display: none; }
.native-detail .brand-copy { text-align: center; }
.native-detail .brand-copy h1 { color: #173c32; font-size: 20px; }
.native-detail .native-back-button {
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
}
.native-detail .native-back-button img { display: none; }
.native-detail .native-back-button::before {
  content: "←";
  color: #123f34;
  font-size: 30px;
  line-height: 1;
}

.page-heading-row {
  display: block;
  margin-bottom: 13px;
}
.page-heading-row > .back-link { display: none; }
.page-heading-row .page-hero { width: 100%; }

.guide-list,
.step-list { gap: 9px; }
.guide-step,
.step-card {
  min-height: 74px;
  padding: 12px;
  background: #fff;
  border: 1px solid #dfeae7;
  border-radius: 13px;
  box-shadow: 0 4px 11px rgba(15, 66, 52, .06);
}
.guide-step span,
.step-card > span {
  width: 48px;
  height: 48px;
  color: #fff;
  background: linear-gradient(145deg, #42bf8a, #169866);
  border-radius: 13px;
}
.guide-step:nth-child(4n+2) span { background: linear-gradient(145deg, #b05fff, #7f36e7); }
.guide-step:nth-child(4n+3) span { background: linear-gradient(145deg, #ffae19, #ff7e00); }
.guide-step:nth-child(4n+4) span { background: linear-gradient(145deg, #ff6470, #ed394b); }

.official-action {
  min-height: 60px;
  margin-top: 13px;
  padding: 12px 18px;
  color: #fff !important;
  font-size: 15px;
  background: linear-gradient(135deg, #0b7bf1, #075ee0) !important;
  border: 0 !important;
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(7, 95, 220, .24);
}
.official-action b { font-size: 22px; }

input,
select,
textarea,
.primary-button,
.secondary-button { border-radius: 12px; }

.global-compliance-notice,
.trust-strip { display: none !important; }

.site-compliance-footer {
  width: 100%;
  margin: 20px 0 0;
  padding: 15px 14px;
  color: #51625e;
  background: #fff;
  border: 1px solid #dce9e5;
  border-radius: 14px;
  box-shadow: none;
}
.site-compliance-footer strong { color: #173c32; }
.site-compliance-footer p { margin: 6px 0 10px; font-size: 12px; line-height: 1.55; }
.site-compliance-footer nav { display: flex; flex-wrap: wrap; gap: 8px 13px; }
.site-compliance-footer a { color: #08744b; font-size: 12px; font-weight: 700; }

.bottom-nav {
  position: fixed !important;
  z-index: 100 !important;
  left: 50% !important;
  bottom: 0 !important;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, 520px) !important;
  min-height: 72px !important;
  margin: 0 !important;
  padding: 7px 5px calc(5px + env(safe-area-inset-bottom)) !important;
  transform: translateX(-50%) !important;
  color: #6a7774;
  background: rgba(255, 255, 255, .98) !important;
  border: 0 !important;
  border-top: 1px solid #d7e5e1 !important;
  border-radius: 0 !important;
  box-shadow: 0 -5px 18px rgba(15, 61, 49, .08) !important;
}

.bottom-nav a,
.bottom-nav button,
.bottom-more-button {
  display: flex;
  min-width: 0;
  min-height: 56px;
  padding: 2px 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #697874;
  background: transparent !important;
  border: 0 !important;
  border-radius: 10px;
  box-shadow: none !important;
  font: inherit;
  text-decoration: none;
}
.bottom-nav .nav-svg { width: 25px; height: 25px; }
.bottom-nav b { overflow: hidden; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.bottom-nav .active { color: var(--app-blue) !important; }
.nav-more-dots { font-size: 22px; line-height: 22px; letter-spacing: 2px; }

.app-menu-overlay { z-index: 130; }
.app-menu-panel { width: min(100%, 520px); border-radius: 22px 22px 0 0; }

@media (min-width: 560px) {
  .phone-shell {
    margin-top: 14px;
    margin-bottom: 14px;
    min-height: calc(100vh - 28px);
    border: 1px solid #a7dfcb;
    border-radius: 26px;
  }
  .top-header { top: 14px; border-radius: 26px 26px 0 0; }
  .top-header::before { border-radius: 25px 25px 0 0; }
  .bottom-nav { bottom: 14px !important; border-radius: 0 0 26px 26px !important; }
}

@media (max-width: 370px) {
  .phone-shell { padding-right: 9px; padding-left: 9px; }
  .brand-row { gap: 4px; }
  .service-card { min-height: 132px; }
  .bottom-nav b { font-size: 9px; }
}

.back-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: 5px;
  border-radius: 50%;
  background: #e8f8ec;
  color: #078b3e;
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
}

.calculator-head > div {
  min-width: 0;
}

.calculator-head h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.15;
  font-weight: 900;
}

.calculator-head p {
  margin: 5px 0 0;
  color: #596068;
  font-size: 13px;
  font-weight: 600;
}

.calc-panel,
.result-card {
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.calc-panel {
  display: grid;
  gap: 13px;
  padding: 16px;
}

.calc-panel label {
  display: grid;
  gap: 7px;
  color: #25302a;
  font-size: 13px;
  font-weight: 800;
}

.calc-panel input {
  width: 100%;
  height: 48px;
  border: 1px solid #dce5df;
  border-radius: 9px;
  padding: 0 13px;
  color: var(--text);
  font: 800 20px/1 system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans", Arial, sans-serif;
  outline: none;
}

.calc-panel input:focus {
  border-color: #0b913f;
  box-shadow: 0 0 0 3px rgba(11, 145, 63, .12);
}

.calc-action {
  height: 48px;
  border-radius: 9px;
  background: #078b3e;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.result-card {
  margin-top: 15px;
  padding: 18px;
  background: linear-gradient(135deg, #f4fff1, #fff);
  border: 1px solid #dbe9d5;
}

.result-card > span {
  display: block;
  color: #4f5a54;
  font-size: 13px;
  font-weight: 800;
}

.result-card > strong {
  display: block;
  margin-top: 6px;
  color: #075d2a;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 950;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 15px;
}

.result-grid div {
  padding: 12px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid #e3ebe5;
}

.result-grid small,
.result-grid b {
  display: block;
}

.result-grid small {
  color: #667069;
  font-size: 12px;
  font-weight: 800;
}

.result-grid b {
  margin-top: 4px;
  color: #151a17;
  font-size: 18px;
  font-weight: 900;
}

.land-laggi-page {
  padding: 18px 19px 0;
}

.laggi-card,
.laggi-results,
.laggi-info {
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  animation: cardIn .42s ease both;
}

.laggi-card {
  padding: 16px;
}

.laggi-title {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.laggi-title svg {
  width: 48px;
  height: 48px;
  padding: 9px;
  border-radius: 50%;
  color: #078b3e;
  background: #e4f8e8;
}

.laggi-title h3 {
  margin: 0;
  color: #075d2a;
  font-size: 18px;
  font-weight: 950;
}

.laggi-title p {
  margin: 5px 0 0;
  color: #596068;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
}

.laggi-form {
  display: grid;
  gap: 13px;
}

.laggi-form label {
  display: grid;
  gap: 7px;
  color: #25302a;
  font-size: 13px;
  font-weight: 850;
}

.laggi-form input,
.laggi-form select {
  min-height: 48px;
  width: 100%;
  border: 1px solid #dce5df;
  border-radius: 9px;
  padding: 0 12px;
  background: #f8fbf9;
  color: var(--text);
  font: 800 15px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans Devanagari", "Noto Sans", Arial, sans-serif;
  outline: none;
}

.laggi-form input:focus,
.laggi-form select:focus {
  border-color: #0b913f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 145, 63, .12);
}

.laggi-results {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid #dbe9d5;
}

.laggi-results h3 {
  margin: 0 0 7px;
  color: #075d2a;
  font-size: 18px;
  font-weight: 950;
}

.laggi-results p {
  margin: 0 0 12px;
  color: #596068;
  font-size: 12px;
  font-weight: 750;
}

.laggi-result-list {
  display: grid;
  gap: 8px;
}

.laggi-result-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #e3ebe5;
  border-radius: 9px;
  background: #fbfdfc;
}

.laggi-result-row span {
  color: #25302a;
  font-size: 13px;
  font-weight: 850;
}

.laggi-result-row b {
  color: #078b3e;
  font-size: 16px;
  font-weight: 950;
}

.laggi-info {
  margin-top: 14px;
  padding: 16px;
  border-left: 5px solid #0d6efd;
}

.laggi-info h3 {
  margin: 0 0 9px;
  color: #151a17;
  font-size: 17px;
  font-weight: 950;
}

.laggi-info p,
.laggi-info strong {
  display: block;
  margin: 0;
  color: #596068;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 650;
}

.laggi-info strong {
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  color: #644300;
  background: #fff8df;
}

.static-page {
  margin: 18px 19px 0;
  padding: 18px 18px calc(32px + env(safe-area-inset-bottom));
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  animation: cardIn .32s ease both;
}

.static-title-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.static-title-row .back-link {
  margin: 0;
}

.static-title-row h2 {
  margin: 0;
}

.static-page h2 {
  margin: 0 0 10px;
  color: #075d2a;
  font-size: 22px;
  font-weight: 800;
}

.static-page .static-title-row h2 {
  margin: 0;
}

.age-page > .calculator-head + .age-card .age-card-header {
  padding: 12px 16px;
}

.age-page > .calculator-head + .age-card .age-card-header h2,
.age-page > .calculator-head + .age-card .age-card-header p {
  display: none;
}

.static-page p {
  margin: 0;
  color: #4f5a54;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
}

.byaj-card {
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: cardIn .42s ease both;
}

.byaj-card-header {
  padding: 17px 16px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #3498db, #1769aa);
}

.byaj-card-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.rupee-mark {
  color: #ffdd7a;
  font-size: 24px;
  vertical-align: -1px;
}

.glossary-page {
  padding: 18px 19px 0;
}

.glossary-card {
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  animation: cardIn .42s ease both;
}

.glossary-card h2 {
  margin: 0 0 14px;
  color: #075d2a;
  text-align: center;
  font-size: 21px;
  font-weight: 800;
}

.gl-search,
.gl-select {
  width: 100%;
  min-height: 46px;
  border-radius: 9px;
  padding: 0 12px;
  font: 650 14px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans Devanagari", "Noto Sans", Arial, sans-serif;
}

.gl-search {
  margin-bottom: 12px;
  border: 1px solid #dce5df;
}

.gl-select {
  margin-bottom: 14px;
  border: 2px solid #0274be;
  background: #fff;
}

.gl-result {
  min-height: 130px;
  padding: 15px;
  border-left: 5px solid #0274be;
  border-radius: 9px;
  background: #f8fafd;
}

.gl-term {
  display: block;
  margin-bottom: 8px;
  color: #0274be;
  font-size: 19px;
  font-weight: 800;
}

.gl-desc {
  color: #444;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
}

.byaj-action {
  background: linear-gradient(135deg, #3498db, #1769aa);
}

.byaj-result {
  display: grid;
  gap: 8px;
  margin: 0 16px 16px;
  padding: 14px;
  border-left: 5px solid #3498db;
  border-radius: 10px;
  background: #e8f4fd;
}

.byaj-result h3 {
  margin: 0 0 4px;
  color: #2c3e50;
  font-size: 16px;
  font-weight: 800;
}

.total-byaj {
  border-top: 1px solid #c6d8e5;
  background: #fff;
}

@media (max-width: 380px) {
  .top-header {
    padding-inline: 16px;
  }

  .brand-row {
    grid-template-columns: 50px minmax(0, 1fr) 34px 40px;
    gap: 8px;
  }

  .logo-mark {
    width: 50px;
    height: 50px;
    background-size: 44px 44px;
  }

  .header-share-button {
    width: 35px;
    height: 35px;
  }

  .brand-copy h1 {
    font-size: 17px;
  }

  .brand-copy p {
    font-size: 13px;
  }

  .hero-text h2 {
    font-size: 25px;
  }

  .service-card strong {
    font-size: 15px;
  }
}

/* =========================================================
   Desktop / Laptop Layout
   The mobile layout remains unchanged below 759px.
   From 760px upward the app becomes a full-width web layout.
   ========================================================= */
@media (min-width: 760px) {
  html,
  body {
    min-width: 100%;
    overflow-x: hidden;
  }

  body {
    background:
      radial-gradient(circle at 12% 0%, rgba(255, 214, 102, .20), transparent 25%),
      radial-gradient(circle at 92% 12%, rgba(0, 151, 66, .10), transparent 24%),
      linear-gradient(135deg, #eefaf3 0%, #eaf7f8 48%, #f5fbed 100%);
  }

  .phone-shell {
    width: 100%;
    max-width: 1440px;
    min-height: 100vh;
    margin: 0 auto;
    padding-top: 94px;
    padding-bottom: 104px;
    overflow: visible;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .985) 0%, rgba(248, 253, 250, .98) 58%, rgba(240, 250, 245, .99) 100%);
    box-shadow: 0 0 50px rgba(22, 54, 37, .08);
  }

  .top-header {
    left: 50%;
    right: auto;
    width: min(100%, 1440px);
    min-height: 78px;
    padding: 12px 42px;
    transform: translateX(-50%);
    box-shadow: 0 5px 24px rgba(5, 70, 35, .18);
  }

  .brand-row {
    width: min(100%, 1280px);
    margin: 0 auto;
    grid-template-columns: 62px minmax(0, 1fr) 44px 74px;
    gap: 16px;
  }

  .logo-mark {
    width: 58px;
    height: 58px;
    background-size: 52px 52px;
    border-radius: 14px;
  }

  .brand-copy h1 {
    font-size: 25px;
  }

  .brand-copy p {
    margin-top: 4px;
    font-size: 14px;
  }

  .header-share-button {
    width: 42px;
    height: 42px;
  }

  .menu-button {
    width: 68px;
    min-height: 54px;
    padding: 5px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .10);
  }

  .menu-button span {
    width: 27px;
  }

  .menu-button b {
    display: block;
    font-size: 11px;
  }

  .app-page > section,
  .app-page > article,
  .app-page > .static-page,
  .app-page > .glossary-page {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-page .hero-card {
    min-height: 270px;
    margin-top: 24px;
    margin-bottom: 30px;
    padding: 34px 52px 40px;
    border-radius: 24px;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    box-shadow: 0 16px 40px rgba(44, 99, 56, .10);
  }

  .hero-text h2 {
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.12;
  }

  .hero-text p {
    margin-top: 16px;
    font-size: 19px;
  }

  .map-illustration {
    margin-left: 0;
    margin-right: 0;
  }

  .map-illustration svg {
    max-width: 330px;
  }

  .slider-dots {
    bottom: 15px;
  }

  .services {
    padding: 0;
  }

  .section-title {
    margin-bottom: 18px;
  }

  .section-title h2 {
    font-size: 25px;
  }

  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .service-card {
    min-height: 168px;
    padding: 20px 14px;
    border-radius: 16px;
    transition: transform .18s ease, box-shadow .18s ease;
  }

  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(22, 36, 28, .15);
  }

  .icon-bubble {
    width: 62px;
    height: 62px;
  }

  .icon-svg {
    width: 46px;
    height: 46px;
  }

  .service-card strong {
    margin-top: 12px;
    font-size: 18px;
  }

  .service-card span:last-child {
    margin-top: 7px;
    font-size: 13px;
  }

  .trust-strip {
    margin: 24px auto;
    max-width: 1280px;
    min-height: 82px;
    padding: 14px 20px;
    grid-template-columns: 52px 1fr 90px;
  }

  .trust-strip strong {
    font-size: 18px;
  }

  .trust-strip span {
    font-size: 13px;
  }

  .gov-mark svg {
    width: 52px;
    height: 52px;
  }

  .bottom-nav {
    left: 50%;
    bottom: 18px;
    width: min(900px, calc(100% - 48px));
    min-height: 68px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(7, 47, 33, .28);
  }

  .bottom-nav button,
  .bottom-nav a {
    min-height: 54px;
    border-right: 0;
    border-radius: 12px;
    transition: background .18s ease, color .18s ease;
  }

  .bottom-nav button:hover,
  .bottom-nav a:hover {
    background: rgba(255, 255, 255, .10);
  }

  .bottom-nav b {
    font-size: 12px;
  }

  .nav-svg {
    width: 27px;
    height: 27px;
  }

  .app-menu-panel {
    top: 92px;
    right: max(24px, calc((100vw - 1280px) / 2));
    left: auto;
    width: 430px;
    max-width: calc(100vw - 48px);
    margin: 0;
  }

  .static-page,
  .glossary-page {
    padding-left: 0;
    padding-right: 0;
  }

  .static-page {
    margin-top: 24px;
    padding: 30px 34px 40px;
    border-radius: 18px;
  }

  .static-page h2 {
    font-size: 28px;
  }

  .static-page p {
    font-size: 15px;
    line-height: 1.8;
  }

  .glossary-page {
    padding-top: 24px;
  }

  .glossary-card {
    padding: 26px;
    border-radius: 18px;
  }

  .glossary-card h2 {
    font-size: 26px;
  }

  .calculator-head,
  .age-card,
  .byaj-card,
  .calculator-card,
  .tool-card,
  .bansawali-card,
  .bansawali-tool-grid {
    max-width: 100%;
  }

  .calculator-head,
  .age-card,
  .byaj-card,
  .calculator-card,
  .tool-card {
    border-radius: 18px;
  }

  .bansawali-tool-grid {
    gap: 24px;
  }

  .global-compliance-notice,
  .site-compliance-footer {
    width: min(1280px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
  }

  .global-compliance-notice {
    margin-top: 14px;
    padding: 15px 18px;
  }

  .global-compliance-notice strong {
    font-size: 15px;
  }

  .global-compliance-notice p,
  .global-compliance-notice a,
  .site-compliance-footer p,
  .site-compliance-footer a {
    font-size: 13px;
  }
}

@media (min-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .home-page .hero-card {
    min-height: 300px;
  }
}

@media (min-width: 1500px) {
  .phone-shell {
    max-width: 1500px;
  }

  .top-header {
    width: min(100%, 1500px);
  }
}

/* Desktop: the primary navigation belongs in the header area, not as a floating footer. */
@media (min-width: 760px) {
  .phone-shell {
    padding-bottom: 40px;
  }

  .bottom-nav {
    position: relative;
    left: auto;
    bottom: auto;
    z-index: 75;
    width: min(1280px, calc(100% - 48px));
    min-height: 64px;
    margin: 0 auto 4px;
    padding: 6px 10px;
    transform: none;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    background: linear-gradient(135deg, #063f36, #0b7f4b 70%, #0a9b5b);
    box-shadow: 0 8px 24px rgba(7, 47, 33, .18);
  }
}

/* Keep the app frame fixed after legacy desktop rules. */
.top-header { width:min(100%,520px); }
@media (min-width:760px) {
  .phone-shell { padding-bottom:92px; }
}
