/* Keel Player: site styles. Deep teal-black, glass panels with a teal edge light, Exo 2 headings to match the
   wordmark, Manrope for reading. Product screenshots are always shown at their true proportions. */

:root {
    --bg: #040a0a;
    --bg-1: #071211;
    --bg-2: #0b1a19;
    --glass: rgba(12, 30, 28, .62);
    --glass-2: rgba(16, 40, 38, .72);
    --line: rgba(130, 255, 240, .09);
    --line-2: rgba(130, 255, 240, .17);
    --text: #e8f8f6;
    --dim: #9db7b3;
    --faint: #62807b;
    --teal: #22e6d4;
    --teal-hi: #5ff5e8;
    --glow: 0 0 0 1px rgba(34, 230, 212, .28), 0 18px 60px -18px rgba(34, 230, 212, .28);
    --ok: #34d399;
    --bad: #ff7a6b;
    --head: "Exo 2", "Segoe UI", sans-serif;
    --body: "Manrope", "Segoe UI", system-ui, sans-serif;
    --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
    --max: 1200px;
    --gut: clamp(20px, 4vw, 48px);
    --r: 16px;
    --r-lg: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16.5px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--teal); color: #032220; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-hi); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; letter-spacing: -.01em; line-height: 1.08; margin: 0; color: #f2fffd; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); }
.muted { color: var(--dim); }
.small { font-size: 13.5px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--dim); max-width: 58ch; }
.center { text-align: center; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.kicker { font: 700 14px var(--body); color: var(--teal); margin: 0 0 14px; }

/* ---- buttons ---- */
.btn, button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; white-space: nowrap;
    font: 700 15px/1 var(--body); padding: 15px 22px; border-radius: 12px; border: 1px solid transparent; text-decoration: none;
    transition: background .2s, box-shadow .2s, border-color .2s, color .2s, transform .15s;
}
.btn:active, button:active { transform: translateY(1px); }
.primary { background: linear-gradient(180deg, #3ff0e0, #14c2b2); color: #03201d; box-shadow: 0 0 0 1px rgba(95, 245, 232, .6) inset, 0 10px 30px -10px rgba(34, 230, 212, .65); }
.primary:hover { color: #03201d; box-shadow: 0 0 0 1px rgba(150, 255, 245, .8) inset, 0 12px 36px -8px rgba(34, 230, 212, .8); }
.ghost { background: var(--glass); color: var(--text); border-color: var(--line-2); }
.ghost:hover { border-color: rgba(34, 230, 212, .55); color: #fff; }
.ghost.danger { color: var(--bad); border-color: rgba(255, 122, 107, .35); }
.ghost.danger:hover { border-color: var(--bad); }
.primary[disabled], .disabled, button[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn.small, button.small, .ghost.small { padding: 9px 13px; font-size: 13.5px; border-radius: 10px; }
.play::before { content: ""; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ---- header ---- */
.nav, .bar { position: sticky; top: 0; z-index: 40; background: rgba(4, 10, 10, .8); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.nav .wrap, .bar { height: 72px; display: flex; align-items: center; gap: 32px; }
.bar { padding: 0 var(--gut); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 22px/1 var(--head); color: #f2fffd; }
.brand:hover { color: #fff; }
.brand .mark, .logo { width: 32px; height: 32px; background: url(mark.svg) center/contain no-repeat; display: inline-block; flex: 0 0 auto; }
.brand em { font-style: normal; color: var(--teal); margin-left: .22em; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { color: var(--dim); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav-links a:hover { color: var(--text); background: var(--bg-2); }
.nav-end { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-end .btn { padding: 11px 16px; font-size: 14px; }
.bar > form, .bar > .btn { margin-left: auto; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; background: var(--glass); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); position: relative; }
.menu summary span::before, .menu summary span::after { content: ""; position: absolute; left: 0; }
.menu summary span::before { top: -6px; } .menu summary span::after { top: 6px; }
.menu nav { position: absolute; right: 0; top: 54px; width: 230px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 8px; display: grid; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.menu nav a { color: var(--text); padding: 12px; border-radius: 10px; font-weight: 600; }
.menu nav a:hover { background: var(--glass-2); }
@media (max-width: 920px) { .nav-links, .nav-end .ghost { display: none; } .menu { display: block; } }

/* ---- hero ---- */
.hero { position: relative; padding: clamp(56px, 8vw, 100px) 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(55% 55% at 72% 40%, rgba(19, 184, 169, .22), transparent 70%), radial-gradient(40% 40% at 8% 0%, rgba(34, 230, 212, .07), transparent 70%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(40px, 4.25vw, 60px); font-weight: 800; letter-spacing: -.02em; line-height: 1.03; margin-bottom: 22px; }
.hero h1 span { display: block; background: linear-gradient(90deg, #5ff5e8, #18c9b9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 30px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--faint); font-size: 14px; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; } }

/* ---- screenshot frames (aspect ratio always kept) ---- */
.shot { position: relative; margin: 0; border-radius: var(--r-lg); padding: 8px; background: linear-gradient(180deg, rgba(40, 90, 85, .55), rgba(10, 26, 24, .9));
    box-shadow: var(--glow), 0 40px 90px -30px rgba(0, 0, 0, .85); }
.shot img { width: 100%; height: auto; border-radius: 17px; }

/* ---- device strip ---- */
.devices-strip { margin-top: clamp(56px, 8vw, 96px); border-block: 1px solid var(--line); }
.devices-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; flex-wrap: wrap; }
.devices-strip p { margin: 0; color: var(--faint); font-weight: 600; font-size: 14px; }
.devices-strip ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 4vw, 44px); flex-wrap: wrap; }
.devices-strip li { font: 700 18px var(--head); color: var(--dim); }

/* ---- sections ---- */
.sec { padding: clamp(84px, 11vw, 136px) 0 0; }
.sec-title { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-title h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; letter-spacing: -.02em; }
.sec-title p { margin-top: 16px; color: var(--dim); font-size: 18px; max-width: 60ch; }
.sec-title.center { margin-inline: auto; text-align: center; }
.sec-title.center p { margin-inline: auto; }

/* ---- feature rows ---- */
.feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 60px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 9vw, 116px); }
.feature.flip { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.feature.flip .shot { order: 2; }
.feature h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; margin-bottom: 14px; }
.feature p { color: var(--dim); font-size: 17px; }
.points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.points li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 15.5px; }
.points li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 3px; border-radius: 6px; background: rgba(34, 230, 212, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.5' fill='none' stroke='%2322e6d4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; box-shadow: inset 0 0 0 1px rgba(34, 230, 212, .35); }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; } .feature.flip .shot { order: 0; } }

/* ---- reliability band ---- */
.band { border-radius: 28px; padding: clamp(32px, 5vw, 60px); background: radial-gradient(80% 120% at 0% 0%, rgba(19, 184, 169, .2), transparent 60%), var(--bg-1); border: 1px solid var(--line-2); }
.band h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; max-width: 20ch; }
.band > p { color: var(--dim); max-width: 62ch; margin: 16px 0 0; font-size: 17px; }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(30px, 4vw, 44px); border-top: 1px solid var(--line-2); }
.band-grid div { padding: 26px 26px 6px 0; }
.band-grid div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.band-grid h3 { font-size: 19px; margin-bottom: 8px; }
.band-grid p { color: var(--dim); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; } .band-grid div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ---- kids ---- */
.kids { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.kids h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin-bottom: 16px; }
.kids p { color: var(--dim); font-size: 17px; }
.kid-screen { border-radius: var(--r-lg); padding: 22px; background: linear-gradient(160deg, #101c3c, #170f33); box-shadow: var(--glow), 0 40px 90px -30px rgba(0, 0, 0, .85); }
.kid-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font: 800 20px var(--head); color: #fff; }
.kid-top span { font: 700 12px var(--body); color: rgba(255, 255, 255, .75); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 6px 12px; }
.kid-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kid-tiles div { aspect-ratio: 4 / 5; border-radius: 18px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; font: 800 20px var(--head); color: #fff; }
.kid-tiles i { font-style: normal; font-size: 34px; }
.kid-tiles div:nth-child(1) { background: linear-gradient(150deg, #ff9f1c, #e85d04); }
.kid-tiles div:nth-child(2) { background: linear-gradient(150deg, #2ec4b6, #127a72); }
.kid-tiles div:nth-child(3) { background: linear-gradient(150deg, #ff5d8f, #c9184a); }
@media (max-width: 900px) { .kids { grid-template-columns: 1fr; } }

/* ---- devices ---- */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.platform { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line-2); color: var(--text); transition: border-color .2s, box-shadow .25s, transform .25s; }
.platform:hover { border-color: rgba(34, 230, 212, .5); box-shadow: var(--glow); transform: translateY(-3px); color: var(--text); }
.platform h3 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.platform .for { color: var(--teal); font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.platform p { color: var(--dim); font-size: 15.5px; }
.platform .go { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--teal); }
.platform .go::after { content: " →"; }
@media (max-width: 900px) { .platforms { grid-template-columns: 1fr; } }

/* ---- pricing ---- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price { padding: 30px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line-2); display: flex; flex-direction: column; }
.price h3 { font-size: 20px; }
.price .amount { font: 800 clamp(46px, 5vw, 60px)/1 var(--head); color: #f2fffd; margin: 18px 0 4px; letter-spacing: -.02em; }
.price .per { color: var(--faint); font-size: 14px; font-weight: 600; }
.price p { color: var(--dim); font-size: 15.5px; margin: 18px 0 24px; }
.price .btn { margin-top: auto; }
.price.best { background: radial-gradient(90% 70% at 100% 0%, rgba(34, 230, 212, .18), transparent 60%), var(--glass-2); border-color: rgba(34, 230, 212, .5); box-shadow: var(--glow); }
.price .badge { align-self: flex-start; font: 800 12px var(--body); color: #03201d; background: var(--teal); padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; } }

/* ---- FAQ ---- */
.faq { max-width: 840px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 700 18px var(--body); color: #f2fffd; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 26px; height: 26px; border-radius: 8px; background: var(--glass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M13 8v10M8 13h10' stroke='%2322e6d4' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; border: 1px solid var(--line-2); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--dim); margin: -4px 0 22px; max-width: 70ch; }

/* ---- closing call ---- */
.cta { margin-top: clamp(90px, 11vw, 136px); }
.cta .band { text-align: center; }
.cta h2 { margin: 0 auto; }
.cta p { margin: 16px auto 28px; color: var(--dim); max-width: 52ch; }
.cta .ctas { justify-content: center; }

/* ---- footer ---- */
.foot { margin-top: clamp(80px, 10vw, 120px); border-top: 1px solid var(--line); padding: 48px 0 28px; color: var(--dim); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot h4 { font: 700 14px var(--body); color: var(--text); margin-bottom: 12px; }
.foot a { display: block; color: var(--dim); padding: 4px 0; }
.foot a:hover { color: var(--teal); }
.foot .brand { display: inline-flex; }
.foot .legal { max-width: 46ch; margin-top: 14px; font-size: 13.5px; color: var(--faint); }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--faint); font-size: 13px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ==========================================================================
   App pages: portal, checkout, Kids Mode, admin, downloads
   ========================================================================== */
main.narrow, main.wide, main.page { margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gut) 20px; }
main.narrow { max-width: 680px; }
main.wide { max-width: 1400px; }
main.page { max-width: var(--max); }
main.narrow h1, main.wide h1, .page-head h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.page-head { margin-bottom: 34px; }
.page-head .lead { margin: 0; }
.card { background: var(--glass); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); margin: 18px 0; }
.card h2 { font-size: 21px; margin-bottom: 14px; }
.card.confirm { border-color: rgba(255, 122, 107, .5); }
.form label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 16px; }
input:not([type=radio]):not([type=checkbox]), select, textarea {
    display: block; width: 100%; margin-top: 7px; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2);
    background: rgba(2, 8, 8, .7); color: var(--text); font: 15.5px var(--body); transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(34, 230, 212, .14); }
input[type=checkbox], input[type=radio] { accent-color: var(--teal); width: 17px; height: 17px; }
.seg { border: 0; padding: 0; margin: 0 0 16px; }
.seg label { display: flex; gap: 10px; align-items: center; font-weight: 500; margin-bottom: 8px; }
form:has(input[value=m3u]:checked) .xtream, form:has(input[value=xtream]:checked) .m3u { display: none; }
.alert, .ok { border-radius: 12px; padding: 13px 16px; margin: 14px 0; font-size: 15px; }
.alert { background: rgba(255, 122, 107, .1); border: 1px solid rgba(255, 122, 107, .35); color: #ffc8c0; }
.ok { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .32); color: #bdf3dc; }
.inline { display: inline; }
.plist { list-style: none; padding: 0; margin: 0; }
.plist li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.plist li div { display: flex; flex-direction: column; gap: 2px; }
.plist li strong { color: #f2fffd; }
.row-actions { display: flex; gap: 8px; align-items: center; flex-direction: row !important; flex-wrap: wrap; }
.row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.row .grow { flex: 1; min-width: 200px; }
.done h1, .done h2 { color: var(--ok); }
.narrow-card { max-width: 440px; margin: 60px auto; }
.linkcode { border-color: rgba(34, 230, 212, .5); box-shadow: var(--glow); }
.linkcode .code { font: 800 40px var(--mono); letter-spacing: 6px; margin: 10px 0; color: var(--teal); background: none; border: 0; padding: 0; }
.code { font-family: var(--mono); background: rgba(2, 8, 8, .7); border: 1px solid var(--line-2); border-radius: 7px; padding: 2px 7px; font-size: 13.5px; overflow-wrap: anywhere; }
pre { background: rgba(2, 8, 8, .8); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; overflow-x: auto; font: 13.5px var(--mono); color: var(--text); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 700 12px var(--body); background: var(--bg-2); color: var(--dim); }
.pill.licensed { background: rgba(52, 211, 153, .14); color: var(--ok); }
.pill.trial { background: rgba(34, 230, 212, .14); color: var(--teal); }
.pill.expired, .pill.revoked { background: rgba(255, 122, 107, .14); color: var(--bad); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 12px 0 22px; }
.stats div { background: var(--glass); border: 1px solid var(--line-2); border-radius: var(--r); padding: 16px; }
.stats b { display: block; font: 800 30px var(--head); color: #f2fffd; }
.stats span { color: var(--dim); font-size: 13px; }
.tabs { display: flex; gap: 6px; margin: 12px 0; flex-wrap: wrap; }
.tabs a { padding: 8px 14px; border-radius: 10px; color: var(--dim); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; }
.tabs a.on { color: #03201d; background: var(--teal); border-color: var(--teal); }
.search { display: flex; gap: 10px; margin: 12px 0; max-width: 520px; }
.search input { margin: 0; }
.grid { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--r); }
.grid th, .grid td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.grid th { color: var(--faint); font-weight: 700; background: var(--bg-1); }
.grid tr.dim { opacity: .45; }
.grid .note input { margin: 0; padding: 7px 9px; min-width: 140px; }
.acts { display: flex; gap: 6px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 20px; }
.plan { display: grid !important; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; padding: 18px; border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(2, 8, 8, .6); cursor: pointer; margin: 0 !important; transition: border-color .15s, box-shadow .15s; }
.plan:has(input:checked) { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(34, 230, 212, .14); }
.plan-name { font: 700 16px var(--body); }
.plan-price { font: 800 24px var(--head); color: #f2fffd; }
.plan .muted { grid-column: 1 / -1; }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.check { display: flex !important; gap: 10px; align-items: center; font-weight: 700; }
.cats { border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 14px; margin: 0 0 16px; }
.cats legend { font-weight: 700; padding: 0 6px; }
.catlist { max-height: 280px; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 14px; margin-top: 8px; }
.catlist label { display: flex; gap: 8px; align-items: center; font-weight: 500; margin: 0; padding: 4px 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 28px; align-items: start; }
.aside { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 24px; background: var(--glass); position: sticky; top: 96px; }
.aside h3 { font-size: 18px; margin-bottom: 8px; }
.aside ol { padding-left: 20px; margin: 0 0 12px; color: var(--dim); }
.aside li { margin: 10px 0; }
.aside li b { color: var(--text); display: block; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .aside { position: static; } }

/* ---- downloads ---- */
.os-pick > input { position: absolute; opacity: 0; pointer-events: none; }
.os-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 16px; }
.os-tabs label { cursor: pointer; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--glass); padding: 22px; display: flex; flex-direction: column; gap: 4px; transition: border-color .2s, box-shadow .2s; }
.os-tabs label:hover { border-color: rgba(34, 230, 212, .4); }
.os-tabs label b { font: 800 22px var(--head); color: #f2fffd; }
.os-tabs label span { color: var(--dim); font-size: 14px; }
#os-windows:checked ~ .os-tabs label[for=os-windows], #os-android:checked ~ .os-tabs label[for=os-android], #os-linux:checked ~ .os-tabs label[for=os-linux] { border-color: var(--teal); box-shadow: var(--glow); }
.os-pick > input:focus-visible ~ .os-tabs { outline: 2px solid var(--teal); outline-offset: 5px; border-radius: var(--r-lg); }
.os-panel { display: none; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--glass); padding: clamp(22px, 3.4vw, 40px); }
#os-windows:checked ~ #panel-windows, #os-android:checked ~ #panel-android, #os-linux:checked ~ #panel-linux { display: block; }
.os-panel h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin-bottom: 12px; }
.os-panel > p { color: var(--dim); max-width: 72ch; }
.how h3 { font: 700 17px var(--body); color: var(--teal); margin: 28px 0 12px; }
.how ol { padding-left: 22px; margin: 0; }
.how ol li { padding: 6px 0 6px 6px; color: var(--text); }
.how ol li::marker { color: var(--teal); font-weight: 700; }
.how ul { padding-left: 20px; color: var(--dim); }
.how > p { color: var(--dim); }
.dl-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.sha { font: 12px var(--mono); color: var(--faint); overflow-wrap: anywhere; }
@media (max-width: 820px) { .os-tabs { grid-template-columns: 1fr; } }
