/* Zero Wealth × YouTube — shared by index.html and calculators.html (uses each page's theme tokens) */
.ytpill{display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 14px 0 11px;border:1px solid var(--line);border-radius:99px;background:var(--surface);font-size:13px;font-weight:800;color:var(--text);text-decoration:none;white-space:nowrap}
.ytpill svg{width:22px;height:22px;flex:none}
.ytpill:hover{border-color:#ff003366}
.trust .yt{display:flex;align-items:center;gap:6px;color:inherit;text-decoration:none}.trust .yt:hover{color:var(--text)}.trust .yt b{color:#ff0033}

/* ---------- slim strip under the hero (calculators stay second) ---------- */
.ytstrip-wrap{padding:6px 0 0}
.ytstrip{display:flex;align-items:center;gap:12px;padding:8px 8px 8px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface);box-shadow:0 4px 18px #173e2608}
.ytstrip-main{flex:1;min-width:0;display:flex;align-items:center;gap:12px;color:var(--text);text-decoration:none;border-radius:999px}
.ytstrip-ic{flex:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#ff00330f}
.ytstrip-ic svg{width:22px;height:22px}
.ytstrip-text{min-width:0;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;line-height:1.3}
.ytstrip-text b{font-size:14.5px;letter-spacing:-.2px}
.ytstrip-meta{font-size:12.5px;color:var(--muted);font-weight:650}
.ytstrip-go{flex:none;margin-left:auto;font-size:12.5px;font-weight:800;color:var(--green);white-space:nowrap;padding:0 6px}
.ytstrip-main:hover .ytstrip-go{text-decoration:underline}
.ytstrip-sub{flex:none;display:inline-flex;align-items:center;border-radius:999px;padding:10px 18px;background:#ff0033;color:#fff!important;font-weight:850;font-size:13px;text-decoration:none;transition:background-color .2s}
.ytstrip-sub:hover{background:#e0002d}
.ytstrip-main:focus-visible,.ytstrip-sub:focus-visible{outline:3px solid #ff003366;outline-offset:3px}
[data-theme=dark] .ytstrip{background:#0b1710}
@media(max-width:700px){.ytstrip{border-radius:20px;flex-wrap:wrap;padding:12px}.ytstrip-main{flex-basis:100%}.ytstrip-go{display:none}.ytstrip-text{flex-direction:column;gap:2px}.ytstrip-sub{width:100%;justify-content:center}}

/* ---------- home page section ---------- */
.ytsec{padding:54px 0}
.ytcard{border:1px solid var(--line);border-radius:28px;background:linear-gradient(160deg,var(--surface),var(--surface2));box-shadow:var(--shadow);padding:30px;overflow:hidden;position:relative}
.ytcard:before{content:"";position:absolute;right:-90px;top:-120px;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,#ff003312,transparent 70%);pointer-events:none}
.ythead{display:flex;align-items:center;gap:18px;flex-wrap:wrap;position:relative}
.ytkick{display:inline-flex;align-items:center;gap:7px;font-size:11px;letter-spacing:1.4px;text-transform:uppercase;font-weight:850;color:var(--muted)}
.ytkick svg{width:18px;height:18px;flex:none}
.ytname{flex:1;min-width:200px}
.ytname h2{margin:5px 0 3px;font-size:clamp(24px,2.6vw,32px);letter-spacing:-1.1px;line-height:1.1}
.ytname p{margin:0;color:var(--muted);font-size:14px}
.ytname .handle{font-weight:800;color:var(--text)}
.ytname .sep{margin:0 7px;opacity:.6}
.ytsub{display:inline-flex;align-items:center;gap:8px;border-radius:99px;padding:13px 20px;background:#ff0033;color:#fff!important;font-weight:850;font-size:14px;box-shadow:0 8px 22px #ff003330;text-decoration:none;transition:background-color .2s,transform .2s}
.ytsub svg{width:22px;height:22px;flex:none}
.ytsub:hover{background:#e0002d;transform:translateY(-1px)}
.ytsub:focus-visible,.ytpill:focus-visible,.ytv a:focus-visible,.watchcard:focus-visible{outline:3px solid #ff003366;outline-offset:3px}
.ytstats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 1.3fr;gap:12px;margin:24px 0 8px;position:relative}
.ytstat{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:16px 18px;min-width:0}
.ytstat strong{display:block;font-size:30px;letter-spacing:-1.2px;line-height:1.05}
.ytstat span{font-size:12px;color:var(--muted);font-weight:700}
.ytgoal{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:16px 18px;display:flex;flex-direction:column;justify-content:center;gap:9px;min-width:0}
.ytgoal .row{display:flex;justify-content:space-between;gap:10px;font-size:12px;font-weight:800}
.ytgoal .row span:last-child{color:var(--green)}
.ytbar{height:10px;border-radius:99px;background:var(--surface2);overflow:hidden}
.ytbar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#10b981,#08754a)}
.ytgoal small{font-size:11px;color:var(--muted)}
.yttabs{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 14px;flex-wrap:wrap}
.yttabs .tabs{display:inline-flex;border:1px solid var(--line);border-radius:99px;padding:3px;background:var(--surface)}
.yttabs button{border:0;background:transparent;font:inherit;font-size:12px;font-weight:800;padding:7px 14px;border-radius:99px;color:var(--muted);cursor:pointer}
.yttabs button.active{background:var(--green);color:#fff}
.yttabs small{font-size:11.5px;color:var(--muted)}
.ytvids{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ytvids .ytv:nth-child(n+4){display:none}
.ytv{border:1px solid var(--line);background:var(--surface);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:border-color .2s,transform .2s,box-shadow .2s}
.ytv:hover{border-color:#ff003355;transform:translateY(-3px);box-shadow:var(--shadow)}
.ytthumb{position:relative;display:block;aspect-ratio:16/9;background:#000;overflow:hidden}
.ytimg{width:100%;height:100%;object-fit:cover;display:block}
.ytthumb .pb{position:absolute;inset:0;display:grid;place-items:center}
.ytthumb .pb svg{width:58px;height:58px;filter:drop-shadow(0 4px 10px #0006);transition:transform .2s}
.ytv:hover .pb svg{transform:scale(1.08)}
.ytthumb .dur{position:absolute;right:8px;bottom:8px;background:#000c;color:#fff;font-size:11px;font-weight:800;padding:2px 7px;border-radius:5px}
.ytbody{padding:13px 15px 15px;display:flex;flex-direction:column;gap:6px;flex:1}
.ytbody h3{margin:0;font-size:14.5px;line-height:1.35;letter-spacing:-.2px}
.ytbody h3 a{color:inherit;text-decoration:none}
.ytmeta{font-size:12px;color:var(--muted);font-weight:650}
.ytcalc{margin-top:auto;padding-top:10px;border-top:1px dashed var(--line);display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12.5px;font-weight:800;color:var(--green);text-decoration:none}
.ytcalc.muted{color:var(--muted)}
.ytcalc em{font-style:normal;font-size:10.5px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.5px}
.ytfoot{display:flex;justify-content:center;margin-top:18px}
.ytfoot a{font-size:13px;font-weight:800;color:var(--text);border:1px solid var(--line);background:var(--surface);border-radius:99px;padding:10px 18px;text-decoration:none}
.footyt{display:inline-flex;align-items:center;gap:7px;font-weight:800;color:var(--text);text-decoration:none;white-space:nowrap;vertical-align:middle}
.footyt svg{width:18px;height:18px;flex:none}
.footyt:hover{color:#e0002d}
/* home footer: one centred line — brand + tagline left, YouTube + copyright right */
.footer .footerrow{align-items:center;column-gap:22px;row-gap:12px}
.footer .foottag{flex:1;min-width:220px}
.footer .footmeta{display:inline-flex;align-items:center;gap:20px;flex-wrap:wrap}
.footer .footcopy{white-space:nowrap}

/* Instagram / WhatsApp buttons */
.footsocial{display:inline-flex;align-items:center;gap:8px}
.soc{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;background:var(--surface);transition:border-color .2s,transform .2s}
.soc svg{width:20px;height:20px}
.soc:hover{transform:translateY(-2px);border-color:var(--green)}
.soc:focus-visible{outline:3px solid color-mix(in srgb,var(--green) 40%,transparent);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.soc{transition:none}.soc:hover{transform:none}}
[data-theme=dark] .ytcard{background:linear-gradient(160deg,#0e1b14,#102318)}
[data-theme=dark] .ytstat,[data-theme=dark] .ytgoal,[data-theme=dark] .ytv{background:#0b1710}
[data-theme=dark] .yttabs button.active{color:#06120c}

/* ---------- calculators page: watch card ---------- */
.watchcard{display:flex;align-items:center;gap:14px;margin-top:14px;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--text);text-decoration:none;transition:border-color .2s}
#sipView .watchcard{margin-top:0;border-color:var(--border)}
.watchcard:hover{border-color:#ff003366}
.wthumb{position:relative;flex:none;width:150px;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#000;display:grid;place-items:center}
.wimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.wthumb>svg{position:relative;width:40px;height:40px;filter:drop-shadow(0 3px 8px #0007)}
.wtext{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.wkick{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:850;letter-spacing:.8px;text-transform:uppercase;color:#e0002d}
[data-theme=dark] .wkick{color:#ff5c7a}
.wkick svg{width:16px;height:16px}
.wtext b{font-size:14.5px;line-height:1.3}
.wtext small{font-size:11.5px;color:var(--muted)}
.wgo{flex:none;font-size:12.5px;font-weight:850;border:1px solid var(--line);border-radius:99px;padding:8px 13px}

@media(max-width:850px){
 .ytstats{grid-template-columns:repeat(3,minmax(0,1fr))}.ytgoal{grid-column:1/-1}
 /* phones/tablets: swipe through the videos */
 .ytvids{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding-bottom:6px;margin:0 -4px;padding-left:4px;padding-right:4px;scrollbar-width:thin}
 .ytvids .ytv{flex:0 0 min(78%,340px);scroll-snap-align:start}
 .ytvids .ytv:nth-child(n+4){display:flex}
}
@media(max-width:700px){.footer .footerrow{flex-direction:column;align-items:flex-start}.footer .foottag{flex:none;min-width:0}}
@media(max-width:540px){
 .ytcard{padding:20px;border-radius:22px}
 .ytsub{width:100%;justify-content:center}
 .ytstat{padding:12px}.ytstat strong{font-size:22px}
 .ytpill [data-yt-subs]{display:none}.ytpill{padding:0 10px}
 .watchcard{flex-wrap:wrap}.wthumb{width:100%}.wgo{display:none}
}
@media(prefers-reduced-motion:reduce){.ytv,.ytsub,.ytthumb .pb svg{transition:none}.ytv:hover,.ytsub:hover{transform:none}}

/* ---------- one footer for every page (home page styles, for pages that don't have them) ---------- */
.site-footer{margin-top:35px;border-top:1px solid var(--line);padding:28px 0 35px;color:var(--muted);font-size:12px;line-height:1.55}
.site-footer .fcontainer{width:min(1160px,calc(100% - 40px));margin:auto}
.site-footer .footerrow{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.site-footer .brand{display:flex;align-items:center;gap:12px;color:var(--text);text-decoration:none}
.site-footer .brandmark{position:relative;isolation:isolate;width:42px;height:42px;flex:0 0 42px;border-radius:14px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#10b981 0%,#08754a 52%,#063d2b 100%);box-shadow:0 7px 20px #08754a26;font-size:0}
.site-footer .brandmark:before{content:"₹";position:relative;z-index:1;font-size:24px;font-weight:850;color:#fff}
.site-footer .brandmark:after{content:"";position:absolute;inset:auto 0 0 48%;height:36%;background:linear-gradient(135deg,#34d399,#10b981);transform:skewX(-28deg);opacity:.9}
.site-footer .wordmark{display:inline-flex;align-items:baseline;gap:5px;font-size:22px;font-weight:850;letter-spacing:-1.05px;line-height:1;color:var(--text);white-space:nowrap}
.site-footer .wordmark span:last-child{color:#08754a}
[data-theme=dark] .site-footer .wordmark span:first-child{color:#f1f7f3}
[data-theme=dark] .site-footer .wordmark span:last-child{color:#34d399}
.site-footer .disclaimer{max-width:760px;margin:15px 0 0}
@media(max-width:600px){.site-footer .fcontainer{width:calc(100% - 28px)}.site-footer .wordmark{font-size:19px;letter-spacing:-.8px}}
