/* Type tokens for the whole site. Loaded first on every page; page CSS refers to these variables and nothing else for type.
   Seven styles exist: display 1, 2 and 3 (Belleza), lead, body and small (Inter), and label (Geist Mono). */

@font-face{font-family:"Belleza";font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/belleza-400.woff2) format("woff2")}
@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:500;font-style:normal;font-display:swap;src:url(/fonts/inter-500.woff2) format("woff2")}
@font-face{font-family:"Geist Mono";font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/geist-mono-400.woff2) format("woff2")}
/* metric-matched fallbacks, so text doesn't shift when the web fonts arrive */
@font-face{font-family:"Inter Fallback";src:local("Arial");ascent-override:90.2%;descent-override:22.5%;line-gap-override:0%;size-adjust:107.1%}
@font-face{font-family:"Geist Mono Fallback";src:local("Menlo"),local("Courier New");ascent-override:94%;descent-override:22%;line-gap-override:0%;size-adjust:99%}

:root{
  --font-display:"Belleza",serif;
  --font-text:"Inter","Inter Fallback",system-ui,sans-serif;
  --font-label:"Geist Mono","Geist Mono Fallback",ui-monospace,monospace;

  --fs-d1:56px;  --lh-d1:1.05;
  --fs-d2:36px;  --lh-d2:1.15;
  --fs-d3:24px;  --lh-d3:1.25;
  --fs-lead:21px;--lh-lead:1.4;
  --fs-body:17px;--lh-body:1.6;
  --fs-small:15px;--lh-small:1.45;
  --fs-label:13px;--lh-label:1.4;--ls-label:.02em;
  --fs-fine:11px;--lh-fine:1.45;  /* fine print only: data notes, disclaimers, confidentiality lines */

  --type-ink:#1F1A15;
  --type-stone:#67625A;
  --type-faint:#7A7368;  /* fine print: a step lighter than stone, still 4.6:1 on paper */
}
@media (max-width:700px){
  :root{--fs-d1:40px;--fs-d2:30px;--fs-d3:22px;--fs-lead:19px;--fs-body:16px}
}

html{font-family:var(--font-text);font-size:var(--fs-body);line-height:var(--lh-body);font-weight:400;letter-spacing:0;font-kerning:normal}
b,strong{font-weight:500}
table,time,data{font-variant-numeric:tabular-nums}

.t-display-1{font-family:var(--font-display);font-weight:400;font-size:var(--fs-d1);line-height:var(--lh-d1);letter-spacing:0}
.t-display-2{font-family:var(--font-display);font-weight:400;font-size:var(--fs-d2);line-height:var(--lh-d2);letter-spacing:0}
.t-display-3{font-family:var(--font-display);font-weight:400;font-size:var(--fs-d3);line-height:var(--lh-d3);letter-spacing:0}
.t-lead{font-family:var(--font-text);font-weight:400;font-size:var(--fs-lead);line-height:var(--lh-lead);letter-spacing:0;color:var(--type-stone)}
.t-body{font-family:var(--font-text);font-weight:400;font-size:var(--fs-body);line-height:var(--lh-body);letter-spacing:0;color:var(--type-ink);max-width:65ch}
.t-small{font-family:var(--font-text);font-weight:400;font-size:var(--fs-small);line-height:var(--lh-small);letter-spacing:0}
.t-label{font-family:var(--font-label);font-weight:400;font-size:var(--fs-label);line-height:var(--lh-label);letter-spacing:var(--ls-label);text-transform:none;color:var(--type-stone)}
/* fine print is the label style, faded a step: disclaimers, data notes, confidentiality lines */
.t-fine{font-family:var(--font-label);font-weight:400;font-size:var(--fs-fine);line-height:var(--lh-fine);letter-spacing:var(--ls-label);text-transform:none;color:var(--type-faint)}

/* controls and code inherit the system, not the browser's defaults */
input,button,select,textarea{font:inherit;letter-spacing:inherit;color:inherit}
code,kbd,samp,pre{font-family:var(--font-label);font-size:var(--fs-label);line-height:var(--lh-label);font-weight:400}
