@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Geist:wght@100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root,
[data-theme="light"] {
  --bg-primary: #fafafa;
  --bg-secondary: #f3f3f3;
  --bg-tertiary: #ebebeb;
  --bg-primary-alpha-0: #fafafa00;
  --bg-invert-primary: #141414;
  --text-primary: #1b1b1b;
  --text-secondary: #424242;
  --text-tertiary: #6e6e6e;
  --text-invert-primary: #e8e8e8;
  --border-primary: #ededed;
  --static-black: #141414;
  --static-white: #fafafa;
  --red: #ff382e;
  --orange: #ff9500;
  --yellow: #fc0;
  --green: #33c758;
  --mint: #00c7bd;
  --teal: #30afc5;
  --cyan: #33ade6;
  --blue: #007bff;
  --indigo: #5957d6;
  --purple: #b054de;
  --pink: #ff2e54;
  --brown: #a2845d;
  --gray-8: #c7c7c7;
  --gray-10: #858585;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
}

[data-theme="dark"] {
  --bg-primary: #141414;
  --bg-secondary: #1d1d1d;
  --bg-tertiary: #262626;
  --bg-primary-alpha-0: #14141400;
  --bg-invert-primary: #fafafa;
  --text-primary: #e8e8e8;
  --text-secondary: #bebebe;
  --text-tertiary: #828282;
  --text-invert-primary: #1b1b1b;
  --border-primary: #282828;
  --static-black: #141414;
  --static-white: #fafafa;
  --red: #ff4238;
  --orange: #ff9d0a;
  --yellow: #ffd60a;
  --green: #2ed157;
  --mint: #65e6e2;
  --teal: #3ecae0;
  --cyan: #66d4ff;
  --blue: #0a85ff;
  --indigo: #5e5ce6;
  --purple: #bf5af2;
  --pink: #ff3860;
  --brown: #ac8e68;
  --gray-8: #505050;
  --gray-10: #7e7e7e;

  --fw-regular: 380;
  --fw-medium: 480;
}

:root {
  --font-inter: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-geist: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-caveat: "Caveat", cursive, sans-serif;

  --font-primary: var(--font-inter);
  --font-secondary: var(--font-geist);
  --font-tertiary: var(--font-caveat);

  --radius-2: 2px;
  --radius-4: 4px;
  --radius-6: 6px;
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-14: 14px;
  --radius-16: 16px;
  --radius-20: 20px;
  --radius-24: 24px;
  --radius-32: 32px;
  --radius-rounded: 9999px;
  --radius-circle: 50%;

  --fs-10: 10px;
  --fs-11: 11px;
  --fs-12: 12px;
  --fs-13: 13px;
  --fs-14: 14px;
  --fs-15: 15px;
  --fs-16: 16px;
  --fs-17: 17px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-21: 21px;
  --fs-22: 22px;
  --fs-24: 24px;
  --fs-26: 26px;
  --fs-28: 28px;
  --fs-32: 32px;
  --fs-36: 36px;
  --fs-40: 40px;
  --fs-48: 48px;

  --lh-1: 1.1;
  --lh-2: 1.2;
  --lh-3: 1.3;
  --lh-4: 1.4;
  --lh-5: 1.5;
  --lh-6: 1.6;
  --lh-7: 1.7;
  --lh-8: 1.8;
  --lh-9: 1.9;
  --lh-10: 2;

  --type-body: var(--fw-regular) var(--fs-16) / var(--lh-7) var(--font-primary);
  --type-s: var(--fw-regular) var(--fs-14) / var(--lh-6) var(--font-primary);
  --type-xs: var(--fw-regular) var(--fs-12) / var(--lh-6) var(--font-primary);
  --type-l: var(--fw-regular) var(--fs-20) / var(--lh-6) var(--font-primary);
  --type-heading: var(--fw-semibold) var(--fs-16) / var(--lh-4) var(--font-primary);
  --type-heading-l: var(--fw-semibold) var(--fs-18) / var(--lh-4) var(--font-primary);
  --type-heading-xl: var(--fw-semibold) var(--fs-20) / var(--lh-4) var(--font-primary);
  --type-heading-2xl: var(--fw-semibold) var(--fs-24) / var(--lh-4) var(--font-primary);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  position: relative;
  min-height: 100vh;
}

::selection {
  background-color: var(--yellow);
  color: var(--static-black);
}

body :focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Completely remove/hide the page slider (scrollbar) from the right across all browsers while retaining smooth scroll functionality */
html,
body {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none;    /* Firefox */
}

::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

* {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

*::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

