/* x-arc tokens — copied from the x-arc design system artifact (tokens.css, 2026-10-14).
   Only change: font URLs point at ../fonts/, and the grain-effect + website-grid tokens are added at the end. */
:root, [data-theme="light"] {
  --mint-900: #0b3d3e; /* Deep lab ink. Headings and dark sections; the text color to put on mint-500 (6.2:1). 12:1 on white. */
  --mint-700: #009e7f; /* Strong mint. Icons, large text (24px+) and control borders on white (3.4:1). Not for small body text. */
  --mint-500: #4fd0a5; /* MAIN BRAND COLOR. Primary buttons, highlights, brand fields. Always put mint-900 text on it (6.2:1); white text on it fails (1.9:1). Never use as text on white. */
  --mint-400: #5feaaa; /* Bright mint. Glow accents and highlights on dark (mint-900) surfaces. */
  --mint-200: #9df4ce; /* Light mint. Hover and selected backgrounds behind mint-900 text. */
  --mint-100: #b5ffe2; /* Palest mint. Subtle brand washes behind mint-900 or gray-900 text. */
  --mint-tint-1: #71ebc2; /* Tint of mint-500 (strongest). Fills and chart series behind dark text. */
  --mint-tint-2: #88ebc9; /* Tint of mint-500. Fills behind dark text. */
  --mint-tint-3: #a0ebd1; /* Tint of mint-500. Badges and tags behind mint-900 text. */
  --mint-tint-4: #b7ebd9; /* Tint of mint-500. Soft panels and info backgrounds. */
  --mint-tint-5: #ceebe1; /* Tint of mint-500 (softest). Large calm surfaces, table row highlights. */
  --mint-shade-1: #33b897; /* Shade of mint-500. Hover state of mint-500 buttons (keep mint-900 text, 4.8:1). */
  --mint-shade-2: #2c9e84; /* Shade of mint-500. Pressed state; icons and large text on white (3.3:1). */
  --mint-shade-3: #258570; /* Shade of mint-500. The lightest mint that is safe for small text and links on white (4.5:1). */
  --mint-shade-4: #1e6b5c; /* Shade of mint-500. Links and emphasized text on white (6.3:1). */
  --mint-shade-5: #175248; /* Shade of mint-500 (darkest). Dark brand surfaces; text on white (9:1). */
  --gray-900: #333333; /* Body text on white and gray-50 (12.6:1). */
  --gray-700: #4c4c4c; /* Secondary text on white (8.6:1). */
  --gray-500: #808080; /* Placeholder text, captions at 24px+ and control borders (3.9:1 on white). Not for small body text. */
  --gray-300: #b2b2b2; /* Disabled elements and decorative dividers. Not for text (2.1:1). */
  --gray-100: #e6e6e6; /* Hairline dividers and card borders. */
  --gray-50: #fafafa; /* Page background. */
  --signal-yellow: #e8e400; /* Accent: warnings and attention highlights. Only on dark surfaces or behind gray-900 text; never as text on white (1.4:1). */
  --signal-lime: #8cea00; /* Accent: success, growth, 'live' indicators. Only on dark surfaces or behind gray-900 text; never as text on white (1.5:1). */
  --signal-cyan: #1be9df; /* Accent: AI activity and data highlights. Only on dark surfaces or behind gray-900 text; never as text on white (1.5:1). */
  --signal-blue: #235ddb; /* Accent: information and links in data views. Safe as text on white (5.7:1) and with white text on it. */
  --signal-violet: #9d65ff; /* Accent: AI insights and charts. Large text or icons only on white (3.7:1). */
  --signal-red: #c90003; /* Errors and destructive actions only. Safe as text on white (6:1) and with white text on it. */
  --shadow-01: 0 1px 2px rgba(11, 61, 62, 0.06), 0 1px 4px rgba(11, 61, 62, 0.1); /* Level 1, resting. Cards, inputs and table containers on the page background. */
  --shadow-02: 0 2px 4px rgba(11, 61, 62, 0.06), 0 4px 8px rgba(11, 61, 62, 0.08); /* Level 2, raised. Hovered or dragged cards, sticky headers. */
  --shadow-03: 0 4px 8px rgba(11, 61, 62, 0.06), 0 12px 24px rgba(11, 61, 62, 0.1); /* Level 3, floating. Dropdowns, menus, popovers and tooltips. */
  --shadow-04: 0 8px 16px rgba(11, 61, 62, 0.08), 0 24px 48px rgba(11, 61, 62, 0.14); /* Level 4, overlay. Modals, dialogs and side sheets over a dimmed page. */
  --shadow-focus: 0 0 0 2px #fafafa, 0 0 0 3px #258570; /* Keyboard focus ring on any interactive element: a 2px gap in gray-50, then a 2px ring in mint-shade-3 (4.5:1 on white). */
}
:root {
  --spacing-00: 0px; /* No space. Elements that touch, e.g. joined button groups. */
  --spacing-01: 4px; /* Small. Gap between a small icon and its text; padding inside badges and tags. */
  --spacing-02: 8px; /* Small. Gap between repeating items (button groups, chips); padding of icon buttons and table cells; title-to-description gap in a card. */
  --spacing-03: 12px; /* Medium. Vertical spacing between elements in a card; gap between an avatar or large icon and its content. */
  --spacing-04: 16px; /* Medium. Padding inside buttons (sides) and inputs; default gap between form fields; card padding in dense views. */
  --spacing-05: 20px; /* Medium. Padding of larger components such as section messages. */
  --spacing-06: 24px; /* Medium. Default card and panel padding; gap between cards in a grid. */
  --spacing-08: 32px; /* Large. Gap between groups of content inside a page; padding of large panels and modals. */
  --spacing-10: 40px; /* Large. Space between page sections in the platform. */
  --spacing-12: 48px; /* Large. Space between the page header and content; article section breaks. */
  --spacing-16: 64px; /* Large. Space between major page sections; website section padding on mobile. */
  --spacing-20: 80px; /* Large. Top of page to header on marketing pages; website section padding. */
  --spacing-24: 96px; /* Layout only (non-linear step). Website section padding on desktop. */
  --spacing-32: 128px; /* Layout only (non-linear step). Hero top and bottom padding on the website. */
  --radius-1: 4px; /* Buttons, inputs, checkboxes, badges, tags, tooltips, menu items. */
  --radius-2: 8px; /* Cards, dropdown menus, popovers, small panels. A dropdown with 4px padding around radius-1 items lands here by the nested rule. */
  --radius-3: 12px; /* Modals, dialogs, large feature cards on the website; a card holding a radius-1 image with 8px padding. */
  --radius-full: 9999px; /* Avatars, status dots and live pills only. Never on buttons or cards. */
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --text-display-xl: 600 64px/68px var(--font-sans); /* Hero titles on the website and launch pages. One per page. */
  --text-display: 600 48px/52px var(--font-sans); /* Section heroes, article titles on the website. */
  --text-h1: 600 36px/42px var(--font-sans); /* Page titles in the platform; article H1. */
  --text-h2: 600 28px/34px var(--font-sans); /* Section headings. */
  --text-h3: 600 22px/28px var(--font-sans); /* Sub-sections, card group titles. */
  --text-h4: 600 18px/24px var(--font-sans); /* Card titles, panel headers. */
  --text-article-lead: 400 21px/32px var(--font-sans); /* Opening paragraph of an article or research note. */
  --text-article-body: 400 18px/30px var(--font-sans); /* Long-form reading: articles, research notes, docs. Keep lines 60 to 75 characters wide. */
  --text-body: 400 16px/24px var(--font-sans); /* Default platform text. */
  --text-body-sm: 400 14px/20px var(--font-sans); /* Dense UI: tables, side panels, descriptions. */
  --text-label: 500 14px/20px var(--font-sans); /* Buttons, form labels, tabs, menu items. */
  --text-caption: 400 12px/16px var(--font-sans); /* Helper text, timestamps, footnotes. Use gray-700 or darker for color. */
  --text-mono-eyebrow: 500 12px/16px var(--font-mono); /* Section labels above titles, written in capitals: 02 / THE OPPORTUNITY. */
  --text-mono-data: 400 14px/20px var(--font-mono); /* Numbers, metrics, IDs and status values in tables and dashboards. */
  --text-code: 400 14px/22px var(--font-mono); /* Code blocks, prompts and agent traces. */
}
.display-xl {
  font-family: var(--font-sans);
  font-size: 64px;
  line-height: 68px;
  font-weight: 600;
  letter-spacing: -1.5px;
}
.display {
  font-family: var(--font-sans);
  font-size: 48px;
  line-height: 52px;
  font-weight: 600;
  letter-spacing: -1px;
}
.h1 {
  font-family: var(--font-sans);
  font-size: 36px;
  line-height: 42px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.h2 {
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.h4 {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: 0;
}
.article-lead {
  font-family: var(--font-sans);
  font-size: 21px;
  line-height: 32px;
  font-weight: 400;
  letter-spacing: 0;
}
.article-body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0;
}
.body-sm {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0;
}
.label {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0;
}
.caption {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0;
}
.mono-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 1px;
}
.mono-data {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0;
}
.code {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: 0;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  /* effect (tokens.json → effect) */
  --effect-grain-opacity: 0.9;   /* 0.6 on pale mint gradients */
  --effect-grain-frequency: 0.85;
  --effect-blob-blur: 32px;      /* 32px per 300px of canvas width */
  --effect-accent-max: 10%;
  /* website grid (tokens.json → grid) */
  --grid-web-container: 1240px;
  --grid-web-gutter: 32px;
  --grid-article-width: 604px;
  --grid-tablet-margin: 32px;
  --grid-tablet-gutter: 24px;
  --grid-mobile-margin: 16px;
  --grid-mobile-gutter: 16px;
}
