@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-wght-normal.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;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-wght-normal.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;
}

html {
  color-scheme: dark;

  --bg: #030303;
  --recessed: #0b0b0b;
  --surface-1: #0f0f0f;
  --surface-2: #171717;
  --surface-3: #262626;
  --line: #1f1f1f;
  --line-2: #333333;
  --line-strong: #666666;
  --text: #f5f5f5;
  --text-muted: #a1a1a1;
  --text-faint: #8a8a8a;
  --primary: #2350e8;
  --primary-hover: #3d66f2;
  --primary-press: #1a3db8;
  --primary-edge: #3d66f2;
  --primary-deep: #0e1f5c;
  --on-primary: #ffffff;
  --on-primary-soft: #dce6ff;
  --primary-text: #8faaff;
  --primary-tint: rgb(35 80 232 / 0.18);
  --focus: #8faaff;
  --brass: #e3a948;
  --brass-tint: rgb(227 169 72 / 0.12);
  --danger: #ff6467;
  --danger-fill: #c8363c;
  --danger-tint: rgb(255 100 103 / 0.14);
  --success: #3fd08a;
  --success-text: #a4f4cf;
  --success-tint: rgb(63 208 138 / 0.13);
  --warning: #ff8904;
  --chart-2: #4f6fbd;
  --ring: 0 0 0 1px var(--line-2);
  --ring-soft: 0 0 0 1px var(--surface-3);
  --shadow-float: 0 12px 32px rgb(0 0 0 / 0.6), 0 0 0 1px var(--line-2);

  --font-sans: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  --font-display: var(--font-sans);

  --fs-xs: 0.75rem;
  --lh-xs: 1.33;
  --fs-sm: 0.8125rem;
  --lh-sm: 1.38;
  --fs-md: 0.875rem;
  --lh-md: 1.45;
  --fs-lg: 1.0625rem;
  --lh-lg: 1.4;
  --fs-xl: 1.5rem;
  --lh-xl: 1.15;
  --fs-2xl: 3.5rem;
  --lh-2xl: 1;
  --fs-3xl: 4rem;
  --lh-3xl: 0.99;
  --fs-4xl: 5.5rem;
  --lh-4xl: 0.95;

  --sp-1: 2px;
  --sp-2: 4px;
  --sp-3: 8px;
  --sp-4: 12px;
  --sp-5: 16px;
  --sp-6: 20px;
  --sp-7: 24px;
  --sp-8: 32px;
  --sp-9: 40px;
  --sp-10: 56px;
  --sp-11: 80px;

  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 10px;
  --r-xl: 12px;
  --r-pill: 999px;

  --row-comfortable: 56px;
  --row-compact: 40px;
  --control: 32px;
  --control-lg: 40px;
  --target-min: 44px;
  --side-width: 260px;
  --side-rail: 57px;
  --bar: 58px;

  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;
  --dur-layout: 250ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-layout: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-press: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html[data-world="harbour"] {
  --bg: #151414;
  --recessed: #121111;
  --surface-1: #1b1a19;
  --surface-2: #232120;
  --surface-3: #2a2927;
  --line: rgb(240 230 224 / 0.12);
  --line-2: rgb(240 230 224 / 0.18);
  --line-strong: #787270;
  --text: #f0e6e0;
  --text-muted: #aea7a3;
  --text-faint: #8d8884;
  --primary-tint: rgb(35 80 232 / 0.26);
  --primary-text: #b8c9ff;
  --focus: #8faaff;
  --dash: rgb(240 230 224 / 0.12);
  --dots: rgb(240 230 224 / 0.09);
}

html[data-theme="light"] {
  color-scheme: light;

  --bg: #fbfbfc;
  --recessed: #f4f5f7;
  --surface-1: #ffffff;
  --surface-2: #f1f2f5;
  --surface-3: #e4e6eb;
  --line: #e7e8ec;
  --line-2: #d6d8de;
  --line-strong: #7a7e8a;
  --text: #0b0d13;
  --text-muted: #474b57;
  --text-faint: #5e6270;
  --primary: #2350e8;
  --primary-hover: #1f48d6;
  --primary-press: #1a3db8;
  --primary-edge: #1f48d6;
  --on-primary: #ffffff;
  --primary-text: #1f48d6;
  --primary-tint: rgb(35 80 232 / 0.1);
  --focus: #1f48d6;
  --brass: #8a5a0b;
  --brass-tint: rgb(138 90 11 / 0.1);
  --danger: #b4232a;
  --danger-fill: #b4232a;
  --danger-tint: rgb(180 35 42 / 0.1);
  --success: #16784a;
  --success-text: #16784a;
  --success-tint: rgb(22 120 74 / 0.1);
  --warning: #a4520a;
  --chart-2: #7d95d0;
  --shadow-float: 0 12px 32px rgb(11 13 19 / 0.12), 0 0 0 1px var(--line-2);
}

@media (prefers-reduced-motion: reduce) {
  html {
    --dur-fast: 0ms;
    --dur-base: 0ms;
    --dur-slow: 0ms;
    --dur-layout: 0ms;
  }
}
