/* Alvand3D design tokens, from the approved prototype (design/prototype/alvand-home.html; docs/07). */
@font-face {
	font-family: "Vazirmatn";
	src: url("../fonts/vazirmatn-arabic-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
	font-family: "Vazirmatn";
	src: url("../fonts/vazirmatn-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
  --ink:#14213D; --ink-2:#2A3552; --muted:#5B6472; --bg:#F7F7F5; --bg-2:#EEEEEA; --surface:#FFFFFF; --line:#E1E1DB;
  --accent:#FF7A1A; --accent-ink:#FFFFFF; --accent-soft:rgba(255,122,26,.12); --accent-text:#A84A08;
  --f1:#1F3A68; --f2:#8A93A3; --f3:#FF7A1A; --f4:#F4F4F0;           /* filament colours: navy, stone, orange, snow */
  --ok:#1F9D55; --warn:#E0A100; --glass:rgba(247,247,245,.72); --contour:rgba(20,33,61,.10);
  --plate:#D9DBD4; --plate-line:rgba(20,33,61,.12);
  --font:'Vazirmatn',Tahoma,'Segoe UI',sans-serif; --mono:'JetBrains Mono',ui-monospace,Consolas,monospace;
  --e-out:cubic-bezier(.22,1,.36,1);
  --spring:linear(0,.009,.035 2.1%,.141 4.4%,.723 12.9%,.938 16.7%,1.017 19.4%,1.043 21.8%,1.046 24.1%,1.035 27.3%,1.01 33.1%,.998 39.1%,.997 46.1%,1);
  --r-s:12px; --r-m:18px; --r-l:26px;
  --shadow:0 18px 50px rgba(20,33,61,.12),0 4px 12px rgba(20,33,61,.06);
}
/* Dark mode: tokens defined now, switched on later (docs/07 phase 2) via <html data-theme="dark">. */
:root[data-theme="dark"]{
  --ink:#ECEEF3; --ink-2:#C9CEDA; --muted:#9AA2B2; --bg:#0F1524; --bg-2:#151C2E; --surface:#182036; --line:#263049;
  --accent:#FF8A33; --accent-ink:#1A0E05; --accent-text:#FF9F57; --accent-soft:rgba(255,138,51,.14);
  --f1:#3E64A8; --f2:#7F889A; --f3:#FF8A33; --f4:#E9E9E4; --glass:rgba(15,21,36,.7); --contour:rgba(236,238,243,.08);
  --plate:#2A334A; --plate-line:rgba(236,238,243,.10); --shadow:0 18px 50px rgba(0,0,0,.45),0 4px 12px rgba(0,0,0,.3); color-scheme:dark}

/* Aliases used by the upload widget and plugin screens. */
:root{ --r-sm:var(--r-s); --r-md:var(--r-m); --r-lg:var(--r-l); --r-xl:32px; --err:#D64545;
  --e-inout:cubic-bezier(.65,0,.35,1); --t-fast:160ms; --t-med:320ms; --t-slow:640ms; --stagger:60ms; }
