/* AllCloudShop: Cobalt Signal design system. Tokens first, then layout, components, surfaces, motion. */

:root {
	--bg: #0E1F6B;
	--bg-deep: #0A1650;
	--surface: #1A34B8;
	--surface-55: rgba(26, 52, 184, .55);
	--ice: #EEF4FF;
	--ice-2: #DCE8FF;
	--ink: #F4F8FF;
	--ink-ice: #0B1740;
	--muted: #AFC0F0;
	--muted-ice: #4A5A8C;
	--accent: #2EE6FF;
	--accent-ink: #06263A;
	--line: #3A56D6;
	--line-ice: #C6D4F5;
	--mint: #8CF7D2;
	--amber: #FFD166;
	--font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
	--font-body: "Manrope", "Segoe UI", sans-serif;
	--font-mono: "JetBrains Mono", Consolas, monospace;
	--r-sm: 8px;
	--r-md: 16px;
	--r-pill: 999px;
	--s-xs: 6px; --s-sm: 12px; --s-md: 20px; --s-lg: 36px; --s-xl: 64px; --s-xxl: 112px;
	--wrap: 1240px;
	--gutter: 24px;
	--header-h: 64px;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--glow: 0 0 0 1px rgba(46, 230, 255, .25), 0 12px 40px -12px rgba(46, 230, 255, .35);
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body.acs { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.65; font-weight: 400; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
:where(body.acs) :where(h1, h2, h3, h4) { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; color: inherit; }
:where(body.acs) :where(h1) { font-size: clamp(38px, 5.6vw, 72px); font-variation-settings: "opsz" 96; letter-spacing: -.03em; }
:where(body.acs) :where(h2) { font-size: clamp(28px, 3.4vw, 42px); }
:where(body.acs) :where(h3) { font-size: clamp(20px, 2vw, 25px); }
:where(body.acs) :where(h4) { font-size: 18px; }
:where(body.acs) :where(p) { margin: 0 0 1em; }
:where(body.acs) :where(a) { color: var(--accent); text-decoration: none; }
:where(body.acs) :where(a:hover) { text-decoration: underline; text-underline-offset: 3px; }
:where(body.acs) :where(img, svg) { max-width: 100%; height: auto; display: block; }
:where(body.acs) :where(button) { font: inherit; color: inherit; }
:where(body.acs) :where(ul, ol) { padding-left: 1.3em; margin: 0 0 1.2em; }
:where(body.acs) :where(code) { font-family: var(--font-mono); font-size: .9em; background: rgba(46, 230, 255, .12); padding: .1em .4em; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 9999; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--r-pill); clip: auto; clip-path: none; width: auto; height: auto; }
.acs-wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.acs-i { width: 1em; height: 1em; fill: currentColor; flex: none; }
.acs-main { position: relative; z-index: 1; }

/* ---------- Ambient background ---------- */
.acs-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.acs-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 80, .55), rgba(14, 31, 107, .35) 40%, rgba(10, 22, 80, .7)); }
.acs-bg__grid { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%); }
.acs-bg__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.acs-bg__glow--a { width: 62vw; height: 62vw; left: -18vw; top: -20vw; background: radial-gradient(circle, #1A34B8, transparent 65%); animation: acsDrift 26s var(--ease) infinite alternate; }
.acs-bg__glow--b { width: 48vw; height: 48vw; right: -14vw; top: 18vh; background: radial-gradient(circle, rgba(46, 230, 255, .45), transparent 65%); animation: acsDrift 32s var(--ease) infinite alternate-reverse; }
.acs-bg__glow--c { width: 40vw; height: 40vw; left: 30vw; bottom: -20vw; background: radial-gradient(circle, rgba(140, 247, 210, .28), transparent 65%); animation: acsDrift 38s var(--ease) infinite alternate; }
@keyframes acsDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6vw, 4vh, 0) scale(1.12); } }

/* ---------- Buttons, chips, links ---------- */
.acs-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: var(--r-pill); font-weight: 600; font-size: 15px; line-height: 1; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; white-space: nowrap; }
.acs-btn:hover { text-decoration: none; transform: translateY(-1px); }
.acs-btn:active { transform: translateY(0) scale(.98); }
.acs-btn--primary { background: var(--accent); color: var(--accent-ink); }
.acs-btn--primary:hover { box-shadow: var(--glow); }
.acs-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.acs-btn--ghost:hover { border-color: var(--accent); }
.acs-btn--ice { background: var(--ink-ice); color: #fff; }
.acs-btn .acs-i { transition: transform .25s var(--ease); }
.acs-btn:hover .acs-i { transform: translateX(3px); }
.acs-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.acs-chan { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; border: 1px solid var(--line); color: var(--ink); background: rgba(10, 22, 80, .4); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.acs-chan:hover { text-decoration: none; transform: translateY(-1px); }
.acs-chan--telegram:hover { border-color: #37AEE2; box-shadow: 0 8px 24px -10px rgba(55, 174, 226, .6); }
.acs-chan--whatsapp:hover { border-color: #25D366; box-shadow: 0 8px 24px -10px rgba(37, 211, 102, .6); }
.acs-chan--telegram .acs-i { color: #37AEE2; }
.acs-chan--whatsapp .acs-i { color: #25D366; }
.acs-chan--sm { padding: 5px 12px; font-size: 13px; border-color: transparent; background: transparent; }
.acs-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.acs-mark { width: 40px; height: 40px; flex: none; border-radius: 12px; }
.acs-mark--logo { padding: 8px; background: #fff; }

/* ---------- Header ---------- */
.acs-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 22, 80, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid rgba(58, 86, 214, .5); }
.acs-utility { background: var(--bg-deep); border-bottom: 1px solid rgba(58, 86, 214, .35); font-size: 13px; }
.acs-utility__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.acs-utility__msg { margin: 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acs-utility__links { display: flex; align-items: center; gap: 4px; flex: none; }
.acs-utility__cur { color: var(--muted); font-family: var(--font-mono); font-size: 12px; padding-left: 10px; border-left: 1px solid var(--line); margin-left: 6px; }
.acs-mainbar__row { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.acs-logo { display: inline-flex; align-items: center; color: var(--ink); }
.acs-logo:hover { text-decoration: none; }
.acs-logo__svg { height: 40px; width: auto; }
.acs-logo__mark { transition: transform .4s var(--ease); transform-origin: 22px 22px; }
.acs-logo:hover .acs-logo__mark { transform: rotate(-6deg); }
.acs-nav { flex: 1; display: flex; justify-content: center; }
.acs-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.acs-nav__list a, .acs-nav__btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: var(--r-pill); color: var(--ink); font-weight: 600; font-size: 15px; background: transparent; border: 0; cursor: pointer; position: relative; transition: background .2s; }
.acs-nav__list a:hover, .acs-nav__btn:hover, .acs-nav__btn[aria-expanded="true"] { background: rgba(46, 230, 255, .1); text-decoration: none; }
.acs-nav__list a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent); }
.acs-nav__btn .acs-i { transition: transform .25s; }
.acs-nav__btn[aria-expanded="true"] .acs-i { transform: rotate(180deg); }
.acs-actions { display: flex; align-items: center; gap: 6px; }
.acs-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--r-pill); border: 1px solid transparent; background: transparent; color: var(--ink); cursor: pointer; font-size: 20px; position: relative; transition: background .2s, border-color .2s; }
.acs-iconbtn:hover { background: rgba(46, 230, 255, .1); border-color: var(--line); text-decoration: none; }
.acs-cart__count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-family: var(--font-mono); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.acs-burger { display: none; }
.acs-search { border-top: 1px solid rgba(58, 86, 214, .5); background: var(--bg-deep); padding: 14px 0 16px; }
.acs-search__form { display: flex; align-items: center; gap: 12px; }
.acs-search__form .acs-i { font-size: 20px; color: var(--muted); }
.acs-search__form input { flex: 1; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); font: inherit; font-size: 18px; padding: 8px 0; outline: none; }
.acs-search__form input:focus { border-color: var(--accent); }
.acs-search__quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.acs-search__quick a { padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.acs-search__quick a:hover { border-color: var(--accent); text-decoration: none; }

/* Mega menu */
.acs-mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-deep); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); animation: acsFade .25s var(--ease); }
.acs-mega__inner { padding: 22px 0 26px; }
.acs-mega__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.acs-mega__filter { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--line); width: min(360px, 100%); }
.acs-mega__filter .acs-i { color: var(--muted); }
.acs-mega__filter input { background: transparent; border: 0; color: var(--ink); font: inherit; font-size: 15px; outline: none; width: 100%; }
.acs-mega__groups { display: grid; grid-template-columns: 1.1fr 2fr .7fr; gap: 28px; }
.acs-mega__title { font-size: 12px; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.acs-mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.acs-mega__group[data-tier="developer"] .acs-mega__list { grid-template-columns: 1fr 1fr; }
.acs-mega__list a { display: grid; grid-template-columns: 32px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 8px 10px; border-radius: var(--r-sm); color: var(--ink); transition: background .2s; }
.acs-mega__list a:hover { background: rgba(46, 230, 255, .08); text-decoration: none; }
.acs-mega__mark { width: 32px; height: 32px; border-radius: 9px; grid-row: 1 / 3; }
.acs-mega__name { font-weight: 600; font-size: 15px; }
.acs-mega__tag { font-size: 12.5px; color: var(--muted); }
.acs-mega__empty { color: var(--muted); margin: 12px 0 0; }

/* Provider rail */
.acs-rail { border-top: 1px solid rgba(58, 86, 214, .35); background: rgba(14, 31, 107, .6); }
.acs-rail__scroll { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px 0; -webkit-overflow-scrolling: touch; }
.acs-rail__scroll::-webkit-scrollbar { display: none; }
.acs-rail__chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: var(--r-pill); border: 1px solid transparent; color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; flex: none; transition: border-color .2s, background .2s; }
.acs-rail__chip:hover, .acs-rail__chip.is-active { border-color: var(--pc); background: color-mix(in srgb, var(--pc) 14%, transparent); text-decoration: none; }
.acs-rail__mark { width: 22px; height: 22px; border-radius: 6px; }
.acs-rail__mark.acs-mark--logo { padding: 4px; }

/* Mobile drawer */
.acs-mobile { position: fixed; inset: 0; z-index: 60; background: var(--bg-deep); overflow-y: auto; padding: 0 var(--gutter) 40px; animation: acsSlide .3s var(--ease); }
.acs-mobile__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.acs-mobile__nav { display: grid; gap: 4px; margin: 12px 0 20px; }
.acs-mobile__nav a { display: flex; align-items: center; gap: 12px; padding: 14px 12px; border-radius: var(--r-sm); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.acs-mobile__nav a .acs-i { color: var(--accent); font-size: 22px; }
.acs-mobile__providers summary { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); cursor: pointer; padding: 8px 12px; }
.acs-mobile__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px 0; }
.acs-mobile__grid a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--ink); font-weight: 600; font-size: 15px; border: 1px solid transparent; }
.acs-mobile__grid a:active { border-color: var(--pc); }
.acs-mobile__mark { width: 28px; height: 28px; border-radius: 8px; }
.acs-mobile__support { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 22px; }

/* ---------- Sections, panels, cards ---------- */
.acs-section { padding: var(--s-xl) 0; position: relative; }
.acs-section--tight { padding: var(--s-lg) 0; }
.acs-sechead { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.acs-sechead h2 { margin: 0; }
.acs-sechead p { color: var(--muted); margin: 6px 0 0; max-width: 60ch; }
.acs-panel { background: var(--ice); color: var(--ink-ice); border-radius: var(--r-md); padding: clamp(24px, 4vw, 48px); border: 1px solid rgba(255, 255, 255, .5); }
.acs-card { position: relative; background: var(--surface-55); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; }
.acs-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--pc, var(--accent)) 60%, var(--line)); box-shadow: 0 20px 50px -24px color-mix(in srgb, var(--pc, var(--accent)) 60%, transparent); }
.acs-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--pc, var(--accent)) 22%, transparent), transparent 70%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.acs-card:hover::before { opacity: 1; }
.acs-pcard__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.acs-grid { display: grid; gap: 18px; }
.acs-grid--3 { grid-template-columns: repeat(3, 1fr); }
.acs-grid--4 { grid-template-columns: repeat(4, 1fr); }
.acs-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Product card */
.acs-pcard { display: flex; flex-direction: column; gap: 12px; min-height: 260px; }
.acs-pcard__top { display: flex; align-items: center; gap: 12px; }
.acs-pcard__mark { width: 44px; height: 44px; }
.acs-pcard__id { display: flex; flex-direction: column; gap: 2px; }
.acs-pcard__provider { font-weight: 600; font-size: 14px; }
.acs-pcard__tier { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.acs-pcard__title { font-size: 22px; margin: 4px 0 0; }
.acs-pcard__desc { color: var(--muted); font-size: 14.5px; margin: 0; flex: 1; }
.acs-pcard__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(58, 86, 214, .5); padding-top: 12px; }
.acs-pcard__price { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--accent); }
.acs-pcard__price .acs-from { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; font-weight: 500; }
.acs-pcard__variants { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.acs-pcard__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); }
.acs-pcard__cta .acs-i { transition: transform .3s var(--ease); color: var(--accent); }
.acs-card:hover .acs-pcard__cta .acs-i { transform: translateX(4px); }

/* Matrix card */
.acs-mcard { display: flex; flex-direction: column; gap: 10px; }
.acs-mcard__pair { display: flex; align-items: center; gap: 10px; }
.acs-mcard__side { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.acs-mcard__side .acs-mark { width: 30px; height: 30px; border-radius: 8px; }
.acs-mcard__vs { font-family: var(--font-mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 2px 8px; }
.acs-mcard__title { font-size: 20px; margin: 4px 0 0; }
.acs-mcard__desc { color: var(--muted); font-size: 14.5px; margin: 0; flex: 1; }

/* Journal card */
.acs-jcard { padding: 0; display: flex; flex-direction: column; }
.acs-jcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-deep); }
.acs-jcard__media img, .acs-jcard__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.acs-card:hover .acs-jcard__media img, .acs-card:hover .acs-jcard__media svg { transform: scale(1.04); }
.acs-jcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.acs-jcard__cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.acs-jcard__title { font-size: 19px; margin: 0; }
.acs-jcard__desc { color: var(--muted); font-size: 14.5px; margin: 0; flex: 1; }
.acs-jcard__meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.acs-jcard--featured { grid-column: span 2; grid-row: span 2; }
.acs-jcard--featured .acs-jcard__title { font-size: clamp(24px, 2.6vw, 32px); }

/* ---------- Page hero (shared by archives, pages, product) ---------- */
.acs-phero { padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); position: relative; }
.acs-phero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.acs-phero h1 { max-width: 18ch; }
.acs-phero__sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 62ch; margin: 0; }
.acs-crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.acs-crumbs ol, .acs-crumbs .rank-math-breadcrumb p { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.acs-crumbs li + li::before, .acs-crumbs .separator { content: "/"; margin-right: 6px; color: var(--line); }
.acs-crumbs a { color: var(--muted); }
.acs-crumbs a:hover { color: var(--accent); }
.acs-crumbs .separator { margin: 0 6px; }

/* ---------- Long-form reading (ice panels) ---------- */
.acs-longform { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.acs-toc { position: sticky; top: calc(var(--header-h) + 60px); }
.acs-toc__label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.acs-toc__list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); max-height: calc(100vh - var(--header-h) - 120px); overflow-y: auto; }
.acs-toc__list a { display: block; padding: 6px 14px; font-size: 13.5px; color: var(--muted); border-left: 2px solid transparent; margin-left: -1px; transition: color .2s, border-color .2s; }
.acs-toc__list a:hover, .acs-toc__list a.is-active { color: var(--ink); border-color: var(--accent); text-decoration: none; }
.acs-prose { background: var(--ice); color: var(--ink-ice); border-radius: var(--r-md); padding: clamp(22px, 4vw, 56px); }
.acs-prose .acs-sec { scroll-margin-top: calc(var(--header-h) + 60px); padding: 8px 0 20px; }
.acs-prose .acs-sec + .acs-sec { border-top: 1px solid var(--line-ice); padding-top: 34px; margin-top: 18px; }
.acs-prose :where(h2) { font-size: clamp(26px, 2.6vw, 34px); margin-top: 0; }
.acs-prose :where(h3) { margin-top: 1.6em; color: var(--ink-ice); }
.acs-prose :where(h4) { margin-top: 1.4em; }
.acs-prose :where(p, li) { max-width: 70ch; font-size: 17px; }
.acs-prose :where(a) { color: #1233B5; text-decoration: underline; text-decoration-color: rgba(18, 51, 181, .3); text-underline-offset: 3px; }
.acs-prose :where(a:hover) { text-decoration-color: currentColor; }
.acs-prose :where(strong) { font-weight: 700; }
.acs-prose :where(ul) { list-style: none; padding-left: 0; }
.acs-prose :where(ul > li) { position: relative; padding-left: 22px; margin-bottom: 8px; }
.acs-prose :where(ul > li)::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 2px; background: #1233B5; transform: rotate(45deg); }
.acs-prose :where(ol > li) { margin-bottom: 8px; }
.acs-prose :where(blockquote) { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--muted-ice); }
.acs-prose :where(code) { background: rgba(18, 51, 181, .08); color: #0B1740; }
.acs-checklist li::before { background: none !important; width: 16px !important; height: 16px !important; top: 6px !important; left: 0 !important; transform: none !important; border-radius: 50% !important; background-color: #1233B5 !important; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / 14px no-repeat, linear-gradient(#000 0 0); mask-composite: exclude; -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / 14px no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; }
.acs-checklist li { padding-left: 26px !important; }
.acs-table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line-ice); border-radius: var(--r-sm); }
.acs-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.acs-table th, .acs-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line-ice); vertical-align: top; }
.acs-table thead th { background: var(--ice-2); font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-ice); font-weight: 500; }
.acs-table tbody tr:last-child td { border-bottom: 0; }
.acs-table td:has(> strong:only-child) { font-weight: 700; }
.acs-callout { margin: 1.4em 0; padding: 16px 20px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line-ice); border-left: 4px solid #1233B5; }
.acs-callout p:last-child { margin-bottom: 0; }
.acs-callout--tip { border-left-color: #0FA97A; }
.acs-callout--warn { border-left-color: #D99A00; }
.acs-faq { display: grid; gap: 8px; margin: 1em 0; }
.acs-faq details { background: #fff; border: 1px solid var(--line-ice); border-radius: var(--r-sm); padding: 0 18px; transition: border-color .2s; }
.acs-faq details[open] { border-color: #1233B5; }
.acs-faq summary { cursor: pointer; list-style: none; padding: 14px 32px 14px 0; font-weight: 700; font-family: var(--font-display); font-size: 17.5px; position: relative; }
.acs-faq summary::-webkit-details-marker { display: none; }
.acs-faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--accent); mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11 5h2v14h-2z"/><path d="M5 11h14v2H5z"/></svg>') center / 14px no-repeat; -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11 5h2v14h-2z"/><path d="M5 11h14v2H5z"/></svg>') center / 14px no-repeat; transition: transform .3s var(--ease); background-color: #1233B5; }
.acs-faq details[open] summary::after { transform: rotate(45deg); }
.acs-faq__a { padding: 0 0 16px; color: var(--ink-ice); }
.acs-faq__a p:last-child { margin: 0; }
.acs-prose .acs-faq :where(p) { max-width: none; }

/* Dark-context prose (used on dark panels) */
.acs-prose--dark { background: transparent; color: var(--ink); padding: 0; }
.acs-prose--dark :where(a) { color: var(--accent); }

/* ---------- Footer ---------- */
.acs-footer { position: relative; z-index: 1; margin-top: var(--s-xxl); background: var(--bg-deep); border-top: 1px solid var(--line); overflow: hidden; }
.acs-footer__topo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.acs-footer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 80, .3), rgba(10, 22, 80, .92) 70%); pointer-events: none; }
.acs-footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1.6fr .8fr .8fr; gap: 40px; padding: 64px 0 40px; }
.acs-footer__brand p { color: var(--muted); font-size: 15px; max-width: 40ch; margin: 18px 0; }
.acs-footer__label { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 4px 0 10px; }
.acs-footer__support { display: flex; gap: 10px; flex-wrap: wrap; }
.acs-footer__col h3 { font-size: 12px; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.acs-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.acs-footer__col a { color: var(--ink); font-size: 15px; }
.acs-footer__col a:hover { color: var(--accent); }
.acs-footer__providers { grid-template-columns: 1fr 1fr; }
.acs-footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 28px; border-top: 1px solid rgba(58, 86, 214, .4); font-size: 13px; color: var(--muted); }
.acs-footer__bottom p { margin: 0; }
.acs-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 10px; }
[hidden] { display: none !important; }
.acs-chan .acs-i { font-size: 1.2em; }
.acs-float__btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); border: 0; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(46, 230, 255, .7); transition: transform .25s var(--ease); }
.acs-float__btn:hover { transform: translateY(-2px); }
.acs-float__menu { display: flex; flex-direction: column; gap: 8px; animation: acsFade .2s var(--ease); }
.acs-float__menu .acs-chan { background: var(--bg-deep); }

/* ---------- Homepage ---------- */
.acs-hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.acs-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.acs-hero__copy h1 { margin-bottom: 20px; }
.acs-hero__copy h1 em { font-style: normal; color: var(--accent); }
.acs-hero__sub { font-size: clamp(17px, 1.7vw, 21px); color: var(--muted); max-width: 52ch; margin-bottom: 30px; }
.acs-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.acs-hero__facts { display: flex; gap: 28px; margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(58, 86, 214, .5); flex-wrap: wrap; }
.acs-hero__fact b { display: block; font-family: var(--font-display); font-size: 28px; line-height: 1; color: var(--ink); }
.acs-hero__fact span { font-size: 13px; color: var(--muted); }
.acs-stage { position: relative; aspect-ratio: 1 / .92; min-height: 380px; }
.acs-stage__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.acs-stage__card { position: absolute; z-index: 2; left: 50%; top: 50%; width: min(296px, 58%); transform: translate(-50%, -50%); background: rgba(10, 22, 80, .78); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; backdrop-filter: blur(10px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .03); transition: border-color .6s var(--ease); }
.acs-stage__card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--pc, var(--accent)) 26%, transparent), transparent); pointer-events: none; transition: background .6s; }
.acs-stage__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.acs-stage__mark { width: 42px; height: 42px; border-radius: 11px; flex: none; transition: transform .5s var(--ease); }
.acs-stage__name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.3; letter-spacing: .005em; }
.acs-stage__tier { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.acs-stage__tag { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; min-height: 2.9em; }
.acs-stage__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.acs-stage__price { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--accent); }
.acs-stage__price small { font-family: var(--font-mono); font-size: 11px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; }
.acs-stage__link { font-weight: 600; font-size: 14px; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.acs-stage__dots { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); display: flex; gap: 5px; }
.acs-stage__dots button { width: 6px; height: 6px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: transform .3s, background .3s; }
.acs-stage__dots button.is-active { background: var(--accent); transform: scale(1.5); }
.acs-stage__swap { animation: acsSwap .6s var(--ease); }
/* Opacity only: a transform here would override the card's centering transform and make it jump. */
@keyframes acsSwap { 0% { opacity: .15; } 100% { opacity: 1; } }
.acs-stage--compact { aspect-ratio: 600 / 900; min-height: 0; }
.acs-stage--compact .acs-stage__tag { min-height: 2.9em; }
.acs-stage--compact .acs-stage__card { top: auto; bottom: 0; transform: translateX(-50%); width: 92%; }
.acs-stage--compact .acs-stage__orbit { width: 42px; height: 42px; padding: 8px; border-radius: 12px; }
.acs-stage__orbit { position: absolute; z-index: 1; width: 56px; height: 56px; border-radius: 14px; background: rgba(10, 22, 80, .8); border: 1px solid var(--line); display: grid; place-items: center; padding: 10px; transition: opacity .6s, transform .6s var(--ease); will-change: transform; }
.acs-stage__orbit .acs-mark { width: 100%; height: 100%; border-radius: 8px; }
.acs-stage__orbit.is-live { border-color: var(--pc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pc) 20%, transparent); }

.acs-hgrid { padding: var(--s-lg) 0 var(--s-xl); }
.acs-hgrid__tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.acs-tab { padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: transparent; color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; transition: background .2s, border-color .2s; }
.acs-tab:hover, .acs-tab.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.acs-hsec { padding: var(--s-lg) 0; }
.acs-hsec--lede { padding-top: var(--s-xl); }
.acs-lede { background: transparent; color: var(--ink); padding: 0; max-width: 78ch; }
.acs-lede :where(h2) { font-size: clamp(30px, 3.6vw, 46px); }
.acs-lede :where(p) { font-size: clamp(17px, 1.5vw, 20px); max-width: none; color: var(--muted); }
.acs-lede :where(p:first-of-type) { color: var(--ink); }
.acs-lede :where(a) { color: var(--accent); text-decoration: none; }
.acs-hsplit { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; background: var(--ice); color: var(--ink-ice); border-radius: var(--r-md); padding: clamp(22px, 4vw, 48px); }
.acs-hsplit .acs-prose { background: transparent; padding: 0; }
.acs-hsplit__aside { position: sticky; top: calc(var(--header-h) + 60px); }
.acs-hsplit__aside .acs-table-wrap { margin: 0; }
.acs-prose--wide :where(p, li) { max-width: 78ch; }
.acs-hintro { background: transparent; color: var(--ink); padding: 0; max-width: 70ch; }
.acs-hintro :where(p) { color: var(--muted); max-width: none; }
.acs-hintro :where(a) { color: var(--accent); text-decoration: none; }
.acs-hprov { display: grid; gap: 18px; padding: var(--s-md) 0 var(--s-lg); }
.acs-hprov__item { border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-55); overflow: hidden; position: relative; }
.acs-hprov__item::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 0% 50%, color-mix(in srgb, var(--pc) 18%, transparent), transparent 70%); pointer-events: none; }
.acs-hprov__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; padding: 30px 0; align-items: start; position: relative; }
.acs-hprov__side { display: flex; flex-direction: column; gap: 8px; position: sticky; top: calc(var(--header-h) + 60px); }
.acs-hprov__mark { width: 60px; height: 60px; border-radius: 16px; margin-bottom: 8px; }
.acs-hprov__name { font-weight: 700; font-size: 16px; }
.acs-hprov__tier { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.acs-hprov__price { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--accent); margin: 10px 0 14px; }
.acs-hprov__price small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.acs-hprov__price .acs-from { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; font-weight: 500; }
.acs-hprov__body { background: transparent; color: var(--ink); padding: 0; }
.acs-hprov__body :where(h2) { font-size: 30px; }
.acs-hprov__body :where(p, li) { color: var(--muted); max-width: 72ch; }
.acs-hprov__body :where(p:first-of-type) { color: var(--ink); }
.acs-hprov__body :where(a) { color: var(--accent); text-decoration: none; }
.acs-hprov__body :where(ul > li)::before { background: var(--accent); }
.acs-hprov__body.acs-checklist li::before { background-color: var(--accent) !important; }
.acs-hprov__body .acs-checklist li::before { background-color: var(--accent) !important; }

/* ---------- Product page ---------- */
.acs-product .acs-phero { padding-bottom: 18px; }
.acs-pid { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.acs-pid__mark { width: 56px; height: 56px; border-radius: 14px; }
.acs-pid__name { font-weight: 700; font-size: 16px; display: block; }
.acs-pid__tier { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.acs-pintro { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 66ch; }
.acs-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.acs-facts b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.acs-buy { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 26px; align-items: start; padding: 10px 0 var(--s-lg); }
.acs-buy__ws { background: var(--bg-deep); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; position: relative; overflow: hidden; }
.acs-buy__ws::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 100% 0%, color-mix(in srgb, var(--pc) 22%, transparent), transparent 70%); pointer-events: none; }
.acs-buy__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 8px; position: relative; }
.acs-buy__head h2 { font-size: 22px; margin: 0; }
.acs-buy__count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.acs-buy__short { color: var(--muted); font-size: 15px; margin-bottom: 18px; position: relative; }
.acs-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 10px; position: relative; max-height: 420px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.acs-tile { text-align: left; white-space: normal; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; min-width: 0; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(26, 52, 184, .3); cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.acs-tile:hover { border-color: var(--accent); transform: translateY(-1px); }
.acs-tile.is-selected { border-color: var(--accent); background: rgba(46, 230, 255, .12); box-shadow: inset 0 0 0 1px var(--accent); }
.acs-tile__name { font-weight: 600; font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.acs-tile__price { font-family: var(--font-mono); font-size: 14px; color: var(--accent); }
.acs-tile[disabled] { opacity: .45; cursor: not-allowed; }
.acs-buy__form { position: relative; margin-top: 18px; border-top: 1px solid rgba(58, 86, 214, .5); padding-top: 18px; }
.acs-buy__form .variations { display: none; }
.acs-buy__form .single_variation_wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.acs-buy__form .woocommerce-variation { flex: 1; min-width: 200px; }
.acs-buy__form .woocommerce-variation-price .price { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--accent); }
.acs-buy__form .woocommerce-variation-price .price del { color: var(--muted); font-size: .6em; font-weight: 500; }
.acs-buy__form .woocommerce-variation-availability p { margin: 0; font-size: 13px; color: var(--mint); }
.acs-buy__form .woocommerce-variation-description { display: none; }
.acs-buy__form .woocommerce-variation-add-to-cart { display: flex; align-items: center; gap: 10px; }
.acs-buy__form .quantity { display: inline-flex; }
.acs-buy__form .quantity .qty { width: 64px; padding: 12px 10px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg-deep); color: var(--ink); font: inherit; text-align: center; }
.acs-buy__form .single_add_to_cart_button { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: var(--r-pill); font-weight: 700; font-size: 15px; background: var(--accent); color: var(--accent-ink); border: 0; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; }
.acs-buy__form .single_add_to_cart_button:hover { box-shadow: var(--glow); transform: translateY(-1px); }
.acs-buy__form .single_add_to_cart_button.disabled, .acs-buy__form .single_add_to_cart_button:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.acs-buy__form .woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button { opacity: .45; }
.acs-buy__hint { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.acs-buy__support { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(58, 86, 214, .5); position: relative; }
.acs-buy__support span:first-child { font-size: 13px; color: var(--muted); margin-right: 4px; }
.acs-buy__visual { position: sticky; top: calc(var(--header-h) + 50px); }
.acs-visual { position: relative; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--bg-deep); aspect-ratio: 4 / 3; }
.acs-visual__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acs-visual__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.acs-visual__badges { position: absolute; left: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.acs-visual__badges span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; padding: 5px 10px; border-radius: var(--r-pill); background: rgba(10, 22, 80, .8); border: 1px solid var(--line); color: var(--ink); }
.acs-pbody { padding: var(--s-md) 0 var(--s-lg); }
.acs-pfinal { padding: var(--s-lg) 0; }
.acs-cta { border-radius: var(--r-md); border: 1px solid var(--line); background: linear-gradient(120deg, var(--surface), var(--bg-deep)); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.acs-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 100% at 100% 50%, color-mix(in srgb, var(--pc, var(--accent)) 25%, transparent), transparent); pointer-events: none; }
.acs-cta h2 { margin: 0 0 8px; }
.acs-cta p { margin: 0; color: var(--muted); max-width: 56ch; }
.acs-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.acs-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(10, 22, 80, .92); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 10px var(--gutter); display: none; align-items: center; justify-content: space-between; gap: 12px; transform: translateY(100%); transition: transform .3s var(--ease); }
.acs-sticky.is-visible { transform: none; }
.acs-sticky__price { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--accent); }
.acs-sticky__title { font-size: 13px; color: var(--muted); display: block; }

/* ---------- Marketplace archive ---------- */
.acs-mtools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 0 0 26px; }
.acs-mtools__search { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg-deep); flex: 1; min-width: 240px; }
.acs-mtools__search input { background: transparent; border: 0; color: var(--ink); font: inherit; outline: none; width: 100%; }
.acs-mtools__search .acs-i { color: var(--muted); }
.acs-mtools select { padding: 9px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg-deep); color: var(--ink); font: inherit; font-size: 14px; }
.acs-mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.acs-mgrid .acs-pcard[hidden] { display: none; }
.acs-mempty { color: var(--muted); padding: 40px 0; }
.acs-catintro { margin: 26px 0 0; }

/* ---------- Cloud Matrix ---------- */
.acs-matrix .acs-phero h1 { max-width: 22ch; }
.acs-mfilters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.acs-mcompare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin: 0 0 30px; }
.acs-mcompare__side { border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-55); padding: 22px; display: flex; align-items: center; gap: 16px; position: relative; overflow: hidden; }
.acs-mcompare__side::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 0% 50%, color-mix(in srgb, var(--pc) 22%, transparent), transparent 70%); pointer-events: none; }
.acs-mcompare__side .acs-mark { width: 56px; height: 56px; border-radius: 14px; }
.acs-mcompare__side b { display: block; font-family: var(--font-display); font-size: 22px; }
.acs-mcompare__side p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.acs-mcompare__side a { position: relative; font-size: 14px; font-weight: 600; }
.acs-mcompare__vs { font-family: var(--font-display); font-weight: 700; font-size: 20px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.acs-verdicts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 0; }
.acs-verdict { border-radius: var(--r-md); padding: 22px; background: var(--surface-55); border: 1px solid var(--line); border-top: 3px solid var(--pc); }
.acs-verdict span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 8px; }
.acs-verdict p { margin: 0; font-size: 16px; }

/* ---------- Cloud Journal ---------- */
.acs-jhero { display: grid; grid-template-columns: 1fr; gap: 24px; }
.acs-jcats { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 26px; }
.acs-jgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; grid-auto-flow: dense; }
.acs-article { padding: var(--s-md) 0 var(--s-lg); }
.acs-article__meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.acs-article__meta a { color: var(--accent); }
.acs-article__hero { border-radius: var(--r-md); overflow: hidden; margin: 28px 0 0; aspect-ratio: 21 / 9; background: var(--bg-deep); border: 1px solid var(--line); }
.acs-article__hero img, .acs-article__hero svg { width: 100%; height: 100%; object-fit: cover; }
.acs-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 0; }
.acs-tags a { font-size: 13px; padding: 5px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--muted); }
.acs-tags a:hover { border-color: var(--accent); color: var(--ink); text-decoration: none; }
.acs-pager { display: flex; gap: 8px; justify-content: center; margin: 34px 0 0; }
.acs-pager .page-numbers { padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 14px; }
.acs-pager .page-numbers.current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- Generic pages, search, 404, Woo pages ---------- */
.acs-page { padding: var(--s-md) 0 var(--s-lg); }
.acs-page .acs-prose { max-width: 900px; }
.acs-contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.acs-contact__card { border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-55); padding: 28px; }
.acs-contact__card h2 { font-size: 24px; }
.acs-contact__card .acs-chan { padding: 14px 20px; font-size: 16px; }
.acs-contact__list { display: grid; gap: 12px; margin-top: 18px; }
.acs-results { display: grid; gap: 14px; }
.acs-result { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; background: var(--surface-55); }
.acs-result__type { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.acs-result h2 { font-size: 22px; margin: 6px 0 6px; }
.acs-result p { color: var(--muted); margin: 0; font-size: 15px; }
.acs-woo { padding: var(--s-md) 0 var(--s-lg); }
.acs-woo .acs-prose { max-width: none; }
.acs-woo .wc-block-components-sidebar-layout, .acs-woo .wp-block-woocommerce-cart, .acs-woo .wp-block-woocommerce-checkout { color: var(--ink-ice); }
.acs-woo .wc-block-components-button:not(.is-link), .acs-woo .wc-block-cart__submit-button, .acs-woo .wc-block-components-checkout-place-order-button { background: var(--accent) !important; color: var(--accent-ink) !important; border-radius: var(--r-pill) !important; font-weight: 700 !important; border: 0 !important; }
.acs-woo .wc-block-components-product-name, .acs-woo .wc-block-components-totals-item__label { color: var(--ink-ice); }
.acs-woo .woocommerce-message, .acs-woo .woocommerce-info, .acs-woo .woocommerce-error, .acs-woo .wc-block-components-notice-banner { border-radius: var(--r-sm); }
.acs-woo .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.acs-woo .woocommerce-MyAccount-navigation a { display: inline-block; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-ice); color: var(--ink-ice); }
.acs-woo .woocommerce-MyAccount-navigation .is-active a { background: var(--ink-ice); color: #fff; }
.acs-woo form .form-row input.input-text, .acs-woo form .form-row textarea, .acs-woo form .form-row select { width: 100%; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-ice); background: #fff; color: var(--ink-ice); font: inherit; }
.acs-woo .button, .acs-woo button.button { background: var(--ink-ice); color: #fff; border: 0; border-radius: var(--r-pill); padding: 12px 22px; font-weight: 700; cursor: pointer; }
.acs-woo .woocommerce-notices-wrapper .woocommerce-message a.button { margin-right: 12px; }
.acs-404 { text-align: center; padding: var(--s-xxl) 0; }
.acs-404 h1 { font-size: clamp(60px, 12vw, 140px); color: var(--accent); margin: 0; }

/* Grid children must be allowed to shrink so wide tables scroll inside their wrappers. */
.acs-longform > *, .acs-buy > *, .acs-hsplit > *, .acs-hprov__grid > *, .acs-hero__grid > *, .acs-contact > *, .acs-prose, .acs-wrap { min-width: 0; }
.acs-visual__badges--hidden { display: none; }


/* ---------- Telegram + WhatsApp contact system ---------- */
.acs-chan.is-preview { cursor: not-allowed; border-style: dashed; opacity: .85; }
.acs-chan:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.acs-hero__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.acs-hero__contact .acs-chan--sm { border-color: var(--line); background: rgba(10, 22, 80, .4); padding: 7px 14px; }
.acs-hsupport { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.acs-cstrip { padding: var(--s-md) 0 0; }
.acs-cstrip__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-55); padding: 24px 28px; }
.acs-cstrip__copy h2 { font-size: 22px; margin: 0 0 4px; }
.acs-cstrip__copy p { margin: 0; color: var(--muted); font-size: 15px; max-width: 56ch; }
.acs-cstrip__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.acs-utility__links .acs-chan--sm span { display: inline; }
@media (max-width: 640px) {
	.acs-cstrip__inner { padding: 20px; }
	.acs-cstrip__actions, .acs-hsupport, .acs-buy__support, .acs-footer__support, .acs-mobile__support { width: 100%; }
	.acs-cstrip__actions .acs-chan, .acs-hsupport .acs-chan, .acs-contact__list .acs-chan { flex: 1 1 140px; justify-content: center; }
	.acs-float__btn span { display: none; }
}

/* ---------- Motion ---------- */
@keyframes acsFade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes acsSlide { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.js .acs-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .acs-reveal.is-in { opacity: 1; transform: none; }
.js .acs-reveal-group > .acs-prose > .acs-sec { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .acs-reveal-group > .acs-prose > .acs-sec.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .acs-reveal, .js .acs-reveal-group > .acs-prose > .acs-sec { opacity: 1; transform: none; }
	.acs-bg__glow { animation: none; }
	.acs-footer__topo, .acs-stage__svg { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.acs-grid--4 { grid-template-columns: repeat(3, 1fr); }
	.acs-footer__grid { grid-template-columns: 1fr 1fr; }
	.acs-mega__groups { grid-template-columns: 1fr 1.6fr; }
	.acs-mega__group[data-tier="platform"] { grid-column: 1 / -1; }
	.acs-buy { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 960px) {
	.acs-nav { display: none; }
	.acs-burger { display: inline-flex; }
	.acs-longform { grid-template-columns: 1fr; }
	.acs-toc { position: static; }
	.acs-toc__list { display: flex; flex-wrap: wrap; gap: 4px; border: 0; max-height: none; }
	.acs-toc__list a { border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px 12px; margin: 0; font-size: 12.5px; }
	.acs-hero__grid { grid-template-columns: 1fr; }
	.acs-stage:not(.acs-stage--compact) { min-height: 340px; aspect-ratio: 1 / .85; }
	.acs-stage { max-width: 620px; margin-inline: auto; width: 100%; }
	.acs-grid--3, .acs-grid--4, .acs-mgrid, .acs-jgrid { grid-template-columns: repeat(2, 1fr); }
	.acs-jcard--featured { grid-column: span 2; grid-row: auto; }
	.acs-hsplit { grid-template-columns: 1fr; }
	.acs-hsplit__aside { position: static; }
	.acs-hprov__grid { grid-template-columns: 1fr; gap: 20px; }
	.acs-hprov__side { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
	.acs-hprov__mark { margin: 0; width: 48px; height: 48px; }
	.acs-hprov__price { margin: 0; }
	.acs-buy { grid-template-columns: 1fr; }
	.acs-buy__visual { position: static; order: -1; }
	.acs-mcompare { grid-template-columns: 1fr; }
	.acs-mcompare__vs { justify-self: center; }
	.acs-verdicts { grid-template-columns: 1fr; }
	.acs-contact { grid-template-columns: 1fr; }
	.acs-cta { grid-template-columns: 1fr; }
	.acs-sticky { display: flex; }
	.acs-float { bottom: 78px; }
	body.acs-product { padding-bottom: 70px; }
}
@media (max-width: 640px) {
	:root { --gutter: 18px; --header-h: 58px; }
	body.acs { font-size: 16px; }
	.acs-utility__msg { display: none; }
	.acs-utility__row { justify-content: center; }
	.acs-logo__svg { height: 34px; }
	.acs-grid--2, .acs-grid--3, .acs-grid--4, .acs-mgrid, .acs-jgrid { grid-template-columns: 1fr; }
	.acs-jcard--featured { grid-column: auto; }
	.acs-sechead { flex-direction: column; align-items: flex-start; }
	.acs-prose { padding: 20px 18px; }
	.acs-prose :where(p, li) { font-size: 16px; }
	.acs-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; }
	.acs-footer__providers { grid-template-columns: 1fr 1fr; }
	.acs-footer__bottom { flex-direction: column; }
	.acs-tiles { grid-template-columns: 1fr; max-height: 320px; }
	.acs-hero__facts { gap: 18px; }
	.acs-stage__card { padding: 16px 18px; }
	.acs-stage__name { font-size: 19px; }
	.acs-stage__tag { min-height: 0; }
	.acs-stage__dots { display: none; }
	.acs-stage__orbit { width: 44px; height: 44px; padding: 8px; }
	.acs-mobile__grid { grid-template-columns: 1fr; }
	.acs-float__btn span { display: none; }
	.acs-float__btn { padding: 14px; }
	.acs-buy__ws { padding: 18px; }
	.acs-buy__form .single_variation_wrap { flex-direction: column; align-items: stretch; }
	.acs-buy__form .woocommerce-variation-add-to-cart { justify-content: space-between; }
}
