/* Robert-inspired legal site, v1.0. See DESIGN.md for evidence and usage.
   Seven base colors and font families/scales are explicit in the source.
   Layout, semantic assignments and interaction tokens are proposed. */
:root {
  --color-accent: #c8a450;
  --color-text-muted: #555555;
  --color-surface: #ffffff;
  --color-text: #000000;
  --color-text-inverse: #eaeaea;
  --color-charcoal: #15242e;
  --color-ocean-pine: #356469;
  --color-border-light: #d9d9d9;
  --color-border-dark: rgb(234 234 234 / 24%);
  --color-glass: rgb(255 255 255 / 12%);
  --color-accent-hover: #b38d35;
  --color-danger: #b42318;
  --color-success: #18794e;
  --font-heading: 'Source Serif 4', Georgia, serif;
  --font-body: 'Inter', Arial, sans-serif;
  --heading-62: 3.875rem;
  --heading-46: 2.875rem;
  --heading-36: 2.25rem;
  --heading-32: 2rem;
  --heading-30: 1.875rem;
  --heading-26: 1.625rem;
  --text-22: 1.375rem;
  --text-20: 1.25rem;
  --text-18: 1.125rem;
  --text-16: 1rem;
  --text-15: .9375rem;
  --type-h1: clamp(2.25rem, 1.25rem + 4vw, 3.875rem);
  --type-h2: clamp(1.875rem, 1.25rem + 2vw, 2.875rem);
  --line-heading: 1.15;
  --line-body: 1.55;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-30: 7.5rem;
  --container-outer: 90rem;
  --container-content: 72.5rem;
  --page-gutter: 2rem;
  --section-space: 6rem;
  --radius-panel: 2rem;
  --radius-card: .75rem;
  --radius-elevated: 1.5rem;
  --radius-image: .75rem;
  --radius-pill: 999px;
  --shadow-elevated: 0 12px 40px rgb(21 36 46 / 8%);
  --duration-fast: 180ms;
  --duration-disclosure: 240ms;
  --ease-standard: ease-out;
  --focus-color: var(--color-ocean-pine);
  --button-label-color: var(--color-charcoal);
  --panel-overlay: linear-gradient(120deg, rgb(21 36 46 / 94%), rgb(21 36 46 / 82%) 60%, rgb(53 100 105 / 78%));
}

@media (max-width: 1199px) {
  :root { --section-space: 4rem; --page-gutter: 1.5rem; }
}
@media (max-width: 767px) {
  :root { --section-space: 3rem; --page-gutter: 1rem; --radius-panel: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --duration-fast: 0ms; --duration-disclosure: 0ms; }
}

/* Helper only: components still require their own layout and interaction code. */
.ds-focus:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
}
.ds-dark { --focus-color: var(--color-accent); }
