/* Scam Ya Sach? by Assurex. Brand: charcoal + white + Assurex red (#E3000F), Kumbh Sans. */
:root {
  --ink: #1f2328;
  --ink2: #3f4652;
  --muted: #6b7280;
  --bg: #ffffff;
  --soft: #f5f6f8;
  --line: #e6e8ec;
  --dark: #15181d;
  --red: #e3000f;
  --red-ink: #b8000c;
  --red-soft: #fdeced;
  --green: #0b8a4a;
  --green-ink: #06703b;
  --green-soft: #e6f5ec;
  --amber: #b45309;
  --amber-soft: #fff4e0;
  --wa: #25d366;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px rgba(16,24,40,.08);
  --font: "Kumbh Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body { min-height: 100dvh; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
[hidden] { display: none !important; }
a { color: var(--red-ink); }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.screen { display: none; }
.screen.active { display: block; }

/* ---------- header / footer ---------- */
.top {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); padding-top: var(--safe-t);
}
.top .wrap { display: flex; align-items: center; gap: 14px; height: 60px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 26px; width: auto; display: block; }
.brand .sep { width: 1px; height: 22px; background: var(--line); }
.brand b { font-weight: 800; font-size: 17px; letter-spacing: -.2px; white-space: nowrap; }
.brand b span { color: var(--red); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav .btn { width: auto; padding: 9px 16px; font-size: 15px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--red-ink); background: var(--red-soft); border-radius: 99px; padding: 5px 12px; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

.foot { background: var(--soft); border-top: 1px solid var(--line); margin-top: 72px; padding: 32px 0 calc(32px + var(--safe-b)); color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.foot img { height: 24px; width: auto; display: block; margin-bottom: 6px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { color: var(--ink2); text-decoration: none; font-weight: 600; }
.foot a:hover { color: var(--red-ink); }
.foot small { display: block; }

/* ---------- buttons & inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  border: 0; border-radius: 12px; padding: 14px 20px; font-size: 17px; font-weight: 700;
  cursor: pointer; text-decoration: none; text-align: center; transition: transform .1s, background .15s, box-shadow .15s;
}
.btn:active { transform: scale(.98); }
.btn:focus-visible, .icon-btn:focus-visible, .seg button:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.btn.primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(227,0,15,.22); }
.btn.primary:hover { background: #c9000d; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #000; }
.btn.outline { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.outline:hover { box-shadow: inset 0 0 0 1.5px #c9ced6; }
.btn.ghost { background: transparent; color: var(--muted); font-weight: 600; font-size: 15px; }
.btn.wa { background: var(--wa); color: #073b1d; }
.btn.ig { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
input {
  width: 100%; padding: 13px 14px; border-radius: 12px; font-size: 16px; outline: none;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
input:focus { border-color: var(--ink2); }

/* ---------- home ---------- */
.hero { padding: 56px 0 48px; background: radial-gradient(ellipse at 85% 30%, #fdeced 0%, rgba(253,236,237,0) 55%), linear-gradient(180deg, #fff 0%, var(--soft) 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(56px, 9vw, 104px); line-height: .92; margin: 18px 0 14px; letter-spacing: -3px; font-weight: 800; }
.hero h1 .scam { color: var(--red); }
.hero h1 .ya { color: var(--muted); font-weight: 600; font-size: .55em; letter-spacing: -1px; }
.hero h1 .sach { color: var(--green); }
.lede { font-size: clamp(20px, 2.4vw, 26px); color: var(--ink2); margin: 0 0 26px; font-weight: 600; }
.lede b { color: var(--ink); }
.start { max-width: 480px; }
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; background: #eceef1; border-radius: 12px; padding: 4px; margin-bottom: 12px; width: 100%; }
.seg button { border: 0; background: transparent; padding: 10px 12px; border-radius: 9px; font-weight: 700; color: var(--ink2); cursor: pointer; font-size: 15px; }
.seg button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.start-row { display: flex; gap: 10px; }
.start-row input { flex: 1; min-width: 0; }
.start-row .btn { width: auto; flex: none; padding-left: 30px; padding-right: 30px; }
.stat { margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.stat b { color: var(--ink); }
.banner { display: block; max-width: 480px; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: var(--amber-soft); color: #5b3a07; font-size: 16px; line-height: 1.35; box-shadow: inset 0 0 0 1px #f6d9a8; }
.banner b { color: #3d2600; }

/* live demo phone: real cards get stamped scam/sach on a loop */
.demo { position: relative; height: 560px; }
.demo .phone { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.demo .stamp { top: 22px; right: 22px; font-size: 20px; }

.section { padding: 64px 0 0; }
.section h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.05; margin: 0; letter-spacing: -1px; }
.icon-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.icon-steps li { counter-increment: s; display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 18px; background: var(--soft); position: relative; }
.icon-steps svg { width: 44px; height: 44px; flex: none; color: var(--red); }
.icon-steps b { font-size: 22px; letter-spacing: -.3px; }
.icon-steps li::after { content: counter(s); position: absolute; top: 12px; right: 16px; font: 700 14px var(--mono); color: #b5bac3; }

.showcase { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; background: var(--dark); color: #fff; border-radius: 24px; padding: 40px; }
.showcase img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.45); transform: rotate(-2deg); display: block; }
.showcase h2 { color: #fff; font-size: clamp(34px, 4.4vw, 52px); }
.showcase p { color: #c3c8d0; font-size: 18px; margin: 18px 0 22px; }
.showcase .btn { width: auto; }
.tiers { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.tiers li { padding: 10px 16px; border-radius: 12px; font: 600 14px var(--mono); color: #1f2328; }
.tiers b { display: block; font: 800 17px var(--font); }
.tiers .gold { background: #f6e7b0; }
.tiers .silver { background: #e5e7eb; }
.tiers .bronze { background: #f1d9c5; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head a { font-weight: 700; color: var(--ink); }
.icon-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.icon-tiles a { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s, transform .15s; height: 100%; }
.icon-tiles a:hover { box-shadow: inset 0 0 0 1px #c9ced6, var(--shadow); transform: translateY(-2px); }
.icon-tiles svg { width: 30px; height: 30px; flex: none; color: var(--red); }
.icon-tiles b { font-size: 16px; line-height: 1.2; }

.strip { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; padding: 18px 22px; border-radius: 16px; }
.strip b { font-size: 18px; }
.strip .btn { width: auto; }
.strip.dark { margin-top: 40px; background: var(--dark); color: #fff; }
.strip.red { background: var(--red-soft); color: #5c0006; }
.strip.red b { color: var(--red-ink); }
.strip .num { font: 700 20px var(--mono); color: var(--red-ink); }

/* library pages and privacy still use these */
.lib-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.lib-grid a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s, transform .15s; }
.lib-grid a:hover { box-shadow: inset 0 0 0 1px #c9ced6, var(--shadow); transform: translateY(-1px); }
.lib-grid .cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--red-ink); }
.lib-grid b { font-size: 16px; line-height: 1.3; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink2); }

/* ---------- game ---------- */
#game { background: var(--soft); }
#game.active { display: flex; flex-direction: column; height: 100dvh; }
body.playing { overflow: hidden; overscroll-behavior: none; }
body.playing .top, body.playing .foot { display: none; }
.game-col { width: 100%; max-width: 480px; margin: 0 auto; flex: 1; min-height: 0; display: flex; flex-direction: column; padding: calc(10px + var(--safe-t)) 14px calc(12px + var(--safe-b)); }
.game-top { display: flex; align-items: center; gap: 10px; }
.icon-btn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 16px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.progress { font-weight: 700; color: var(--muted); font-size: 15px; }
.progress b { color: var(--ink); font-size: 20px; }
.balance {
  margin-left: auto; text-align: right; line-height: 1.1;
}
.balance small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.balance b { font: 700 19px var(--mono); color: var(--green); transition: color .3s; }
.balance.low b { color: var(--amber); }
.balance.hit b { color: var(--red); }
.balance.hit { animation: hit .5s ease; }
@keyframes hit { 25%, 75% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
.timer { height: 4px; border-radius: 2px; background: var(--line); margin: 10px 0; overflow: hidden; }
.timer i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; }
.timer.late i { background: var(--red); }
.bunty { display: flex; gap: 10px; align-items: center; }
.bunty-face { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 0 0 2px var(--red); }
.bunty p { margin: 0; font-size: 14px; line-height: 1.3; color: var(--ink2); }
.bunty b { color: var(--ink); }
.bunty.pop p { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(3px); } }
.ctx { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--amber-soft); color: #5b3a07; font-size: 14px; line-height: 1.35; }
.ctx::before { content: "Context  "; font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--amber); }

.phone-wrap { flex: 1; min-height: 0; margin: 10px 0; position: relative; display: flex; }
.phone {
  flex: 1; min-height: 0; overflow-y: auto; border-radius: 28px; border: 7px solid var(--dark);
  background: #fff; color: #111; position: relative; box-shadow: 0 18px 40px rgba(16,24,40,.18);
  transition: transform .25s ease, opacity .25s ease; touch-action: pan-y; outline: none;
}
.phone.enter { animation: enter .3s ease; }
@keyframes enter { from { transform: translateY(16px); opacity: 0; } }
.phone .status { display: flex; justify-content: space-between; font: 600 12px var(--mono); padding: 7px 16px 5px; color: #333; }

/* flags: invisible until answered, then red (scam) or green (genuine) */
.f { transition: background .3s, color .3s; border-radius: 4px; }
.revealed .f { padding: 1px 3px; font-weight: 700; }
.revealed.is-scam .f { background: #ffe1e3; color: #a3000b; box-shadow: 0 0 0 1px #ffb8bd; }
.revealed.is-sach .f { background: #dcf4e6; color: #05622f; box-shadow: 0 0 0 1px #a6e2bf; }
.revealed.is-scam .from-flag { color: #a3000b; text-decoration: underline wavy #ff8a93; text-underline-offset: 3px; }

/* sms */
.app-sms { background: #f4f5f7; min-height: 100%; }
.app-sms .head, .app-email .head { display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px; border-bottom: 1px solid #e3e5ea; background: #fff; }
.avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: #8a93a3; font-size: 16px; }
.head .who { min-width: 0; }
.head .who b { display: block; font: 700 15px var(--mono); overflow-wrap: anywhere; }
.head .who small { display: block; color: #6a7385; font-size: 12px; }
.bubble { margin: 14px 12px; max-width: 88%; padding: 10px 12px; border-radius: 16px 16px 16px 4px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12); font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.bubble time { display: block; text-align: right; font-size: 11px; color: #8a92a3; margin-top: 4px; }
.app-sms .bubble { background: #e9ebef; box-shadow: none; }

/* whatsapp-like chat */
.app-wa { background: #efe7de; min-height: 100%; }
.app-wa .head, .app-chat .head { display: flex; align-items: center; gap: 10px; padding: 8px 12px 10px; background: #0b7d6e; color: #fff; }
.app-wa .head .who small { color: #c8efe8; }
.app-wa .avatar { background: #cfd8dc; color: #53616a; }
.app-wa .warn, .app-chat .warn { margin: 10px auto 0; width: max-content; max-width: 90%; font-size: 12px; background: #fff7cc; color: #6b5a00; padding: 4px 10px; border-radius: 8px; text-align: center; }
.app-wa .bubble { border-radius: 4px 16px 16px 16px; }
.file { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: #f1f3f4; }
.file i { font-style: normal; flex: none; width: 36px; height: 40px; border-radius: 6px; display: grid; place-items: center; background: #5f6b7a; color: #fff; font: 700 10px var(--mono); }
.file b { display: block; font: 700 14px var(--mono); overflow-wrap: anywhere; }
.file small { color: #6a7385; font-size: 12px; }
.revealed.is-scam .file { background: #ffe1e3; box-shadow: 0 0 0 2px #ff8a93; }
.revealed.is-scam .file i { background: var(--red); }
.qr { display: block; margin-top: 8px; width: 132px; height: 132px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px #ddd; image-rendering: pixelated; }
.revealed.is-scam .qr { box-shadow: 0 0 0 3px #ff8a93; }

/* work chat */
.app-chat { background: #f3f2f8; min-height: 100%; }
.app-chat .head { background: #464775; }
.app-chat .head .who small { color: #d9d9f0; }
.app-chat .avatar { background: #8b8cc7; }
.app-chat .bubble { border-radius: 4px 14px 14px 14px; }

/* call screen */
.app-call { min-height: 100%; background: linear-gradient(180deg, #243047, #0f1522); color: #fff; padding: 14px 14px 20px; text-align: center; display: flex; flex-direction: column; }
.app-call .status { color: #c8d3e6; padding: 0 0 10px; }
.app-call .avatar { width: 72px; height: 72px; font-size: 28px; margin: 6px auto 8px; background: #3a4a66; }
.app-call .caller { font: 700 19px var(--mono); overflow-wrap: anywhere; }
.app-call .sub { color: #aab7cc; font-size: 14px; }
.app-call .live { color: #4ade80; font-size: 13px; margin: 4px 0 10px; }
.app-call .say { text-align: left; margin: 8px 0 0; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.1); font-size: 16px; line-height: 1.45; }
.app-call.revealed.is-scam .f { background: #5a1520; color: #ffd0d6; box-shadow: 0 0 0 1px #ff6b7a; }
.app-call.revealed.is-sach .f { background: #0f4a2c; color: #c8ffe0; box-shadow: 0 0 0 1px #3ce38f; }
.app-call.revealed.is-scam .from-flag { color: #ffb3bb; }

/* upi */
.app-upi { min-height: 100%; background: #f5f3ff; }
.app-upi .top-bar { background: #5b3cc4; color: #fff; padding: 10px 14px 44px; font-weight: 700; }
.upi-card { margin: -34px 14px 0; background: #fff; border-radius: 18px; padding: 18px 16px; box-shadow: 0 8px 24px rgba(40,20,120,.15); text-align: center; }
.upi-card .avatar { margin: 0 auto 6px; background: #8f7ae6; }
.upi-card .from { font-weight: 800; font-size: 17px; }
.upi-card .kind { color: #6a7385; font-size: 13px; }
.upi-card .amt { font: 700 32px var(--mono); margin: 8px 0 2px; }
.upi-card .note { color: #4b5363; font-size: 15px; }
.upi-card .act { margin-top: 14px; padding: 12px; border-radius: 12px; background: #5b3cc4; color: #fff; font-weight: 800; font-size: 15px; }
.upi-card .act.ok { background: #e3f7ec; color: #0b7a40; }
.upi-card .pin { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.upi-card .pin i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #5b3cc4; }

/* email */
.app-email { min-height: 100%; background: #fff; }
.app-email .subject { font-size: 18px; font-weight: 800; padding: 12px 14px 0; line-height: 1.25; }
.app-email .head { border-bottom: 0; padding-top: 10px; }
.app-email .head .avatar { background: #d9573a; }
.app-email .text { padding: 4px 14px 16px; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.app-email .file { margin: 0 14px 16px; }

/* emergency alert */
.app-alert { min-height: 100%; background: #f4f5f7; padding-bottom: 14px; }
.alert-box { margin: 12px; background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 2px 10px rgba(0,0,0,.08); border-top: 6px solid #e0a100; }
.alert-box b { display: block; font-size: 16px; margin-bottom: 6px; }
.alert-box p { margin: 0; font-size: 16px; line-height: 1.45; }

/* mfa prompt */
.app-mfa { min-height: 100%; background: #0f1522; color: #fff; display: flex; flex-direction: column; }
.app-mfa .status { color: #c8d3e6; }
.mfa-card { margin: auto 14px; background: #fff; color: #111; border-radius: 20px; padding: 22px 18px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.mfa-card .lock { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center; background: #e8eefc; color: #2451c9; font-size: 24px; }
.mfa-card .app-name { font-size: 13px; color: #6a7385; font-weight: 600; }
.mfa-card h4 { margin: 4px 0 8px; font-size: 20px; }
.mfa-card p { margin: 0; color: #4b5363; font-size: 15px; }
.mfa-card .num { margin: 12px auto 0; width: 84px; padding: 6px 0; border-radius: 10px; border: 2px solid #2451c9; font: 700 30px var(--mono); color: #2451c9; }
.mfa-card .mfa-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.mfa-card .mfa-btns span { padding: 11px 0; border-radius: 10px; font-weight: 800; background: #eef0f3; }
.mfa-card .mfa-btns span:last-child { background: #2451c9; color: #fff; }

.stamp {
  position: absolute; top: 12px; right: 14px; z-index: 2; transform: rotate(-6deg);
  font-size: 15px; font-weight: 800; padding: 2px 10px; border: 2.5px solid; border-radius: 8px; letter-spacing: 1.5px;
  pointer-events: none; animation: stamp .3s cubic-bezier(.2,1.6,.4,1); background: #fff;
}
.stamp.scam { color: var(--red); border-color: var(--red); }
.stamp.sach { color: var(--green); border-color: var(--green); }
@keyframes stamp { from { transform: rotate(-6deg) scale(2); opacity: 0; } }

.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn.ans { font-size: 19px; padding: 16px 10px; }
.btn.scam { background: var(--red); color: #fff; }
.btn.scam:hover { background: #c9000d; }
.btn.sach { background: var(--green); color: #fff; }
.btn.sach:hover { background: var(--green-ink); }
.swipe-hint { text-align: center; color: var(--muted); font-size: 13px; margin: 8px 0 0; }

.verdict { flex: none; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); animation: up .25s ease; max-height: 48dvh; overflow-y: auto; border-left: 5px solid var(--line); }
@keyframes up { from { transform: translateY(20px); opacity: 0; } }
.verdict.good { border-left-color: var(--green); }
.verdict.bad { border-left-color: var(--red); }
.verdict h3 { margin: 0; font-size: 19px; line-height: 1.2; }
.verdict.good h3 { color: var(--green-ink); }
.verdict.bad h3 { color: var(--red-ink); }
.v-loss { margin: 2px 0 0; font: 700 14px var(--mono); color: var(--red-ink); }
.v-why { margin: 6px 0 12px; font-size: 15px; line-height: 1.45; color: var(--ink2); }

/* ---------- result ---------- */
#result { background: var(--soft); min-height: 100dvh; }
.result { padding-top: 28px; }
.result-head { margin-bottom: 20px; }
.result-head h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 4px; letter-spacing: -1px; line-height: 1.05; }
.rank-line { margin: 0; color: var(--muted); font-size: 17px; }
.vs { display: inline-block; font-size: 16px; font-weight: 700; padding: 10px 14px; border-radius: 12px; margin: 14px 0 0; background: var(--amber-soft); color: #5b3a07; }
.result-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.result-grid.has-cert { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.result-card img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); display: block; background: #fff; }
.has-cert .result-card img { border-radius: 8px; box-shadow: 0 24px 60px rgba(16,24,40,.2); }
.result-side { display: grid; gap: 12px; }
.cert-actions { display: grid; gap: 10px; }
.btn.li { background: #0a66c2; color: #fff; }
.btn.li:hover { background: #084f96; }
.name-row { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.nudge { display: grid; gap: 10px; padding: 18px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--red); }
.nudge b { font-size: 18px; }
.share { display: grid; gap: 10px; }
.share .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fine { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.panel { background: #fff; border-radius: 16px; padding: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.panel h3 { margin: 0 0 10px; font-size: 17px; }
.learn ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.learn a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--soft); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.learn a:hover { background: #eceef1; }
.learn a span { color: var(--red-ink); font-family: var(--mono); font-size: 13px; flex: none; }
.dare .send-row { display: flex; gap: 8px; }
.dare .send-row input { flex: 1; min-width: 0; }
.dare .send-row .btn { width: auto; flex: none; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; top: calc(16px + var(--safe-t)); transform: translateX(-50%); z-index: 50;
  width: max-content; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 12px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: fade .25s ease;
}

/* ---------- library pages ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 32px 20px 0; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.article .cat-tag { display: inline-block; margin-top: 18px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--red-ink); }
.article h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; margin: 6px 0 12px; letter-spacing: -1px; }
.article .lead { font-size: 20px; color: var(--ink2); margin: 0 0 20px; }
.article h2 { font-size: 22px; margin: 36px 0 12px; letter-spacing: -.3px; }
.article .cta-inline { display: inline-flex; width: auto; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.box { padding: 18px 20px; border-radius: 14px; }
.box h2 { margin: 0 0 8px; font-size: 18px; }
.box ul { margin: 0; padding-left: 20px; }
.box li { margin-bottom: 6px; }
.box.bad { background: var(--red-soft); }
.box.bad h2 { color: var(--red-ink); }
.box.good { background: var(--green-soft); }
.box.good h2 { color: var(--green-ink); }
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: f; }
.flow li { counter-increment: f; color: var(--ink2); font-size: 15px; }
.flow li::before { content: counter(f); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.ex { position: relative; max-width: 420px; background: #efe7de; color: #111; border-radius: 22px; padding: 14px 14px 50px; border: 6px solid var(--dark); overflow: hidden; }
.ex-sms, .ex-upi, .ex-email { background: #f4f5f7; }
.ex-call, .ex-mfa { background: linear-gradient(180deg, #243047, #0f1522); color: #fff; }
.ex-from { font: 700 13px var(--mono); margin-bottom: 8px; overflow-wrap: anywhere; }
.ex-msg { margin: 0 0 8px; padding: 10px 12px; border-radius: 4px 14px 14px 14px; background: #fff; font-size: 15px; line-height: 1.45; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.ex-call .ex-msg, .ex-mfa .ex-msg { background: rgba(255,255,255,.1); box-shadow: none; }
.ex-stamp { position: absolute; right: 12px; bottom: 12px; transform: rotate(-6deg); color: var(--red); border: 2.5px solid var(--red); border-radius: 8px; padding: 0 8px; font-weight: 800; font-size: 14px; letter-spacing: 1.5px; background: #fff; }
.sos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sos li { background: var(--soft); border-radius: 12px; padding: 14px 16px; }
.sos b { display: block; color: var(--ink); }
.sos span { font-size: 14px; color: var(--muted); }
.play { margin-top: 40px; padding: 28px; border-radius: 18px; background: var(--dark); color: #fff; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.play b { font-size: 22px; display: block; }
.play p { margin: 4px 0 0; color: #c3c8d0; }
.play .btn { width: auto; }
.hub-cat { margin-top: 36px; }
.hub-cat h2 { font-size: 20px; margin: 0 0 12px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 28px 0 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .demo { height: 400px; max-width: 320px; width: 100%; margin: 0 auto; }
  .showcase { grid-template-columns: 1fr; padding: 26px 22px; gap: 28px; }
  .icon-tiles { grid-template-columns: repeat(2, 1fr); }
  .result-grid, .result-grid.has-cert { grid-template-columns: 1fr; gap: 20px; }
  .result-card { max-width: 520px; width: 100%; margin: 0 auto; }
  .has-cert .result-card { max-width: none; }
}
@media (max-width: 700px) {
  .nav a:not(.btn):not(.netras-link), .badge.in-nav { display: none; }
  .icon-steps { grid-template-columns: 1fr; gap: 10px; }
  .icon-steps li { padding: 16px 18px; }
  .flow { grid-template-columns: 1fr; gap: 18px; }
  .two, .sos { grid-template-columns: 1fr; }
  .section { padding-top: 44px; }
}
@media (max-width: 440px) {
  .brand img { height: 22px; }
  .brand b { font-size: 15px; }
  .hero h1 { letter-spacing: -2px; }
  .start-row { flex-direction: column; }
  .start-row .btn { width: 100%; }
  .icon-tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .icon-tiles a { padding: 14px; gap: 10px; }
  .icon-tiles b { font-size: 14px; }
  .share .row { grid-template-columns: 1fr; }
  .dare .send-row { flex-direction: column; }
  .dare .send-row .btn { width: 100%; }
  .strip .btn { width: 100%; }
}
@media (max-height: 640px) {
  .swipe-hint { display: none; }
  .btn.ans { padding: 12px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
}
.hub a span { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* ---------- certificate page ---------- */
.cert-view { padding-top: 32px; max-width: 1000px; }
.cert-img { width: 100%; height: auto; display: block; border-radius: 10px; box-shadow: 0 20px 50px rgba(16,24,40,.18); }
.cert-meta h1 { font-size: clamp(22px, 3vw, 30px); margin: 24px 0 4px; letter-spacing: -.4px; }
.cert-meta p { margin: 0; color: var(--muted); }

/* ---------- Netras (right of the header, footer) ---------- */
.netras-link { display: flex; align-items: center; padding-left: 18px; border-left: 1px solid var(--line); }
.netras-link img { height: 30px; width: auto; display: block; }
.foot-brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
.foot-brand .venture { display: flex; align-items: center; gap: 10px; padding-left: 18px; border-left: 1px solid var(--line); }
.venture small { font-size: 12px; color: var(--muted); display: inline; }
.foot .foot-brand img { height: 24px; margin: 0; }
.foot .foot-brand img.nt { height: 34px; }
@media (max-width: 700px) { .netras-link { padding-left: 12px; } .netras-link img { height: 26px; } }
@media (max-width: 440px) { .brand .sep, .brand b { display: none; } }

.link-btn { border: 0; background: none; color: #0a66c2; font-weight: 700; font-size: 15px; cursor: pointer; padding: 6px 0; text-align: left; }
.link-btn:hover { text-decoration: underline; }
.guide { position: fixed; inset: 0; z-index: 60; background: rgba(15,18,24,.55); display: grid; place-items: center; padding: 20px; }
.guide-card { background: #fff; border-radius: 18px; padding: 26px; width: min(440px, 100%); box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: up .25s ease; }
.guide-card h3 { margin: 0 0 4px; font-size: 22px; }
.guide-card p { margin: 0 0 14px; color: var(--muted); }
.guide-card ol { margin: 0 0 20px; padding-left: 22px; display: grid; gap: 8px; font-size: 17px; }
.guide-card kbd { font: 700 15px var(--mono); background: var(--soft); border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 8px; padding: 2px 8px; }
.guide-actions { display: grid; gap: 4px; }
.consent { font-size: 13px; color: var(--muted); line-height: 1.45; margin: 10px 0 0; }
.consent a { color: var(--muted); text-decoration: underline; }
.lead .check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink2); cursor: pointer; }
.lead .check input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--red); }
.lead #leadFields { display: grid; gap: 8px; margin-top: 12px; }
.lead .done { margin: 0; font-weight: 700; color: var(--green-ink); }
.verified { margin: 8px 0 0; font-weight: 700; color: var(--green-ink); }
.verified::before { content: "✓ "; }
.unverified { margin: 8px 0 0; font-weight: 700; color: var(--red-ink); background: var(--red-soft); border-radius: 10px; padding: 10px 14px; }
.unverified::before { content: "⚠ "; }
