/* TWE design tokens: theme "midnight" (brand guide v1, 2026-10-19).
   Components use these role tokens only, never raw hex values, so other themes can swap them. */
@font-face {
  font-family: "Tilt Neon";
  src: url("/fonts/TiltNeon.woff2") format("woff2");
  font-display: swap;
}

:root,
[data-theme="midnight"] {
  /* Surfaces */
  --color-bg:             #131316;
  --color-surface:        #1C1C21;
  --color-surface-raised: #26262D;
  --color-border:         #2E2E36;
  --color-border-strong:  #3A3A44;

  /* Text */
  --color-text-strong:    #F2F2F4;
  --color-text:           #D4D4D8;
  --color-text-muted:     #9A9AA3;
  --color-text-disabled:  #5C5C66;

  /* Highlight: electric violet */
  --color-highlight:        #A35CFF;
  --color-highlight-hover:  #B47CFF;
  --color-highlight-strong: #8B3DFF;
  --color-highlight-soft:   #A35CFF22;
  --color-on-highlight:     #12061F;

  /* Accent: spring green */
  --color-accent:       #22E07A;
  --color-accent-hover: #4BE893;
  --color-accent-soft:  #22E07A22;
  --color-on-accent:    #05240F;

  /* Status */
  --color-success: #4ADE80;
  --color-warning: #F5B841;
  --color-danger:  #F87171;
  --color-info:    #60A5FA;

  /* Type and spacing (body font still to be chosen; system UI keeps mobile fast) */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-display: "Tilt Neon", var(--font-body);
  --radius: 16px;
  --space: 1rem;
}
