/* ==========================================================================
   AXIS PREMIUM DESIGN SYSTEM — tokens.css (illsetyouup.com)
   --------------------------------------------------------------------------
   Fleet token structure, domain re-key. REGWATCH — a dark-first signal
   room: deep navy chamber with the constitution theme (#1f3d52 family) as
   the ACTION ramp, and signal blue (#2563eb family) as the SIGNAL ramp —
   the alert color of the product. Display face re-keyed to Fraunces (the
   watch's editorial voice); Inter and IBM Plex Mono stay as the fleet's UI
   and mono pair. Type D commercial product: lead-gen conversion paths stay
   clear. Default theme for this domain: dark.
   ========================================================================== */

:root {
  /* ========================================================================
     1. TYPE — families & tuned weights
     ======================================================================== */
  --font-sans: "Inter", "Inter Variable", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", "Fraunces Variable", Georgia,
    "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    monospace;

  --w-light: 300;
  --w-regular: 400;
  --w-medium: 500;
  --w-semibold: 600;
  --w-bold: 700;
  --w-display: 340;
  --display-opsz: 48;

  /* ========================================================================
     2. TYPE — scale
     ======================================================================== */
  --title-1: 1.0625rem;   --title-1-lh: 1.4;    --title-1-ls: -.012em;
  --title-2: 1.25rem;     --title-2-lh: 1.3;    --title-2-ls: -.012em;
  --title-3: 1.5rem;      --title-3-lh: 1.3;    --title-3-ls: -.014em;
  --title-4: 1.875rem;    --title-4-lh: 1.18;   --title-4-ls: -.018em;
  --title-5: 2.25rem;     --title-5-lh: 1.14;   --title-5-ls: -.02em;
  --title-6: 2.625rem;    --title-6-lh: 1.1;    --title-6-ls: -.022em;
  --title-7: 3.125rem;    --title-7-lh: 1.08;   --title-7-ls: -.022em;
  --title-8: 3.625rem;    --title-8-lh: 1.06;   --title-8-ls: -.024em;
  --title-9: 4.25rem;     --title-9-lh: 1.04;   --title-9-ls: -.024em;

  --display-1: clamp(2.75rem, 5.6vw, 6rem);      --display-1-lh: 1.02;  --display-1-ls: -.026em;
  --display-2: clamp(2.25rem, 4.2vw, 4.25rem);   --display-2-lh: 1.04;  --display-2-ls: -.024em;
  --display-3: clamp(1.875rem, 3.2vw, 3.25rem);  --display-3-lh: 1.08;  --display-3-ls: -.022em;

  --text-micro: .6875rem;
  --text-mini: .8125rem;
  --text-small: .875rem;
  --text-regular: 1rem;
  --text-large: 1.125rem;
  --text-lede: clamp(1.125rem, 1.6vw, 1.375rem);
  --body-lh: 1.65;
  --label-ls: .08em;

  /* ========================================================================
     3. COLOR — dark theme "the signal room" (DOMAIN THEME — navy chamber)
     ======================================================================== */
  --bg-canvas: #060b14;
  --bg-0: #0a1322;
  --bg-1: #0d1a2e;
  --bg-2: #12233c;
  --bg-3: #182c49;
  --text-1: #e9eff8;
  --text-2: #c6d2e2;
  --text-3: #93a4bc;
  --text-4: #6b7d95;

  --border-faint: rgba(233, 239, 248, .06);
  --border-thin: rgba(233, 239, 248, .1);
  --border-solid: rgba(233, 239, 248, .18);
  --border-strong: rgba(233, 239, 248, .3);
  --hairline: .5px;

  /* SIGNAL accent — alert blue, the product's signal color */
  --sig-200: #c3d8fb;
  --sig-300: #93b5f8;
  --sig-400: #5f8ef1;
  --sig-500: #2563eb;
  --sig-600: #1d4fc0;
  --sig-glow: rgba(37, 99, 235, .18);
  --sig-tint: rgba(37, 99, 235, .08);
  --sig-text: #7da3f5;

  /* ACTION ramp — constitution navy (#1f3d52) */
  --action-25: #f3f6f9;
  --action-50: #e8eef3;
  --action-100: #d2dee8;
  --action-200: #a7bccd;
  --action-300: #7c99b0;
  --action-400: #54758f;
  --action-500: #34566f;
  --action-600: #1f3d52;
  --action-700: #182f3f;
  --action-800: #12232f;
  --action-900: #0d1a23;
  --action-975: #09131a;
  --action: var(--action-600);
  --action-hover: var(--action-700);
  --action-tint: rgba(31, 61, 82, .16);
  --neutral-50: #eef2f7;
  --neutral-100: #e3eaf2;
  --neutral-200: #d0dae6;
  --neutral-300: #b4c1d3;
  --neutral-400: #94a3b6;
  --neutral-500: #758599;

  /* SEMANTIC CTA — signal blue on the navy chamber */
  --cta-bg: #2563eb;
  --cta-text: #f2f7ff;
  --cta-wipe: #1d4fc0;
  --cta-hover: #1d4fc0;
  --cta-secondary-bg: transparent;
  --cta-secondary-border: var(--border-solid);
  --cta-secondary-text: var(--text-1);

  --surface-1: var(--bg-1);
  --surface-2: var(--bg-2);
  --lift-1: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0));
  --lift-2: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  --bevel: linear-gradient(135deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .05) 30%, rgba(255, 255, 255, 0) 60%);

  /* Deep navy shadows (Stripe discipline: tinted, never black) */
  --shadow-stack:
    0 8px 2px 0 rgba(4, 9, 17, 0),
    0 5px 2px 0 rgba(4, 9, 17, .14),
    0 3px 2px 0 rgba(4, 9, 17, .22),
    0 1px 1px 0 rgba(4, 9, 17, .3),
    0 0 1px 0 rgba(4, 9, 17, .35);
  --shadow-tiny: 0 1px 4px -1px rgba(4, 9, 17, .5);
  --shadow-medium: 0 16px 32px rgba(4, 9, 17, .5);
  --shadow-high: 0 7px 32px rgba(4, 9, 17, .6);

  /* ========================================================================
     4. SPACING — fluid clamp scale
     ======================================================================== */
  --space-micro: clamp(.5rem, .972vw, .875rem);
  --space-tiny: clamp(1rem, 1.389vw, 1.25rem);
  --space-small: clamp(1.5rem, 2.083vw, 1.875rem);
  --space-medium: clamp(2rem, 2.778vw, 2.5rem);
  --space-large: clamp(3.25rem, 5.556vw, 5rem);
  --space-big: clamp(5rem, 10.417vw, 9.375rem);
  --space-huge: clamp(6.25rem, 13.889vw, 12.5rem);
  --space-enormous: clamp(8.75rem, 17.361vw, 15.625rem);

  /* ========================================================================
     5. MOTION — token library
     ======================================================================== */
  --ease-settle: cubic-bezier(.25, 1, .5, 1);
  --ease-rise: cubic-bezier(.32, .72, 0, 1);
  --ease-slip: cubic-bezier(.23, 1, .32, 1);
  --ease-leave: cubic-bezier(.4, 0, .2, 1);

  --speed-quick: .1s;
  --speed-fast: .2s;
  --speed-regular: .25s;
  --speed-slow: .45s;
  --speed-counter: 1.2s;

  --reveal-blur: 10px;
  --reveal-distance: 20%;
  --reveal-guard: 30px;

  --stagger-1: 40ms;
  --stagger-2: 70ms;
  --stagger-3: 120ms;

  --marquee-duration: 30s;

  /* ========================================================================
     6. GEOMETRY
     ======================================================================== */
  --radius-4: 4px;
  --radius-6: 6px;
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-24: 24px;
  --radius-32: 32px;
  --radius-pill: 9999px;
  --radius-circle: 50%;

  --pill-sm: 32px;
  --pill-md: 44px;
  --pill-lg: 56px;

  --content-max: 1344px;
  --page-pad-x: clamp(1.25rem, 4vw, 3rem);
  --page-pad-y: var(--space-large);
  --header-height: 64px;
  --header-blur: 20px;

  --grid-cols: 12;
  --grid-gap: clamp(1rem, 2vw, 2rem);
  --section-y: var(--space-big);

  --focus-ring: 0 0 0 2px var(--bg-0), 0 0 0 4px var(--sig-500);

  --edge-lamp: rgba(37, 99, 235, .14);

  --rail-width: 2px;
}

/* ==========================================================================
   7. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: var(--text-regular);
  font-weight: var(--w-regular);
  line-height: var(--body-lh);
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--sig-500); color: #f2f7ff; }

.display {
  font-family: var(--font-display);
  font-weight: var(--w-display);
  font-variation-settings: "opsz" var(--display-opsz);
}

.label {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  font-weight: var(--w-regular);
  letter-spacing: var(--label-ls);
  text-transform: uppercase;
  color: var(--text-4);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-6);
}
