/* Static-site subset of Open Claude UI / code-examples/cds-theme.css.
   CDS brief overrides upstream alpha-2 / dark Clay defaults. System fonts only. */
:root {
  color-scheme: light;
  --brand: #c6613f;
  --cds-clay: #d97757;
  --cds-clay-hover: #cc5a36;
  --cds-surface-0: #f9f9f7;
  --cds-surface-1: #fcfcfb;
  --cds-surface-2: #ffffff;
  --cds-surface-3: #ffffff;
  --cds-border: rgba(0, 0, 0, .06);
  --cds-border-strong: rgba(0, 0, 0, .20);
  --cds-text-primary: #151515;
  --cds-text-secondary: #525252;
  --cds-fill-ghost-hover: rgba(0, 0, 0, .05);
  --cds-fill-brand-subtle: #fbf3ef;
  /* Clay marks the interface; a deeper shade keeps small links readable. */
  --cds-text-link: #a0472c;
  --cds-selection: #f3c5b2;
  --cds-code-bg: #0d0d0c;
  --cds-code-text: #e7e6e1;
  --cds-code-secondary: #c3c2b7;
  --cds-code-hover: rgba(255, 255, 255, .10);
  --cds-code-border: rgba(255, 255, 255, .08);
  --cds-dialog-backdrop: rgba(0, 0, 0, .60);
  --cds-shadow-popover: 0 .5rem 1.5rem rgba(0, 0, 0, .12);
  --cds-radius: .5rem;
  --cds-radius-card: .75rem;
  --cds-radius-dialog: 1rem;
  --cds-radius-pill: 9999px;
  --cds-ease-swift: cubic-bezier(.16, 1, .3, 1);
  --cds-ease-enter: cubic-bezier(.22, 1, .36, 1);
  --cds-duration: 180ms;
  --font-cjk-sans-fallback: "PingFang SC", "PingFang TC", "Hiragino Sans", "Apple SD Gothic Neo", "Microsoft YaHei", "Noto Sans CJK SC";
  --font-sans-fallbacks: system-ui, "Segoe UI", Roboto, Helvetica, Arial, var(--font-cjk-sans-fallback), sans-serif;
  --font-serif-fallbacks: ui-serif, Georgia, "Times New Roman", "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
  --font-mono-fallbacks: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  /* Bridge page roles so every surface follows one token source. */
  --paper: var(--cds-surface-0);
  --ink: var(--cds-text-primary);
  --secondary: var(--cds-text-secondary);
  --muted: var(--cds-text-secondary);
  --line: var(--cds-border);
  --serif: var(--font-serif-fallbacks);
  --ui: var(--font-sans-fallbacks);
  --control-radius: var(--cds-radius);
  --tray-radius: var(--cds-radius-card);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --cds-clay: #cc6b49;
    --cds-clay-hover: #e08264;
    --cds-surface-0: #0b0b0b;
    --cds-surface-1: #151515;
    --cds-surface-2: #1a1a19;
    --cds-surface-3: #20201f;
    --cds-border: rgba(255, 255, 255, .08);
    --cds-border-strong: rgba(255, 255, 255, .20);
    --cds-text-primary: #f5f5f5;
    --cds-text-secondary: #c2c2c2;
    --cds-fill-ghost-hover: rgba(255, 255, 255, .05);
    --cds-fill-brand-subtle: rgba(204, 107, 73, .15);
    --cds-text-link: #e8a28b;
    --cds-selection: #712b0f;
    --cds-shadow-popover: 0 .5rem 1.75rem rgba(0, 0, 0, .65);
  }
}
html { background: var(--paper); }
::selection { background: var(--cds-selection); color: var(--ink); }
