/* Ready Board v1 — tokens. Every colour and font lives here. Product name/domain are CSS strings so a rename is one edit. */
@font-face { font-family: "RBDisplay"; src: url("fonts/Archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; }
@font-face { font-family: "RBText"; src: url("fonts/InterVar.woff2") format("woff2"); font-weight: 100 900; font-style: normal; }

:root {
  /* naming — change here to rename the product everywhere */
  --product-name: "Ready Board";
  --product-domain: "readyboard.app";

  /* product palette (setup, landing, unpaired TV) */
  --rb-paper: #F5F3EE;
  --rb-paper-2: #ECE9E2;
  --rb-surface: #FFFFFF;
  --rb-ink: #121417;
  --rb-ink-2: #565B63;
  --rb-ink-3: #8A8F97;
  --rb-rule: rgba(18, 20, 23, .10);
  --rb-rule-2: rgba(18, 20, 23, .18);
  --rb-go: #0F7B4F;          /* "ready" green: the one action colour */
  --rb-go-press: #0B6340;
  --rb-go-ink: #FFFFFF;
  --rb-go-soft: #E2F0E8;
  --rb-wait: #9A5B00;        /* "preparing" amber, text-safe on paper */
  --rb-wait-soft: #FAEED8;
  --rb-night: #0F1114;       /* unpaired TV, landing device */
  --rb-night-2: #1A1D22;
  --rb-on-night: #F2F0EA;
  --rb-on-night-2: rgba(242, 240, 234, .62);
  --rb-danger: #B42318;
  --rb-focus: #2B6CDF;

  --rb-lit: #3FBF83;         /* lit column in the product mark */
  --shadow-device: 0 40px 60px -36px rgba(18, 20, 23, .55);
  --shadow-pop: 0 0 0 1px rgba(18, 20, 23, .10), 0 18px 30px -20px rgba(18, 20, 23, .4);

  /* POS brand references (mock only; replace with official assets) */
  --pos-square: #121417;
  --pos-clover: #1B8A3A;

  /* type */
  --font-display: "RBDisplay", "Archivo", "Arial Narrow", sans-serif;
  --font-ui: "RBText", "Inter", system-ui, sans-serif;

  /* radii */
  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: clip; }
body { font-family: var(--font-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss01"; }
.tnum { font-variant-numeric: tabular-nums lining-nums; }
.pname::before { content: var(--product-name); }
.pdomain::before { content: var(--product-domain); }
:focus-visible { outline: 3px solid var(--rb-focus); outline-offset: 2px; transition: none; }
button, a { -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* product mark: a board with two columns, the right one lit */
.rb-mark { display: inline-block; width: 28px; height: 28px; flex: none; }
