/*
Theme Name: DACUUM Russia
Theme URI: https://dacuum.ru/
Author: Codex
Description: Lightweight industrial WordPress theme for the Russian DACUUM catalog.
Version: 1.0.3
Text Domain: dacuum-russia
*/

:root {
  color-scheme: light;
  --color-primary: #0f172a;
  --color-primary-soft: #17233a;
  --color-secondary: #334155;
  --color-accent: #0369a1;
  --color-accent-hover: #075985;
  --color-signal: #c2410c;
  --color-background: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-soft: #f1f5f9;
  --color-foreground: #020617;
  --color-muted: #475569;
  --color-border: #dbe3ec;
  --color-ring: #0284c7;
  --color-on-dark: #f8fafc;
  --color-on-dark-muted: #cbd5e1;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 70px rgba(15, 23, 42, .14);
  --max-content: 1200px;
  --max-reading: 760px;
  --z-header: 40;
  --z-menu: 50;
  --font-body: "Segoe UI Variable Text", "Segoe UI", "Noto Sans", Arial, sans-serif;
  --font-heading: "Segoe UI Variable Display", "Segoe UI", "Noto Sans", Arial, sans-serif;
  --font-tech: "Cascadia Mono", "Consolas", monospace;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --color-primary: #e2e8f0;
    --color-primary-soft: #cbd5e1;
    --color-secondary: #94a3b8;
    --color-accent: #38bdf8;
    --color-accent-hover: #7dd3fc;
    --color-signal: #fb923c;
    --color-background: #07111e;
    --color-surface: #0f1b2e;
    --color-surface-soft: #152238;
    --color-foreground: #f8fafc;
    --color-muted: #cbd5e1;
    --color-border: #334155;
    --color-ring: #7dd3fc;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .22);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, .24);
    --shadow-lg: 0 24px 70px rgba(0, 0, 0, .34);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  overflow-wrap: break-word;
  color: var(--color-foreground);
  background: var(--color-background);
  font: 17px/1.65 var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

a:hover { color: var(--color-accent-hover); }
a, summary, button { touch-action: manipulation; }

:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  color: #fff;
  background: #0f172a;
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

h1, h2, h3, h4 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  color: var(--color-primary);
  font-family: var(--font-heading);
  letter-spacing: -.025em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 { margin: 0 0 var(--space-lg); font-size: clamp(2.35rem, 5vw, 4.5rem); }
h2 { margin: var(--space-3xl) 0 var(--space-md); font-size: clamp(1.85rem, 3.2vw, 2.75rem); }
h3 { margin: var(--space-xl) 0 var(--space-sm); font-size: clamp(1.25rem, 2vw, 1.5rem); }
p, li { max-width: 76ch; }
p { margin: 0 0 var(--space-md); }
ul, ol { padding-left: 1.3em; }

.site-header {
  position: sticky;
  top: 12px;
  z-index: var(--z-header);
  width: min(calc(100% - 32px), 1240px);
  margin: 12px auto 0;
  background: color-mix(in srgb, var(--color-surface) 90%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-border) 82%, transparent);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

.header-inner,
.footer-inner,
.page-shell,
.footer-meta {
  width: min(calc(100% - 32px), var(--max-content));
  margin-inline: auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.brand {
  flex: 0 0 auto;
  color: var(--color-primary);
  text-decoration: none;
}

.brand > span {
  display: block;
  font: 800 1.65rem/1 var(--font-heading);
  letter-spacing: .05em;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--color-muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: .91rem;
  font-weight: 600;
}

.main-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 11px;
  color: var(--color-secondary);
  border-radius: 9px;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.is-current {
  color: var(--color-primary);
  background: var(--color-surface-soft);
}

.main-nav a.is-current { box-shadow: inset 0 -2px 0 var(--color-accent); }

.main-nav .nav-cta,
.mobile-nav .nav-cta {
  margin-left: 6px;
  padding-inline: 16px;
  color: #fff;
  background: var(--color-accent);
  box-shadow: 0 8px 20px rgba(3, 105, 161, .2);
}

.main-nav .nav-cta:hover,
.mobile-nav .nav-cta:hover {
  color: #fff;
  background: var(--color-accent-hover);
}

.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }

.mobile-menu summary {
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 8px 13px;
  color: var(--color-primary);
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}

.mobile-menu svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.mobile-menu .menu-close,
.mobile-menu[open] .menu-open { display: none; }
.mobile-menu[open] .menu-close { display: block; }

.mobile-nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: var(--z-menu);
  min-width: min(320px, calc(100vw - 40px));
  display: grid;
  gap: 4px;
  padding: var(--space-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.mobile-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 11px 14px;
  color: var(--color-secondary);
  border-radius: 10px;
  font-weight: 650;
  text-decoration: none;
}

.mobile-nav a:hover,
.mobile-nav a.is-current { color: var(--color-primary); background: var(--color-surface-soft); }
.mobile-nav .nav-cta { justify-content: center; margin: 4px 0 0; }

main { min-height: 62vh; }
main:focus { outline: none; }

.page-shell { padding-block: var(--space-2xl) 80px; }
.front-shell { width: min(calc(100% - 32px), 1280px); padding-top: var(--space-xl); }

.breadcrumbs { margin-bottom: var(--space-md); color: var(--color-muted); font-size: .9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--color-border); }
.breadcrumbs a { color: var(--color-muted); }

.content-card {
  padding: clamp(24px, 5vw, 58px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.front-card { padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.content-card > p:not([class]),
.content-card > ul:not([class]),
.content-card > ol:not([class]),
.content-card > h2:not([class]),
.content-card > h3:not([class]) { max-width: var(--max-reading); }
.page-lead { max-width: 66ch; color: var(--color-muted); font-size: 1.1rem; }

.content-card img,
.hero-image img,
.product-visual img,
.service-visual img,
.dx-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.hero-layout,
.product-lead,
.service-lead,
.support-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
}

.hero-image,
.product-visual,
.service-visual {
  padding: 10px;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius-md) + 4px);
  box-shadow: var(--shadow-md);
}

.feature-grid,
.service-grid,
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--space-md);
  margin-block: var(--space-xl);
}

.feature-card,
.service-card,
.model-card {
  padding: var(--space-lg);
  color: var(--color-foreground);
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.feature-card strong,
.service-card strong,
.model-card strong {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.2;
}

.model-card {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.model-card span { color: var(--color-muted); font-size: .94rem; }
.model-card:hover { color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-accent) 48%, var(--color-border)); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.support-band {
  margin-block: var(--space-2xl) var(--space-sm);
  padding: clamp(24px, 4vw, 40px);
  color: var(--color-on-dark);
  background: var(--color-primary-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.support-band h2 { margin-top: 0; color: var(--color-on-dark); }
.support-band p { color: var(--color-on-dark-muted); }
.support-band a { color: #fff; }

.button,
.wp-block-button__link,
.dx-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 20px;
  color: #fff !important;
  background: var(--color-accent);
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(3, 105, 161, .2);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.button:hover,
.wp-block-button__link:hover,
.dx-btn:hover { color: #fff !important; background: var(--color-accent-hover); transform: translateY(-1px); }
.button:active,
.wp-block-button__link:active,
.dx-btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.button.secondary,
.dx-btn.alt {
  color: var(--color-on-dark) !important;
  background: transparent;
  border-color: rgba(255, 255, 255, .46);
  box-shadow: none;
}

.button.secondary:hover,
.dx-btn.alt:hover { background: rgba(255, 255, 255, .1); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; }

.wp-block-table,
.dx-table {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin-block: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

table { width: 100%; min-width: 720px; border-collapse: collapse; background: var(--color-surface); }
caption { padding: 14px 16px; color: var(--color-muted); text-align: left; font-weight: 650; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
th { color: #fff; background: #1e3a5f; font-weight: 700; }
td { font-family: var(--font-tech); font-size: .88rem; font-variant-numeric: tabular-nums; }
td:first-child { font-family: var(--font-body); font-weight: 700; }
tbody tr:nth-child(even) { background: color-mix(in srgb, var(--color-surface-soft) 58%, transparent); }
tbody tr:hover { background: color-mix(in srgb, var(--color-accent) 8%, var(--color-surface)); }

.dx-home { min-width: 0; display: grid; gap: 0; }
.dx-home > *,
.dx-hero > *,
.dx-series > *,
.dx-grid > *,
.dx-stats > *,
.dx-steps > *,
.dx-knowledge > * { min-width: 0; }

.dx-hero {
  position: relative;
  isolation: isolate;
  min-height: min(720px, calc(100dvh - 124px));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(32px, 6vw, 72px);
  overflow: hidden;
  color: var(--color-on-dark);
  background: #0f172a;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.dx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(15, 23, 42, .98), rgba(15, 23, 42, .86) 54%, rgba(3, 105, 161, .58)),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, .045) 79px 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(255, 255, 255, .035) 79px 80px);
}

.dx-hero::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -150px;
  bottom: -210px;
  z-index: -1;
  background: rgba(14, 165, 233, .22);
  border-radius: 50%;
  filter: blur(1px);
}

.dx-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  color: #7dd3fc;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-kicker { color: var(--color-accent); }
.dx-hero h1 { max-width: 13ch; margin: 0; color: #fff; font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: .98; }
.dx-hero p { max-width: 62ch; margin-top: var(--space-lg); color: var(--color-on-dark-muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.dx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-xl); }

.dx-visual {
  position: relative;
  padding: 10px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
}

.dx-visual img { aspect-ratio: 16 / 10; object-fit: cover; }
.dx-visual figcaption { position: absolute; right: 18px; bottom: 18px; padding: 6px 10px; color: #fff; background: rgba(15, 23, 42, .8); border-radius: 8px; font-size: .75rem; }

.dx-stats,
.dx-grid,
.dx-steps,
.dx-series,
.dx-knowledge {
  display: grid;
  gap: var(--space-md);
  margin-block: 0;
}

.dx-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--space-lg); }
.dx-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dx-series { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dx-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.dx-knowledge { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.dx-section { padding-block: clamp(42px, 4.5vw, 60px); }
.dx-section + .dx-section { border-top: 1px solid var(--color-border); }
.dx-section-head { max-width: 780px; margin-bottom: var(--space-xl); }
.dx-section-head h2 { margin: 0 0 var(--space-md); }
.dx-section-head p { color: var(--color-muted); font-size: 1.08rem; }

.dx-stat,
.dx-card,
.dx-step,
.dx-series-card,
.dx-article-card {
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.dx-stat strong { display: block; margin-bottom: var(--space-sm); color: var(--color-primary); font: 750 clamp(1.65rem, 3vw, 2.35rem)/1 var(--font-heading); font-variant-numeric: tabular-nums; }
.dx-stat span { color: var(--color-muted); font-size: .92rem; line-height: 1.4; }

.dx-card { position: relative; min-height: 260px; display: flex; flex-direction: column; }
.dx-card h3 { margin-top: var(--space-lg); }
.dx-card p { color: var(--color-muted); font-size: .96rem; }
.dx-card p:last-child { margin-top: auto; margin-bottom: 0; }
.dx-card a { font-weight: 700; }

.dx-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 10%, var(--color-surface));
  border-radius: 12px;
}

.dx-icon:empty { display: none; }
.dx-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.dx-series-card { display: grid; grid-template-columns: 1fr auto; gap: var(--space-md); align-items: start; text-decoration: none; }
.dx-series-card h3 { margin: 0 0 var(--space-sm); }
.dx-series-card p { margin: 0; color: var(--color-muted); }
.dx-series-card strong { color: var(--color-accent); font-family: var(--font-tech); font-size: 1.2rem; white-space: nowrap; }
.dx-series-card:hover { border-color: color-mix(in srgb, var(--color-accent) 48%, var(--color-border)); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.dx-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  color: var(--color-on-dark);
  background: #17233a;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.dx-band h2 { margin-top: 0; color: #fff; }
.dx-band p { color: var(--color-on-dark-muted); }

.dx-step { position: relative; padding-top: 72px; }
.dx-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  color: var(--color-accent);
  font: 800 1.2rem/1 var(--font-tech);
}
.dx-step strong { display: block; margin-bottom: var(--space-sm); color: var(--color-primary); font-size: 1.1rem; }
.dx-step span { color: var(--color-muted); font-size: .94rem; }

.dx-article-card { min-height: 220px; display: flex; flex-direction: column; }
.dx-article-card h3 { margin-top: 0; }
.dx-article-card p { color: var(--color-muted); font-size: .95rem; }
.dx-article-card a { margin-top: auto; font-weight: 700; }
.dx-mini { color: var(--color-muted); font-size: .88rem; }

.has-reveal .dx-card,
.has-reveal .dx-stat,
.has-reveal .dx-step,
.has-reveal .model-card { opacity: 0; transform: translateY(14px); }
.has-reveal .is-visible { opacity: 1; transform: translateY(0); transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out), box-shadow 180ms ease, border-color 180ms ease; }

.site-footer { padding: 64px 0 24px; color: var(--color-on-dark-muted); background: #0f172a; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.footer-inner strong { display: block; margin-bottom: 14px; color: #fff; font-family: var(--font-heading); }
.footer-brand strong { font-size: 1.7rem; letter-spacing: .06em; }
.footer-brand p { max-width: 38ch; }
.footer-nav, .footer-contact { display: grid; align-content: start; gap: 9px; }
.footer-nav a, .footer-contact a { color: var(--color-on-dark-muted); text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-meta { margin-top: 44px; padding-top: 20px; border-top: 1px solid #334155; color: #94a3b8; font-size: .84rem; }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .dx-grid, .dx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 88px; }
  .site-header { top: 8px; width: min(calc(100% - 20px), 1240px); margin-top: 8px; }
  .header-inner { width: calc(100% - 24px); min-height: 68px; }
  .brand small { display: none; }
  .page-shell { padding-block: 32px 64px; }
  .front-shell { width: min(calc(100% - 20px), 1280px); padding-top: 20px; }
  .dx-hero { min-height: auto; grid-template-columns: 1fr; padding: 36px 24px; border-radius: var(--radius-lg); }
  .dx-hero h1 { max-width: 15ch; overflow-wrap: normal; word-break: normal; hyphens: auto; font-size: clamp(2.15rem, 9.5vw, 4rem); }
  .dx-visual { max-width: 620px; }
  .dx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-series, .dx-band, .hero-layout, .product-lead, .service-lead, .support-band { grid-template-columns: 1fr; }
  .dx-knowledge { grid-template-columns: 1fr; }
  .content-card { padding: 24px; border-radius: var(--radius-md); }
  .footer-inner { grid-template-columns: 1.3fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .header-inner, .footer-inner, .page-shell, .footer-meta { width: min(calc(100% - 24px), var(--max-content)); }
  .front-shell { width: min(calc(100% - 16px), 1280px); }
  .mobile-menu summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dx-actions { display: grid; }
  .dx-btn { width: 100%; }
  .dx-stats, .dx-grid, .dx-steps { grid-template-columns: 1fr; }
  .dx-section { padding-block: 44px; }
  .dx-series-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .has-reveal .dx-card,
  .has-reveal .dx-stat,
  .has-reveal .dx-step,
  .has-reveal .model-card { opacity: 1; transform: none; }
}

@media (prefers-contrast: more) {
  :root { --color-border: #64748b; }
  .content-card, .dx-card, .dx-stat, .dx-step, .model-card { box-shadow: none; }
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header { background: var(--color-surface); }
}
