@font-face {
  font-family: "Angelix";
  src: url("/fonts/angelix.ttf") format("truetype");
  font-display: swap;
}

:root {
  --black: #000000;
  --panel: #161616;
  --panelHover: #1f1f1f;
  --line: rgba(255, 255, 255, 0.14);
  --white: #ffffff;
  --grey: #b4b4b4;
  --greyDim: #8a8a8a;
  --starBlue: #9fd6ff;
  --starLilac: #d5c4ff;
  --starRose: #f2b9ee;
  --violet: #5b3fd6;
  --violetDeep: #1b1147;
  --iris: linear-gradient(90deg, var(--starBlue), var(--starLilac) 52%, var(--starRose));

  --fontText: "Archivo", "Segoe UI", system-ui, sans-serif;

  --margin: clamp(20px, 5vw, 64px);
  --pageMax: 1168px;
  --radius: 8px;
  --gapSection: clamp(72px, 9vw, 128px);
  --barHeight: 72px;

  --easeOut: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  color-scheme: dark;
  background: var(--black);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--barHeight) + 24px);
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--black);
  color: var(--white);
  font-family: var(--fontText);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure {
  margin: 0;
}

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

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

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

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

.visuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--pageMax) + var(--margin) * 2);
  margin-inline: auto;
  padding-inline: var(--margin);
}

.tag {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms, border-color 180ms, color 180ms, transform 180ms var(--easeOut), filter 180ms;
}

.pill:active {
  transform: scale(0.97);
}

.pillBright {
  background: var(--iris);
  color: var(--black);
}

.pillBright:hover {
  filter: brightness(1.12);
}

.pillWhite {
  background: var(--white);
  color: var(--black);
}

.pillWhite:hover {
  background: #e4e4e4;
}

.pillLine {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
}

.pillLine:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.pillSmall {
  min-height: 38px;
  padding: 0 18px;
  font-size: 0.8125rem;
}

.arrowOut {
  width: 11px;
  height: 11px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.sectionHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.sectionTitle {
  font-size: clamp(1.875rem, 1.4rem + 1.9vw, 2.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.sectionLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  padding: 8px 0;
}

.sectionLink:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.section {
  padding-top: var(--gapSection);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
  }
}
