/* AVIR design system: fonts, tokens and base styles, from the Claude Design
 * export of the home page (public/index.html). Shared by every page. */
/* AVIR — Web fonts
 * Display: Instrument Serif (Google Fonts) — headings only, never in UI.
 * UI/Body: Satoshi (Fontshare) — all body, labels, buttons, navigation.
 * NOTE: The brief said "Satoshi (Google Fonts)"; Satoshi is not hosted on
 * Google Fonts — it is served from Fontshare (its official host). Loaded below.
 */
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/home/9fc22338-b9b2-4e0e-8844-08b5c47cc9af.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/home/01df9ad8-f389-4637-bc68-6ef5c927ffd1.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/home/63e0c53a-8915-4e68-8965-d350464e195e.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/home/4db65135-c2bc-48d6-9fc0-1a911e496793.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Satoshi */
@font-face {
  font-family: 'Satoshi';
  src: url("/home/4b27e39b-97ae-4e00-8e48-7dd9cfc19676.woff2") format('woff2'),
       url("/home/d9660865-335c-4d5c-909e-0daa8a442838.woff") format('woff'),
       url("/home/4d52d767-07a6-4bf5-ac9d-4eeecef1d7b2.ttf") format('truetype');
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url("/home/0c43c0c6-b57a-4edd-a562-85942555eb88.woff2") format('woff2'),
       url("/home/3bb50a07-cf88-4969-abd8-d94465a1b057.woff") format('woff'),
       url("/home/10c311fd-bbfd-4d75-a154-4eb197fd58c7.ttf") format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url("/home/513d8c47-04fd-4c82-b209-1cf49985c5d9.woff2") format('woff2'),
       url("/home/46f60b98-1983-4c20-946e-5e0a0bddd4c2.woff") format('woff'),
       url("/home/3d7624c7-d0b9-4abe-b416-1a3090a54ffd.ttf") format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url("/home/315d24ab-760d-4888-8ae6-87127c966a67.woff2") format('woff2'),
       url("/home/d77ab732-9101-4576-a8f7-45e52290fd40.woff") format('woff'),
       url("/home/223c172d-72a8-48f5-a2ae-b6f4601dc394.ttf") format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url("/home/ec838cbe-a4e2-4345-a08e-7e2d4cb9e6e9.woff2") format('woff2'),
       url("/home/ff4cd483-71ef-428f-8a35-c4194d6001ba.woff") format('woff'),
       url("/home/4e6b59c0-c813-40f2-8286-2650f82745a3.ttf") format('truetype');
  font-weight: 900;
  font-display: swap;
  font-style: normal;
}




/* AVIR — Color tokens
 * Dark-dominant, editorial. No gradients, no glow, no glassmorphism.
 * The statement blue (#1019EC) is reserved for ONE section only (product showcase).
 */
:root {
  /* --- Base backgrounds --- */
  --bg-black: #0a0a0a;      /* primary background (hero, CTA, integrations) */
  --bg-surface: #141414;    /* surface shift (problem, proof) */
  --bg-card: #1a1a1a;       /* card fill */
  --bg-white: #ffffff;      /* inverted section (aerospace difference) */

  /* --- Statement color (product showcase ONLY) --- */
  --blue: #1019EC;
  --blue-ink: #ffffff;      /* text on blue */

  /* --- Text on dark: white at opacity steps --- */
  --fg-headline: rgba(255,255,255,1);     /* 100% — headlines */
  --fg-body: rgba(255,255,255,0.50);      /* 50%  — body copy */
  --fg-subtext: rgba(255,255,255,0.45);   /* 45%  — subtext */
  --fg-label: rgba(255,255,255,0.35);     /* 35%  — labels / eyebrows */
  --fg-hint: rgba(255,255,255,0.25);      /* 25%  — hints / disabled */

  /* --- Text on white (inverted section) --- */
  --fg-headline-inv: rgba(10,10,10,1);
  --fg-body-inv: rgba(10,10,10,0.55);
  --fg-label-inv: rgba(10,10,10,0.40);

  /* --- Text on blue --- */
  --fg-headline-blue: rgba(255,255,255,1);
  --fg-body-blue: rgba(255,255,255,0.60);
  --fg-label-blue: rgba(255,255,255,0.45);

  /* --- Lines / hairlines --- */
  --line: rgba(255,255,255,0.06);         /* 0.5px hairline borders / cards */
  --line-strong: rgba(255,255,255,0.12);  /* dividers */
  --line-ghost: rgba(255,255,255,0.35);   /* ghost button border */
  --line-inv: rgba(10,10,10,0.10);        /* hairline on white */

  /* --- Semantic aliases --- */
  --text-headline: var(--fg-headline);
  --text-body: var(--fg-body);
  --text-subtext: var(--fg-subtext);
  --text-label: var(--fg-label);
  --text-hint: var(--fg-hint);
  --surface-page: var(--bg-black);
  --surface-raised: var(--bg-surface);
  --surface-card: var(--bg-card);
  --border-hairline: var(--line);
}

/* AVIR — Typography tokens
 * Instrument Serif = display headings ONLY. Satoshi = everything in UI.
 * Never mix serif into components, labels, buttons, or navigation.
 */
:root {
  /* --- Families --- */
  --font-serif-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-sans: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Semantic aliases */
  --font-display: var(--font-serif-display);
  --font-ui: var(--font-sans);

  /* --- Display sizes (Instrument Serif) --- */
  --display-hero: clamp(56px, 8vw, 120px); /* @kind font */
  --display-1: clamp(44px, 5vw, 72px);     /* @kind font */
  --display-2: clamp(32px, 3.4vw, 52px);   /* @kind font */
  --display-3: 36px;                        /* card / block heading */

  /* Display treatment */
  --display-weight: 400;
  --display-line: 1.02; /* @kind font */
  --display-tracking: -0.01em;

  /* --- UI / body sizes (Satoshi) --- */
  --text-lg: 20px;    /* lede / large body */
  --text-md: 16px;    /* body */
  --text-sm: 14px;    /* small body / captions */
  --text-xs: 12px;    /* buttons / meta */

  /* --- Eyebrow / label --- */
  --eyebrow-size: 11px;
  --eyebrow-weight: 500;
  --eyebrow-tracking: 0.14em;

  /* --- Button text --- */
  --btn-size: 12px;
  --btn-tracking: 0.08em;

  /* --- Logo wordmark --- */
  --logo-weight: 900;
  --logo-tracking: 0.14em;

  /* --- Line heights --- */
  --leading-tight: 1.05;
  --leading-snug: 1.25;
  --leading-normal: 1.55;
}

/* AVIR — Spacing & layout tokens
 * Generous vertical rhythm, full-viewport sections, square everything.
 */
:root {
  /* --- Spacing scale --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* --- Section padding (vertical) --- */
  --section-pad-y: 112px;      /* generous 96–128px range */
  --section-pad-y-sm: 96px;
  --section-pad-y-lg: 128px;

  /* --- Layout --- */
  --content-max: 1280px;       /* max content width */
  --gutter: 32px;              /* horizontal page gutter */

  /* --- Radius: ZERO everywhere. Square corners always. --- */
  --radius: 0px;

  /* --- Transitions (subtle, editorial — opacity/color only) --- */
  --ease: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --dur: 200ms; /* @kind other */
}

/* AVIR — Borders, cards & effects
 * Flat and precise. No drop shadows, no gradients, no glow, no glassmorphism.
 */
:root {
  --border-width: 0.5px;
  --border-card: var(--border-width) solid var(--line);
  --border-divider: var(--border-width) solid var(--line-strong);

  /* Cards are pure fill + hairline. No shadow tokens exist by design. */
  --card-bg: var(--bg-card);
  --card-border: var(--border-card);
  --card-radius: 0px;

  /* Ghost button border */
  --ghost-border: 1px solid var(--line-ghost);
}

/* AVIR — base element resets & primitive helper classes.
 * Kept minimal. Components style themselves via tokens.
 */
:root {
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-black);
  color: var(--fg-body);
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Links: default + hover from the palette (never browser blue) */
a {
  color: var(--fg-headline);
  text-decoration: none;
  transition: opacity var(--dur) var(--ease);
}
a:hover { opacity: 0.6; }

/* Display headings use the serif */
h1, h2, h3 {
  font-family: var(--font-serif-display);
  font-weight: var(--display-weight);
  line-height: var(--display-line);
  letter-spacing: var(--display-tracking);
  color: var(--fg-headline);
  margin: 0;
}

::selection { background: var(--blue); color: #fff; }

/* Component hover/press states (opacity-driven, editorial) */
.avir-btn--primary:hover { opacity: 0.82; }
.avir-btn--ghost:hover { border-color: rgba(255,255,255,0.65); color: #fff; }
.avir-btn:active { opacity: 0.7; }
.avir-textlink:hover .avir-textlink__arrow { transform: translateX(4px); }
.avir-card--interactive:hover { border-color: rgba(255,255,255,0.18); }

/* AVIR Design System — global entry point.
 * Consumers link this one file. Import order matters: fonts + tokens first.
 */
/* AVIR — Web fonts
 * Display: Instrument Serif (Google Fonts) — headings only, never in UI.
 * UI/Body: Satoshi (Fontshare) — all body, labels, buttons, navigation.
 * NOTE: The brief said "Satoshi (Google Fonts)"; Satoshi is not hosted on
 * Google Fonts — it is served from Fontshare (its official host). Loaded below.
 */
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/home/9fc22338-b9b2-4e0e-8844-08b5c47cc9af.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/home/01df9ad8-f389-4637-bc68-6ef5c927ffd1.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/home/63e0c53a-8915-4e68-8965-d350464e195e.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/home/4db65135-c2bc-48d6-9fc0-1a911e496793.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Satoshi */
@font-face {
  font-family: 'Satoshi';
  src: url("/home/4b27e39b-97ae-4e00-8e48-7dd9cfc19676.woff2") format('woff2'),
       url("/home/d9660865-335c-4d5c-909e-0daa8a442838.woff") format('woff'),
       url("/home/4d52d767-07a6-4bf5-ac9d-4eeecef1d7b2.ttf") format('truetype');
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url("/home/0c43c0c6-b57a-4edd-a562-85942555eb88.woff2") format('woff2'),
       url("/home/3bb50a07-cf88-4969-abd8-d94465a1b057.woff") format('woff'),
       url("/home/10c311fd-bbfd-4d75-a154-4eb197fd58c7.ttf") format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url("/home/513d8c47-04fd-4c82-b209-1cf49985c5d9.woff2") format('woff2'),
       url("/home/46f60b98-1983-4c20-946e-5e0a0bddd4c2.woff") format('woff'),
       url("/home/3d7624c7-d0b9-4abe-b416-1a3090a54ffd.ttf") format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url("/home/315d24ab-760d-4888-8ae6-87127c966a67.woff2") format('woff2'),
       url("/home/d77ab732-9101-4576-a8f7-45e52290fd40.woff") format('woff'),
       url("/home/223c172d-72a8-48f5-a2ae-b6f4601dc394.ttf") format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url("/home/ec838cbe-a4e2-4345-a08e-7e2d4cb9e6e9.woff2") format('woff2'),
       url("/home/ff4cd483-71ef-428f-8a35-c4194d6001ba.woff") format('woff'),
       url("/home/4e6b59c0-c813-40f2-8286-2650f82745a3.ttf") format('truetype');
  font-weight: 900;
  font-display: swap;
  font-style: normal;
}




/* AVIR — Color tokens
 * Dark-dominant, editorial. No gradients, no glow, no glassmorphism.
 * The statement blue (#1019EC) is reserved for ONE section only (product showcase).
 */
:root {
  /* --- Base backgrounds --- */
  --bg-black: #0a0a0a;      /* primary background (hero, CTA, integrations) */
  --bg-surface: #141414;    /* surface shift (problem, proof) */
  --bg-card: #1a1a1a;       /* card fill */
  --bg-white: #ffffff;      /* inverted section (aerospace difference) */

  /* --- Statement color (product showcase ONLY) --- */
  --blue: #1019EC;
  --blue-ink: #ffffff;      /* text on blue */

  /* --- Text on dark: white at opacity steps --- */
  --fg-headline: rgba(255,255,255,1);     /* 100% — headlines */
  --fg-body: rgba(255,255,255,0.50);      /* 50%  — body copy */
  --fg-subtext: rgba(255,255,255,0.45);   /* 45%  — subtext */
  --fg-label: rgba(255,255,255,0.35);     /* 35%  — labels / eyebrows */
  --fg-hint: rgba(255,255,255,0.25);      /* 25%  — hints / disabled */

  /* --- Text on white (inverted section) --- */
  --fg-headline-inv: rgba(10,10,10,1);
  --fg-body-inv: rgba(10,10,10,0.55);
  --fg-label-inv: rgba(10,10,10,0.40);

  /* --- Text on blue --- */
  --fg-headline-blue: rgba(255,255,255,1);
  --fg-body-blue: rgba(255,255,255,0.60);
  --fg-label-blue: rgba(255,255,255,0.45);

  /* --- Lines / hairlines --- */
  --line: rgba(255,255,255,0.06);         /* 0.5px hairline borders / cards */
  --line-strong: rgba(255,255,255,0.12);  /* dividers */
  --line-ghost: rgba(255,255,255,0.35);   /* ghost button border */
  --line-inv: rgba(10,10,10,0.10);        /* hairline on white */

  /* --- Semantic aliases --- */
  --text-headline: var(--fg-headline);
  --text-body: var(--fg-body);
  --text-subtext: var(--fg-subtext);
  --text-label: var(--fg-label);
  --text-hint: var(--fg-hint);
  --surface-page: var(--bg-black);
  --surface-raised: var(--bg-surface);
  --surface-card: var(--bg-card);
  --border-hairline: var(--line);
}

/* AVIR — Typography tokens
 * Instrument Serif = display headings ONLY. Satoshi = everything in UI.
 * Never mix serif into components, labels, buttons, or navigation.
 */
:root {
  /* --- Families --- */
  --font-serif-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-sans: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Semantic aliases */
  --font-display: var(--font-serif-display);
  --font-ui: var(--font-sans);

  /* --- Display sizes (Instrument Serif) --- */
  --display-hero: clamp(56px, 8vw, 120px); /* @kind font */
  --display-1: clamp(44px, 5vw, 72px);     /* @kind font */
  --display-2: clamp(32px, 3.4vw, 52px);   /* @kind font */
  --display-3: 36px;                        /* card / block heading */

  /* Display treatment */
  --display-weight: 400;
  --display-line: 1.02; /* @kind font */
  --display-tracking: -0.01em;

  /* --- UI / body sizes (Satoshi) --- */
  --text-lg: 20px;    /* lede / large body */
  --text-md: 16px;    /* body */
  --text-sm: 14px;    /* small body / captions */
  --text-xs: 12px;    /* buttons / meta */

  /* --- Eyebrow / label --- */
  --eyebrow-size: 11px;
  --eyebrow-weight: 500;
  --eyebrow-tracking: 0.14em;

  /* --- Button text --- */
  --btn-size: 12px;
  --btn-tracking: 0.08em;

  /* --- Logo wordmark --- */
  --logo-weight: 900;
  --logo-tracking: 0.14em;

  /* --- Line heights --- */
  --leading-tight: 1.05;
  --leading-snug: 1.25;
  --leading-normal: 1.55;
}

/* AVIR — Spacing & layout tokens
 * Generous vertical rhythm, full-viewport sections, square everything.
 */
:root {
  /* --- Spacing scale --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* --- Section padding (vertical) --- */
  --section-pad-y: 112px;      /* generous 96–128px range */
  --section-pad-y-sm: 96px;
  --section-pad-y-lg: 128px;

  /* --- Layout --- */
  --content-max: 1280px;       /* max content width */
  --gutter: 32px;              /* horizontal page gutter */

  /* --- Radius: ZERO everywhere. Square corners always. --- */
  --radius: 0px;

  /* --- Transitions (subtle, editorial — opacity/color only) --- */
  --ease: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --dur: 200ms; /* @kind other */
}

/* AVIR — Borders, cards & effects
 * Flat and precise. No drop shadows, no gradients, no glow, no glassmorphism.
 */
:root {
  --border-width: 0.5px;
  --border-card: var(--border-width) solid var(--line);
  --border-divider: var(--border-width) solid var(--line-strong);

  /* Cards are pure fill + hairline. No shadow tokens exist by design. */
  --card-bg: var(--bg-card);
  --card-border: var(--border-card);
  --card-radius: 0px;

  /* Ghost button border */
  --ghost-border: 1px solid var(--line-ghost);
}

/* AVIR — base element resets & primitive helper classes.
 * Kept minimal. Components style themselves via tokens.
 */
:root {
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-black);
  color: var(--fg-body);
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Links: default + hover from the palette (never browser blue) */
a {
  color: var(--fg-headline);
  text-decoration: none;
  transition: opacity var(--dur) var(--ease);
}
a:hover { opacity: 0.6; }

/* Display headings use the serif */
h1, h2, h3 {
  font-family: var(--font-serif-display);
  font-weight: var(--display-weight);
  line-height: var(--display-line);
  letter-spacing: var(--display-tracking);
  color: var(--fg-headline);
  margin: 0;
}

::selection { background: var(--blue); color: #fff; }

/* Component hover/press states (opacity-driven, editorial) */
.avir-btn--primary:hover { opacity: 0.82; }
.avir-btn--ghost:hover { border-color: rgba(255,255,255,0.65); color: #fff; }
.avir-btn:active { opacity: 0.7; }
.avir-textlink:hover .avir-textlink__arrow { transform: translateX(4px); }
.avir-card--interactive:hover { border-color: rgba(255,255,255,0.18); }

