/* Sky Premium Web - design tokens. GENERATED by tools/build_tokens.py from tokens/tokens.json. Do not edit by hand. */
/* Golden scale: u = 16px; every size is u x phi^n, half-steps x sqrt(phi). Radius = height / phi^2 x 1.25. */
:root {
  /* space */
  --sky-space-3xs: 0.382rem;   /* u*phi^-2 = 6.11px */
  --sky-space-2xs: 0.618rem;   /* u*phi^-1 = 9.89px */
  --sky-space-xs: 1rem;   /* u*phi^0 = 16px */
  --sky-space-sm: 1.618rem;   /* u*phi^1 = 25.89px */
  --sky-space-md: 2.618rem;   /* u*phi^2 = 41.89px */
  --sky-space-lg: 4.2361rem;   /* u*phi^3 = 67.78px */
  --sky-space-xl: 6.8541rem;   /* u*phi^4 = 109.67px */
  --sky-space-2xl: 11.0902rem;   /* u*phi^5 = 177.44px */
  /* type: fluid, 360 -> 1280 px viewports; headings span one sqrt(phi) half-step, display one phi step */
  --sky-text-caption: 0.7862rem;   /* u*phi^-0.5 = 12.58px */
  --sky-text-body: 1rem;   /* u*phi^0 = 16px */
  --sky-text-lead: 1.272rem;   /* u*phi^0.5 = 20.35px */
  --sky-text-h5: clamp(1.272rem, 1.1366rem + 0.602vw, 1.618rem);   /* 20.35px -> 25.89px */
  --sky-text-h4: clamp(1.618rem, 1.4458rem + 0.765vw, 2.0582rem);   /* 25.89px -> 32.93px */
  --sky-text-h3: clamp(2.0582rem, 1.8391rem + 0.974vw, 2.618rem);   /* 32.93px -> 41.89px */
  --sky-text-h2: clamp(2.618rem, 2.3394rem + 1.239vw, 3.3302rem);   /* 41.89px -> 53.28px */
  --sky-text-h1: clamp(3.3302rem, 2.9757rem + 1.575vw, 4.2361rem);   /* 53.28px -> 67.78px */
  --sky-text-display: clamp(3.3302rem, 2.5248rem + 3.579vw, 5.3884rem);   /* 53.28px -> 86.21px */
  --sky-text-micro: calc(var(--sky-text-caption) * .875);   /* 11 px: mono labels and badges (monospace reads one step larger) */
  --sky-leading-tight: 1.08;
  --sky-leading-snug: 1.25;
  --sky-leading-body: 1.6;
  /* controls and radii: radius = height / phi^2 x optical */
  --sky-optical: 1;   /* becomes 1.25 where continuous (superellipse) corners render, see @supports below */
  --sky-radius-ratio: calc(0.3820 * var(--sky-optical));   /* 1 / phi^2: border-radius = calc(height * ratio) */
  --sky-control-sm: 2.0582rem;   /* u*phi^1.5 = 32.93px */
  --sky-radius-control-sm: calc(0.7862rem * var(--sky-optical));   /* 12.58px, 15.72px continuous */
  --sky-control-md: 2.618rem;   /* u*phi^2 = 41.89px */
  --sky-radius-control-md: calc(1rem * var(--sky-optical));   /* 16px, 20px continuous */
  --sky-control-lg: 3.3302rem;   /* u*phi^2.5 = 53.28px */
  --sky-radius-control-lg: calc(1.272rem * var(--sky-optical));   /* 20.35px, 25.44px continuous */
  --sky-radius-tag: calc(0.618rem * var(--sky-optical));   /* for a 25.89px shape: 9.89px, 12.36px continuous */
  --sky-radius-tile: calc(0.7862rem * var(--sky-optical));   /* for a 32.93px shape: 12.58px, 15.72px continuous */
  --sky-radius-card: calc(1.272rem * var(--sky-optical));   /* for a 53.28px shape: 20.35px, 25.44px continuous */
  --sky-radius-panel: calc(1.618rem * var(--sky-optical));   /* for a 67.78px shape: 25.89px, 32.36px continuous */
  --sky-radius-round: 999px;
  --sky-rim: 2px;   /* material rim: light on top, deep below */
  --sky-touch: 44px;   /* minimum target on coarse pointers (WCAG 2.5.5 / Apple HIG) */
  /* type */
  --sky-font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sky-font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sky-weight-thin: 200;
  --sky-weight-light: 300;
  --sky-weight-regular: 400;
  --sky-weight-medium: 500;
  --sky-weight-semibold: 600;
  --sky-weight-bold: 700;
  --sky-weight-heavy: 800;
  --sky-tracking-display: -0.035em;
  --sky-tracking-heading: -0.02em;
  --sky-tracking-body: -0.005em;
  --sky-tracking-label: 0.14em;
  /* motion */
  --sky-ease-glide: cubic-bezier(.16, 1, .3, 1);
  --sky-ease-punch: cubic-bezier(.3, 1.6, .5, 1);
  --sky-ease-exit: cubic-bezier(.7, 0, .84, 0);
  --sky-ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --sky-dur-micro: 160ms;
  --sky-dur-press: 120ms;
  --sky-dur-lag: 60ms;
  --sky-dur-stagger: 80ms;
  --sky-dur-nudge: 300ms;
  --sky-dur-intent: 300ms;
  --sky-dur-fill: 350ms;
  --sky-dur-standard: 450ms;
  --sky-dur-rail: 700ms;
  --sky-dur-scene: 800ms;
  /* layout */
  --sky-content: 75rem;   /* 1200 px */
  --sky-gutter: clamp(1rem, 0.75rem + 1.2vw, 1.618rem);   /* 16px -> 25.89px */
  /* colour: materials (same in both modes) */
  --sky-cobalt-rim: #8DB2FF;
  --sky-cobalt-1: #3577EE;
  --sky-cobalt: #1E5BD8;
  --sky-cobalt-2: #1446B4;
  --sky-cobalt-deep: #0E3590;
  --sky-red-rim: #FF9CA2;
  --sky-red-1: #E0525B;
  --sky-red: #B4303A;
  --sky-red-deep: #7E1B23;
  --sky-pearl: #F7F9FC;
  --sky-ice: #E8F0FA;
  --sky-mist: #CFDDF0;
  --sky-mist2: #B7C9E2;
  --sky-steel: #6B7A90;
  --sky-navy: #0B1B33;
  --sky-navy2: #1B3157;
  --sky-on-cobalt-tile: #DCE8FB;
  --sky-on-red-tile: #FBE3E5;
  --sky-guide: #E5484D;
  --sky-guide-rgb: 229, 72, 77;
  --sky-light-warm: #F4DBAD;
  /* colour: light */
  --sky-ground-top: #F7F9FC;
  --sky-ground-mid: #EEF3FA;
  --sky-ground-low: #DCE6F4;
  --sky-ink: #0B1B33;
  --sky-ink-muted: #4A5668;
  --sky-label: #536178;
  --sky-stroke: #6B7A90;
  --sky-line: #CFDDF0;
  --sky-line-strong: #B7C9E2;
  --sky-surface: #FFFFFF;
  --sky-surface-2: #EEF3FA;
  --sky-sunken: #E8F0FA;
  --sky-pearl-fill-1: #FFFFFF;
  --sky-pearl-fill-2: #EEF3FA;
  --sky-pearl-rim-1: #FFFFFF;
  --sky-pearl-rim-2: #BFD0E8;
  --sky-tile-1: #EDF3FC;
  --sky-tile-2: #DCE7F7;
  --sky-navy-fill-1: #1B3157;
  --sky-navy-fill-2: #0B1B33;
  --sky-navy-rim-1: #4A6496;
  --sky-navy-rim-2: #040A16;
  --sky-accent-text: #1E5BD8;
  --sky-danger-text: #B4303A;
  --sky-invert-bg: #0B1B33;
  --sky-invert-ink: #F7F9FC;
  --sky-lit: rgba(255, 255, 255, .65);
  --sky-sheen: rgba(255, 255, 255, .18);
  --sky-shadow-rgb: 11, 27, 51;
  --sky-glow-rgb: 30, 91, 216;
  /* elevation: three navy-tinted layers (contact, mid, ambient), light from the top-left */
  --sky-shadow-1: 0.5px 1px 1px rgba(var(--sky-shadow-rgb), .14), 1px 2px 4px -1px rgba(var(--sky-shadow-rgb), .12);
  --sky-shadow-2: 0.5px 1px 1px rgba(var(--sky-shadow-rgb), .16), 1px 4px 8px -2px rgba(var(--sky-shadow-rgb), .16), 3px 18px 34px -14px rgba(var(--sky-shadow-rgb), .36);
  --sky-shadow-3: 0.5px 1px 1px rgba(var(--sky-shadow-rgb), .18), 2px 6px 12px -3px rgba(var(--sky-shadow-rgb), .2), 5px 30px 52px -18px rgba(var(--sky-shadow-rgb), .44);
  --sky-glow: 0 18px 36px -16px rgba(var(--sky-glow-rgb), .5);
  --sky-glow-red: 0 16px 32px -16px rgba(180, 48, 58, .45);
  --sky-focus: 0 0 0 2px var(--sky-ground-top), 0 0 0 5px rgba(var(--sky-glow-rgb), .7);
  color-scheme: light;
}

/* Continuous corners: the +25% optical correction only applies where the curve really is a superellipse */
@supports (corner-shape: superellipse(1.5)) {
  :root { --sky-optical: 1.25; }
}

/* Dusk: the same studio after dark (system preference, unless the page pins data-theme="light") */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sky-ground-top: #10213D;
    --sky-ground-mid: #0B1B33;
    --sky-ground-low: #06101F;
    --sky-ink: #F2F6FC;
    --sky-ink-muted: #AEBBD0;
    --sky-label: #9AA9C0;
    --sky-stroke: #7E8EA8;
    --sky-line: #253A5C;
    --sky-line-strong: #34507C;
    --sky-surface: #132644;
    --sky-surface-2: #0F203B;
    --sky-sunken: #0D1C35;
    --sky-pearl-fill-1: #1D355C;
    --sky-pearl-fill-2: #142849;
    --sky-pearl-rim-1: #3B5888;
    --sky-pearl-rim-2: #0A1730;
    --sky-tile-1: #24406B;
    --sky-tile-2: #1B3459;
    --sky-navy-fill-1: #2A4570;
    --sky-navy-fill-2: #1B3157;
    --sky-navy-rim-1: #5571A3;
    --sky-navy-rim-2: #0A1730;
    --sky-accent-text: #8DB2FF;
    --sky-danger-text: #FF9CA2;
    --sky-invert-bg: #F2F6FC;
    --sky-invert-ink: #0B1B33;
    --sky-lit: rgba(255, 255, 255, .10);
    --sky-sheen: rgba(255, 255, 255, .06);
    --sky-shadow-rgb: 2, 8, 20;
    --sky-glow-rgb: 53, 119, 238;
    color-scheme: dark;
  }
}
:root[data-theme="dusk"] {
  --sky-ground-top: #10213D;
  --sky-ground-mid: #0B1B33;
  --sky-ground-low: #06101F;
  --sky-ink: #F2F6FC;
  --sky-ink-muted: #AEBBD0;
  --sky-label: #9AA9C0;
  --sky-stroke: #7E8EA8;
  --sky-line: #253A5C;
  --sky-line-strong: #34507C;
  --sky-surface: #132644;
  --sky-surface-2: #0F203B;
  --sky-sunken: #0D1C35;
  --sky-pearl-fill-1: #1D355C;
  --sky-pearl-fill-2: #142849;
  --sky-pearl-rim-1: #3B5888;
  --sky-pearl-rim-2: #0A1730;
  --sky-tile-1: #24406B;
  --sky-tile-2: #1B3459;
  --sky-navy-fill-1: #2A4570;
  --sky-navy-fill-2: #1B3157;
  --sky-navy-rim-1: #5571A3;
  --sky-navy-rim-2: #0A1730;
  --sky-accent-text: #8DB2FF;
  --sky-danger-text: #FF9CA2;
  --sky-invert-bg: #F2F6FC;
  --sky-invert-ink: #0B1B33;
  --sky-lit: rgba(255, 255, 255, .10);
  --sky-sheen: rgba(255, 255, 255, .06);
  --sky-shadow-rgb: 2, 8, 20;
  --sky-glow-rgb: 53, 119, 238;
  color-scheme: dark;
}
