/* Danlite site stylesheet. One cached file for every page.
   Performance rules used here: only transform/opacity animate, no infinite filter or box-shadow animation,
   backdrop-filter only on the header, main card and document panels, below-the-fold sections skip rendering until near view. */

/* ---------- Themes: blue (default), dark, light, contrast ---------- */
:root, html[data-theme='blue'] {
  color-scheme: dark;
  --html-bg: #0f3170; --bg1: #0d2c63; --bg2: #133b80; --bg3: #1a4b98;
  --text: #f4f8ff; --muted: #e1ecff; --link: #c2e0ff; --err: #ffc9bf; --ok: #9bf2c8;
  --glass: rgba(255,255,255,.07); --border: rgba(200,226,255,.40); --bw: 1px; --sep: rgba(200,226,255,.25);
  --shadow: 0 10px 34px rgba(2,8,24,.28), inset 0 1px 0 rgba(255,255,255,.28); --blur: blur(6px) saturate(160%); --solid: #16408a;
  --field-bg: rgba(8,28,70,.82); --field-border: rgba(200,226,255,.60); --select-bg: #0c2a5e;
  --accent: #1f63de; --accent-hover: #174fb8; --on-accent: #ffffff; --accent-border: rgba(255,255,255,.25);
  --main-bg: linear-gradient(135deg, rgba(30,104,228,.58), rgba(10,46,120,.72)); --main-border: rgba(255,255,255,.5);
  --on-main: #ffffff; --on-main-muted: #e6f0ff; --main-sep: rgba(255,255,255,.30);
  --btnlight-bg: #ffffff; --btnlight-fg: #0b3d91; --btnlight-hover: #e3eeff;
  --btnglass-bg: rgba(8,28,70,.62); --btnglass-fg: #ffffff; --btnglass-border: rgba(255,255,255,.75); --btnglass-hover: rgba(8,28,70,.85);
  --badge-bg: #ffffff; --badge-fg: #0b3d91; --quiet-bg: rgba(255,255,255,.09); --quiet-fg: #f4f8ff;
  --note-bg: rgba(2,10,24,.38);
  --free-bg: rgba(143,240,192,.12); --free-border: rgba(143,240,192,.55); --free-fg: #eafff4; --tag-bg: #8ff0c0; --tag-fg: #04271a;
  --social-bg: rgba(8,28,70,.55); --social-fg: #ffffff; --social-border: rgba(255,255,255,.65); --social-hover: rgba(8,28,70,.85);
  --toast-bg: #0b2a5e; --toast-fg: #ffffff; --ring: #ffffff; --ring2: rgba(42,116,240,.9); --tile: #ffffff;
}
html[data-theme='dark'] {
  color-scheme: dark;
  --html-bg: #060d1d; --bg1: #050b18; --bg2: #081530; --bg3: #0b1d40;
  --text: #eaf1ff; --muted: #bccbe8; --link: #94c6ff; --err: #ffb4aa; --ok: #8ff0c0;
  --glass: rgba(255,255,255,.05); --border: rgba(150,190,255,.30); --sep: rgba(150,190,255,.22);
  --shadow: 0 10px 34px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.14); --solid: #0d2250;
  --field-bg: rgba(3,8,20,.85); --field-border: rgba(150,190,255,.65); --select-bg: #081530;
  --main-bg: linear-gradient(135deg, rgba(26,92,210,.62), rgba(8,40,110,.78)); --main-border: rgba(150,190,255,.55);
  --btnglass-bg: rgba(3,8,20,.62); --btnglass-hover: rgba(3,8,20,.85);
  --quiet-bg: rgba(255,255,255,.07); --note-bg: rgba(2,6,16,.45); --free-bg: rgba(143,240,192,.10);
  --social-bg: rgba(3,8,20,.55); --social-hover: rgba(3,8,20,.85); --toast-bg: #0b1d40;
}
html[data-theme='light'] {
  color-scheme: light;
  --html-bg: #dbe9ff; --bg1: #eef5ff; --bg2: #dbe9ff; --bg3: #c8dcfb;
  --text: #0c2147; --muted: #2b426b; --link: #0a47b8; --err: #a3170a; --ok: #0b6b3f;
  --glass: rgba(255,255,255,.55); --border: rgba(20,80,180,.32); --sep: rgba(20,80,180,.22);
  --shadow: 0 10px 28px rgba(20,60,140,.14), inset 0 1px 0 rgba(255,255,255,.9); --blur: blur(6px) saturate(150%); --solid: #f3f8ff;
  --field-bg: #ffffff; --field-border: #3f66ad; --select-bg: #ffffff;
  --main-bg: linear-gradient(135deg, #1f63de, #0f3f9e); --main-border: #0f3f9e; --main-sep: rgba(255,255,255,.35);
  --btnglass-bg: rgba(255,255,255,.88); --btnglass-fg: #0b3d91; --btnglass-border: #1f63de; --btnglass-hover: #ffffff;
  --quiet-bg: rgba(31,99,222,.10); --quiet-fg: #0c2147; --note-bg: rgba(2,10,24,.30);
  --free-bg: #e6faf0; --free-border: #1b9a63; --free-fg: #06452c; --tag-bg: #0e7a4a; --tag-fg: #ffffff;
  --social-bg: #ffffff; --social-fg: #0b3d91; --social-border: #1f63de; --social-hover: #e8f0ff;
  --toast-bg: #0c2147; --ring: #0c2147; --ring2: rgba(31,99,222,.55);
}
html[data-theme='contrast'] {
  color-scheme: dark;
  --html-bg: #000; --bg1: #000; --bg2: #000; --bg3: #000;
  --text: #fff; --muted: #f0f0f0; --link: #ffe066; --err: #ffb4aa; --ok: #7dffb0;
  --glass: #000; --border: #fff; --bw: 2px; --sep: #fff; --shadow: none; --blur: none; --solid: #000;
  --field-bg: #000; --field-border: #fff; --select-bg: #000;
  --accent: #ffe066; --accent-hover: #ffd21f; --on-accent: #000; --accent-border: #fff;
  --main-bg: #000; --main-border: #ffe066; --on-main: #fff; --on-main-muted: #fff; --main-sep: #fff;
  --btnlight-bg: #fff; --btnlight-fg: #000; --btnlight-hover: #ffe066;
  --btnglass-bg: #000; --btnglass-fg: #fff; --btnglass-border: #fff; --btnglass-hover: #333;
  --badge-bg: #ffe066; --badge-fg: #000; --quiet-bg: #000; --quiet-fg: #fff;
  --note-bg: #1a1a1a; --free-bg: #000; --free-border: #7dffb0; --free-fg: #fff; --tag-bg: #7dffb0; --tag-fg: #000;
  --social-bg: #000; --social-fg: #ffe066; --social-border: #ffe066; --social-hover: #333;
  --toast-bg: #fff; --toast-fg: #000; --ring: #ffe066; --ring2: #fff;
}
html[data-theme='contrast'] a { text-decoration: underline; }
html[data-theme='contrast'] .toast, html[data-theme='contrast'] .toast a { color: #000; }

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--html-bg); }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
body {
  margin: 0 !important; top: 0 !important; min-height: 100vh;
  background: linear-gradient(160deg, var(--bg1) 0%, var(--bg2) 50%, var(--bg3) 100%);
  color: var(--text);
  font-family: var(--script-font, system-ui), system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', Arial, sans-serif;
  font-size: 17px; line-height: 1.6; overflow-wrap: break-word;
  display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
h1, h2, h3 { line-height: 1.18; margin: 0; font-weight: 800; letter-spacing: -.01em; }
a { color: var(--link); }
a[href^='tel:'], .nowrap { white-space: nowrap; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--ring); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ring2);
}
main:focus, [tabindex='-1']:focus, [tabindex='-1']:focus-visible { outline: none; box-shadow: none; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)) 0 max(20px, env(safe-area-inset-right)); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: #fff; color: #06142b; padding: 12px 18px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.todo { background: #fff3cd; color: #5c3d00; padding: 1px 6px; border-radius: 4px; font-weight: 700; }

/* Glass surfaces (backdrop blur only where it is worth the cost) */
.top, .card, .help-item, .langs li, .form-card, .toast, .lite-box, .doc .panel {
  background: var(--glass); border: var(--bw) solid var(--border); box-shadow: var(--shadow);
}
.top, .card-main, .doc .panel, .form-card { -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .top, .card, .help-item, .langs li, .form-card, .toast, .lite-box, .doc .panel { background: var(--solid); }
}
@media (forced-colors: active) {
  .top, .card, .help-item, .langs li, .form-card, .toast, .lite-box, .doc .panel { border: 2px solid CanvasText; }
  .btn, .social a { border: 2px solid ButtonText; }
}

/* ---------- Header ---------- */
.top { position: relative; z-index: 2; border-width: 0 0 var(--bw) 0; border-radius: 0; padding-top: env(safe-area-inset-top); }
.top .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; padding-bottom: 12px; gap: 8px 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { height: 76px; width: auto; display: block; background: var(--tile); padding: 6px 12px; border-radius: 10px; }
.brand-text { font-weight: 800; font-size: 24px; letter-spacing: .02em; }
.brand-text b { color: var(--link); }
.top-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.top nav a { display: inline-block; padding: 12px 0; margin-left: 18px; color: var(--muted); text-decoration: none; font-weight: 600; }
.top nav a:first-child { margin-left: 0; }
.top nav a:hover { color: var(--text); text-decoration: underline; }
.top nav a[aria-current='page'] { color: var(--text); text-decoration: underline; }
.controls { display: flex; align-items: center; gap: 12px; }
.ctl { display: flex; align-items: center; gap: 8px; }
.ctl label { color: var(--muted); font-size: 15px; }
.ctl select {
  min-height: 44px; background: var(--select-bg); color: var(--text); border: var(--bw) solid var(--border);
  border-radius: 8px; padding: 8px 10px; font-family: inherit; font-size: 16px; max-width: 190px;
}
.ctl select option { background: var(--select-bg); color: var(--text); }

/* ---------- Hero and cards ---------- */
.hero { padding: 56px 0 48px; }
.hero h1 { font-size: clamp(30px, 5.5vw, 56px); }
.hero .lead { color: var(--muted); max-width: 58ch; margin: 14px 0 32px; font-size: 19px; }
.cards { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-areas: 'obd lang' 'torque torque'; gap: 24px; align-items: stretch; }
.card { position: relative; display: flex; flex-direction: column; border-radius: 20px; padding: 28px; min-width: 0; }
#obd { grid-area: obd; }
#torque { grid-area: torque; }
#languages { grid-area: lang; }
.card h2 { font-size: 32px; margin: 8px 0 6px; }
.card .tagline { color: var(--muted); margin: 0 0 18px; }
.card .price { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-weight: 600; }
.card .rupee { font-weight: 800; font-size: 44px; line-height: 1; }
.card .rupee.small { font-size: 28px; }
.card .facts { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.card .facts li { padding: 9px 0; border-top: 1px solid var(--sep); }
.appinfo { margin: 0 0 16px; font-size: 15px; color: var(--on-main-muted); }
.card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.card-head h2 { margin: 6px 0 0; }
.app-icon { width: 96px; height: 96px; flex: none; border-radius: 22px; object-fit: contain; background: var(--tile); padding: 4px; box-shadow: 0 6px 18px rgba(2,8,24,.35); }
.app-icon-generic { display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 26px; color: #fff; background: linear-gradient(135deg, #1f63de, #0f3f9e); padding: 0; }
.badge { display: inline-block; font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; background: var(--badge-bg); color: var(--badge-fg); }
.badge-quiet { background: var(--quiet-bg); color: var(--quiet-fg); border: 1px solid var(--border); }
.badge.badge-free { background: linear-gradient(135deg, #3be07f, #0e8a6e); color: #fff; font-weight: 800; font-size: clamp(20px, 3.4vw, 30px); padding: 10px 24px; letter-spacing: .12em; border-radius: 999px; line-height: 1.2; box-shadow: 0 6px 20px rgba(14,138,110,.45); }
.card-main { background: var(--main-bg); border-color: var(--main-border); color: var(--on-main); box-shadow: 0 12px 38px rgba(2,8,24,.35), inset 0 1px 0 rgba(255,255,255,.45), inset 0 0 0 1px rgba(255,255,255,.1); }
.card-main .tagline { color: var(--on-main-muted); }
.card-main .facts li { border-top-color: var(--main-sep); }
html[data-theme='contrast'] .card-main { box-shadow: none; }

.lite-box { margin-top: 20px; padding: 16px 18px; border-radius: 14px; background: var(--free-bg); border: 1px solid var(--free-border); color: var(--free-fg); box-shadow: none; }
.free-tag { flex: none; background: var(--tag-bg); color: var(--tag-fg); font-weight: 800; padding: 2px 10px; border-radius: 999px; font-size: 14px; letter-spacing: .04em; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions-gap { margin-top: 14px; }
.btn {
  display: inline-block; min-height: 48px; line-height: 1.2; text-align: center; cursor: pointer; text-decoration: none;
  font-family: inherit; font-weight: 700; font-size: 17px; padding: 13px 22px; border-radius: 10px; border: 2px solid transparent;
  transition: transform .15s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .65; cursor: wait; }
.btn-primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent-border); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-light { background: var(--btnlight-bg); color: var(--btnlight-fg); }
.btn-light:hover { background: var(--btnlight-hover); }
.btn-glass { background: var(--btnglass-bg); color: var(--btnglass-fg); border-color: var(--btnglass-border); }
.btn-glass:hover { background: var(--btnglass-hover); }
html[data-theme='contrast'] .btn-primary, html[data-theme='contrast'] .btn-light { text-decoration: none; }
.link-btn { background: none; border: 0; padding: 10px 0; color: var(--on-main); font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; min-height: 44px; }

.soon-wrap { margin: 0 0 14px; }
.soon { display: block; margin: 0; padding: 7px 14px; min-height: 38px; border: 1px dashed var(--on-main); border-radius: 999px; font-size: 15px; font-weight: 700; text-align: center; }
.soon span { display: inline-block; transition: opacity .35s ease; }
.soon span.fade { opacity: 0; }
.device-note { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--note-bg); font-weight: 500; }
.status { min-height: 1.6em; margin-top: 12px; color: var(--on-main); font-weight: 500; }
.status[data-error] { color: #ffd2cc; }
.alt { margin-top: 6px; font-size: 15px; }
.alt a { color: var(--on-main); margin-right: 14px; display: inline-block; padding: 12px 0; min-height: 44px; }
.noscript { margin: 0 0 18px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; }
.fine { color: var(--muted); font-size: 14px; margin: 18px 0 0; max-width: 80ch; }
.verify { margin: 0 0 14px; font-size: 15px; color: var(--on-main-muted); }
.verify summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; }
.verify code { word-break: break-all; background: var(--note-bg); padding: 4px 8px; border-radius: 6px; display: inline-block; font-size: 13px; }

/* Languages card */
.lang-card h2 { font-size: 24px; margin: 8px 0 0; }
.lang-card .sub { margin: 14px 0 18px; font-size: 16px; color: var(--muted); }
.lang-top { display: flex; align-items: center; gap: 16px; }
.lang-ring { position: relative; width: 84px; height: 84px; flex: none; }
.lang-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lang-ring circle { fill: none; stroke-width: 8; }
.lang-ring .r-bg { stroke: var(--sep); }
.lang-ring .r-fg { stroke: var(--link); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: ringDraw 1.4s .4s cubic-bezier(.3,.7,.2,1) forwards; }
.lang-ring span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 28px; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.langs li { border-radius: 10px; padding: 6px 14px; font-size: 18px; line-height: 1.5; box-shadow: none; background: var(--quiet-bg); cursor: pointer; transition: transform .2s ease; animation: chipIn .45s cubic-bezier(.2,.8,.2,1) backwards; }
.langs li:hover { transform: translateY(-2px); }
.langs li.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent-border); }
.langs button { background: none; border: 0; color: inherit; font: inherit; line-height: inherit; padding: 0; margin: 0; cursor: pointer; display: block; }
.langs button:focus-visible { outline-offset: 6px; }
.langs button[lang='hi'], .langs button[lang='mr'], .langs button[lang='ne'], .langs button[lang='sa'], .langs button[lang='doi'], .langs button[lang='gom'], .langs button[lang='mai'], .langs button[lang='brx'] { font-family: 'Noto Sans Devanagari', system-ui, sans-serif; }
.langs button[lang='bn'], .langs button[lang='as'] { font-family: 'Noto Sans Bengali', system-ui, sans-serif; }
.langs button[lang='ta'] { font-family: 'Noto Sans Tamil', system-ui, sans-serif; }
.langs button[lang='te'] { font-family: 'Noto Sans Telugu', system-ui, sans-serif; }
.langs button[lang='gu'] { font-family: 'Noto Sans Gujarati', system-ui, sans-serif; }
.langs button[lang='kn'] { font-family: 'Noto Sans Kannada', system-ui, sans-serif; }
.langs button[lang='ml'] { font-family: 'Noto Sans Malayalam', system-ui, sans-serif; }
.langs button[lang='pa'] { font-family: 'Noto Sans Gurmukhi', system-ui, sans-serif; }
.langs button[lang='or'] { font-family: 'Noto Sans Oriya', system-ui, sans-serif; }
.langs button[lang='ur'], .langs button[lang='sd'], .langs button[lang='ks'] { font-family: 'Noto Naskh Arabic', system-ui, sans-serif; font-size: 20px; }
.langs button[lang='mni-Mtei'] { font-family: 'Noto Sans Meetei Mayek', system-ui, sans-serif; }
.langs button[lang='sat'] { font-family: 'Noto Sans Ol Chiki', system-ui, sans-serif; }
.lang-reset { margin-top: 14px; min-height: 44px; padding: 8px 16px; font-size: 16px; }
.lang-reset[aria-pressed='true'] { background: var(--accent); color: var(--on-accent); border-color: var(--accent-border); }

/* ---------- Sections ---------- */
section { padding: 48px 0; border-top: 1px solid var(--sep); }
section.defer { content-visibility: auto; contain-intrinsic-size: auto 560px; }
section h2 { font-size: clamp(24px, 4vw, 36px); margin-bottom: 8px; }
section .sub { color: var(--muted); margin: 0 0 24px; max-width: 62ch; }
.steps { margin: 0; padding-left: 1.3em; max-width: 64ch; }
.steps li { padding: 4px 0 4px 6px; }
.video-step { list-style: none; }
.video-link { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; padding: 8px 16px; border-radius: 999px; font-weight: 700; color: #fff; text-decoration: none; background: linear-gradient(135deg, #ff3b3b, #b00000); transition: transform .2s ease; }
.video-link svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; }
.video-link svg path { fill: #fff; stroke: none; }
.video-link:hover { transform: translateY(-2px); }
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; margin-bottom: 28px; }
.help-item { border-radius: 16px; padding: 22px; }
.help-item small { display: block; color: var(--muted); margin-bottom: 6px; font-size: 15px; }
.help-item a { font-weight: 800; font-size: 22px; text-decoration: none; word-break: break-word; display: inline-block; padding: 4px 0; color: var(--text); }
.help-item a:hover { text-decoration: underline; }
.scam-note { margin: 14px 0; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--sep); background: var(--quiet-bg); font-size: 15px; line-height: 1.5; }

/* ---------- Forms ---------- */
.form-card { border-radius: 20px; padding: 28px; max-width: 680px; }
.form-card .hint-top { margin: 0 0 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.req, .opt { font-weight: 500; color: var(--muted); font-size: 15px; }
.field input[type=email], .field input[type=text], .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 17px; color: var(--text);
  background: var(--field-bg); border: 2px solid var(--field-border); border-radius: 10px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field [aria-invalid=true] { border-color: var(--err); }
.hint { color: var(--muted); font-size: 15px; margin: 6px 0 0; }
.field-error { color: var(--err); font-weight: 700; margin: 6px 0 0; }
.field.check { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.field.check input { width: 26px; height: 26px; margin: 2px 0 0; accent-color: var(--accent); }
.field.check label { font-weight: 500; margin: 0; }
.field.check .field-error { grid-column: 2; }
.form-status { min-height: 1.6em; margin: 14px 0 0; font-weight: 700; }
.form-status[data-ok] { color: var(--ok); }
.form-status[data-error] { color: var(--err); }
.wa-form { margin: 16px 0; max-width: 720px; }
.wa-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wa-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.wa-form .wide { grid-column: 1 / -1; }
.wa-form input, .wa-form select, .wa-form textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--quiet-bg); border: 1px solid var(--sep); border-radius: 12px; padding: 11px 14px; min-height: 46px; width: 100%; }
.wa-form select option { background: var(--select-bg); color: var(--text); }
.wa-form textarea { resize: vertical; min-height: 110px; }
.wa-form .wa-send { margin: 14px 0 0; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.wa-error { margin: 10px 0 0; min-height: 1.4em; color: #c0182c; font-weight: 700; }
html[data-theme='blue'] .wa-error, html[data-theme='dark'] .wa-error, html[data-theme='contrast'] .wa-error { color: #ffb4b4; }
.wa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 14px 0 18px; }
.wa-btn, .wa-main { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; color: #fff; text-decoration: none; background: linear-gradient(135deg, #1faa62, #0b6f58); text-shadow: 0 1px 2px rgba(0,0,0,.3); transition: transform .2s ease; }
.wa-btn svg, .wa-main svg { width: 28px; height: 28px; flex: none; }
.wa-btn span { display: flex; flex-direction: column; }
.wa-btn small { opacity: .95; }
.wa-btn:hover, .wa-main:hover { transform: translateY(-2px); }
.wa-main { font-weight: 700; }
.wa-preview small { display: block; margin-bottom: 8px; }
.wa-bubble { max-width: 420px; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: #dcf8c6; color: #111; line-height: 1.5; box-shadow: 0 2px 8px rgba(0,0,0,.2); }

/* ---------- Social buttons ---------- */
.social { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; padding: 0; margin: 0; list-style: none; }
.social li { display: flex; }
.social a { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 10px 16px; border-radius: 14px; font-weight: 700; text-decoration: none; color: var(--social-fg); background: var(--social-bg); border: 1px solid var(--social-border); }
.social a svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social a svg .f { fill: currentColor; stroke: none; }
.social a[data-k] { flex: 1; justify-content: center; border: 0; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); transition: transform .2s ease, filter .2s ease; }
.social a[data-k]:hover { transform: translateY(-2px); filter: brightness(1.12); }
.social a[data-k='web'] { background: linear-gradient(135deg, #1e9bff, #0b3a8f); }
.social a[data-k='instagram'] { background: linear-gradient(45deg, #e8a33a, #d9531a 25%, #d62976 50%, #962fbf 75%, #4f5bd5); }
.social a[data-k='facebook'] { background: linear-gradient(135deg, #3b8bff, #0b5ed7); }
.social a[data-k='youtube'] { background: linear-gradient(135deg, #e02b2b, #a00000); }
.social a[data-k='whatsapp'] { background: linear-gradient(135deg, #1faa62, #0b6f58); }
.social a[data-k='linkedin'] { background: linear-gradient(135deg, #2f8fe0, #0a4f94); }
.social a[data-k='amazon'] { background: linear-gradient(135deg, #ffb84d, #ff8c00); color: #111; text-shadow: none; }
.social a[data-k='google'] { background: linear-gradient(90deg, #2f6fe0, #c4332b 35%, #b87d00 65%, #1f8a43); }
.connect { margin-top: 8px; }
.connect h3 { font-size: 20px; margin: 0 0 12px; }

/* ---------- Footer ---------- */
footer { position: relative; z-index: 1; padding: 32px 0 calc(44px + env(safe-area-inset-bottom)); border-top: 1px solid var(--sep); color: var(--muted); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 28px; margin-bottom: 8px; }
.foot-h { font-size: 17px; margin: 0 0 8px; color: var(--text); }
footer .legal-links { display: flex; flex-direction: column; margin: 0 0 16px; padding: 0; list-style: none; }
footer .legal-links a { display: inline-block; padding: 12px 0; min-height: 44px; color: var(--text); }
footer address { font-style: normal; margin: 0 0 12px; }
footer address p { margin: 2px 0; }
footer a { transition: transform .2s ease; }
footer a:hover, footer a:focus-visible { transform: translateX(3px); }
footer .copy { margin-top: 12px; }

/* ---------- Toast and pop-up ---------- */
.toast { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; max-width: min(92vw, 540px); padding: 12px 18px; border-radius: 14px; font-weight: 600; background: var(--toast-bg); color: var(--toast-fg); }
.toast a { color: var(--toast-fg); font-weight: 800; display: inline-block; padding: 8px 0; min-height: 44px; }
.pop { position: fixed; right: 16px; bottom: 16px; z-index: 55; width: min(340px, calc(100% - 32px)); padding: 16px 16px 14px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #0b3a8f, #0b1d44); box-shadow: 0 14px 40px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.25); transition: opacity .3s ease, transform .4s cubic-bezier(.3,1.4,.5,1), visibility .3s; }
.pop:not(.show) { opacity: 0; transform: translateY(50px) scale(.95); visibility: hidden; pointer-events: none; }
.pop-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pop-top img { width: 52px; height: 52px; border-radius: 12px; background: #fff; object-fit: contain; flex: none; }
.pop-top b { display: block; font-size: 17px; }
.pop-top span { font-size: 14px; opacity: .92; }
.pop-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pop-actions a, .pop-actions button { flex: 1 1 140px; min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 0; font: inherit; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; color: #0b1d44; background: #fff; }
.pop-actions a.pop-free { color: #fff; background: linear-gradient(135deg, #1faa62, #0b6f58); }
.pop-x { position: absolute; top: 6px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 24px; cursor: pointer; }
.scroll-bar { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 70; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, #1e9bff, #962fbf, #d62976, #fa7e1e); pointer-events: none; will-change: transform; }

/* ---------- Document pages (privacy, terms, FAQ ...) ---------- */
.doc { padding: 44px 0 56px; }
.doc .wrap > h1 { font-size: clamp(28px, 4.6vw, 44px); margin-bottom: 6px; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.doc .panel { border-radius: 20px; padding: 28px; max-width: 860px; }
.doc h2 { font-size: 24px; margin: 26px 0 8px; }
.doc .panel > h2:first-child { margin-top: 0; }
.doc p, .doc li { max-width: 74ch; }
.doc .bizbox { padding: 14px 16px; border-radius: 12px; background: var(--quiet-bg); border: 1px solid var(--sep); font-size: 16px; }
.doc .doclinks { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--sep); list-style: none; }
.doc .doclinks a { display: inline-block; padding: 10px 0; }
.crumb { margin: 0 0 14px; font-size: 15px; }
.crumb a { display: inline-block; padding: 10px 0; }
.notfound { padding: 80px 0; text-align: center; }
.notfound h1 { font-size: clamp(56px, 14vw, 120px); }

/* Google Translate: hide its own UI */
.goog-te-banner-frame, iframe.skiptranslate, #goog-gt-tt, .goog-tooltip, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
#google_translate_element { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Motion (transform / opacity only) ---------- */
.hero h1 { animation: riseIn .6s cubic-bezier(.2,.8,.2,1) backwards; }
.hero .lead { animation: riseIn .6s .1s cubic-bezier(.2,.8,.2,1) backwards; }
.cards .card { animation: riseIn .65s cubic-bezier(.2,.8,.2,1) backwards; }
#obd { animation-delay: .12s; }
#languages { animation-delay: .24s; }
#torque { animation-delay: .36s; }
.app-icon { animation: iconFloat 6s ease-in-out infinite; }
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } }
@keyframes chipIn { from { opacity: 0; transform: translateY(8px) scale(.9); } }
@keyframes ringDraw { to { stroke-dashoffset: 0; } }
@keyframes iconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .lang-ring .r-fg { stroke-dashoffset: 0; }
}

/* ---------- Responsive ---------- */
@media (min-width: 1500px) { .wrap { max-width: 1160px; } body { font-size: 18px; } }
@media (max-width: 1024px) {
  .wrap { max-width: 920px; }
  .card { padding: 24px; } .card h2 { font-size: 29px; } .card .rupee { font-size: 38px; } .cards { gap: 20px; }
}
@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .top-right { width: 100%; justify-content: space-between; gap: 8px 12px; }
  .hero { padding: 40px 0 36px; } .hero .lead { font-size: 18px; margin-bottom: 26px; }
  .cards { grid-template-columns: 1fr; grid-template-areas: 'obd' 'lang' 'torque'; row-gap: 20px; }
  .card { border-radius: 18px; }
  .card .price { flex-direction: column; align-items: flex-start; gap: 6px; }
  .actions .btn { flex: 1 1 100%; }
  section { padding: 40px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
  .top .wrap { padding-top: 10px; padding-bottom: 6px; }
  .top-right { display: contents; }
  .brand { order: 1; } .controls { order: 2; gap: 8px; margin-left: auto; }
  .top nav { order: 3; flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 0 4px; border-top: 1px solid var(--sep); margin-top: 6px; }
  .top nav a { margin: 0; padding: 12px 10px; }
  .brand img { height: 56px; padding: 4px 10px; } .brand-text { font-size: 21px; }
  .ctl label { position: absolute; left: -9999px; }
  .ctl select { max-width: 126px; font-size: 16px; padding: 8px 6px; }
  .hero { padding: 30px 0 28px; } .hero .lead { font-size: 17px; margin: 12px 0 22px; }
  .card { padding: 20px; } .card h2 { font-size: 26px; } .card .rupee { font-size: 36px; }
  .app-icon { width: 76px; height: 76px; border-radius: 18px; } .card-head { gap: 12px; }
  section { padding: 32px 0; }
  .langs { gap: 6px; } .langs li { font-size: 16px; padding: 5px 10px; }
  .help-grid { grid-template-columns: 1fr; gap: 12px; } .help-item a { font-size: 20px; }
  .form-card, .doc .panel { padding: 20px; }
  footer { padding-top: 24px; font-size: 14px; }
}
@media (max-width: 560px) { .wa-form-grid { grid-template-columns: 1fr; } }
@media (max-width: 380px) {
  .brand img { height: 48px; } .ctl select { max-width: 112px; }
  .card { padding: 16px; } .card h2 { font-size: 23px; } .app-icon { width: 64px; height: 64px; }
  .btn { font-size: 16px; padding: 12px 14px; } .help-item a { font-size: 18px; }
}
@media (max-height: 480px) and (orientation: landscape) { .hero { padding: 24px 0; } .toast { bottom: 8px; } .pop { display: none; } }
@media print {
  html, body { background: #fff !important; color: #000 !important; }
  .skip, .controls, .toast, .actions, .link-btn, .pop, .scroll-bar, .top nav, .wa-form, .form-card { display: none !important; }
  .card, .help-item, .langs li, .lite-box, .top, .doc .panel { background: #fff !important; color: #000 !important; border: 1px solid #000 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  a { color: #000 !important; }
}

/* Tables inside document pages, and the app privacy link under the download button */
.doc .tablewrap { overflow-x: auto; margin: 10px 0 16px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--sep); }
.doc th { background: var(--quiet-bg); }
.doc .short { padding: 14px 16px; border-radius: 12px; background: var(--quiet-bg); border: 1px solid var(--sep); }
.applink { display: block; width: 100%; margin-top: 10px; }
