/* YuviForms public home page. Self-contained: no web fonts, no third-party assets, CSS-only animation.
   Every animation stops under prefers-reduced-motion. No inline styles (CSP style-src 'self'). */
:root {
  --bg: #f6f8fc; --surface: #ffffff; --surface-2: #eef2fb; --ink: #0d1733; --muted: #4a5674; --line: #dde3f0;
  --brand: #2546c9; --brand-2: #3d63f0; --brand-ink: #ffffff; --accent: #f97316; --accent-ink: #b8460a;
  --ok: #0f7a45; --ok-bg: #e3f6ec; --wait: #8a4b06; --wait-bg: #fff2dc; --soft: #31407a; --soft-bg: #e8ecff;
  --night: #070f2b; --night-2: #0d1a47; --night-ink: #e9eeff; --night-muted: #aab6dd; --night-line: rgba(160, 180, 255, .16);
  --focus: #f97316; --radius: 18px; --shadow: 0 1px 2px rgba(13, 23, 51, .05), 0 12px 32px -12px rgba(13, 23, 51, .16);
  --head-h: 68px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080e24; --surface: #0f1834; --surface-2: #0c1530; --ink: #e8edff; --muted: #a5b0d3; --line: #22305e;
    --brand: #7f9bff; --brand-2: #9db2ff; --brand-ink: #0a1235; --accent: #fb923c; --accent-ink: #fdba74;
    --ok: #7ee2ad; --ok-bg: #0f3324; --wait: #fcd28c; --wait-bg: #3a2708; --soft: #c5d0ff; --soft-bg: #1d2a5c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -14px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.65;
  font-family: "Noto Sans Devanagari", "Nirmala UI", "Mangal", "Kohinoor Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.3; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 10px 20px;
  border-radius: 12px; border: 1.5px solid transparent; font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, #e0570c, #b93c0a); color: #fff; box-shadow: 0 8px 22px -8px rgba(234, 88, 12, .65); }
.btn-primary:hover { box-shadow: 0 12px 28px -8px rgba(234, 88, 12, .8); }
.btn-outline { background: transparent; color: var(--brand); border-color: currentColor; }
.btn-outline:hover { background: var(--soft-bg); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); }
.btn-sm { min-height: 42px; padding: 8px 14px; font-size: .95rem; border-radius: 11px; }
.btn-lg { min-height: 54px; padding: 13px 24px; font-size: 1.05rem; border-radius: 14px; }

.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 650; line-height: 1.6; white-space: nowrap; vertical-align: middle; }
.pill-demo { background: rgba(249, 115, 22, .14); color: var(--accent-ink); }
.pill-auto { background: #e3f6ec; color: #0f7a45; }
.pill-soft { background: var(--soft-bg); color: var(--soft); }
.pill-soon { background: var(--wait-bg); color: var(--wait); }
.pill-wait { background: var(--wait-bg); color: var(--wait); }
.pill-ok { background: #e3f6ec; color: #0f7a45; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50; background: rgba(7, 15, 43, .94); color: var(--night-ink);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--night-line);
}
.head-row { display: flex; align-items: center; gap: 16px; min-height: var(--head-h); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-name { font-weight: 800; font-size: 1.4rem; letter-spacing: .2px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.b1 { color: #ffffff; } .b2 { color: #fb923c; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--night-muted); font-weight: 550; font-size: .97rem; transition: color .15s, background-color .15s; }
.main-nav a:hover, .main-nav a[aria-current="true"] { color: #fff; background: rgba(255, 255, 255, .08); }
.head-login { display: flex; gap: 8px; }
.site-head .btn-outline { color: #dfe6ff; border-color: rgba(223, 230, 255, .45); }
.site-head .btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: #dfe6ff; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--night-line); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .ic { width: 24px; height: 24px; }

@media (max-width: 1099px) {
  .main-nav a { padding: 8px 9px; font-size: .92rem; }
}
@media (max-width: 979px) {
  .menu-btn { display: inline-flex; }
  .main-nav { order: 5; flex-basis: 100%; margin: 0; display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; padding: 4px 0 12px; }
  .main-nav { flex-basis: 100%; order: 5; }
  .main-nav a { padding: 12px; font-size: 1rem; }
  .head-login { order: 2; margin-left: auto; }
  .menu-btn { order: 3; }
}
@media (max-width: 559px) {
  .head-row { gap: 10px; padding-top: 8px; }
  .head-login { order: 4; flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 10px; }
  .head-login .btn { width: 100%; padding: 8px 10px; }
  .brand-name { font-size: 1.25rem; }
  .brand img { width: 32px; height: 32px; }
}

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--night-ink); background: radial-gradient(1200px 600px at 80% -10%, #1b3aa8 0%, transparent 60%), linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); padding: 56px 0 72px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.g1 { width: 520px; height: 520px; left: -160px; top: 40px; background: radial-gradient(circle, #3d63f0 0%, transparent 70%); animation: drift1 18s ease-in-out infinite alternate; }
.g2 { width: 440px; height: 440px; right: -120px; bottom: -160px; background: radial-gradient(circle, rgba(249, 115, 22, .7) 0%, transparent 70%); opacity: .35; animation: drift2 22s ease-in-out infinite alternate; }
.grid { position: absolute; inset: -40px; background-image: linear-gradient(rgba(150, 175, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 175, 255, .09) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); animation: gridmove 24s linear infinite; }
.dots { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255, 255, 255, .55) 1px, transparent 1.5px), radial-gradient(circle, rgba(251, 146, 60, .5) 1px, transparent 1.5px); background-size: 210px 190px, 330px 270px; background-position: 20px 30px, 120px 80px; opacity: .35; animation: twinkle 9s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(120px, 60px) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-90px, -50px) scale(1.15); } }
@keyframes gridmove { to { transform: translate(44px, 44px); } }
@keyframes twinkle { to { opacity: .12; transform: translateY(-14px); } }

.hero-row { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-row { grid-template-columns: 1.02fr 1fr; gap: 40px; } .hero { padding: 84px 0 104px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--night-line); background: rgba(255, 255, 255, .05); color: #cfd8ff; font-size: .9rem; font-weight: 550; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero h1 { margin-top: 20px; font-size: clamp(1.9rem, 5.2vw, 3.25rem); font-weight: 800; line-height: 1.28; color: #fff; }
.grad { background: linear-gradient(90deg, #ffb27a, #f97316 40%, #ffd3b0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 18px; font-size: clamp(1.02rem, 2.2vw, 1.18rem); color: #c7d1f3; max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: #b7c3ec; font-size: .93rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .ic { color: #7ee2ad; }
@media (max-width: 479px) { .cta-row .btn { width: 100%; } }

/* hero product demo (synthetic data, 12 s loop) */
.hero-visual { position: relative; max-width: 560px; width: 100%; margin: 0 auto; padding: 0 0 70px; }
.win { position: relative; background: rgba(255, 255, 255, .97); color: #12204a; border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .25); overflow: hidden; width: 88%; }
.win-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #eef2fb; border-bottom: 1px solid #dde3f0; }
.win-dots { display: inline-flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.win-dots i:nth-child(2) { background: #fbbf24; } .win-dots i:nth-child(3) { background: #34d399; }
.win-url { flex: 1; min-width: 0; padding: 3px 10px; border-radius: 8px; background: #fff; color: #5a6687; font-size: .75rem; font-family: system-ui, sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-body { padding: 16px 16px 18px; display: grid; gap: 10px; font-size: .86rem; }
.mf-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mf-title { font-weight: 750; font-size: .98rem; }
.mf-steps { display: flex; gap: 6px; font-size: .72rem; color: #46527a; }
.mf-steps span { padding: 2px 8px; border-radius: 999px; background: #eef2fb; white-space: nowrap; }
.mf-steps .on { background: #2546c9; color: #fff; }
.mf-field { display: grid; gap: 3px; }
.mf-l { font-size: .72rem; color: #5a6687; font-weight: 600; }
.mf-v { display: flex; align-items: center; gap: 6px; min-height: 34px; padding: 5px 10px; border: 1.5px solid #d3dbef; border-radius: 9px; background: #fff; font-weight: 600; color: #0d1733; overflow: hidden; white-space: nowrap; }
.mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mf-auto .mf-v { border-color: #a7e3c4; background: #f2fbf6; }
.mf-radios { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.mf-radios .mf-l { margin-right: 4px; }
.radio { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 6px; border: 1.5px solid #d3dbef; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #fff; color: #33406a; }
.radio::before { content: ""; width: 11px; height: 11px; border-radius: 50%; border: 2px solid #9aa7cb; box-sizing: border-box; }
.radio.on { border-color: #2546c9; color: #2546c9; }
.radio.on::before { border: 3.5px solid #2546c9; }
.mf-actions { display: flex; justify-content: flex-end; }
.mf-btn { padding: 7px 16px; border-radius: 10px; background: #c2410c; color: #fff; font-weight: 700; font-size: .82rem; animation: press 12s ease infinite; }
.mf-progress { display: grid; gap: 6px; padding: 10px 12px; border-radius: 10px; background: #eef2fb; animation: showprog 12s ease infinite; }
.mp-label { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; color: #33406a; font-weight: 600; }
.mp-bar { height: 6px; border-radius: 6px; background: #d6def3; overflow: hidden; }
.mp-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #3d63f0, #22c55e); transform-origin: left; animation: fill 12s ease infinite; }

.type { display: inline-block; clip-path: inset(0 0 0 0); }
.t1 { animation: type1 12s steps(11) infinite; }
.t2 { animation: type2 12s steps(14) infinite; }
.t3 { animation: type3 12s steps(10) infinite; }
.caret { width: 2px; height: 1.1em; background: #2546c9; opacity: 0; }
.c1 { animation: caret1 12s linear infinite; }
.c2 { animation: caret2 12s linear infinite; }
.age { animation: pop 12s ease infinite; }
.mf-auto .pill-auto { animation: pop 12s ease infinite; }

.paper { position: absolute; right: 0; bottom: 0; width: 56%; padding: 16px 14px 14px; background: #fffdf8; color: #12204a; border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .65), 0 0 0 1px rgba(13, 23, 51, .06); transform: rotate(2.5deg); animation: paperin 12s cubic-bezier(.2, .8, .2, 1) infinite; }
.paper-top { display: grid; gap: 5px; justify-items: center; padding-bottom: 10px; border-bottom: 1px dashed #d9dfee; }
.pt-line { display: block; height: 6px; border-radius: 4px; background: #c7cfe4; }
.w60 { width: 60%; } .w40 { width: 40%; }
.paper-rows { display: grid; gap: 7px; padding: 10px 0; }
.pr { display: grid; grid-template-columns: 34% 1fr; align-items: end; gap: 6px; }
.pr-l { height: 5px; border-radius: 4px; background: #d9dfee; }
.pr-l.short { width: 60%; }
.pr-v { border-bottom: 1px solid #c9d1e6; font-size: .78rem; font-weight: 600; color: #1d3ab0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: ink 12s ease infinite; }
.paper-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.paper-actions span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 8px; background: #eef2fb; font-size: .68rem; font-weight: 650; color: #2546c9; }
.paper-actions .ic { width: 13px; height: 13px; }
.paper-ok { position: absolute; top: -12px; right: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: #16a34a; color: #fff; font-size: .72rem; font-weight: 700; box-shadow: 0 6px 16px -6px rgba(22, 163, 74, .8); }
.paper-ok .ic { width: 13px; height: 13px; stroke-width: 3; }

.float { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 12px; background: rgba(13, 26, 71, .72); border: 1px solid rgba(160, 180, 255, .28); color: #e6ecff; font-size: .78rem; font-weight: 600; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); white-space: nowrap; }
.float .ic { color: #fb923c; width: 15px; height: 15px; }
.f1 { top: -18px; right: 0; animation: bob 6s ease-in-out infinite; }
.f2 { left: 2%; bottom: 8px; animation: bob 7s ease-in-out -2s infinite; }
.f2 .ic { color: #7ee2ad; }
@media (max-width: 479px) {
  .win { width: 100%; }
  .paper { position: relative; width: 82%; margin: -40px 0 0 auto; }
  .hero-visual { padding-bottom: 46px; }
  .f1 { top: -16px; right: 4px; }
  .f2 { left: 0; bottom: 0; }
}

@keyframes type1 { 0%, 6% { clip-path: inset(0 100% 0 0); } 18%, 94% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes type2 { 0%, 20% { clip-path: inset(0 100% 0 0); } 34%, 94% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes type3 { 0%, 36% { clip-path: inset(0 100% 0 0); } 46%, 94% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes caret1 { 0%, 5% { opacity: 0; } 6%, 18% { opacity: 1; } 19%, 100% { opacity: 0; } }
@keyframes caret2 { 0%, 19% { opacity: 0; } 20%, 34% { opacity: 1; } 35%, 100% { opacity: 0; } }
@keyframes pop { 0%, 47% { opacity: 0; transform: scale(.7); } 51% { opacity: 1; transform: scale(1.08); } 54%, 94% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes press { 0%, 55% { transform: scale(1); box-shadow: none; } 57% { transform: scale(.93); box-shadow: 0 0 0 6px rgba(249, 115, 22, .25); } 60%, 100% { transform: scale(1); box-shadow: none; } }
@keyframes showprog { 0%, 57% { opacity: .35; } 59%, 94% { opacity: 1; } 100% { opacity: .35; } }
@keyframes fill { 0%, 58% { transform: scaleX(0); } 72%, 94% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes paperin { 0%, 70% { opacity: 0; transform: translateY(24px) rotate(6deg) scale(.94); } 77%, 94% { opacity: 1; transform: translateY(0) rotate(2.5deg) scale(1); } 100% { opacity: 0; transform: translateY(10px) rotate(4deg) scale(.97); } }
@keyframes ink { 0%, 74% { clip-path: inset(0 100% 0 0); } 84%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- sections ---------- */
.sec { padding: 72px 0; }
@media (min-width: 980px) { .sec { padding: 104px 0; } }
.sec-alt { background: var(--surface-2); }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.kicker { display: inline-block; font-size: .85rem; font-weight: 750; letter-spacing: .04em; color: var(--accent-ink); text-transform: uppercase; margin-bottom: 10px; }
.sec h2 { font-size: clamp(1.55rem, 3.6vw, 2.35rem); font-weight: 800; }
.sec-lead { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

.why-grid { display: grid; gap: 18px; }
@media (min-width: 820px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 14px; align-content: start; }
.why-p { display: flex; gap: 10px; color: var(--muted); }
.x { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(239, 68, 68, .12); color: #dc2626; font-weight: 800; line-height: 1; }
.why-s { display: flex; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); font-weight: 600; }
.why-s .ic { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); stroke-width: 3; }

.feat-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } .feat-wide { grid-column: span 3; } }
@media (min-width: 640px) and (max-width: 999px) { .feat-wide { grid-column: span 2; } }
.feat { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }
.feat::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px 160px at 0% 0%, rgba(61, 99, 240, .08), transparent 70%); }
.feat:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: 0 2px 4px rgba(13, 23, 51, .06), 0 22px 44px -18px rgba(37, 70, 201, .35); }
.feat-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #3d63f0, #2546c9); color: #fff; box-shadow: 0 10px 22px -10px rgba(37, 70, 201, .8); margin-bottom: 16px; }
.feat-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s ease; }
.feat:hover .feat-ic svg { transform: scale(1.12) rotate(-6deg); }
.feat h3 { font-size: 1.18rem; font-weight: 750; margin-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.feat ul { display: grid; gap: 8px; color: var(--muted); font-size: .97rem; }
.feat li { position: relative; padding-left: 20px; }
.feat li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@media (min-width: 820px) { .cols { grid-template-columns: repeat(2, 1fr); column-gap: 28px; } }

.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px 80px; min-height: 120px; }
.step-n { position: absolute; left: 20px; top: 20px; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; color: var(--brand); background: var(--soft-bg); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); font-family: system-ui, sans-serif; }
.step h3 { font-size: 1.08rem; font-weight: 750; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .96rem; }

.sec-dark { background: radial-gradient(900px 500px at 10% 0%, #17328f 0%, transparent 60%), linear-gradient(180deg, #0a1438, #070f2b); color: var(--night-ink); }
.sec-dark .kicker { color: #fdba74; }
.sec-dark .sec-lead { color: var(--night-muted); }
.show-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .show-grid { grid-template-columns: repeat(3, 1fr); } }
.shot { margin: 0; display: grid; gap: 14px; align-content: start; }
.shot-win { background: #fff; color: #12204a; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .3s ease; }
.shot:hover .shot-win { transform: translateY(-6px); }
.sw-bar { padding: 9px 12px; background: #eef2fb; border-bottom: 1px solid #dde3f0; }
.sw-body { padding: 16px; display: grid; gap: 10px; font-size: .84rem; min-height: 258px; align-content: start; }
.shot figcaption { color: var(--night-muted); font-size: .95rem; }
.shot figcaption b { display: block; color: #fff; font-size: 1.05rem; }
.sd-hello { font-weight: 750; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sd-stats span { display: grid; padding: 8px; border-radius: 10px; background: #eef2fb; font-size: .7rem; color: #5a6687; text-align: center; }
.sd-stats b { color: #2546c9; font-size: 1rem; }
.sd-ann { display: flex; gap: 6px; align-items: center; padding: 7px 10px; border-radius: 9px; background: #fff2dc; color: #8a4b06; font-size: .76rem; font-weight: 600; }
.sd-forms { display: grid; gap: 6px; }
.sd-forms li { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border: 1px solid #dde3f0; border-radius: 9px; font-weight: 600; }
.sf-step { font-size: .74rem; font-weight: 700; color: #2546c9; }
.sf-q { display: grid; gap: 6px; padding: 9px 10px; border-radius: 10px; background: #eef2fb; font-weight: 650; }
.sf-yn { display: flex; gap: 6px; }
.sf-hint { display: flex; gap: 6px; align-items: center; color: #0f7a45; font-weight: 650; font-size: .76rem; }
.sp-body { background: #e9edf6; }
.sp-page { background: #fffdf8; border-radius: 6px; padding: 14px 12px; display: grid; gap: 7px; box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .4); }
.sp-page .pt-line { justify-self: center; }
.sp-row { display: grid; grid-template-columns: 34% 1fr; gap: 6px; align-items: end; }
.sp-actions { display: flex; gap: 8px; justify-content: flex-end; }
.btn-mini { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 9px; background: #fff; color: #2546c9; font-weight: 700; font-size: .76rem; border: 1px solid #c9d3f2; }
.btn-mini.on { background: #2546c9; color: #fff; border-color: #2546c9; }
.btn-mini .ic { width: 14px; height: 14px; }

.forms-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .forms-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .forms-grid { grid-template-columns: repeat(4, 1fr); } }
.fcat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; justify-items: start; }
.fcat h3 { font-size: 1.08rem; font-weight: 750; }
.fcat p { color: var(--muted); font-size: .95rem; }

.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 820px) { .plan-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.plan { position: relative; display: grid; justify-items: center; gap: 2px; padding: 26px 12px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; overflow: hidden; }
.plan::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #3d63f0, #f97316); }
.plan-n { font-size: 2.6rem; font-weight: 800; line-height: 1.1; color: var(--brand); font-family: system-ui, sans-serif; }
.plan-u { font-weight: 700; }
.plan-d { color: var(--muted); font-size: .9rem; }
.plan-note { margin-top: 18px; color: var(--muted); font-size: .93rem; }

.sec-split { display: grid; gap: 32px; }
@media (min-width: 980px) { .sec-split { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; } .sec-split > div:first-child { position: sticky; top: calc(var(--head-h) + 32px); } }
.sec-list { display: grid; gap: 14px; }
.sec-list li { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.sec-list li > .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--soft-bg); color: var(--brand); }
.sec-list b { display: block; font-size: 1.04rem; margin-bottom: 2px; }
.sec-list div { color: var(--muted); font-size: .96rem; }
.sec-list div b { color: var(--ink); }

.about { display: grid; gap: 24px; }
@media (min-width: 980px) { .about { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.about-copy { display: grid; gap: 14px; color: var(--muted); font-size: 1.04rem; }
.about-copy b { color: var(--ink); }

.faq-wrap { max-width: 880px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 700; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

.final { position: relative; isolation: isolate; overflow: hidden; padding: 80px 0; text-align: center; color: #fff; background: linear-gradient(135deg, #0d1a47, #1b3aa8 55%, #2a1a5e); }
.final h2 { font-size: clamp(1.5rem, 3.6vw, 2.3rem); font-weight: 800; max-width: 22em; margin: 0 auto; }
.final .cta-row { justify-content: center; }

.site-foot { background: #050b22; color: #aab6dd; padding: 56px 0 28px; font-size: .95rem; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.foot-brand p { margin-top: 12px; max-width: 30em; }
.foot-h { font-size: .9rem; font-weight: 750; color: #fff; margin-bottom: 12px; letter-spacing: .02em; }
.site-foot ul { display: grid; gap: 4px; }
.site-foot a { text-decoration: none; display: inline-block; padding: 4px 0; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-base { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(160, 180, 255, .14); display: grid; gap: 8px; }
.disclaimer strong { color: #fff; }
.copy { color: #7f8bb3; font-size: .88rem; }

/* scroll reveal (only when JS is on; content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- legal pages ---------- */
.doc { max-width: 820px; padding: 48px 16px 72px; }
.doc h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; margin-bottom: 8px; }
.doc .meta { color: var(--muted); margin-bottom: 28px; }
.doc h2 { font-size: 1.25rem; font-weight: 750; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 10px; }
.doc ul { list-style: disc; padding-left: 1.4em; display: grid; gap: 6px; }
.doc a { color: var(--brand); }
.draft-note { padding: 14px 16px; border-radius: 12px; background: var(--wait-bg); color: var(--wait); font-weight: 600; margin-bottom: 24px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); text-decoration: none; font-weight: 650; margin-bottom: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .paper { opacity: 1; }
}
@media print {
  .site-head, .hero-bg, .hero-visual, .final, .menu-btn { display: none !important; }
  body { background: #fff; color: #000; }
}

/* legal pages header: login buttons stay visible at every width */
.head-login-doc { margin-left: auto; }
@media (max-width: 559px) { .head-login-doc { order: 0; flex-basis: auto; display: flex; padding-bottom: 0; margin-left: auto; } .head-login-doc .btn { width: auto; padding: 6px 10px; font-size: .85rem; min-height: 40px; } }
@media (max-width: 379px) { .head-login-doc { flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 10px; } .head-login-doc .btn { width: 100%; } }

/* "ई-मित्र फॉर्म" menu item (owner 2026-11-23): a little highlight so visitors notice it */
.main-nav a.nav-new { color: #fff; background: rgba(249, 115, 22, .22); box-shadow: inset 0 0 0 1px rgba(249, 115, 22, .55); }
.main-nav a.nav-new:hover { background: rgba(249, 115, 22, .34); }

/* ---------- header fix (2026-11-24): ONE row on wide screens, menu button below 1200px ---------- */
.site-head .head-row { max-width: 1480px; }
@media (min-width: 1200px) {
  .head-row { flex-wrap: nowrap; gap: 14px; }
  .main-nav ul { gap: 2px; flex-wrap: nowrap; }
  .main-nav a { white-space: nowrap; padding: 8px 10px; }
  .head-login { flex: none; gap: 6px; }
  .head-login .btn { white-space: nowrap; }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  .main-nav a { padding: 7px 8px; font-size: .9rem; }
  .head-login .btn-sm { padding: 7px 11px; font-size: .88rem; min-height: 40px; }
  .brand-name { font-size: 1.3rem; }
}
@media (min-width: 980px) and (max-width: 1199px) {
  .menu-btn { display: inline-flex; order: 3; }
  .main-nav { order: 5; flex-basis: 100%; margin: 0; display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; padding: 4px 0 12px; }
  .main-nav a { padding: 12px; font-size: 1rem; }
  .head-login { order: 2; margin-left: auto; }
}

/* ---------- simple home page (2026-11-28): benefit cards + 3 steps ---------- */
.gain p { color: var(--muted); font-size: .98rem; }
.gain h3 { margin-bottom: 8px; }
@media (min-width: 720px) { .steps-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- home form list (2026-11-28): blog-style, the form name is the link ---------- */
.hf-list { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .hf-list { grid-template-columns: 1fr 1fr; } }
.hf-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); min-width: 0; overflow-wrap: anywhere; }
.hf-card h3 { margin: 0 0 10px; font-size: 1.16rem; line-height: 1.45; }
.hf-card h3 a { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.hf-card h3 a:hover { color: var(--accent-ink); }
.hf-card p { margin: 0 0 10px; color: var(--muted); font-size: .98rem; }
.hf-card .hf-cat { margin: 0 0 6px; color: var(--accent-ink); font-size: .82rem; font-weight: 700; }
.hf-new { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hf-card { display: flex; flex-direction: column; }
.hf-card h4 { margin: 6px 0 4px; font-size: .98rem; }
.hf-card ul { margin: 0 0 10px; padding-left: 20px; list-style: disc; color: var(--muted); font-size: .95rem; }
.hf-card .hf-tip { background: var(--soft-bg); color: var(--soft); border-radius: 10px; padding: 8px 12px; }
.hf-more { margin-top: auto; align-self: flex-start; display: inline-block; padding: 9px 16px; border-radius: 10px; border: 1px solid currentColor; color: var(--brand); font-weight: 700; text-decoration: none; }
.hf-more:hover { background: var(--soft-bg); }
.hf-note { margin: 24px 0 0; color: var(--muted); font-size: .92rem; }

/* home form summary (owner 2026-11-29) */
.hf-facts { margin: 0 0 14px; display: grid; gap: 8px; font-size: .96rem; }
.hf-facts dt { font-weight: 700; font-size: .84rem; color: var(--accent-ink); }
.hf-facts dd { margin: 0; color: var(--muted); }
