/* Lock Family identity tokens: "the signed ticket".
   Fonts, colours, spacing for lockfamily.dev and the per-tool sites.
   Self-hosted fonts (SIL OFL 1.1, assets/fonts/), no third-party request.
   docs/identity.md documents every token; tests/test_site.py keeps the
   two in step and checks the WCAG AA contrast of the pairs it lists. */

@font-face {
  font-family: "Zilla Slab";
  src: url("fonts/zilla-slab-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  /* type */
  --font-display: "Zilla Slab", "Rockwell", "Roboto Slab", Georgia, serif;
  --font-text: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* paper (light): a printed ticket on a desk */
  --paper: #fbf7ee;    /* page */
  --paper-2: #f3ecdd;  /* stub, neutral bands */
  --card: #fffcf5;     /* the ticket's face */
  --ink: #1d1b17;      /* text, logos */
  --ink-2: #575146;    /* secondary text, control borders */
  --rule: #b9af98;     /* ledger lines, perforations (decorative) */
  --sign: #1f4a9c;     /* signature ink: links, a human's decision */
  --stamp: #a8201a;    /* the denial stamp */
  --auto: #2d6a35;     /* approved by a rule */
  --asked: #8a5300;    /* waiting for you */
  --mask: #0e6158;     /* masked values, the hub */
  --agent: #2a55a8;    /* the agent's request */
  --accent: #2346d2; --on-accent: #ffffff; --accent-ink: #2346d2; --accent-tint: #ebeffc; --accent-stock: #c8d1f7; --accent-stock-2: #d4c8f7;
  --term-bg: #1a1814;  /* lox run: a real terminal, dark in both themes */
  --term-text: #e2e8f0;
  --term-dim: #94a3b8;

  /* space: a 4px base */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px;
  --gutter: 16px;
  --measure: 40rem;
  --radius: 3px;       /* paper has corners */
  --rule-w: 1px;
  --perf: 2px dashed var(--rule);
  color-scheme: light;
}

/* dusk (dark): a dyed dark stock, lifted off black; cream ink stays warm */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1f1d26;
    --paper-2: #282531;
    --card: #2f2c3a;
    --ink: #ede6d6;
    --ink-2: #bdb5a3;
    --rule: #5a546c;
    --sign: #a3bdff;
    --stamp: #ff9384;
    --auto: #7fcf8a;
    --asked: #e8b860;
    --mask: #6fd9c8;
    --agent: #89b4fa;
    --accent: #889cf0; --on-accent: #14120e; --accent-ink: #889cf0; --accent-tint: #202548; --accent-stock: #1d307c; --accent-stock-2: #2b1763;
    --term-bg: #121017;
    color-scheme: dark;
  }
}

@media (min-width: 768px) { :root { --gutter: 32px; } }

/* Product accents (site-kit/COLOUR.md). Put data-accent="<product>" on
   <html> (a Lock site) or on any element (one Lock's row on the family
   page); without it the family's cobalt applies.
   --accent        fills: buttons, chips, thick rules, the ticket's shadow
   --on-accent     text on --accent
   --accent-ink    the accent as text and links, AA on every ground below
   --accent-tint   a pale band or tile
   --accent-stock  the hero's coloured stock; -2 is the end of its wash */
/* accents:begin (generated by site-kit/tools/accents.py, do not edit by hand) */
[data-accent="lockfamily"] { --accent: #2346d2; --on-accent: #ffffff; --accent-ink: #2346d2; --accent-tint: #ebeffc; --accent-stock: #c8d1f7; --accent-stock-2: #d4c8f7; }
[data-accent="locksql"] { --accent: #6d35d8; --on-accent: #ffffff; --accent-ink: #6933cf; --accent-tint: #f1ebfc; --accent-stock: #d8c8f7; --accent-stock-2: #efc8f7; }
[data-accent="lockmq"] { --accent: #c9400a; --on-accent: #ffffff; --accent-ink: #ad3709; --accent-tint: #fcf0eb; --accent-stock: #f7d5c8; --accent-stock-2: #f7e6c8; }
[data-accent="lockfile"] { --accent: #c21f6a; --on-accent: #ffffff; --accent-ink: #af1c5f; --accent-tint: #fcebf3; --accent-stock: #f7c8dd; --accent-stock-2: #f7c8f0; }
[data-accent="lockhttp"] { --accent: #0672a3; --on-accent: #ffffff; --accent-ink: #066b99; --accent-tint: #ebf7fc; --accent-stock: #c8e8f7; --accent-stock-2: #c8f7f1; }
[data-accent="locklog"] { --accent: #1c7c3c; --on-accent: #ffffff; --accent-ink: #1b7a3b; --accent-tint: #ebfcf1; --accent-stock: #c8f7d7; --accent-stock-2: #d3f7c8; }
[data-accent="lockssh"] { --accent: #5d7500; --on-accent: #ffffff; --accent-ink: #5b7300; --accent-tint: #f8fceb; --accent-stock: #edf7c8; --accent-stock-2: #d5f7c8; }
[data-accent="lea"] { --accent: #9a2bb3; --on-accent: #ffffff; --accent-ink: #9128a8; --accent-tint: #f9ebfc; --accent-stock: #eec8f7; --accent-stock-2: #f7c8e8; }
[data-accent="lockhub"] { --accent: #0b7a70; --on-accent: #ffffff; --accent-ink: #0a7067; --accent-tint: #ebfcfa; --accent-stock: #c8f7f2; --accent-stock-2: #c8e5f7; }
[data-accent="lockkit"] { --accent: #9a5f00; --on-accent: #ffffff; --accent-ink: #885400; --accent-tint: #fcf5eb; --accent-stock: #f7e5c8; --accent-stock-2: #f7d3c8; }
@media (prefers-color-scheme: dark) {
  [data-accent="lockfamily"] { --accent: #889cf0; --on-accent: #14120e; --accent-ink: #889cf0; --accent-tint: #202548; --accent-stock: #1d307c; --accent-stock-2: #2b1763; }
  [data-accent="locksql"] { --accent: #ad8af0; --on-accent: #14120e; --accent-ink: #ad8af0; --accent-tint: #2f224a; --accent-stock: #3e1d7c; --accent-stock-2: #541660; }
  [data-accent="lockmq"] { --accent: #ef9f80; --on-accent: #14120e; --accent-ink: #ef9f80; --accent-tint: #412420; --accent-stock: #672f18; --accent-stock-2: #42300f; }
  [data-accent="lockfile"] { --accent: #f18dbb; --on-accent: #14120e; --accent-ink: #f18dbb; --accent-tint: #401d34; --accent-stock: #781c46; --accent-stock-2: #5a1550; }
  [data-accent="lockhttp"] { --accent: #80cdef; --on-accent: #14120e; --accent-ink: #80cdef; --accent-tint: #1a2e3f; --accent-stock: #15455b; --accent-stock-2: #0d3833; }
  [data-accent="locklog"] { --accent: #80efa5; --on-accent: #14120e; --accent-ink: #80efa5; --accent-tint: #1e302a; --accent-stock: #114a24; --accent-stock-2: #193b0e; }
  [data-accent="lockssh"] { --accent: #d8ef80; --on-accent: #14120e; --accent-ink: #d8ef80; --accent-tint: #2b2f1e; --accent-stock: #384210; --accent-stock-2: #1b3b0e; }
  [data-accent="lea"] { --accent: #df8df1; --on-accent: #14120e; --accent-ink: #df8df1; --accent-tint: #382042; --accent-stock: #671c78; --accent-stock-2: #5d1646; }
  [data-accent="lockhub"] { --accent: #80efe5; --on-accent: #14120e; --accent-ink: #80efe5; --accent-tint: #1b3035; --accent-stock: #104641; --accent-stock-2: #12364c; }
  [data-accent="lockkit"] { --accent: #efc580; --on-accent: #14120e; --accent-ink: #efc580; --accent-tint: #382a1e; --accent-stock: #533a13; --accent-stock-2: #562514; }
}
/* accents:end */
