/* XDDocK visual system: clear type, compact controls, and one focused accent. */
:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --fg: #111827;
  --muted: #596579;
  --mint: #536dfe;
  --line: #dce2ec;
  --surface: #ffffff;
  --solid: #fff;
  --button-bg: #17213b;
  --button-fg: #fff;
  --glow: #eaf0ff;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--font);
  scroll-behavior: smooth;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1220;
  --fg: #eef2ff;
  --muted: #aab4c8;
  --mint: #9aabff;
  --line: #2a3347;
  --surface: #141b2b;
  --solid: #151d2e;
  --button-bg: #e8edff;
  --button-fg: #141b2b;
  --glow: #172344;
}
body { background: var(--bg); }
.header { top: 16px; margin-top: 16px; }
.nav-shell, :root[data-theme="dark"] .nav-shell {
  border-color: var(--line);
  background: color-mix(in srgb, var(--solid) 94%, transparent);
  box-shadow: 0 8px 24px #15224112;
}
.brand { letter-spacing: -.045em; }
.button, .nav-download, .icon-button { border-radius: 11px; }
.button { transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-primary { background: var(--mint); color: #fff; }
:root[data-theme="dark"] .button-primary { color: #111827; }
.nav-download { gap: 10px; padding-inline: 14px; }
.release-link { font: 500 11px/1.4 var(--font); letter-spacing: .01em; }
.release-link > span:last-child { border: 0; padding-left: 2px; }
.hero-copy > p:not(.eyebrow):not(.hero-note) { color: var(--fg); }
.hero-note { font-size: 12px; }
.demo-workspace { border-color: var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 12px 40px #1522410a; }
:root[data-theme="dark"] .demo-workspace { border-color: var(--line); background: var(--surface); box-shadow: 0 12px 40px #0002; }
.preview-open { border-radius: 9px; transition: color .16s ease, background-color .16s ease; }
.preview-open:hover, .preview-open[aria-pressed="true"] { background: var(--bg); box-shadow: none; }
.release-highlights article, .download-card, .upcoming-platform, .download-stats {
  border-color: var(--line);
  box-shadow: none;
}
.release-highlights article { border-radius: 16px; }
.download-card { border-radius: 17px; background: var(--surface); }
.everyday-grid article { border-color: var(--line); }
.footer-wordmark { color: #e1e6f1; }
:root[data-theme="dark"] .footer-wordmark { color: #1a2540; }
.footer-bottom a:hover, .original-credit a:hover { color: var(--mint); }
.original-credit { margin-top: 14px; color: var(--muted); font-size: 11px; }
.original-credit a { text-decoration: underline; text-underline-offset: 3px; }
.analytics-notice { border-color: var(--line); border-radius: 18px; box-shadow: 0 18px 55px #10192e24; }
:is(button, a, summary):focus-visible { outline-offset: 3px; }

@media (min-width: 901px) {
  .nav-shell, .header[data-nav-ready] .nav-shell { width: 100%; border-radius: 18px; }
  .nav-toggle, .header[data-nav-ready] .nav-toggle { display: none; }
  .nav-content, .header[data-nav-ready] .nav-content {
    inset: 3px 10px 3px 14px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: none;
  }
  .header-actions { margin-left: 4px; }
}
@media (max-width: 900px) {
  .nav-shell, .header[data-nav-ready] .nav-shell { border-color: var(--line); }
  .nav-toggle { background: var(--surface); }
  .hero-copy > p:not(.eyebrow):not(.hero-note) { color: var(--fg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
