* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: #f4f7ff;
  color: #1c2740;
  line-height: 1.6;
}

.container {
  width: min(980px, 92vw);
  margin: 0 auto;
}

.legal-header {
  border-bottom: 1px solid #dbe3f2;
  background: #ffffffcc;
  backdrop-filter: blur(8px);
}

.legal-header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand,
.back-link {
  text-decoration: none;
  color: #264cb8;
  font-weight: 700;
}

.legal-main {
  padding: 34px 0 48px;
}

.legal-card {
  background: #fff;
  border: 1px solid #dbe3f2;
  border-radius: 16px;
  padding: 26px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.doc-text {
  margin: 0;
  white-space: pre-wrap;
  color: #2f3a55;
}
