/* मतदाता खोज — public website. Builds on css/base.css (tokens, font, .num).
   One bold thing: the ticket (क्रमांक as a notched stub). Everything else stays flat and quiet. */

:root {
  --gut: 20px;
  --wrap: 1120px;
  --wa-tint: #E4F1EA;
}

html { scroll-padding-top: 16px; }
body { font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { text-underline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.ic { width: 22px; height: 22px; flex: none; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--surface); color: var(--ink); padding: 12px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 12px; }

/* Dark (petrol-deep) zones: header, hero, final call, footer */
.dark { background: var(--petrol-deep); color: #fff; }
.dark a:not(.btn) { color: #fff; }
.dark :focus-visible { outline-color: var(--rose); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 8px 20px; border-radius: var(--r);
  font-weight: 650; font-size: 1.0625rem; line-height: 1.3; text-decoration: none; text-align: center;
  border: 2px solid transparent;
}
.btn-lg { min-height: 56px; padding: 10px 24px; font-size: 1.125rem; }
.btn-rose { background: var(--rose); color: var(--ink); }
.btn-rose:hover { background: #F7A0BA; }
.btn-petrol { background: var(--petrol); color: #fff; }
.btn-petrol:hover { background: var(--petrol-deep); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0D5F3E; }
.btn-line { border-color: var(--petrol-soft); color: #fff; }
.btn-line:hover { background: rgba(255, 255, 255, .08); }
.btn-ghost { border-color: var(--petrol); color: var(--petrol); background: var(--surface); }
.dark .btn-wa { border-color: #3FA57A; }

/* ---------- Header ---------- */
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 750; font-size: 1.1875rem; text-decoration: none; white-space: nowrap; }
.brand .mark { width: 34px; height: 34px; }
.top-nav { display: flex; gap: 8px; }
.top-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.top-nav a:hover { text-decoration: underline; }
.top-nav .top-login { border: 2px solid var(--petrol-soft); }
.top-nav .top-call { display: none; gap: 8px; font-variant-numeric: tabular-nums; }

/* ---------- Hero ---------- */
.hero { overflow: hidden; }
.hero-in { display: grid; gap: 36px; padding-top: 20px; }
.hero h1 {
  font-size: clamp(2.6rem, 12.4vw, 5.4rem); line-height: 1.4; font-weight: 800; font-stretch: 82%;
}
.hero h1 span { display: block; }
.hero-sub { margin-top: 14px; font-size: 1.1875rem; line-height: 1.6; color: #E6F1F4; max-width: 30em; }
.btns { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.trust-line { margin-top: 22px; display: grid; gap: 4px; color: var(--petrol-soft); font-size: 1.0625rem; }
.trust-line li { display: flex; align-items: center; gap: 10px; }
.trust-line .ic { width: 18px; height: 18px; color: var(--rose); }

/* Phone: drawn in CSS, cut off by the bottom of the hero */
.hero-phone { margin: 0; display: flex; justify-content: center; align-self: end; }
.hero-sub .br { white-space: nowrap; }
.phone {
  width: min(318px, 100%); background: var(--ink); border-radius: 40px 40px 0 0; padding: 12px 12px 0;
  border: 1px solid #1F3640; border-bottom: 0;
}
.screen { background: var(--bg); border-radius: 30px 30px 0 0; padding: 10px 14px 26px; display: flex; flex-direction: column; gap: 12px; }
.status { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .8125rem; padding: 0 6px; line-height: 1; }
.status .ic { width: 18px; height: 18px; }
.appbar { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 750; font-size: .9375rem; }
.appbar .mark { width: 26px; height: 26px; }
/* The search field and the answer card are the app's own (results screen), at phone-mock size. */
.query {
  display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1.5px solid var(--line-strong);
  border-radius: var(--r); padding: 4px 4px 4px 12px; color: var(--ink); font-size: 1rem; font-weight: 500;
}
.q-text { flex: 1; min-width: 0; line-height: 1.5; }
.q-text > span { display: inline-block; }
.q-mic { width: 40px; height: 40px; border-radius: 10px; background: var(--petrol); color: #fff; display: grid; place-items: center; flex: none; }
.found { color: var(--muted); font-size: .9375rem; line-height: 1.4; margin-bottom: -4px; padding-left: 2px; }
.found b { color: var(--ink); font-weight: 700; }

/* THE TICKET — the one sure answer: serial number on a tinted stub, who it is, where to go, send. */
.ticket { background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 16px; overflow: hidden; }
.t-top { display: flex; align-items: stretch; }
.t-serial { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 100px; padding: 12px 14px 12px; background: var(--petrol-tint); border-right: 1.5px dashed var(--ink); }
.t-lab { font-size: .8125rem; line-height: 1.4; color: var(--petrol-deep); font-weight: 600; }
.t-big { font-size: 3.4rem; line-height: 1; color: var(--petrol-deep); font-weight: 800; }
.t-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 12px 12px 10px; line-height: 1.45; font-size: .9375rem; }
.t-name { font-size: 1.125rem; font-weight: 750; line-height: 1.4; }
.t-stamp {
  align-self: flex-end; margin-top: auto; transform: rotate(-6deg);
  border: 2px solid var(--rose-ink); color: var(--rose-ink); border-radius: 6px;
  padding: 0 8px; font-size: .8125rem; font-weight: 750; line-height: 1.6;
}
.t-facts { display: flex; flex-wrap: wrap; gap: 2px 12px; padding: 8px 14px; border-top: 1px solid var(--line); font-size: .9375rem; line-height: 1.5; }
.t-facts span { white-space: nowrap; }
.t-acts { display: flex; gap: 8px; padding: 0 10px 10px; }
.send {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 12px;
  background: var(--wa); color: #fff; font-weight: 650; font-size: 1rem;
}
.view { display: flex; align-items: center; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 12px; font-weight: 650; font-size: .9375rem; white-space: nowrap; }

/* The one orchestrated moment: query types in, ticket drops, send button settles. ≤1.2s. */
@keyframes mk-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes mk-drop { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
@keyframes mk-fade { from { opacity: 0; } to { opacity: 1; } }
.q-text > span { animation: mk-type .5s steps(14, end) .1s both; }
.found { animation: mk-fade .2s linear .6s both; }
.ticket { animation: mk-drop .36s cubic-bezier(.2, .8, .3, 1.15) .62s both; }
.t-acts { animation: mk-fade .22s linear .95s both; }

/* ---------- Sections ---------- */
.sec { padding: 64px 0; }
.sec h2 { font-size: clamp(1.875rem, 1.3rem + 2.6vw, 2.75rem); line-height: 1.4; font-weight: 800; font-stretch: 87.5%; color: var(--petrol-deep); }
.sec h3 { font-size: 1.25rem; line-height: 1.4; font-weight: 700; }
.sec p { max-width: 38em; }
.soft { display: block; color: var(--muted); font-weight: 500; font-size: 1.0625rem; }
.nw { white-space: nowrap; }
.lead { margin-top: 10px; color: var(--muted); }

/* Steps: a real sequence */
.steps { margin-top: 32px; display: grid; }
.steps li { position: relative; padding: 0 0 32px 76px; min-height: 64px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; left: 27px; top: 64px; bottom: 8px; border-left: 2px dashed var(--line); }
.steps li:last-child::before { display: none; }
.step-n {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: var(--petrol); color: #fff; font-size: 2rem; line-height: 1;
}
.steps h3 { padding-top: 10px; }
.steps p { margin-top: 6px; color: var(--ink); }
.steps .step-note { color: var(--petrol); font-weight: 600; }

/* Features: mixed layout, small drawn scenes, no icon-card grid */
.feats-sec { background: var(--surface); border-block: 1px solid var(--line); }
.feats { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.feat { min-width: 0; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 18px; align-content: start; background: var(--surface); }
.f-off, .f-spell { align-content: center; }
.feat p { margin-top: 6px; color: var(--muted); }
.art { color: var(--ink); }

/* mini ticket (reused) */
.mt {
  --n: 6px; display: inline-grid; place-items: center; min-width: 54px; height: 42px; padding: 0 10px;
  background: var(--surface); border-left: 5px solid var(--rose); border-radius: 6px;
  -webkit-mask: radial-gradient(circle var(--n) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--n) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
}
.mt .num { font-size: 1.5rem; line-height: 1; color: var(--petrol-deep); }
.mt-lg { min-width: 84px; height: 64px; --n: 8px; border-left-width: 7px; }
.mt-lg .num { font-size: 2.5rem; }

.f-off { background: var(--petrol-tint); border-color: var(--petrol-tint); }
.art-off { display: grid; gap: 12px; }
.off-line { display: flex; align-items: center; min-width: 0; }
.off-tix { display: flex; flex-wrap: wrap; gap: 8px; }
.art-off .sync { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 12px; border-radius: 999px; background: var(--petrol); color: #fff; font-size: .9375rem; font-weight: 600; }
.art-off .sync .ic { width: 18px; height: 18px; }
.art-off .wire { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 42px; color: var(--muted); background: linear-gradient(var(--line-strong), var(--line-strong)) center / 100% 2px no-repeat; }
.art-off .wire .ic { width: 26px; height: 26px; background: var(--petrol-tint); padding: 0 4px; box-sizing: content-box; }


.art-poll { display: grid; gap: 8px; }
.house { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg); border-radius: var(--r-sm); padding: 8px 12px; font-weight: 600; }
.dots { display: flex; gap: 6px; }
.art-poll i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); position: relative; flex: none; display: inline-block; }
.art-poll i.v { background: var(--ok); border-color: var(--ok); }
.art-poll i.v::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.legend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .9375rem; color: var(--muted); margin-top: 4px; }
.legend i { width: 20px; height: 20px; }
.legend i.v::after { left: 5px; top: 1.5px; width: 5px; height: 9px; border-width: 0 2px 2px 0; }
.legend i + i { margin-left: 10px; }

.art-one { background: var(--bg); border-radius: var(--r); padding: 12px; }
.one-svg { width: 100%; max-width: 240px; height: auto; margin: 0 auto; }


.art-spell { display: flex; align-items: center; gap: 6px; background: var(--rose-tint); border-radius: var(--r); padding: 14px 16px; }
.spells { display: grid; gap: 6px; }
.spells span { background: var(--surface); border-radius: 999px; padding: 2px 14px; font-weight: 600; font-size: 1rem; line-height: 1.6; }
.brace { width: 34px; height: 96px; flex: none; }


/* Prices */
.price-sec { background: var(--surface); border-block: 1px solid var(--line); }
.plans { margin-top: 28px; display: grid; gap: 14px; }
.plan { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 20px; display: flex; flex-direction: column; background: var(--surface); }
.plan h3 { font-size: 1.375rem; color: var(--petrol-deep); }
.plan-sub { color: var(--muted); }
.plan-total { margin-top: 14px; padding-top: 14px; border-top: 2px dashed var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.plan-total .num { font-size: 2.75rem; line-height: 1.15; color: var(--ink); }
.plan-break { color: var(--muted); font-variant-numeric: tabular-nums; }
.plan-break b { color: var(--ink); white-space: nowrap; }
.plan-ac { border: 2px solid var(--petrol); }
/* The dated price that follows: one plain line under the total. No strike-through, no badge, no timer. */
.plan-break { margin-bottom: 18px; }
.plan-break + .plan-then { margin: -14px 0 18px; }
.plan-then { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.bulk { margin-top: 14px; max-width: none; color: var(--ink); font-weight: 600; }
/* Cards in a row are equally tall; the button sits at the bottom of each. */
.plan-cta { margin-top: auto; align-self: stretch; }

.extras { margin-top: 14px; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); }
.extra { padding: 18px 22px; }
.extra + .extra { border-top: 1px solid var(--line); }
.extra h3 { font-size: 1.125rem; color: var(--petrol-deep); }
.extra p { margin-top: 4px; color: var(--muted); font-variant-numeric: tabular-nums; }
.extra .extra-p { margin-top: 2px; color: var(--ink); }
.extra b { color: var(--ink); white-space: nowrap; }
.extra a { font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; min-height: 48px; }

.trial { margin-top: 28px; background: var(--petrol-tint); border-radius: var(--r-lg); padding: 24px 22px; display: grid; gap: 18px; }
.trial-h { font-size: 1.375rem; line-height: 1.4; font-weight: 800; font-stretch: 87.5%; color: var(--petrol-deep); }
.trial p + p { margin-top: 6px; color: var(--ink); }

/* Trust */
.trust-sec { background: var(--petrol-tint); }
.trust-in { display: grid; gap: 28px; }
.trust-lead { margin-top: 12px; font-size: 1.375rem; line-height: 1.5; font-weight: 700; color: var(--ink); }
.trust-head p + p { margin-top: 12px; }
.trust-head a { font-weight: 650; display: inline-flex; min-height: 48px; align-items: center; }
.trust-list { display: grid; gap: 0; }
.trust-list li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--petrol-soft); }
.trust-list .ic { width: 26px; height: 26px; color: var(--petrol); margin-top: 2px; }
.trust-list b { font-size: 1.125rem; line-height: 1.45; }
.trust-list p { margin-top: 2px; color: var(--ink); }

/* FAQ */
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 12px 0; font-weight: 650; font-size: 1.125rem; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background:
    linear-gradient(var(--petrol), var(--petrol)) center / 12px 2px no-repeat,
    linear-gradient(var(--petrol), var(--petrol)) center / 2px 12px no-repeat,
    var(--petrol-tint);
}
.faq details[open] summary::after { background: linear-gradient(#fff, #fff) center / 12px 2px no-repeat, var(--petrol); }
.faq summary:hover { color: var(--petrol); }
.faq details p { padding: 0 0 18px; color: var(--ink); }

/* Final call */
.final { padding: 64px 0 56px; }
.final h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); line-height: 1.4; font-weight: 800; font-stretch: 85%; }
.final p { margin-top: 10px; color: #E6F1F4; font-size: 1.125rem; max-width: 34em; }
.final .btns { margin-top: 26px; }

/* Footer */
.foot { border-top: 1px solid #0F5267; padding: 32px 0 calc(104px + env(safe-area-inset-bottom)); color: var(--petrol-soft); }
.foot-in { display: grid; gap: 22px; }
.foot-brand { color: #fff; font-weight: 750; font-size: 1.125rem; }
.foot-biz p + p { margin-top: 2px; }
.foot-contact { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 6px; }
.foot-contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 650; font-variant-numeric: tabular-nums; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 48px; min-width: 48px; font-weight: 600; }
.foot-legal { color: var(--petrol-soft); }

/* Mobile dock: appears after the hero */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; gap: 10px;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .2s ease-out; visibility: hidden;
}
.dock.on { transform: none; visibility: visible; }
.dock .btn { flex: 1; min-height: 52px; }

@media (max-width: 359px) {
  :root { --gut: 16px; }
  .brand { font-size: 1.0625rem; gap: 8px; }
  .top-nav a { padding: 0 10px; }
  .query { font-size: .875rem; padding-left: 10px; }
  .screen { padding-inline: 10px; }
}

/* ---------- Wider screens ---------- */
@media (min-width: 600px) {
  :root { --gut: 32px; }
  .btns { flex-direction: row; flex-wrap: wrap; }
  .trust-line { display: flex; flex-wrap: wrap; gap: 6px 22px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extra + .extra { border-top: 0; border-left: 1px solid var(--line); }
  .trial { grid-template-columns: 1fr auto; align-items: center; padding: 28px 32px; }
}

@media (min-width: 760px) {
  .feats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .feat { grid-column: span 3; }
}

@media (min-width: 960px) {
  :root { --gut: 40px; }
  body { font-size: 1.125rem; }
  .top-in { min-height: 76px; }
  .top-nav .top-call:not([hidden]) { display: inline-flex; }
  .hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 48px; padding-top: 48px; }
  .hero-copy { padding-bottom: 88px; align-self: center; }
  .hero-sub { font-size: 1.3125rem; margin-top: 20px; }
  .hero-sub .br { display: block; }
  .hero-phone { justify-content: flex-end; }
  .btns { margin-top: 34px; }
  .phone { width: 364px; }
  .t-big { font-size: 3.8rem; }
  .t-serial { min-width: 116px; }
  .sec { padding: 96px 0; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 44px; }
  .steps li { padding: 84px 0 0; }
  .steps li::before { left: 72px; right: -28px; top: 28px; bottom: auto; border-left: 0; border-top: 2px dashed var(--line); }
  .steps li:last-child::before { display: none; }
  .steps h3 { padding-top: 0; }
  .feats { margin-top: 44px; gap: 20px; }
  .feat { padding: 28px; }
  .f-off { align-content: center; gap: 24px; }
  .f-off .feat-txt p { max-width: 30em; }
  .f-off .mt { min-width: 64px; height: 50px; }
  .f-off .mt .num { font-size: 1.75rem; }
  .plans { gap: 16px; margin-top: 40px; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
  .plan { padding: 24px 22px; }
  .plan-total .num { font-size: 2.75rem; }
  .extras { margin-top: 20px; }
  .trial { margin-top: 36px; }
  .trust-in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; }
  .trust-lead { font-size: 1.75rem; }
  .faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .faq { margin-top: 0; }
  .final { padding: 96px 0 88px; }
  .foot { padding-bottom: 40px; }
  .foot-in { grid-template-columns: 1fr auto; align-items: start; }
  .foot-legal { grid-column: 1 / -1; border-top: 1px solid #0F5267; padding-top: 18px; }
  .dock { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .dock { transition: none; }
}
