/* Uhura Digital user guide — design tokens (from Figma variables, file T6COgFCZCLST2tIy3eu0uT) */

@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/ibm-plex-mono-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Handjet"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("../assets/fonts/handjet-latin-full-normal.woff2") format("woff2-variations"); }

:root {
  /* Core */
  --c-ink: #021C30;
  --c-paper: #F0F0F0;
  --c-white: #FFFFFF;
  --c-green: #57C001;          /* Signal/Green · Text/Display */
  --c-red: #E2241F;            /* Extended/Red */
  --c-yellow: #FBBB2E;         /* Extended/Yellow */

  /* Text */
  --c-text: var(--c-ink);
  --c-text-2: #5B6B78;         /* Text/Secondary */
  --c-display-dim: #8C9EAD;    /* Text/Display dim — only on ink */
  --c-display-off: #3A5064;

  /* Lines */
  --c-rule: #C9D0D6;           /* Line/Rule */
  --c-band: #D3D8DC;           /* Line/Band */

  /* Keys (top / side / bottom) */
  --k-ui-top: #DDE1E4;  --k-ui-side: #EEF0F2;  --k-ui-bottom: #A7B0B7;
  --k-green-top: #57C001; --k-green-side: #A4DB76; --k-green-bottom: #3F8A01;
  --k-chassis-top: #F0F0F0; --k-chassis-side: #D3D8DC; --k-chassis-bottom: #A7B0B7;
  --k-grey-side: #C6CCD1; --k-grey-bottom: #7D8890;

  /* Type families */
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --f-sans: "IBM Plex Sans", system-ui, sans-serif;
  --f-visor: "Handjet", var(--f-mono);
  --visor-axes: "ELGR" 1, "ELSH" 2;

  /* Type scale (desktop) */
  --t-display-xl: 500 112px/0.95 var(--f-sans);   --ls-display-xl: -3.36px;
  --t-display-l: 500 88px/1 var(--f-sans);        --ls-display-l: -2.64px;
  --t-h1: 500 46px/1 var(--f-mono);               --ls-h1: -0.92px;
  --t-lead: 400 28px/1.3 var(--f-sans);           --ls-lead: -0.14px;
  --t-band: 500 24px/normal var(--f-sans);        --ls-band: 0.48px;
  --t-h5: 500 20px/1.25 var(--f-sans);            --ls-h5: -0.1px;
  --t-h6: 500 15px/1.2 var(--f-sans);
  --t-body-l: 400 18px/1.45 var(--f-mono);
  --t-body: 400 16px/1.45 var(--f-mono);
  --t-body-m: 400 15px/1.45 var(--f-mono);
  --t-body-s: 400 14px/1.35 var(--f-mono);
  --t-ui-l: 500 16px/1.45 var(--f-mono);
  --t-ui: 500 14px/1.45 var(--f-mono);
  --t-ui-s: 500 12px/1.45 var(--f-mono);
  --t-caption: 400 12px/1.45 var(--f-mono);
  --t-meta: 500 11px/1.45 var(--f-mono);
  --t-micro: 500 10px/1.45 var(--f-mono);
  --t-eyebrow: 600 12px/1.45 var(--f-mono);       --ls-eyebrow: 0.48px;
  --t-eyebrow-s: 600 11px/1.45 var(--f-mono);     --ls-eyebrow-s: 0.44px;
  --t-key: 600 13px/1.45 var(--f-mono);           --ls-key: 0.52px;
  --t-button: 600 17px/1.4 var(--f-mono);
  --t-button-s: 600 12px/1.4 var(--f-mono);

  /* Layout */
  --nav-h: 58px;
  --page-max: 1440px;
  --gutter: 80px;
  --section-py: 120px;
  --stack-lg: 56px;
  --stack-md: 32px;

  /* Motion */
  --d-press: 80ms;
  --d-hover: 120ms;
  --d-ui: 200ms;
  --d-panel: 320ms;
  --d-reveal: 600ms;
  --e-in: cubic-bezier(.25, 1, .5, 1);
  --e-out: cubic-bezier(.5, 0, .75, 0);
  --e-flip: cubic-bezier(.65, 0, .35, 1);

  /* Focus */
  --focus-ring: 2px solid var(--c-ink);
  --focus-offset: 3px;
  --focus-ring-on-ink: 2px solid var(--c-green);
}

@media (max-width: 1279px) {
  :root { --gutter: 48px; --section-py: 104px; }
}
@media (max-width: 1023px) {
  :root {
    --gutter: 32px; --section-py: 88px;
    --t-display-xl: 500 80px/0.95 var(--f-sans);  --ls-display-xl: -2.4px;
    --t-display-l: 500 64px/1 var(--f-sans);      --ls-display-l: -1.9px;
    --t-h1: 500 38px/1 var(--f-mono);
    --t-lead: 400 24px/1.3 var(--f-sans);
  }
}
@media (max-width: 767px) {
  :root {
    --gutter: 20px; --section-py: 72px; --stack-lg: 40px; --stack-md: 24px;
    --t-display-xl: 500 48px/0.95 var(--f-sans);  --ls-display-xl: -1.44px;
    --t-display-l: 500 44px/1 var(--f-sans);      --ls-display-l: -1.3px;
    --t-h1: 500 30px/1 var(--f-mono);             --ls-h1: -0.6px;
    --t-lead: 400 20px/1.3 var(--f-sans);
    --t-band: 500 20px/normal var(--f-sans);
    --t-body-l: 400 16px/1.45 var(--f-mono);
    --t-h5: 500 17px/1.25 var(--f-sans);
  }
}
