/* TsawerLink shared tokens. Single source for the public waitlist, /waitlist/admin and the HQ dashboard
   (src/app/hq.css imports this file). Edit colours here, nowhere else. */
:root {
  --ground: #060913;
  --ink: #f4f6fb;
  --ink-2: #c9d1e2;
  --muted: #9aa5bd;
  --brand: #2276fe;
  --brand-strong: #5b9bff;
  --leak-a: #2276fe;
  --leak-b: #7fd4ff;
  --leak-c: #ffb36b;
  --glass: linear-gradient(160deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 3%) 60%);
  --glass-edge: rgb(255 255 255 / 14%);
  --glass-hi: rgb(255 255 255 / 22%);
  --field: rgb(255 255 255 / 6%);
  --field-edge: rgb(255 255 255 / 16%);
  --cta-bg: #f7f9ff;
  --cta-ink: #07112a;
  --corner: rgb(255 255 255 / 55%);
  --danger: #ff9b8f;
  --ring: 0 0 0 3px rgb(91 155 255 / 45%);
  --shadow: 0 40px 90px -30px rgb(0 0 0 / 70%), 0 12px 30px -12px rgb(0 0 0 / 50%);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* dashboard surfaces (from admin.css) */
  --surface: #0d1322;
  --surface-2: #131b2e;
  --line: rgb(255 255 255 / 9%);
  --brand-soft: rgb(34 118 254 / 18%);
  --bar: #4d8dff;
  --bar-2: #7fd4ff;
  --bar-3: #ffb36b;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --ground: #eef2fa;
    --ink: #0b1220;
    --ink-2: #2b3547;
    --muted: #4f5a6e;
    --brand: #1a63e0;
    --brand-strong: #1a63e0;
    --leak-a: #6ea2ff;
    --leak-b: #9fe0ff;
    --leak-c: #ffc896;
    --glass: linear-gradient(160deg, rgb(255 255 255 / 72%), rgb(255 255 255 / 42%) 60%);
    --glass-edge: rgb(255 255 255 / 80%);
    --glass-hi: rgb(255 255 255 / 95%);
    --field: rgb(255 255 255 / 70%);
    --field-edge: rgb(11 18 32 / 16%);
    --cta-bg: #1a63e0;
    --cta-ink: #fff;
    --corner: rgb(11 18 32 / 35%);
    --danger: #b42318;
    --ring: 0 0 0 3px rgb(26 99 224 / 30%);
    --shadow: 0 40px 90px -30px rgb(30 50 100 / 35%), 0 12px 30px -12px rgb(30 50 100 / 20%);
    --surface: #fff;
    --surface-2: #f4f6fb;
    --line: rgb(11 18 32 / 10%);
    --brand-soft: rgb(26 99 224 / 10%);
    --bar: #1a63e0;
    --bar-2: #2b9ad6;
    --bar-3: #c96a12;
    color-scheme: light;
  }
}

/* Manual theme (the HQ page sets data-theme on its root element). Same values as above; the waitlist never sets the attribute. */
[data-theme='dark'] {
  --ground: #060913;
  --ink: #f4f6fb;
  --ink-2: #c9d1e2;
  --muted: #9aa5bd;
  --brand: #2276fe;
  --brand-strong: #5b9bff;
  --leak-a: #2276fe;
  --leak-b: #7fd4ff;
  --leak-c: #ffb36b;
  --glass: linear-gradient(160deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 3%) 60%);
  --glass-edge: rgb(255 255 255 / 14%);
  --glass-hi: rgb(255 255 255 / 22%);
  --field: rgb(255 255 255 / 6%);
  --field-edge: rgb(255 255 255 / 16%);
  --cta-bg: #f7f9ff;
  --cta-ink: #07112a;
  --corner: rgb(255 255 255 / 55%);
  --danger: #ff9b8f;
  --ring: 0 0 0 3px rgb(91 155 255 / 45%);
  --shadow: 0 40px 90px -30px rgb(0 0 0 / 70%), 0 12px 30px -12px rgb(0 0 0 / 50%);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* dashboard surfaces (from admin.css) */
  --surface: #0d1322;
  --surface-2: #131b2e;
  --line: rgb(255 255 255 / 9%);
  --brand-soft: rgb(34 118 254 / 18%);
  --bar: #4d8dff;
  --bar-2: #7fd4ff;
  --bar-3: #ffb36b;
  color-scheme: dark;
}
[data-theme='light'] {
  --ground: #eef2fa;
  --ink: #0b1220;
  --ink-2: #2b3547;
  --muted: #4f5a6e;
  --brand: #1a63e0;
  --brand-strong: #1a63e0;
  --leak-a: #6ea2ff;
  --leak-b: #9fe0ff;
  --leak-c: #ffc896;
  --glass: linear-gradient(160deg, rgb(255 255 255 / 72%), rgb(255 255 255 / 42%) 60%);
  --glass-edge: rgb(255 255 255 / 80%);
  --glass-hi: rgb(255 255 255 / 95%);
  --field: rgb(255 255 255 / 70%);
  --field-edge: rgb(11 18 32 / 16%);
  --cta-bg: #1a63e0;
  --cta-ink: #fff;
  --corner: rgb(11 18 32 / 35%);
  --danger: #b42318;
  --ring: 0 0 0 3px rgb(26 99 224 / 30%);
  --shadow: 0 40px 90px -30px rgb(30 50 100 / 35%), 0 12px 30px -12px rgb(30 50 100 / 20%);
  --surface: #fff;
  --surface-2: #f4f6fb;
  --line: rgb(11 18 32 / 10%);
  --brand-soft: rgb(26 99 224 / 10%);
  --bar: #1a63e0;
  --bar-2: #2b9ad6;
  --bar-3: #c96a12;
  color-scheme: light;
}
