/* OneVaahan website. Tokens match the apps (packages/shared/src/theme.ts, DECISIONS.md D40). */
:root {
  --navy: #0f2a44;
  --navy-2: #1b3b5a;
  --navy-3: #24507a;
  --teal: #0b7a6f;
  --teal-dark: #08635a;
  --teal-bright: #2bb3a3;
  --teal-soft: #e3f4f1;
  --bg: #f7f6f2;
  --surface: #ffffff;
  --text: #14202e;
  --muted: #5b6b7c;
  --border: #e2e5e9;
  --amber: #9a5b00;
  --amber-soft: #fff4e0;
  --radius: 18px;
  --max: 1140px;
  --shadow: 0 1px 2px rgba(15, 42, 68, 0.06), 0 8px 24px rgba(15, 42, 68, 0.08);
  --shadow-lg: 0 30px 60px rgba(8, 22, 38, 0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img, video, svg { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; color: var(--navy); letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 6.2vw, 58px); font-weight: 800; }
h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 17px; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 42, 68, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -0.01em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.nav-links { display: none; gap: 4px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #c3d1de; text-decoration: none; padding: 9px 14px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: #fff; background: rgba(255, 255, 255, 0.09); }
.btn.nav-cta { display: none; }
.nav-end { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 13px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
.lang-switch:hover { background: rgba(255, 255, 255, 0.1); }
.lang-switch svg { width: 18px; height: 18px; }
/* Hindi pages: Devanagari font, a little more line height, no tight letter-spacing. */
html[lang='hi'] body { font-family: 'Plus Jakarta Sans', 'Noto Sans Devanagari', system-ui, sans-serif; line-height: 1.75; }
html[lang='hi'] h1, html[lang='hi'] h2, html[lang='hi'] h3 { letter-spacing: 0; line-height: 1.3; }
html[lang='hi'] .eyebrow { letter-spacing: 0.02em; text-transform: none; font-size: 14px; }
.menu-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.25); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { display: none; padding: 8px 20px 20px; }
.mobile-nav a { display: block; color: #fff; text-decoration: none; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-weight: 600; }
.mobile-nav .btn { margin-top: 16px; width: 100%; border-bottom: 0; }
.nav-open .mobile-nav { display: block; }
@media (min-width: 900px) {
  .nav-links, .btn.nav-cta { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 22px; border-radius: 14px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform 0.15s, background 0.15s, box-shadow 0.15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(11, 122, 111, 0.3); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-light { background: #fff; color: var(--navy); }
.btn-ghost { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid #c9d0d8; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: 64px 0 90px; background: radial-gradient(900px 500px at 85% 0%, rgba(43, 179, 163, 0.22), transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--teal-bright); }
.hero .lead { color: #cbd8e4; font-size: 19px; max-width: 560px; margin-bottom: 28px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.15fr 1fr; } }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(43, 179, 163, 0.16); color: #8ce5d9; font-size: 14px; font-weight: 700; margin-bottom: 20px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 0 rgba(43, 179, 163, 0.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(43, 179, 163, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 179, 163, 0); } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; color: #a9bccd; font-size: 14px; }
.hero-meta span::before { content: '✓  '; color: var(--teal-bright); font-weight: 700; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; color: var(--bg); }

/* ---------- phone mockup ---------- */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone { position: relative; width: 290px; aspect-ratio: 360 / 760; border-radius: 42px; background: #07172a; padding: 11px; box-shadow: var(--shadow-lg); }
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; width: 70px; height: 7px; margin-left: -35px; border-radius: 6px; background: #22344a; z-index: 2; }
.phone-screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: var(--bg); position: relative; }
.phone-screen video, .phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone.small { width: 230px; border-radius: 34px; padding: 9px; }
.phone.small .phone-screen { border-radius: 26px; }
.float-card { position: absolute; background: #fff; color: var(--text); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; display: flex; align-items: center; gap: 10px; animation: bob 5s ease-in-out infinite; }
.float-card b { display: block; color: var(--navy); font-size: 14px; }
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 18px; height: 18px; }
.float-a { left: -6px; top: 18%; }
.float-b { right: -10px; bottom: 16%; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 520px) { .float-a { left: 0; } .float-b { right: 0; } }
.video-toggle { position: absolute; right: 18px; bottom: 18px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(15, 42, 68, 0.75); color: #fff; display: grid; place-items: center; cursor: pointer; }
.video-toggle svg { width: 18px; height: 18px; }

/* ---------- route animation ---------- */
.route { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: 18px 18px 8px; margin-top: -60px; position: relative; z-index: 2; }
.route svg { width: 100%; height: auto; }
.route-legend { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); padding: 4px 8px 10px; }
.route-legend b { color: var(--navy); }
.route-path { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 3.2s ease forwards; animation-play-state: paused; }
.route.in .route-path { animation-play-state: running; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat .num { font-size: clamp(28px, 4vw, 38px); font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat .lbl { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ---------- cards / grids ---------- */
.grid-3, .grid-2, .grid-4 { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.ico { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 14px; }
.ico svg { width: 24px; height: 24px; }
.ico.navy { background: var(--navy); color: #fff; }

/* ---------- tabs + stepper with phone ---------- */
.tabs { display: inline-flex; background: #e9ecef; border-radius: 14px; padding: 4px; gap: 4px; margin: 0 auto 32px; }
.tab { border: 0; background: transparent; padding: 10px 20px; border-radius: 11px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; min-height: 44px; }
.tab[aria-selected='true'] { background: var(--navy); color: #fff; }
.tab-panel[hidden] { display: none; }
.showcase { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .showcase { grid-template-columns: 1fr 1fr; } .showcase.flip > :first-child { order: 2; } }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.step-btn { width: 100%; text-align: left; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--border); background: #fff; cursor: pointer; font: inherit; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; }
.step-btn .n { width: 32px; height: 32px; border-radius: 50%; background: #e9ecef; color: var(--muted); display: grid; place-items: center; font-weight: 800; flex: none; transition: all 0.2s; }
.step-btn b { display: block; color: var(--navy); font-size: 17px; }
.step-btn span.t { color: var(--muted); font-size: 15px; }
.step-btn[aria-current='step'] { border-color: var(--teal); box-shadow: 0 8px 22px rgba(11, 122, 111, 0.14); }
.step-btn[aria-current='step'] .n { background: var(--teal); color: #fff; }
.step-progress { height: 3px; background: var(--teal-soft); border-radius: 3px; overflow: hidden; margin-top: 10px; display: none; }
.step-btn[aria-current='step'] .step-progress { display: block; }
.step-progress i { display: block; height: 100%; width: 0; background: var(--teal); }
.step-btn[aria-current='step'] .step-progress i { animation: fill var(--step-ms, 5000ms) linear forwards; }
@keyframes fill { to { width: 100%; } }
.screen-stack img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s; }
.screen-stack img.on { opacity: 1; }

/* ---------- comparisons, tables ---------- */
.compare { display: grid; gap: 18px; }
@media (min-width: 820px) { .compare { grid-template-columns: 1fr 1fr; } }
.plan { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 26px; position: relative; }
.plan.featured { border: 2px solid var(--teal); box-shadow: 0 16px 36px rgba(11, 122, 111, 0.12); }
.plan .badge { position: absolute; top: -12px; left: 24px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; letter-spacing: 0.04em; }
.check { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.check li { padding-left: 30px; position: relative; color: var(--text); }
.check li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A6F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--navy); }
.code-demo { display: flex; gap: 8px; }
.code-demo span { width: 46px; height: 56px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 26px; font-weight: 800; display: grid; place-items: center; }

/* ---------- band, faq, notice ---------- */
.band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; border-radius: 28px; padding: 44px 28px; position: relative; overflow: hidden; }
.band h2 { color: #fff; }
.band p { color: #cbd8e4; }
.band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(43, 179, 163, 0.35), transparent 70%); }
@media (min-width: 820px) { .band { padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; } }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--teal); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
.notice { background: var(--amber-soft); color: #6b4000; border-radius: 14px; padding: 14px 18px; }

/* ---------- download cards ---------- */
.dl-grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .dl-grid { grid-template-columns: 1fr 1fr; } }
.dl { background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; color: var(--text); }
.dl-head { display: flex; gap: 14px; align-items: center; }
.dl-head img { width: 60px; height: 60px; border-radius: 16px; }
.dl-head strong { display: block; font-size: 19px; color: var(--navy); }
.dl-head span { color: var(--muted); font-size: 14px; }
.dl small { color: var(--muted); }
.install-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.install-steps li { counter-increment: s; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px 18px 18px 70px; position: relative; }
.install-steps li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 36px; height: 36px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.install-steps b { color: var(--navy); }

/* ---------- inner page head ---------- */
.page-head { background: radial-gradient(700px 300px at 90% 0%, rgba(43, 179, 163, 0.2), transparent 60%), linear-gradient(180deg, var(--navy), var(--navy-2)); color: #fff; padding: 56px 0 64px; }
.page-head h1 { color: #fff; font-size: clamp(30px, 5vw, 46px); }
.page-head p { color: #cbd8e4; font-size: 18px; max-width: 640px; margin: 0; }
.prose { max-width: 780px; }
.prose h2 { font-size: 23px; margin-top: 1.8em; }
.prose li { margin-bottom: 6px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #a9bccd; padding: 48px 0 28px; margin-top: 40px; font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 32px; padding-top: 18px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .route-path { stroke-dashoffset: 0; }
}

/* User guide (guide.html) */
.guide-shot { margin: 14px 0 18px; }
.guide-shot img { width: 100%; max-width: 300px; height: auto; border-radius: 18px; border: 1px solid #E2E5E9; box-shadow: 0 6px 18px rgba(15, 42, 68, .10); }
.guide-notes li { color: #5B6B7C; }
.prose h3 { font-size: 19px; margin-top: 1.6em; color: #0B7A6F; }
.guide-help { padding: 12px 14px; background: #E3F4F1; border-radius: 12px; }

/* ---------- Terms of use and delete account (release 1.9.0) ---------- */
.summary-box { background: var(--teal-soft); border-radius: 16px; padding: 16px 20px; margin: 18px 0 8px; }
.summary-box ul { margin: 6px 0 0; padding-left: 20px; }
.summary-box li { margin-bottom: 4px; }
.terms-version { color: #cbd8e4; }
.del-form { display: grid; gap: 14px; max-width: 400px; margin: 22px 0 18px; }
.del-form label { display: grid; gap: 6px; font-weight: 700; color: var(--navy); font-size: 15px; }
.del-form input, .del-form select, .del-form textarea { font: inherit; font-weight: 400; color: var(--text); border: 1.5px solid #c9d0d8; border-radius: 12px; padding: 12px 14px; min-height: 48px; background: #fff; }
.del-form input:focus, .del-form select:focus, .del-form textarea:focus { outline: 3px solid rgba(11, 122, 111, 0.25); border-color: var(--teal); }
.btn-danger { background: #c0392b; color: #fff; box-shadow: 0 8px 20px rgba(192, 57, 43, 0.25); }
.btn-danger:hover { background: #a93226; }
.btn-danger[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.del-result { max-width: 520px; border-radius: 14px; padding: 14px 18px; margin-top: 18px; font-weight: 600; }
.del-result.ok { background: var(--teal-soft); color: var(--navy); }
.del-result.err { background: #fdecea; color: #8e2a1f; }
.contact-form { max-width: 560px; }
.del-form textarea { resize: vertical; min-height: 140px; }
/* Contact form: a field only bots see and fill in (review N-2). */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
