:root {
  /* ── Palette (orchid / mauve) ─────────────────────────────────────── */
  --am-orchid: #c9a0c9;
  --am-orchid-deep: #a87ba8;
  --am-orchid-light: #dfc4df;

  --am-mauve: #b8a0b8;
  --am-mauve-deep: #8f7a8f;

  --am-lavender: #e8dce4;
  --am-lavender-soft: #f3ecf0;

  --am-rose: #d4a5a5;
  --am-rose-soft: #eacaca;

  --am-cream: #fefcfd;
  --am-surface: #f9f4f7;
  --am-surface-2: #f3ecf0;

  --am-charcoal: #332a30;
  --am-ink-soft: #5e535a;
  --am-meta: #8a7d85;

  --am-white: #ffffff;
  --am-line: #ddd0d8;

  /* ── Spacing scale ────────────────────────────────────────────────── */
  --am-space-2xs: 0.5rem;
  --am-space-xs: 0.75rem;
  --am-space-sm: 1rem;
  --am-space-md: 1.5rem;
  --am-space-lg: 2rem;
  --am-space-xl: 3rem;
  --am-space-2xl: 4.5rem;

  /* ── Border radius ────────────────────────────────────────────────── */
  --am-radius-sm: 6px;
  --am-radius-md: 10px;
  --am-radius-lg: 16px;
  --am-radius-pill: 999px;

  /* ── Typography ───────────────────────────────────────────────────── */
  --am-font-body: 'Lato', system-ui, sans-serif;
  --am-font-heading: 'Raleway', system-ui, sans-serif;

  /* ── Shadows ──────────────────────────────────────────────────────── */
  --am-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --am-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --am-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);

  /* ── Motion ───────────────────────────────────────────────────────── */
  --am-transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

/* ── Utility classes ─────────────────────────────────────────────────── */

.am-box {
  background: var(--am-white);
  border: 1px solid var(--am-line);
  border-radius: var(--am-radius-md);
  padding: var(--am-space-md);
  box-shadow: var(--am-shadow-sm);
}

.am-title {
  font-family: var(--am-font-heading);
  font-size: clamp(1.02rem, 1.4vw, 1.25rem);
  font-weight: 600;
  color: var(--am-charcoal);
  line-height: 1.2;
  margin: 0 0 var(--am-space-sm);
}

.am-text-small {
  font-family: var(--am-font-body);
  font-size: 0.85rem;
  color: var(--am-ink-soft);
  line-height: 1.6;
}

.am-grid {
  display: grid;
  gap: var(--am-space-md);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

/* ── Reduced motion ──────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
