


:root {
  color-scheme: dark;

   
  --paper:        #1e1e1e;
  --paper-sunk:   #191919;
  --surface:      #262626;
  --surface-2:    #2e2e2e;

   
  --ink:          #e8e8e8;
  --ink-2:        #c4c4c4;
  --ink-3:        #9a9a9a;
  

  --ink-4:        #8f8f8f;

   
  --line:         #333333;
  --line-2:       #424242;
  --line-3:       #565656;

  

  --accent:       #a78bfa;
  --accent-ink:   #c4b5fd;
  --accent-soft:  #2a2438;
  --accent-line:  #4a3f6b;
  

  --on-accent:    #1e1e1e;

   
  --v1:           #e8e8e8;
  --v2:           #e5885a;
  --v3:           #6fc2b4;
  --v1-soft:      #2e2e2e;
  --v2-soft:      #2b1e16;
  --v3-soft:      #162a27;
  --on-v2:        #1e1e1e;

   
  --good:         #7fc48c;
  --good-soft:    #16281a;
  --warn:         #e0b264;
  --warn-soft:    #2a2115;

   
  --mast-ink:       #262626;
  --mast-fg:        #e8e8e8;
  --mast-fg-muted:  #9a9a9a;
  --mast-line:      #333333;
  --mast-accent:    #a78bfa;

   
   
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                  "Helvetica Neue", Arial, sans-serif;
  --font-ui:      -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                  "Helvetica Neue", Arial, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
                  "Liberation Mono", monospace;

  

  --t-3xs: 0.6875rem;   
  --t-2xs: 0.75rem;     
  --t-xs:  0.8125rem;   
  --t-sm:  0.875rem;    
  --t-text: 0.9375rem;  
  --t-md:  1rem;        
  --t-lead: 1.0625rem;  
  --t-lg:  1.125rem;    
  --t-xl:  1.375rem;    
  --t-2xl: 1.75rem;     
  --t-page: 1.875rem;   
  --t-3xl: 2.25rem;     
  --t-4xl: clamp(2.5rem, 1.4rem + 5vw, 4.5rem);  
  --t-word: clamp(44px, 5.4vw, 68px);            
  --t-nav: 13.5px;      

   
  --s-1: 2px;
  --s-2: 5px;
  --s-3: 9px;
  --s-4: 15px;
  --s-5: 24px;
  --s-6: 38px;
  --s-7: 60px;
  --s-8: 94px;

  

  --r-0: 0;
  --r-1: 4px;
  --r-2: 6px;
  --r-3: 8px;
  --r-pill: 999px;

  --measure: 68ch;       
  --page: 1200px;        
  --rail: 288px;         

  --tap: 44px;           
  --hairline: 1px;

  

  --row-h: 38px;
  --hdr: 60px;
  --masthead-h: 60px;
  

  --bar-h: 55px;

  --shadow: none;        
  --focus: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent);

  --dur: 120ms;
  --ease: cubic-bezier(0.2, 0, 0.2, 1);
}

[data-theme="light"] {
  color-scheme: light;

  --paper:        #ffffff;
  --paper-sunk:   #f7f7f7;
  --surface:      #ffffff;
  --surface-2:    #f7f7f7;

  --ink:          #1f1f1f;
  --ink-2:        #3d3d3d;
  --ink-3:        #5c5c5c;
  

  --ink-4:        #6b6b6b;

  --line:         #e6e6e6;
  --line-2:       #d4d4d4;
  --line-3:       #b3b3b3;

  --accent:       #6d5ae0;
  --accent-ink:   #5646b8;
  --accent-soft:  #f1eefe;
  --accent-line:  #cfc6f7;
  --on-accent:    #ffffff;

  --v1:           #1f1f1f;
  --v2:           #b04a22;
  --v3:           #1f5f57;
  --v1-soft:      #f2f2f2;
  --v2-soft:      #f9ece5;
  --v3-soft:      #e6f0ed;
  --on-v2:        #ffffff;

  --good:         #2f6b3a;
  --good-soft:    #e8f0e6;
  --warn:         #8a5a10;
  --warn-soft:    #f8efdd;

   
  --mast-ink:       #f7f7f7;
  --mast-fg:        #1f1f1f;
  --mast-fg-muted:  #5c5c5c;
  --mast-line:      #e6e6e6;
  --mast-accent:    #6d5ae0;

  --shadow: none;
  --focus: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent);
}
