:root {
  color: #17171e;
  background: #f5f5fb;
  font-family: Inter, system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: #514bdc;
}

a:focus-visible {
  outline: 3px solid #32c780;
  outline-offset: 4px;
}

.container {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: #17171e;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
  text-decoration: none;
}

.back-link {
  font-size: 14px;
  font-weight: 600;
}

.document {
  padding: 44px 56px 56px;
  background: #fff;
  border: 1px solid #e7e7f0;
  border-radius: 24px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.eyebrow {
  color: #5c57f3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.document h1 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 12px 0 32px;
}

.document h2 {
  font-size: 20px;
  line-height: 1.35;
  margin: 36px 0 12px;
}

.document p,
.document li {
  color: #454553;
  font-size: 15px;
}

.document li + li {
  margin-top: 8px;
}

.footer-inner,
.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-inner {
  justify-content: space-between;
  padding: 32px 0;
  font-size: 13px;
}

.footer-inner a {
  color: #6e6e7c;
}

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

  .header-inner {
    min-height: 72px;
  }

  .document {
    padding: 28px 22px 36px;
    border-radius: 18px;
  }

  .footer-inner,
  .footer-inner nav {
    gap: 16px;
  }
}
