/*
Agasta Labs Precision-Tech Typography System
No font files are bundled here.
Recommended open-source web font: Space Grotesk Variable.
Fallbacks keep the site usable if the web font is unavailable.
*/
:root {
  --agasta-font-display: "Space Grotesk", "Inter Display", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --agasta-font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --agasta-font-tech: "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --agasta-type-body: clamp(1rem, 0.97rem + 0.10vw, 1.0625rem);
  --agasta-type-small: clamp(.875rem, .85rem + .08vw, .9375rem);
  --agasta-type-ui: clamp(.875rem, .84rem + .10vw, .95rem);
  --agasta-type-h1: clamp(3rem, 2.15rem + 3.1vw, 6.25rem);
  --agasta-type-h2: clamp(2.15rem, 1.72rem + 1.7vw, 4rem);
  --agasta-type-h3: clamp(1.5rem, 1.28rem + .75vw, 2.25rem);

  --agasta-track-display: -0.038em;
  --agasta-track-heading: -0.025em;
  --agasta-track-ui: 0.012em;
  --agasta-track-kicker: 0.14em;
}

html { font-family: var(--agasta-font-body); }
body {
  font-family: var(--agasta-font-body);
  font-size: var(--agasta-type-body);
  line-height: 1.62;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  text-rendering: optimizeLegibility;
}

h1,h2,h3,h4,h5,h6,
.display-type,
.product-heading {
  font-family: var(--agasta-font-display);
  font-weight: 650;
  letter-spacing: var(--agasta-track-heading);
  line-height: .99;
  text-wrap: balance;
}

h1,.hero-title {
  font-size: var(--agasta-type-h1);
  font-weight: 680;
  letter-spacing: var(--agasta-track-display);
}

h2 { font-size: var(--agasta-type-h2); }
h3 { font-size: var(--agasta-type-h3); line-height: 1.08; }

button, input, select, textarea, nav, .ui-label {
  font-family: var(--agasta-font-display);
}

.tech-label,
.kicker,
.eyebrow,
.system-label {
  font-family: var(--agasta-font-tech);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: var(--agasta-track-kicker);
  text-transform: uppercase;
}

.metric, .stat, .numeric {
  font-variant-numeric: tabular-nums lining-nums;
}
