/* =====================================================================
   InfiniTech Dynamics — design system (public site, storefront, checkout)
   Premium dark, restrained motion, accessible contrast.
   Product accents: [data-accent="teal|amber|indigo|slate"] sets --accent.
   ===================================================================== */
/* Metric-matched fallbacks: text laid out before the web fonts arrive keeps (almost) the same line
   breaks, so the swap does not push content down (layout shift, CLS). */
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: "Inter Tight Fallback"; src: local("Arial"); size-adjust: 99.5%; ascent-override: 97.4%; descent-override: 24.3%; line-gap-override: 0%; }
:root {
  --bg: #070b14;
  --bg-elev: #0b111d;
  --surface: #0f1726;
  --surface-2: #131d30;
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.28);
  --text: #e7ecf4;
  --text-strong: #ffffff;
  --muted: #9aa6b8;
  /* WCAG AA: --subtle ≥ 5.2:1 on every surface; white on --primary 5.2:1 */
  --subtle: #8391a5;
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --primary-ink: #ffffff;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;
  --accent: #60a5fa;
  --accent-soft: rgba(96, 165, 250, 0.12);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 32px rgba(0,0,0,0.35);
  --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", "Inter Tight Fallback", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
}
[data-accent="teal"]   { --accent: #2dd4bf; --accent-soft: rgba(45, 212, 191, 0.12); }
[data-accent="amber"]  { --accent: #fbbf24; --accent-soft: rgba(251, 191, 36, 0.12); }
[data-accent="indigo"] { --accent: #818cf8; --accent-soft: rgba(129, 140, 248, 0.14); }
[data-accent="slate"]  { --accent: #94a3b8; --accent-soft: rgba(148, 163, 184, 0.12); }

/* ---------- base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body.ds-body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.ds-body img, .ds-body video { max-width: 100%; height: auto; }
.ds-body :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.ds-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--text-strong); color: #000; padding: 8px 12px; border-radius: 6px; font-weight: 600; }
.ds-skip:focus { left: 8px; }
.ds-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ds-body *, .ds-body *::before, .ds-body *::after { transition: none !important; animation: none !important; }
}

.ds-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
.ds-narrow { max-width: 760px; }
.ds-section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.ds-section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.ds-section--alt { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ds-main { flex: 1 0 auto; position: relative; z-index: 1; }

/* ---------- type ---------- */
.ds-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.ds-h1, .ds-h2, .ds-h3 { font-family: var(--font-display); color: var(--text-strong); margin: 0; letter-spacing: -0.02em; }
.ds-h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; font-weight: 700; }
.ds-h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; font-weight: 700; }
.ds-h3 { font-size: 1.15rem; line-height: 1.35; font-weight: 600; }
.ds-lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); line-height: 1.65; margin: 18px 0 0; max-width: 62ch; }
.ds-prose p { color: var(--muted); margin: 0 0 1em; max-width: 72ch; }
.ds-prose strong { color: var(--text); }
.ds-muted { color: var(--muted); }
.ds-small { font-size: 0.875rem; }
.ds-mono { font-family: var(--mono); }
.ds-section-head { max-width: 760px; margin: 0 0 clamp(28px, 4vw, 48px); }
.ds-section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.ds-section-head--center .ds-lede { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.ds-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 10px; font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; white-space: nowrap; box-sizing: border-box; }
.ds-btn:active { transform: translateY(1px); }
.ds-btn--primary { background: var(--primary); color: var(--primary-ink); }
.ds-btn--primary:hover { background: var(--primary-strong); color: var(--primary-ink); }
.ds-btn--secondary { background: rgba(255,255,255,0.04); color: var(--text-strong); border-color: var(--line-strong); }
.ds-btn--secondary:hover { background: rgba(255,255,255,0.08); color: var(--text-strong); }
.ds-btn--ghost { background: transparent; color: var(--text); padding-left: 10px; padding-right: 10px; }
.ds-btn--ghost:hover { color: var(--text-strong); background: rgba(255,255,255,0.05); }
.ds-btn--lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }
.ds-btn--sm { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.ds-btn--block { width: 100%; }
.ds-btn[disabled], .ds-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.ds-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ds-link { color: var(--accent); text-decoration: none; font-weight: 600; }
.ds-link:hover { text-decoration: underline; }

/* ---------- badges / pills ---------- */
.ds-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--text); background: rgba(255,255,255,0.06); border: 1px solid var(--line); }
.ds-badge--accent { color: var(--accent); background: var(--accent-soft); border-color: transparent; }
.ds-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.ds-pill--ok { background: rgba(52,211,153,.12); color: var(--success); }
.ds-pill--warn { background: rgba(251,191,36,.12); color: var(--warning); }
.ds-pill--bad { background: rgba(248,113,113,.12); color: var(--danger); }
.ds-pill--muted { background: rgba(148,163,184,.12); color: var(--muted); }

/* ---------- cards & grids ---------- */
.ds-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow); box-sizing: border-box; }
.ds-grid { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.ds-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ds-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ds-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .ds-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ds-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .ds-grid--2, .ds-grid--3, .ds-grid--4 { grid-template-columns: minmax(0, 1fr); } }
.ds-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: 0 0 auto; }
.ds-icon svg { width: 20px; height: 20px; }

/* ---------- alerts ---------- */
.ds-alert { border-radius: var(--radius); padding: 14px 16px; border: 1px solid var(--line); background: var(--surface); color: var(--text); margin: 0 0 16px; font-size: 15px; }
.ds-alert--success { border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.08); }
.ds-alert--error, .ds-alert--danger { border-color: rgba(248,113,113,.4); background: rgba(248,113,113,.08); }
.ds-alert--warning { border-color: rgba(251,191,36,.4); background: rgba(251,191,36,.08); }
.ds-alert--info { border-color: rgba(96,165,250,.35); background: rgba(96,165,250,.08); }
.ds-flash-wrap { padding-top: 16px; }

/* ---------- forms ---------- */
.ds-field { display: grid; gap: 6px; margin: 0 0 16px; }
.ds-label { font-size: 14px; font-weight: 600; color: var(--text); }
.ds-hint { font-size: 13px; color: var(--muted); }
.ds-input, .ds-select, .ds-textarea { width: 100%; box-sizing: border-box; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg-elev); color: var(--text-strong); font: 15px/1.4 var(--font); }
.ds-input:focus, .ds-select:focus, .ds-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ds-input[aria-invalid="true"] { border-color: var(--danger); }
.ds-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.ds-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex: 0 0 auto; }
.ds-error-text { color: var(--danger); font-size: 13.5px; }

/* ---------- tables ---------- */
.ds-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.ds-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ds-table th, .ds-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ds-table th { color: var(--text-strong); font-weight: 600; width: 32%; background: rgba(255,255,255,0.02); }
.ds-table td { color: var(--muted); }
.ds-table tr:last-child th, .ds-table tr:last-child td { border-bottom: 0; }

/* =====================================================================
   Header
   ===================================================================== */
.ds-header { position: sticky; top: 0; z-index: 100; background: rgba(7, 11, 20, 0.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease, background-color .2s ease; }
.ds-header.is-scrolled { border-bottom-color: var(--line); background: rgba(7, 11, 20, 0.94); }
.ds-header__bar { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.ds-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-strong); flex: 0 0 auto; }
.ds-brand img { height: 36px; width: 36px; display: block; }
.ds-brand__word { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--text-strong); white-space: nowrap; }
.ds-brand__word span { color: var(--muted); font-weight: 600; }
.ds-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.ds-nav__link, .ds-nav__trigger { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.ds-nav__link:hover, .ds-nav__trigger:hover, .ds-nav__trigger[aria-expanded="true"] { color: var(--text-strong); background: rgba(255,255,255,0.05); }
.ds-nav__link[aria-current="page"] { color: var(--text-strong); }
.ds-nav__trigger svg { width: 14px; height: 14px; transition: transform .15s ease; }
.ds-nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.ds-nav__item { position: relative; }
.ds-menu { position: absolute; top: calc(100% + 8px); left: -12px; width: min(560px, 90vw); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: 0 24px 48px rgba(0,0,0,.5); padding: 10px; display: none; }
.ds-menu[data-open="true"] { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ds-menu__link { display: flex; gap: 12px; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--text); }
.ds-menu__link:hover, .ds-menu__link:focus-visible { background: rgba(255,255,255,0.05); }
.ds-menu__name { font-weight: 600; color: var(--text-strong); display: block; font-size: 15px; }
.ds-menu__desc { color: var(--muted); font-size: 13.5px; line-height: 1.45; display: block; }
.ds-menu__dot { width: 10px; height: 10px; border-radius: 3px; background: var(--accent); margin-top: 6px; flex: 0 0 auto; }
.ds-header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ds-account { position: relative; }
.ds-account__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 24px 48px rgba(0,0,0,.5); padding: 8px; display: none; }
.ds-account__menu[data-open="true"] { display: block; }
.ds-account__menu a, .ds-account__menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; background: none; border: 0; font: inherit; font-size: 14.5px; cursor: pointer; box-sizing: border-box; }
.ds-account__menu a:hover, .ds-account__menu button:hover { background: rgba(255,255,255,0.05); color: var(--text-strong); }
.ds-account__sep { height: 1px; background: var(--line); margin: 6px 4px; }
.ds-burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: transparent; color: var(--text-strong); cursor: pointer; align-items: center; justify-content: center; }
.ds-burger svg { width: 22px; height: 22px; }
.ds-mobile { display: none; border-top: 1px solid var(--line); background: var(--bg); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.ds-mobile[data-open="true"] { display: block; }
.ds-mobile nav { padding: 12px var(--gutter) 24px; display: grid; gap: 2px; }
.ds-mobile a, .ds-mobile button.ds-mobile__btn { display: flex; align-items: center; min-height: 48px; padding: 0 8px; color: var(--text); text-decoration: none; border-radius: 8px; font-size: 16px; background: none; border: 0; font-family: inherit; width: 100%; text-align: left; cursor: pointer; }
.ds-mobile a:hover { background: rgba(255,255,255,0.05); }
.ds-mobile__group { color: var(--subtle); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 14px 8px 4px; }
.ds-mobile .ds-btn { margin-top: 12px; justify-content: center; }
/* `.ds-mobile a` resets link backgrounds; restore the primary button look for the menu CTA. */
.ds-mobile a.ds-btn--primary { background: var(--primary); color: var(--primary-ink); font-weight: 600; }
.ds-mobile a.ds-btn--primary:hover { background: var(--primary-strong); }
@media (max-width: 960px) {
  .ds-nav, .ds-header__actions { display: none; }
  .ds-burger { display: inline-flex; }
}

/* =====================================================================
   Footer
   ===================================================================== */
.ds-footer { position: relative; z-index: 1; border-top: 1px solid var(--line); background: var(--bg-elev); padding: 56px 0 28px; margin-top: auto; }
.ds-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }

.ds-footer__about { color: var(--muted); font-size: 14.5px; margin: 14px 0 0; max-width: 34ch; }
.ds-footer h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-strong); margin: 4px 0 14px; font-weight: 600; }
.ds-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ds-footer a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.ds-footer a:hover { color: var(--text-strong); }
.ds-footer__news { margin-top: 40px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ds-footer__news h2 { margin: 0 0 4px; text-transform: none; letter-spacing: 0; font-size: 17px; }
.ds-footer__news p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ds-footer__news form { display: flex; gap: 8px; flex: 1 1 320px; max-width: 460px; }
.ds-footer__bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--subtle); font-size: 13.5px; }
.ds-footer__social { display: flex; gap: 14px; }
@media (max-width: 960px) { .ds-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ds-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ds-footer__grid { grid-template-columns: minmax(0, 1fr); } .ds-footer__news form { flex-direction: column; } }

/* =====================================================================
   Home
   ===================================================================== */
.hx-hero { padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.hx-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); opacity: .55; pointer-events: none; }
.hx-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hx-hero__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hx-hero__panel { display: grid; gap: 12px; }
.hx-hero__row { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .15s ease, transform .15s ease; }
.hx-hero__row:hover { border-color: var(--line-strong); transform: translateX(2px); }
.hx-hero__row strong { display: block; color: var(--text-strong); font-size: 15.5px; }
.hx-hero__row span.ds-muted { font-size: 13.5px; }
.hx-hero__row .ds-price { margin-left: auto; font-weight: 600; color: var(--text-strong); font-size: 14.5px; white-space: nowrap; }
@media (max-width: 960px) { .hx-hero__inner { grid-template-columns: minmax(0, 1fr); } }
.home-products { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.product-card { display: flex; flex-direction: column; gap: 18px; height: 100%; }
.product-card__top { display: flex; gap: 14px; align-items: center; }
.product-card__media { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); aspect-ratio: 16 / 9; }
.product-card__media img, .product-card__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.product-card li { display: flex; gap: 10px; color: var(--muted); font-size: 14.5px; }
.product-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 9px; flex: 0 0 auto; }
.product-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.product-card__price { font-weight: 700; color: var(--text-strong); font-size: 1.15rem; }
.product-card__price small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.home-principles .ds-card h3 { margin: 14px 0 6px; }
.home-principles .ds-card p { margin: 0; color: var(--muted); font-size: 15px; }
.home-steps { counter-reset: step; }
.home-steps .ds-card { position: relative; }
.home-steps .ds-card::before { counter-increment: step; content: counter(step, decimal-leading-zero); font: 600 13px/1 var(--mono); color: var(--accent); display: block; margin-bottom: 14px; }
.home-cta { text-align: center; }

/* =====================================================================
   Product page sections (admin-managed components)
   ===================================================================== */
.pp-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 60% 50% at 80% 0%, var(--accent-soft), transparent 70%); }
.pp-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pp-hero--centered .pp-hero__inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
.pp-hero--centered .ds-lede, .pp-hero--centered .ds-btn-row, .pp-hero--centered .pp-hero__meta { margin-left: auto; margin-right: auto; justify-content: center; }
.pp-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 24px; }
.pp-hero__price { font-weight: 700; color: var(--text-strong); font-size: 1.1rem; }
.pp-hero .ds-btn-row { margin-top: 28px; }
.pp-media-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); background: var(--bg); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.pp-media-frame img, .pp-media-frame video { display: block; width: 100%; height: auto; }
@media (max-width: 960px) { .pp-hero__inner { grid-template-columns: minmax(0, 1fr); } }

.pp-overview__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pp-overview--stacked .pp-overview__grid { grid-template-columns: minmax(0, 1fr); }
.pp-audience { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pp-problems { display: grid; gap: 12px; }
.pp-problem { padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.pp-problem h3 { margin: 0 0 4px; font-size: 1rem; color: var(--text-strong); }
.pp-problem p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .pp-overview__grid { grid-template-columns: minmax(0, 1fr); } }

.pp-features--grid .pp-feature { display: flex; flex-direction: column; gap: 10px; }
.pp-feature h3 { margin: 0; font-size: 1.05rem; color: var(--text-strong); font-weight: 600; }
.pp-feature p { margin: 0; color: var(--muted); font-size: 15px; }
.pp-feature__img { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 6px; }
.pp-features--alternating .pp-alt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(20px, 3vw, 32px) 0; border-top: 1px solid var(--line); }
.pp-features--alternating .pp-alt:nth-child(even) .pp-alt__media { order: -1; }
.pp-features--alternating .pp-alt h3 { font-size: 1.35rem; }
@media (max-width: 860px) { .pp-features--alternating .pp-alt { grid-template-columns: minmax(0, 1fr); } .pp-features--alternating .pp-alt:nth-child(even) .pp-alt__media { order: 0; } }
.pp-features--list .pp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.pp-features--list .pp-feature { padding: 18px 0; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .pp-features--list .pp-list { grid-template-columns: minmax(0, 1fr); } }

.pp-gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.pp-thumb { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); cursor: zoom-in; text-align: left; color: inherit; }
.pp-thumb img, .pp-thumb video { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.pp-thumb:hover { border-color: var(--line-strong); }
.pp-thumb__cap { display: block; padding: 10px 12px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); background: var(--surface); }
.pp-thumb__play { position: absolute; top: 12px; left: 12px; }
.pp-showcase__main { margin-bottom: 14px; }
.pp-showcase__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 10px; }
.pp-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(2, 4, 10, 0.92); display: none; align-items: center; justify-content: center; padding: 56px 16px 24px; }
.pp-lightbox[data-open="true"] { display: flex; }
.pp-lightbox__stage { max-width: min(1400px, 100%); max-height: 100%; display: grid; gap: 10px; }
.pp-lightbox__stage img, .pp-lightbox__stage video { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 10px; margin: 0 auto; display: block; }
.pp-lightbox__cap { color: var(--muted); text-align: center; font-size: 14px; }
.pp-lightbox__close, .pp-lightbox__nav { position: absolute; background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; font-size: 22px; line-height: 1; }
.pp-lightbox__close { top: 12px; right: 12px; }
.pp-lightbox__nav--prev { left: 12px; top: 50%; }
.pp-lightbox__nav--next { right: 12px; top: 50%; }

.pp-specs--columns .pp-specs__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pp-specs--columns .pp-spec { padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.pp-spec dt { font-weight: 600; color: var(--text-strong); margin-bottom: 4px; }
.pp-spec dd { margin: 0; color: var(--muted); white-space: pre-line; }
@media (max-width: 720px) { .pp-specs--columns .pp-specs__cols { grid-template-columns: minmax(0, 1fr); } }

.pp-pricing__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.pp-pricing--wide .pp-pricing__grid { grid-template-columns: minmax(0, 1fr); }
.pp-price-card { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); padding: clamp(22px, 3vw, 32px); position: relative; }
.pp-price-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.pp-price { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 700; color: var(--text-strong); letter-spacing: -0.03em; line-height: 1; }
.pp-price__unit { display: block; margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.pp-includes { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.pp-includes li { display: flex; gap: 10px; color: var(--text); font-size: 15px; }
.pp-includes svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; margin-top: 3px; }
.pp-companion { margin-top: 16px; padding: 16px 18px; border-radius: 12px; border: 1px dashed var(--line-strong); }
.pp-companion strong { color: var(--text-strong); }
@media (max-width: 860px) { .pp-pricing__grid { grid-template-columns: minmax(0, 1fr); } }

.pp-faq__list { display: grid; gap: 10px; }
.pp-faq--two-column .pp-faq__list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
@media (max-width: 860px) { .pp-faq--two-column .pp-faq__list { grid-template-columns: minmax(0, 1fr); } }
.pp-faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.pp-faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--text-strong); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
.pp-faq details[open] summary::after { content: "–"; }
.pp-faq .pp-faq__a { padding: 0 20px 16px; color: var(--muted); }
.pp-faq .pp-faq__a p:last-child { margin-bottom: 0; }

.pp-support__links { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 24px; }
.pp-support__link { display: block; text-decoration: none; color: var(--text); padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.pp-support__link:hover { border-color: var(--line-strong); }
.pp-support__link strong { display: block; color: var(--text-strong); }
.pp-support__link span { color: var(--muted); font-size: 14px; }

.pp-cta--band .pp-cta__box { text-align: center; padding: clamp(32px, 6vw, 64px) clamp(20px, 4vw, 48px); border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: radial-gradient(ellipse 70% 120% at 50% 0%, var(--accent-soft), transparent 70%), var(--surface); }
.pp-cta--band .ds-btn-row { justify-content: center; margin-top: 24px; }
.pp-cta--card .pp-cta__box { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: var(--surface); }

.pp-preview-bar { position: sticky; top: var(--header-h); z-index: 90; background: #78350f; color: #fff7ed; text-align: center; font-size: 14px; padding: 8px 16px; }
.pp-preview-bar a { color: #fff; font-weight: 600; }

/* =====================================================================
   Checkout
   ===================================================================== */
.co-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .co-wrap { grid-template-columns: minmax(0, 1fr); } .co-summary { order: -1; } }
.co-summary { position: sticky; top: calc(var(--header-h) + 20px); }
.co-line { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.co-line strong { color: var(--text-strong); }
.co-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; }
.co-total .pp-price { font-size: 2rem; }
.co-steps { display: flex; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; flex-wrap: wrap; }
.co-steps li { font-size: 13px; color: var(--subtle); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }
.co-steps li[aria-current="step"] { color: var(--text-strong); border-color: var(--accent); }
#payment-element { margin: 8px 0 18px; min-height: 40px; }
.co-secure { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13.5px; margin-top: 12px; }
.co-secure svg { width: 16px; height: 16px; }
.co-status { text-align: center; }
.co-status__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; }
.co-status__icon svg { width: 30px; height: 30px; }
.co-status__icon--ok { background: rgba(52,211,153,.14); color: var(--success); }
.co-status__icon--wait { background: rgba(96,165,250,.14); color: var(--accent); }
.co-status__icon--bad { background: rgba(248,113,113,.14); color: var(--danger); }
.co-key { font-family: var(--mono); font-size: clamp(15px, 2.2vw, 19px); letter-spacing: .06em; color: var(--text-strong); background: var(--bg); border: 1px solid var(--line-strong); padding: 14px 16px; border-radius: 10px; word-break: break-all; }
.co-spinner { width: 22px; height: 22px; border: 3px solid var(--line-strong); border-top-color: var(--accent); border-radius: 50%; animation: co-spin 0.9s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes co-spin { to { transform: rotate(360deg); } }

/* inline icon sizing */
.ds-btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.ds-badge svg, .ds-pill svg { width: 13px; height: 13px; }
.co-secure svg { color: var(--success); }

/* checkbox rows must stay inline even where legacy form styles apply */
.ds-body .ds-check { display: flex !important; flex-direction: row; align-items: flex-start; gap: 10px; }
.ds-body .ds-check input[type="checkbox"], .ds-body .ds-check input[type="radio"] { width: 18px !important; height: 18px; min-height: 0; margin: 2px 0 0; padding: 0; flex: 0 0 auto; display: inline-block; }

/* Legacy pages (contact, etc.) rendered inside the new layout: eyebrow text meets AA on the dark background. */
.eyebrow { color: var(--accent); }

/* Customer account navigation (shared by every /user and /account page;
   some views also carry their own copy of these rules). */
.user-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; max-width: 1400px; margin: 0 auto; }
.user-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.user-nav { padding: 0; overflow: hidden; }
.user-nav-item { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; color: var(--text); text-decoration: none; border-left: 3px solid transparent; transition: background .2s ease, border-color .2s ease; }
.user-nav-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.user-nav-item:hover { background: var(--accent-soft); border-left-color: var(--primary); color: var(--text-strong); }
.user-nav .user-nav-item.active { background: linear-gradient(90deg, var(--accent-soft), transparent); border-left-color: var(--primary); color: var(--accent); font-weight: 600; }
@media (max-width: 968px) {
  .user-layout { grid-template-columns: 1fr; }
}

/* ---------- error pages (404 / 500) ---------- */
.ds-error { padding-top: clamp(24px, 6vw, 72px); padding-bottom: clamp(24px, 6vw, 72px); }
.ds-error .ds-lede { margin-bottom: 28px; }
.ds-error__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .ds-error__actions .ds-btn { flex: 1 1 100%; } }

/* ---------- legacy page bridge ----------
   Pages not yet rebuilt on ds-* components still use .container; give it the same measure and
   gutters as .ds-container so every page lines up with the header and footer at every width. */
.ds-body .container { width: 100%; max-width: var(--container); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); box-sizing: border-box; }
.ds-body .btn-primary, .ds-body button.btn-primary { background: var(--primary); border-color: transparent; color: var(--primary-ink); box-shadow: none; }
.ds-body .btn-primary:hover, .ds-body button.btn-primary:hover { background: var(--primary-strong); color: var(--primary-ink); box-shadow: 0 8px 22px rgba(37, 99, 235, 0.28); }
.ds-body .btn-secondary, .ds-body button.btn-secondary { background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); color: var(--text-strong); }
.ds-body .btn-secondary:hover, .ds-body button.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }
.ds-body .btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.ds-body .btn-ghost:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-strong); }

/* ---------- help center (index, category, article, search) ---------- */
.ds-body .help-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); text-align: center; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(37, 99, 235, 0.16), transparent 70%); }
.ds-body .help-hero h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.02em; color: var(--text-strong); margin: 0 0 24px; }
.ds-body .help-search, .ds-body .search-form { display: flex; max-width: 620px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.ds-body .search-form { margin: 16px 0 0; }
.ds-body .help-search:focus-within, .ds-body .search-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ds-body .help-search input, .ds-body .search-form input { flex: 1; min-width: 0; padding: 14px 16px; background: transparent; border: 0; color: var(--text-strong); font: 400 16px/1.4 var(--font); outline: none; }
.ds-body .help-search input::placeholder, .ds-body .search-form input::placeholder { color: var(--subtle); }
.ds-body .help-search button, .ds-body .search-form button { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 48px; padding: 0 16px; background: var(--primary); color: var(--primary-ink); border: 0; border-radius: 0; cursor: pointer; box-shadow: none; }
.ds-body .help-search button:hover, .ds-body .search-form button:hover { background: var(--primary-strong); transform: none; }
.ds-body .help-breadcrumb { padding: 20px 0 0; font-size: 14px; color: var(--muted); }
.ds-body .help-breadcrumb a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ds-body .help-breadcrumb a:hover { color: var(--text-strong); }
.ds-body .help-breadcrumb span { margin: 0 6px; }
.ds-body .help-breadcrumb .current { margin: 0; color: var(--text); }
.ds-body .featured-section, .ds-body .categories-section, .ds-body .other-categories, .ds-body .popular-section { padding: clamp(32px, 5vw, 56px) 0 0; }
.ds-body .featured-section h2, .ds-body .categories-section h2, .ds-body .other-categories h2, .ds-body .popular-section h2 { font-family: var(--font-display); font-size: 1.4rem; color: var(--text-strong); margin: 0 0 18px; }
.ds-body .featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.ds-body .categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.ds-body .featured-card, .ds-body .category-card, .ds-body .article-card, .ds-body .result-card { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--text); transition: border-color .15s ease, background-color .15s ease; }
.ds-body .featured-card { flex-direction: column; gap: 8px; }
.ds-body .featured-card:hover, .ds-body .category-card:hover, .ds-body .article-card:hover, .ds-body .result-card:hover { border-color: var(--line-strong); background: var(--surface-2); }
.ds-body .featured-card h3, .ds-body .category-content h3, .ds-body .article-info h3, .ds-body .result-info h3 { margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--text-strong); }
.ds-body .featured-card p, .ds-body .category-content p, .ds-body .article-info p, .ds-body .result-info p { margin: 4px 0 0; font-size: 0.92rem; color: var(--muted); line-height: 1.55; }
.ds-body .read-more { margin-top: auto; color: var(--accent); font-size: 0.9rem; font-weight: 600; }
.ds-body .category-icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.ds-body .article-count, .ds-body .result-category { display: inline-block; margin-top: 8px; font-size: 0.8rem; font-weight: 600; color: var(--subtle); }
.ds-body .contact-section { padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 7vw, 88px); }
.ds-body .contact-card { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 48px); }
.ds-body .contact-card h3 { margin: 0 0 6px; font-size: 1.25rem; color: var(--text-strong); }
.ds-body .contact-card p { margin: 0 0 20px; color: var(--muted); }
.ds-body .contact-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.ds-body .category-header { display: flex; gap: 16px; align-items: center; padding: 28px 0 8px; }
.ds-body .category-info h1, .ds-body .search-header h1, .ds-body .article-header h1 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.02em; color: var(--text-strong); margin: 0; }
.ds-body .category-info p { margin: 6px 0 0; color: var(--muted); }
.ds-body .articles-list, .ds-body .search-results { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
.ds-body .article-card, .ds-body .result-card { justify-content: space-between; align-items: center; }
.ds-body .article-card .article-meta { display: flex; align-items: center; gap: 8px; color: var(--subtle); font-size: 0.85rem; white-space: nowrap; }
.ds-body .result-card > svg { flex: 0 0 auto; color: var(--subtle); }
.ds-body .categories-row, .ds-body .popular-list { display: flex; flex-wrap: wrap; gap: 10px; }
.ds-body .category-pill, .ds-body .popular-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); text-decoration: none; font-size: 0.92rem; }
.ds-body .category-pill:hover, .ds-body .popular-link:hover { border-color: var(--accent); color: var(--text-strong); }
.ds-body .popular-section { padding-bottom: clamp(48px, 7vw, 88px); }
.ds-body .search-header { padding: 28px 0 0; }
.ds-body .results-count { margin: 12px 0 0; color: var(--muted); }
.ds-body .empty-state { text-align: center; padding: 40px 20px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
.ds-body .empty-state svg { color: var(--subtle); }
.ds-body .empty-state h3 { margin: 12px 0 4px; color: var(--text-strong); }
.ds-body .empty-state p { margin: 0 0 18px; }
.ds-body .article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(24px, 4vw, 48px); padding: 28px 0 clamp(48px, 7vw, 88px); align-items: start; }
.ds-body .article-header .article-meta { margin-top: 10px; color: var(--subtle); font-size: 0.9rem; display: flex; gap: 8px; flex-wrap: wrap; }
.ds-body .article-body { margin-top: 28px; color: var(--text); line-height: 1.75; max-width: 72ch; }
.ds-body .article-body h2, .ds-body .article-body h3 { color: var(--text-strong); margin: 1.6em 0 .5em; }
.ds-body .article-body a { color: var(--accent); }
.ds-body .article-body code { font-family: var(--mono); font-size: .9em; background: rgba(255, 255, 255, .06); padding: 2px 6px; border-radius: 6px; }
.ds-body .article-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 24px; }
.ds-body .helpful-section > p:first-child, .ds-body .contact-cta p { margin: 0 0 10px; font-weight: 600; color: var(--text-strong); }
.ds-body .helpful-buttons { display: flex; gap: 10px; }
.ds-body .helpful-buttons form { margin: 0; }
.ds-body .btn-helpful { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; background: transparent; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text); cursor: pointer; }
.ds-body .btn-helpful:hover { border-color: var(--accent); color: var(--text-strong); }
.ds-body .helpful-stats { margin: 10px 0 0; font-size: 0.85rem; color: var(--subtle); }
.ds-body .helpful-stats .text-success { color: var(--success); font-weight: 600; }
.ds-body .article-sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.ds-body .sidebar-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.ds-body .sidebar-section h3 { margin: 0 0 10px; font-size: 0.8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.ds-body .related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ds-body .related-list a, .ds-body .category-link { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.ds-body .related-list a:hover, .ds-body .category-link:hover { color: var(--accent); }
@media (max-width: 860px) {
  .ds-body .article-layout { grid-template-columns: 1fr; }
  .ds-body .article-sidebar { position: static; }
}
@media (max-width: 520px) {
  .ds-body .article-card .article-meta span { display: none; }
  .ds-body .category-header { align-items: flex-start; }
}

/* Legacy variable aliases. Older views reference these names without defining them, so their
   light-theme fallbacks (#fff, #f9fafb ...) rendered white cards with white text on this dark site. */
:root {
  --card-bg: var(--surface);
  --panel-bg: var(--surface);
  --bg-secondary: var(--surface-2);
  --bg-hover: rgba(255, 255, 255, 0.05);
  --text-muted: var(--muted);
  --primary-alpha: var(--accent-soft);
  --glass-border: var(--line);
}
/* style.css makes every `form label` a column flexbox, which puts "*"/"optional" markers on their own line.
   Labels that do not wrap a control go back to normal flow so their text stays on one line. */
.ds-body form label:not(:has(input, select, textarea)) { display: block; }
