/* TOVII website. No outside fonts, scripts or trackers: everything is served from our own server. */
:root {
  --saffron: #f6b26b;
  --saffron-deep: #d9822b;
  --green: #6baf8d;
  --green-deep: #2f7a57;
  --slate: #2e3a59;
  --slate-soft: #5b6680;
  --cream: #fdf9f6;
  --card: #ffffff;
  --line: #ece6df;
  --text: #1f2638;
  --muted: #5b6680;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(31, 38, 56, 0.06), 0 12px 32px -12px rgba(31, 38, 56, 0.18);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Nirmala UI", "Noto Sans Devanagari", "Noto Sans Bengali",
    "Noto Sans Tamil", "Noto Sans Telugu", "Noto Sans Kannada", "Noto Sans Malayalam", "Noto Sans Gujarati", "Noto Sans Gurmukhi",
    "Noto Sans Oriya", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--cream); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-deep); text-underline-offset: 3px; }
h1, h2, h3 { color: var(--slate); line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--saffron-deep); outline-offset: 2px; border-radius: 6px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(253, 249, 246, 0.88); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--slate); text-decoration: none; }
.brand img { width: auto; height: 30px; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; align-items: center; }
.nav a { color: var(--slate); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--green-deep); }
.lang { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 0.9rem; color: var(--slate); }
.menu-btn { display: none; margin-inline-start: auto; background: none; border: 0; font-size: 1.6rem; color: var(--slate); padding: 6px; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .lang { margin-top: 12px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 14px; font-weight: 700; text-decoration: none;
  border: 0; cursor: pointer; font: inherit; font-weight: 700; transition: transform 0.15s, box-shadow 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn.dark { background: var(--slate); color: #fff; box-shadow: var(--shadow); }
.btn.green { background: var(--green-deep); color: #fff; box-shadow: var(--shadow); }
.btn.ghost { background: #fff; color: var(--slate); border: 1px solid var(--line); }
.btn svg { width: 26px; height: 26px; flex: none; }
.btn small { display: block; font-size: 0.7rem; font-weight: 500; opacity: 0.8; line-height: 1; }
.btn .two { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 48px 0 70px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.45; z-index: -1; }
.hero::before { width: 520px; height: 520px; background: var(--saffron); top: -160px; inset-inline-end: -120px; }
.hero::after { width: 460px; height: 460px; background: var(--green); bottom: -200px; inset-inline-end: 160px; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center; }
.flag { width: 18px; height: 12px; border-radius: 2px; display: inline-block; vertical-align: -1px; box-shadow: 0 0 0 1px rgba(0,0,0,.08);
  background: linear-gradient(#ff9933 33.3%, #fff 33.3% 66.6%, #138808 66.6%); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 0.85rem; font-weight: 700; color: var(--green-deep); margin-bottom: 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--saffron-deep), var(--green-deep)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.lead { font-size: 1.2rem; color: var(--slate-soft); max-width: 36em; }
.note { font-size: 0.88rem; color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; padding: 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.93rem; color: var(--slate); }
.trust li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: var(--green-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .phone { margin-inline: auto; }
}

/* phone mock-up (drawn with HTML so it loads instantly) */
.phone { width: min(330px, 86vw); aspect-ratio: 9 / 18.5; background: #11151f; border-radius: 44px; padding: 12px; box-shadow: 0 40px 80px -30px rgba(31, 38, 56, 0.55);
  position: relative; transform: rotate(2deg); }
.screen { background: var(--cream); border-radius: 34px; height: 100%; overflow: hidden; display: flex; flex-direction: column; }
.s-head { background: var(--slate); color: #fff; padding: 30px 18px 14px; font-weight: 800; font-size: 1.2rem; display: flex; justify-content: space-between; }
.s-chips { display: flex; gap: 6px; padding: 10px 12px; }
.s-chips span { font-size: 0.7rem; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--slate); font-weight: 600; }
.s-chips span:first-child { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.row { display: flex; gap: 10px; padding: 10px 14px; align-items: center; }
.av { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 800; }
.row b { display: block; font-size: 0.86rem; color: var(--text); }
.row i { font-style: normal; font-size: 0.76rem; color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.row .t { margin-inline-start: auto; font-size: 0.68rem; color: var(--muted); text-align: end; }
.row .n { display: inline-block; margin-top: 3px; background: var(--green-deep); color: #fff; border-radius: 999px; font-size: 0.65rem; padding: 1px 7px; }
.s-banner { margin: 6px 12px; border-radius: 16px; padding: 14px; color: #fff; background: linear-gradient(120deg, var(--saffron-deep), var(--green-deep)); }
.s-banner b { display: block; font-size: 0.95rem; }
.s-banner span { font-size: 0.72rem; opacity: 0.9; }
.s-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 6px 16px; border-top: 1px solid var(--line); background: #fff; }
.s-nav span { width: 34px; height: 8px; border-radius: 4px; background: var(--line); }
.s-nav span:first-child { background: var(--green-deep); }

/* sections */
section { padding: 76px 0; }
.center { text-align: center; }
.kicker { display: inline-block; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--saffron-deep); margin-bottom: 10px; }
.sub { color: var(--slate-soft); font-size: 1.1rem; max-width: 42em; margin-inline: auto; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
@media (max-width: 1020px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 2px rgba(31, 38, 56, 0.04);
  transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { color: var(--slate-soft); margin: 0; font-size: 0.98rem; }
.ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; }
.ic svg { width: 26px; height: 26px; }
.ic.o { background: #fdebd7; color: var(--saffron-deep); }
.ic.g { background: #dcefe5; color: var(--green-deep); }
.ic.s { background: #e3e7f1; color: var(--slate); }
.alt { background: #fff; border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 24px 0 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 56px; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: -2px; width: 38px; height: 38px; border-radius: 12px;
  background: var(--slate); color: #fff; display: grid; place-items: center; font-weight: 800; }
[dir="rtl"] .steps li { padding: 0 56px 22px 0; }
.panel { background: linear-gradient(150deg, #fff, #fdf1e3 55%, #e6f3ec); border: 1px solid var(--line); border-radius: 28px; padding: 30px; box-shadow: var(--shadow); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 18px 0 0; }
.pill-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 0.92rem; color: var(--slate); }
.dark-sec { background: var(--slate); color: #e9ecf4; }
.dark-sec h2, .dark-sec h3 { color: #fff; }
.dark-sec .sub, .dark-sec .card p { color: #c5cbe0; }
.dark-sec .card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
.dark-sec .kicker { color: var(--saffron); }

/* FAQ */
.faq { max-width: 820px; margin: 36px auto 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--slate); display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--slate-soft); padding-bottom: 18px; margin: 0; }

/* call to action */
.cta { background: linear-gradient(120deg, var(--slate), #24304d); color: #fff; border-radius: 32px; padding: 48px; display: grid;
  grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: #c5cbe0; }
.cta .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.qr { background: #fff; border-radius: 18px; padding: 10px; width: 170px; }
.qr + small { display: block; text-align: center; color: #c5cbe0; margin-top: 8px; font-size: 0.8rem; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; padding: 32px 22px; } .qr-box { display: none; } }

/* footer */
footer { padding: 46px 0 34px; color: var(--muted); font-size: 0.93rem; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
.foot h3 { font-size: 0.95rem; margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 6px 0; }
.foot a { color: var(--slate-soft); text-decoration: none; }
.foot a:hover { color: var(--green-deep); text-decoration: underline; }
.langs { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.legal { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* developer page */
.doc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; padding: 40px 0 80px; }
.doc article { min-width: 0; }
.doc table { display: block; overflow-x: auto; }
.toc { position: sticky; top: 90px; align-self: start; font-size: 0.93rem; }
.toc a { display: block; padding: 6px 0; color: var(--slate-soft); text-decoration: none; }
.toc a:hover { color: var(--green-deep); }
.doc h2 { margin-top: 48px; scroll-margin-top: 90px; }
.doc h3 { margin-top: 26px; }
pre { background: #141a2a; color: #e3e8f5; padding: 40px 18px 18px; border-radius: 14px; overflow-x: auto; font-size: 0.88rem; line-height: 1.55; position: relative; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }
p code, li code, td code { background: #efe9e2; padding: 1px 6px; border-radius: 6px; font-size: 0.9em; }
.copy { position: absolute; top: 10px; inset-inline-end: 10px; background: rgba(255, 255, 255, 0.12); color: #fff; border: 0; border-radius: 8px;
  padding: 4px 10px; font: inherit; font-size: 0.78rem; cursor: pointer; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 0.88rem; cursor: pointer; color: var(--slate); }
.tabs button[aria-selected="true"] { background: var(--slate); color: #fff; border-color: var(--slate); }
.tabpanel[hidden] { display: none; }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 0.93rem; }
th, td { text-align: start; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f6f1eb; color: var(--slate); }
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 22px 0; }
.flow div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.flow b { display: block; color: var(--green-deep); margin-bottom: 4px; }
.iindus-login { display: inline-flex; align-items: center; gap: 10px; background: #2e3a59; color: #fff; border: 0; border-radius: 12px; padding: 12px 18px;
  font: 600 16px system-ui, sans-serif; cursor: pointer; }
.iindus-login img { width: auto; height: 20px; background: #fdf9f6; border-radius: 6px; padding: 2px; }
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; } .toc { position: static; } }

/* download page */
.dl { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.dl .stores { justify-content: center; }
.hidden { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .phone { transform: none; } }

/* Indian scripts are taller and longer: slightly smaller headings */
html:not([lang="en"]) h1 { font-size: clamp(1.75rem, 4.6vw, 3rem); line-height: 1.3; }
html:not([lang="en"]) h2 { font-size: clamp(1.45rem, 3.2vw, 2.1rem); line-height: 1.35; }
.s-chips { overflow: hidden; white-space: nowrap; }
