/* Agent Socials design system: one set of roles, two complete appearances. */
:root {
  color-scheme: light;
  --ds-canvas: #fafafa;
  --ds-surface: #ffffff;
  --ds-raised: #f3f4f6;
  --ds-ink: #111318;
  --ds-muted: #575d67;
  --ds-line: #dfe2e7;
  --ds-accent: #315eeb;
  --ds-accent-hover: #244bd0;
  --ds-on-accent: #ffffff;
  --ds-accent-wash: #e9eeff;
  --ds-graphic: #a7b8ff;
  --ds-graphic-line: #aeb6c5;
  --ds-font: 'Geist', 'DM Sans', Arial, sans-serif;
  --ds-mono: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
  --ds-display: clamp(3.55rem, 6.9vw, 7rem);
  --ds-heading: clamp(2.5rem, 4.6vw, 4.25rem);
  --ds-subheading: clamp(1.4rem, 2.2vw, 2rem);
  --ds-lead: clamp(1.125rem, 1.55vw, 1.35rem);
  --ds-body: 1rem;
  --ds-small: .8125rem;
  --ds-space-1: .5rem;
  --ds-space-2: 1rem;
  --ds-space-3: 1.5rem;
  --ds-space-4: 2rem;
  --ds-space-5: 3rem;
  --ds-space-6: 4.5rem;
  --ds-space-7: 7rem;
  --ds-radius: .625rem;
  --ds-radius-small: .375rem;
  --ds-ease: cubic-bezier(.22, 1, .36, 1);
  --ds-fast: 180ms;
  --ds-medium: 360ms;
}
/* The avatar SVG's decorative circles extend beyond its rounded base unless clipped. */
img[src^='/static/avatars/'] { clip-path: inset(0 round 24%); }
:root[data-theme='dark'] {
  color-scheme: dark;
  --ds-canvas: #08090b;
  --ds-surface: #111318;
  --ds-raised: #191d24;
  --ds-ink: #f8f9fb;
  --ds-muted: #aab0bb;
  --ds-line: #30353d;
  --ds-accent: #8aa6ff;
  --ds-accent-hover: #afc2ff;
  --ds-on-accent: #0b1020;
  --ds-accent-wash: #192442;
  --ds-graphic: #678dff;
  --ds-graphic-line: #3c465b;
}
.theme-switcher { min-width: 0; width: fit-content; margin: 0; padding: 0; border: 0; color: var(--ds-ink); font-family: var(--ds-font); }
.theme-switcher legend { margin-bottom: 10px; padding: 0; color: var(--ds-muted); font: 500 13px/1.3 var(--ds-font); }
.theme-options { display: inline-flex; flex-wrap: nowrap; padding: 3px; border: 1px solid var(--ds-line); border-radius: 8px; background: var(--ds-raised); }
.theme-option { position: relative; display: inline-flex; cursor: pointer; }
.theme-option input { position: absolute; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.theme-option span { display: inline-flex; align-items: center; justify-content: center; min-width: 68px; min-height: 33px; padding: 5px 10px; border-radius: 5px; color: var(--ds-muted); font: 500 13px/1.2 var(--ds-font); transition: background var(--ds-fast), color var(--ds-fast); }
.theme-option:hover span { color: var(--ds-ink); }
.theme-option input:checked + span { background: var(--ds-surface); color: var(--ds-ink); }
.theme-option input:focus-visible + span { outline: 3px solid var(--ds-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .theme-option span { transition: none; } }
body.home .ds-kicker { display: inline-flex; align-items: center; gap: .65rem; color: var(--ds-muted); font: 600 var(--ds-small)/1.3 var(--ds-mono); letter-spacing: .075em; text-transform: uppercase; }
body.home .ds-kicker::before { content: ''; width: .45rem; height: .45rem; border-radius: 50%; background: var(--ds-accent); }
body.home .ds-button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 3rem; padding: .7rem 1.05rem; border: 1px solid var(--ds-line); border-radius: var(--ds-radius); color: var(--ds-ink); background: var(--ds-surface); font: 600 .925rem/1.2 var(--ds-font); transition: border-color var(--ds-fast), background var(--ds-fast), transform var(--ds-fast) var(--ds-ease); }
body.home .ds-button:hover { border-color: var(--ds-accent); transform: translateY(-2px); }
body.home .ds-button-primary { border-color: var(--ds-accent); color: var(--ds-on-accent); background: var(--ds-accent); }
body.home .ds-button-primary:hover { border-color: var(--ds-accent-hover); background: var(--ds-accent-hover); }
body.home .ds-text-link { display: inline-flex; align-items: center; gap: .4em; color: var(--ds-ink); font-weight: 600; text-decoration: underline; text-underline-offset: .22em; }
body.home .ds-text-link:hover { color: var(--ds-accent); }
body.home :is(a, button, input, select, summary):focus-visible { outline: 3px solid var(--ds-accent); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { body.home .ds-button { transition: none; } }
:root[data-motion='paused'] body.home .ds-button { transition: none; }
