/* ET: Legacy web platform — design tokens.
   Source of truth: design-system/et-legacy/MASTER.md. Dark only. */
:root {
  color-scheme: dark;

  /* surfaces */
  --bg-0: #0B0C09;
  --bg-1: #12140F;
  --bg-2: #191C14;
  --bg-3: #22261B;
  --line: #2F3427;
  --line-strong: #474E3A;

  /* text */
  --fg: #E8E3D3;
  --fg-muted: #ABA58F;
  --fg-dim: #8B8673;

  /* brand */
  --olive: #56653A;
  --olive-hi: #93A266;
  --khaki: #C9B98A;
  --brass: #C9A14A;
  --brass-hi: #D9B460;
  --on-brass: #14120B;
  --red: #9E3B2E;
  --red-hi: #D06A55;
  --allies: #6F8CA8;
  --axis: #B5503F;
  --ok: #86A95A;
  --warn: #D3A443;
  --focus: #E3C66F;
  --stage-chrome: rgb(11 12 9 / .82);
  --scrim: rgb(0 0 0 / .7);

  /* type */
  --font-display: "Bahnschrift Condensed", "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Bahnschrift", "Barlow", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
  --t-12: 12px; --t-13: 13px; --t-15: 15px; --t-18: 18px; --t-22: 22px; --t-28: 28px; --t-36: 36px;

  /* spacing (density 7) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --header-h: 48px;
  --row-h: 40px;
  --control-h: 36px;

  /* shape and depth */
  --r: 2px;
  --chamfer: 8px;
  --shadow-overlay: 0 12px 32px rgb(0 0 0 / .55);

  /* motion */
  --t-fast: 150ms;
  --t-panel: 200ms;
  --t-route: 250ms;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in: cubic-bezier(.5, 0, .8, .3);
}

@media (pointer: coarse) {
  :root { --control-h: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { --t-fast: 1ms; --t-panel: 1ms; --t-route: 1ms; }
}
