/* Black Screen — design system (ds-). Tokens, base, components, templates. Fully responsive. */

/* ---------- Tokens ---------- */
:root{
  --bg:#080808;--surface:#0F0F0F;--surface-2:#181818;--border:rgba(255,255,255,.08);--border-2:rgba(255,255,255,.16);
  --text:#E2E8F0;--muted:#94A3B8;--accent:#818CF8;--accent-soft:rgba(129,140,248,.12);--accent-line:rgba(129,140,248,.4);
  --btn:#E2E8F0;--btn-text:#080808;--btn-glow:0 10px 36px -8px rgba(226,232,240,.4);--hover:rgba(255,255,255,.06);
  --header:rgba(15,15,15,.72);--hdr-rest:none;--hdr-up:0 12px 40px -16px rgba(0,0,0,.6);
  --danger:#F87171;--success:#22C55E;--warning:#F59E0B;--ad:rgba(255,255,255,.02);--shimmer:#FFFFFF;
  --stage-line:rgba(255,255,255,.12);
  --stage-glow:0 0 0 1px rgba(129,140,248,.10),0 0 56px -12px rgba(129,140,248,.40),0 0 120px -32px rgba(255,255,255,.18);
  --font:"Geist","Inter",system-ui,-apple-system,"Segoe UI",sans-serif;--mono:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --ease:cubic-bezier(.4,0,.2,1);--r-card:16px;--r-ctl:12px;--gutter:24px;--container:1300px;
  --section:clamp(56px,7vw,96px);
  color-scheme:dark;
}
[data-theme="light"]{
  --bg:#FFFFFF;--surface:#F5F7FB;--surface-2:#E9EDF5;--border:#E2E8F0;--border-2:#CBD5E1;
  --text:#0B0D12;--muted:#475569;--accent:#4F46E5;--accent-soft:rgba(79,70,229,.08);--accent-line:rgba(79,70,229,.4);
  --btn:#0B0D12;--btn-text:#FFFFFF;--btn-glow:0 10px 30px -10px rgba(11,13,18,.45);--hover:rgba(11,13,18,.05);
  --header:rgba(245,247,251,.82);--hdr-rest:0 1px 2px rgba(11,13,18,.04),0 4px 16px -8px rgba(11,13,18,.08);--hdr-up:0 12px 32px -12px rgba(11,13,18,.16);
  --danger:#DC2626;--success:#15803D;--warning:#B45309;--ad:#FAFBFD;--shimmer:#4F46E5;
  --stage-line:rgba(11,13,18,.10);--stage-glow:0 0 0 1px rgba(79,70,229,.08),0 24px 72px -24px rgba(79,70,229,.35);
  color-scheme:light;
}
@media (max-width:767px){:root{--gutter:20px}}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:104px;scroll-behavior:smooth;interpolate-size:allow-keywords}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:16px;line-height:1.75;-webkit-font-smoothing:antialiased;overflow-x:clip}
img,svg,video{max-width:100%;height:auto}
img{display:block}
a{color:var(--accent);text-decoration:none;transition:color .2s var(--ease)}
a:hover{color:var(--text)}
h1,h2,h3,h4{margin:0;text-wrap:balance;font-weight:600;letter-spacing:-.02em;line-height:1.15}
p{margin:0;text-wrap:pretty}
ul,ol{margin:0;padding:0}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:4px}
.ds-icon{display:block;flex:none}
.screen-reader-text,.ds-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ds-skip{position:absolute;left:12px;top:-60px;z-index:100;padding:10px 16px;border-radius:10px;background:var(--btn);color:var(--btn-text)}
.ds-skip:focus{top:12px}
[hidden]{display:none!important}

/* ---------- Layout ---------- */
.ds-container{width:100%;max-width:var(--container);margin:0 auto;padding:0 var(--gutter)}
.ds-container--narrow{max-width:868px}
.ds-section{padding:var(--section) 0}
.ds-section--line{border-top:1px solid var(--border)}
.ds-section--flush-top{padding-top:0}
.ds-stack{display:flex;flex-direction:column;gap:40px}
.ds-stack--sm{gap:24px}
.ds-center{text-align:center;align-items:center}
.ds-grid{display:grid;gap:24px}
.ds-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ds-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ds-grid--2{grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 64px;align-items:start}
.ds-grid--colors{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ds-grid--colors-sm{grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:12px}
.ds-grid--tight{gap:16px}
@media (max-width:1199px){.ds-grid--4{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:1023px){.ds-grid--4,.ds-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}.ds-grid--2{grid-template-columns:minmax(0,1fr);gap:40px}}
@media (max-width:767px){.ds-grid--colors{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media (max-width:599px){.ds-grid--4,.ds-grid--3{grid-template-columns:minmax(0,1fr)}.ds-grid{gap:16px}}

/* ---------- Type ---------- */
.ds-h1{font-size:clamp(40px,7vw,80px);font-weight:700;line-height:1.02;letter-spacing:-.03em}
.ds-h1--md{font-size:clamp(36px,5.6vw,64px);line-height:1.04}
.ds-h2{font-size:clamp(26px,3.4vw,40px)}
.ds-h3{font-size:20px;line-height:1.3}
.ds-lead{font-size:clamp(16px,1.6vw,19px);line-height:1.65;color:var(--muted);max-width:60ch}
.ds-muted{color:var(--muted)}
.ds-caption{font-size:14px;color:var(--muted);line-height:1.6}
.ds-eyebrow{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}
.ds-label{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.ds-mono{font-family:var(--mono);font-variant-numeric:tabular-nums}
.ds-meta{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:13px;color:var(--muted)}
.ds-shimmer{background-image:linear-gradient(100deg,var(--text) 0%,var(--text) 42%,var(--shimmer) 50%,var(--text) 58%,var(--text) 100%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:ds-shimmer 10s linear infinite}
@keyframes ds-shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}

/* ---------- Buttons ---------- */
.ds-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:48px;padding:0 22px;border:0;border-radius:999px;font-size:16px;font-weight:600;line-height:1;white-space:nowrap;transition:transform .25s var(--ease),box-shadow .25s var(--ease),background-color .25s var(--ease),border-color .25s var(--ease)}
.ds-btn--primary{background:var(--btn);color:var(--btn-text)}
.ds-btn--primary:hover{color:var(--btn-text);transform:translateY(-2px);box-shadow:var(--btn-glow)}
.ds-btn--ghost{background:transparent;color:var(--text);border:1px solid var(--border-2)}
.ds-btn--ghost:hover{color:var(--text);background:var(--hover)}
.ds-btn--lg{height:56px;padding:0 28px;font-size:18px}
.ds-btn--sm{height:44px;padding:0 18px;font-size:15px}
.ds-btn--block{width:100%}
.ds-arrow{display:inline-flex;transition:transform .25s var(--ease)}
.ds-btn:hover .ds-arrow,.ds-link-arrow:hover .ds-arrow{transform:translateX(6px)}
.ds-btn-row{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.ds-link-arrow{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:15px}
.ds-icon-btn{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--border);border-radius:var(--r-ctl);background:transparent;color:var(--muted);transition:background-color .2s,color .2s}
.ds-icon-btn:hover{background:var(--hover);color:var(--text)}
@media (max-width:599px){.ds-btn-row .ds-btn{width:100%}.ds-btn--lg{height:56px}}

/* ---------- Chips / badges ---------- */
.ds-chips{display:flex;gap:8px;overflow-x:auto;padding:4px;max-width:100%;scrollbar-width:none;justify-content:safe center}
.ds-chips::-webkit-scrollbar{display:none}
.ds-chips--start{justify-content:flex-start;padding:4px 0}
.ds-chip{flex:none;display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px;border:1px solid var(--border-2);border-radius:999px;background:transparent;color:var(--text);font-size:14px;font-weight:500;transition:border-color .2s,background-color .2s}
.ds-chip:hover{color:var(--text);background:var(--hover)}
.ds-chip--soft{height:40px;border-color:var(--border);color:var(--muted)}
.ds-chip--soft:hover{border-color:var(--accent-line);color:var(--text);background:transparent}
.ds-chip.is-active,.ds-chip[aria-current="page"],.ds-chip[aria-selected="true"]{background:var(--text);border-color:var(--text);color:var(--bg)}
.ds-chip__count{font-family:var(--mono);font-size:12px;opacity:.7}
.ds-badges{list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.ds-badge{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border:1px solid var(--border);border-radius:999px;font-size:13px;color:var(--muted)}
.ds-trust{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.ds-trust__chip{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px;border:1px solid var(--border);border-radius:999px;color:var(--muted);font-size:13px}
.ds-kbd-row{display:flex;flex-wrap:wrap;gap:6px}
.ds-kbd,kbd{font-family:var(--mono);font-size:12px;color:var(--muted);padding:6px 10px;border:1px solid var(--border);border-radius:8px}
.ds-flash-tag{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--warning)}

/* ---------- Cards ---------- */
.ds-card{display:flex;flex-direction:column;gap:14px;padding:24px;border:1px solid var(--border);border-radius:var(--r-card);background:var(--surface);color:var(--text)}
.ds-card--link{transition:transform .25s var(--ease),border-color .25s var(--ease)}
.ds-card--link:hover{color:var(--text);transform:translateY(-4px);border-color:var(--accent-line)}
.ds-card--pad-lg{padding:28px}
.ds-icon-tile{width:44px;height:44px;flex:none;border-radius:var(--r-ctl);display:grid;place-items:center;background:var(--accent-soft);color:var(--accent)}
.ds-icon-tile--lg{width:56px;height:56px;border-radius:14px}
.ds-cta{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--muted);transition:color .25s}
.ds-card--link:hover .ds-cta,.ds-post-card:hover .ds-cta-text{color:var(--accent)}
.ds-tool-card__top{display:flex;align-items:center;justify-content:space-between}
.ds-tool-card__title{font-size:17px;font-weight:600;letter-spacing:-.01em;line-height:1.3}
.ds-tool-card__desc{font-size:13px;color:var(--muted);line-height:1.55;flex:1}
.ds-color-tile{padding:12px 12px 20px;gap:16px}
.ds-color-tile__swatch{display:block;aspect-ratio:16/9;border-radius:10px;box-shadow:inset 0 0 0 1px rgba(128,128,128,.25)}
.ds-grid--colors-sm .ds-color-tile{padding:8px 8px 12px;gap:10px;font-size:14px}
.ds-grid--colors-sm .ds-color-tile__swatch{aspect-ratio:4/3;border-radius:8px}
.ds-color-tile__body{display:flex;flex-direction:column;gap:2px;padding:0 8px}
.ds-color-tile__name{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:17px;font-weight:600}
.ds-grid--colors-sm .ds-color-tile__name{font-size:14px;font-weight:500}
.ds-color-tile__use{font-size:14px;color:var(--muted);line-height:1.5}
.ds-use-card p{color:var(--muted);font-size:15px;line-height:1.65}
.ds-img-placeholder{display:grid;place-items:center;border:1px dashed var(--border-2);border-radius:12px;background:var(--bg);color:var(--muted);font-size:13px;text-align:center;padding:12px}
@media (max-width:599px){.ds-color-tile__use{display:none}.ds-color-tile__name{font-size:15px}.ds-card{padding:20px}}

/* Color classes (test colors — allowed only in stage, swatches, tiles) */
.ds-bg-black{background:#000000}.ds-bg-white{background:#FFFFFF}.ds-bg-red{background:#FF0000}.ds-bg-green{background:#00FF00}
.ds-bg-blue{background:#0000FF}.ds-bg-yellow{background:#FFFF00}.ds-bg-orange{background:#FFA500}.ds-bg-purple{background:#7F00FF}
.ds-bg-pink{background:#FF69B4}.ds-bg-gray{background:#808080}.ds-bg-cyan{background:#00FFFF}.ds-bg-magenta{background:#FF00FF}

/* ---------- Section head ---------- */
.ds-section-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 32px}
.ds-section-head__text{display:flex;flex-direction:column;gap:12px;max-width:680px}

/* ---------- Header ---------- */
.ds-header-space{height:88px}
.ds-header{position:fixed;top:12px;left:0;right:0;z-index:60;padding:0 clamp(16px,2vw,24px)}
.admin-bar .ds-header{top:44px}
@media (max-width:782px){.admin-bar .ds-header{top:58px}}
.ds-header__bar{max-width:var(--container);margin:0 auto;height:64px;padding:0 10px 0 20px;display:flex;align-items:center;gap:24px;border:1px solid var(--border);border-radius:20px;background:var(--header);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);box-shadow:var(--hdr-rest);transition:box-shadow .3s var(--ease)}
.ds-header.is-scrolled .ds-header__bar{box-shadow:var(--hdr-up)}
.ds-logo{display:flex;align-items:center;gap:10px;color:var(--text);font-weight:600;font-size:16px;letter-spacing:-.015em;flex:none}
.ds-logo:hover{color:var(--text)}
.ds-logo img{max-height:32px;width:auto}
.ds-nav{flex:1;display:flex;justify-content:center}
.ds-nav__pill{display:flex;align-items:center;gap:2px;padding:4px;border:1px solid var(--border);border-radius:999px;background:var(--bg)}
.ds-nav__pill ul{list-style:none;display:flex;gap:2px}
.ds-nav__link{display:inline-flex;align-items:center;gap:4px;height:36px;padding:0 14px;border:0;border-radius:999px;background:transparent;color:var(--muted);font-size:14px;font-weight:500;transition:background-color .2s,color .2s}
.ds-nav__link:hover,.ds-nav__link[aria-expanded="true"],.ds-nav__link.is-active,.ds-nav__pill .current-menu-item>a{color:var(--text);background:var(--hover)}
.ds-nav__link .ds-icon{opacity:.6}
.ds-header__actions{margin-left:auto;display:flex;align-items:center;gap:6px}
.ds-search-btn{display:inline-flex;align-items:center;gap:10px;height:40px;padding:0 8px 0 12px;border:1px solid var(--border);border-radius:999px;background:var(--bg);color:var(--muted);font-size:14px;transition:border-color .2s,color .2s}
.ds-search-btn:hover{border-color:var(--border-2);color:var(--text)}
.ds-search-btn .ds-kbd{padding:3px 6px;font-size:11px;margin-left:12px}
.ds-round-btn{width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:999px;background:transparent;color:var(--muted);transition:color .2s,background-color .2s}
.ds-round-btn:hover{background:var(--hover);color:var(--text)}
.ds-go{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 8px 0 18px;margin-left:4px;border:0;border-radius:14px;background:var(--btn);color:var(--btn-text);font-size:14px;font-weight:600;transition:transform .25s var(--ease),box-shadow .25s var(--ease)}
.ds-go:hover{transform:translateY(-1px);box-shadow:var(--btn-glow)}
.ds-go__dot{width:10px;height:10px;border-radius:3px;background:#000;box-shadow:0 0 0 1.5px rgba(148,163,184,.7)}
.ds-go .ds-arrow{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:rgba(128,128,128,.16)}
.ds-go:hover .ds-arrow{transform:translateX(3px)}
.ds-menu-btn{width:44px;height:44px;display:none;place-items:center;border:1px solid var(--border);border-radius:14px;background:var(--bg);color:var(--text)}
.ds-theme-icon--moon{display:none}
[data-theme="light"] .ds-theme-icon--sun{display:none}
[data-theme="light"] .ds-theme-icon--moon{display:block}
@media (max-width:1079px){
  .ds-nav,.ds-search-btn .ds-search-btn__text,.ds-search-btn .ds-kbd,.ds-go{display:none}
  .ds-search-btn{width:40px;padding:0;justify-content:center;border:0;background:transparent}
  .ds-menu-btn{display:grid}
  .ds-header__bar{padding:0 8px 0 16px}
}
@media (max-width:479px){
  .ds-logo span{display:none}
  .ds-header__bar{gap:0;padding:0 6px 0 10px}
}

/* Dropdowns */
.ds-drop{position:absolute;top:72px;left:0;right:0;padding:0 clamp(12px,2vw,24px);display:flex;justify-content:center;opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .2s var(--ease),transform .2s var(--ease),visibility .2s}
.ds-drop.is-open{opacity:1;visibility:visible;transform:none}
.ds-drop__panel{width:100%;max-width:var(--container);padding:24px;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:0 24px 64px -24px rgba(0,0,0,.5)}
.ds-drop__panel--colors{max-width:600px;padding:12px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.ds-drop__color{display:flex;flex-direction:column;gap:8px;padding:8px;border-radius:12px;color:var(--text);font-size:13px;font-weight:500}
.ds-drop__color:hover{background:var(--hover);color:var(--text)}
.ds-drop__color span{display:block;height:44px;border-radius:8px;box-shadow:inset 0 0 0 1px rgba(128,128,128,.35)}
.ds-mega{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
.ds-mega__col{display:flex;flex-direction:column;gap:2px}
.ds-mega__col .ds-label{padding:0 10px 8px}
.ds-mega__link{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;color:var(--text);font-size:14px;font-weight:500;line-height:1.35}
.ds-mega__link:hover{background:var(--hover);color:var(--text)}
.ds-mega__link .ds-icon{color:var(--accent)}
.ds-mega__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid var(--border);font-size:14px;font-weight:500}

/* Mobile menu */
.ds-mobile-menu{position:fixed;inset:0;z-index:70;background:var(--bg);overflow-y:auto;display:flex;flex-direction:column}
.ds-mobile-menu__top{height:72px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid var(--border)}
.ds-mobile-menu__body{padding:24px 20px 40px;display:flex;flex-direction:column;gap:32px}
.ds-mobile-menu__links{list-style:none;display:flex;flex-direction:column}
.ds-mobile-menu__links a{display:flex;align-items:center;justify-content:space-between;min-height:64px;border-bottom:1px solid var(--border);color:var(--text);font-size:24px;font-weight:600;letter-spacing:-.02em}
.ds-mobile-menu__tool{display:flex;align-items:center;gap:12px;min-height:48px;color:var(--text)}
.ds-mobile-menu__tool .ds-icon{color:var(--accent)}
.ds-color-pill{flex:none;display:flex;align-items:center;gap:8px;height:48px;padding:0 16px 0 8px;border:1px solid var(--border);border-radius:999px;color:var(--text);font-size:15px}
.ds-color-pill span{width:32px;height:32px;border-radius:999px;box-shadow:inset 0 0 0 1px rgba(128,128,128,.4)}

/* Search */
.ds-search{position:fixed;inset:0;z-index:80;background:rgba(0,0,0,.6);display:flex;justify-content:center;align-items:flex-start;padding:12vh 20px 20px}
.ds-search__panel{width:min(640px,100%);border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:0 32px 96px -24px rgba(0,0,0,.7);overflow:hidden}
.ds-search__field{display:flex;align-items:center;gap:12px;padding:0 20px;height:64px;border-bottom:1px solid var(--border);color:var(--muted)}
.ds-search__field input{flex:1;min-width:0;height:100%;border:0;outline:none;background:transparent;color:var(--text);font-size:17px}
.ds-search__results{max-height:min(420px,60vh);overflow-y:auto;padding:8px;list-style:none}
.ds-search__item{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 12px;border-radius:10px;color:var(--text);font-size:15px}
.ds-search__item:hover,.ds-search__item.is-active{background:var(--hover);color:var(--text)}
.ds-search__chip{width:32px;height:32px;flex:none;border-radius:8px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);box-shadow:inset 0 0 0 1px var(--border)}
.ds-search__type{margin-left:auto;font-size:12px;color:var(--muted)}
.ds-search__empty{padding:24px 12px;color:var(--muted);text-align:center}

/* ---------- Footer ---------- */
.ds-footer{border-top:1px solid var(--border)}
.ds-footer__inner{padding:clamp(48px,6vw,72px) var(--gutter) 32px;display:flex;flex-direction:column;gap:48px}
.ds-footer__top{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2.6fr);gap:48px 64px;align-items:start}
.ds-footer__brand{display:flex;flex-direction:column;gap:20px;max-width:360px}
.ds-footer__brand p{color:var(--muted);font-size:15px;line-height:1.6}
.ds-footer__swatches{display:flex;flex-wrap:wrap;gap:8px}
.ds-footer__swatches a{width:28px;height:28px;border-radius:8px;box-shadow:inset 0 0 0 1px rgba(128,128,128,.35);transition:transform .2s var(--ease)}
.ds-footer__swatches a:hover{transform:translateY(-2px)}
.ds-footer__cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 32px}
.ds-footer__col{display:flex;flex-direction:column;gap:12px}
.ds-footer__col ul{list-style:none;display:flex;flex-direction:column;gap:12px}
.ds-footer__title{font-size:13px;font-weight:600;color:var(--text)}
.ds-footer__link,.ds-footer__col a{color:var(--muted);font-size:14px;line-height:1.4}
.ds-footer__link:hover,.ds-footer__col a:hover{color:var(--text)}
.ds-footer__col a.ds-footer__more{color:var(--accent);font-weight:500}
.ds-footer__bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 32px;padding-top:24px;border-top:1px solid var(--border);font-size:13px;color:var(--muted);line-height:1.6}
@media (max-width:1099px){.ds-footer__top{grid-template-columns:minmax(0,1fr)}}
@media (max-width:767px){.ds-footer__cols{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- Breadcrumb ---------- */
.ds-breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:8px;font-size:14px;color:var(--muted)}
.ds-breadcrumb li{display:flex;gap:8px;align-items:center}
.ds-breadcrumb li+li::before{content:"›";color:var(--muted)}
.ds-breadcrumb a{color:var(--muted)}
.ds-breadcrumb a:hover{color:var(--text)}
.ds-breadcrumb [aria-current]{color:var(--text)}

/* ---------- Hero ---------- */
.ds-hero{padding:clamp(40px,6vw,80px) 0 var(--section)}
.ds-hero__inner{display:flex;flex-direction:column;align-items:center;text-align:center}
.ds-hero .ds-h1{max-width:13ch}
.ds-hero .ds-lead{margin-top:24px;max-width:58ch}
.ds-hero .ds-btn-row{margin-top:32px}
.ds-hero .ds-chips{margin-top:24px}
.ds-hero__stage{margin-top:48px;width:100%}
.ds-hero .ds-breadcrumb{margin-bottom:32px}
.ds-page-head{padding:clamp(24px,4vw,40px) 0 clamp(32px,4vw,48px);display:flex;flex-direction:column;gap:24px}
.ds-page-head__text{display:flex;flex-direction:column;gap:16px;max-width:760px}

/* ---------- Stage ---------- */
.ds-stage-wrap{display:flex;flex-direction:column;align-items:center;gap:24px;width:100%}
.ds-stage{position:relative;display:grid;place-items:center;width:min(100%,1040px,calc(56vh*16/9));min-width:min(100%,320px);aspect-ratio:16/9;padding:0;border:1px solid var(--stage-line);border-radius:var(--r-card);box-shadow:var(--stage-glow);color:rgba(255,255,255,.86);transition:background-color .4s var(--ease),transform .25s var(--ease)}
.ds-stage:hover{transform:translateY(-2px)}
.ds-stage.is-light{color:rgba(0,0,0,.72)}
.ds-stage__corner{position:absolute;width:20px;height:20px;border:0 solid rgba(255,255,255,.32)}
.ds-stage.is-light .ds-stage__corner,.ds-stage.is-light .ds-stage__ring{border-color:rgba(0,0,0,.28)}
.ds-stage__corner--tl{top:16px;left:16px;border-top-width:2px;border-left-width:2px;border-top-left-radius:6px}
.ds-stage__corner--tr{top:16px;right:16px;border-top-width:2px;border-right-width:2px;border-top-right-radius:6px}
.ds-stage__corner--bl{bottom:16px;left:16px;border-bottom-width:2px;border-left-width:2px;border-bottom-left-radius:6px}
.ds-stage__corner--br{bottom:16px;right:16px;border-bottom-width:2px;border-right-width:2px;border-bottom-right-radius:6px}
.ds-stage__center{display:flex;flex-direction:column;align-items:center;gap:12px}
.ds-stage__ring{width:56px;height:56px;border-radius:999px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.32)}
.ds-stage__label{font-size:clamp(16px,2vw,20px);font-weight:600;letter-spacing:-.01em}
.ds-stage__sub{font-size:13px;opacity:.8}
.ds-controls{width:min(100%,1040px);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 32px;padding:16px 20px;border:1px solid var(--border);border-radius:var(--r-card);background:var(--surface)}
.ds-swatches{display:flex;align-items:center;gap:4px;overflow-x:auto;max-width:100%;scrollbar-width:none}
.ds-swatch{position:relative;flex:none;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:999px;background:transparent;padding:0;color:var(--muted)}
.ds-swatch__dot{width:28px;height:28px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--border-2);transition:box-shadow .2s}
.ds-swatch[aria-checked="true"] .ds-swatch__dot{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--accent)}
.ds-swatch--add{cursor:pointer}
.ds-swatch--add:hover{color:var(--text)}
.ds-swatch--add input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0}
.ds-swatch__dot--add{display:grid;place-items:center;border:1px dashed var(--border-2);box-shadow:none;pointer-events:none}
.ds-toggles{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px}
.ds-switch{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0;border:0;background:transparent;color:var(--text);font-size:14px;font-weight:500}
.ds-switch__track{position:relative;width:36px;height:22px;border-radius:999px;background:var(--border-2);transition:background-color .2s;flex:none}
.ds-switch__knob{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:999px;background:#fff;transition:transform .2s var(--ease)}
.ds-switch[aria-checked="true"] .ds-switch__track{background:var(--accent)}
.ds-switch[aria-checked="true"] .ds-switch__knob{transform:translateX(14px)}
.ds-timer{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.ds-timer__label{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:14px}
.ds-seg{display:flex;padding:3px;border:1px solid var(--border);border-radius:var(--r-ctl);background:var(--bg)}
.ds-seg__btn{min-width:44px;height:38px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:13px;font-weight:500}
.ds-seg__btn[aria-checked="true"]{background:var(--surface-2);color:var(--text)}
.ds-timer__custom{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.ds-timer__custom input{width:72px;height:38px;padding:0 10px;border:1px solid var(--border-2);border-radius:10px;background:var(--bg);font-family:var(--mono)}
.ds-controls__pixel{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.ds-stage-msg{margin-top:-8px;font-size:14px;color:var(--muted);text-align:center}
.ds-tip{max-width:72ch;text-align:center;color:var(--muted);font-size:14px;line-height:1.7}
.ds-stage-info{width:min(100%,1040px);display:flex;flex-direction:column;align-items:center;gap:20px}
.ds-readouts{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--border);border-radius:var(--r-card);background:var(--surface);overflow:hidden}
.ds-readout{display:flex;flex-direction:column;gap:4px;padding:16px 20px;min-height:88px;box-shadow:-1px 0 0 var(--border),0 -1px 0 var(--border)}
.ds-readout__label{font-size:13px;color:var(--muted)}
.ds-readout__val{font-family:var(--mono);font-size:20px;font-weight:500;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
@media (max-width:1023px){.ds-controls{justify-content:flex-start}}
@media (max-width:767px){
  .ds-stage{width:100%}
  .ds-controls{padding:12px;gap:12px}
  .ds-toggles{width:100%;flex-direction:column;align-items:flex-start;gap:0}
  .ds-switch{min-height:48px}
  .ds-timer{width:100%}
  .ds-readouts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ds-readout{padding:14px 16px;min-height:80px}
  .ds-readout__val{font-size:17px}
  .ds-controls__pixel{width:100%}
  .ds-controls__pixel .ds-btn{width:100%;height:56px}
}

/* ---------- Fullscreen player ---------- */
.ds-fs{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;z-index:2147483640;outline:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;transition:background-color .15s linear;font-family:var(--font)}
.ds-fs.is-cursorless{cursor:none}
.ds-fs__clock{position:absolute;left:0;right:0;bottom:12vh;text-align:center;font:300 clamp(28px,6vw,72px)/1 var(--mono);letter-spacing:.04em;pointer-events:none}
.ds-fs__hud{position:absolute;left:50%;bottom:max(24px,env(safe-area-inset-bottom));transform:translate(-50%,8px);display:flex;align-items:center;gap:8px;padding:8px;border-radius:999px;background:rgba(18,18,18,.8);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.12);color:#E2E8F0;font-size:14px;font-weight:500;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;white-space:nowrap;max-width:calc(100vw - 32px)}
.ds-fs__hud.is-on{opacity:1;pointer-events:auto;transform:translate(-50%,0)}
.ds-fs__name{padding:0 10px 0 12px;color:#94A3B8;overflow:hidden;text-overflow:ellipsis}
.ds-fs__btn{height:44px;padding:0 18px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#E2E8F0}
.ds-fs__tip{position:absolute;left:50%;top:max(24px,env(safe-area-inset-top));transform:translateX(-50%);width:min(420px,calc(100vw - 32px));padding:14px 16px;border-radius:12px;background:rgba(18,18,18,.85);border:1px solid rgba(255,255,255,.12);color:#E2E8F0;font-size:14px;line-height:1.5;text-align:center;pointer-events:none}

/* ---------- Modal (photosensitivity) ---------- */
.ds-modal{position:fixed;inset:0;z-index:2147483641;background:rgba(0,0,0,.66);display:grid;place-items:center;padding:20px}
.ds-modal__box{width:min(480px,100%);background:var(--surface);border:1px solid var(--border);border-radius:var(--r-card);padding:32px;box-shadow:0 24px 80px -24px rgba(0,0,0,.6)}
.ds-modal__icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:rgba(245,158,11,.12);color:var(--warning);margin-bottom:20px}
.ds-modal__title{font-size:22px;margin-bottom:8px}
.ds-modal__text{color:var(--muted);font-size:15px;line-height:1.65;margin-bottom:24px}
.ds-modal__actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}
@media (max-width:479px){.ds-modal__box{padding:24px}.ds-modal__actions .ds-btn{width:100%}}

/* ---------- Steps / definitions ---------- */
.ds-steps{list-style:none;display:flex;flex-direction:column;gap:20px}
.ds-step{display:grid;grid-template-columns:36px 1fr;gap:16px;align-items:start}
.ds-step__n{width:36px;height:36px;border-radius:999px;display:grid;place-items:center;border:1px solid var(--border-2);font-family:var(--mono);font-size:14px}
.ds-step__n--ok{border:0;background:var(--accent-soft);color:var(--accent)}
.ds-step p{padding-top:4px}
.ds-def{display:grid;grid-template-columns:120px 1fr;gap:24px;align-items:center}
.ds-def svg{border-radius:10px}
.ds-step-cards{list-style:none}
.ds-step-card__n{font-family:var(--mono);font-size:14px;color:var(--accent)}
.ds-figure{margin:0}
.ds-figure svg{width:100%;height:auto;border-radius:10px}
@media (max-width:479px){.ds-def{grid-template-columns:1fr}}

/* ---------- FAQ ---------- */
.ds-faq{border-top:1px solid var(--border)}
.ds-faq__item{border-bottom:1px solid var(--border)}
.ds-faq__q{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:64px;padding:16px 0;list-style:none;cursor:pointer}
.ds-faq__q::-webkit-details-marker{display:none}
.ds-faq__q h3{font-size:17px;line-height:1.4}
.ds-faq__icon{color:var(--muted);transition:transform .35s var(--ease)}
.ds-faq__item[open] .ds-faq__icon{transform:rotate(45deg)}
.ds-faq__item::details-content{block-size:0;overflow:hidden;transition:block-size .35s var(--ease),content-visibility .35s allow-discrete}
.ds-faq__item[open]::details-content{block-size:auto}
.ds-faq__a{padding:0 48px 24px 0;color:var(--muted)}
.ds-faq__a p+p{margin-top:12px}
.ds-faq-wrap{display:flex;flex-direction:column;gap:32px}
@media (max-width:599px){.ds-faq__a{padding-right:0}}

/* ---------- Ad slot ---------- */
.ds-ad{display:flex;flex-direction:column;gap:8px;width:100%;max-width:970px;margin:0 auto;contain:layout}
.ds-ad__label{font-size:11px;line-height:1;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.ds-ad__box{min-height:280px;border-radius:12px;display:grid;place-items:center}
.ds-ad__box--placeholder{border:1px dashed var(--border-2);background:var(--ad);color:var(--muted);font-size:12px;text-align:center;padding:16px;align-content:center;gap:4px}
.ds-ad-gap{padding:40px 0 8px}
.ds-ad--article{max-width:100%;margin:16px 0}
.ds-ad--sidebar{max-width:300px}
.ds-ad--sidebar .ds-ad__box{min-height:600px}
.ds-ad--mobile{display:none}
@media (max-width:767px){.ds-ad__box{min-height:250px}.ds-ad--mobile{display:flex;margin:0 0 var(--section)}}

/* ---------- Banner / callout / tool panel ---------- */
.ds-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px 48px;padding:clamp(28px,4vw,48px);border:1px solid var(--border);border-radius:var(--r-card);background:var(--surface);box-shadow:var(--stage-glow)}
.ds-banner__text{display:flex;gap:20px;align-items:flex-start;max-width:640px}
.ds-callout{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border:1px solid var(--accent-line);border-radius:var(--r-card);background:var(--accent-soft)}
.ds-callout__text{display:flex;flex-direction:column;gap:2px}
.ds-callout__title{font-weight:600;font-size:16px;color:var(--text)}
.ds-callout__sub{font-size:14px;color:var(--muted);line-height:1.5}
.ds-note{display:grid;grid-template-columns:44px 1fr;gap:16px;align-items:start;padding:24px 28px;border:1px solid var(--border);border-radius:var(--r-card)}
.ds-tool-panel{display:flex;flex-direction:column;gap:20px;padding:clamp(16px,3vw,32px);border:1px solid var(--border);border-radius:var(--r-card);background:var(--bg)}
.ds-tool-panel--glow{box-shadow:var(--stage-glow)}
.ds-tool-panel__bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.ds-tool-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:min(100%,1040px);margin:0 auto}
.ds-tool-notes p{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.6;color:var(--muted)}
.ds-tool-notes strong{color:var(--text);font-weight:600}
.ds-tool-notes i{width:20px;height:20px;flex:none;margin-top:2px;border-radius:6px;box-shadow:inset 0 0 0 1px rgba(128,128,128,.5)}
.ds-live{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--muted)}
.ds-live__dot{width:8px;height:8px;border-radius:999px;background:var(--success)}
.ds-readout-card{position:relative;display:flex;flex-direction:column;gap:8px;min-height:132px;padding:20px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}
.ds-readout-card__label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);padding-right:44px}
.ds-readout-card__val{font-family:var(--mono);font-size:clamp(22px,2.2vw,28px);font-weight:500;letter-spacing:-.02em;line-height:1.2;font-variant-numeric:tabular-nums}
.ds-readout-card__sub{font-size:12px;color:var(--muted)}
.ds-readout-card__copy{position:absolute;top:12px;right:12px;width:36px;height:36px}
.ds-readout-card__copy.is-done{color:var(--success)}
.ds-product-mini{display:grid;grid-template-columns:96px 1fr;gap:20px;align-items:center;padding:20px}
.ds-product-mini__img{aspect-ratio:1;font-size:11px;padding:6px}
.ds-product-mini__body{display:flex;flex-direction:column;gap:6px;min-width:0}
.ds-product-mini__name{font-size:16px;line-height:1.35}
.ds-product-mini .ds-btn{margin-top:6px}
@media (max-width:767px){.ds-tool-notes{grid-template-columns:1fr}.ds-banner .ds-btn{width:100%}}

/* ---------- Blog ---------- */
.ds-post-card{display:flex;flex-direction:column;gap:16px;color:var(--text)}
.ds-post-card:hover{color:var(--text)}
.ds-post-card__img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:14px;border:1px solid var(--border);background:var(--surface-2)}
.ds-post-card__body{display:flex;flex-direction:column;gap:8px}
.ds-post-card__title{font-size:20px;font-weight:600;letter-spacing:-.01em;line-height:1.3;text-wrap:balance;transition:color .25s}
.ds-post-card__excerpt{color:var(--muted);font-size:15px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ds-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 32px}
@media (max-width:1023px){.ds-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:599px){.ds-post-grid{grid-template-columns:1fr;gap:32px}}
.ds-featured{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:32px}
.ds-featured__card{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);border:1px solid var(--border);border-radius:var(--r-card);background:var(--surface);overflow:hidden;color:var(--text);transition:transform .25s var(--ease),border-color .25s}
.ds-featured__card:hover{color:var(--text);transform:translateY(-4px);border-color:var(--accent-line)}
.ds-featured__card img{width:100%;height:100%;min-height:260px;object-fit:cover}
.ds-featured__body{display:flex;flex-direction:column;justify-content:center;gap:16px;padding:clamp(24px,3vw,40px)}
.ds-featured__title{font-size:clamp(24px,2.8vw,36px);font-weight:600;letter-spacing:-.02em;line-height:1.15}
.ds-start-here{display:flex;flex-direction:column;padding:24px;border:1px solid var(--border);border-radius:var(--r-card)}
.ds-start-here ol{list-style:none}
.ds-start-here a{display:grid;grid-template-columns:28px 1fr;gap:12px;padding:14px 0;border-top:1px solid var(--border);color:var(--text)}
.ds-start-here a:hover{color:var(--accent)}
.ds-start-here__n{font-family:var(--mono);font-size:13px;color:var(--muted);padding-top:2px}
.ds-start-here__t{font-size:16px;font-weight:600;line-height:1.35}
@media (max-width:1199px){.ds-featured{grid-template-columns:1fr}}
@media (max-width:767px){.ds-featured__card{grid-template-columns:1fr}.ds-featured__card img{min-height:200px;aspect-ratio:16/9}}
.ds-cat-list__item{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:24px 40px;align-items:center;padding:32px 0;border-bottom:1px solid var(--border);color:var(--text)}
.ds-cat-list__item:hover{color:var(--text)}
.ds-cat-list__item:hover .ds-cta-text{color:var(--accent)}
.ds-cat-list__title{font-size:clamp(22px,2.4vw,30px);font-weight:600;letter-spacing:-.02em;line-height:1.2;transition:color .25s}
.ds-cat-list__body{display:flex;flex-direction:column;gap:12px;max-width:62ch}
@media (max-width:767px){.ds-cat-list__item{grid-template-columns:1fr;padding:24px 0}}
.ds-pagination,.nav-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding-top:24px}
.ds-pagination .page-numbers,.nav-links .page-numbers{min-width:44px;height:44px;display:inline-grid;place-items:center;padding:0 14px;border:1px solid var(--border);border-radius:var(--r-ctl);color:var(--text);font-family:var(--mono);font-size:14px}
.ds-pagination .page-numbers:hover{background:var(--hover);color:var(--text)}
.ds-pagination .page-numbers.current{background:var(--text);border-color:var(--text);color:var(--bg)}
.ds-pagination .page-numbers.dots{border:0}

/* Single article */
.ds-article-head{max-width:960px;margin:0 auto;padding:clamp(24px,4vw,40px) var(--gutter) 32px;display:flex;flex-direction:column;gap:24px;align-items:flex-start}
.ds-pill{display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:13px;font-weight:600}
.ds-byline{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.ds-byline__meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;font-size:14px;color:var(--muted)}
.ds-byline__meta span{display:inline-flex;align-items:center;gap:6px}
.ds-avatar{width:40px;height:40px;border-radius:999px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);font-weight:600;font-size:14px;overflow:hidden;flex:none}
.ds-avatar img{width:100%;height:100%;object-fit:cover}
.ds-avatar--lg{width:56px;height:56px;font-size:18px}
.ds-author{display:flex;align-items:center;gap:12px}
.ds-author__name{display:flex;flex-direction:column;line-height:1.35}
.ds-author__name strong{color:var(--text);font-weight:600}
.ds-hero-img{width:100%;height:auto;aspect-ratio:16/7;object-fit:cover;border-radius:var(--r-card);background:var(--surface-2)}
.ds-article-layout{display:grid;grid-template-columns:minmax(0,70ch) 300px;gap:64px;justify-content:center;align-items:start}
.ds-article-aside{position:sticky;top:104px;display:flex;flex-direction:column;gap:32px}
@media (max-width:1099px){.ds-article-layout{grid-template-columns:minmax(0,1fr)}.ds-article-aside{display:none}}
.ds-toc{display:flex;flex-direction:column;gap:4px}
.ds-toc__list{list-style:none;display:flex;flex-direction:column}
.ds-toc__link{display:block;padding:6px 0 6px 14px;border-left:2px solid var(--border);color:var(--muted);font-size:14px;line-height:1.45}
.ds-toc__link:hover,.ds-toc__link.is-active{color:var(--text)}
.ds-toc__link.is-active{border-left-color:var(--accent)}
.ds-toc-mobile{display:none;border:1px solid var(--border);border-radius:var(--r-ctl);margin-bottom:8px}
.ds-toc-mobile summary{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:0 16px;font-weight:600;font-size:15px;list-style:none;cursor:pointer}
.ds-toc-mobile summary::-webkit-details-marker{display:none}
.ds-toc-mobile .ds-toc__list{padding:0 16px 12px}
.ds-toc-mobile .ds-toc__link{border:0;padding:0;min-height:44px;display:flex;align-items:center;font-size:15px}
@media (max-width:1099px){.ds-toc-mobile{display:block}}
.ds-takeaways{display:flex;flex-direction:column;gap:12px;padding:24px 28px;border:1px solid var(--border);border-radius:var(--r-card);background:var(--surface);margin-bottom:8px}
.ds-takeaways ul{list-style:none;display:flex;flex-direction:column;gap:10px;font-size:16px;line-height:1.6}
.ds-takeaways li{display:grid;grid-template-columns:20px 1fr;gap:12px}
.ds-takeaways li .ds-icon{color:var(--accent);margin-top:3px}
.ds-progress{position:fixed;top:0;left:0;height:2px;width:0;z-index:61;background:var(--accent);transition:width .1s linear}
.ds-author-box{display:grid;grid-template-columns:56px 1fr;gap:20px;align-items:start;padding:24px;border:1px solid var(--border);border-radius:var(--r-card);background:var(--surface)}
.ds-author-box p{color:var(--muted);font-size:15px;line-height:1.65}
.ds-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ds-tags a{height:32px;display:inline-flex;align-items:center;padding:0 12px;border:1px solid var(--border);border-radius:999px;font-size:13px;color:var(--text)}
.ds-tags a:hover{border-color:var(--accent-line)}
.ds-prevnext{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;font-size:16px}
.ds-prevnext a{display:flex;flex-direction:column;gap:6px;padding:20px;border:1px solid var(--border);border-radius:14px;color:var(--text)}
.ds-prevnext a:hover{border-color:var(--accent-line);color:var(--text)}
.ds-prevnext__next{align-items:flex-end;text-align:right}
.ds-prevnext small{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
@media (max-width:599px){.ds-prevnext{grid-template-columns:1fr}.ds-prevnext__next{align-items:flex-start;text-align:left}}

/* Prose (post/page content, also inside Elementor text widgets) */
.ds-prose{font-size:18px;line-height:1.8;display:flex;flex-direction:column;gap:20px;min-width:0}
.ds-prose>*{margin:0}
.ds-prose h2{font-size:clamp(24px,3vw,32px);line-height:1.2;margin-top:24px}
.ds-prose h3{font-size:20px;margin-top:12px}
.ds-prose p,.ds-prose li{color:var(--muted)}
.ds-prose strong{color:var(--text)}
.ds-prose ul,.ds-prose ol{padding-left:1.25em;display:flex;flex-direction:column;gap:8px}
.ds-prose a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.ds-prose img,.ds-prose figure{border-radius:14px}
.ds-prose figure{margin:8px 0}
.ds-prose figcaption{font-size:14px;color:var(--muted);margin-top:8px}
.ds-prose blockquote{margin:8px 0;padding:4px 0 4px 20px;border-left:2px solid var(--accent);color:var(--text);font-size:20px}
.ds-prose code{font-family:var(--mono);font-size:.9em;color:var(--text)}
.ds-prose pre{overflow-x:auto;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface);font-size:14px}
.ds-prose table,.ds-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.5}
.ds-prose .wp-block-table,.ds-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:14px}
.ds-prose th,.ds-prose td,.ds-table th,.ds-table td{padding:14px 16px;text-align:left;border-top:1px solid var(--border)}
.ds-prose thead th,.ds-table thead th{background:var(--surface);border-top:0;font-weight:600;color:var(--text)}
.ds-prose td,.ds-table td{color:var(--muted)}
@media (max-width:767px){.ds-prose{font-size:17px}}

/* Best monitors */
.ds-compare th,.ds-compare td{white-space:nowrap}
.ds-compare td.ds-mono{color:var(--text)}
.ds-compare-cards{display:none;flex-direction:column;gap:12px}
.ds-compare-card dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:6px 16px;font-size:14px}
.ds-compare-card dt{color:var(--muted)}
.ds-compare-card dd{margin:0}
@media (max-width:767px){.ds-compare-wrap{display:none}.ds-compare-cards{display:flex}}
.ds-product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:32px;padding:clamp(20px,3vw,32px)}
.ds-product__img{aspect-ratio:4/3;font-size:14px;padding:24px}
.ds-product__body{display:flex;flex-direction:column;gap:20px}
.ds-product__specs{list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.ds-product__specs li{height:32px;display:inline-flex;align-items:center;padding:0 12px;border:1px solid var(--border);border-radius:8px;font-family:var(--mono);font-size:13px}
.ds-proscons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.ds-proscons ul{list-style:none;display:flex;flex-direction:column;gap:8px}
.ds-proscons li{display:flex;gap:8px;font-size:14px;line-height:1.5;color:var(--muted)}
.ds-proscons .ds-pro{color:var(--success)}
.ds-proscons .ds-con{color:var(--danger)}
@media (max-width:899px){.ds-product{grid-template-columns:1fr}}
@media (max-width:479px){.ds-proscons{grid-template-columns:1fr}}

/* Search field (hub / blog) */
.ds-field{display:flex;align-items:center;gap:12px;height:56px;width:min(560px,100%);padding:0 20px;border:1px solid var(--border-2);border-radius:999px;background:var(--surface);color:var(--muted)}
.ds-field input{flex:1;min-width:0;height:100%;border:0;outline:none;background:transparent;color:var(--text);font-size:16px}
.ds-field--sm{height:52px;width:min(380px,100%)}

/* ---------- Elementor compatibility ---------- */
.ds-elementor .elementor-section.elementor-section-boxed>.elementor-container{max-width:var(--container)}
.ds-elementor .elementor-widget-text-editor{color:var(--muted)}
.ds-elementor .elementor-heading-title{color:var(--text);letter-spacing:-.02em}
.elementor-widget-container .ds-stage-wrap,.elementor-widget-container .ds-grid{width:100%}
.ds-page-content>.elementor{width:100%}

/* ---------- Motion ---------- */
.ds-rv .ds-reveal{opacity:0;transform:translateY(24px);transition:opacity .6s var(--ease),transform .6s var(--ease)}
.ds-rv .ds-reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .ds-rv .ds-reveal{opacity:1;transform:none}
}
@media print{.ds-header,.ds-footer,.ds-ad,.ds-progress{display:none!important}}
