:root {
  --bg: #000000;
  --surface: #181818;
  --surface-2: #1f1f1f;
  --surface-3: #272727;
  --line: #313131;
  --text: #ffffff;
  --muted: #9b9b9b;
  --font: "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --s-0: 0;
  --s-25: 2px;
  --s-50: 4px;
  --s-75: 8px;
  --s-100: 12px;
  --s-200: 16px;
  --s-300: 24px;
  --s-400: 32px;
  --s-500: 40px;
  --s-600: 48px;
  --s-700: 64px;
  --s-800: 80px;
  --s-900: 96px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --header-offset: 96px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

.skip-link {
  position: absolute;
  left: var(--s-200);
  top: var(--s-200);
  padding: var(--s-75) var(--s-100);
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-lg);
  transform: translateY(-200%);
  z-index: 20;
}

.skip-link:focus {
  transform: none;
}

.field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #000000;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: var(--s-200) var(--s-200) 0;
  background: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s-100);
  width: min(1120px, 100%);
  padding: var(--s-75) var(--s-100);
  background: rgba(24, 24, 24, 0.72);
  border-radius: 24px;
  backdrop-filter: blur(16px);
}

.nav__brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  border-radius: var(--radius-lg);
}

.nav__brand img {
  width: 160px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s-50);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: var(--s-75) var(--s-100);
  border-radius: var(--radius-lg);
}

.nav__links a[aria-current="page"] {
  background: var(--surface-3);
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 500ms var(--ease), opacity 300ms var(--ease);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.page {
  position: relative;
  z-index: 1;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-100);
  margin-top: var(--s-400);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-75);
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--text);
  color: var(--bg);
  cursor: pointer;
  transition: transform 500ms var(--ease), opacity 300ms var(--ease), background-color 300ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.98);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 4px;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: var(--s-700) 0 var(--s-400);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-200) var(--s-400);
  align-items: center;
  justify-content: space-between;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-200);
}

.form {
  display: grid;
  gap: var(--s-200);
  max-width: 680px;
}

.form label {
  display: grid;
  gap: var(--s-75);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: var(--s-100);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form__error {
  min-height: 20px;
}

.note {
  max-width: 680px;
}

.heading-1,
.heading-2,
.heading-3,
.heading-5,
.title-2,
.title-3,
.body-3,
.body-6,
.button-md,
.caption-2,
.caption-4 {
  text-wrap: balance;
}

.body-3,
.body-6,
.caption-2 {
  text-wrap: pretty;
}

.heading-1 {
  margin: 0 0 var(--s-200);
  font-size: 60px;
  line-height: 60px;
  font-weight: 600;
  background: linear-gradient(90deg, #ffffff, #9b9b9b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.heading-2 {
  margin: 0 0 var(--s-200);
  font-size: 48px;
  line-height: 48px;
  font-weight: 600;
}

.heading-3 {
  margin: 0;
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
}

.heading-5 {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

.title-2 {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
}

.title-3 {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.body-3 {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--muted);
}

.body-6 {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--muted);
}

.button-md {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.caption-2 {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--muted);
}

.caption-4 {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .heading-1 {
    font-size: 36px;
    line-height: 40px;
  }

  .heading-2 {
    font-size: 30px;
    line-height: 36px;
  }

  .nav__toggle {
    display: inline-block;
  }

  .nav__links {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0;
    padding: var(--s-400);
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    transform: translateY(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 500ms var(--ease), transform 500ms var(--ease);
  }

  .nav__links.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav__links li {
    opacity: 0;
    transform: translateY(24px);
  }

  .nav__links.is-open li {
    animation: link-in 500ms var(--ease) forwards;
  }

  .nav__links.is-open li:nth-child(1) { animation-delay: 0ms; }
  .nav__links.is-open li:nth-child(2) { animation-delay: 60ms; }
  .nav__links.is-open li:nth-child(3) { animation-delay: 120ms; }
  .nav__links.is-open li:nth-child(4) { animation-delay: 180ms; }
}

@keyframes link-in {
  to {
    opacity: 1;
    transform: none;
  }
}

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

  .btn,
  .nav__toggle span {
    transition: none;
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 720px) {
  .nav__links,
  .nav__links li {
    animation: none;
    transition: none;
    transform: none;
  }

  .nav__links {
    opacity: 0;
  }

  .nav__links.is-open,
  .nav__links.is-open li {
    opacity: 1;
  }
}
