.embroidery-site {
  font-family: Inter, Arial, sans-serif;
}

.embroidery-site .embroidery-primary {
  color: #221326 !important;
}

.embroidery-site :is(a, button, summary, input, textarea):focus-visible {
  outline: 2px solid var(--emb-purple);
  outline-offset: 3px;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background: #1b1620;
}

html[data-theme="dark"] .embroidery-site {
  --emb-purple: #e0c5f4;
  --emb-purple-dark: #2b1f35;
  --emb-orange: var(--mirts-brand-orange,#ff6b28);
  --emb-ink: #f6eef8;
  --emb-muted: #d2c2d8;
  --emb-line: #574665;
  --emb-surface: #35283e;
  --legacy-paper: #282030;
  --legacy-header: #261d2d;
  background: #1b1620;
  color: var(--emb-ink);
}

html[data-theme="dark"] .embroidery-site :is(.embroidery-header, .embroidery-footer, .site-footer) {
  background: var(--legacy-header);
  color: var(--emb-ink);
  border-color: var(--emb-line);
}

html[data-theme="dark"] .embroidery-site :is(.embroidery-nav a, .site-phone, .site-email, .site-footer a) {
  color: var(--emb-ink);
}

html[data-theme="dark"] .embroidery-site :is(.embroidery-nav a, .site-phone, .site-email, .site-footer a):hover {
  color: #ffd0b2;
}

html[data-theme="dark"] .embroidery-site :is(.site-hours, .site-brand-copy small, .site-footer p, .site-footer small) {
  color: var(--emb-muted);
}

html[data-theme="dark"] .embroidery-site .site-brand-word {
  filter: brightness(0) invert(1);
}

html[data-theme="dark"] .embroidery-site :is(.embroidery-hero, .embroidery-cta) {
  background: linear-gradient(130deg, var(--legacy-paper), var(--emb-surface));
  color: var(--emb-ink);
  border-color: var(--emb-line);
  box-shadow: none;
}

html[data-theme="dark"] .embroidery-site .embroidery-hero-media img {
  background-color: var(--emb-surface);
}

html[data-theme="dark"] .embroidery-site .embroidery-section {
  background: var(--legacy-paper);
  color: var(--emb-ink);
}

html[data-theme="dark"] .embroidery-site .embroidery-program {
  background: var(--emb-purple-dark);
}

html[data-theme="dark"] .embroidery-site .embroidery-rules article {
  background: var(--emb-surface);
  color: var(--emb-ink);
}

html[data-theme="dark"] .embroidery-site .requirements-grid article > span {
  background: #493655;
}

html[data-theme="dark"] .embroidery-site .embroidery-note {
  background: #44302d;
  color: #ffd9c2;
}

html[data-theme="dark"] .embroidery-site :is(.process-list li > span, .sewing-brief-form legend span) {
  background: #4d385c;
  color: #f1d9ff;
}

html[data-theme="dark"] .embroidery-site .embroidery-primary:hover {
  background: #ffad80 !important;
}

html[data-theme="dark"] .embroidery-site .embroidery-secondary {
  background: #382b43 !important;
  border-color: #846995 !important;
  color: #eed9ff !important;
}

html[data-theme="dark"] .embroidery-site .embroidery-secondary:hover {
  background: #493655 !important;
}

html[data-theme="dark"] .embroidery-site .faq-list summary:hover {
  color: var(--emb-purple);
}

html[data-theme="dark"] .embroidery-site .sewing-process-next {
  background: var(--emb-surface);
}

html[data-theme="dark"] .embroidery-site :is(.sewing-brief-progress, .sewing-brief-form legend, .field-label) {
  color: var(--emb-ink);
}

