*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: #1a1a1a;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  background: #f4f5f8;
}

a {
  color: #28478b;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.brand {
  font-size: 14px;
  font-weight: 700;
  color: #28478b;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.lang-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(34, 36, 40, 0.08);
}

.lang-switch button {
  min-width: 40px;
  padding: 6px 10px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #666;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.lang-switch button.active {
  background: #28478b;
  color: #fff;
}

.card {
  padding: 28px 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(34, 36, 40, 0.08);
}

.card h1 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.25;
}

.updated {
  margin: 0 0 24px;
  font-size: 13px;
  color: #777;
}

.card h2 {
  margin: 28px 0 10px;
  font-size: 17px;
}

.card h2:first-of-type {
  margin-top: 0;
}

.card p,
.card li {
  margin: 0 0 12px;
}

.card ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.card ul li {
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 14px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dde1e7;
  border-radius: 10px;
  background: #fafbfc;
  font: inherit;
  font-size: 15px;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
}

.form-check input {
  margin-top: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border: none;
  border-radius: 12px;
  background: #28478b;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.success-box {
  padding: 20px;
  border-radius: 12px;
  background: #eef6ee;
  color: #1f5f2a;
  text-align: center;
}

.success-box h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: inherit;
}

.success-box p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 480px) {
  .card {
    padding: 22px 18px;
  }

  .card h1 {
    font-size: 22px;
  }
}
