/* ==========================================================================
   TaskHub — front-end styles
   Mobile-first. System font stack on purpose: it renders instantly inside a
   WebView and matches the host device, which is what makes it feel native.
   ========================================================================== */

:root{
  --bg:#070B16;
  --bg-2:#0A1020;
  --surface:#111A31;
  --surface-2:#16203C;
  --line:rgba(255,255,255,.07);
  --line-2:rgba(255,255,255,.12);
  --txt:#E9EEF9;
  --txt-2:#A9B6D0;
  --txt-3:#748099;
  --blue:#3B82F6;
  --blue-2:#60A5FA;
  --blue-3:#2563EB;
  --our:#22C55E;
  --third:#F59E0B;
  --danger:#F43F5E;
  --radius:18px;
  --radius-sm:12px;
  --nav-h:64px;
  --safe-b:env(safe-area-inset-bottom,0px);
  --shadow:0 18px 40px rgba(0,0,0,.45);
  --glow:0 8px 30px rgba(59,130,246,.35);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--txt);
  font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  overscroll-behavior-y:none;
  padding-bottom:calc(var(--nav-h) + var(--safe-b) + 8px);
}
body::before{
  content:"";position:fixed;inset:0 0 auto;height:420px;pointer-events:none;z-index:0;
  background:radial-gradient(900px 420px at 50% -140px,rgba(59,130,246,.22),transparent 70%);
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
button{font:inherit;-webkit-tap-highlight-color:transparent}
h1,h2,h3,h4{margin:0;letter-spacing:-.022em;line-height:1.22}
p{margin:0 0 12px}
:focus-visible{outline:2px solid var(--blue-2);outline-offset:2px;border-radius:6px}

.wrap{width:100%;max-width:1180px;margin:0 auto;padding:0 16px;position:relative;z-index:1}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ------------------------------------------------------------- app bar -- */
.appbar{
  position:sticky;top:0;z-index:40;
  background:rgba(7,11,22,.82);
  backdrop-filter:saturate(160%) blur(14px);
  -webkit-backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid var(--line);
}
.appbar__in{display:flex;align-items:center;gap:12px;height:58px}
.logo{display:flex;align-items:center;gap:9px;font-weight:800;font-size:17px;letter-spacing:-.03em}
.logo__mark{
  width:30px;height:30px;border-radius:10px;flex:none;display:grid;place-items:center;
  background:linear-gradient(145deg,#60A5FA,#1D4ED8);box-shadow:var(--glow);
}
.logo__mark svg{width:16px;height:16px;fill:#fff}
.appbar__sp{flex:1}
.iconbtn{
  width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex:none;
  background:var(--surface);border:1px solid var(--line);color:var(--txt-2);cursor:pointer;
}
.iconbtn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.iconbtn--on{color:var(--blue-2);border-color:rgba(59,130,246,.4)}

.topnav{display:none}

/* ------------------------------------------------------------ bottom nav */
.bottomnav{
  position:fixed;left:0;right:0;bottom:0;z-index:50;
  height:calc(var(--nav-h) + var(--safe-b));
  padding-bottom:var(--safe-b);
  display:grid;grid-template-columns:repeat(5,1fr);
  background:rgba(10,16,32,.94);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border-top:1px solid var(--line);
}
.bottomnav a{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  color:var(--txt-3);font-size:10.5px;font-weight:600;letter-spacing:.01em;position:relative;
}
.bottomnav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.bottomnav a.on{color:var(--blue-2)}
.bottomnav a.on::before{
  content:"";position:absolute;top:0;width:26px;height:3px;border-radius:0 0 4px 4px;
  background:var(--blue);box-shadow:0 0 12px var(--blue);
}

/* ---------------------------------------------------------------- blocks */
.sec{margin:26px 0}
.sec__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;gap:12px}
.sec__head h2{font-size:17.5px;font-weight:750}
.sec__head a{color:var(--blue-2);font-size:13px;font-weight:600;display:flex;align-items:center;gap:3px}
.eyebrow{font-size:11.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--txt-3)}

/* ------------------------------------------------------------------ hero */
.hero{
  margin-top:16px;padding:22px 20px 20px;border-radius:24px;position:relative;overflow:hidden;
  background:linear-gradient(150deg,#2563EB 0%,#1D4ED8 45%,#1E3A8A 100%);
  box-shadow:0 22px 50px rgba(29,78,216,.42);
}
.hero::after{
  content:"";position:absolute;right:-60px;top:-70px;width:230px;height:230px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.22),transparent 65%);
}
.hero h1{font-size:26px;font-weight:800;line-height:1.18;max-width:15ch;position:relative}
.hero p{color:rgba(255,255,255,.85);font-size:14px;margin:9px 0 16px;max-width:44ch;position:relative}
.hero__cta{display:flex;gap:10px;flex-wrap:wrap;position:relative}

.searchbar{position:relative;margin-top:14px}
.searchbar input{
  width:100%;height:50px;border-radius:15px;border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.12);color:#fff;padding:0 50px 0 44px;font-size:15px;
  -webkit-appearance:none;backdrop-filter:blur(6px);
}
.searchbar input::placeholder{color:rgba(255,255,255,.7)}
.searchbar input:focus{outline:none;border-color:rgba(255,255,255,.5);background:rgba(255,255,255,.18)}
.searchbar__i{position:absolute;left:15px;top:15px;width:20px;height:20px;fill:none;stroke:rgba(255,255,255,.85);stroke-width:2;stroke-linecap:round}
.searchbar__go{
  position:absolute;right:6px;top:6px;height:38px;width:38px;border:0;border-radius:11px;
  background:#fff;color:#1D4ED8;display:grid;place-items:center;cursor:pointer;
}
.searchbar__go svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}

/* page search (not in hero) */
.searchbar--plain input{background:var(--surface);border-color:var(--line-2);color:var(--txt)}
.searchbar--plain input::placeholder{color:var(--txt-3)}
.searchbar--plain .searchbar__i{stroke:var(--txt-3)}
.searchbar--plain .searchbar__go{background:var(--blue);color:#fff}

/* ----------------------------------------------------------------- chips */
.chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.chips::-webkit-scrollbar{display:none}
.chip{
  flex:none;padding:9px 15px;border-radius:99px;background:var(--surface);border:1px solid var(--line);
  color:var(--txt-2);font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer;
}
.chip.on{background:linear-gradient(135deg,var(--blue),var(--blue-3));color:#fff;border-color:transparent;box-shadow:var(--glow)}
.chip--x{display:inline-flex;align-items:center;gap:7px}
.chip--x b{font-weight:600}

/* ----------------------------------------------------------- stat strip -- */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}
.stat{background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:13px 10px;text-align:center}
.stat b{display:block;font-size:19px;font-weight:800;color:var(--blue-2);letter-spacing:-.02em}
.stat span{font-size:11.5px;color:var(--txt-3);font-weight:600}

/* ---------------------------------------------------------------- badges */
.badge{
  display:inline-flex;align-items:center;gap:4px;padding:4px 9px;border-radius:8px;
  font-size:10.5px;font-weight:750;letter-spacing:.02em;white-space:nowrap;
}
.badge--our{background:rgba(34,197,94,.14);color:#4ADE80;border:1px solid rgba(34,197,94,.3)}
.badge--third{background:rgba(245,158,11,.13);color:#FBBF24;border:1px solid rgba(245,158,11,.28)}
.badge--feat{background:rgba(59,130,246,.15);color:var(--blue-2);border:1px solid rgba(59,130,246,.3)}
.badge--soft{background:var(--surface-2);color:var(--txt-2);border:1px solid var(--line)}

/* ----------------------------------------------------------------- cards */
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px}

.plist{display:flex;flex-direction:column;gap:11px}
.pcard{
  display:block;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:14px;position:relative;transition:transform .16s ease,border-color .16s ease;
}
.pcard:active{transform:scale(.985);border-color:var(--line-2)}
.pcard__top{display:flex;gap:12px;align-items:flex-start}
.plogo{
  width:46px;height:46px;border-radius:14px;flex:none;overflow:hidden;display:grid;place-items:center;
  background:linear-gradient(145deg,var(--surface-2),#0D1526);border:1px solid var(--line);
}
.plogo img{width:100%;height:100%;object-fit:cover}
.plogo--letter{font-weight:800;font-size:15px;color:var(--blue-2);letter-spacing:-.02em}
.plogo--lg{width:62px;height:62px;border-radius:18px}
.plogo--lg.plogo--letter{font-size:20px}
.pcard__body{flex:1;min-width:0}
.pcard__name{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.pcard__name b{font-size:15.5px;font-weight:700;letter-spacing:-.01em}
.pcard__cat{color:var(--txt-3);font-size:12.5px;margin-top:2px}
.pcard__desc{color:var(--txt-2);font-size:13px;margin-top:7px;line-height:1.45}
.pcard__meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:11px;font-size:12px;color:var(--txt-3)}
.pcard__meta b{color:var(--txt-2);font-weight:600}
.pcard__acts{display:flex;gap:9px;margin-top:13px}
.pcard__save{
  width:42px;flex:none;border-radius:12px;background:var(--surface-2);border:1px solid var(--line);
  color:var(--txt-3);display:grid;place-items:center;cursor:pointer;
}
.pcard__save svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9}
.pcard__save.on{color:var(--danger);border-color:rgba(244,63,94,.35);background:rgba(244,63,94,.1)}
.pcard__save.on svg{fill:currentColor}

.bars{display:inline-flex;align-items:flex-end;gap:2.5px;height:12px;vertical-align:-1px}
.bars .bar{width:3.5px;background:var(--line-2);border-radius:2px;height:5px}
.bars .bar:nth-child(2){height:8.5px}
.bars .bar:nth-child(3){height:12px}
.bars .bar--on{background:var(--blue-2)}

.rating{display:inline-flex;align-items:center;gap:4px;color:#FBBF24;font-weight:650;font-size:12.5px}
.rating svg{width:13px;height:13px;fill:currentColor}

/* featured card — the one deliberately warm surface, so "featured" reads
   instantly against an otherwise cool palette */
.featcard{
  border-radius:22px;padding:16px;position:relative;overflow:hidden;
  background:linear-gradient(140deg,#FDE68A 0%,#FBBF24 55%,#F59E0B 100%);
  color:#3B2A05;box-shadow:0 16px 38px rgba(245,158,11,.28);
}
.featcard .plogo{background:rgba(255,255,255,.75);border-color:rgba(0,0,0,.08);color:#B45309}
.featcard__name{font-size:17px;font-weight:800;letter-spacing:-.02em}
.featcard__desc{font-size:13px;color:#5B4108;margin-top:5px}
.featcard__tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
.featcard__tag{background:rgba(255,255,255,.6);border-radius:8px;padding:4px 9px;font-size:11px;font-weight:700;color:#7C4A03}
.featcard__row{display:flex;align-items:center;justify-content:space-between;margin-top:14px;gap:10px}
.featcard .badge--our{background:rgba(255,255,255,.75);color:#166534;border-color:rgba(22,101,52,.25)}
.featcard .badge--third{background:rgba(255,255,255,.75);color:#92400E;border-color:rgba(146,64,14,.25)}

/* --------------------------------------------------------------- buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:46px;padding:0 18px;border-radius:13px;border:0;cursor:pointer;
  font-size:14.5px;font-weight:700;letter-spacing:-.01em;
}
.btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn--primary{background:linear-gradient(135deg,#3B82F6,#2563EB);color:#fff;box-shadow:0 10px 26px rgba(37,99,235,.38)}
.btn--primary:active{transform:translateY(1px)}
.btn--ghost{background:var(--surface);color:var(--txt);border:1px solid var(--line-2)}
.btn--light{background:#fff;color:#1D4ED8}
.btn--outline{background:transparent;color:var(--blue-2);border:1px solid rgba(59,130,246,.45)}
.btn--dark{background:rgba(0,0,0,.14);color:#3B2A05}
.btn--block{display:flex;width:100%}
.btn--sm{min-height:38px;font-size:13px;padding:0 13px;border-radius:11px}
.btn[disabled]{opacity:.5;pointer-events:none}

/* ------------------------------------------------------------ categories */
.catgrid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.cattile{
  border-radius:var(--radius);padding:15px;min-height:112px;display:flex;flex-direction:column;
  justify-content:space-between;position:relative;overflow:hidden;border:1px solid var(--line);
}
.cattile::after{
  content:"";position:absolute;right:-24px;bottom:-24px;width:92px;height:92px;border-radius:50%;
  background:rgba(255,255,255,.09);
}
.cattile__i{width:34px;height:34px;border-radius:11px;background:rgba(255,255,255,.2);display:grid;place-items:center}
.cattile__i svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.cattile b{font-size:14.5px;font-weight:750;display:block;position:relative}
.cattile span{font-size:11.5px;color:rgba(255,255,255,.75);position:relative}

/* ---------------------------------------------------------------- guides */
.gcard{display:flex;gap:13px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:14px}
.gcard__i{
  width:44px;height:44px;flex:none;border-radius:13px;display:grid;place-items:center;
  background:linear-gradient(145deg,rgba(59,130,246,.22),rgba(37,99,235,.1));border:1px solid rgba(59,130,246,.22);
}
.gcard__i svg{width:20px;height:20px;fill:none;stroke:var(--blue-2);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gcard b{font-size:14.5px;font-weight:700;display:block}
.gcard p{font-size:12.8px;color:var(--txt-2);margin:5px 0 0}
.gcard__meta{font-size:11.5px;color:var(--txt-3);margin-top:8px;display:flex;gap:8px;align-items:center}

/* ------------------------------------------------------------------- why */
.why{display:grid;gap:10px}
.why__row{display:flex;gap:12px;align-items:flex-start;background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:14px}
.why__i{width:36px;height:36px;flex:none;border-radius:11px;background:rgba(59,130,246,.14);display:grid;place-items:center}
.why__i svg{width:18px;height:18px;fill:none;stroke:var(--blue-2);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.why__row b{font-size:14px;font-weight:700}
.why__row p{font-size:12.8px;color:var(--txt-2);margin:3px 0 0}

/* ------------------------------------------------------------------- faq */
.faq{border:1px solid var(--line);border-radius:15px;background:var(--surface);overflow:hidden}
.faq + .faq{margin-top:9px}
.faq summary{
  list-style:none;cursor:pointer;padding:15px 44px 15px 15px;font-weight:650;font-size:14px;position:relative;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";position:absolute;right:17px;top:19px;width:8px;height:8px;
  border-right:2px solid var(--txt-3);border-bottom:2px solid var(--txt-3);
  transform:rotate(45deg);transition:transform .2s ease;
}
.faq[open] summary::after{transform:rotate(-135deg);top:22px}
.faq__a{padding:0 15px 15px;color:var(--txt-2);font-size:13.5px}

/* ------------------------------------------------- platform detail page -- */
.phero{padding:18px 0 4px}
.phero__top{display:flex;gap:14px;align-items:center}
.phero h1{font-size:23px;font-weight:800;margin-top:9px}
.phero__sub{color:var(--txt-2);font-size:13.5px;margin-top:6px}
.phero__acts{display:flex;gap:10px;margin-top:16px}

.tabs{display:flex;gap:6px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:5px;margin:18px 0 14px;overflow-x:auto;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs button{
  flex:1;min-width:84px;border:0;background:transparent;color:var(--txt-3);font-size:13.5px;font-weight:650;
  padding:10px 12px;border-radius:10px;cursor:pointer;white-space:nowrap;
}
.tabs button.on{background:linear-gradient(135deg,var(--blue),var(--blue-3));color:#fff;box-shadow:var(--glow)}
.tabpane{display:none}
.tabpane.on{display:block;animation:fade .22s ease}
@keyframes fade{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}

.kv{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.kv__i{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:12px 13px}
.kv__i span{display:block;font-size:11px;color:var(--txt-3);font-weight:650;letter-spacing:.03em;text-transform:uppercase}
.kv__i b{display:block;font-size:14px;font-weight:650;margin-top:4px;word-break:break-word}
.kv__i--wide{grid-column:1/-1}

.prose{color:var(--txt-2);font-size:14px;line-height:1.68}
.prose h2,.prose h3{color:var(--txt);margin:20px 0 9px;font-size:16px}
.prose ul,.prose ol{padding-left:20px;margin:0 0 13px}
.prose li{margin-bottom:7px}
.prose a{color:var(--blue-2);text-decoration:underline}
.prose strong{color:var(--txt)}
.prose code{background:var(--surface-2);padding:2px 6px;border-radius:6px;font-size:13px}

.notice{
  border-radius:15px;padding:14px;font-size:13px;line-height:1.55;
  background:rgba(245,158,11,.08);border:1px solid rgba(245,158,11,.25);color:#FCD9A0;
}
.notice b{color:#FCD34D}
.notice--blue{background:rgba(59,130,246,.08);border-color:rgba(59,130,246,.24);color:#BFDBFE}
.notice--blue b{color:#93C5FD}

.checklist{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:9px}
.checklist li{display:flex;gap:9px;align-items:flex-start;font-size:13.5px;color:var(--txt-2)}
.checklist svg{width:17px;height:17px;flex:none;margin-top:1px;fill:none;stroke:var(--our);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

.stickycta{
  position:fixed;left:0;right:0;bottom:calc(var(--nav-h) + var(--safe-b));z-index:45;
  padding:10px 16px;background:linear-gradient(180deg,rgba(7,11,22,0),rgba(7,11,22,.96) 30%);
  display:flex;gap:10px;
}
.stickycta .btn{flex:1}

/* --------------------------------------------------------------- compare */
.cmpbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.cmpscroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.cmp{border-collapse:collapse;width:100%;min-width:520px;font-size:13px}
.cmp th,.cmp td{padding:12px 13px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.cmp thead th{background:var(--surface-2);font-size:12px;color:var(--txt-2);font-weight:700;position:sticky;top:0}
.cmp tbody th{color:var(--txt-3);font-weight:650;font-size:12px;width:132px;background:rgba(255,255,255,.02)}
.cmp td{color:var(--txt)}
.cmp tr:last-child th,.cmp tr:last-child td{border-bottom:0}

/* ---------------------------------------------------------------- states */
.empty{text-align:center;padding:46px 20px;color:var(--txt-3)}
.empty__i{width:64px;height:64px;border-radius:20px;background:var(--surface);border:1px solid var(--line);display:grid;place-items:center;margin:0 auto 14px}
.empty__i svg{width:28px;height:28px;fill:none;stroke:var(--txt-3);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.empty b{display:block;color:var(--txt);font-size:15.5px;margin-bottom:6px}
.empty p{font-size:13.5px;max-width:34ch;margin:0 auto 16px}

.flash{border-radius:13px;padding:12px 14px;font-size:13.5px;margin:14px 0;border:1px solid}
.flash--success{background:rgba(34,197,94,.1);border-color:rgba(34,197,94,.3);color:#86EFAC}
.flash--error{background:rgba(244,63,94,.1);border-color:rgba(244,63,94,.3);color:#FDA4B4}
.flash--info{background:rgba(59,130,246,.1);border-color:rgba(59,130,246,.3);color:#BFDBFE}

.toast{
  position:fixed;left:50%;transform:translate(-50%,20px);bottom:calc(var(--nav-h) + var(--safe-b) + 16px);
  z-index:80;background:#1B2540;border:1px solid var(--line-2);color:var(--txt);
  padding:11px 18px;border-radius:99px;font-size:13.5px;font-weight:600;
  box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.25s ease;
}
.toast.on{opacity:1;transform:translate(-50%,0)}

/* ----------------------------------------------------------------- forms */
.field{margin-bottom:14px}
.field label{display:block;font-size:13px;font-weight:650;margin-bottom:6px;color:#C6D2E8}
.input,select.input,textarea.input{
  width:100%;padding:13px 14px;border-radius:12px;border:1px solid var(--line-2);
  background:var(--bg-2);color:var(--txt);font-size:15px;-webkit-appearance:none;font-family:inherit;
}
select.input{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%238C9AB8' stroke-width='2'><path d='M3 5l4 4 4-4'/></svg>");background-repeat:no-repeat;background-position:right 14px center;padding-right:38px}
.input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(59,130,246,.18)}
.hint{color:var(--txt-3);font-size:12.5px;margin-top:6px}

/* ---------------------------------------------------------------- footer */
.footer{margin-top:34px;border-top:1px solid var(--line);padding:22px 0 26px;background:var(--bg-2)}
.footer__links{display:flex;flex-wrap:wrap;gap:9px 18px;margin:14px 0}
.footer__links a{color:var(--txt-2);font-size:13px}
.footer p{color:var(--txt-3);font-size:12.3px;line-height:1.6}

/* --------------------------------------------------------------- filters */
.sheet{
  position:fixed;inset:0;z-index:70;background:rgba(3,6,14,.6);
  opacity:0;pointer-events:none;transition:opacity .22s ease;
}
.sheet.on{opacity:1;pointer-events:auto}
.sheet__panel{
  position:absolute;left:0;right:0;bottom:0;max-height:88vh;overflow-y:auto;
  background:var(--bg-2);border-radius:22px 22px 0 0;border-top:1px solid var(--line-2);
  padding:8px 16px calc(20px + var(--safe-b));transform:translateY(100%);transition:transform .28s cubic-bezier(.22,1,.36,1);
}
.sheet.on .sheet__panel{transform:none}
.sheet__grab{width:38px;height:4px;border-radius:99px;background:var(--line-2);margin:8px auto 14px}

.pager{display:flex;gap:8px;justify-content:center;margin:22px 0 6px;flex-wrap:wrap}
.pager a,.pager span{min-width:40px;height:40px;padding:0 12px;border-radius:12px;display:grid;place-items:center;background:var(--surface);border:1px solid var(--line);font-size:13.5px;font-weight:650;color:var(--txt-2)}
.pager .on{background:var(--blue);border-color:transparent;color:#fff}

/* ----------------------------------------------------------- profile row */
.prow{display:flex;align-items:center;gap:13px;background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:14px 15px;margin-bottom:9px}
.prow svg.ic{width:20px;height:20px;flex:none;fill:none;stroke:var(--blue-2);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.prow b{flex:1;font-size:14.5px;font-weight:600}
.prow .arw{width:8px;height:8px;border-right:2px solid var(--txt-3);border-top:2px solid var(--txt-3);transform:rotate(45deg)}

.avatar{width:58px;height:58px;border-radius:50%;background:linear-gradient(145deg,#60A5FA,#1D4ED8);display:grid;place-items:center;font-weight:800;font-size:21px;color:#fff;flex:none}

/* ------------------------------------------------------------- desktop -- */
@media (min-width:768px){
  body{padding-bottom:0}
  .bottomnav{display:none}
  .stickycta{position:static;padding:0;background:none;margin-top:18px;max-width:420px}
  .topnav{display:flex;align-items:center;gap:6px}
  .topnav a{padding:9px 13px;border-radius:11px;font-size:14px;font-weight:600;color:var(--txt-2)}
  .topnav a.on,.topnav a:hover{color:var(--txt);background:var(--surface)}
  .appbar__in{height:66px}
  .hero{padding:44px 40px;border-radius:28px}
  .hero h1{font-size:40px;max-width:20ch}
  .hero p{font-size:16px}
  .searchbar{max-width:520px}
  .plist{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
  .plist--3{grid-template-columns:repeat(3,1fr)}
  .catgrid{grid-template-columns:repeat(4,1fr)}
  .why{grid-template-columns:repeat(2,1fr)}
  .guides-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
  .stats{max-width:520px}
  .kv{grid-template-columns:repeat(3,1fr)}
  .sec{margin:38px 0}
  .sec__head h2{font-size:22px}
  .cmp{min-width:0}
}
@media (min-width:1024px){
  .plist{grid-template-columns:repeat(3,1fr)}
  .detail-grid{display:grid;grid-template-columns:1fr 330px;gap:26px;align-items:start}
}
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms !important;transition-duration:.01ms !important}
}
