/* Kartavya: the How it works page. Each key feature has numbered steps beside a live screen (as on whoop.com),
   then a darker panel with who sees what, the numbers and Kartavya AI. Then the V Rakshak product database. */

html { scroll-padding-top: calc(var(--tb-h) + 76px); }

/* ---------- hero ---------- */
.hw-hero { position: relative; overflow: hidden; padding: calc(var(--tb-h) + 44px) 0 66px; color: #fff;
  background: radial-gradient(900px 480px at 85% 10%, rgba(95, 227, 211, .16), transparent 60%), radial-gradient(700px 420px at 5% 100%, rgba(198, 93, 30, .24), transparent 60%), linear-gradient(165deg, #0b2230 0%, #123649 55%, #1b4a5f 100%); }
.hw-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hw-hero-bg i { position: absolute; right: -180px; top: 50%; width: 760px; height: 760px; margin-top: -380px; border: 1px solid rgba(201, 225, 232, .24); border-radius: 50%; animation: ringpulse 9s ease-out infinite; animation-delay: var(--d, 0s); }
.hw-hero-bg b { position: absolute; right: -250px; top: 50%; width: 900px; height: 900px; margin-top: -450px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(201, 225, 232, 0) 0deg, rgba(201, 225, 232, .14) 40deg, rgba(201, 225, 232, 0) 70deg); -webkit-mask: radial-gradient(circle, #000 20%, transparent 68%); mask: radial-gradient(circle, #000 20%, transparent 68%); animation: sweep 14s linear infinite; }
.hw-hero-in { position: relative; z-index: 1; }
.hw-crumbs { display: flex; gap: 8px; margin-bottom: 18px; color: rgba(255, 255, 255, .75); font-size: .88rem; }
.hw-crumbs a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; }
.hw-hero h1 { max-width: 14ch; font-size: clamp(2.4rem, 1.2rem + 4vw, 4.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; animation: hword .8s cubic-bezier(.2, .7, .2, 1) both; }
.hw-lede { max-width: 60ch; margin-top: 16px; color: rgba(255, 255, 255, .88); font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); animation: hword .8s ease .15s both; }
.hw-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1000px; margin-top: 32px; }
.hw-trio li { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: hword .7s cubic-bezier(.2, .7, .2, 1) both; }
.hw-trio li:nth-child(1) { animation-delay: .3s; }
.hw-trio li:nth-child(2) { animation-delay: .42s; }
.hw-trio li:nth-child(3) { animation-delay: .54s; }
.hw-trio span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f2c879; color: #17232c; font-weight: 800; }
.hw-trio b { display: block; font-size: 1.1rem; }
.hw-trio p { color: rgba(255, 255, 255, .8); font-size: .92rem; }
.hw-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; animation: hword .8s ease .6s both; }
.btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-line:hover { border-color: #f2c879; color: #f2c879; }

/* ---------- on this page ---------- */
.hw-sub { position: sticky; top: var(--tb-h); z-index: 90; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hw-sub-in { display: flex; gap: 4px; padding: 8px 0; overflow-x: auto; scrollbar-width: none; }
.hw-sub-in::-webkit-scrollbar { display: none; }
.hw-sub a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.hw-sub a:hover { background: var(--bg); color: var(--text); }
.hw-sub a.on { background: var(--navy); color: #fff; }
:root[data-theme="dark"] .hw-sub a.on { background: #f2c879; color: #17232c; }

/* ---------- key features: the index ---------- */
.hw-intro { padding: 64px 0 34px; }
.hw-intro-head { max-width: 780px; }
.hw-intro-head h2, .hw-dh h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.8rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.hw-intro-head p, .hw-dh p { margin-top: 12px; color: var(--muted); font-size: 1.08rem; }
.hw-idx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.hw-idx a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.hw-idx a:hover, .hw-idx a:focus-visible { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow); }
.hw-idx-n { color: var(--accent); font-size: .85rem; font-weight: 800; letter-spacing: .1em; }
:root[data-theme="dark"] .hw-idx-n { color: #f0a870; }
.hw-idx b { font-size: 1.1rem; }
.hw-idx a > span:last-child { color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* ---------- a key feature ---------- */
.hw-feat { --tone: #c65d1e; --ink: #b4501a; --glow: rgba(198, 93, 30, .55); --glow-d: rgba(198, 93, 30, .28); padding: 76px 0 84px; }
.hw-feat.hw-t { --tone: #2a9d8f; --ink: #1f7a6f; --glow: rgba(42, 157, 143, .55); --glow-d: rgba(42, 157, 143, .26); }
.hw-feat.hw-b { --tone: #3f7a92; --ink: #2f5568; --glow: rgba(70, 140, 170, .55); --glow-d: rgba(70, 140, 170, .26); }
:root[data-theme="dark"] .hw-feat { --ink: #f0a870; }
:root[data-theme="dark"] .hw-feat.hw-t { --ink: #5fe3d3; }
:root[data-theme="dark"] .hw-feat.hw-b { --ink: #9ccbe0; }
.hw-feat:nth-of-type(even) { background: var(--surface); }
.hw-feat { overflow-x: clip; }
.hw-fh { display: flex; align-items: flex-start; gap: clamp(14px, 2.5vw, 28px); margin-bottom: 38px; }
.hw-num { flex: none; color: transparent; font-size: clamp(3rem, 2rem + 4vw, 5.6rem); font-weight: 800; line-height: .9; letter-spacing: -.04em; -webkit-text-stroke: 2px var(--tone); }
.hw-kick { display: block; color: var(--ink); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hw-fh h2 { margin: 6px 0 10px; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }
.hw-fh p { max-width: 60ch; color: var(--muted); font-size: 1.1rem; }

.hw-mod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(28px, 5vw, 76px); }
.hw-acc-lab { margin-bottom: 6px; color: var(--muted); font-size: .95rem; }
.hw-step { position: relative; border-bottom: 1px solid var(--line); }
.hw-step button { display: flex; align-items: baseline; gap: 18px; width: 100%; padding: 22px 0; border: 0; background: transparent; color: var(--muted); font-size: clamp(1.15rem, 1rem + .6vw, 1.55rem); font-weight: 700; text-align: left; cursor: pointer; transition: color .3s; }
.hw-step button:hover { color: var(--text); }
.hw-step .n { font-variant-numeric: tabular-nums; }
.hw-step.on button { color: var(--text); }
.hw-step.on .n { color: var(--ink); }
.hw-step-p { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s ease, visibility 0s .45s; }
.hw-step-p > div { min-height: 0; overflow: hidden; }
.hw-step.on .hw-step-p { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .45s ease; }
.hw-step-p p { max-width: 46ch; padding-bottom: 24px; font-size: 1.12rem; line-height: 1.7; }
.hw-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.hw-prog i { display: block; height: 100%; background: var(--tone); transform: scaleX(0); transform-origin: left; }
.hw-step.on .hw-prog i { transform: scaleX(1); }
.hw-step.on.run .hw-prog i { animation: hwprog var(--hw-dur, 5s) linear both; }
@keyframes hwprog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hw-pp { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: .85rem; font-weight: 600; cursor: pointer; transition: color .2s, border-color .2s; }
.hw-pp .ic { width: 16px; height: 16px; }
.hw-pp:hover { border-color: var(--text); color: var(--text); }

/* the live screen: each feature plays inside an iPhone, and every step moves the picture to a new moment */
.hw-stage { position: relative; display: grid; place-items: center; }
.hw-glow { position: absolute; left: 50%; top: 50%; width: min(560px, 120%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--glow-d) 0%, transparent 64%); transform: translate(-50%, -50%); pointer-events: none; }
.hw-glow::before, .hw-glow::after { content: ""; position: absolute; inset: 16%; border: 1.5px dashed color-mix(in srgb, var(--tone) 45%, transparent); border-radius: 50%; animation: sweep 40s linear infinite; }
.hw-glow::after { inset: 4%; border-style: solid; border-color: color-mix(in srgb, var(--tone) 18%, transparent); animation-duration: 70s; animation-direction: reverse; }
.hw-phone { --z: 1; --ox: 50%; --oy: 50%; position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 19; padding: 10px; border-radius: 48px; background: linear-gradient(145deg, #3a4148, #121619 42%, #2b3137); box-shadow: inset 0 0 0 1.5px #4b545c, 0 40px 80px rgba(7, 18, 25, .38), 0 12px 24px rgba(7, 18, 25, .22); }
.hw-phone::before, .hw-phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2b3137; }
.hw-phone::before { left: -3px; top: 22%; height: 9%; }
.hw-phone::after { right: -3px; top: 28%; height: 13%; }
.hw-scr { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 39px; background: #0b1114; color: #fff; }
.hw-island { position: absolute; z-index: 3; left: 50%; top: 9px; width: 31%; height: 24px; border-radius: 14px; background: #000; transform: translateX(-50%); }
.hw-status { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px 6px 26px; font-size: .78rem; font-weight: 700; }
.hw-status svg { width: 54px; height: 11px; }
.hw-apph { display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px; }
.hw-apph-ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--tone, #2a9d8f); color: #fff; }
.hw-apph-ic .ic { width: 18px; height: 18px; }
.hw-apph-t { flex: 1; min-width: 0; }
.hw-apph-t small { display: block; color: rgba(255, 255, 255, .6); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hw-apph-t b { display: block; overflow: hidden; font-size: .88rem; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }
.hw-livechip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; background: rgba(95, 227, 211, .14); color: #5fe3d3; font-size: .66rem; font-weight: 800; }
.hw-livechip i { width: 6px; height: 6px; border-radius: 50%; background: #5fe3d3; animation: hwlive 2s infinite; }
.hw-clip { position: relative; aspect-ratio: 1; margin: 0 10px; overflow: hidden; border-radius: 20px; background: #0c1315; }
.hw-clip video { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z)); transform-origin: var(--ox) var(--oy); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.hw-clip.swap video { animation: hwswap .6s ease; }
@keyframes hwswap { from { opacity: .2; filter: blur(5px); } }
.hw-clip .clip-pp { right: 8px; bottom: 8px; width: 30px; height: 30px; }
.hw-cards { position: relative; flex: 1; min-height: 170px; margin: 12px 10px 0; }
.hw-fc { position: absolute; inset: 0 0 auto 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: rgba(255, 255, 255, .07); opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.hw-fc.on { opacity: 1; transform: none; }
.hw-fc { flex-wrap: wrap; }
.hw-fc-p { flex-basis: 100%; margin-top: 6px; color: rgba(255, 255, 255, .8); font-size: .84rem; line-height: 1.5; }
.hw-pdots { display: flex; justify-content: center; gap: 6px; padding: 6px 0 2px; }
.hw-pdots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .3); transition: width .3s, background-color .3s; }
.hw-pdots i.on { width: 18px; background: var(--tone, #2a9d8f); }
.hw-homebar { display: block; width: 36%; height: 5px; margin: auto auto 8px; border-radius: 3px; background: rgba(255, 255, 255, .5); }
.hw-rows { display: grid; gap: 8px; margin: 12px 10px 0; }
.hw-rows i { display: block; height: 30px; border-radius: 10px; background: linear-gradient(90deg, rgba(255, 255, 255, .1) 0 22%, transparent 22% 26%, rgba(255, 255, 255, .06) 26%); }
.hw-phone-s { width: 200px; padding: 7px; border-radius: 34px; }
.hw-phone-s .hw-scr { border-radius: 28px; }
.hw-phone-s .hw-island { top: 7px; height: 17px; }
.hw-phone-s .hw-status { padding: 9px 16px 3px 19px; font-size: .6rem; }
.hw-phone-s .hw-status svg { width: 40px; height: 8px; }
.hw-phone-s .hw-apph { gap: 7px; padding: 6px 9px 8px; }
.hw-phone-s .hw-apph-ic { width: 24px; height: 24px; border-radius: 7px; }
.hw-phone-s .hw-apph-ic .ic { width: 14px; height: 14px; }
.hw-phone-s .hw-apph-t b { font-size: .72rem; }
.hw-phone-s .hw-livechip { padding: 2px 6px; font-size: .56rem; }
.hw-phone-s .hw-clip { margin: 0 6px; border-radius: 14px; }
.hw-phone-s .hw-clip .clip-pp { width: 26px; height: 26px; }
.pf-ph { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
.pf-ph .pf-media { display: grid; place-items: center; aspect-ratio: auto; padding: 54px 16px 28px; background: radial-gradient(60% 50% at 50% 50%, rgba(42, 157, 143, .4), transparent 72%), #0c1315; }
.pf-o.pf-ph .pf-media { background: radial-gradient(60% 50% at 50% 50%, rgba(198, 93, 30, .42), transparent 72%), #140f0c; }
.hw-fc-viz { flex: none; width: 96px; }
.hw-fc-viz svg { display: block; width: 100%; height: auto; overflow: visible; }
.hw-fc-t small { display: block; color: #f2c879; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hw-fc-t b { font-size: 1rem; }
.hw-fc .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.hw-fc.on .draw { animation: hwdraw 1s ease .2s forwards; }
@keyframes hwdraw { to { stroke-dashoffset: 0; } }
.hw-fc .flow { stroke-dasharray: 4 6; animation: hwdash 1.4s linear infinite; }
@keyframes hwdash { to { stroke-dashoffset: -20; } }

/* ---------- the darker panel: who sees what, at a glance, why it matters, Kartavya AI ---------- */
.hw-deep { margin-top: 52px; padding: 22px clamp(18px, 3vw, 34px) 32px; border-radius: 26px; color: #f4f1ec; background: radial-gradient(80% 60% at 100% 0%, var(--glow-d), transparent 60%), linear-gradient(160deg, #13232d, #0b151b); box-shadow: var(--shadow); }
.hw-tabs { display: flex; flex-wrap: wrap; gap: 4px; width: fit-content; max-width: 100%; padding: 5px; border-radius: 22px; background: rgba(255, 255, 255, .07); }
.hw-tabs button { padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .78); font-size: .92rem; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s; }
.hw-tabs button:hover { color: #fff; }
.hw-tabs button[aria-selected="true"] { background: #fff; color: #17232c; }
.hw-deep :focus-visible { outline-color: #f2c879; }
.hw-tp { padding-top: 22px; border-radius: 12px; }
.hw-tp:not([hidden]) { animation: hword .45s ease both; }
.hw-tp-sub { display: flex; align-items: center; gap: 8px; max-width: 72ch; margin-bottom: 18px; color: rgba(255, 255, 255, .78); }
.hw-live { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #5fe3d3; animation: hwlive 2s infinite; }
@keyframes hwlive { 0% { box-shadow: 0 0 0 0 rgba(95, 227, 211, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(95, 227, 211, 0); } }

.hw-who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hw-mk { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.hw-mk figcaption b { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; font-size: 1.1rem; }
.hw-mk figcaption p { color: rgba(255, 255, 255, .72); font-size: .92rem; line-height: 1.45; }
.hw-mk .ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(95, 227, 211, .15); color: #5fe3d3; }
.hw-mk .ico.o { background: rgba(255, 138, 76, .15); color: #ff8a4c; }
.hw-mk .ico svg { width: 16px; height: 16px; }
.hw-deep .mkdev { --inset: rgba(255, 255, 255, .08); --mute-w: #b6c1c8; --teal-d: #2a9d8f; position: relative; flex: 1; width: 100%; min-height: 300px; padding: 16px 14px; overflow: hidden; border: 2px solid #2b3436; background: #090e0f; box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
.hw-deep .mkdev.phone { max-width: 280px; border-radius: 32px; }
.hw-deep .mkdev.tab { border-radius: 18px; }
.hw-deep .notch { position: absolute; top: 9px; left: 50%; width: 46px; height: 6px; margin-left: -23px; border-radius: 3px; background: #2b3436; }
.hw-deep .tabbar { position: absolute; top: 9px; left: 14px; display: flex; gap: 5px; }
.hw-deep .tabbar i { width: 7px; height: 7px; border-radius: 50%; background: #2b3436; }
.hw-deep .scr { display: flex; flex-direction: column; gap: 9px; height: 100%; padding-top: 16px; }
.hw-deep .scr-h { color: var(--mute-w); font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hw-deep .scr-big { font-size: 1.35rem; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.hw-deep .mkdev.you .scr-big { font-size: 1.6rem; }
.hw-deep .scr-sub { color: #b9c1c3; font-size: .86rem; line-height: 1.4; }
.hw-deep .scr-btns { display: grid; gap: 8px; margin-top: 6px; }
.hw-deep .scr-btns span, .hw-deep .scr-cta { padding: 11px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 14px; font-size: .9rem; font-weight: 700; text-align: center; }
.hw-deep .scr-btns span.p, .hw-deep .scr-cta { border-color: #2a9d8f; background: #2a9d8f; color: #fff; }
.hw-deep .scr-cta { margin-top: 8px; animation: hwcta 2.4s ease-in-out infinite; }
@keyframes hwcta { 50% { box-shadow: 0 0 0 6px rgba(42, 157, 143, .25); } }
.hw-deep .scr-chips, .hw-deep .scr-tg { display: grid; gap: 7px; margin-top: 6px; }
.hw-deep .scr-chips li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--inset); font-size: .82rem; font-weight: 600; }
.hw-deep .scr-chips i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-d); box-shadow: 0 0 8px var(--teal-d); }
.hw-deep .scr-tg li { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 12px; background: var(--inset); font-size: .85rem; font-weight: 600; }
.hw-deep .sw { position: relative; width: 36px; height: 20px; border-radius: 10px; background: #2a9d8f; }
.hw-deep .sw::after { content: ""; position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.hw-deep .sw.off { background: #4b5759; }
.hw-deep .sw.off::after { right: auto; left: 3px; }
.hw-deep .scr-spark { width: 100%; height: auto; margin-top: 6px; }
.hw-deep .scr-ring { width: 84px; height: 84px; margin-top: 4px; }
.hw-deep .scr-tl { display: grid; gap: 12px; margin-top: 8px; padding-left: 14px; border-left: 2px solid rgba(255, 255, 255, .2); }
.hw-deep .scr-tl li { position: relative; font-size: .82rem; font-weight: 600; }
.hw-deep .scr-tl li::before { content: ""; position: absolute; left: -21px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal-d); }
.hw-deep .scr-lock { display: grid; place-items: center; width: 54px; height: 54px; margin-top: 8px; border-radius: 50%; background: var(--inset); color: var(--mute-w); }
.hw-deep .scr-lock svg { width: 26px; height: 26px; }
.hw-deep .mkdev svg[viewBox="0 0 120 56"] { width: 100%; height: auto; margin-top: 6px; }
.hw-deep .gring { stroke-dasharray: var(--p) 100; }
.hw-deep.r-in .hw-tp:not([hidden]) .gring { animation: hwring 1.4s ease .3s both; }
@keyframes hwring { from { stroke-dasharray: 0 100; } }
.hw-deep .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hw-deep.r-in .hw-tp:not([hidden]) .draw { animation: hwdrawfrom 1.3s ease .2s both; }
@keyframes hwdrawfrom { from { stroke-dashoffset: 1; } }

.hw-deep .bn { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hw-deep .bn-t { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 150px; padding: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: rgba(255, 255, 255, .06); }
.hw-deep .bn-t label { color: rgba(255, 255, 255, .74); font-size: .85rem; font-weight: 600; }
.hw-deep .bn-t b { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.hw-deep .bn-t svg.big { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 56px; }
.hw-deep .bn-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.hw-deep .bn-row svg { flex: none; width: 54px; height: 26px; }
.hw-deep .bn-bar { flex: 1; height: 8px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.hw-deep .bn-bar i { display: block; width: var(--w); height: 100%; border-radius: 4px; background: #5fe3d3; }
.hw-deep.r-in .hw-tp:not([hidden]) .bn-bar i { animation: hwbar 1.2s ease .2s both; }
@keyframes hwbar { from { width: 0; } }
.hw-ctx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 24px; margin-top: 18px; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .05); }
.hw-ctx h4 { margin-bottom: 8px; font-size: 1.15rem; }
.hw-ctx p { color: rgba(255, 255, 255, .78); line-height: 1.6; }
.hw-ctx-art svg { display: block; width: 100%; height: auto; }

.hw-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hw-stat { padding: 20px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: rgba(255, 255, 255, .06); }
.hw-stat b { display: block; color: #f2c879; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.hw-stat b em { margin: 0 4px; color: rgba(255, 255, 255, .7); font-size: .5em; font-style: normal; }
.hw-stat p { margin-top: 6px; color: rgba(255, 255, 255, .82); font-size: .95rem; }
.hw-bar { display: block; height: 6px; margin-top: 14px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.hw-bar i { display: block; width: var(--p); height: 100%; background: linear-gradient(90deg, #f2c879, #c65d1e); }
.hw-deep.r-in .hw-tp:not([hidden]) .hw-bar i { animation: hwbar 1.2s ease .2s both; }
.hw-src { margin-top: 12px; color: rgba(255, 255, 255, .6); font-size: .8rem; }

.hw-ai { max-width: 780px; padding: 22px 24px; border: 1px solid rgba(95, 227, 211, .35); border-radius: 22px 22px 22px 6px; background: rgba(255, 255, 255, .07); }
.hw-ai-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(95, 227, 211, .15); color: #5fe3d3; font-size: .78rem; font-weight: 800; letter-spacing: .06em; }
.hw-ai-badge .ic { width: 14px; height: 14px; }
.hw-ai p { margin-top: 10px; font-size: 1.15rem; line-height: 1.6; }
.hw-tips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hw-tips li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: .88rem; }

/* ---------- the V Rakshak product database ---------- */
.hw-dev { padding: 76px 0 84px; background: var(--bg); border-top: 1px solid var(--line); }
.hw-dh { max-width: 780px; margin-bottom: 30px; }
.hw-prods { margin-bottom: 36px; }
.hw-dtools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.hw-dsearch { display: flex; flex: 1 1 320px; align-items: center; gap: 8px; max-width: 460px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.hw-dsearch:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(242, 200, 121, .35); }
.hw-dsearch .ic { width: 20px; height: 20px; color: var(--muted); }
.hw-dsearch input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; color: inherit; font: inherit; outline: 0; }
.hw-dcats { display: flex; flex-wrap: wrap; gap: 6px; }
.hw-dcats button { padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-size: .88rem; font-weight: 600; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.hw-dcats button:hover { border-color: var(--accent); }
.hw-dcats button span { margin-left: 4px; color: var(--muted); font-weight: 700; }
.hw-dcats button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.hw-dcats button[aria-pressed="true"] span { color: #f2c879; }
:root[data-theme="dark"] .hw-dcats button[aria-pressed="true"] { border-color: #f2c879; background: #f2c879; color: #17232c; }
:root[data-theme="dark"] .hw-dcats button[aria-pressed="true"] span { color: #17232c; }
.hw-dcount { margin: 14px 0 10px; color: var(--muted); font-size: .88rem; }
.hw-dmod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: start; gap: clamp(24px, 4vw, 56px); }
.hw-dlist { border-top: 1px solid var(--line); }
.hw-d { border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--tb-h) + 84px); }
.hw-d.hide { display: none; }
.hw-d button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 4px; border: 0; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.hw-d-ic, .hw-dcard-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(140deg, #2a9d8f, #14564e); color: #fff; transition: transform .3s; }
.hw-d-ic.o, .hw-dcard-ic.o { background: linear-gradient(140deg, #d86a25, #8d3c10); }
.hw-d-ic svg { width: 24px; height: 24px; }
.hw-d-t { flex: 1; min-width: 0; }
.hw-d-t b { display: block; font-size: 1.02rem; }
.hw-d-t small { display: block; color: var(--muted); font-size: .8rem; }
.hw-d-dots { display: flex; gap: 4px; }
.hw-d-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.hw-d-dots i.n { background: var(--line); }
.hw-d button > .ic { width: 20px; height: 20px; color: var(--muted); transition: transform .3s; }
.hw-d.on button > .ic { transform: rotate(180deg); }
.hw-d.on .hw-d-ic { transform: scale(1.08) rotate(-4deg); }
.hw-d-p { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s ease, visibility 0s .4s; }
.hw-d-p > div { min-height: 0; overflow: hidden; }
.hw-d.on .hw-d-p { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .4s ease; }
.hw-d-what { padding: 0 4px; font-size: 1.05rem; font-weight: 600; }
.hw-d-dl { display: grid; gap: 10px; margin: 12px 0; padding: 0 4px; }
.hw-d-dl dt { color: var(--accent); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
:root[data-theme="dark"] .hw-d-dl dt { color: #f0a870; }
.hw-d-dl dd { margin: 2px 0 0; color: var(--muted); }
.hw-d-plans { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 4px 18px; }
.hw-d-plans li { display: flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); font-size: .85rem; }
.hw-d-plans li b { color: var(--accent); }
:root[data-theme="dark"] .hw-d-plans li b { color: #f0a870; }
.hw-d-plans li.no { background: var(--surface); color: var(--muted); }
.hw-d-plans li.no b { color: var(--muted); }
.hw-dnone { padding: 18px 4px; color: var(--muted); }

.hw-dstage { position: sticky; top: calc(var(--tb-h) + 76px); }
.hw-dcard { padding: 20px; border-radius: 24px; background: linear-gradient(160deg, #2b3844, #1b252d); color: #f4f1ec; box-shadow: 0 24px 60px rgba(7, 18, 25, .3); }
.hw-dcard-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.hw-dcard-top.swap { animation: lvswap .45s ease both; }
.hw-dcard-ic { width: 54px; height: 54px; border-radius: 15px; }
.hw-dcard-ic svg { width: 28px; height: 28px; }
.hw-dcard small { display: block; color: #b6c1c8; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hw-dcard-top b { font-size: 1.2rem; }
.hw-dplan { padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .04); }
.hw-dplan svg { display: block; width: 100%; height: auto; }
.hw-dplan .mk-pt { transform-box: fill-box; transform-origin: center; }
.hw-dplan [data-dev] { transition: opacity .35s; }
.hw-dplan.has-sel [data-dev]:not(.hit) { opacity: .25; }
.hw-dplan [data-dev].hit .mk-pt { animation: hwhit .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.hw-dplan [data-dev].hit .mk-pt > circle { stroke: #fff; stroke-width: 3; }
@keyframes hwhit { from { transform: scale(.4); } }
.hw-ring { fill: none; stroke: #f2c879; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.hw-dplan [data-dev].hit .hw-ring { animation: hwring2 2.2s ease-out infinite; }
@keyframes hwring2 { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
.hw-dplan .mk-me { pointer-events: none; }
.hw-dplan-cap { margin: 10px 2px 12px; color: #b6c1c8; font-size: .85rem; }
.hw-dplan-cap em { font-style: normal; opacity: .7; }
.hw-dbars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hw-dbars li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.hw-dbars li span { color: #b6c1c8; font-size: .8rem; }
.hw-dbars li b { font-size: 1.25rem; }
.hw-dbars li.y b { color: #f2c879; }
.hw-dbars li.no b { color: rgba(255, 255, 255, .45); }

/* ---------- the four levels, and the next step ---------- */
.hw-levels { border-top: 1px solid var(--line); }
.hw-next { padding: 56px 0 84px; }
.hw-next-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 34px clamp(22px, 4vw, 44px); border-radius: 26px; color: #fff; background: radial-gradient(70% 90% at 100% 0%, rgba(242, 200, 121, .3), transparent 60%), linear-gradient(135deg, #b4501a, #7a3510); }
.hw-next h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; }
.hw-next p { margin-top: 6px; color: rgba(255, 255, 255, .9); }
.hw-next-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .hw-who, .hw-deep .bn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hw-idx { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hw-mod { grid-template-columns: 1fr; }
  .hw-stage { order: -1; }
  .hw-dmod { grid-template-columns: 1fr; }
  .hw-dstage { position: static; order: -1; }
  .hw-ctx { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hw-trio { grid-template-columns: 1fr; }
  .hw-stats { grid-template-columns: 1fr; }
  .hw-feat { padding: 56px 0 60px; }
  .hw-fh { flex-direction: column; gap: 8px; }
  .hw-num { font-size: 3rem; }
  .hw-tabs { width: auto; }
  .hw-tabs button { flex: 1 1 auto; padding: 9px 12px; }
}
@media (max-width: 560px) {
  .hw-who, .hw-deep .bn, .hw-idx { grid-template-columns: 1fr; }
  .hw-deep .mkdev.phone { margin-inline: auto; }
  .hw-hero { padding-bottom: 50px; }
  .hw-phone { width: min(280px, 80vw); }
  .pf-ph { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hw-hero-bg { display: none; }
  .hw-fc .draw, .hw-deep .draw { stroke-dashoffset: 0; animation: none !important; }
}

/* ---------- the policies page (shares the hero and "on this page" bar above) ---------- */
.pol-hero { padding-bottom: 54px; }
.pol-date { margin-top: 14px; color: rgba(255, 255, 255, .72); font-size: .9rem; }
.pol { display: grid; gap: 18px; max-width: 900px; padding: 48px 0 84px; }
.pol-sec { scroll-margin-top: calc(var(--tb-h) + 76px); padding: 26px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.pol-h { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pol-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.pol-ic .ic { width: 22px; height: 22px; }
.pol-h h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); font-weight: 800; }
.pol-sec h3 { margin: 18px 0 6px; font-size: 1.05rem; }
.pol-sec p { margin: 0 0 10px; line-height: 1.7; }
.pol-sec ul { display: grid; gap: 6px; margin: 6px 0 12px; }
.pol-sec li { position: relative; padding-left: 22px; line-height: 1.6; }
.pol-sec li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pol-sec a { color: var(--accent); font-weight: 600; }
:root[data-theme="dark"] .pol-sec a, :root[data-theme="dark"] .pol-ic { color: #f0a870; }
@media (max-width: 560px) { .pol-sec { padding: 20px 18px; } }
