:root{
  --bg:#172B39;--surface:#0F212E;--surface-2:#1D3547;--text:#FFFFFF;--muted:#B1BAD3;
  --accent:#1475E1;--accent-hover:#2A88F2;--link:#B1BAD3;--border:#2F4A5C;
  --header-bg:#0F212E;--footer-bg:#0F212E;--radius:8px;
  --trow-bg:#2F4553;--trow-secondary-bg:#3A5565;--thead-bg:#0F212E;--thead-border:#1475E1;--trow-border:#4F6A7C;
  --header-h:64px;--side-w:240px;
  --font:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:16px;line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:var(--link)}
h1,h2,h3{line-height:1.25;margin:0 0 .6em}
h1{font-size:1.75rem}
h2{font-size:1.5rem;scroll-margin-top:80px}
h3{font-size:1.15rem;scroll-margin-top:80px}
p{margin:0 0 1em}
ul,ol{margin:0 0 1em}
:focus-visible{outline:2px solid var(--accent-hover);outline-offset:2px}

/* header */
.site-header{position:fixed;top:0;left:0;right:0;height:var(--header-h);background:var(--header-bg);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:10px;padding:0 12px;z-index:50}
.burger{display:none;width:40px;height:40px;border:1px solid var(--border);background:transparent;border-radius:var(--radius);cursor:pointer;padding:0;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.burger span{display:block;width:18px;height:2px;background:var(--text)}
.logo{display:flex;align-items:center;margin-right:auto}
.logo img{height:32px;width:auto}
.header-actions{display:flex;gap:8px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:var(--radius);font-weight:600;font-size:.95rem;text-decoration:none;border:1px solid transparent;cursor:pointer;text-align:center;line-height:1.2;font-family:inherit}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-hover)}
.btn-ghost{background:transparent;color:var(--text);border-color:var(--border)}
.btn-ghost:hover{background:var(--surface-2)}
.btn-sm{min-height:44px;padding:0 14px}

/* layout */
.sidebar{position:fixed;top:var(--header-h);left:0;bottom:0;width:var(--side-w);background:var(--surface);border-right:1px solid var(--border);overflow-y:auto;padding:14px 12px 24px;z-index:40}
.page{margin-left:var(--side-w);padding-top:var(--header-h);min-width:0}
.page-inner{max-width:1180px;margin:0 auto;padding:20px 20px 90px}
.overlay{display:none}
.search{width:100%;min-height:44px;border-radius:var(--radius);border:1px solid var(--border);background:var(--bg);color:var(--text);padding:0 12px;font-size:.95rem;font-family:inherit;margin-bottom:14px}
.side-title{display:block;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:16px 8px 6px}
.side-list{list-style:none;padding:0;margin:0}
.side-list a{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 10px;border-radius:var(--radius);color:var(--text);text-decoration:none;font-size:.95rem}
.side-list a:hover{background:var(--surface-2)}
.side-list a.active{background:var(--surface-2);box-shadow:inset 3px 0 0 var(--accent)}
.side-list img{width:20px;height:20px}
.toc{list-style:none;padding:0;margin:0;counter-reset:toc}
.toc a{display:block;padding:8px 10px;border-radius:var(--radius);color:var(--muted);text-decoration:none;font-size:.88rem;line-height:1.35}
.toc a:hover{color:var(--text);background:var(--surface-2)}
.toc a.active{color:var(--text);background:var(--surface-2);box-shadow:inset 3px 0 0 var(--accent)}
.drawer-close{display:none}

/* hero */
.hero{background:linear-gradient(135deg,var(--surface) 0%,var(--surface-2) 100%);border:1px solid var(--border);border-radius:12px;padding:20px;display:grid;grid-template-columns:1fr;gap:24px;margin-bottom:20px}
.badge{display:inline-block;background:var(--accent);color:#fff;border-radius:999px;padding:2px 12px;font-size:.8rem;font-weight:600;margin-bottom:10px}
.tagline{display:block;color:var(--muted);font-size:1.05rem;margin-bottom:1em}
.section>.btn-row{margin:0 0 1em}
.hero-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:6px 0 12px}
.hero-buttons .btn{min-height:50px;padding:0 22px}
.legal-line{font-size:.82rem;color:var(--muted);margin:0}
.hero-devices{position:relative;width:100%;max-width:560px;margin:0 auto;padding-bottom:6%}
.device-desktop{border:6px solid #060f16;border-radius:12px;background:#060f16;aspect-ratio:16/10;overflow:hidden}
.device-desktop img,.device-phone img{width:100%;height:100%;object-fit:cover;object-position:top}
.device-phone{border:5px solid #060f16;border-radius:22px;background:#060f16;aspect-ratio:9/19;overflow:hidden;width:100%}
.hero-devices .device-phone{position:absolute;right:-2%;bottom:0;width:26%}

/* categories */
.categories{margin-bottom:28px}
.categories ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px}
.categories a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:76px;padding:8px 6px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);text-decoration:none;font-size:.85rem;text-align:center}
.categories a:hover{background:var(--surface-2);border-color:var(--accent)}
.categories img{width:28px;height:28px}

/* sections */
.section{padding:12px 0 28px}
.section>:is(h2,h3,p,ul,ol,.table-wrap,.btn-row){max-width:880px}
.section h3{margin-top:1.4em}
.row-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:1.6em;max-width:none!important}
.row-head h3{margin:0 0 .6em}
.row-tools{display:flex;align-items:center;gap:8px}
.view-all{font-size:.85rem;white-space:nowrap}
.arrow{width:36px;height:36px;border-radius:50%;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;font-size:1rem;line-height:1;padding:0}
.arrow:disabled{opacity:.35;cursor:default}
.tile-row{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:8px;margin-bottom:12px;scrollbar-width:thin}
.tile{flex:0 0 155px;width:155px;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;scroll-snap-align:start}
.tile[hidden]{display:none}
.tile img{width:100%;aspect-ratio:3/4;object-fit:cover}
.tile-sport img{aspect-ratio:1/1;object-fit:contain;background:var(--surface-2);padding:10px}
.tile-name{display:flex;align-items:center;min-height:3.2em;padding:6px 10px;font-size:.88rem;line-height:1.3;font-weight:600;overflow:hidden;word-break:normal;overflow-wrap:break-word}
.tile .btn{margin:auto 8px 8px;height:44px;min-height:44px;padding:0 6px;font-size:.8rem;line-height:1.1}
.tile-icon{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:var(--surface-2)}
.tile-icon img{width:56px;height:56px;aspect-ratio:auto;object-fit:contain;padding:0;background:none}
.no-results{color:var(--muted)}

/* tables */
.table-wrap{overflow-x:auto;margin:0 0 1.2em;border:1px solid var(--trow-border);border-radius:var(--radius)}
table{width:100%;border-collapse:collapse;font-size:.92rem;min-width:480px}
th,td{padding:10px 14px;text-align:left;border-bottom:1px solid var(--trow-border);vertical-align:top}
thead th{background:var(--thead-bg);color:var(--text);border-bottom:2px solid var(--thead-border)}
tbody tr{background:var(--trow-bg)}
tbody tr:nth-child(even){background:var(--trow-secondary-bg)}
tbody tr:last-child td{border-bottom:0}

/* steps */
.steps-layout{display:grid;grid-template-columns:1fr;gap:20px;margin-bottom:20px;max-width:none!important}
.steps{list-style:none;padding:0;margin:0;counter-reset:step}
.steps li{counter-increment:step;position:relative;padding:0 0 18px 48px;min-height:40px}
.steps li::before{content:counter(step);position:absolute;left:0;top:0;width:34px;height:34px;border-radius:50%;background:var(--accent);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center}
.step-title{display:block;font-weight:600;font-size:1.02rem;margin-bottom:2px}
.steps li .btn{margin-top:8px}
.frames{display:flex;gap:12px;align-items:flex-start;justify-content:center}
.frames .device-desktop{flex:1 1 320px;max-width:360px}
.frames .device-phone{flex:0 0 130px;width:130px}
.panels{display:grid;grid-template-columns:1fr;gap:16px;max-width:none!important}
.panel{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:18px}
.panel h3{margin-top:0}
.panel .device-phone{width:150px;margin:8px auto 0}
.span{color:var(--accent-hover);font-weight:700}

/* cards */
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;max-width:none!important;margin-bottom:16px}
.card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}
.card img{width:40px;height:40px;margin-bottom:10px}
.card h3{font-size:1.05rem;margin:0 0 .4em}
.card p{flex:1;font-size:.92rem;color:var(--muted)}
.card .btn{margin-top:auto}
.duo{display:grid;grid-template-columns:1fr;gap:12px;max-width:none!important;margin-bottom:16px}
.mini{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}
.mini h4{margin:0 0 .5em;font-size:1rem}
.age-badge{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:2px solid var(--muted);font-weight:700;margin-bottom:8px}
.chips{display:flex;flex-wrap:wrap;gap:8px}

/* faq */
.faq details{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:8px;max-width:880px}
.faq summary{cursor:pointer;list-style:none;padding:14px 44px 14px 16px;font-weight:600;position:relative;min-height:44px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:16px;top:12px;font-size:1.3rem;color:var(--accent-hover)}
.faq details[open] summary::after{content:"\2212"}
.faq details p{padding:0 16px;margin:0 0 1em}

/* footer, bottom bar */
.site-footer{background:var(--footer-bg);border-top:1px solid var(--border);padding:24px 20px;margin-left:var(--side-w);color:var(--muted);font-size:.88rem}
.footer-inner{max-width:1180px;margin:0 auto}
.footer-links{list-style:none;display:flex;flex-wrap:wrap;gap:6px 18px;padding:0;margin:0 0 14px}
.footer-links a{display:inline-block;padding:8px 0}
.footer-18{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.footer-18 .age-badge{margin:0;flex:none}
.bottom-bar{position:fixed;left:calc(50% + var(--side-w)/2);transform:translateX(-50%);bottom:14px;width:min(420px,calc(100vw - var(--side-w) - 24px));background:var(--surface-2);border:1px solid var(--accent);border-radius:12px;padding:10px 44px 10px 14px;display:flex;align-items:center;gap:12px;z-index:45;box-shadow:0 6px 24px rgba(0,0,0,.45)}
.bottom-bar[hidden]{display:none}
.mbar__icon{flex:none;border-radius:10px}
.footer-cta{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px}
.footer-social{list-style:none;display:flex;flex-wrap:wrap;gap:6px 16px;padding:0;margin:0 0 14px}
.footer-social a{display:inline-block;padding:8px 0}
.bottom-bar-text{flex:1;font-size:.9rem;line-height:1.3}
.bottom-close{position:absolute;top:2px;right:2px;width:44px;height:44px;border:0;background:transparent;color:var(--muted);font-size:1.3rem;cursor:pointer}

@media (min-width:700px){
  .hero{padding:28px 32px}
  h1{font-size:2.1rem}
  .duo{grid-template-columns:1fr 1fr}
  .panels{grid-template-columns:1fr 1fr}
  .steps-layout{grid-template-columns:1fr 1fr;align-items:start}
}
@media (min-width:1000px){
  .hero{grid-template-columns:1.1fr 1fr;align-items:center}
}
@media (max-width:900px){
  .burger{display:flex}
  .sidebar{transform:translateX(-100%);transition:transform .25s;width:272px;z-index:70;top:0;padding-top:56px}
  body.drawer-open .sidebar{transform:none}
  body.drawer-open{overflow:hidden}
  .overlay{display:block;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:60;opacity:0;pointer-events:none;transition:opacity .25s}
  body.drawer-open .overlay{opacity:1;pointer-events:auto}
  .drawer-close{display:flex;position:absolute;top:6px;right:8px;width:44px;height:44px;border:0;background:transparent;color:var(--text);font-size:1.5rem;cursor:pointer;align-items:center;justify-content:center}
  .page,.site-footer{margin-left:0}
  .bottom-bar{left:12px;right:12px;width:auto;transform:none}
}
@media (max-width:480px){
  .page-inner{padding:14px 12px 120px}
  .header-actions .btn{padding:0 10px;font-size:.85rem}
  .logo img{height:26px}
  .site-footer{padding:20px 12px 110px}
  .tile{flex-basis:140px;width:140px}
  .frames .device-phone{flex-basis:100px;width:100px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.sidebar,.overlay{transition:none}}
