/* Sachin Tekriwal AI Research & Education Center — shared styles
   Light + dark themes. Brand accent: #6d28d9 (from the live site). */

:root{
  --accent:#6d28d9; --accent-ink:#ffffff; --accent-soft:#ede9fe; --accent-text:#5b21b6;
  --bg:#ffffff; --surface:#ffffff; --surface-2:#f7f6fd; --line:#e9e7f3;
  --ink:#16141f; --ink-2:#4a4658; --ink-3:#5f5a72;
  --term-bg:#120f1d; --term-ink:#e9e6f5; --term-dim:#9a93b8; --term-ok:#a7f3d0;
  --ok:#036046; --shadow:0 1px 2px rgba(60,40,140,.04),0 6px 20px rgba(60,40,140,.06);
  --radius:14px; --maxw:1120px;
  --font:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans",sans-serif;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  color-scheme:light;
}
[data-theme="dark"]{
  --accent:#a78bfa; --accent-ink:#120c26; --accent-soft:#221a45; --accent-text:#c4b5fd;
  --bg:#0b1426; --surface:#111c33; --surface-2:#16233f; --line:#22314f;
  --ink:#eef0f7; --ink-2:#b9c0d4; --ink-3:#8590ab;
  --term-bg:#070d1a; --term-ink:#e6e9f5; --term-dim:#7f8aa8; --term-ok:#86efac;
  --ok:#6ee7b7; --shadow:0 1px 2px rgba(0,0,0,.3),0 10px 30px rgba(0,0,0,.25);
  color-scheme:dark;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 var(--font);transition:background .2s,color .2s}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent-text);text-underline-offset:3px}
a:hover{color:var(--accent)}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:6px}
h1,h2,h3{line-height:1.2;letter-spacing:-.02em;margin:0 0 .5em}
h1{font-size:clamp(2rem,6vw,3.4rem);font-weight:800}
h2{font-size:clamp(1.5rem,4vw,2.1rem);font-weight:750}
h3{font-size:1.15rem;font-weight:700}
p{margin:0 0 1em}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px}
.skip{position:absolute;left:-999px;top:8px;background:var(--accent);color:var(--accent-ink);padding:10px 14px;border-radius:8px;z-index:100}
.skip:focus{left:8px}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;gap:12px;min-height:64px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);min-width:0;flex:1}
.brand img.logo{height:40px;width:auto;max-width:120px;object-fit:contain;border-radius:8px;flex:none}
/* Minimal home */
.home-hero{padding:72px 0 56px;text-align:center}
.home-hero .lead{margin:0 auto}
.home-hero .actions{justify-content:center}
.home-hero h1{max-width:16ch;margin-left:auto;margin-right:auto}
.grad{background:linear-gradient(90deg,#f5b544,#e8487a 45%,#7c3aed);-webkit-background-clip:text;background-clip:text;color:transparent}
.meta-line{margin-top:22px;font:500 .82rem var(--mono);color:var(--ink-3);letter-spacing:.02em}
.paths{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (min-width:800px){.paths{grid-template-columns:repeat(4,1fr)}}
.path{display:block;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--surface);text-decoration:none;color:var(--ink);min-height:44px}
.path:hover{border-color:var(--accent);color:var(--ink)}
.path b{display:block;font-size:1.05rem}
.path span{color:var(--ink-3);font-size:.88rem}
.strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.strip p{margin:0}
.brand b{display:block;font-size:.95rem;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand small{display:block;color:var(--ink-3);font-size:.72rem;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nav{display:none;gap:2px}
.nav a{padding:8px 11px;border-radius:9px;text-decoration:none;color:var(--ink-2);font-weight:550;font-size:.93rem}
.nav a:hover{background:var(--surface-2);color:var(--ink)}
.nav a[aria-current="page"]{color:var(--accent-text);background:var(--accent-soft)}
.icon-btn{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:12px;cursor:pointer;flex:none}
.icon-btn svg{width:20px;height:20px}
.icon-btn:hover{border-color:var(--accent)}
.theme-btn .moon{display:none}
[data-theme="dark"] .theme-btn .sun{display:none}
[data-theme="dark"] .theme-btn .moon{display:block}
.menu-panel{display:none;border-top:1px solid var(--line);padding:10px 0 18px}
.menu-panel.open{display:block}
.menu-panel a{display:block;padding:12px 6px;text-decoration:none;color:var(--ink);font-weight:600;border-bottom:1px solid var(--line)}
.menu-panel a[aria-current="page"]{color:var(--accent-text)}
.menu-panel .more{margin-top:12px;color:var(--ink-3);font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}
@media (min-width:900px){.nav{display:flex}.menu-btn{display:none}.menu-panel{display:none!important}}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 20px;border-radius:12px;font-weight:650;text-decoration:none;border:1px solid transparent;cursor:pointer;font-size:1rem;font-family:inherit}
.btn-primary{background:var(--accent);color:var(--accent-ink)}
.btn-primary:hover{color:var(--accent-ink);filter:brightness(1.08)}
.btn-ghost{background:var(--surface);color:var(--ink);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--accent);color:var(--ink)}
.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}

/* Sections */
section{padding:56px 0}
.hero{padding:56px 0 40px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font:600 .78rem var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--accent-text);margin-bottom:14px}
.lead{font-size:1.13rem;color:var(--ink-2);max-width:62ch}
.muted{color:var(--ink-3)}
.crumb{font:500 .8rem var(--mono);color:var(--ink-3);margin-bottom:14px}
.crumb a{color:var(--ink-3)}
.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;font:600 .76rem var(--mono);background:var(--accent-soft);color:var(--accent-text);border:1px solid color-mix(in srgb,var(--accent) 25%,transparent)}
.badge.ok{background:color-mix(in srgb,var(--ok) 14%,transparent);color:var(--ok);border-color:color-mix(in srgb,var(--ok) 30%,transparent)}
.badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.sec-head{margin-bottom:26px;max-width:70ch}
.alt{background:var(--surface-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* Grid & cards */
.grid{display:grid;gap:16px;grid-template-columns:1fr}
@media (min-width:640px){.g2,.g3,.g4{grid-template-columns:repeat(2,1fr)}}
@media (min-width:960px){.g3{grid-template-columns:repeat(3,1fr)}.g4{grid-template-columns:repeat(4,1fr)}}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);position:relative}
.card h3{margin-bottom:.35em}
.card p:last-child{margin-bottom:0}
a.card{display:block;text-decoration:none;color:var(--ink);transition:border-color .15s,transform .15s}
a.card:hover{border-color:var(--accent);transform:translateY(-2px)}
.card .go{display:inline-block;margin-top:10px;font-weight:650;color:var(--accent-text)}
.card .k{font:600 .74rem var(--mono);color:var(--ink-3);text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}
.feature{border:1px solid color-mix(in srgb,var(--accent) 40%,var(--line));background:linear-gradient(160deg,var(--accent-soft),var(--surface) 55%)}

/* Hero layout + stats */
.hero-grid{display:grid;gap:30px;align-items:center}
@media (min-width:960px){.hero-grid{grid-template-columns:1.1fr .9fr}}
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:26px}
@media (min-width:640px){.stats{grid-template-columns:repeat(4,1fr)}}
.stat{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px}
.stat b{display:block;font-size:1.5rem;letter-spacing:-.02em}
.stat span{color:var(--ink-3);font-size:.82rem}

/* Terminal */
.term{background:var(--term-bg);color:var(--term-ink);border-radius:var(--radius);font:13.5px/1.75 var(--mono);box-shadow:var(--shadow);overflow:hidden;border:1px solid #2a2440}
.term-top{display:flex;gap:6px;padding:12px 14px;border-bottom:1px solid #2a2440}
.term-top i{width:11px;height:11px;border-radius:50%;background:#3b3456}
.term-top i:first-child{background:#f87171}.term-top i:nth-child(2){background:#fbbf24}.term-top i:nth-child(3){background:#34d399}
.term pre{margin:0;padding:16px 18px;white-space:pre-wrap;word-break:break-word}
.term .p{color:var(--accent)}[data-theme="light"] .term .p,:root:not([data-theme]) .term .p{color:#a78bfa}
.term .d{color:var(--term-dim)}.term .o{color:var(--term-ok)}

/* Lists, tables */
.ticks{list-style:none;padding:0;margin:0}
.ticks li{padding:8px 0 8px 28px;position:relative;border-bottom:1px dashed var(--line)}
.ticks li:last-child{border-bottom:0}
.ticks li::before{content:"";position:absolute;left:4px;top:15px;width:12px;height:12px;border-radius:4px;background:var(--accent)}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
table{width:100%;border-collapse:collapse;font-size:.95rem}
@media (max-width:480px){th,td{padding:10px 10px;font-size:.88rem}td.wk{white-space:normal}}
th,td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:top}
th{font:600 .76rem var(--mono);text-transform:uppercase;letter-spacing:.06em;color:var(--ink-3);background:var(--surface-2)}
tr:last-child td{border-bottom:0}
td.wk{font-family:var(--mono);color:var(--accent-text);font-weight:600;white-space:nowrap}
tr.phase td{background:var(--accent-soft);color:var(--accent-text);font-weight:700}

/* Timeline / log */
.log{list-style:none;padding:0;margin:0;border-left:2px solid var(--line)}
.log li{position:relative;padding:0 0 20px 22px}
.log li::before{content:"";position:absolute;left:-7px;top:6px;width:12px;height:12px;border-radius:50%;background:var(--surface);border:2px solid var(--accent)}
.log time,.log .when{font:600 .78rem var(--mono);color:var(--accent-text);display:block}

/* FAQ */
details{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:0 18px;margin-bottom:10px}
summary{cursor:pointer;padding:16px 0;font-weight:650;list-style:none;display:flex;justify-content:space-between;gap:12px;min-height:44px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font:700 1.2rem var(--mono);color:var(--accent-text)}
details[open] summary::after{content:"–"}
details>div{padding:0 0 16px;color:var(--ink-2)}

/* Labels for research content type */
.label{font:600 .7rem var(--mono);text-transform:uppercase;letter-spacing:.07em;padding:3px 8px;border-radius:6px;border:1px solid var(--line);color:var(--ink-3);display:inline-block}

/* Forms */
form .row{display:grid;gap:14px}
@media (min-width:640px){form .row.two{grid-template-columns:1fr 1fr}}
label{display:block;font-weight:600;font-size:.92rem;margin-bottom:6px}
input,select,textarea{width:100%;min-height:48px;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit}
textarea{min-height:140px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 25%,transparent)}
.hp{position:absolute;left:-5000px;width:1px;height:1px;overflow:hidden}
.note{font-size:.88rem;color:var(--ink-3)}
.notice{border:1px solid color-mix(in srgb,var(--accent) 35%,var(--line));background:var(--accent-soft);color:var(--ink);padding:14px 16px;border-radius:12px}

/* Social */
.soc-row{display:flex;flex-wrap:wrap;gap:8px}
.soc{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink-2)}
.soc:hover{color:var(--accent-text);border-color:var(--accent)}
.soc svg{width:19px;height:19px}
.connect-group{margin-bottom:28px}
.connect-group h2{font-size:1rem;font:600 .8rem var(--mono);text-transform:uppercase;letter-spacing:.08em;color:var(--ink-3);margin-bottom:12px}
.connect-link{display:flex;align-items:center;gap:14px;padding:14px 16px;background:var(--surface);border:1px solid var(--line);border-radius:14px;text-decoration:none;color:var(--ink);margin-bottom:10px;min-height:64px}
.connect-link:hover{border-color:var(--accent);color:var(--ink)}
.connect-link .ic{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent-text);flex:none}
.connect-link .ic svg{width:20px;height:20px}
.connect-link b{display:block}
.connect-link small{color:var(--ink-3);word-break:break-all}
.connect-link .arr{margin-left:auto;color:var(--ink-3)}

/* Footer */
.site-footer{border-top:1px solid var(--line);padding:44px 0 30px;margin-top:20px;background:var(--surface)}
.foot-grid{display:grid;gap:28px}
@media (min-width:800px){.foot-grid{grid-template-columns:1.4fr 1fr 1fr 1fr}}
.site-footer h4{font:600 .76rem var(--mono);text-transform:uppercase;letter-spacing:.08em;color:var(--ink-3);margin:0 0 12px}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li a{display:inline-block;padding:5px 0;text-decoration:none;color:var(--ink-2)}
.site-footer li a:hover{color:var(--accent-text)}
.copy{margin-top:30px;padding-top:18px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:8px 18px;justify-content:space-between;font-size:.85rem;color:var(--ink-3)}
.tagline{font:600 .8rem var(--mono);color:var(--accent-text);letter-spacing:.03em}

/* Brand: logo only */
.brand .brand-text b{display:block;font-size:.95rem;line-height:1.15}
.brand .brand-text small{display:block;color:var(--ink-3);font-size:.72rem}
.brand img.logo{height:44px;max-width:150px;border-radius:10px;background:#000}

/* App-style bottom tab bar (phones) */
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:grid;grid-template-columns:repeat(5,1fr);background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:6px 4px calc(6px + env(safe-area-inset-bottom))}
.tabbar a{display:flex;flex-direction:column;align-items:center;gap:3px;min-height:48px;justify-content:center;text-decoration:none;color:var(--ink-3);font:600 .7rem var(--font);border-radius:10px}
.tabbar a svg{width:22px;height:22px}
.tabbar a[aria-current="page"]{color:var(--accent-text);background:var(--accent-soft)}
body{padding-bottom:76px}
@media (min-width:900px){.tabbar{display:none}body{padding-bottom:0}}
.install-btn[hidden]{display:none}
.card,.path,.strip,.stat{border-radius:16px}
.btn{border-radius:14px}

/* Launcher home */
.launch{padding:28px 0 40px}
.launch-head{text-align:center;margin-bottom:26px}
.launch-logo{max-width:min(320px,80vw);height:auto;margin:0 auto;border-radius:18px;background:#000;box-shadow:var(--shadow)}
.launch-name b{display:block;font-size:1.7rem;letter-spacing:-.02em}
.launch-name span{color:var(--ink-3)}
.tagline{margin:14px 0 0}
.launch .tagline{font:600 .8rem var(--mono);letter-spacing:.06em;color:var(--accent-text)}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
@media (min-width:640px){.tiles{grid-template-columns:repeat(4,1fr);gap:14px}}
@media (min-width:1000px){.tiles{grid-template-columns:repeat(6,1fr)}}
.tile{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:16px 8px 14px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);text-decoration:none;font:inherit;cursor:pointer;box-shadow:var(--shadow);min-height:44px}
.tile:hover{border-color:var(--accent);color:var(--ink)}
.tile-ic{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent-text)}
.tile-ic svg{width:24px;height:24px}
.tile b{font-size:.9rem;line-height:1.2}
.tile small{color:var(--ink-3);font-size:.72rem;line-height:1.25}
.tile-pihu .tile-ic{background:linear-gradient(135deg,#f5b544,#e8487a 50%,#7c3aed);color:#fff}

/* Back button on inner pages */
.back-btn{margin-right:2px}

/* Pihu chat */
.pihu-fab{position:fixed;right:16px;bottom:88px;z-index:70;display:flex;align-items:center;gap:8px;min-height:48px;padding:0 16px;border:0;border-radius:999px;background:linear-gradient(135deg,#7c3aed,#e8487a);color:#fff;font:700 .92rem var(--font);box-shadow:0 8px 24px rgba(109,40,217,.35);cursor:pointer}
.pihu-fab svg{width:20px;height:20px}
@media (min-width:900px){.pihu-fab{bottom:24px}}
.pihu{position:fixed;right:12px;left:12px;bottom:86px;z-index:80;max-width:400px;margin-left:auto;height:min(70vh,560px);display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:0 20px 60px rgba(30,20,80,.25);overflow:hidden}
.pihu[hidden]{display:none}
@media (min-width:900px){.pihu{bottom:24px;right:24px}}
.pihu-head{display:flex;align-items:center;justify-content:space-between;padding:12px 12px 12px 16px;border-bottom:1px solid var(--line);background:var(--surface-2)}
.pihu-head b{display:block}.pihu-head small{color:var(--ink-3);font-size:.75rem}
.pihu-log{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:8px}
.msg{max-width:88%;padding:10px 13px;border-radius:14px;font-size:.93rem;line-height:1.5}
.msg.bot{background:var(--surface-2);border:1px solid var(--line);align-self:flex-start;border-bottom-left-radius:4px}
.msg.me{background:var(--accent);color:var(--accent-ink);align-self:flex-end;border-bottom-right-radius:4px}
.msg a{font-weight:650}
.pihu-chips{display:flex;gap:6px;overflow-x:auto;padding:0 12px 10px}
.pihu-chips button{flex:none;border:1px solid var(--line);background:var(--surface);color:var(--ink-2);border-radius:999px;padding:8px 12px;font:600 .8rem var(--font);cursor:pointer;min-height:36px}
.pihu-chips button:hover{border-color:var(--accent);color:var(--accent-text)}
.pihu-form{display:flex;gap:8px;padding:10px;border-top:1px solid var(--line)}
.pihu-form input{min-height:44px}
.pihu-form .btn{min-height:44px;padding:0 16px}
/* Home = launcher only */
.is-home .site-header .brand{visibility:hidden}
.is-home .pihu-fab{display:none}
.is-home .foot-grid{display:none}
.is-home .site-footer{padding:18px 0 22px;margin-top:0}
.is-home .copy{margin-top:0;border-top:0;padding-top:0;justify-content:center;text-align:center}
.inner .brand b,.inner .brand small{max-width:52vw}
/* Pihu inline (home hero) */
.pihu.inline{position:static;max-width:720px;margin:0 auto 26px;height:auto;box-shadow:0 10px 36px rgba(109,40,217,.14);border:1.5px solid color-mix(in srgb,var(--accent) 35%,var(--line))}
.pihu.inline .pihu-head{background:linear-gradient(135deg,var(--accent-soft),var(--surface));gap:10px}
.pihu.inline .pihu-head b{font-size:1rem}
.pihu.inline .pihu-log{height:230px;flex:none}
.pihu-full{min-height:40px;padding:8px 12px;font-size:.85rem;flex:none}
.launch-logo{width:min(240px,62vw);background:none;box-shadow:0 8px 28px rgba(20,10,60,.18)}
.brand img.logo{background:none;height:40px;width:auto;border-radius:8px}
.is-home .site-header .brand{visibility:visible}
.is-home .brand-text{display:none}
@media (max-width:560px){.brand .brand-text{display:none}}
.pihu.inline .pihu-log{height:170px}
.launch{padding-top:18px}
.launch-head{margin-bottom:16px}
.launch-logo{width:min(200px,54vw)}
@media (max-width:420px){.pihu.inline .pihu-head small{display:none}}
/* Real logo in header (shown once) */
.brand img.logo{height:44px;width:auto;max-width:200px;border-radius:0;background:none}
.is-home .site-header .brand{visibility:visible}
/* Pihu hero (from nkbworks.com) */
.pihu-hero{text-align:center;padding:10px 0 30px}
.pihu-avatar{width:min(180px,46vw);height:auto;margin:0 auto 14px;border-radius:50%;box-shadow:0 0 0 10px color-mix(in srgb,#38bdf8 12%,transparent),0 0 0 22px color-mix(in srgb,#38bdf8 6%,transparent),0 18px 40px rgba(20,60,120,.25)}
.pihu-meet{font-weight:650;color:#0e7490;margin:0 0 6px}
.pihu-hero h1{font-size:clamp(2rem,8vw,3rem);max-width:14ch;margin:0 auto .35em}
.pihu-hero .lead{margin:0 auto}
.pihu-hero .actions{justify-content:center}
.pihu-hero .note{margin-top:12px}
.pihu-fab{padding:0 14px 0 6px;text-decoration:none}
.pihu-fab img{width:34px;height:34px;border-radius:50%}
.pihu-fab:hover{color:#fff}
.brand{min-width:0;flex:1 1 auto;overflow:hidden}
.brand img.logo{max-width:100%;height:auto;max-height:44px;object-fit:contain;object-position:left center}
/* Logo: transparent, light/dark versions */
.brand img.logo{background:none;border-radius:0}
.logo-d{display:none!important}
[data-theme="dark"] .logo-l{display:none!important}
[data-theme="dark"] .logo-d{display:block!important}

/* Pihu (real app, embedded) */
.pihu-bar{display:flex;align-items:center;gap:10px;padding:10px 10px 10px 12px;border-bottom:1px solid var(--line);background:linear-gradient(135deg,var(--accent-soft),var(--surface))}
.pihu-bar img{width:36px;height:36px;border-radius:50%;flex:none}
.pihu-bar b{display:block;line-height:1.1}.pihu-bar small{color:var(--ink-3);font-size:.75rem}
.pihu-bar span{min-width:0;flex:1}
.pihu-ext{margin-left:auto;width:40px;height:40px;display:grid;place-items:center;border-radius:10px;border:1px solid var(--line);background:var(--surface);text-decoration:none;color:var(--ink);font-weight:700}
.pihu-x{min-height:40px;padding:0 14px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:650 .85rem var(--font);cursor:pointer}
.pihu-frame{display:block;width:100%;border:0;background:#0b1020}
.pihu-home{max-width:760px;margin:6px auto 22px;border:1.5px solid color-mix(in srgb,var(--accent) 35%,var(--line));border-radius:20px;overflow:hidden;background:var(--surface);box-shadow:0 10px 36px rgba(109,40,217,.14)}
.pihu-home .pihu-frame{height:min(68vh,600px)}
.pihu-home .pihu-fallback{margin:0;padding:8px 12px;text-align:center}
.pihu-home.collapsed .pihu-body{display:none}
.pihu-dock{position:fixed;z-index:80;right:10px;left:10px;bottom:84px;max-width:420px;margin-left:auto;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--surface);box-shadow:0 20px 60px rgba(30,20,80,.3)}
.pihu-dock[hidden]{display:none}
.pihu-dock .pihu-frame{height:min(64vh,560px)}
@media (min-width:900px){.pihu-dock{bottom:24px;right:24px}}
.launch{padding-top:12px}
section.pihu-home,section.pihu-dock{padding:0}
.pihu-bar small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pihu-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:26px 18px;background:linear-gradient(180deg,var(--accent-soft),var(--surface))}
.pihu-card img{width:120px;height:120px;border-radius:50%;box-shadow:0 0 0 8px color-mix(in srgb,#38bdf8 14%,transparent)}
.pihu-card b{font-size:1.25rem}
.pihu-card span{color:var(--ink-2);max-width:34ch}
/* Footer always at the bottom */
html,body{min-height:100%}
body{display:flex;flex-direction:column;min-height:100vh}
main{flex:1 0 auto}
.site-footer{flex-shrink:0}
/* Highlighted social media */
.follow{text-align:center;padding:4px 0 26px;margin-bottom:24px;border-bottom:1px solid var(--line)}
.follow h4{margin-bottom:14px}
.soc-row.big{justify-content:center;gap:12px}
.soc-row.big .soc{width:52px;height:52px;border-radius:16px;border:0;color:#fff;box-shadow:0 4px 14px rgba(0,0,0,.12)}
.soc-row.big .soc svg{width:24px;height:24px}
.follow-all{display:inline-block;margin-top:14px;font-weight:650}
.soc-youtube,.soc-youtube2{background:#ff0000!important;color:#fff!important}
.soc-linkedin{background:#0a66c2!important;color:#fff!important}
.soc-instagram{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fd5949 45%,#d6249f 60%,#285aeb 90%)!important;color:#fff!important}
.soc-facebook{background:#1877f2!important;color:#fff!important}
.soc-x,.soc-threads{background:#000!important;color:#fff!important}
.soc-github{background:#24292f!important;color:#fff!important}
.soc-medium{background:#121212!important;color:#fff!important}
.soc-orcid{background:#a6ce39!important;color:#fff!important}
.soc-whatsapp{background:#25d366!important;color:#fff!important}
.soc-row:not(.big) .soc{width:44px;height:44px}
.cl-youtube .ic,.cl-youtube2 .ic{background:#ff0000;color:#fff}
.cl-linkedin .ic{background:#0a66c2;color:#fff}
.cl-github .ic{background:#24292f;color:#fff}
.cl-medium .ic{background:#121212;color:#fff}
.cl-orcid .ic{background:#a6ce39;color:#fff}
.cl-instagram .ic{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fd5949 45%,#d6249f 60%,#285aeb 90%);color:#fff}
.cl-facebook .ic{background:#1877f2;color:#fff}
.cl-whatsapp .ic{background:#25d366;color:#fff}
.is-home .site-footer{padding:30px 0 22px}
.pihu-card small{font-size:.8rem}
.made-by{margin:14px 0 0;text-align:center;font-size:.85rem;color:var(--ink-3)}
.made-by a{font-weight:650}
.product .prod-ic{width:56px;height:56px;border-radius:50%;margin-bottom:10px}
.prod-logo{height:64px;width:auto;border-radius:14px;margin-bottom:12px;background:#05070f}
.prod-ic.round{border-radius:50%}
.prod-tag{font:600 .74rem var(--mono);letter-spacing:.05em;color:var(--accent-text);text-transform:uppercase}
.brand img.logo{max-height:46px}

/* ===== Simplified (focus) ===== */
.crumb{display:none}
.menu-btn,.menu-panel{display:none!important}
.logo-icon{display:none;height:40px;width:auto}
@media (max-width:640px){.brand .logo-full{display:none!important}.logo-icon{display:block}}
.rows{max-width:760px;margin:0 auto;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface)}
.rows a{display:flex;align-items:center;gap:12px;padding:16px 18px;text-decoration:none;color:var(--ink);border-bottom:1px solid var(--line);min-height:64px}
.rows a:last-child{border-bottom:0}
.rows a:hover{background:var(--surface-2);color:var(--ink)}
.rows span{flex:1;min-width:0}.rows b{display:block;font-size:1.02rem}.rows small{color:var(--ink-3)}
.rows i{font-style:normal;font-size:1.5rem;color:var(--ink-3)}
.pihu-home{border:0;box-shadow:none;background:none;margin-bottom:28px}
.pihu-card{background:none;padding:18px 8px 10px}
.pihu-card .pihu-meet{font-weight:650;color:#0e7490}
.pihu-card b{font-size:clamp(1.7rem,7vw,2.4rem);line-height:1.15;letter-spacing:-.02em}
.pihu-card img{width:150px;height:150px}
.pihu-card .btn{margin-top:6px;min-width:200px}
.follow{border-bottom:0;margin-bottom:6px}
.soc-row.big{gap:14px 10px}
.soc-item{display:flex;flex-direction:column;align-items:center;gap:6px;width:72px}
.soc-item small{font-size:.68rem;color:var(--ink-3);text-align:center;line-height:1.2}
.foot-links{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.foot-links a{color:var(--ink-2);text-decoration:none;padding:6px 0;font-size:.92rem}
.copy{justify-content:center;text-align:center;border-top:0;margin-top:14px}
.eyebrow{letter-spacing:.04em}
@media (min-width:641px){.brand img.logo{max-height:58px}.bar{min-height:76px}}

/* Full logo on every screen */
.logo-icon{display:none!important}
@media (max-width:640px){.brand .logo-full{display:block!important}.brand .logo-d.logo-full{display:none!important}[data-theme="dark"] .brand .logo-l{display:none!important}[data-theme="dark"] .brand .logo-d.logo-full{display:block!important}.brand img.logo{max-height:50px;max-width:240px}}

/* Fixed bottom: slim social bar (+ tab bar on phones) — mirrors the fixed header */
.dock-bottom{position:fixed;left:0;right:0;bottom:0;z-index:60;background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--line)}
.dock-bottom .tabbar{position:static;border-top:1px solid var(--line);background:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.social-bar{display:flex;align-items:center;justify-content:center;gap:10px;padding:6px 10px}
.sb-label{font:600 .68rem var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}
.soc-row.mini{gap:6px;flex-wrap:nowrap}
.soc-row.mini .soc{width:30px;height:30px;border-radius:8px;border:0;position:relative}
.soc-row.mini .soc svg{width:15px;height:15px}
.soc-row.mini .soc em{position:absolute;bottom:-5px;left:50%;transform:translateX(-50%);font:700 .5rem var(--font);font-style:normal;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:4px;padding:0 3px;line-height:1.4;white-space:nowrap}
body{padding-bottom:118px}
@media (min-width:900px){body{padding-bottom:52px}}
.pihu-fab{bottom:126px}
@media (min-width:900px){.pihu-fab{bottom:64px}}
.pihu-dock{bottom:124px}
@media (min-width:900px){.pihu-dock{bottom:64px}}
.site-footer{padding:22px 0 18px}

/* Footer together, light icons */
body{padding-bottom:76px}
@media (min-width:900px){body{padding-bottom:0}.dock-bottom{display:none}}
.pihu-fab{bottom:88px}.pihu-dock{bottom:86px}
@media (min-width:900px){.pihu-fab{bottom:24px}.pihu-dock{bottom:24px}}
.site-footer{padding:18px 0 16px;margin-top:10px}
.foot-follow{display:flex;justify-content:center;padding:6px 0 10px}
.soc-row.light{gap:2px;justify-content:center;flex-wrap:wrap}
.soc-row.light .soc{width:44px;height:44px;background:none!important;border:0;box-shadow:none;position:relative;border-radius:10px}
.soc-row.light .soc svg{width:20px;height:20px}
.soc-row.light .soc:hover{background:var(--surface-2)!important}
.soc-row.light .soc-youtube,.soc-row.light .soc-youtube2{color:#ff0000!important}
.soc-row.light .soc-linkedin{color:#0a66c2!important}
.soc-row.light .soc-github,.soc-row.light .soc-medium,.soc-row.light .soc-x,.soc-row.light .soc-threads{color:var(--ink-2)!important}
.soc-row.light .soc-orcid{color:#8fb42a!important}
.soc-row.light .soc-instagram{color:#d6249f!important}
.soc-row.light .soc-facebook{color:#1877f2!important}
.soc-row.light .soc-whatsapp{color:#25d366!important}
.soc-row.light .soc em{position:absolute;bottom:1px;left:50%;transform:translateX(-50%);font:600 .52rem var(--font);font-style:normal;color:var(--ink-3);background:none;border:0;padding:0;white-space:nowrap}
.foot-links{border-top:0;border-bottom:0;padding:4px 0;gap:2px 14px}
.foot-links a{font-size:.85rem;color:var(--ink-3)}
.copy{margin-top:6px;font-size:.78rem}
.made-by{margin-top:6px;font-size:.78rem}
/* Clean footer */
.site-footer{padding:16px 0 14px}
.foot-follow{padding:0 0 6px}
.foot-links{padding:2px 0 0}
.copy{display:block;margin:8px 0 0;padding:0;font-size:.78rem;color:var(--ink-3);text-align:center}
.copy a{color:var(--ink-3)}
a.made-by{display:flex;align-items:center;justify-content:center;gap:8px;margin:10px auto 0;text-decoration:none;color:var(--ink-3);font-size:.74rem;width:max-content}
a.made-by img{height:24px;width:auto;border-radius:6px}
/* Home = Pihu only, centred in the screen */
.is-home .launch{min-height:calc(100svh - 64px - 76px);display:flex;align-items:center;padding:0}
.is-home .launch .wrap{width:100%}
.is-home .pihu-home{margin:0 auto}
@media (min-width:900px){.is-home .launch{min-height:calc(100svh - 76px)}}

/* ===== Pihu guide (home) ===== */
.is-home .launch{min-height:0;display:block;padding:16px 0 24px}
.guide{max-width:640px;margin:0 auto;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:0 12px 40px rgba(60,40,140,.10);overflow:hidden}
.guide-head{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line)}
.guide-head img{width:44px;height:44px;border-radius:50%;box-shadow:0 0 0 3px color-mix(in srgb,#38bdf8 25%,transparent)}
.guide-head b{display:block}.guide-head small{color:var(--ink-3);font-size:.78rem}
.guide-log{display:flex;flex-direction:column;gap:10px;padding:16px;min-height:150px;max-height:min(42vh,380px);overflow-y:auto}
.gmsg{max-width:88%;padding:11px 14px;border-radius:16px;font-size:.95rem;line-height:1.5}
.gmsg.bot{align-self:flex-start;background:var(--surface-2);border-bottom-left-radius:5px}
.gmsg.me{align-self:flex-end;background:var(--accent);color:var(--accent-ink);border-bottom-right-radius:5px}
.glinks{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.glink{display:inline-flex;align-items:center;min-height:36px;padding:6px 12px;border-radius:10px;background:var(--surface);border:1px solid var(--line);text-decoration:none;font-weight:600;font-size:.85rem;color:var(--accent-text)}
.guide-chips{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:0 16px 14px}
@media (min-width:560px){.guide-chips{grid-template-columns:repeat(3,1fr)}}
.guide-chips button{min-height:48px;padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);font:600 .9rem var(--font);cursor:pointer;text-align:center}
.guide-chips button:hover{border-color:var(--accent);color:var(--accent-text);background:var(--accent-soft)}
.guide-form{display:flex;gap:8px;padding:12px 16px;border-top:1px solid var(--line)}
.guide-form input{min-height:46px;border-radius:999px;padding:0 16px}
.guide-form .btn{min-height:46px;width:46px;padding:0;border-radius:50%;font-size:1.2rem}
/* Classic website notice */
.classic-note{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:8px 40px 8px 14px;background:var(--accent-soft);color:var(--ink);font-size:.82rem;text-align:center;position:relative}
.classic-note[hidden]{display:none}
.classic-note a{font-weight:650}
.classic-note button{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:32px;height:32px;border:0;background:none;color:var(--ink-2);font-size:1.2rem;cursor:pointer}
.install-btn{display:none!important}
section.guide{padding:0}
.guide-log{min-height:0}

/* ===== iOS-style app grid in Pihu ===== */
.guide-chips{grid-template-columns:repeat(3,1fr);gap:16px 6px;padding:6px 12px 16px}
@media (min-width:560px){.guide-chips{grid-template-columns:repeat(5,1fr)}}
.guide-chips button.gapp{display:flex;flex-direction:column;align-items:center;gap:7px;min-height:0;padding:4px 0;border:0;background:none;border-radius:0}
.guide-chips button.gapp:hover{background:none;color:var(--ink)}
.gicon{width:60px;height:60px;border-radius:16px;display:grid;place-items:center;color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.06),0 6px 14px rgba(0,0,0,.12);transition:transform .15s}
.gapp:active .gicon{transform:scale(.92)}
.gapp:hover .gicon{transform:translateY(-2px)}
.gicon svg{width:28px;height:28px}
.gicon img{width:100%;height:100%;border-radius:16px;object-fit:cover}
.glabel{font:500 .76rem var(--font);color:var(--ink);letter-spacing:-.01em}
.g-indigo{background:linear-gradient(180deg,#7c7cff,#5856d6)}
.g-orange{background:linear-gradient(180deg,#ffb340,#ff9500)}
.g-blue{background:linear-gradient(180deg,#4aa8ff,#007aff)}
.g-teal{background:linear-gradient(180deg,#5ad8e6,#30b0c7)}
.g-purple{background:linear-gradient(180deg,#d38cff,#af52de)}
.g-pink{background:linear-gradient(180deg,#ff6b8a,#ff2d55)}
.g-green{background:linear-gradient(180deg,#5fe07a,#34c759)}
.g-gray{background:linear-gradient(180deg,#a1a1a6,#8e8e93)}
.g-pihu{background:#0b1020;padding:0}
/* MVP home */
.home-intro{text-align:center;margin:8px auto 18px;max-width:640px}
.home-intro h1{font-size:clamp(1.9rem,7.5vw,3rem);margin-bottom:.2em}
.home-intro .lead{margin:0 auto;font-size:1rem}
.guide-chips{grid-template-columns:repeat(3,1fr)}
@media (min-width:560px){.guide-chips{grid-template-columns:repeat(6,1fr)}}
@media (max-width:420px){.inner .brand img.logo{max-height:40px}}

/* App-like inner pages: tighter, calmer */
.inner .hero{padding:22px 0 18px}
.inner .hero h1{font-size:clamp(1.6rem,6.4vw,2.4rem);margin-bottom:.3em}
.inner .hero .lead{font-size:1rem;line-height:1.55}
.inner .eyebrow{margin-bottom:8px;font-size:.7rem}
.inner section{padding:28px 0}
.inner h2{font-size:clamp(1.25rem,5vw,1.7rem)}
.inner .sec-head{margin-bottom:16px}
.inner .card{padding:18px}
.inner .card p{font-size:.95rem}

/* ===== Calm icons (like LinkedIn / X) ===== */
.gicon.g-n{background:var(--surface-2);color:var(--ink);box-shadow:none;border:1px solid var(--line);width:56px;height:56px;border-radius:16px}
.gicon.g-n svg{width:24px;height:24px;stroke-width:1.6}
.gapp:hover .gicon.g-n{border-color:var(--ink-3)}
.glabel{color:var(--ink-2)}
.soc-row.light .soc,.soc-row.light .soc-youtube,.soc-row.light .soc-youtube2,.soc-row.light .soc-linkedin,.soc-row.light .soc-orcid,.soc-row.light .soc-instagram,.soc-row.light .soc-facebook,.soc-row.light .soc-whatsapp{color:var(--ink-3)!important}
.soc-row.light .soc:hover{color:var(--ink)!important}
.soc-row.light .soc svg{width:18px;height:18px}
/* ===== Booking ===== */
.book h3{font-size:1rem;margin:18px 0 10px}.book h3:first-child{margin-top:0}
.opt-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.opt,.seg label,.day,.slot{position:relative;margin:0;cursor:pointer}
.opt input,.seg input,.day input,.slot input{position:absolute;opacity:0;width:1px;height:1px}
.opt span{display:block;padding:12px;border:1px solid var(--line);border-radius:14px;min-height:64px}
.opt b{display:block;font-size:.92rem}.opt small{color:var(--ink-3);font-size:.75rem}
.opt input:checked+span,.day input:checked+span,.slot input:checked+span,.seg input:checked+span{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-text)}
.opt input:focus-visible+span,.day input:focus-visible+span,.slot input:focus-visible+span,.seg input:focus-visible+span{outline:3px solid var(--accent);outline-offset:2px}
.seg{display:inline-flex;gap:8px}.seg span{display:block;padding:10px 18px;border:1px solid var(--line);border-radius:999px;font-weight:600;font-size:.9rem}
.days{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.day span{display:flex;flex-direction:column;align-items:center;width:58px;padding:8px 0;border:1px solid var(--line);border-radius:14px}
.day b{font-size:1.15rem}.day small{font-size:.68rem;color:var(--ink-3)}
.slots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.slot span{display:block;text-align:center;padding:10px 0;border:1px solid var(--line);border-radius:12px;font-weight:600;font-size:.88rem}
.book .btn{margin-top:14px;width:100%}

/* ===== Courses (store / LMS look) ===== */
.role-tabs{display:inline-flex;gap:4px;padding:4px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line);margin-top:6px;flex-wrap:wrap}
.role-tabs button{min-height:40px;padding:0 14px;border:0;border-radius:10px;background:none;font:600 .85rem var(--font);color:var(--ink-2);cursor:pointer}
.role-tabs button[aria-selected="true"]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.role-note{margin:12px 0 0;color:var(--ink-2);font-size:.95rem}
.shop{display:grid;gap:14px;grid-template-columns:1fr}
@media(min-width:640px){.shop{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1000px){.shop{grid-template-columns:repeat(3,1fr)}}
.course{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:18px;background:var(--surface);overflow:hidden}
.course[hidden]{display:none}
.c-top{position:relative;height:96px;display:grid;place-items:center;color:#fff}
.c-top svg{width:40px;height:40px}
.c-tag{position:absolute;top:10px;left:10px;font:600 .68rem var(--font);letter-spacing:.03em;padding:4px 8px;border-radius:8px;background:rgba(255,255,255,.22)}
.c-blue{background:linear-gradient(135deg,#4aa8ff,#5856d6)}.c-red{background:linear-gradient(135deg,#ff6b8a,#ff3b30)}.c-green{background:linear-gradient(135deg,#5fe07a,#30b0c7)}.c-orange{background:linear-gradient(135deg,#ffcc00,#ff9500)}.c-purple{background:linear-gradient(135deg,#d38cff,#7c3aed)}
.c-body{padding:16px;display:flex;flex-direction:column;flex:1}
.c-body h3{font-size:1.05rem}.c-body p{font-size:.9rem;color:var(--ink-2)}
.c-meta{list-style:none;padding:0;margin:0 0 12px;font-size:.8rem;color:var(--ink-3)}.c-meta li{padding:2px 0}
.c-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}
.c-price{font-weight:700;font-size:.95rem}
.c-foot .btn{min-height:42px;padding:0 16px}
.c-more{margin-top:10px;font-size:.85rem;font-weight:600}

/* ===== Drawer menu + voice ===== */
.drawer-btn{display:grid}
.drawer-bg{position:fixed;inset:0;z-index:90;background:rgba(10,8,25,.4)}
.drawer-bg[hidden],.drawer[hidden]{display:none}
.drawer{position:fixed;top:0;right:0;bottom:0;z-index:95;width:min(320px,86vw);background:var(--surface);border-left:1px solid var(--line);box-shadow:-20px 0 50px rgba(20,10,60,.2);display:flex;flex-direction:column;animation:drIn .2s ease-out}
@keyframes drIn{from{transform:translateX(30px);opacity:0}to{transform:none;opacity:1}}
.dr-head{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 16px;border-bottom:1px solid var(--line)}
.dr-head b{flex:1}
.dr-head img{height:30px;width:auto}
.dr-list{flex:1;overflow-y:auto;padding:6px 0}
.dr-list a{display:block;padding:13px 20px;text-decoration:none;color:var(--ink);font-weight:550;font-size:.98rem}
.dr-list a:hover,.dr-list a:focus-visible{background:var(--surface-2)}
.dr-list a[hidden],.dr-foot a[hidden]{display:none}
.dr-foot{border-top:1px solid var(--line);padding:8px 0 calc(10px + env(safe-area-inset-bottom))}
.dr-foot a{display:block;padding:11px 20px;text-decoration:none;color:var(--ink-2);font-size:.92rem}
.dr-foot .note{padding:4px 20px 0;margin:0;font-size:.76rem}
body.dr-open{overflow:hidden}
.mic-btn.listening{background:#ff3b30;color:#fff;border-color:#ff3b30;animation:pulse 1.2s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(255,59,48,.45)}100%{box-shadow:0 0 0 12px rgba(255,59,48,0)}}
.v-toast{position:fixed;left:50%;top:84px;transform:translateX(-50%);z-index:99;background:var(--ink);color:var(--bg);padding:10px 16px;border-radius:12px;font-size:.88rem;max-width:90vw;text-align:center}
.v-toast[hidden]{display:none}
@media (max-width:420px){.bar{gap:6px}.bar .icon-btn{width:40px;height:40px}}
@media (max-width:480px){.back-btn{display:none!important}}

/* ===== Final polish: header, compact menu, classic page ===== */
@media (max-width:640px){.theme-btn{display:none!important}.brand img.logo{max-height:46px}}
.dr-list{padding:4px 0 8px}
.dr-h{margin:12px 20px 2px;font:600 .68rem var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}
.dr-list a{padding:9px 20px;font-size:.95rem}
.dr-foot{padding:4px 0 calc(8px + env(safe-area-inset-bottom))}
.dr-row{display:flex;align-items:center;justify-content:space-between;width:100%;padding:11px 20px;border:0;background:none;text-decoration:none;color:var(--ink-2);font:500 .92rem var(--font);cursor:pointer;text-align:left}
.dr-row:hover{background:var(--surface-2)}
.dr-row[hidden]{display:none}
.sw-mini{width:40px;height:24px;border-radius:999px;background:var(--line);position:relative;transition:.2s}
.sw-mini::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:.2s}
.dr-row.on .sw-mini{background:#34c759}.dr-row.on .sw-mini::after{left:19px}
.dr-foot .note{display:none}
.classic-page main{display:flex;flex-direction:column}
.classic-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 14px;border-bottom:1px solid var(--line);background:var(--surface-2);font-size:.85rem}
.classic-bar .btn{min-height:38px;padding:0 12px;font-size:.85rem}
.classic-frame{width:100%;height:calc(100svh - 64px - 54px - 76px);border:0;background:#fff;display:block}
@media (min-width:900px){.classic-frame{height:calc(100svh - 76px - 54px)}}
.classic-fallback{padding:24px;text-align:center}
.classic-page .site-footer{display:none}
.dr-foot a.dr-row{display:flex}
.classic-bar span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* MVP: Pihu first, no heading above */
.home-intro[hidden]{display:none}
.is-home .launch{padding-top:14px}
.dr-list{padding:8px 0}
.dr-list a{padding:12px 20px}

/* ===== Header: theme back on top ===== */
@media (max-width:640px){.theme-btn{display:grid!important}.bar{gap:6px}.bar .icon-btn{width:38px;height:38px;border-radius:11px}.bar .icon-btn svg{width:18px;height:18px}.brand img.logo{max-height:42px}}
/* ===== Menu as sitemap ===== */
.dr-list{padding:6px 0 8px}
.dr-grp{padding:2px 0}
.dr-grp[hidden]{display:none}
.dr-list a.dr-main{display:flex;align-items:center;gap:12px;padding:9px 18px;font-weight:600}
.dr-ic{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--surface-2);border:1px solid var(--line);color:var(--ink);flex:none}
.dr-ic svg{width:18px;height:18px}
.dr-sub{display:flex;flex-wrap:wrap;gap:2px 6px;padding:0 18px 6px 64px}
.dr-list .dr-sub a{padding:4px 0;font-size:.82rem;font-weight:500;color:var(--ink-3)}
.dr-list .dr-sub a:not(:last-child)::after{content:"·";margin-left:6px;color:var(--line)}
.dr-list a[aria-current="page"]{color:var(--accent-text)}
.dr-list a.dr-main[aria-current="page"] .dr-ic{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 40%,var(--line));color:var(--accent-text)}
.dr-install{font-weight:650;color:var(--accent-text)!important}
.dr-install[hidden],.dr-install-help[hidden]{display:none}
.dr-install-help{margin:0;padding:0 20px 8px;font-size:.8rem;color:var(--ink-2)}
.sm{list-style:none;padding:0;margin:0}.sm li{padding:5px 0}.sm a{text-decoration:none;font-weight:550}
@media (max-width:640px){.brand{flex:1 1 0;min-width:0}.brand img.logo{width:100%;max-width:220px;height:auto;max-height:42px;object-fit:contain;object-position:left center}}
/* Pihu lead card */
.gmsg.lead{max-width:100%}
.lead-form{display:grid;gap:8px;margin-top:10px}
.lead-form input[type=text],.lead-form input[name]{min-height:44px;font-size:16px}
.lead-consent{display:flex;align-items:center;gap:8px;font-size:.84rem;color:var(--ink-2);font-weight:500}
.lead-consent input{width:18px;height:18px;min-height:0;accent-color:var(--accent)}
.lead-btns{display:flex;gap:8px;flex-wrap:wrap}
.lead-btns .btn{min-height:42px}
.lead-msg:empty{display:none}

/* Desktop home: intro + Pihu side by side, footer at the bottom */
.desk-intro{display:none}
body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body>main{flex:1 0 auto}
@media (min-width:900px){
  .launch{display:flex;align-items:center;min-height:calc(100vh - 260px);padding:40px 0}
  .launch>.wrap{width:100%;display:grid;grid-template-columns:1fr minmax(0,560px);gap:56px;align-items:center}
  .desk-intro{display:block}
  .desk-intro .eyebrow{display:inline-block;font:600 .78rem var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--accent-text);background:var(--accent-soft);padding:5px 10px;border-radius:999px;margin-bottom:16px}
  .desk-intro h1{font-size:clamp(2.4rem,4.4vw,3.6rem);margin-bottom:14px}
  .desk-intro .lead{margin-bottom:24px}
  .desk-intro .actions{display:flex;gap:12px;flex-wrap:wrap}
  .launch .guide{max-width:none;margin:0}
  .nav a{padding-left:10px;padding-right:10px}
}
@media (min-width:900px){
  body>main:has(> .launch){display:flex;flex-direction:column}
  body.is-home>main>section.launch{display:flex;align-items:center;flex:1 0 auto;min-height:0;padding:40px 0}
  .nav a{white-space:nowrap}
  .desk-intro .eyebrow{white-space:nowrap;font-size:.7rem}
}
@media (min-width:900px) and (max-width:1079px){.nav{gap:0}.nav a{padding-left:8px;padding-right:8px;font-size:.9rem}.nav a[href="about.html"]{display:none}}

/* Settings sheet (gear) */
.set-sheet{position:fixed;z-index:90;top:64px;right:12px;width:min(320px,calc(100vw - 24px));background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:0 18px 50px rgba(20,10,60,.22);padding:8px}
.set-sheet[hidden]{display:none}
.set-head{display:flex;align-items:center;justify-content:space-between;padding:6px 8px 8px 12px;border-bottom:1px solid var(--line);margin-bottom:4px}
.set-head .icon-btn{width:36px;height:36px}
.set-sheet .dr-row{width:100%;border-radius:12px}
.set-sheet .dr-row[hidden]{display:none}
.set-l{display:flex;align-items:center;gap:12px}
.set-ic{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--surface-2);border:1px solid var(--line);font-size:.95rem;color:var(--ink-2)}
.set-ic svg{width:16px;height:16px}
.set-sheet .dr-install-help{padding:4px 12px 8px;font-size:.84rem;color:var(--ink-2);margin:0}
.dr-ext{margin-left:auto;color:var(--ink-3);font-size:.85rem}
.dr-grp[hidden],.dr-sub a[hidden]{display:none}

/* Mobile: tighter, calmer spacing for the home guide */
@media (max-width:600px){
  .is-home .launch{padding:10px 0 14px}
  .launch .guide{border-radius:18px}
  .guide-head{padding:10px 14px;gap:10px}
  .guide-head img{width:38px;height:38px}
  .guide-head b{font-size:1rem}.guide-head small{font-size:.76rem}
  .guide-log{padding:12px 14px;gap:8px}
  .gmsg{padding:9px 12px;font-size:.92rem;max-width:92%}
  .guide-chips{gap:10px 4px;padding:2px 10px 12px}
  .gapp{gap:5px;font-size:.76rem}
  .gicon{width:48px;height:48px;border-radius:14px}
  .gicon svg{width:21px;height:21px}
  .guide-form{padding:10px 12px;gap:8px}
  .guide-form input{min-height:44px}
  .guide-form .btn{min-height:44px;width:44px}
  .site-footer{padding:14px 0 12px;margin-top:4px}
}

/* Sitemap: compact grouped list */
.sm-hero{padding:18px 0 4px}.sm-hero h1{font-size:1.6rem;margin:0}.sm-hero .lead{margin:4px 0 0;font-size:.95rem}
.sm-sec{padding:10px 0 20px}
.sm-wrap{display:grid;gap:14px}
@media(min-width:760px){.sm-wrap{grid-template-columns:repeat(3,1fr);align-items:start}}
.smg h2{font-size:.74rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);margin:0 0 6px 4px}
.smg ul{list-style:none;margin:0;padding:0;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.smg li+li{border-top:1px solid var(--line)}
.smg a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:0 14px;text-decoration:none;color:var(--ink);font-size:.93rem;font-weight:500}
.smg a:hover{background:var(--surface-2)}
.smg a i{font-style:normal;color:var(--ink-3)}
/* Inner pages: calmer spacing on phones */
@media(max-width:600px){
  body.inner section{padding-top:22px;padding-bottom:22px}
  body.inner .hero{padding-top:18px;padding-bottom:10px}
  body.inner .hero h1{font-size:1.65rem}
  body.inner .card{padding:16px}
  body.inner .sm-sec{padding-top:8px}
}
/* Desktop home: no full-height stretching (phones in "desktop site" mode are very tall) */
@media (min-width:900px){
  body.is-home>main:has(> .launch){display:block}
  body.is-home>main>section.launch{display:block;min-height:0;padding:56px 0 64px}
  body.is-home>main{flex:0 0 auto}
}

/* MVP: Pihu only on home, mic inside Pihu, settings inside menu, slim footer */
.guide-head .mic-btn{margin-left:auto;width:40px;height:40px;border-radius:12px}
.guide-head .mic-btn svg{width:19px;height:19px}
.guide-head>span{flex:1;min-width:0}
@media (min-width:900px){
  .launch>.wrap{display:block;max-width:660px}
  body.is-home>main>section.launch{padding:40px 0 48px}
}
.dr-set{border-top:1px solid var(--line);margin-top:8px;padding:8px 0 16px}
.dr-set-h{font:700 .72rem var(--font);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);margin:6px 20px 4px}
.dr-set .dr-row{padding:9px 20px}
.dr-set .dr-row[hidden],.dr-set .dr-install-help[hidden]{display:none}
.dr-set .dr-install-help{padding:0 20px 8px;font-size:.84rem;color:var(--ink-2);margin:0}
.site-footer.slim{padding:10px 0;margin-top:0;border-top:1px solid var(--line);background:var(--surface)}
.foot-row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 16px}
.foot-row .soc-row{gap:4px;justify-content:center}
.foot-row .soc-row .soc{width:34px;height:34px}
.foot-row .copy{margin:0;font-size:.78rem;color:var(--ink-3)}
.foot-row .made-by{margin:0;font-size:.74rem}
@media (min-width:900px){
  .site-footer.slim{position:fixed;left:0;right:0;bottom:0;z-index:50}
  .foot-row{justify-content:space-between}
  body{padding-bottom:60px}
}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Final header: responsive logo + theme + menu */
.site-header .bar{min-height:64px;gap:8px}
.brand{flex:1 1 auto;min-width:0;display:flex;align-items:center}
.brand img.logo,.brand .logo-full{display:block;height:clamp(44px,13vw,56px)!important;max-height:none!important;width:auto!important;max-width:100%!important;object-fit:contain;object-position:left center;border-radius:0;background:none}
.brand .logo-d{display:none!important}
[data-theme="dark"] .brand .logo-l{display:none!important}[data-theme="dark"] .brand .logo-d{display:block!important}
.bar .icon-btn{width:42px;height:42px;border-radius:12px;flex:none}
.theme-btn{display:grid!important;place-items:center}
@media (max-width:380px){.bar .icon-btn{width:38px;height:38px}.brand img.logo,.brand .logo-full{height:44px!important}}
@media (min-width:900px){.site-header .bar{min-height:72px}.brand{flex:0 1 auto}.brand img.logo,.brand .logo-full{height:52px!important}}
/* Pihu: welcome text in the header, chat log only when there is a conversation */
.guide-head small{display:block;font-size:.84rem;line-height:1.35;color:var(--ink-2)}
.guide-log:empty{display:none}
.guide-chips{padding-top:14px}
.guide-head b{font-size:.98rem;line-height:1.2}
.guide-head small{font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Footer NKB logo: transparent, theme-aware */
.made-by img{background:none!important;border-radius:0!important;height:24px;width:auto}
.made-by .nkb-d{display:none}
[data-theme="dark"] .made-by .nkb-l{display:none}[data-theme="dark"] .made-by .nkb-d{display:inline-block}
/* Home: Pihu fills the first screen; footer starts below the fold */
@media (max-width:899px){
  body.is-home>main>section.launch{min-height:calc(100svh - 64px - 64px - env(safe-area-inset-bottom));padding:12px 0 16px}
}
.site-header .bar{min-height:60px}
/* Menu: compact settings row so the main sections stay visible */
.dr-set{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:10px 14px 14px;margin-top:4px}
.dr-set-h{grid-column:1/-1;margin:2px 4px 4px}
.dr-set .dr-row{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 2px!important;min-height:0;border-radius:12px;border:1px solid var(--line);background:var(--surface);font-size:.7rem;font-weight:600;text-align:center;line-height:1.15}
.dr-set .dr-row>span:last-child{display:none}
.dr-set .set-l{flex-direction:column;gap:4px}
.dr-set .set-ic{width:28px;height:28px;border-radius:9px}
.dr-set .dr-install-help{grid-column:1/-1}

/* ===== Home: institute content around Pihu ===== */
body.is-home>main>section.launch{min-height:0!important;padding:18px 0 28px!important;display:block!important}
.launch>.wrap{max-width:720px}
.hi-top{text-align:center;margin:4px auto 16px;max-width:620px}
.hi-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:.74rem;font-weight:650;color:var(--accent-text);background:var(--accent-soft);padding:6px 12px;border-radius:999px;margin-bottom:10px}
.hi-eyebrow i{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.2)}
.hi-top h1{font-size:clamp(1.6rem,6.4vw,2.6rem);line-height:1.12;margin:0 0 8px;letter-spacing:-.025em;background:linear-gradient(90deg,var(--ink) 30%,#7c3aed 70%,#db2777);-webkit-background-clip:text;background-clip:text;color:transparent}
[data-theme="dark"] .hi-top h1{background:linear-gradient(90deg,#fff 30%,#c4b5fd 70%,#f9a8d4);-webkit-background-clip:text;background-clip:text}
.hi-top p{margin:0 auto;color:var(--ink-2);font-size:clamp(.92rem,3.6vw,1.05rem);max-width:520px}
.hi-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:16px 0 14px}
.hi-stats div{text-align:center;padding:10px 4px;border-radius:14px;background:var(--surface);border:1px solid var(--line)}
.hi-stats b{display:block;font-size:clamp(1rem,4.6vw,1.35rem);background:linear-gradient(135deg,#7c3aed,#db2777);-webkit-background-clip:text;background-clip:text;color:transparent}
.hi-stats span{display:block;font-size:clamp(.62rem,2.6vw,.76rem);color:var(--ink-3);font-weight:600;line-height:1.2;margin-top:2px}
.hi-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hi-card{position:relative;display:flex;flex-direction:column;gap:4px;padding:14px;border-radius:18px;text-decoration:none;color:#fff;overflow:hidden;min-height:150px;box-shadow:0 10px 24px rgba(40,20,100,.14);transition:transform .15s}
.hi-card:hover{transform:translateY(-2px)}
.hi-card::after{content:"";position:absolute;right:-30px;top:-30px;width:110px;height:110px;border-radius:50%;background:rgba(255,255,255,.14)}
.hi-card .hi-ic{font-size:1.5rem;line-height:1}
.hi-card b{font-size:.98rem;line-height:1.2;margin-top:4px}
.hi-card span:not(.hi-ic){font-size:.78rem;opacity:.92;line-height:1.3}
.hi-card em{margin-top:auto;font-style:normal;font-weight:700;font-size:.8rem;padding-top:8px}
.hi-card.c1{background:linear-gradient(135deg,#2563eb,#7c3aed)}
.hi-card.c2{background:linear-gradient(135deg,#7c3aed,#db2777)}
.hi-card.c3{background:linear-gradient(135deg,#059669,#0891b2)}
.hi-card.c4{background:linear-gradient(135deg,#ea580c,#e11d48)}
@media (min-width:760px){.hi-cards{grid-template-columns:repeat(4,1fr)}.launch>.wrap{max-width:980px}.launch .guide{max-width:680px;margin:0 auto}.hi-stats{max-width:680px;margin:18px auto 16px}}
@media (min-width:900px){body.is-home>main>section.launch{padding:36px 0 44px!important}.hi-top{margin-bottom:22px}}
/* Pihu icons: soft colours instead of grey */
.guide-chips .gapp:nth-child(1) .gicon{background:#eef2ff;color:#4338ca;border-color:#e0e7ff}
.guide-chips .gapp:nth-child(2) .gicon{background:#ecfdf5;color:#047857;border-color:#d1fae5}
.guide-chips .gapp:nth-child(3) .gicon{background:#fef2f2;color:#dc2626;border-color:#fee2e2}
.guide-chips .gapp:nth-child(4) .gicon{background:#fff7ed;color:#c2410c;border-color:#ffedd5}
.guide-chips .gapp:nth-child(5) .gicon{background:#f5f3ff;color:#6d28d9;border-color:#ede9fe}
.guide-chips .gapp:nth-child(6) .gicon{background:#ecfeff;color:#0e7490;border-color:#cffafe}
[data-theme="dark"] .guide-chips .gapp .gicon{background:var(--surface-2);border-color:var(--line)}
[data-theme="dark"] .guide-chips .gapp:nth-child(1) .gicon{color:#a5b4fc}[data-theme="dark"] .guide-chips .gapp:nth-child(2) .gicon{color:#6ee7b7}
[data-theme="dark"] .guide-chips .gapp:nth-child(3) .gicon{color:#fca5a5}[data-theme="dark"] .guide-chips .gapp:nth-child(4) .gicon{color:#fdba74}
[data-theme="dark"] .guide-chips .gapp:nth-child(5) .gicon{color:#c4b5fd}[data-theme="dark"] .guide-chips .gapp:nth-child(6) .gicon{color:#67e8f9}
.dr-set-h small{font-weight:500;letter-spacing:0;text-transform:none;margin-left:6px;opacity:.8}
/* Small phones: let Pihu's line wrap instead of cutting it */
@media (max-width:359px){.guide-head small{white-space:normal}}
/* Big screens: scale everything up a little so it doesn't look tiny */
@media (min-width:1600px){html{font-size:17.5px}.wrap{max-width:1280px}.launch>.wrap{max-width:1100px}.launch .guide,.hi-stats{max-width:760px}}
@media (min-width:2200px){html{font-size:20px}.wrap{max-width:1500px}.launch>.wrap{max-width:1280px}.launch .guide,.hi-stats{max-width:860px}}

/* ================= WOW layer (home) ================= */
body.is-home>main>section.launch{position:relative;isolation:isolate;overflow:hidden}
/* soft moving aurora behind the hero */
body.is-home .launch::before{content:"";position:absolute;inset:-20% -10% auto;height:620px;z-index:-2;pointer-events:none;
  background:radial-gradient(40% 50% at 20% 30%,rgba(124,58,237,.22),transparent 70%),radial-gradient(35% 45% at 80% 20%,rgba(219,39,119,.16),transparent 70%),radial-gradient(40% 50% at 55% 75%,rgba(37,99,235,.14),transparent 70%);
  filter:blur(10px);animation:aurora 18s ease-in-out infinite alternate}
/* faint dotted grid */
body.is-home .launch::after{content:"";position:absolute;inset:0 0 auto;height:560px;z-index:-1;pointer-events:none;opacity:.5;
  background-image:radial-gradient(rgba(109,40,217,.18) 1px,transparent 1.2px);background-size:22px 22px;
  -webkit-mask-image:radial-gradient(70% 60% at 50% 30%,#000 30%,transparent 75%);mask-image:radial-gradient(70% 60% at 50% 30%,#000 30%,transparent 75%)}
[data-theme="dark"] body.is-home .launch::after,[data-theme="dark"].is-home .launch::after{opacity:.35}
@keyframes aurora{0%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(3%,2%,0) scale(1.06)}100%{transform:translate3d(-3%,-1%,0) scale(1.02)}}
/* headline shimmer */
.hi-top h1{background-size:200% auto;animation:sheen 8s linear infinite}
@keyframes sheen{to{background-position:200% center}}
/* glass Pihu card with glowing gradient border */
.launch .guide{position:relative;background:color-mix(in srgb,var(--surface) 82%,transparent);backdrop-filter:blur(14px) saturate(1.3);-webkit-backdrop-filter:blur(14px) saturate(1.3);border-color:transparent;box-shadow:0 20px 60px rgba(76,29,149,.16),0 2px 6px rgba(76,29,149,.06)}
.launch .guide::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;pointer-events:none;
  background:linear-gradient(135deg,rgba(124,58,237,.55),rgba(219,39,119,.35),rgba(37,99,235,.45));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
/* Pihu avatar: living ring */
.guide-head img{position:relative;box-shadow:none!important;padding:2px;background:conic-gradient(from 0deg,#7c3aed,#db2777,#2563eb,#7c3aed);animation:spin 6s linear infinite}
.guide-head img{animation:none}
.guide-head{position:relative}
.guide-head::before{content:"";position:absolute;left:12px;top:50%;width:46px;height:46px;margin-top:-23px;border-radius:50%;background:conic-gradient(from 0deg,#7c3aed,#db2777,#2563eb,#7c3aed);animation:spin 5s linear infinite;opacity:.9}
@media (max-width:600px){.guide-head::before{left:12px;width:42px;height:42px;margin-top:-21px}}
.guide-head img{position:relative;z-index:1;border:2px solid var(--surface);background:var(--surface);padding:0}
@keyframes spin{to{transform:rotate(360deg)}}
/* send button glow */
.guide-form .btn{background:linear-gradient(135deg,#7c3aed,#db2777);border:0;box-shadow:0 6px 18px rgba(124,58,237,.35)}
/* Pihu icons lift */
.gapp .gicon{transition:transform .2s,box-shadow .2s}
.gapp:hover .gicon{transform:translateY(-3px);box-shadow:0 8px 18px rgba(76,29,149,.14)}
/* stats glass */
.hi-stats div{background:color-mix(in srgb,var(--surface) 80%,transparent);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
/* gradient cards: spotlight + shine */
.hi-card{--x:50%;--y:50%;transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s}
.hi-card::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .25s;background:radial-gradient(220px circle at var(--x) var(--y),rgba(255,255,255,.28),transparent 60%)}
.hi-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(40,20,100,.25)}
.hi-card:hover::before{opacity:1}
.hi-card .hi-ic{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.2);backdrop-filter:blur(4px);font-size:1.25rem}
.hi-card em{display:inline-flex;align-items:center;gap:4px;transition:gap .2s}.hi-card:hover em{gap:8px}
/* entrance */
.js .hi-top,.js .launch .guide,.js .hi-stats,.js .hi-card{opacity:0;transform:translateY(14px);animation:rise .7s cubic-bezier(.2,.8,.2,1) forwards}
.js .launch .guide{animation-delay:.12s}.js .hi-stats{animation-delay:.24s}
.js .hi-card:nth-child(1){animation-delay:.32s}.js .hi-card:nth-child(2){animation-delay:.4s}.js .hi-card:nth-child(3){animation-delay:.48s}.js .hi-card:nth-child(4){animation-delay:.56s}
@keyframes rise{to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){body.is-home .launch::before,.hi-top h1,.guide-head::before{animation:none!important}.js .hi-top,.js .launch .guide,.js .hi-stats,.js .hi-card{opacity:1!important;transform:none!important;animation:none!important}}

/* ===== Footer v3: tiny silver glass icons, one line ===== */
.site-footer.slim{padding:8px 0;background:var(--bg)}
.foot-row{gap:6px 14px;min-height:40px}
.soc-row.glass{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.soc-row.glass .soc{display:grid;place-items:center;width:28px!important;height:28px!important;border-radius:50%;color:#5b6172;text-decoration:none;
  background:linear-gradient(145deg,#ffffff 0%,#eef0f4 45%,#d6dae2 100%);border:1px solid rgba(20,20,40,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 1px 2px rgba(20,20,40,.10);transition:transform .15s,color .15s,box-shadow .15s}
.soc-row.glass .soc svg{width:13px!important;height:13px!important}
.soc-row.glass .soc em{display:none}
.soc-row.glass .soc:hover,.soc-row.glass .soc:focus-visible{transform:translateY(-1px);color:var(--accent-text);box-shadow:inset 0 1px 0 #fff,0 3px 8px rgba(76,29,149,.18)}
[data-theme="dark"] .soc-row.glass .soc{color:#c9cfdd;background:linear-gradient(145deg,#3a4458 0%,#252e42 55%,#1a2234 100%);border-color:rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 1px 2px rgba(0,0,0,.4)}
[data-theme="dark"] .soc-row.glass .soc:hover{color:#fff}
.foot-row .copy{font-size:.74rem;color:var(--ink-3);margin:0}
.foot-row .copy a{color:var(--ink-3);text-decoration:none}.foot-row .copy a:hover{color:var(--accent-text);text-decoration:underline}
@media (min-width:900px){body{padding-bottom:48px}.site-footer.slim{padding:6px 0}}
/* Old website links table */
.lg-card{padding:0;overflow-x:auto}
.lg{width:100%;border-collapse:collapse;font-size:.86rem}
.lg th,.lg td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.lg th{font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:var(--ink-3);background:var(--surface-2)}
.lg tr:last-child td{border-bottom:0}.lg code{font-size:.8rem;white-space:nowrap}
.ok-b{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--ok-soft,#d1fae5);color:var(--ok);font-weight:700;font-size:.74rem;white-space:nowrap}
@media (max-width:640px){.lg thead{display:none}.lg tr{display:block;padding:10px 12px;border-bottom:1px solid var(--line)}.lg td{display:block;border:0;padding:2px 0}}
/* force silver glass over brand colours */
.soc-row.glass a.soc{background:linear-gradient(145deg,#ffffff 0%,#eef0f4 45%,#d6dae2 100%)!important;color:#5b6172!important;border:1px solid rgba(20,20,40,.08)!important}
.soc-row.glass a.soc svg,.soc-row.glass a.soc svg *{fill:currentColor}
.soc-row.glass a.soc:hover{color:var(--accent-text)!important}
[data-theme="dark"] .soc-row.glass a.soc{background:linear-gradient(145deg,#3a4458 0%,#252e42 55%,#1a2234 100%)!important;color:#c9cfdd!important;border-color:rgba(255,255,255,.08)!important}
[data-theme="dark"] .soc-row.glass a.soc:hover{color:#fff!important}
[data-theme="dark"] .ok-b{background:#064e3b;color:#a7f3d0}
/* v20 — #10MinuteKiSeva band on home */
.seva-band{padding:28px 0 8px}
.seva-in{display:grid;gap:16px;padding:22px;border-radius:24px;color:#fff;background:radial-gradient(120% 140% at 100% 0%,#f59e0b 0%,rgba(245,158,11,0) 45%),linear-gradient(135deg,#0c4a6e 0%,#0e7490 45%,#155e75 100%);box-shadow:0 18px 40px -18px rgba(14,116,144,.55);position:relative;overflow:hidden}
.seva-in::after{content:"";position:absolute;left:-10%;right:-10%;bottom:-40px;height:90px;background:repeating-radial-gradient(ellipse at 50% 0,rgba(255,255,255,.14) 0 2px,transparent 3px 18px);opacity:.6;pointer-events:none}
.seva-txt{position:relative;z-index:1}
.seva-tag{display:inline-block;font-weight:700;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3)}
.seva-in h2{color:#fff;margin:12px 0 4px;font-size:clamp(1.6rem,5vw,2.4rem);line-height:1.1}
.seva-hi{font-size:1.05rem;font-weight:600;color:#fde68a;margin:0 0 8px}
.seva-in p{color:rgba(255,255,255,.92)}
.seva-pills{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:12px 0 4px}
.seva-pills li{padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);font-weight:600;font-size:.88rem}
.seva-in .btn-primary{background:#fbbf24;color:#3b2300;border-color:#fbbf24}
.seva-in .btn-ghost{color:#fff;border-color:rgba(255,255,255,.5);background:transparent}
.seva-guru{position:relative;z-index:1;display:flex;flex-direction:column;gap:6px;justify-content:center;padding:18px;border-radius:18px;text-decoration:none;color:#3b2300;background:linear-gradient(160deg,#fff7e6,#fde68a);box-shadow:0 10px 30px -12px rgba(0,0,0,.4)}
.seva-guru .sg-k{font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#b45309}
.seva-guru b{font-size:1.15rem;line-height:1.25}.seva-guru span{font-size:.92rem}
.seva-guru em{font-style:normal;font-weight:700;margin-top:6px;color:#9a3412}
@media(min-width:860px){.seva-in{grid-template-columns:1.6fr 1fr;padding:32px;align-items:center}}
.pillars{padding-top:20px}
/* v21 — language menu + #10MinuteKiSeva top banner */
.lang-wrap{position:relative;flex:none}
.icon-btn.lang-btn{width:auto;min-width:44px;padding:0 9px;display:inline-flex;gap:5px;align-items:center;font:700 .78rem var(--font);letter-spacing:.03em}
.lang-btn svg{width:17px;height:17px}
.lang-menu{position:absolute;right:0;top:52px;z-index:80;width:236px;max-height:70vh;overflow:auto;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:16px;box-shadow:0 20px 50px rgba(2,6,23,.25);padding:6px}
.lang-menu[hidden]{display:none}
.lang-h{margin:6px 10px;font-size:.7rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-3)}
.lang-menu button{display:flex;width:100%;align-items:center;justify-content:space-between;min-height:44px;padding:0 12px;border:0;border-radius:10px;background:none;color:var(--ink);font:600 .95rem var(--font);cursor:pointer;text-align:left}
.lang-menu button small{font-size:.72rem;color:var(--ink-3);font-weight:700}
.lang-menu button:hover,.lang-menu button[aria-checked=true]{background:var(--accent-soft);color:var(--accent-text)}
.lang-note{margin:6px 10px 8px;font-size:.74rem;color:var(--ink-3);line-height:1.4}
@media(max-width:400px){.icon-btn.lang-btn b{display:none}.icon-btn.lang-btn{padding:0;width:44px;justify-content:center}}
.seva-top{background:linear-gradient(90deg,#0c4a6e,#0e7490 55%,#b45309);color:#fff;font-size:.86rem}
.seva-top[hidden]{display:none}
.st-in{display:flex;align-items:center;gap:8px;min-height:38px}
.st-in a{flex:1;min-width:0;color:#fff;text-decoration:none;display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:6px 0}
.st-in a b{font-weight:800}.st-msg{opacity:.95}
.st-go{font-weight:800;color:#fde68a;margin-left:auto;white-space:nowrap}
.st-x{flex:none;width:32px;height:32px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;cursor:pointer;font-size:.8rem}
@media(max-width:520px){.st-msg{display:none}}
.hi-local{margin:8px auto 0;display:inline-flex;gap:6px;align-items:center;font-size:.78rem;line-height:1.35;color:var(--ink-2);background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:5px 12px;max-width:100%;text-align:left}
.hi-local[hidden]{display:none}
html[lang=hi] .seva-hi,html[lang=ne] .seva-hi{display:none}
.hi-top p.hi-local{font-size:.8rem!important;line-height:1.35!important;margin:8px auto 0!important;padding:5px 12px!important;color:var(--ink-2)}
/* v22 — journey timeline, ecosystem map, referral */
.tl{list-style:none;margin:0;padding:0 0 0 18px;border-left:2px solid var(--accent-soft);display:grid;gap:14px}
.tl li{position:relative;display:grid;gap:2px}
.tl li::before{content:"";position:absolute;left:-25px;top:6px;width:12px;height:12px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
.tl b{font-size:.95rem;color:var(--accent-text)}.tl span{color:var(--ink-2)}
.eco{display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
.eco-c{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border-radius:16px;border:1px solid var(--line);background:var(--surface);color:var(--ink);text-decoration:none;position:relative}
a.eco-c:hover{border-color:var(--accent)}
.eco-k{font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.eco-c b{font-size:1rem;line-height:1.3}.eco-c small{color:var(--ink-2)}
.eco-c .st{font-style:normal;font-size:.72rem;font-weight:800;align-self:flex-start;margin-top:6px;padding:3px 9px;border-radius:999px;background:var(--surface-2);color:var(--ink-2)}
.eco-c .st.on{background:#dcfce7;color:#166534}.eco-c .st.soon{background:#fef3c7;color:#92400e}
[data-theme=dark] .eco-c .st.on{background:#14532d;color:#bbf7d0}[data-theme=dark] .eco-c .st.soon{background:#422006;color:#fde68a}
.home-strip{display:grid;gap:12px;margin-top:16px}@media(min-width:760px){.home-strip{grid-template-columns:1fr 1fr}}
.hs-c{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border-radius:18px;text-decoration:none;color:var(--ink);background:var(--surface);border:1px solid var(--line)}
.hs-c b{font-size:1.05rem}.hs-c span{color:var(--ink-2)}.hs-c em{font-style:normal;font-weight:700;color:var(--accent-text);margin-top:4px}
.hs-ref{background:linear-gradient(135deg,#7c3aed,#db2777,#ea580c);border:0;color:#fff}.hs-ref span,.hs-ref em{color:#fff}
.ref-card{display:grid;gap:10px;margin-top:18px}.ref-card input{width:100%}
.ref-out{display:grid;gap:8px;margin-top:6px}.ref-out p{margin:4px 0 0}
.ref-link{display:flex;gap:8px;align-items:center}.ref-link code{flex:1;min-width:0;overflow:auto;white-space:nowrap;padding:10px 12px;border-radius:10px;background:var(--surface-2);font-size:.82rem}
.ref-msg{font-weight:600;color:var(--accent-text)}
/* v23 — soft Seva banner under the menu (home), YouTube card, Guruji section */
.seva-hero{display:flex;align-items:center;gap:10px;margin:12px 0 0;padding:10px 12px;border-radius:16px;color:#fff;background:linear-gradient(110deg,#0c4a6e,#0e7490 60%,#b45309);box-shadow:0 10px 24px -14px rgba(14,116,144,.7)}
.seva-hero[hidden]{display:none}
.sh-ic{font-size:1.4rem;line-height:1}
.sh-tx{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}.sh-tx b{font-size:.92rem}.sh-tx span{font-size:.8rem;opacity:.92}
.sh-act{display:flex;gap:6px;flex:none}
.sh-yt,.sh-join{display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:0 11px;border-radius:999px;font-weight:700;font-size:.8rem;text-decoration:none}
.sh-yt{background:#fff;color:#c00}.sh-yt svg{width:16px;height:16px}
.sh-join{background:#fbbf24;color:#3b2300}
.sh-x{flex:none;width:30px;height:30px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;cursor:pointer;font-size:.75rem}
@media(max-width:400px){.sh-yt span{display:none}.sh-yt{padding:0 9px}}
.seva-yt{position:relative;z-index:1;display:flex;flex-direction:column;gap:6px;justify-content:center;padding:18px;border-radius:18px;text-decoration:none;color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.3)}
.seva-yt .sy-k{font-size:.75rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#fde68a}
.seva-yt b{font-size:1.15rem;line-height:1.25}.seva-yt em{font-style:normal;font-weight:700;margin-top:6px;color:#fde68a}
.gurus{padding-top:14px}
.guru-card{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:18px;text-decoration:none;color:#3b2300;background:linear-gradient(160deg,#fff7e6,#fde68a);box-shadow:0 10px 30px -16px rgba(180,83,9,.5);flex-wrap:wrap}
.gc-av{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-size:1.6rem;background:#fff;flex:none}
.gc-tx{flex:1;min-width:200px;display:flex;flex-direction:column}.gc-tx b{font-size:1.08rem}.gc-tx span{font-size:.92rem}
.guru-card em{font-style:normal;font-weight:700;color:#9a3412}
/* v24 — promotion line inside the header (transparent, one line) */
.promo-line{border-top:1px solid var(--line);background:transparent}
.promo-line[hidden]{display:none}
.promo-line .wrap{display:flex;align-items:center;gap:10px;min-height:32px}
.pl-a{flex:1;min-width:0;display:flex;align-items:center;gap:6px;text-decoration:none;color:var(--ink-2);font-size:.8rem;font-weight:600;transition:opacity .25s}
.pl-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:linear-gradient(90deg,#0e7490,#7c3aed,#db2777);-webkit-background-clip:text;background-clip:text;color:transparent}
[data-theme=dark] .pl-t{background:linear-gradient(90deg,#67e8f9,#c4b5fd,#f9a8d4);-webkit-background-clip:text;background-clip:text}
.pl-go{color:var(--accent-text);font-weight:800}
.pl-a:hover .pl-t{text-decoration:underline}
.pl-fade .pl-a{opacity:0}
.pl-dots{display:flex;gap:4px;flex:none}.pl-dots i{width:5px;height:5px;border-radius:50%;background:var(--line)}.pl-dots i.on{background:var(--accent)}
/* v25 — home promo banner (roll-up style slides) */
.promo-car{margin:12px 0 0;padding:0!important;position:relative}
.promo-car[hidden]{display:none}
.pc-track{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:22px;-webkit-overflow-scrolling:touch}
.pc-track::-webkit-scrollbar{display:none}
.pc-s{position:relative;flex:0 0 100%;scroll-snap-align:start;min-height:170px;padding:16px 130px 16px 18px;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;gap:6px;color:#fff;text-decoration:none;overflow:hidden;isolation:isolate}
.pc-s::before{content:"";position:absolute;inset:auto -20% -60% 35%;height:150%;transform:rotate(-18deg);background:rgba(255,255,255,.13);z-index:-1}
.pc-s::after{content:"";position:absolute;left:-10%;right:-10%;bottom:-18px;height:46px;transform:rotate(-4deg);background:rgba(0,0,0,.18);z-index:-1}
.pc-c1{background:linear-gradient(120deg,#5b21b6,#a21caf 55%,#db2777)}
.pc-c2{background:linear-gradient(120deg,#9a3412,#ea580c 55%,#f59e0b)}
.pc-c3{background:linear-gradient(120deg,#0c4a6e,#0e7490 60%,#b45309)}
.pc-c4{background:linear-gradient(120deg,#be185d,#db2777 55%,#f97316)}
.pc-c5{background:linear-gradient(120deg,#1e3a8a,#2563eb 55%,#7c3aed)}
.pc-rib{font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:4px 10px;background:#fde047;color:#3b0764;clip-path:polygon(0 0,100% 0,94% 50%,100% 100%,0 100%);padding-right:16px}
.pc-h{font-size:1.32rem;line-height:1.15;font-weight:800;text-shadow:0 2px 10px rgba(0,0,0,.25);max-width:15ch}
.pc-l{font-size:.84rem;opacity:.95;max-width:26ch}
.pc-btn{font-style:normal;margin-top:4px;font-weight:800;font-size:.84rem;padding:8px 14px;border-radius:999px;background:#fff;color:#111827;box-shadow:0 6px 16px -6px rgba(0,0,0,.4)}
.pc-badge{position:absolute;right:14px;top:12px;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;text-align:center;font-weight:900;font-size:.95rem;line-height:1;color:#7f1d1d;background:radial-gradient(circle,#fef08a 55%,#facc15 56%);box-shadow:0 0 0 4px rgba(255,255,255,.35),0 8px 18px -6px rgba(0,0,0,.5);transform:rotate(-12deg);z-index:2}
.pc-img{position:absolute;right:8px;bottom:-6px;width:118px;height:118px;border-radius:50%;object-fit:cover;border:4px solid rgba(255,255,255,.55);box-shadow:0 10px 24px -8px rgba(0,0,0,.5)}
.pc-dots{display:flex;justify-content:center;gap:6px;margin-top:8px}
.pc-dots button{width:8px;height:8px;padding:0;border:0;border-radius:99px;background:var(--line);cursor:pointer}
.pc-dots button[aria-current=true]{width:22px;background:var(--accent)}
@media(min-width:760px){.pc-s{min-height:200px;padding:24px 210px 24px 28px}.pc-h{font-size:1.9rem;max-width:20ch}.pc-l{font-size:.95rem;max-width:40ch}.pc-img{width:170px;height:170px;right:22px}.pc-badge{right:180px;top:18px;width:74px;height:74px}}
/* v26 — full-bleed banner behind a see-through top bar, with News & events strip */
.is-home .promo-car{margin:0!important}
.has-hero .promo-car{margin-top:calc(-1 * var(--hh,62px))!important}
.has-hero .pc-track{border-radius:0 0 26px 26px}
.has-hero .pc-s{min-height:calc(var(--hh,62px) + 250px);padding-top:calc(var(--hh,62px) + 54px)}
@media(min-width:760px){.has-hero .pc-s{min-height:calc(var(--hh,62px) + 290px);padding-left:max(28px,calc((100vw - 1180px)/2 + 28px))}}
.pc-dots{position:absolute;left:0;right:0;bottom:12px;margin:0;z-index:3}
.pc-dots button{background:rgba(255,255,255,.55)}.pc-dots button[aria-current=true]{background:#fff}
.pc-s{padding-bottom:40px}
.pc-logo{object-fit:contain;background:rgba(255,255,255,.92);padding:12px;box-sizing:border-box}
/* news strip */
.pc-news{position:absolute;left:0;right:0;top:var(--hh,62px);z-index:4;display:flex;align-items:center;gap:8px;padding:7px max(14px,calc((100vw - 1180px)/2 + 14px));background:rgba(0,0,0,.22);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#fff;font-size:.8rem}
.pc-news[hidden]{display:none}
.pn-k{flex:none;font-weight:800;font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;padding:3px 8px;border-radius:6px;background:#fde047;color:#3b0764}
.pn-k.ev{background:#22d3ee;color:#083344}
.pn-a{flex:1;min-width:0;display:flex;gap:6px;color:#fff;text-decoration:none;transition:opacity .25s}
.pn-d{flex:none;opacity:.8;font-weight:700}.pn-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.pn-fade .pn-a{opacity:0}
/* see-through header while over the banner */
.hero-top .site-header{background:transparent;border-bottom-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.hero-top .site-header .brand .logo-l{display:none!important}
.hero-top .site-header .brand .logo-d,.hero-top .site-header .brand .logo-d.logo-full{display:block!important}
.hero-top .site-header .nav a{color:rgba(255,255,255,.92)}
.hero-top .site-header .nav a[aria-current=page]{background:rgba(255,255,255,.18);color:#fff}
.hero-top .site-header .icon-btn{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.35);color:#fff}
.site-header{transition:background .25s,border-color .25s}
.has-hero .pc-badge{top:calc(var(--hh,62px) + 46px)}
.has-hero .pc-s{padding-right:150px}
@media(min-width:760px){.has-hero .pc-img{right:max(22px,calc((100vw - 1180px)/2 + 22px));bottom:24px}.has-hero .pc-badge{right:max(200px,calc((100vw - 1180px)/2 + 200px));top:calc(var(--hh,62px) + 60px)}.has-hero .pc-s{padding-right:max(230px,calc((100vw - 1180px)/2 + 230px))}}
/* v27 compact, flat-bottom hero (Apple-style) */
.has-hero .pc-track{border-radius:0!important}
.has-hero .pc-s{min-height:calc(var(--hh,62px) + 186px);padding-top:calc(var(--hh,62px) + 46px);padding-bottom:30px;gap:4px}
.has-hero .pc-h{font-size:1.12rem;max-width:17ch;letter-spacing:-.01em}
.has-hero .pc-l{font-size:.8rem;opacity:.9}
.has-hero .pc-btn{font-size:.78rem;padding:7px 13px;margin-top:6px}
.has-hero .pc-img{width:92px;height:92px;bottom:18px;right:12px;border-width:3px}
.has-hero .pc-badge{width:50px;height:50px;font-size:.78rem;top:calc(var(--hh,62px) + 44px);right:12px}
.has-hero .pc-s{padding-right:120px}
.has-hero .pc-dots{bottom:10px}
.has-hero .pc-dots button{width:6px;height:6px}.has-hero .pc-dots button[aria-current=true]{width:18px}
@media(min-width:760px){.has-hero .pc-s{min-height:calc(var(--hh,62px) + 230px);padding-top:calc(var(--hh,62px) + 58px)}.has-hero .pc-h{font-size:1.7rem;max-width:22ch}.has-hero .pc-l{font-size:.92rem}.has-hero .pc-img{width:140px;height:140px;bottom:22px}.has-hero .pc-badge{width:64px;height:64px;font-size:.9rem;top:calc(var(--hh,62px) + 52px)}}
@media(min-width:760px){.has-hero .pc-img{right:max(22px,calc((100vw - 1180px)/2 + 22px))}.has-hero .pc-badge{right:max(176px,calc((100vw - 1180px)/2 + 176px))}.has-hero .pc-s{padding-right:max(230px,calc((100vw - 1180px)/2 + 230px))}}
/* v28 solid sticky header, compact flat banner below it, news as its own section */
.hero-top .site-header{background:color-mix(in srgb,var(--bg) 88%,transparent)!important;border-bottom-color:var(--line)!important}
.has-hero .promo-car{margin-top:0!important}
.has-hero .pc-s{min-height:178px;padding-top:20px;padding-bottom:30px}
.has-hero .pc-badge{top:14px}
@media(min-width:760px){.has-hero .pc-s{min-height:220px;padding-top:30px}.has-hero .pc-badge{top:22px}}
.news-sec{padding:28px 0 8px!important}
.news-sec[hidden]{display:none}
.ns-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:12px}
.ns-head h2{margin:0;font-size:1.25rem;letter-spacing:-.01em}
.ns-sub{color:var(--muted);font-size:.82rem}
.ns-list{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:16px;background:var(--card,var(--bg));overflow:hidden}
.ns-list li+li{border-top:1px solid var(--line)}
.ns-i{display:flex;align-items:center;gap:12px;padding:13px 14px;color:inherit;text-decoration:none}
a.ns-i:hover{background:color-mix(in srgb,var(--accent) 6%,transparent)}
.ns-k{flex:none;font-weight:800;font-size:.62rem;letter-spacing:.08em;text-transform:uppercase;padding:4px 7px;border-radius:6px;background:#fef3c7;color:#92400e}
.ns-k.ev{background:#cffafe;color:#155e75}
.ns-b{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ns-t{font-weight:600;font-size:.92rem;line-height:1.35}
.ns-d{color:var(--muted);font-size:.76rem}
.ns-go{flex:none;color:var(--muted);font-size:1.3rem;line-height:1}
@media(min-width:760px){.ns-head h2{font-size:1.5rem}}
.news-sec{scroll-margin-top:80px}
/* v29 see-through top bar over the banner → solid + fixed on scroll; quick links row */
.has-hero .promo-car{margin-top:calc(-1 * var(--hh,62px))!important}
.has-hero .pc-s{min-height:calc(var(--hh,62px) + 178px);padding-top:calc(var(--hh,62px) + 18px)}
.has-hero .pc-badge{top:calc(var(--hh,62px) + 14px)}
@media(min-width:760px){.has-hero .pc-s{min-height:calc(var(--hh,62px) + 220px);padding-top:calc(var(--hh,62px) + 30px)}.has-hero .pc-badge{top:calc(var(--hh,62px) + 22px)}}
.site-header{transition:background .3s,border-color .3s,box-shadow .3s}
body.hero-top .site-header{background:transparent!important;border-bottom-color:transparent!important;box-shadow:none}
body.has-hero:not(.hero-top) .site-header{box-shadow:0 6px 20px -14px rgba(30,10,80,.35)}
.quick{padding:12px 0 2px}
.q-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:4px}
.q-row::-webkit-scrollbar{display:none}
.q{flex:none;display:inline-flex;align-items:center;gap:6px;padding:8px 13px;border-radius:999px;border:1px solid var(--line);background:var(--card,var(--bg));color:var(--ink,inherit);font-size:.84rem;font-weight:600;text-decoration:none;white-space:nowrap}
.q:first-child{background:var(--accent);border-color:var(--accent);color:#fff}
.q:hover{border-color:var(--accent)}
@media(min-width:760px){.q-row{justify-content:center;flex-wrap:wrap}}
.foot-links{margin:0;font-size:.82rem;color:var(--muted)}.foot-links a{color:inherit}
