/* Layout: ek hi dark "raat ki rasoi" look, haldi accent, serif headlines + saaf grotesk body */
:root {
  --ink: #12110f;      /* page */
  --ink-2: #1b1916;    /* surface */
  --ink-3: #24211d;    /* raised */
  --line: #34302a;
  --bone: #efe8dc;     /* text */
  --muted: #a69d8f;
  --haldi: #d9a44a;    /* accent */
  --haldi-ink: #1a1408;
  --sage: #93b99d;
  --rose: #e0917f;
  --display: "Instrument Serif", "Tiro Devanagari Hindi", "Georgia", "Times New Roman", serif;
  --body: "Hanken Grotesk", "Noto Sans Devanagari", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--haldi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--haldi); outline-offset: 3px; border-radius: 6px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Buttons */
.btn {
  appearance: none; border: 1px solid transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--body); text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--haldi); color: var(--haldi-ink); }
.btn-primary:hover { background: #e4b15a; }
.btn-ghost { background: transparent; color: var(--bone); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 8px; }

/* ---------- Landing ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--ink) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--ink); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { font-family: var(--display); font-size: 26px; color: var(--bone); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; line-height: 1; }
.logo .mark { width: 26px; height: 26px; flex: none; }
.logo .wm span { color: var(--haldi); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button { background: none; border: 0; color: var(--muted); font: 600 13px var(--body); padding: 7px 10px; border-radius: 999px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--ink-3); color: var(--bone); }
@media (max-width: 440px) { .nav .btn { display: none; } }

.hero { padding-block: 56px 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); }
.hero h1 em { font-style: italic; color: var(--haldi); }
.hero .lede { font-size: 19px; color: var(--muted); margin-top: 22px; max-width: 34ch; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.hero .fine { font-size: 14px; color: var(--muted); }

/* Phone mock with 30-day ring */
.phone {
  justify-self: center; width: min(340px, 100%);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 36px;
  padding: 22px 20px 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
}
.phone .ph-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.ring { position: relative; width: 200px; height: 200px; margin: 18px auto 8px; }
.ring svg { width: 100%; height: 100%; }
.ring .center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .big { font-family: var(--display); font-size: 58px; line-height: 1; }
.ring .small { font-size: 13px; color: var(--muted); }
.ph-meal { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ph-meal b { font-weight: 600; color: var(--muted); font-size: 12px; min-width: 64px; }
.ph-check { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.ph-check span { text-align: center; font-size: 13px; padding: 10px 0; border-radius: 10px; background: var(--ink-3); }
.ph-check span.on { background: var(--haldi); color: var(--haldi-ink); font-weight: 600; }

section.band { padding-block: 72px; border-top: 1px solid var(--line); }
.band h2 { font-size: clamp(34px, 5vw, 54px); max-width: 18ch; }
.band .intro { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 52ch; }

.pairs { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.pair .q { font-family: var(--display); font-size: 26px; line-height: 1.2; }
.pair .a { color: var(--muted); }
.pair .a strong { color: var(--bone); font-weight: 600; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--haldi); padding-top: 18px; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 44px; color: var(--haldi); line-height: 1; display: block; margin-bottom: 10px; }
.steps h3 { font-family: var(--body); font-weight: 600; font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--muted); }

.coach { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; margin-top: 36px; }
.coach .photo { aspect-ratio: 4/5; max-width: 100%; border-radius: var(--r); background: var(--ink-3); border: 1px dashed var(--line); display: grid; place-content: center; color: var(--muted); font-size: 14px; text-align: center; padding: 16px; }
.coach h3 { font-size: 34px; }
.coach p { color: var(--muted); margin-top: 10px; max-width: 48ch; }
.coach .cert { display: inline-block; margin-top: 14px; font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--bone); }

.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.price { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: var(--ink-2); display: flex; flex-direction: column; gap: 18px; }
.price.feature { border-color: var(--haldi); }
.price .tag { font-size: 13px; color: var(--haldi); font-weight: 600; }
.price h3 { font-family: var(--body); font-weight: 600; font-size: 20px; }
.price .amt { font-family: var(--display); font-size: 56px; line-height: 1; }
.price .amt small { font-family: var(--body); font-size: 16px; color: var(--muted); }
.price ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.price li { padding-left: 26px; position: relative; }
.price li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }
.price .btn { margin-top: auto; }
.price-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--haldi); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 64ch; }

.closing { text-align: left; }
.closing .btn { margin-top: 28px; }

footer.site { border-top: 1px solid var(--line); padding-block: 36px 48px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.site a { color: var(--muted); }

/* Policy pages */
.doc { padding-block: 48px 80px; }
.doc h1 { font-size: clamp(36px, 6vw, 56px); }
.doc h2 { font-family: var(--body); font-size: 20px; font-weight: 600; margin-top: 32px; }
.doc p, .doc li { color: var(--muted); max-width: 68ch; margin-top: 10px; }

/* ---------- App ---------- */
.app-shell { min-height: 100%; display: flex; flex-direction: column; }
.app-head { display: flex; justify-content: space-between; align-items: center; min-height: 60px; }
.screen { width: 100%; max-width: 560px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); padding-block: 8px 120px; }
.progress { height: 4px; background: var(--ink-3); border-radius: 4px; overflow: hidden; margin: 6px 0 28px; }
.progress i { display: block; height: 100%; background: var(--haldi); transition: width .3s ease; }
.q-title { font-size: clamp(32px, 7vw, 44px); margin-bottom: 8px; }
.q-sub { color: var(--muted); margin-bottom: 24px; }
.choices { display: grid; gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--ink-2);
  color: var(--bone); font: 500 17px/1.3 var(--body); cursor: pointer;
}
.choice:hover { border-color: var(--muted); }
.choice[aria-pressed="true"] { border-color: var(--haldi); background: color-mix(in srgb, var(--haldi) 12%, var(--ink-2)); }
.choice .box { width: 22px; height: 22px; flex: none; border-radius: 6px; border: 1.5px solid var(--muted); display: grid; place-content: center; }
.choice[aria-pressed="true"] .box { background: var(--haldi); border-color: var(--haldi); }
.choice[aria-pressed="true"] .box::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--haldi-ink); border-bottom: 2px solid var(--haldi-ink); transform: rotate(-45deg) translate(1px, -1px); }

.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14px; color: var(--muted); font-weight: 600; }
.input, select.input, textarea.input {
  width: 100%; min-height: 54px; padding: 0 16px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--ink-2); color: var(--bone);
  font: 500 18px/1.2 var(--body);
}
textarea.input { padding: 14px 16px; min-height: 90px; resize: vertical; font-size: 16px; line-height: 1.5; }
.input:focus { outline: none; border-color: var(--haldi); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.bottom-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
  padding: 14px max(20px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  background: linear-gradient(to top, var(--ink) 70%, transparent);
}
.bottom-cta .inner { max-width: 560px; margin: 0 auto; display: grid; gap: 8px; }

.card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.stack { display: grid; gap: 14px; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kv div { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.kv b { display: block; font-family: var(--display); font-size: 30px; font-weight: 400; line-height: 1.1; }
.kv span { font-size: 13px; color: var(--muted); }
.meal { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.meal:first-of-type { border-top: 0; }
.meal b { font-size: 13px; color: var(--muted); font-weight: 600; padding-top: 2px; }
.section-title { font-family: var(--body); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 8px 0 4px; }
.notice { border-left: 3px solid var(--haldi); padding: 12px 14px; background: var(--ink-2); border-radius: 0 10px 10px 0; color: var(--bone); font-size: 15px; }
.notice.warn { border-color: var(--rose); }
.locked { position: relative; overflow: hidden; }
.locked .blur { filter: blur(6px); opacity: .55; pointer-events: none; user-select: none; }
.locked .lock-msg { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px; padding: 16px; }

.checkin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.checkin button { min-height: 56px; border-radius: var(--r); border: 1px solid var(--line); background: var(--ink-3); color: var(--bone); font: 600 16px var(--body); cursor: pointer; }
.checkin button[aria-pressed="true"] { background: var(--haldi); color: var(--haldi-ink); border-color: var(--haldi); }
.streak { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 10px; }
.streak i { width: 12px; height: 12px; border-radius: 50%; background: var(--ink-3); border: 1px solid var(--line); }
.streak i.y { background: var(--haldi); border-color: var(--haldi); }
.streak i.p { background: color-mix(in srgb, var(--haldi) 45%, var(--ink-3)); border-color: transparent; }
.streak i.n { background: var(--ink-3); border-color: var(--rose); }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
  background: color-mix(in srgb, var(--ink-2) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
}
.tabbar .inner { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.tabbar button { background: none; border: 0; color: var(--muted); font: 600 12px var(--body); padding: 8px 0; cursor: pointer; display: grid; justify-items: center; gap: 4px; }
.tabbar button svg { width: 22px; height: 22px; }
.tabbar button[aria-current="page"] { color: var(--haldi); }

.chat { display: grid; gap: 10px; }
.bubble { max-width: 86%; padding: 12px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; }
.bubble.user { justify-self: end; background: var(--haldi); color: var(--haldi-ink); border-bottom-right-radius: 4px; }
.bubble.model { justify-self: start; background: var(--ink-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-input { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.chat-input .btn { min-height: 54px; padding: 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--ink-2); color: var(--bone); border-radius: 999px; padding: 8px 14px; font: 500 14px var(--body); cursor: pointer; }

canvas.chart { width: 100%; height: 200px; display: block; }

.sheet-back { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 40; display: grid; align-items: end; }
.sheet { background: var(--ink-2); border-top: 1px solid var(--line); border-radius: 22px 22px 0 0; padding: 24px max(20px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); max-height: 90vh; overflow: auto; }
.sheet .inner { max-width: 560px; margin: 0 auto; display: grid; gap: 14px; }
.upi-box { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border: 1px dashed var(--haldi); border-radius: var(--r); font: 600 18px var(--body); word-break: break-all; }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--bone); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; z-index: 50; max-width: calc(100% - 40px); text-align: center; }
.demo-banner { background: var(--ink-3); color: var(--muted); font-size: 13px; text-align: center; padding: 6px 12px; border-bottom: 1px solid var(--line); }

/* Admin */
.admin table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin th, .admin td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.admin .scroll { overflow-x: auto; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--ink-3); color: var(--muted); }
.pill.active { background: color-mix(in srgb, var(--sage) 22%, transparent); color: var(--sage); }
.pill.pending { background: color-mix(in srgb, var(--haldi) 22%, transparent); color: var(--haldi); }
.pill.expired { background: color-mix(in srgb, var(--rose) 22%, transparent); color: var(--rose); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-block: 32px 56px; }
  .pair { grid-template-columns: 1fr; gap: 8px; }
  .steps { grid-template-columns: 1fr; }
  .coach { grid-template-columns: 1fr; }
  .coach .photo { max-width: 220px; }
  .prices { grid-template-columns: 1fr; }
  section.band { padding-block: 56px; }
}
@media (max-width: 380px) {
  .kv { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Hero calculator: "Kya mera wazan kam hoga?" */
.calc { margin-top: 28px; display: grid; gap: 16px; max-width: 460px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--ink-2); }
.calc .field { margin: 0; }
.calc-goal { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 999px; background: var(--ink-3); }
.calc-goal button { border: 0; border-radius: 999px; min-height: 42px; background: transparent; color: var(--muted); font: 600 15px var(--body); cursor: pointer; }
.calc-goal button[aria-pressed="true"] { background: var(--haldi); color: var(--haldi-ink); }
.calc-out { font-size: 17px; line-height: 1.5; min-height: 3em; }
.calc-out b { color: var(--haldi); font-weight: 600; }
.calc .fine { font-size: 13px; color: var(--muted); }
.qgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.qcard { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: var(--ink-2); display: grid; gap: 8px; align-content: start; }
.qcard .q { font-family: var(--display); font-size: 24px; line-height: 1.2; color: var(--bone); }
.qcard p:not(.q) { color: var(--muted); }
@media (max-width: 860px) { .qgrid { grid-template-columns: 1fr; } .calc { max-width: none; } }

/* Clean landing (Temple jaisa): ek column, kam cheezein, zyada khaali jagah */
.landing .hero { padding-block: 64px 72px; }
.landing .hero .wrap { display: block; max-width: 640px; }
.landing .hero h1 { font-size: clamp(46px, 9vw, 80px); }
.landing .hero .lede { font-size: 18px; margin-top: 16px; max-width: 40ch; }
.landing .calc { margin-top: 32px; max-width: none; background: transparent; border-color: var(--line); }
.landing .hero .fine { margin-top: 14px; font-size: 13px; color: var(--muted); }
.wrap.narrow { max-width: 640px; }
.landing section.band { padding-block: 64px; }
.landing .band h2 { font-size: clamp(32px, 5vw, 44px); }
.landing .prices { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
.landing .price { padding: 24px; gap: 14px; }
.landing .price .amt { font-size: 46px; }
.coach-line { display: flex; gap: 18px; align-items: center; }
.coach-line .avatar { width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--ink-3); border: 1px solid var(--line); display: grid; place-content: center; font-family: var(--display); font-size: 30px; color: var(--haldi); }
.coach-line .coach-name { font-weight: 600; font-size: 18px; }
.coach-line p + p { margin-top: 4px; }
.coach-line .cert { margin-top: 8px; }
.stats-line { color: var(--muted); font-size: 15px; padding: 4px 2px; }
.stats-line b { color: var(--bone); font-weight: 600; }

/* Hero ke saath 30-din ring */
.landing .hero .wrap.hero-grid { max-width: 1080px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.landing .hero-text { min-width: 0; }
.ring-hero { margin: 0; position: relative; justify-self: center; width: min(400px, 100%); aspect-ratio: 1; }
.ring-hero svg { width: 100%; height: 100%; display: block; }
.ring-hero .center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; }
.ring-hero .big { font-family: var(--display); font-size: clamp(64px, 10vw, 96px); line-height: 1; }
.ring-hero .unit { font-size: 18px; color: var(--muted); margin-top: 2px; }
.ring-hero .small { font-size: 14px; color: var(--muted); margin-top: 10px; max-width: 18ch; }
@media (max-width: 860px) {
  .landing .hero .wrap.hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .ring-hero { width: min(280px, 78%); }
}

/* Sabse upar ki line: "Plan lo" */
.topbar { display: block; text-align: center; text-decoration: none; background: var(--haldi); color: var(--haldi-ink); font-size: 14px; padding: 9px max(16px, env(safe-area-inset-right, 0px)) 9px max(16px, env(safe-area-inset-left, 0px)); }
.topbar b { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.topbar:hover b { text-decoration-thickness: 2px; }
body.landing::before { background: var(--haldi); }

/* Hindi (Devanagari): matra ke liye zyada line-height, letter-spacing nahi */
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3, :lang(hi) .q-title, :lang(hi) .qcard .q, :lang(hi) .pair .q { line-height: 1.35; letter-spacing: 0; }
:lang(hi) .section-title, :lang(hi) .admin th { letter-spacing: 0; text-transform: none; font-size: 14px; }
:lang(hi) body, :lang(hi) .lede, :lang(hi) p { line-height: 1.75; }

/* Nav: language + Get app */
.nav-right { display: flex; align-items: center; gap: 8px; }
.lang-switch .short { display: none; }
.nav .get-app { min-height: 38px; padding: 0 14px; font-size: 14px; display: inline-flex; }
@media (max-width: 440px) {
  .lang-switch .long { display: none; }
  .lang-switch .short { display: inline; }
  .logo { font-size: 23px; gap: 6px; }
  .logo .mark { width: 22px; height: 22px; }
  .nav .get-app { display: inline-flex; padding: 0 12px; }
}

/* Login: number + OTP, ya Google */
.login { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--ink); }
.login-title { font-family: var(--display); font-size: 26px; line-height: 1.2; }
.phone-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
.phone-row .cc { display: grid; place-content: center; min-height: 54px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--ink-2); font: 600 18px var(--body); color: var(--muted); }
.input.otp { text-align: center; font-size: 26px; letter-spacing: .4em; }
.login-err { color: var(--rose); font-size: 14px; }
.or { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; height: 1px; background: var(--line); }
.login .btn-ghost { gap: 10px; }

/* Language: ek button, dusri bhasha ka naam poora */
.lang-toggle { background: none; border: 1px solid var(--line); color: var(--bone); border-radius: 999px; min-height: 38px; padding: 0 14px; font: 600 14px var(--body); cursor: pointer; white-space: nowrap; }
.lang-toggle:hover { border-color: var(--muted); }
