@charset "UTF-8";

@font-face {
  font-family: Inter;
  src: url("../assets/fonts/Inter-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #fafbf9;
  --text: #202126;
  --muted: #5f606c;
  --accent: #655875;
  --primary: #655875;
  --line: #e1e3e8;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  font-optical-sizing: auto;
  font-feature-settings: "calt" 1, "liga" 1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
}

p, h1, h2, h3 {
  margin: 0;
}

h1, h2, summary {
  overflow-wrap: break-word;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a, button, summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 6px;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 10;
  padding: 12px;
  background: var(--primary);
}

.skip-link:focus {
  top: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1;
}

.brand img {
  flex-shrink: 0;
}

.header {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  padding: 27px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.header nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: .875rem;
  color: #c3c4d2;
}

.header nav a:hover, .footer a:hover {
  color: #fff;
}

.nav-button {
  background: #0b0c18b3;
  backdrop-filter: blur(12px);
  border: 1px solid #ffffff1c;
  padding: 11px 19px;
  border-radius: 9px;
  font-size: .875rem;
  margin-left: 16px;
}

.nav-button:hover {
  background: #272842;
}


.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 80px;
  padding-block: 100px 75px;
}

.faq-heading h2 {
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -1.1px;
  margin-top: 17px;
  line-height: 1.25;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  list-style: none;
  padding: 23px 32px 23px 0;
  font-size: 1rem;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 20px;
  font-size: 23px;
  color: #a2a3bf;
}

details[open] summary::after {
  content: "−";
}

details p {
  padding: 0 25px 24px 0;
  color: #a9abbd;
  line-height: 1.9;
  font-size: 1rem;
}

.footer {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 35px 45px;
  border-top: 1px solid var(--line);
}

.footer .brand {
  font-size: 1.8rem;
}

.footer p {
  font-size: .875rem;
  color: #9698ac;
}

.footer > a:nth-last-child(2) {
  margin-left: auto;
  font-size: .875rem;
  color: #b2b4c5;
}

.footer > span {
  font-size: .75rem;
  color: #9192a5;
  white-space: nowrap;
}

@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 60px);
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header {
    padding: 23px 22px;
    gap: 15px;
  }
  .header .brand {
    font-size: 1.75rem;
  }
  .header .brand img {
    width: 27px;
    height: 27px;
  }
  .header nav {
    display: none;
  }
  .nav-button {
    font-size: .75rem;
    padding: 9px 13px;
    margin-left: auto;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 65px;
  }
  .faq-heading h2 {
    font-size: 2rem;
  }
  summary {
    font-size: .9375rem;
  }
  .footer {
    flex-wrap: wrap;
    gap: 16px;
    padding-block: 28px;
  }
  .footer p {
    flex-basis: calc(100% - 110px);
    font-size: .75rem;
  }
  .footer > a:nth-last-child(2) {
    margin-left: 0;
  }
  .footer > span {
    margin-left: auto;
  }
}

@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 32px);
  }
}

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

@media (forced-colors: active) {
  .nav-button {
    border: 1px solid ButtonText;
  }
}
