
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/inter-800.woff2") format("woff2"); }
@font-face { font-family: "JBM"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/jetbrains-mono-700-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;

  --ink-950: #05070a;    
  --ink-900: #0a0d12;    
  --ink-850: #0e1218;    
  --ink-800: #131822;    
  --ink-700: #1b2230;    
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  --glass-hi: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));

  --text: #f3f5f8;
  --text-2: #a9b2c0;
  --text-3: #6e7887;
  --on-light: #06080b;     
  --paper: #f3f5f8;        

  --cyan: #3ad6f5;
  --azure: #5b8cff;
  --violet: #8b6cff;
  --tie: linear-gradient(115deg, var(--cyan) 0%, var(--azure) 52%, var(--violet) 100%);
  --tie-soft: linear-gradient(115deg, rgba(58, 214, 245, 0.16), rgba(139, 108, 255, 0.16));
  --glow-cyan: rgba(58, 214, 245, 0.35);
  --glow-violet: rgba(139, 108, 255, 0.35);

  --ok: #3ddc84;
  --warn: #ffb547;
  --bad: #ff5d5d;

  --cat-vs: #1f6feb;   
  --cat-ac: #16a34a;   

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --font-accent: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif;    
  --font-mono: "JBM", ui-monospace, "SF Mono", Menlo, Consolas, monospace;                         

  --fs-display: clamp(2.75rem, 7.2vw, 6rem);       
  --fs-h1: clamp(2.25rem, 5vw, 4rem);
  --fs-h2: clamp(1.875rem, 3.6vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.8vw, 1.5rem);
  --fs-lead: clamp(1.0625rem, 1.5vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;                               
  --lh-tight: 1.02;
  --lh-snug: 1.2;
  --lh-body: 1.6;
  --track-display: -0.04em;
  --track-head: -0.028em;
  --track-label: 0.12em;

  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --gutter: max(20px, 4vw);
  --section-y: clamp(5rem, 11vw, 10rem);
  --w-text: 40rem;       
  --w-page: 75rem;       
  --w-wide: 90rem;       

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 40px 90px -30px rgba(0, 0, 0, 0.85);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 80px -20px var(--glow-cyan);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --t-fast: 180ms; --t-med: 420ms; --t-slow: 900ms;

  --z-nav: 100; --z-overlay: 200; --z-modal: 300;
}
