/* Design tokens, reset and base typography */

:root {
  /* colors */
  --color-bg: #ffffff;
  --color-text: #000000;
  --color-text-secondary: #3b3b3b;
  --color-text-muted: #f5f5f5;
  --color-card-bg: #e8eaed;
  --color-border: #c1c8c9;
  --color-border-light: #c9ced4;
  --color-dark-bg: #000000;
  --color-dark-bg-2: #101010;
  --color-white: #ffffff;

  /* radii */
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-pill: 30px;
  --radius-full: 50%;

  /* layout */
  --container-max: 1520px;
  --container-pad: 40px;

  /* type */
  --font-main: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.4em;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 809px) {
  :root {
    --container-pad: 20px;
  }
}
