/* ThinkVexa — site styles. Mobile first; light/dark via prefers-color-scheme; system fonts only. */

/* ---------- tokens ---------- */
:root {
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Devanagari", "Nirmala UI", Mangal, sans-serif;
  --font-hi: "Noto Sans Devanagari", "Nirmala UI", Mangal, "Kohinoor Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --surface: #ffffff;
  --surface-2: #f0f1f8;
  --text: #0f1428;
  --text-2: #424a69;
  --muted: #5f6787;
  --border: #e3e5ef;
  --border-strong: #c9cee0;

  --brand: #4b3bea;          /* ThinkVexa indigo-violet */
  --brand-hover: #3a2bd0;
  --brand-soft: #eeecff;
  --brand-ink: #ffffff;
  --spark: #f5a524;          /* the "vertex" spark in the logo */

  --ma: #0B4FA8;             /* DairySarthi: logo blue ("Dairy") */
  --ma-2: #178033;           /*              and logo green ("Sarthi") */
  --ma-soft: #E8F1FB;
  --ma-ink: #ffffff;
  --ls: #1b2a6b;             /* LoadSarthi: deep navy */
  --ls-2: #d45d07;           /*             highway orange */
  --ls-soft: #eef0f8;
  --ls-ink: #ffffff;

  --ink-bg: #0f1330;
  --ink-text: #e9ebf8;
  --ink-muted: #b5bad6;

  --band-brand: linear-gradient(135deg, #3b2fd1 0%, #5b3df0 55%, #7a4dff 100%);
  --band-ma: linear-gradient(135deg, #003D8A 0%, #0B4FA8 48%, #178033 100%);
  --band-ls: linear-gradient(135deg, #131e52 0%, #1b2a6b 60%, #2a3a8a 100%);

  --radius: 16px;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 20, 40, .06), 0 10px 30px rgba(15, 20, 40, .07);
  --wrap: 1180px;
  --header-h: 64px;

  --accent: var(--brand);
  --accent-2: var(--brand);
  --accent-soft: var(--brand-soft);
  --accent-ink: var(--brand-ink);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d1a;
    --bg-soft: #0f1325;
    --surface: #131833;
    --surface-2: #1a2042;
    --text: #eceefa;
    --text-2: #bcc2da;
    --muted: #949bb7;
    --border: #252c4d;
    --border-strong: #39416a;
    --brand: #9d93ff;
    --brand-hover: #b5adff;
    --brand-soft: #211c50;
    --brand-ink: #0a0d1a;
    --ma: #8dbdf7;
    --ma-2: #86d672;
    --ma-soft: #14294a;
    --ma-ink: #06142b;
    --ls: #ff9a52;
    --ls-2: #ffa868;
    --ls-soft: #1a2046;
    --ls-ink: #1a0c02;
    --ink-bg: #121739;
    --shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 10px 30px rgba(0, 0, 0, .35);
  }
}
.page-dairysarthi main, .theme-ma { --accent: var(--ma); --accent-2: var(--ma-2); --accent-soft: var(--ma-soft); --accent-ink: var(--ma-ink); }
.page-loadsarthi main, .theme-ls { --accent: var(--ls); --accent-2: var(--ls-2); --accent-soft: var(--ls-soft); --accent-ink: var(--ls-ink); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--font); overflow-x: hidden; }
:lang(hi) { font-family: var(--font-hi); }
:lang(en) { font-family: var(--font); }
html:lang(hi) body { line-height: 1.75; }
.tv-wait body { visibility: hidden; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
main:focus { outline: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--text); }
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3, :lang(hi) h4 { line-height: 1.4; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 1.35rem + 3vw, 3.4rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 820px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: var(--brand-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--brand-ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .6rem 1.1rem; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-hover); color: var(--brand-ink); }
.btn-product { background: var(--accent); color: var(--accent-ink); }
.btn-product:hover { color: var(--accent-ink); filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-wa { background: #1c8a4a; color: #fff; }
.btn-wa:hover { background: #157a3f; color: #fff; }
.btn-sm { min-height: 38px; padding: .45rem .85rem; font-size: .92rem; border-radius: 10px; }
.btn-lg { min-height: 52px; padding: .8rem 1.35rem; font-size: 1.05rem; }
.btn-xl { min-height: 60px; padding: .9rem 1.4rem; font-size: 1.15rem; width: 100%; border-radius: 14px; }
.btn .ic { width: 1.2em; height: 1.2em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; color: var(--accent); text-decoration: none; margin-top: 12px; }
.text-link:hover { color: var(--accent); text-decoration: underline; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
.brand:hover { color: var(--text); }
.logo-mark { width: 32px; height: 32px; flex: none; }
.logo-bg { fill: var(--brand); }
.logo-spark { fill: var(--spark); }
.wordmark { font-family: var(--font); font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; }
.wordmark b { font-weight: 800; color: var(--brand); }
.site-nav { display: none; }
.site-nav ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.site-nav a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--text-2); text-decoration: none; font-weight: 550; }
.site-nav a:hover { background: var(--surface-2); color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); font-weight: 700; background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang-toggle { min-height: 40px; min-width: 44px; padding: .4rem .8rem; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-weight: 650; cursor: pointer; }
.lang-toggle:lang(hi) { font-family: var(--font-hi); }
.lang-toggle:hover { border-color: var(--brand); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); color: var(--text); cursor: pointer; }
.nav-toggle .ic { width: 22px; height: 22px; }
.header-cta { display: none; }
.site-header.nav-open .site-nav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; box-shadow: var(--shadow); }
.site-header.nav-open .site-nav a { padding: 14px 12px; font-size: 1.05rem; }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-nav { display: block; position: static; width: 100%; order: 3; }
html:not(.js) .header-row { flex-wrap: wrap; }
html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; }
@media (min-width: 980px) {
  .site-nav, html:not(.js) .site-nav { display: block; position: static; width: auto; order: 0; margin-left: 24px; }
  .site-nav ul { flex-direction: row; gap: 4px; }
  .site-nav a { padding: 8px 12px; }
  .nav-mobile-only, .nav-toggle { display: none !important; }
  .header-cta { display: inline-flex; }
}

/* ---------- hero ---------- */
.hero { padding: 40px 0 32px; }
.hero-home { background: radial-gradient(900px 480px at 92% -10%, var(--brand-soft), transparent 62%), radial-gradient(700px 380px at -8% 105%, var(--ma-soft), transparent 60%); padding-bottom: 48px; }
.hero-product { background: radial-gradient(900px 480px at 90% -10%, var(--accent-soft), transparent 65%); }
.hero-page { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); padding: 48px 0 24px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-art { max-width: 600px; justify-self: center; width: 100%; }
.hero-art img { display: block; width: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .8rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
:lang(hi) .eyebrow { letter-spacing: .02em; font-size: .9rem; }
.eyebrow-product img { border-radius: 8px; }
.eyebrow-gap { margin-top: 32px; }
.lead { font-size: clamp(1.06rem, 1rem + .35vw, 1.22rem); color: var(--text-2); max-width: 64ch; }
.hero-sub-link { margin-top: 16px; font-weight: 600; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .92rem; font-weight: 600; color: var(--text-2); }
.chips .ic { color: var(--brand); }
@media (min-width: 900px) {
  .hero { padding: 72px 0 56px; }
  .hero-page { padding: 72px 0 32px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 48px; }
}

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section-tight { padding-top: 24px; }
.section-soft { background: var(--bg-soft); }
.section-ink { background: var(--ink-bg); color: var(--ink-text); }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-head { max-width: 780px; margin-bottom: 32px; }
.section-title { margin-bottom: 28px; }
.stack-lg { display: grid; gap: 32px; }
.stack { display: grid; gap: 20px; align-content: start; }
@media (min-width: 900px) { .section { padding: 88px 0; } .section-tight { padding-top: 32px; } }

.story { display: grid; gap: 16px; }
.prose p { font-size: 1.08rem; color: var(--text-2); }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1.35fr; gap: 64px; } }

.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- lists ---------- */
.ticks { list-style: none; display: grid; gap: 10px; margin: 16px 0 0; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.ticks .ic { color: var(--accent-2); margin-top: .2em; stroke-width: 2.4; }
@media (min-width: 720px) { .ticks.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.plain-list { list-style: none; display: grid; gap: 10px; margin: 0 0 16px; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li { padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; }

/* ---------- product cards ---------- */
.product-cards { display: grid; gap: 24px; }
@media (min-width: 920px) { .product-cards { grid-template-columns: 1fr 1fr; } }
.product-card, .product-wide { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product-card { border-top: 5px solid var(--accent); }
.product-card-art, .product-wide-art { background: var(--accent-soft); padding: 20px 20px 0; display: flex; justify-content: center; }
.product-card-art img, .product-wide-art img { display: block; width: 100%; max-width: 520px; }
.product-card-body, .product-wide-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-card-body > p { color: var(--text-2); margin-top: 12px; }
.product-card .actions { margin-top: auto; padding-top: 24px; }
.product-title { display: flex; align-items: center; gap: 14px; }
.product-title img { border-radius: 12px; flex: none; }
.product-title h2, .product-title h3 { margin: 0; font-size: 1.6rem; }
.product-tag { margin: 2px 0 0; color: var(--accent); font-weight: 650; }
.for-whom { color: var(--text-2); }
.product-wide-body > p { color: var(--text-2); margin-top: 14px; }
@media (min-width: 980px) {
  .product-wide { display: grid; grid-template-columns: .9fr 1.1fr; }
  .product-wide-art { padding: 32px; align-items: center; }
  .product-wide-body { padding: 36px; }
}

/* ---------- features ---------- */
.feature-grid { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } .feature-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feature > .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.feature h3 { margin-bottom: .35em; }
.feature p { color: var(--text-2); margin: 0; }

.principles { list-style: none; counter-reset: p; display: grid; gap: 24px; margin-top: 24px; }
.principles li { counter-increment: p; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); }
.principles li::before { content: "0" counter(p); display: block; font-size: 1.6rem; font-weight: 800; color: var(--spark); margin-bottom: 8px; font-family: var(--font); }
.principles p { color: var(--ink-muted); margin: 0; }
@media (min-width: 900px) { .principles { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* ---------- CTA band ---------- */
.cta-band { display: grid; gap: 8px; align-items: center; padding: 32px 24px; border-radius: var(--radius-lg); background: var(--band-brand); color: #fff; width: auto; max-width: none; margin-inline: max(16px, (100% - 1132px) / 2); }
@media (min-width: 640px) { .cta-band { margin-inline: max(24px, (100% - 1132px) / 2); } }
.cta-band.theme-ma { background: var(--band-ma); }
.cta-band.theme-ls { background: var(--band-ls); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .88); margin: 0; max-width: 60ch; }
.cta-band .actions { margin-top: 16px; }
.cta-band .btn-primary, .cta-band .btn-product { background: #fff; color: #1b1f3b; }
.cta-band .btn-primary:hover, .cta-band .btn-product:hover { background: #f0f0ff; color: #1b1f3b; filter: none; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.cta-band a:not(.btn) { color: #fff; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.2fr auto; padding: 48px; gap: 32px; } .cta-band .actions { margin-top: 0; justify-content: flex-end; } }

/* DairySarthi artwork has a white background: always on a white card, also in dark mode */
.product-wide-art .brand-logo, .product-card-art .brand-logo { max-width: 300px; background: #fff; border-radius: 28px; padding: 10px; margin-bottom: 20px; box-shadow: var(--shadow); }
@media (min-width: 980px) { .product-wide-art .brand-logo { margin-bottom: 0; } }

/* ---------- comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-top: 24px; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 1.05rem; background: var(--surface-2); }
.compare tbody th { color: var(--muted); font-weight: 650; width: 22%; }
.compare td { color: var(--text-2); }
.th-ma { color: var(--ma); }
.th-ls { color: var(--ls); }
@media (prefers-color-scheme: light) { .th-ls { color: var(--ls); } }

/* ---------- product pages ---------- */
.flow { list-style: none; counter-reset: f; display: grid; gap: 16px; }
@media (min-width: 640px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .flow { grid-template-columns: repeat(3, 1fr); } }
.flow li { counter-increment: f; position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 22px 18px; }
.flow li::after { content: counter(f); position: absolute; top: 16px; right: 18px; font-size: 2rem; font-weight: 800; color: var(--accent-soft); font-family: var(--font); line-height: 1; }
.flow .ic { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 12px; }
.flow p { margin: 0; color: var(--text-2); }

.app-columns { display: grid; gap: 20px; }
@media (min-width: 980px) { .app-columns { grid-template-columns: repeat(3, 1fr); } }
.app-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; }
.app-col > img, .app-col-icon { border-radius: 12px; margin-bottom: 14px; }
.app-col-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); }
.app-col-icon .ic { width: 26px; height: 26px; }
.app-col h3 { font-size: 1.25rem; margin-bottom: .2em; }
.app-col .ticks { margin-bottom: 8px; }
.app-col .text-link { margin-top: auto; padding-top: 12px; }

.split { display: grid; gap: 32px; align-items: center; }
.split-art img { display: block; width: 100%; border-radius: var(--radius); }
.split-art-phone { max-width: 340px; margin: 0 auto; width: 100%; }
@media (min-width: 980px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split-reverse .split-art { order: 2; }
}
.mini-grid { list-style: none; display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 560px) { .mini-grid { grid-template-columns: 1fr 1fr; } }
.mini-grid .ic { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); color: var(--accent); margin-bottom: 8px; }
.mini-grid h3 { font-size: 1.05rem; margin-bottom: .25em; }
.mini-grid p { margin: 0; color: var(--text-2); font-size: .97rem; }

.note-card { background: var(--accent-soft); border-radius: var(--radius-lg); padding: 28px; }
.note-card > .ic { width: 40px; height: 40px; color: var(--accent); margin-bottom: 12px; }
.note-card p { color: var(--text-2); margin: 0; }
.who-list { list-style: none; display: grid; gap: 12px; margin-top: 16px; }
.who-list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-weight: 600; }
.who-list .ic { width: 28px; height: 28px; color: var(--accent); }
@media (min-width: 640px) { .who-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .who-grid { grid-template-columns: repeat(4, 1fr); } .who-grid li { flex-direction: column; align-items: flex-start; } }

.app-rows { display: grid; gap: 16px; margin-top: 20px; }
.app-row { display: flex; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.app-row img { border-radius: 12px; flex: none; }
.app-row h3 { margin-bottom: .1em; }
.app-row p { margin: 0 0 .4em; color: var(--text-2); }
.app-row .muted { color: var(--muted); }
.note { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--text-2); }
.note .ic { color: var(--accent); }

/* ---------- jump links ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 650; }
.jump a:hover { border-color: var(--brand); color: var(--text); }
.jump img { border-radius: 6px; }
.jump-plain a { padding: 8px 16px; }

/* ---------- download ---------- */
.device-note { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--brand-soft); border-left: 4px solid var(--brand); font-weight: 550; max-width: 760px; }
.device-note .ic { color: var(--brand); margin-top: .15em; }
.dl-product { scroll-margin-top: calc(var(--header-h) + 8px); }
.dl-product + .dl-product { padding-top: 0; }
.dl-head { display: grid; gap: 4px; margin-bottom: 24px; }
.dl-head h2 { color: var(--accent); margin: 0; }
.dl-head p { color: var(--text-2); margin: 0; }
.app-cards { display: grid; gap: 20px; }
@media (min-width: 1040px) { .app-cards { grid-template-columns: 1fr 1fr; } }
.app-card { background: var(--surface); border: 1px solid var(--border); border-top: 5px solid var(--accent); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 12px); transition: box-shadow .2s; }
.app-card:target, .app-card:focus { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (min-width: 640px) { .app-card { padding: 28px; } }
.app-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app-icon { border-radius: 16px; flex: none; }
.app-head h3 { font-size: 1.4rem; margin: 0; }
.app-aud { margin: 2px 0 0; color: var(--muted); }
.app-body { display: grid; gap: 20px; align-items: start; }
@media (min-width: 560px) { .app-body { grid-template-columns: 1fr minmax(180px, 220px); } }
.app-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px 16px; margin: 0 0 16px; }
.app-meta div { display: flex; flex-direction: column; }
.app-meta dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 650; }
:lang(hi) .app-meta dt { letter-spacing: 0; font-size: .85rem; }
.app-meta dd { margin: 0; font-weight: 700; font-size: 1.05rem; }
.app-notes { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); }
.app-notes h4 { margin: 0 0 4px; font-size: .85rem; color: var(--muted); }
.app-notes p { margin: 0; color: var(--text-2); }
.app-status { margin: 10px 0 0; font-size: .88rem; color: var(--muted); min-height: 1.5em; }
.app-card[data-status="fallback"] .app-status { color: var(--text-2); }
.qr { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.qr-box { width: 100%; max-width: 220px; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.qr-box svg { display: block; width: 100%; height: 100%; }
.qr figcaption { font-size: .88rem; color: var(--muted); text-align: center; }
.is-android .btn-apk { box-shadow: 0 0 0 5px var(--accent-soft); }
@media (prefers-reduced-motion: no-preference) {
  .is-android .btn-apk { animation: tv-pulse 2.4s ease-in-out 3; }
  @keyframes tv-pulse { 50% { box-shadow: 0 0 0 10px var(--accent-soft); } }
}
@media (max-width: 559px) { .is-android .qr-box { max-width: 150px; } }
.install { margin-top: 32px; }
.install > h3 { font-size: 1.2rem; }
.steps { list-style: none; display: grid; gap: 16px; margin-top: 12px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; align-content: start; }
.step img { display: block; width: 100%; max-width: 220px; margin: 0 auto; border-radius: 12px; }
.step h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 1.05rem; }
.step-n { display: inline-flex; width: 28px; height: 28px; flex: none; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: .9rem; font-weight: 800; font-family: var(--font); }
.step p { margin: 0 0 8px; color: var(--text-2); font-size: .97rem; }
.step .pair { margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--border-strong); color: var(--muted); font-size: .93rem; }
.step .pair strong { color: var(--text-2); }
.trust-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--surface-2); color: var(--text-2); margin: 0; }
.trust-note .ic { color: var(--brand); margin-top: .15em; }

/* ---------- solutions ---------- */
.solution { background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--accent); border-radius: var(--radius-lg); padding: 24px; scroll-margin-top: calc(var(--header-h) + 12px); }
.solution-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.solution-head .ic { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.solution-head h2 { margin: 0; }
.solution-body { display: grid; gap: 24px; }
.solution-problem { background: var(--surface-2); border-radius: var(--radius); padding: 18px 20px; }
.solution-problem p { margin: 0; color: var(--text-2); }
.solution h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
:lang(hi) .solution h3 { letter-spacing: 0; font-size: .95rem; }
@media (min-width: 900px) { .solution { padding: 36px; } .solution-body { grid-template-columns: 1fr 1.2fr; gap: 40px; } }

/* ---------- technology ---------- */
.diagram { margin: 0 0 28px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.diagram img { display: block; width: 100%; }
.sec-grid { list-style: none; display: grid; gap: 12px; }
@media (min-width: 640px) { .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .sec-grid { grid-template-columns: repeat(3, 1fr); } }
.sec-grid li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); color: var(--text-2); }
.sec-grid .ic { width: 26px; height: 26px; color: var(--brand); }
.stack-line { margin-top: 32px; padding: 18px 20px; border-radius: var(--radius); border: 1px dashed var(--border-strong); }
.stack-line h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.stack-line p { margin: 0; font-weight: 600; }

/* ---------- about / careers ---------- */
.mission { display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: var(--radius-lg); background: var(--brand-soft); }
.mission .logo-mark { width: 56px; height: 56px; }
.mission h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 8px; }
:lang(hi) .mission h2 { letter-spacing: 0; font-size: 1.05rem; }
.mission-text { font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem); font-weight: 700; line-height: 1.35; margin: 0; color: var(--text); }
@media (min-width: 760px) { .mission { flex-direction: row; align-items: flex-start; padding: 40px; } }
.company-card, .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.kv { display: grid; gap: 12px; margin: 0; }
.kv dt { font-size: .82rem; color: var(--muted); font-weight: 650; }
.kv dd { margin: 0; font-weight: 600; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1.15fr 1fr; gap: 28px; } }
.demo-card { border-top: 5px solid var(--brand); }
.card h2 { font-size: 1.35rem; }
.seg { border: 0; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.seg legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.seg label { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 16px; border: 1px solid var(--border-strong); border-radius: 12px; cursor: pointer; font-weight: 600; background: var(--surface); }
.seg input { accent-color: var(--brand); width: 18px; height: 18px; margin: 0; }
.seg label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.channels { list-style: none; display: grid; gap: 14px; }
.channels li { display: flex; gap: 12px; align-items: flex-start; }
.channels li > .ic { width: 24px; height: 24px; color: var(--brand); margin-top: 2px; }
.channels div { display: flex; flex-direction: column; }
.channels .muted { font-size: .82rem; }

/* ---------- legal ---------- */
.hero-legal h1 { margin-bottom: .3em; }
.legal-updated { font-weight: 650; color: var(--text-2); margin: 0 0 12px; }
.legal-draft { font-size: .92rem; color: var(--muted); padding: 12px 14px; border-radius: 12px; background: var(--surface-2); margin: 0; }
.legal h2 { font-size: 1.2rem; margin: 2em 0 .5em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .5em; margin-bottom: 1em; }
.legal [data-cfg] { font-weight: 600; color: var(--text); }

/* ---------- 404 ---------- */
.hero-404 { text-align: left; padding-bottom: 64px; }
.big-404 { font-size: clamp(4.5rem, 3rem + 8vw, 8rem); font-weight: 850; line-height: 1; margin: 0 0 8px; letter-spacing: -.04em; color: var(--brand); font-family: var(--font); }
.link-tiles { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.link-tiles a { display: flex; align-items: center; gap: 10px; padding: 16px; min-height: 56px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 650; }
.link-tiles a:hover { border-color: var(--brand); color: var(--text); }
.link-tiles .ic { color: var(--brand); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 48px 0 24px; margin-top: 8px; font-size: .95rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-tagline { color: var(--text-2); margin: 12px 0 0; max-width: 36ch; }
.footer-col h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 12px; }
:lang(hi) .footer-col h2 { letter-spacing: 0; font-size: .9rem; }
.footer-col ul, .social { list-style: none; display: grid; gap: 8px; }
.footer-col a, .social a { color: var(--text-2); text-decoration: none; }
.footer-col a:hover, .social a:hover { color: var(--brand); text-decoration: underline; }
.social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-note { margin-left: auto !important; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } .footer-brand { grid-column: auto; } }

@media print {
  .site-header, .site-footer, .actions, .jump { display: none; }
  body { background: #fff; color: #000; }
}
