/* Font definitions */
@font-face {
  font-family: "Open Sans";
  src: url("/fonts/OpenSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/fonts/OpenSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* Document defaults */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(
    rgba(236, 22, 140, 0.08) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 38%);
}

/* Typography */
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-header);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(3.25rem, 7vw, 6.6rem);
}
h2 {
  font-size: clamp(2.2rem, 4.5vw, 4.1rem);
}
h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}
a {
  color: inherit;
  text-decoration: none;
}

/* Interactive states */
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
::selection {
  color: #fff;
  background: var(--pink);
}
:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
}
