/* Asli Kharcha design system.
   One typeface (IBM Plex Sans, variable), fixed rem scale for UI, fluid only for display.
   Neutral surfaces, one signal colour for hidden cost, validated categorical palette for charts. */
@font-face { font-family: "Plex"; src: url("/assets/fonts/plex-sans-latin-wght.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }
@font-face { font-family: "Plex Deva"; src: url("/assets/fonts/plex-deva-400.woff2") format("woff2"); font-weight: 100 449; font-display: swap; }
@font-face { font-family: "Plex Deva"; src: url("/assets/fonts/plex-deva-500.woff2") format("woff2"); font-weight: 450 549; font-display: swap; }
@font-face { font-family: "Plex Deva"; src: url("/assets/fonts/plex-deva-600.woff2") format("woff2"); font-weight: 550 900; font-display: swap; }
@font-face { font-family: "Hand"; src: url("/assets/fonts/caveat-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #FBFAF8; --surface: #FFFFFF; --surface-2: #F4F2EE; --surface-3: #ECE9E3;
  --line: #E6E3DD; --line-2: #D6D2CA;
  --text: #141413; --text-2: #4F4C46; --text-3: #6B675F;
  --signal: #D9480F;
  --ok: #0F7B4D;
  /* chart series: validated reference palette, fixed order */
  --s-maint: #257de0; --s-gst: #f47230; --s-sinking: #00b894; --s-grid: #f2a600;
  --s-dg: #ee7fac; --s-water: #008a17; --s-club: #6a4ce2; --s-ptax: #ec4647;
  --font: "Plex", "Plex Deva", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 8px; --r: 12px; --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 19, .05);
  --shadow: 0 1px 2px rgba(20, 20, 19, .04), 0 8px 24px -8px rgba(20, 20, 19, .10);
  --shadow-lg: 0 2px 4px rgba(20, 20, 19, .04), 0 24px 48px -16px rgba(20, 20, 19, .18);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1200px; --gutter: clamp(20px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 16px; z-index: 999; background: var(--surface); padding: 8px 12px; }

/* layout */
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-block: clamp(24px, 4vw, 40px); }
.section-alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: 32px; }
.section-head .h2, .section-head .lead { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .section-head, .split, .two-col { grid-template-columns: 1fr; } }

/* type scale: 12 · 13 · 14 · 16 · 18 · 20 · 24 · 30 · 36 · 48 · display */
.display { font-size: clamp(2.5rem, 1.55rem + 3.4vw, 4rem); line-height: 1.04; font-weight: 600; letter-spacing: -.032em; margin: 0 0 20px; text-wrap: balance; }
.h1 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); line-height: 1.1; font-weight: 600; letter-spacing: -.028em; margin: 0 0 16px; text-wrap: balance; }
.h2 { font-size: clamp(1.5rem, 1.25rem + .9vw, 2.25rem); line-height: 1.15; font-weight: 600; letter-spacing: -.022em; margin: 0 0 16px; text-wrap: balance; }
h3 { font-size: 1.125rem; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; margin: 0 0 6px; }
.lead { font-size: 1.125rem; line-height: 1.6; color: var(--text-2); max-width: 60ch; margin: 0 0 24px; text-wrap: pretty; }
.muted { color: var(--text-3); }
.eyebrow { font-size: .8125rem; font-weight: 500; color: var(--text-3); margin: 0 0 12px; }
.note { font-size: .875rem; color: var(--text-3); }
.prose h2 { font-size: 1.5rem; letter-spacing: -.02em; margin: 48px 0 12px; } .prose h3 { margin-top: 32px; } .prose h3 small { font-weight: 400; color: var(--text-3); font-size: .875rem; margin-left: 6px; } .prose li { margin-bottom: 8px; }

/* buttons & controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-size: .9375rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-sm { height: 36px; padding: 0 14px; font-size: .875rem; }
.btn-primary { background: var(--text); color: #fff; } .btn-primary:hover { background: #2C2B29; }
.btn-ghost { background: var(--surface); border-color: var(--line-2); } .btn-ghost:hover { border-color: var(--text-3); }
.btn-wa { background: #128C4A; color: #fff; } .btn-wa:hover { background: #0E7A40; }
.btn-link { padding: 0 4px; height: auto; color: var(--text-2); } .btn-link:hover { color: var(--text); }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 500; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; margin: 0 0 24px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(15, 123, 77, .15); }
.badge { display: inline-block; font-size: .6875rem; font-weight: 600; letter-spacing: .02em; padding: 2px 7px; border-radius: 999px; vertical-align: 2px; margin-left: 4px; }
.badge-reported { background: #E7F4EE; color: var(--ok); } .badge-estimate { background: var(--surface-3); color: var(--text-2); }
kbd { font: 500 .75rem var(--font); color: var(--text-3); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; background: var(--surface); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.pad { padding: clamp(20px, 3vw, 32px); }

.field { display: flex; flex-direction: column; gap: 8px; font-size: .875rem; font-weight: 500; color: var(--text-2); min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.field input:not([type=range]):not([type=checkbox]), .field select, .input-affix { height: 44px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); padding: 0 12px; font-size: 1rem; font-weight: 400; color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; width: 100%; }
.field select { appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2385817A' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus, .input-affix:focus-within { border-color: var(--text); box-shadow: 0 0 0 3px rgba(20, 20, 19, .08); }
.input-affix { display: flex; align-items: center; gap: 8px; padding: 0 12px; }
.input-affix input { border: 0 !important; box-shadow: none !important; padding: 0 !important; height: 100% !important; flex: 1; min-width: 0; font-variant-numeric: tabular-nums; }
.input-affix span { color: var(--text-3); font-size: .875rem; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 3px; height: 44px; }
.seg button { border: 0; background: none; border-radius: 6px; font-size: .875rem; font-weight: 500; color: var(--text-2); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.seg button[aria-checked="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.range output { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 20px; background: transparent; cursor: pointer; --p: 50%; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--text) var(--p), var(--line-2) var(--p)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line-2); }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--text); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); transition: transform .15s; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.check { display: flex; gap: 10px; align-items: center; font-size: .9375rem; color: var(--text-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--text); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 248, .78); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20, 20, 19, .25); background: rgba(251, 250, 248, .9); }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.015em; text-decoration: none; justify-self: start; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(140deg, #26241F, #0E0D0B); color: #fff; font-size: 1rem; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 2px 6px -2px rgba(20,20,19,.4); }
.brand-name { display: grid; line-height: 1.1; } .brand-name small { font-size: .6875rem; font-weight: 500; color: var(--signal); letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 2px; padding: 4px; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.nav-links > a, .dd summary { display: inline-flex; align-items: center; font-size: .9375rem; font-weight: 500; color: var(--text-2); text-decoration: none; padding: 7px 16px; border-radius: 999px; cursor: pointer; list-style: none; white-space: nowrap; transition: color .2s, background .2s; }
.nav-links > a:hover, .dd summary:hover { color: var(--text); background: var(--surface-2); }
.dd[open] summary { color: var(--text); background: var(--surface-3); }
.dd { position: relative; } .dd summary::-webkit-details-marker { display: none; }
.dd summary::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 8px; transition: transform .2s; }
.dd[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.dd-menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px; animation: dd-in .18s var(--ease); }
@keyframes dd-in { from { opacity: 0; transform: translate(-50%, -6px); } }
.dd-tools { width: min(640px, 92vw); } .dd-cities { width: min(560px, 92vw); }
.dd-head { margin: 4px 8px 8px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dd-cities .dd-grid { grid-template-columns: repeat(3, 1fr); }
.dd-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; text-decoration: none; transition: background .15s; }
.dd-menu a:hover { background: var(--surface-2); }
.dd-menu b { display: block; font-size: .9375rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.dd-menu small { display: block; margin-top: 2px; color: var(--text-3); font-weight: 400; font-size: .8125rem; line-height: 1.4; }
.dd-ico { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--surface-2); color: var(--signal); }
.dd-ico svg { width: 18px; height: 18px; }
.dd-foot { display: flex; justify-content: space-between; margin-top: 8px; padding: 10px 4px 2px; border-top: 1px solid var(--line); }
.dd-foot a { padding: 6px 8px; font-size: .875rem; font-weight: 600; color: var(--signal); align-items: center; gap: 6px; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.nav-search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text-3); font-size: .875rem; cursor: pointer; width: 200px; transition: border-color .2s, box-shadow .2s; }
.nav-search:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); } .nav-search kbd { margin-left: auto; }
.nav-cta { height: 38px; border-radius: 999px; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-burger span { display: block; width: 16px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .2s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); } .nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mnav { border-top: 1px solid var(--line); background: var(--bg); max-height: calc(100dvh - 68px); overflow: auto; padding: 8px 0 24px; }
.mnav[hidden] { display: none; }
.mnav-h { margin: 16px 0 8px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); }
.mnav-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mnav-tools a { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; font-weight: 500; font-size: .9375rem; line-height: 1.25; }
.mnav-cities { display: flex; flex-wrap: wrap; gap: 6px; }
.mnav-cities a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .875rem; background: var(--surface); }
.mnav-foot { display: flex; align-items: center; gap: 16px; margin-top: 20px; font-weight: 500; } .mnav-foot .btn { margin-left: auto; }
@media (max-width: 1180px) { .nav-search { width: 40px; padding: 0; justify-content: center; } .nav-search span, .nav-search kbd { display: none; } }
@media (max-width: 960px) { .nav-inner { grid-template-columns: 1fr auto; } .nav-links, .nav-cta { display: none; } .nav-burger { display: inline-flex; } }
@media (max-width: 420px) { .mnav-tools { grid-template-columns: 1fr; } }
.lang-switch { margin: 0 0 16px; font-size: .875rem; } .lang-switch a { color: var(--signal); font-weight: 500; }
html[lang^="hi"] body { line-height: 1.7; }

/* hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; } }
.search-cta { display: flex; align-items: center; gap: 12px; width: min(100%, 480px); height: 52px; padding: 0 12px 0 18px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); color: var(--text-3); font-size: 1rem; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.search-cta:hover { border-color: var(--text-3); box-shadow: var(--shadow-lg); }
.search-cta kbd { margin-left: auto; }
.trust { font-size: .8125rem; color: var(--text-3); margin: 16px 0 0; }

/* calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); overflow: hidden; }
.calc-controls { display: flex; flex-direction: column; gap: 24px; padding: clamp(20px, 3vw, 32px); border-right: 1px solid var(--line); }
.calc-result { padding: clamp(20px, 3vw, 32px); }
.calc-compact { grid-template-columns: 1fr; box-shadow: var(--shadow-lg); }
.calc-compact .calc-controls { border-right: 0; border-bottom: 1px solid var(--line); gap: 16px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-controls { border-right: 0; border-bottom: 1px solid var(--line); } }
.hero-fig { font-size: clamp(2.75rem, 2.2rem + 2vw, 3.75rem); line-height: 1; font-weight: 600; letter-spacing: -.035em; margin: 0 0 12px; }
.calc-vs { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9375rem; color: var(--text-2); margin: 0 0 20px; }
.calc-vs s { text-decoration-color: var(--text-3); }
.hidden-amt { color: var(--signal); } .hidden-amt b { font-weight: 600; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 24px; }

/* segmented bar: thin 8px or tall 28px */
.segbar { display: flex; gap: 2px; width: 100%; height: 8px; margin-bottom: 14px; }
.segbar.tall { height: 28px; }
.segbar span { width: var(--w); min-width: 3px; background: var(--c); border-radius: 4px; color: #fff; font-size: .75rem; font-weight: 600; line-height: 28px; padding-left: 8px; overflow: hidden; white-space: nowrap; transition: width .5s var(--ease); cursor: default; }
.segbar span:first-child { border-radius: 999px 4px 4px 999px; } .segbar span:last-child { border-radius: 4px 999px 999px 4px; }
.segbar span.dark-ink { color: #141413; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; padding: 0; margin: 0 0 20px; font-size: .8125rem; color: var(--text-2); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend i, .lines i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }

/* line table */
.lines { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.lines th { text-align: left; font-weight: 500; padding: 12px 0; border-top: 1px solid var(--line); }
.lines th i { display: inline-block; margin-right: 10px; }
.lines th small { display: block; font-weight: 400; color: var(--text-3); font-size: .8125rem; margin: 2px 0 0 20px; }
.lines td { text-align: right; padding: 12px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; font-weight: 500; vertical-align: top; white-space: nowrap; }
.lines tr.zero { opacity: .45; }
.lines tfoot th, .lines tfoot td { border-top: 1px solid var(--text); font-weight: 600; font-size: 1.0625rem; padding-top: 14px; }
.tag { font-size: .6875rem; font-weight: 600; color: #1B64BE; background: #E8F1FC; border-radius: 999px; padding: 2px 7px; margin-left: 8px; vertical-align: 1px; }

/* stats */
.stats-band { padding-block: 0 clamp(40px, 6vw, 72px); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-label { font-size: .875rem; color: var(--text-2); }
.stat-value { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.stat-note { font-size: .8125rem; color: var(--text-3); }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; } }

/* 3D stage */
.stage { position: relative; margin: 0; height: clamp(440px, 52vw, 620px); overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, var(--surface-2) 100%); }
.two-col .stage { height: auto; min-height: 480px; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.stage canvas:active { cursor: grabbing; }
.stage figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 14px 20px; font-size: .8125rem; color: var(--text-3); pointer-events: none; }
.stage figcaption .legend { margin: 0; }
.stage-labels { position: absolute; inset: 0; pointer-events: none; }
.stage-label { position: absolute; transform: translate(-50%, 0); text-align: center; font-size: .8125rem; line-height: 1.3; white-space: nowrap; }
.stage-label b { display: block; font-size: .9375rem; font-weight: 600; }
.stage-label span { color: var(--text-2); font-variant-numeric: tabular-nums; }

/* tooltip */
.tooltip { position: fixed; z-index: 300; pointer-events: none; background: var(--text); color: #fff; font-size: .8125rem; line-height: 1.4; padding: 8px 10px; border-radius: 8px; box-shadow: var(--shadow-lg); transform: translate(-50%, calc(-100% - 12px)); white-space: nowrap; }
.tooltip b { font-weight: 600; }

/* city list */
.city-list { border-top: 1px solid var(--line); }
.city-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 180px 24px; gap: 32px; align-items: center; padding: 20px 8px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s; }
.city-row:hover { background: var(--surface); }
.city-name { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; } .city-name small { display: block; font-size: .8125rem; color: var(--text-3); font-weight: 400; letter-spacing: 0; }
.range-bar { position: relative; height: 8px; background: var(--surface-3); border-radius: 999px; }
.range-bar i { position: absolute; top: 0; bottom: 0; left: var(--a); right: calc(100% - var(--b)); background: #B6D5F8; border-radius: 999px; }
.range-bar b { position: absolute; top: 50%; left: var(--t); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--s-maint); box-shadow: 0 0 0 3px var(--surface); }
.city-num { text-align: right; font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; } .city-num small { display: block; font-size: .8125rem; color: var(--text-3); font-weight: 400; }
.chev { color: var(--text-3); transition: transform .2s var(--ease), color .2s; } .city-row:hover .chev { transform: translateX(3px); color: var(--text); }
@media (max-width: 720px) { .city-row { grid-template-columns: 1fr auto; gap: 12px; } .range-bar { grid-column: 1 / -1; grid-row: 2; } .chev { display: none; } }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.feature { background: var(--surface); padding: 28px; }
.feature-n { display: block; font-size: .8125rem; font-weight: 500; color: var(--text-3); margin-bottom: 20px; font-variant-numeric: tabular-nums; }
.feature p { margin: 0; color: var(--text-2); font-size: .9375rem; }

/* page head & key values */
.page-head { padding-block: clamp(28px, 5vw, 56px) clamp(16px, 3vw, 24px); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: end; }
@media (max-width: 900px) { .page-head-grid { grid-template-columns: 1fr; } }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 24px; font-size: .8125rem; color: var(--text-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--text); }
.kv { margin: 0; padding: 8px 24px; }
.kv div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.kv div:first-child { border-top: 0; }
.kv dt { font-size: .875rem; color: var(--text-2); }
.kv dd { margin: 0; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.kv-big { font-size: 1.75rem; font-weight: 600 !important; letter-spacing: -.025em; } .kv-big small { font-size: .875rem; color: var(--text-3); font-weight: 400; letter-spacing: 0; }

/* tables, sources */
.data { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: 8px 0 12px; }
.data th { text-align: left; font-size: .8125rem; font-weight: 500; color: var(--text-3); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-2); }
.data td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-variant-numeric: tabular-nums; }
.src-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.src { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--text-2); text-decoration: none; background: var(--surface-2); border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; transition: border-color .2s, color .2s; }
.src:hover { border-color: var(--line-2); color: var(--text); }

/* pincodes & societies */
.pin-grid, .soc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pin, .soc { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.pin:hover, .soc:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.pin-code { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pin-name { font-size: .9375rem; color: var(--text-2); }
.pin-meta, .soc-meta { font-size: .8125rem; color: var(--text-3); }

/* report form */
.form { display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 3vw, 32px); }
.form .btn { align-self: flex-start; margin-top: 8px; }
.form-msg { margin: 0; font-size: .875rem; color: var(--ok); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--text-2); }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #E7F4EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%230F7B4D' stroke-width='4'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") no-repeat center; flex: none; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-size: 1.0625rem; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { margin: 0 0 20px; color: var(--text-2); max-width: 65ch; }

/* search dialog */
.search { position: fixed; inset: 0; z-index: 200; background: rgba(20, 20, 19, .32); backdrop-filter: blur(4px); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.search[hidden] { display: none; }
.search-dialog { width: min(640px, 100%); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.search-field { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--text-3); }
.search-field input { flex: 1; height: 56px; border: 0; outline: none; font-size: 1.0625rem; background: none; color: var(--text); }
.search-field kbd { cursor: pointer; }
.search-results { list-style: none; margin: 0; padding: 6px; max-height: 60vh; overflow: auto; }
.search-results a { display: flex; justify-content: space-between; gap: 16px; padding: 12px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.search-results a small { color: var(--text-3); font-weight: 400; font-size: .875rem; text-align: right; }
.search-results a.active { background: var(--surface-2); }
.search-results .empty { padding: 16px 12px; color: var(--text-3); font-size: .9375rem; }

/* footer */
.footer { border-top: 1px solid var(--line); padding-top: 64px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h2 { font-size: .8125rem; font-weight: 600; margin: 0 0 14px; }
.footer a:not(.brand) { display: block; font-size: .875rem; color: var(--text-2); text-decoration: none; padding: 4px 0; } .footer a:not(.brand):hover { color: var(--text); }
.footer p { font-size: .875rem; color: var(--text-3); margin: 12px 0 0; max-width: 40ch; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); margin-top: 48px; padding-block: 24px; font-size: .8125rem; color: var(--text-3); }

/* motion: subtle, interruptible */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.feature-cta { display: flex; flex-direction: column; text-decoration: none; background: var(--text); color: #fff; }
.feature-cta .feature-n, .feature-cta p { color: rgba(255, 255, 255, .7); }
.feature-cta .btn { margin-top: auto; align-self: flex-start; background: #fff; color: var(--text); }
.feature-cta p { margin-bottom: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* City society map (MapLibre) */
.mapbox { position: relative; margin: 0; height: clamp(28rem, 72vh, 42rem); overflow: hidden; padding: 0; }
.map-canvas, .mapbox .map-canvas.maplibregl-map { position: absolute; inset: 0; }
.map-tabs { position: absolute; top: 1rem; left: 1rem; z-index: 3; display: flex; flex-wrap: wrap; gap: .25rem; padding: .25rem; max-width: calc(100% - 5rem); background: rgb(255 255 255 / .9); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
.map-tabs button { font: inherit; font-size: .875rem; font-weight: 500; padding: .375rem .875rem; border: 0; border-radius: 999px; background: none; color: var(--text-2); cursor: pointer; transition: background .15s, color .15s; }
.map-tabs button:hover { color: var(--text); }
.map-tabs button[aria-pressed="true"] { background: var(--text); color: #fff; }
.map-legend { position: absolute; left: 1rem; bottom: 3rem; z-index: 2; display: grid; grid-template-columns: auto; gap: .25rem; padding: .625rem .75rem; font-size: .75rem; color: var(--text-2); background: rgb(255 255 255 / .92); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 10px; pointer-events: none; }
.map-legend i { display: block; width: 9rem; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #F2C9A9, #E8743B 50%, #A8330A); }
.map-legend-scale { display: flex; justify-content: space-between; } .map-legend-scale em { font-style: normal; font-variant-numeric: tabular-nums; }
.map-legend-grey { display: flex; align-items: center; gap: .375rem; } .map-legend-grey b { width: 10px; height: 10px; border-radius: 2px; background: #D6D0C7; }
.map-empty { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; margin: 0; padding: 2rem; text-align: center; color: var(--text-2); background: rgb(251 250 248 / .85); }
.mapbox figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: .625rem 1rem; font-size: .8125rem; color: var(--text-2); background: linear-gradient(transparent, rgb(255 255 255 / .9) 40%); pointer-events: none; padding-right: 9rem; }
.mapbox .maplibregl-ctrl-top-right { top: .5rem; right: .5rem; }
.mapbox .maplibregl-cooperative-gesture-screen { font-family: inherit; font-size: .9375rem; }
@media (max-width: 640px) { .map-legend { display: none; } .mapbox figcaption { padding-right: 1rem; padding-bottom: 1.75rem; } }
.map-empty[hidden] { display: none; }
.form-err { color: var(--signal); }
.map-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: calc(100% - 4.5rem); }
.map-tabs::-webkit-scrollbar { display: none; }
.map-tabs button { white-space: nowrap; }
.mapbox-focus { height: clamp(26rem, 64vh, 38rem); }
.mapbox-focus .map-legend { bottom: 2.75rem; }
.mapbox .maplibregl-ctrl-group { border-radius: 10px; box-shadow: 0 1px 3px rgb(0 0 0 / .08); border: 1px solid var(--line); }
.mapbox:fullscreen { border-radius: 0; }
.soc-pop .maplibregl-popup-content { font: inherit; font-size: .875rem; line-height: 1.45; padding: .75rem 2rem .75rem .875rem; border-radius: 10px; box-shadow: 0 8px 24px rgb(0 0 0 / .12); }
.soc-pop a { display: inline-block; margin-top: .375rem; font-weight: 600; color: var(--signal); }

/* Hero: ruled notebook page */
.hero-notebook { position: relative; isolation: isolate; overflow: hidden; }
.hero-notebook::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  repeating-linear-gradient(to bottom, transparent 0 35px, rgb(76 126 186 / .16) 35px 36px) 0 18px,
  #FFFEFA;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.hero-notebook::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: -1; left: max(12px, calc((100% - min(var(--container), 100% - var(--gutter) * 2)) / 2 - 28px)); width: 5px;
  border-inline: 1.5px solid rgb(217 72 15 / .32); -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.scribble { position: relative; white-space: nowrap; }
.scribble svg { position: absolute; left: -2%; right: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.scribble path { fill: none; stroke: var(--signal); stroke-width: 5; stroke-linecap: round; opacity: .85; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1s .5s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-calc { position: relative; }
.sticky-note { position: absolute; z-index: 2; top: -30px; right: -18px; display: grid; grid-template-columns: auto auto; gap: 0 10px; align-items: baseline; padding: 12px 16px 14px; background: #FFE88A; color: #3A3426; font: 600 1.25rem/1.15 "Hand", var(--font); transform: rotate(3.5deg); box-shadow: 0 10px 20px -8px rgb(60 50 20 / .35), 0 1px 0 rgb(0 0 0 / .04); border-radius: 2px 2px 14px 2px; }
.sticky-note::before { content: ""; position: absolute; top: -10px; left: 50%; width: 64px; height: 20px; transform: translateX(-50%) rotate(-4deg); background: rgb(255 255 255 / .55); box-shadow: 0 1px 2px rgb(0 0 0 / .06); }
.sticky-note s { text-decoration-thickness: 2px; text-decoration-color: var(--signal); }
.sticky-note b { color: var(--signal); font-weight: 600; font-size: 1.5rem; }
@media (max-width: 900px) { .sticky-note { top: -24px; right: 8px; font-size: 1.0625rem; } .sticky-note b { font-size: 1.25rem; } .hero-notebook::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .scribble path { animation: none; stroke-dashoffset: 0; } }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 24px 24px 24px 72px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.step-n { position: absolute; left: 22px; top: 20px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--text); color: #fff; font-weight: 600; font-size: .9375rem; }
.step h3 { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--text-2); font-size: .9375rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Fair-rate check */
.fair { align-items: center; }
.fair-bar { position: relative; height: 12px; margin: 24px 0 8px; border-radius: 6px; background: linear-gradient(90deg, #DDEFE6 0%, #F2F0EA 45%, #FBE3D6 100%); }
.fair-bar i { position: absolute; top: 0; bottom: 0; left: var(--lo, 20%); right: calc(100% - var(--hi, 80%)); border-radius: 6px; background: rgb(20 20 19 / .1); }
.fair-bar b { position: absolute; top: 50%; left: var(--x, 50%); width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--signal); border: 3px solid #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .25); transition: left .45s cubic-bezier(.2, .8, .2, 1); }
.fair-scale { position: relative; height: 18px; font-size: .75rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.fair-scale span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.fair-verdict { margin: 16px 0 0; font-size: 1.0625rem; line-height: 1.45; } .fair-verdict b { font-weight: 600; }

/* Use cases */
.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.use { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: inherit; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.use:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.use h3 { margin: 0; font-size: 1.0625rem; font-weight: 600; }
.use p { margin: 0 0 8px; color: var(--text-2); font-size: .9375rem; }
.use span { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--signal); }

/* ---------- renter tools ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.tool { display: flex; flex-direction: column; gap: 8px; padding: 24px; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.tool:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.tool h3 { margin: 4px 0 0; } .tool p { margin: 0 0 8px; color: var(--text-2); font-size: .9375rem; }
.tool-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); color: var(--signal); }
.tool-go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--signal); }
.tool-grid-sm .tool { padding: 20px; }
.tool-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); }
.tool-box-1 { display: block; }
.tool-box-1 > * + * { margin-top: 16px; }
.tool-in { display: grid; gap: 16px; align-content: start; }
.tool-out { background: var(--surface-2); border-radius: var(--r); padding: clamp(20px, 3vw, 28px); align-self: start; }
.tool-label { margin: 0; font-size: .875rem; color: var(--text-3); font-weight: 500; }
.tool-big { margin: 2px 0 12px; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.tool-out .lines th i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); vertical-align: -1px; }
.lines tr.sub th, .lines tr.sub td { border-top: 1px solid var(--text); font-weight: 600; }
@media (max-width: 860px) { .tool-box { grid-template-columns: 1fr; } }
.estimator { border: 1px dashed var(--line-2); border-radius: var(--r); padding: 12px 16px; }
.estimator summary { cursor: pointer; font-weight: 500; font-size: .9375rem; }
.estimator[open] summary { margin-bottom: 12px; } .estimator .field-row { margin-bottom: 12px; }
.split-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; gap: 2px; margin-bottom: 8px; }
.split-bar span { width: var(--w); background: var(--c); }
.split-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.split-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-weight: 500; }
.split-list b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.split-list small { color: var(--text-3); font-weight: 400; }
.split-list i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--signal) var(--w), var(--surface-3) var(--w)); }
.rooms { display: grid; gap: 10px; }
.room { display: grid; grid-template-columns: 1.4fr 1.1fr .7fr; gap: 10px; align-items: end; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.room-opts { grid-column: 1 / -1; display: flex; gap: 20px; align-items: center; } .room .check { font-size: .875rem; white-space: nowrap; } .room .btn-link { margin-left: auto; font-size: .8125rem; }
@media (max-width: 640px) { .room { grid-template-columns: 1fr 1fr; } .room > .field:first-child { grid-column: 1 / -1; } }
.receipts { display: grid; gap: 16px; align-content: start; max-height: 640px; overflow: auto; padding: 4px; }
.receipt { border: 1px solid var(--line-2); border-radius: var(--r); padding: 20px 22px; background: var(--surface); font-size: .9375rem; break-inside: avoid; page-break-inside: avoid; }
.receipt header { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line-2); padding-bottom: 10px; margin-bottom: 10px; }
.receipt header b { text-transform: uppercase; letter-spacing: .08em; font-size: .8125rem; } .receipt header span { color: var(--text-3); font-size: .8125rem; }
.receipt p { margin: 0 0 16px; line-height: 1.7; }
.receipt footer { display: flex; justify-content: space-between; align-items: end; gap: 16px; font-size: .875rem; }
.receipt .sign { border-top: 1px solid var(--text-3); padding-top: 4px; min-width: 140px; text-align: center; color: var(--text-3); position: relative; }
.receipt .stamp { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); border: 1px dashed var(--text-3); padding: 10px 6px; font-size: .6875rem; font-style: normal; }
.receipt .blank { color: var(--text-3); }
.table-scroll { overflow-x: auto; }
.prose blockquote { margin: 16px 0; padding: 16px 20px; background: var(--surface-2); border-left: 3px solid var(--signal); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.prose table small { display: block; color: var(--text-3); }
.h3 { font-size: 1.125rem; margin: 0 0 8px; }
@media print {
  .nav, .footer, .no-print, .crumbs, .tool-in, [data-tool="receipt"] ~ *, .search, .tooltip { display: none !important; }
  body { background: #fff; } .section, .section-tight { padding: 0; } .card, .tool-box { border: 0; box-shadow: none; padding: 0; display: block; }
  .receipts { max-height: none; overflow: visible; gap: 0; } .receipt { margin-bottom: 14mm; border-color: #999; }
}
.partner { margin-top: 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; } .partner p { margin: 0; flex: 1; min-width: 220px; }
.partner-tag { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); border: 1px solid var(--line-2); border-radius: 4px; padding: 2px 6px; }
@media (min-width: 961px) { .mnav { display: none !important; } }

/* ---------- UX review round ---------- */
.tool-verdict { margin: -4px 0 16px; font-weight: 600; color: var(--text); font-size: 1rem; line-height: 1.5; }
.tool-verdict b { color: var(--signal); }
.tool-info { margin: 0; padding: 10px 14px; background: var(--surface-2); color: var(--text-2); border-left: 3px solid var(--signal); border-radius: 0 8px 8px 0; font-size: .9375rem; }
.tool-info[hidden] { display: none; }
.lang-switch { margin: 14px 0 0; } .lang-switch a { display: inline-flex; padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-size: .875rem; background: var(--surface); color: var(--text); }
.lang-switch a:hover { border-color: var(--text-3); }
.page-head + .section-tight { padding-top: 8px; }
.range-num { width: 5.5em; padding: 2px 6px; margin: 0 4px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--surface); font: inherit; font-weight: 600; text-align: right; -moz-appearance: textfield; }
.range-num::-webkit-inner-spin-button { -webkit-appearance: none; }
.room-opts { flex-wrap: wrap; gap: 4px 20px; } .room .check { min-height: 44px; } .room .btn-link { min-height: 44px; padding: 0 12px; }
.peek { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 0; border-radius: 14px; background: #141413; color: #fff; box-shadow: var(--shadow-lg); font: inherit; text-align: left; cursor: pointer; animation: peek-in .2s var(--ease); }
.peek[hidden] { display: none; } .peek span { flex: 1; font-size: .8125rem; opacity: .75; } .peek b { font-size: 1.25rem; font-variant-numeric: tabular-nums; } .peek i { font-style: normal; opacity: .7; }
@keyframes peek-in { from { transform: translateY(16px); opacity: 0; } }
@media (min-width: 861px) { .peek { display: none !important; } }
@media (max-width: 860px) { .receipts { max-height: none; overflow: visible; } [data-print] { width: 100%; } .share-row .btn { flex: 1 1 auto; justify-content: center; } }
@media print { .peek { display: none !important; } }

/* ---------- aligned secondary sections ---------- */
.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.split-side .h2 { margin-top: 4px; } .split-side .muted { font-size: .9375rem; margin-top: 12px; } .split-side a { color: var(--text); }
@media (min-width: 901px) { .split-side { position: sticky; top: 96px; } }
@media (max-width: 900px) { .split-grid { grid-template-columns: 1fr; } }
.section-faq .faq { border-top: 0; display: grid; gap: 10px; }
.section-faq .faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.section-faq .faq details:hover { border-color: var(--line-2); }
.section-faq .faq details[open] { box-shadow: var(--shadow); border-color: var(--line-2); }
.section-faq .faq summary { padding: 18px 52px 18px 20px; font-weight: 600; font-size: 1rem; }
.section-faq .faq summary::after { right: 22px; }
.section-faq .faq p { padding: 0 20px 18px; margin: 0; max-width: none; }
.cta-card { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(120deg, #FFF6EF 0%, var(--surface) 55%); color: inherit; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.cta-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #F3D3BE; }
.cta-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--surface); border: 1px solid #F3D3BE; color: var(--signal); }
.cta-ico svg { width: 24px; height: 24px; }
.cta-body { display: grid; gap: 4px; } .cta-body b { font-size: 1.125rem; letter-spacing: -.01em; } .cta-body span { color: var(--text-2); font-size: .9375rem; }
@media (max-width: 640px) { .cta-card { grid-template-columns: auto 1fr; padding: 20px; } .cta-btn { grid-column: 1 / -1; justify-content: center; } }
.explain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(20px, 4vw, 56px); padding: clamp(24px, 3vw, 36px); }
.explain .h3 { font-size: 1.25rem; } .explain-body p { margin: 0 0 12px; color: var(--text-2); } .explain-body p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .explain { grid-template-columns: 1fr; } }

/* City chips on tool pages */
.chip-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.chip-label{font-size:13px;font-weight:600;color:var(--text-3);margin-right:4px;text-transform:uppercase;letter-spacing:.06em}
.chip{display:inline-flex;align-items:center;padding:7px 14px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:14px;color:inherit;text-decoration:none;transition:border-color .15s,background .15s,transform .15s}
a.chip:hover{border-color:var(--signal);background:#FFF6EF;transform:translateY(-1px)}
.chip-on{background:var(--text);color:#fff;border-color:transparent}

/* Co-branded link line, HR kit, how-to steps */
.shared-by{display:inline-block;margin:0 0 14px;padding:8px 14px;border-radius:999px;background:#FFF6EF;border:1px solid #F6D9C4;font-size:14px;color:var(--text-2)}
.hr-row{display:flex;gap:8px;margin-bottom:16px}
.hr-field{width:100%;font:inherit;font-size:14px;padding:10px 12px;border:1px solid var(--line-2);border-radius:var(--r-sm);background:var(--surface-2);color:var(--text)}
.hr-mail{resize:vertical;line-height:1.5;margin-bottom:12px}
.howto{counter-reset:s;list-style:none;padding:0}
.howto li{counter-increment:s;position:relative;padding:4px 0 14px 48px}
.howto li::before{content:counter(s);position:absolute;left:0;top:2px;width:32px;height:32px;border-radius:50%;background:var(--signal);color:#fff;display:grid;place-items:center;font-weight:600}
.tool-eg{display:inline-block;align-self:flex-start;margin:0 0 12px;padding:4px 10px;border-radius:6px;background:var(--surface-2);font-size:.8125rem;font-weight:500;color:var(--text);font-variant-numeric:tabular-nums}

/* How it's calculated */
.calc-how { scroll-margin-top: 90px; scroll-margin-bottom: 72px; }
.calc-meta { font-size: .875rem; margin-top: 10px; }
.calc-steps { list-style: none; counter-reset: f; margin: 0; padding: 0; }
.calc-steps li { counter-increment: f; position: relative; padding: 0 0 18px 38px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.calc-steps li:last-child { margin-bottom: 8px; }
.calc-steps li::before { content: counter(f); position: absolute; left: 0; top: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--text); color: #fff; font-size: .75rem; font-weight: 600; display: grid; place-items: center; }
.f-line { margin: 0 !important; padding: 10px 14px; border-radius: var(--r-sm); background: var(--surface-2); font-size: .9375rem; font-weight: 500; color: var(--text) !important; font-variant-numeric: tabular-nums; overflow-x: auto; }
.f-line i { font-style: normal; color: var(--text-3); padding: 0 2px; }
.f-say { margin: 8px 0 0 !important; font-size: .9375rem; max-width: 60ch; }
.calc-ex-h { font-size: 1rem; margin: 8px 0 8px; }
.calc-ex { width: 100%; margin-bottom: 10px; }
.calc-ex td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc-ex tr.sub td { border-top: 1px solid var(--text); font-weight: 600; }
.how-link { display: inline-block; margin-top: 8px; font-size: .8125rem; color: var(--text-3); }
.calc-ex td:first-child { text-align: left; white-space: normal; font-weight: 400; color: var(--text-2); padding-right: 16px; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-grid-feat { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 900px) { .post-grid, .post-grid-feat { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-lg); color: inherit; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.post-cat { margin: 0 0 8px; font-size: .8125rem; font-weight: 500; color: var(--text-3); }
.post-card h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.post-ex { margin: 0 0 14px; color: var(--text-2); font-size: .9375rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-key { align-self: flex-start; margin: auto 0 10px; padding: 4px 10px; border-radius: 6px; background: var(--surface-2); font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.post-date { font-size: .8125rem; color: var(--text-3); }
.post-feat { box-shadow: inset 0 4px 0 var(--signal); }
.post-feat h3 { font-size: 1.5rem; }
.byline { margin: 16px 0 0; font-size: .875rem; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.byline .lang-switch { margin-left: 6px; }
.keynum { display: flex; flex-direction: column; gap: 4px; margin: 0 0 24px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--signal); border-radius: var(--r); }
.keynum b { font-size: 1.875rem; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.keynum span { color: var(--text-2); font-size: .875rem; }
.toc { margin: 0 0 28px; padding: 14px 20px; }
.toc summary { cursor: pointer; font-weight: 600; font-size: .9375rem; }
.toc ol { margin: 10px 0 4px; padding-left: 20px; font-size: .9375rem; } .toc li { margin: 4px 0; }
.post-body { font-size: 1.0625rem; line-height: 1.7; }
.post-body > * { max-width: 68ch; }
.post-body h2 { scroll-margin-top: 90px; margin-top: 36px; }
.post-body .table-scroll { max-width: none; margin: 16px 0; }
.post-trust { margin-top: 32px; font-size: .9375rem; } .post-trust p { margin: 0 0 8px; color: var(--text-2); }
:lang(hi) .h1, :lang(hi) .h2, :lang(hi) .post-card h3 { letter-spacing: 0; }
:lang(hi) .post-body { line-height: 1.85; }
.section-head .btn-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; color: var(--signal); }
.table-scroll { position: relative; }
@media (max-width: 640px) { .data td { white-space: nowrap; } }
.mnav-blog { display: flex; flex-direction: column; gap: 2px; margin: 0 0 16px; padding: 14px 16px; border-radius: var(--r); background: #FFF6EF; border: 1px solid #F6D9C4; font-weight: 600; color: var(--text); text-decoration: none; }
.mnav-blog small { font-weight: 400; font-size: .8125rem; color: var(--text-2); }

/* Bill check */
.chk-list { list-style: none; margin: 8px 0 16px; padding: 0; }
.chk { display: grid; grid-template-columns: 14px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.chk p { margin: 4px 0 0; font-size: .875rem; color: var(--text-2); }
.chk-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; background: var(--ok); }
.chk-warn .chk-dot { background: #E3A008; } .chk-bad .chk-dot { background: #C92A2A; } .chk-info .chk-dot { background: var(--line-2); }
.chk-tag { font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #E6F4EC; color: var(--ok); margin-left: 6px; }
.chk-warn .chk-tag { background: #FDF3D8; color: #8A5A00; } .chk-bad .chk-tag { background: #FDE8E8; color: #A61B1B; } .chk-info .chk-tag { background: var(--surface-2); color: var(--text-3); }
.chk-qs { margin: 0 0 16px; padding: 14px 16px; border-radius: var(--r); background: var(--surface-2); }
.chk-qs ol { margin: 6px 0 0; padding-left: 20px; font-size: .9375rem; } .chk-qs li { margin: 6px 0; }
.chk-qs { background: var(--surface); border: 1px solid var(--line); }
.bc-ex { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; }

/* Review round: bill check outcome first, blog polish, compact phone menu */
.tool-big.is-bad { color: #C92A2A; }
.chk-tag { white-space: nowrap; }
.chk-bad { background: #FDF3F2; margin: 0 -12px; padding: 12px; border-radius: var(--r-sm); border-top-color: transparent; }
.chk-bad + .chk { border-top-color: transparent; }
[data-tool="billcheck"] .tool-in { align-self: start; }
@media (max-width: 640px) { [data-tool="billcheck"] .tool-out { margin: 0 -12px; } }
.post-feat { box-shadow: none; border-top: 3px solid var(--signal); }
.post-body .data th:not(:first-child), .post-body .data td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
:lang(hi) a { text-underline-offset: 5px; }
.byline .chip-lang, .lead .chip-lang { padding: 3px 12px; font-size: .8125rem; margin-left: 4px; }
.chip-lang { display: inline-flex; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; color: var(--text); background: var(--surface); }
.mnav-tools { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
.mnav-tools a { padding: 8px !important; font-size: .875rem !important; min-height: 48px; }
.mnav-tools .dd-ico { width: 30px !important; height: 30px !important; }
.mnav-tools .dd-ico svg { width: 18px; height: 18px; }
.data.compare th[scope="row"] { font-weight: 500; text-align: left; color: var(--text-2); }
.data.compare td { font-variant-numeric: tabular-nums; }
.data.compare td.win { font-weight: 600; color: var(--ok); background: #EEF7F1; }
.dd-compare { float: right; font-weight: 600; color: var(--signal); text-decoration: none; display: inline-flex; gap: 4px; align-items: center; }
/* Pincode facts */
.pin-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:0 0 20px}
.pin-facts>div{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px}
.pin-facts dt{font-size:.8rem;color:var(--text-3);margin-bottom:4px}
.pin-facts dd{margin:0;font-size:1.35rem;font-weight:600;font-variant-numeric:tabular-nums}
.pin-facts dd small{display:block;font-size:.8rem;font-weight:400;color:var(--text-3);margin-top:2px}
.pin-sub{margin:28px 0 4px}
/* Tariff freshness */
.fresh{font-size:.875rem;margin:0 0 14px;color:var(--text-2)}
.fresh-ok{color:var(--text-3)}
.fresh-ok::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--ok);margin-right:8px;vertical-align:middle}
.fresh-old{background:#FFF6E5;border:1px solid #F2D49B;border-radius:var(--r);padding:10px 14px;line-height:1.5}
.fresh-old b{color:#8A5300;margin-right:4px}
/* UX review fixes */
.field.range span input.range-num:not([type=range]) { width: 5.5em; height: 32px; padding: 2px 8px; margin: 0 4px; font-weight: 600; }
.field.range > span { display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 4px; }
.page-head-grid { align-items: start; }
.tool-box-1 .tool-label { margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.tool-box-1 > .tool-label:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 640px) {
  .table-scroll:not(.card) { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 24px; }
  .table-scroll .data th:first-child, .table-scroll .data td:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); white-space: normal; min-width: 8.5em; }
  .data td { padding-right: 8px; }
  .pin-grid, .soc-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pin, .soc { padding: 12px 14px; }
  .footer-grid details > summary { list-style: none; }
}
.chk-more { margin-top: 8px; }
.chk-more > summary { cursor: pointer; font-size: .9rem; color: var(--text-2); padding: 10px 0; }
.footer-cities { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.tag-low { color: #1E6B35; background: #E3F3E7; }
.tool-big.is-bad { color: var(--text); }
.tool-big.is-bad::before { content: ""; display: inline-block; width: .32em; height: .32em; border-radius: 50%; background: #C92A2A; margin-right: .3em; vertical-align: .22em; }
.more-socs { margin-top: 16px; } .more-socs > summary { list-style: none; display: inline-flex; } .more-socs > summary::-webkit-details-marker { display: none; } .more-socs[open] > summary { margin-bottom: 16px; }
@media (max-width: 640px) { .post-body .table-scroll .data th:first-child, .post-body .table-scroll .data td:first-child { background: var(--bg); } }
