@font-face {
  font-family: "Lumixa Design Sans";
  src: url("./fonts/SourceSans3-Cyrillic.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0400-052F,U+2DE0-2DFF,U+A640-A69F;
}

@font-face {
  font-family: "Lumixa Design Sans";
  src: url("./fonts/SourceSans3-Latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0000-024F,U+2000-206F,U+20A0-20CF,U+2100-214F;
}

@font-face {
  font-family: "Lumixa Design Serif";
  src: url("./fonts/SourceSerif4-Cyrillic.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0400-052F,U+2DE0-2DFF,U+A640-A69F;
}

@font-face {
  font-family: "Lumixa Design Serif";
  src: url("./fonts/SourceSerif4-Latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0000-024F,U+2000-206F,U+20A0-20CF,U+2100-214F;
}

:root {
  --lx-pearl: #f4f2ed;
  --lx-milk: #f7f6ef;
  --lx-paper: #faf9f4;
  --lx-field: #fffef9;
  --lx-canvas: #eaeae1;
  --lx-satin-shade: #e8e4db;
  --lx-ink: #171a19;
  --lx-ink-soft: #50544a;
  --lx-line: #dcded0;
  --lx-control-line: #858574;
  --lx-olive: #4e6036;
  --lx-primary: var(--lx-olive);
  --lx-olive-hover: #3e5029;
  --lx-selection: #ebede0;
  --lx-deep-olive: #252e21;
  --lx-olive-light: #dce5c8;
  --lx-on-olive: #fff;
  --lx-font-ui: "Lumixa Design Sans", "Segoe UI", Arial, sans-serif;
  --lx-font-display: "Lumixa Design Serif", Georgia, serif;
  --lx-card-radius: 1rem;
  --lx-panel-radius: 1.25rem;
  --lx-control-radius: .75rem;
  --lx-pill-radius: 999px;
  --lx-target-size: 44px;
  --lx-action-gap: .5em;
  --lx-switch-gap: .25rem;
  --lx-satin: radial-gradient(ellipse at 18% 0%, #fffdf6aa, transparent 68%),
    linear-gradient(111deg, var(--lx-pearl) 12%, var(--lx-satin-shade) 92%);
  --lx-shadow-panel: 0 12px 40px #33382510, 0 2px 6px #3338250b;
  --lx-shadow-card: 0 2px 6px #3338250b, 0 8px 20px #33382510;
  --lx-shadow-action: inset 0 1px 0 #ffffff36, 0 4px 12px #33431e26;
  --lx-shadow-quiet: 0 2px 8px #3338250c;
  --lx-time-quick: 160ms;
  --lx-time-standard: 320ms;
  --lx-ease: cubic-bezier(.22, 1, .36, 1);
}

:where([data-lumixa-theme]) {
  --lx-current-ground: var(--lx-pearl);
  --lx-current-surface: var(--lx-paper);
  --lx-current-feature: var(--lx-satin);
  --lx-current-shadow: var(--lx-shadow-card);
  --lx-current-action-shadow: var(--lx-shadow-action);
  --lx-current-action-radius: var(--lx-pill-radius);
}

[data-lumixa-theme="work"] {
  --lx-current-surface: var(--lx-field);
  --lx-current-feature: var(--lx-milk);
  --lx-current-shadow: var(--lx-shadow-quiet);
  --lx-current-action-shadow: none;
  --lx-current-action-radius: var(--lx-control-radius);
}

:where([data-lumixa-theme]) .lx-surface {
  background: var(--lx-current-surface);
  color: var(--lx-ink);
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-card-radius);
  box-shadow: var(--lx-current-shadow);
}

:where([data-lumixa-theme]) .lx-surface--feature {
  background: var(--lx-current-feature);
  border-radius: var(--lx-panel-radius);
}

:where([data-lumixa-theme]) .lx-heading {
  font-family: var(--lx-font-display);
  font-optical-sizing: auto;
  font-synthesis: none;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.12;
}

:where([data-lumixa-theme]) .lx-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--lx-action-gap);
  min-block-size: var(--lx-target-size);
  max-inline-size: 100%;
  padding: .55em 1.1em;
  border: 1px solid var(--lx-control-line);
  border-radius: var(--lx-current-action-radius);
  background: var(--lx-current-surface);
  color: var(--lx-ink);
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: background-color var(--lx-time-quick) var(--lx-ease),
    color var(--lx-time-quick) var(--lx-ease), border-color var(--lx-time-quick) var(--lx-ease);
}

:where([data-lumixa-theme]) :is(.lx-action--primary, .button--primary, .button.primary, .sage-cta) {
  background: var(--lx-primary);
  border-color: var(--lx-primary);
  border-radius: var(--lx-current-action-radius);
  color: var(--lx-on-olive);
  box-shadow: var(--lx-current-action-shadow);
}

:where([data-lumixa-theme]) .lx-action:not(:disabled, [aria-disabled="true"]):hover {
  background-color: var(--lx-selection);
  color: var(--lx-ink);
}

:where([data-lumixa-theme]) :is(.lx-action--primary, .button--primary, .button.primary, .sage-cta):not(:disabled, [aria-disabled="true"]):hover {
  background-color: var(--lx-olive-hover);
  border-color: var(--lx-olive-hover);
  color: var(--lx-on-olive);
}

:where([data-lumixa-theme]) .lx-action:is(:disabled, [aria-disabled="true"]) {
  box-shadow: none;
  opacity: .56;
}

:where([data-lumixa-theme]) .lx-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--lx-switch-gap);
  padding: var(--lx-switch-gap);
  background: var(--lx-milk);
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-control-radius);
}

:where([data-lumixa-theme]) .lx-switch :is([aria-selected="true"], [aria-pressed="true"], [aria-current]) {
  background: var(--lx-selection);
  border-color: var(--lx-olive);
  color: var(--lx-olive-hover);
}

:where([data-lumixa-theme]) :where(.lx-action, .button, .sage-cta, .lx-switch button, .lx-switch a):focus-visible {
  outline: 2px solid var(--lx-olive-hover);
  outline-offset: 3px;
}

.lx-volume-icon {
  display: block;
  inline-size: 3.75rem;
  block-size: auto;
  flex: none;
}

@media (prefers-reduced-motion: reduce) {
  :where([data-lumixa-theme]) :where(.lx-action, .lx-switch *) {
    transition: none;
  }
}
