/* ---------- 1. Fonts ---------- */
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/manrope-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/manrope-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500 700;font-display:swap;src:url(../fonts/space-grotesk-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- 2. Tokens and reset ---------- */
:root{color-scheme:dark;--bg:#2f3236;--panel:#222427;--panel-high:#26292c;--text:#e4e4e4;--muted:#9aa1ad;--subtle:#9aa1ad;--accent:#0066ff;--accent-text:#78aaff;--line:rgba(76,84,95,.48);--radius:16px;--font:"Manrope","Segoe UI",system-ui,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{font-size:18px;scroll-padding-top:100px;scrollbar-gutter:stable}
body{margin:0;min-height:100vh;position:relative;isolation:isolate;background:var(--bg);color:var(--text);font-family:var(--font);font-size:1rem;line-height:1.6;-webkit-font-smoothing:antialiased}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.02),transparent 30%),radial-gradient(circle at 50% -8%,rgba(0,102,255,.16),transparent 35%),repeating-linear-gradient(120deg,rgba(255,255,255,.018),rgba(255,255,255,.018) 1px,rgba(0,0,0,.02) 1px,rgba(0,0,0,.02) 10px)}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{border:0;color:inherit}
button:not(:disabled),summary{cursor:pointer}
a,button,summary{touch-action:manipulation}
img{max-width:100%;display:block}
svg{flex-shrink:0}
h1,h2,h3,h4,p{margin:0}
h1,h2,h3,h4,.brand{font-family:"Space Grotesk",var(--font)}
h1,h2,h3,h4{line-height:1.15;letter-spacing:-.02em}
::selection{background:#a8c1ff;color:#101728}
:focus-visible{outline:2px solid #9ec2ff;outline-offset:4px}
[hidden]{display:none!important}

/* ---------- 3. Shared pieces ---------- */
.container{width:min(1120px,calc(100% - 48px));margin-inline:auto}
.icon{width:19px;height:19px;vertical-align:middle}
.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}
.skip-link{position:fixed;top:10px;left:16px;z-index:200;transform:translateY(-150%);padding:10px 18px;background:#a8c1ff;color:#101728;border-radius:8px}
.skip-link:focus{transform:translateY(0)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 20px;border:1px solid transparent;border-radius:12px;font-size:1rem;font-weight:800;line-height:1.45;transition:transform .2s,box-shadow .2s,background .2s,border-color .2s}
.button:hover{transform:translateY(-2px)}
.button-primary{color:#fff;background:linear-gradient(140deg,#0066ff,#0768ed);box-shadow:0 10px 24px rgba(0,102,255,.3)}
.button-primary:hover{background:linear-gradient(140deg,#075fe0,#0066ff);box-shadow:0 12px 26px rgba(0,102,255,.35)}
.button-quiet{background:#25282d;border-color:var(--line);color:var(--text)}
.button-quiet:hover{background:#2c3036;border-color:rgba(0,102,255,.55)}
.button-small{font-size:.9375rem;min-height:44px;padding:9px 16px}
.button .icon{width:17px;height:17px}
.text-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#b2ceff;font-size:.9375rem;font-weight:700}
.text-link:hover{color:#d4e4ff}
.text-link .icon{width:17px;height:17px}
.icon-button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #535e6e;border-radius:9px;background:#2a2e36}
.icon-button:hover{background:#34445e}
.eyebrow{display:flex;align-items:center;gap:14px;font-family:"Space Grotesk",var(--font);font-size:.875rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-text)}

/* ---------- 4. Header and footer ---------- */
.site-header{height:74px;position:sticky;top:0;z-index:30;background:rgba(31,31,31,.38);backdrop-filter:blur(6px);border-bottom:1px solid rgba(76,84,95,.25)}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:inline-flex;align-items:center;font-size:26px;font-weight:700;letter-spacing:-.02em;white-space:nowrap}
.brand-suffix{color:#0066ff}
.main-nav{display:flex;align-items:center;gap:24px;font-size:1rem;font-weight:700}
.main-nav>a{display:inline-flex;align-items:center;min-height:44px;color:var(--muted)}
.main-nav>a:hover{color:var(--text)}
.main-nav .button{color:var(--text);background:#2a2d33;border-radius:999px}
.site-footer{border-top:1px solid var(--line);padding-block:20px 28px}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:24px;color:var(--muted);font-size:.875rem}
.footer-inner nav{display:flex;align-items:center;gap:22px}
.footer-inner nav a{display:inline-flex;align-items:center;gap:7px;min-height:44px;font-weight:700}
.footer-inner nav a:hover{color:var(--text)}
.footer-inner nav .icon{width:15px;height:15px}

/* ---------- 5. Home: hero, catalog cards, support panel ---------- */
.hero{display:block;width:min(760px,calc(100% - 48px));padding-block:64px 80px}
.hero-copy{max-width:580px}
.hero h1{font-size:clamp(2rem,5.1vw,3.6rem);font-weight:700;line-height:1.15;margin-top:25px}
.hero-description{max-width:555px;margin-top:24px;color:var(--muted);font-size:1.0625rem;line-height:1.75}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:13px;margin-top:28px}
.catalog-section{padding-block:34px 58px;scroll-margin-top:90px}
.section-heading{margin-bottom:25px}
.section-heading h2{font-size:.9375rem;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-text)}

.section-heading:has(.section-note){display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 20px}
.section-note{display:flex;align-items:flex-start;gap:8px;margin:0;color:var(--muted);font-size:.9375rem;font-weight:700;line-height:1.5}
.section-note .icon{width:15px;height:15px;flex:none;margin-top:.22em;color:#5fb4ff}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.product-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel-high);transition:transform .2s,border-color .2s,box-shadow .2s}
.product-card:hover{transform:translateY(-2px);border-color:rgba(0,102,255,.5);box-shadow:0 10px 20px rgba(13,18,26,.35)}
.product-card-image{position:relative;aspect-ratio:16/9;overflow:hidden;border-bottom:1px solid var(--line);background:#222427}
.product-card-image>img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.product-card-image::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(9,10,16,.08),rgba(9,10,16,.48))}
.product-card:hover .product-card-image>img{transform:scale(1.04)}
.product-card-body{display:flex;flex-direction:column;align-items:stretch;flex:1;gap:10px;padding:16px;text-align:center}
.product-card-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.product-card h3{margin-top:3px;font-size:1.125rem;line-height:1.25;overflow-wrap:anywhere}
.product-card-price{flex:none;color:var(--muted);font-size:.8rem;font-weight:700}
.card-updated{left:11px;gap:6px;padding:6px 10px 6px 8px;color:#e4e8ee;font-weight:700}
.card-updated svg{width:13px;height:13px;flex:none;opacity:.85;filter:drop-shadow(0 1px 1px rgba(0,0,0,.5))}
.card-updated.card-updated--today{border-color:#6ba8ff;background:linear-gradient(180deg,rgba(0,102,255,.6),rgba(0,102,255,.4)),rgba(6,16,40,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 2px 12px rgba(0,102,255,.4);color:#fff}
.card-updated.card-updated--today svg{color:#fff;opacity:1}
/* Product card: glass tag pill (top-right), bolder price, side-by-side buttons */
/* Tag colors (picked in the admin catalog): --t/--t2 glass tint, --tb border, --s solid badge */
.tagc-blue{--t:0,102,255;--t2:0,102,255;--tb:#6ba8ff;--s:#0066ff}
.tagc-amber{--t:245,158,11;--t2:180,83,9;--tb:rgba(251,191,36,.8);--s:#92400e}
.tagc-purple{--t:124,58,237;--t2:91,33,182;--tb:rgba(167,139,250,.8);--s:#6d28d9}
.tagc-green{--t:22,163,74;--t2:21,128,61;--tb:rgba(74,222,128,.8);--s:#166534}
.tagc-red{--t:220,38,38;--t2:153,27,27;--tb:rgba(248,113,113,.8);--s:#991b1b}
.tagc-pink{--t:219,39,119;--t2:157,23,77;--tb:rgba(244,114,182,.8);--s:#9d174d}
.tagc-gray{--t:107,114,128;--t2:55,65,81;--tb:rgba(255,255,255,.5);--s:#374151}
.product-card .card-tag{top:11px;bottom:auto;left:auto;right:11px;padding:5px 10px;color:#fff;font-family:"Space Grotesk",var(--font);font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;border-color:var(--tb);background:linear-gradient(180deg,rgba(var(--t),.62),rgba(var(--t2),.42)),rgba(8,10,16,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 2px 12px rgba(var(--t),.4)}
.card-v2{container-type:inline-size;border-radius:16px}
.card-v2:hover{border-color:rgba(0,102,255,.65);box-shadow:0 0 0 1px rgba(0,102,255,.28),0 14px 32px rgba(0,40,120,.38)}
.card-v2 .product-card-body{gap:12px;padding:16px;text-align:left}
.card-v2 .product-card-price{color:#fff;font-size:1.0625rem;font-weight:800;letter-spacing:-.01em;line-height:1.25}
.card-v2 .product-card-price small{margin-right:2px;color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:0}
.card-v2 .product-card-actions .button-quiet{background:transparent;border-color:#596476}
.card-v2 .product-card-actions .button-quiet:hover{background:rgba(255,255,255,.06);border-color:#7b879b}
@container (min-width:232px){.card-v2 .product-card-actions{grid-template-columns:1fr 1fr;gap:8px}}
/* Narrow cards (4 columns on small laptops): smaller chips, no icon, so "Updated Sep 2026" and "Online" never touch */
@container (max-width:259px){
.card-v2 .card-updated{padding:5px 8px;font-size:11px}
.card-v2 .card-updated svg{display:none}
.card-v2 .card-status{padding:5px 8px;font-size:11px;gap:6px}
}.product-card-actions{display:grid;gap:9px;margin-top:auto;padding-top:4px}
.product-card-actions .button{width:100%;min-height:44px;padding:8px 12px;border-radius:10px;font-size:.88rem}
.product-card-actions .button-quiet{border-color:#596476;background:#2b3038}
.product-card-actions .button-primary,.product-card-actions .button-primary:active{box-shadow:none}
.product-card-actions .button-primary:disabled{cursor:not-allowed;border-color:#54575d;background:#555a62;color:#c5c8ce;box-shadow:none;transform:none;opacity:.68}
.card-status,.card-updated,.card-tag{position:absolute;z-index:3;bottom:11px;display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.26);border-radius:10px;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.03)),rgba(12,16,22,.34);-webkit-backdrop-filter:blur(14px) saturate(1.5);backdrop-filter:blur(14px) saturate(1.5);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 2px 10px rgba(0,0,0,.18);color:#f5f7f8;font-size:12px;line-height:1.2;white-space:nowrap;text-shadow:0 1px 2px rgba(0,0,0,.55)}
.card-status{right:11px;gap:7px;padding:6px 10px;font-weight:800;letter-spacing:.01em}
.card-status-dot{width:8px;height:8px;flex:none;border-radius:50%;background:#4ade80;box-shadow:0 0 0 3px rgba(74,222,128,.14),0 0 12px 3px rgba(74,222,128,.5)}
.card-status--updating .card-status-dot{background:#fb923c;box-shadow:0 0 0 3px rgba(251,146,60,.15),0 0 12px 3px rgba(251,146,60,.5)}
.status-updating{color:#fb923c}
.card-status--offline .card-status-dot{background:#fb7185;box-shadow:0 0 0 3px rgba(251,113,133,.15),0 0 12px 3px rgba(251,113,133,.5)}

.product-badge{display:inline-flex;align-items:center;padding:5px 9px;border:1px solid var(--tb);background:var(--s);border-radius:6px;color:#fff;font-family:var(--font);font-size:13px;font-weight:800;letter-spacing:.12em;line-height:1.3;text-transform:none}
.support-section{padding-block:12px 60px}
.support-panel{border:1px solid var(--line);border-radius:20px;background:linear-gradient(160deg,rgba(0,102,255,.18),rgba(0,102,255,.08)),var(--panel);padding:32px;box-shadow:0 18px 34px rgba(12,15,20,.25)}
.support-panel h2{font-size:30px}
.support-panel p{margin-top:12px;color:var(--muted);font-size:1rem}
.support-panel .button{margin-top:25px}

/* ---------- 6. Product page ---------- */
.product-page{width:min(880px,calc(100% - 48px));padding-block:20px 50px}
.breadcrumbs{margin-bottom:14px;padding:8px 16px;border:1px solid var(--line);border-radius:12px;background:rgba(33,37,46,.72)}
.breadcrumbs ol{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.breadcrumbs li{display:inline-flex;align-items:center;min-width:0;color:var(--muted);font-size:.875rem;font-weight:700}
.breadcrumbs li+li::before{content:"";display:block;width:7px;height:7px;margin-right:10px;border-top:1px solid #7c8797;border-right:1px solid #7c8797;transform:rotate(45deg)}
.breadcrumbs a,.breadcrumbs [aria-current]{display:inline-flex;align-items:center;min-height:44px;overflow-wrap:anywhere}
.breadcrumbs a:hover{color:var(--text)}
.breadcrumbs [aria-current]{color:#9ec2ff}
.product-hero,.screens-section,.product-overview,.feature-group{border:1px solid var(--line);border-radius:16px;background:rgba(33,37,46,.82);margin-bottom:18px}
.product-hero{padding:24px}
.product-hero h1{font-size:clamp(1.75rem,3.5vw,2.35rem);margin-top:18px;max-width:22ch}
.product-lead{margin:8px 0 0;max-width:60ch;color:var(--muted);font-size:1rem}
.product-os{display:flex;align-items:center;gap:8px;margin:6px 0 0;color:var(--muted);font-size:.875rem;font-weight:700}
.product-os .icon{width:14px;height:14px;flex:none;color:#5fb4ff}
.product-os.product-updated{margin-top:2px}
.purchase-dialog-os.product-updated{margin-top:-10px}
.product-platforms{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:8px 0 0;color:var(--muted);font-size:.8125rem;font-weight:700}
.product-platforms>span:first-child{margin-right:2px}
.platform-chip{padding:2px 8px;border:1px solid #46536a;border-radius:6px;background:#29313d;color:#dceaff;font-size:.75rem;font-weight:750;line-height:1.5}

.purchase-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;margin-top:20px}
.purchase-heading h2{font-size:1rem}
.purchase-dialog-intro{text-align:center;color:var(--muted);font-size:.88rem}
.purchase-from{color:var(--muted);font-size:.85rem}
.purchase-from strong{color:var(--text)}
.purchase-options{display:grid;grid-template-columns:minmax(0,1fr);width:100%;align-items:stretch;gap:6px;margin-top:12px;scroll-margin-top:105px}
.purchase-empty{grid-column:1/-1;color:var(--muted)}
.purchase-terms{margin-top:6px;padding-inline:2px;color:var(--muted);font-size:.8rem}
.pay-row{--pay:#78aaff;display:flex;align-items:center;gap:10px;padding:8px 8px 8px 10px;border:1px solid #3b4452;border-radius:10px;background:#1f242c}
.pay-row--sellup{--pay:#f5b942}
.pay-row--oplata{--pay:#5b9bff}
.pay-row--funpay{--pay:#3ecf8e}
.pay-row--telegram{--pay:#29a9ea}
.pay-icon{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:8px;background:color-mix(in srgb,var(--pay) 16%,transparent);color:var(--pay)}
.pay-icon .icon{width:16px;height:16px}
.pay-info{display:grid;gap:3px;min-width:0;line-height:1.25}
.pay-info strong{font-size:.9rem}
.pay-info small{color:var(--muted);font-size:.72rem}
.pay-name{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
.pay-tag{display:inline-flex;align-items:center;padding:2px 6px;border:1px solid;border-radius:5px;color:#fff;font-size:10.5px;font-weight:800;letter-spacing:.06em;line-height:1.3;white-space:nowrap}
.pay-tag--direct{border-color:#6ba8ff;background:#0066ff}
.pay-tag--nofee{border-color:#4ade80;background:#166534}
.pay-tag--fees{border-color:#fbbf24;background:#92400e}
.pay-tag--neutral{border-color:#6b7280;background:#374151}
.pay-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;margin-left:auto}
.pay-link{display:inline-flex;align-items:center;gap:4px;padding:6px 10px;border:1px solid color-mix(in srgb,var(--pay) 45%,transparent);border-radius:8px;color:var(--text);font-size:.8rem;font-weight:700;white-space:nowrap;transition:background .15s,border-color .15s}
.pay-link:hover,.pay-link:focus-visible{border-color:var(--pay);background:color-mix(in srgb,var(--pay) 14%,transparent)}
.pay-link .icon{width:12px;height:12px}
.pay-row--link{color:var(--text);transition:border-color .15s,background .15s,transform .15s}
.pay-row--link:hover,.pay-row--link:focus-visible{border-color:var(--pay);background:color-mix(in srgb,var(--pay) 10%,#1f242c);transform:translateY(-1px)}
.pay-go{display:inline-flex;align-items:center;gap:4px;margin-left:auto;padding-right:4px;color:var(--muted);font-size:.8rem;font-weight:700}
.pay-row--link:hover .pay-go,.pay-row--link:focus-visible .pay-go{color:var(--pay)}
.pay-go .icon{width:14px;height:14px}
.pay-contact{display:flex;align-items:center;justify-content:flex-start;gap:6px;margin-top:4px;padding:6px 2px;color:var(--muted);font-size:.8rem}
.pay-contact strong{color:var(--text)}
.pay-contact:hover strong,.pay-contact:focus-visible strong{color:#29a9ea;text-decoration:underline}
.pay-contact .icon{width:15px;height:15px}

.screens-section{padding:20px}
.screens-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.screenshot{display:block;position:relative;aspect-ratio:16/9;overflow:hidden;border:0;border-radius:12px;background:var(--panel-high);transition:transform .2s,border-color .2s,box-shadow .2s}
.screenshot>img{width:100%;height:100%;object-fit:cover;transition:transform .2s}
.screenshot>span{position:absolute;inset:auto 0 0;display:flex;align-items:center;justify-content:space-between;padding:22px 12px 9px;color:#e4e4e4;background:linear-gradient(transparent,#05080ee8);font-size:12px}
.screenshot .icon{width:15px;height:15px}
.screenshot:hover{transform:translateY(-2px);outline:1px solid #0066ff8c;outline-offset:-1px;box-shadow:0 12px 24px #090e1666}
.screenshot:hover>img{transform:scale(1.03)}

.features-section{scroll-margin-top:105px}
.feature-group{overflow:hidden}
.feature-group summary{position:relative;display:flex;align-items:center;justify-content:center;min-height:54px;padding:12px 45px;list-style:none}
.feature-group summary::-webkit-details-marker{display:none}
.feature-group summary h3{font-size:18px;text-align:center}
.feature-group summary>.icon{position:absolute;right:20px;top:18px;width:17px;height:17px;color:var(--muted);transition:transform .26s ease}
.feature-group[open] summary>.icon{transform:rotate(180deg)}
.feature-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 12px 12px}
.feature-list{min-width:0;border:1px solid var(--line);border-radius:14px;padding:13px;background:var(--panel-high)}
.feature-list:only-child{grid-column:1/-1}
.feature-list h4{text-align:center;font-size:16px;font-weight:700}
.feature-list ul{margin:10px 0 0;padding-left:20px;display:grid;gap:4px}
.feature-list li{color:var(--muted);font-size:.9375rem;line-height:1.45;overflow-wrap:anywhere}
.product-bottom{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:22px;padding-top:12px}

/* ---------- 7. Dialogs: product popup (features / purchase / offline) and screenshot lightbox ---------- */
.dialog-open{overflow:hidden}
.product-dialog{position:fixed;inset:0;width:min(860px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid rgba(255,255,255,.13);border-radius:20px;background:#1d222a;color:var(--text);box-shadow:0 30px 100px #000a;overflow:hidden}
.product-dialog[open]{display:flex;flex-direction:column}
/* Header: the card art as a banner fading into the dialog body; title over it, round glass close button in the corner. */
.product-dialog-top{position:relative;flex:none;display:flex;align-items:flex-end;height:132px;padding:16px 20px;background:#171b22}
.product-dialog-top img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 28%}
.product-dialog-top::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(29,34,42,.15) 0,rgba(29,34,42,.55) 55%,#1d222a 100%)}
.product-dialog-heading{position:relative;z-index:1;min-width:0}
.product-dialog-heading p{margin:0 0 2px;color:var(--accent-text);font-family:"Space Grotesk",var(--font);font-size:.75rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.product-dialog-top h2{font-size:1.5rem;line-height:1.2;letter-spacing:-.01em;overflow-wrap:anywhere}
.product-dialog-top .icon-button{position:absolute;z-index:2;top:12px;right:12px;width:44px;height:44px;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:rgba(12,16,22,.45);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;transition:background .15s,border-color .15s}
.product-dialog-top .icon-button:hover{background:rgba(255,255,255,.2);border-color:rgba(255,255,255,.4)}
.product-dialog-content{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px 20px 20px}
.product-dialog-content .product-page{width:100%;padding:0}
/* Features: no boxes inside the box. Sections are separated by space, accordion rows by hairlines. */
.product-dialog-content .screens-section,.product-dialog-content .product-overview{margin:0 0 24px;padding:0;border:0;border-radius:0;background:none}
.product-dialog-content .faq-section--panel{margin:28px 0 0;padding:0;border:0;border-radius:0;background:none}
.product-dialog-top .icon-button:focus-visible{outline-offset:2px}
.product-dialog-content .feature-group{margin:0;border:0;border-top:1px solid var(--line);border-radius:0;background:none}
.product-dialog-content .feature-group:last-of-type{border-bottom:1px solid var(--line)}
.product-dialog-content .feature-group summary{justify-content:flex-start;min-height:54px;padding:14px 36px 14px 2px}
.product-dialog-content .feature-group summary h3{font-size:1.0625rem;text-align:left}
.product-dialog-content .feature-group summary>.icon{right:2px;top:50%;margin-top:-8.5px}
.product-dialog-content .feature-columns{padding:0 0 14px}
.product-dialog-message{margin:12px 0 18px;color:var(--muted);font-size:1rem}
.product-dialog--purchase{width:min(430px,calc(100% - 32px))}
.product-dialog--purchase .product-dialog-top,.product-dialog--unavailable .product-dialog-top{height:104px}
.product-dialog--purchase .product-dialog-content{padding:8px 18px 20px}
.product-dialog--purchase .purchase-options{width:100%;margin-top:10px}
.purchase-dialog-os{justify-content:center;margin:-4px 0 12px;font-size:.8125rem}
.purchase-dialog-platforms{justify-content:center;margin:-6px 0 12px}
.product-dialog--unavailable{width:min(460px,calc(100% - 32px))}
.product-dialog--unavailable .product-dialog-content{padding:22px 24px 26px}
.product-dialog--unavailable .product-dialog-message{margin:0;color:var(--text);font-size:1rem}
.lightbox{position:fixed;inset:0;width:min(1100px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid rgba(255,255,255,.13);border-radius:20px;background:#1d222a;color:var(--text);box-shadow:0 30px 100px #000a;overflow:hidden}
/* Image fills the box; round glass controls float over it, same style as the product popup close button. */
.lightbox-image-wrap{display:flex;align-items:center;justify-content:center;background:#171b22}
.lightbox-image-wrap img{display:block;width:100%;height:auto;max-height:calc(100dvh - 34px);object-fit:contain}
.lightbox-btn{position:absolute;z-index:2;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:rgba(12,16,22,.45);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;cursor:pointer;transition:background .15s,border-color .15s}
.lightbox-btn:hover{background:rgba(255,255,255,.2);border-color:rgba(255,255,255,.4)}
.lightbox-btn:focus-visible{outline-offset:2px}
.lightbox-close{top:12px;right:12px}
.lightbox-prev,.lightbox-next{top:50%;margin-top:-22px}
.lightbox-prev{left:12px}
.lightbox-next{right:12px}
.lightbox-count{position:absolute;z-index:2;left:12px;bottom:12px;padding:5px 11px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(12,16,22,.45);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;font-size:.8125rem;font-weight:600;font-variant-numeric:tabular-nums}

.product-dialog,.lightbox{opacity:0;transform:translateY(14px) scale(.985);transition:opacity .22s ease,transform .22s cubic-bezier(.2,.8,.2,1)}
.product-dialog.is-open,.lightbox.is-open{opacity:1;transform:translateY(0) scale(1)}
.product-dialog::backdrop,.lightbox::backdrop{background-color:transparent;backdrop-filter:blur(4px);transition:background-color .22s ease}
.lightbox::backdrop{backdrop-filter:none}
.product-dialog::backdrop{backdrop-filter:blur(3px)}
.product-dialog.is-open::backdrop{background-color:#060a13b8}
.lightbox.is-open::backdrop{background-color:#080b12d9}

/* ---------- 8. Offline product page and error pages ---------- */
.product-page--unavailable{min-height:55vh}
.unavailable-page{max-width:640px;margin:22px 0 64px;padding:36px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel)}
.unavailable-page h1{margin-top:12px;font-size:clamp(1.9rem,4vw,2.7rem)}
.unavailable-page>p:not(.eyebrow){margin:14px 0 26px;color:var(--muted)}
.error-main{display:flex;align-items:center;min-height:calc(100vh - 160px);padding-block:48px}
.error-page{width:min(680px,100%);padding:clamp(28px,5vw,48px);border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);box-shadow:0 20px 55px #15191e50}
.error-code{display:block;margin-bottom:14px;font-family:"Space Grotesk",var(--font);font-size:clamp(4rem,14vw,7rem);font-weight:700;line-height:1;color:var(--accent)}
.error-page h1{font-size:clamp(1.8rem,4vw,2.5rem)}
.error-page p{margin-top:16px;color:var(--muted)}
.error-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}

/* ---------- 9. Motion ---------- */
@keyframes original-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes products-target-soft{0%{border-color:rgba(0,102,255,.58);box-shadow:0 0 0 1px rgba(0,102,255,.24),0 8px 16px rgba(0,102,255,.1)}100%{border-color:var(--line);box-shadow:none}}
@media(prefers-reduced-motion:no-preference){
.hero-copy{animation:original-rise .8s ease both}
.catalog-section>.container{animation:original-rise .8s .12s ease both}
.support-panel{animation:original-rise .8s .22s ease both}
#products-local:target .product-card{animation:products-target-soft .95s ease-out}
.button:active{transform:translateY(1px) scale(.98);box-shadow:0 4px 12px rgba(0,102,255,.2)}
.product-card:active{transform:translateY(0) scale(.985)}
}
@media(prefers-reduced-motion:reduce){
*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
.product-dialog,.lightbox,.product-dialog::backdrop,.lightbox::backdrop{transition:none!important}
}

/* ---------- 10. Responsive ---------- */
@media(max-width:900px){
.main-nav{font-size:.9375rem;gap:18px}
.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.screens-grid{gap:10px}
.footer-inner{align-items:start;flex-wrap:wrap}
}
@media(max-width:760px){
.site-header-public{height:auto}
.site-header-public .header-inner{flex-wrap:wrap;padding-block:9px}
.site-header-public .main-nav{width:100%;justify-content:space-between;flex-wrap:wrap;gap:4px 10px}
.site-header-public .main-nav>a{font-size:.8rem}
.site-header-public .main-nav .button{padding-inline:10px}
.footer-inner nav{flex-wrap:wrap;gap:5px 16px}
}
@media(max-width:600px){
html{scroll-padding-top:116px}
.container{width:calc(100% - 36px)}
.site-header-public .header-inner{gap:3px}
.site-header-public .main-nav{font-size:.8125rem}
.main-nav .button-small{font-size:.8125rem}
.eyebrow{font-size:.8125rem;letter-spacing:.1em}
.hero{width:calc(100% - 36px);padding-block:40px 45px}
.hero h1{font-size:2.6rem;margin-top:22px}
.hero-description{font-size:1rem;margin-top:22px}
.hero-actions{gap:12px;margin-top:25px}
.hero-actions .button{min-height:48px;font-size:.9375rem;padding:12px 17px}
.catalog-section{padding-block:22px 35px;scroll-margin-top:112px}
.section-heading{margin-bottom:20px}
.section-heading h2{font-size:.875rem}
.section-note{font-size:.875rem}
.product-grid{grid-template-columns:minmax(0,1fr);gap:13px}
.product-card-body{gap:7px}
.product-card h3{font-size:1.0625rem}
.product-card-actions{gap:10px}
.support-section{padding-block:10px 35px}
.support-panel{padding:24px}
.support-panel h2{font-size:27px}
.support-panel p{font-size:.9375rem}
.footer-inner{flex-direction:column;gap:8px;font-size:.8125rem}
.product-page{padding-top:17px}
.product-hero{padding:20px}
.product-hero .eyebrow{flex-wrap:wrap;gap:10px}
.product-hero h1{font-size:1.75rem;overflow-wrap:anywhere}
.purchase-options{margin-top:22px}
.pay-row{flex-wrap:wrap}
.pay-row--link{flex-wrap:nowrap}
.pay-actions{width:100%}
.pay-link{flex:1;justify-content:center}
.screens-section{padding:17px}
.screens-grid{grid-template-columns:minmax(0,1fr);gap:12px}
.features-section{scroll-margin-top:122px}
.feature-group summary{padding-inline:40px;min-height:62px}
.feature-group summary h3{font-size:21px}
.feature-group summary>.icon{right:15px;top:22px}
.feature-columns{grid-template-columns:minmax(0,1fr);gap:13px;padding:0 13px 13px}
.feature-list{padding:16px}
/* Phones: the product popup is a bottom sheet (docked to the bottom edge, rounded top corners, slides up). */
.product-dialog,.product-dialog--purchase,.product-dialog--unavailable{inset:auto 0 0 0;width:100%;max-width:100%;max-height:calc(100dvh - 20px);margin:0;border-width:1px 0 0;border-radius:20px 20px 0 0;transform:translateY(100%);transition:opacity .28s ease,transform .28s cubic-bezier(.2,.8,.2,1)}
.product-dialog.is-open{transform:none}
.product-dialog-top{height:112px;padding:14px 16px}
.product-dialog--purchase .product-dialog-top,.product-dialog--unavailable .product-dialog-top{height:92px}
.product-dialog-top h2{font-size:1.25rem}
.product-dialog-content,.product-dialog--purchase .product-dialog-content,.product-dialog--unavailable .product-dialog-content{padding:6px 16px calc(18px + env(safe-area-inset-bottom))}
.product-dialog-content .feature-columns{gap:13px}
.lightbox{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}
.lightbox-image-wrap img{max-height:calc(100dvh - 22px)}
.lightbox-btn{width:40px;height:40px}
.lightbox-prev,.lightbox-next{margin-top:-20px}
.unavailable-page{padding:24px;margin-top:16px}
.error-main{min-height:calc(100vh - 180px)}
.error-actions .button{width:100%}
}
/* Overview + FAQ: heading column left, content column right; stacked below 900px. */
.product-overview,.faq-section--panel{padding:28px}
.split{display:grid;gap:22px 56px}
.split-label{font-family:"Space Grotesk",var(--font);font-size:.8125rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-text)}
.split-head h2{margin-top:8px;font-size:1.5rem}
.split-hint{margin-top:12px;color:var(--muted);font-size:.9375rem}
.split-head .text-link{margin-top:2px}
.overview-body{display:grid;gap:12px;max-width:62ch}
.overview-body p{color:var(--muted);font-size:1rem;line-height:1.65}
.faq-section{margin-block:64px 56px}
.faq-section--panel{margin:0 0 18px;border:1px solid var(--line);border-radius:16px;background:rgba(33,37,46,.82)}
.faq-list{border-top:1px solid var(--line)}
.faq-item{border-bottom:1px solid var(--line)}
.faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:15px 2px;list-style:none;border-radius:8px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary h3{font-size:1.0625rem;font-weight:600;line-height:1.35;letter-spacing:-.01em;text-align:left;transition:color .2s}
.faq-item summary .icon{width:18px;height:18px;color:var(--muted);transition:transform .22s,color .22s}
.faq-item summary:hover h3,.faq-item[open] summary h3{color:#fff}
.faq-item[open] summary .icon{transform:rotate(180deg);color:var(--accent-text)}
.faq-item summary:focus-visible{outline-offset:2px}
.faq-answer{padding:0 34px 20px 2px}
.faq-answer p{color:var(--muted);font-size:.9375rem;line-height:1.65}
@media (min-width:900px){
.split{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
.faq-section:not(.faq-section--panel) .split-head{position:sticky;top:110px;align-self:start}
}
@media (max-width:700px){.product-overview,.faq-section--panel{padding:20px 17px}.split-head h2{font-size:1.3rem}}
@supports (interpolate-size:allow-keywords){
@media (prefers-reduced-motion:no-preference){
.faq-list{interpolate-size:allow-keywords}
.faq-item::details-content{height:0;overflow:clip;transition:height .22s ease,content-visibility .22s allow-discrete}
.faq-item[open]::details-content{height:auto}
}}
