@layer reset, tokens, base, layout, components, pages, motion, utilities;
@layer tokens{
:root{
  color-scheme:light dark;
  --paper:#f6f0e6; --paper-2:#efe6d6; --card:#fffdf8; --ink:#1b1612; --ink-2:#4a4036; --ink-3:#7a6d5e;
  --line:#e2d6c1; --line-2:#d3c3a6;
  --lapis:#1b2447; --lapis-2:#27336a; --turq:#1fa29b; --turq-d:#12807a; --saffron:#e0a13a; --madder:#b5472f;
  --gold:#c8a15a; --ok:#2a7a4f; --warn:#9a6400; --danger:#b3261e;
  --accent:var(--madder); --accent-ink:#fff;
  --shadow-1:0 1px 2px rgb(60 40 20/.08),0 4px 14px rgb(60 40 20/.07);
  --shadow-2:0 8px 30px rgb(40 25 10/.14),0 2px 6px rgb(40 25 10/.08);
  --shadow-3:0 30px 80px rgb(20 12 5/.28);
  --r-s:10px; --r-m:16px; --r-l:26px; --r-xl:38px;
  --f-ui:"Vazirmatn",system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;
  --f-display:"Amiri","Vazirmatn",serif; --f-script:"Aref Ruqaa","Amiri",serif;
  --ease:cubic-bezier(.22,1,.36,1); --ease-io:cubic-bezier(.65,0,.35,1);
  --spring:linear(0,.18 6%,.62 14%,.92 22%,1.06 30%,1.07 36%,1.03 46%,.995 60%,1);
  --hh:76px; --tab:64px; --wrap:1360px; --gutter:clamp(16px,4vw,40px);
  --safe-b:env(safe-area-inset-bottom,0px); --safe-t:env(safe-area-inset-top,0px);
  --star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23c8a15a' stroke-opacity='.35' stroke-width='1'%3E%3Cpath d='M36 6l8 14 16-4-4 16 14 8-14 8 4 16-16-4-8 14-8-14-16 4 4-16-14-8 14-8-4-16 16 4z'/%3E%3C/g%3E%3C/svg%3E");
}
:root[data-theme=dark]{
  --paper:#12151f; --paper-2:#181c2a; --card:#1b2030; --ink:#f1ead9; --ink-2:#cbbfa8; --ink-3:#8f8570;
  --line:#2b3248; --line-2:#3a4260; --accent:#e0a13a; --accent-ink:#1b1612;
  --shadow-1:0 1px 2px rgb(0 0 0/.4),0 4px 14px rgb(0 0 0/.35);--shadow-2:0 10px 34px rgb(0 0 0/.5);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme=light]){
    --paper:#12151f; --paper-2:#181c2a; --card:#1b2030; --ink:#f1ead9; --ink-2:#cbbfa8; --ink-3:#8f8570;
    --line:#2b3248; --line-2:#3a4260; --accent:#e0a13a; --accent-ink:#1b1612;
  }
}
@property --a{syntax:"<angle>";inherits:false;initial-value:0deg}
}
