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

:root {
  --page-bg: #eef1f6;
  --card-bg: #ffffff;
  --border: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --success: #15803d;
  --success-bg: rgba(34, 197, 94, 0.1);
}

body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;
  background: var(--page-bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.legal-header {
  margin-bottom: 32px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 20px;
}

.legal-brand:hover {
  text-decoration: none;
}

.legal-brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.legal-header h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 14px;
  color: var(--muted);
}

.legal-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}

.legal-card h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 10px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  font-size: 15px;
  color: #374151;
  margin-bottom: 12px;
}

.legal-card ul {
  padding-left: 22px;
  margin-bottom: 12px;
}

.legal-card li {
  margin-bottom: 6px;
}

.legal-nav {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

/* Contact form */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

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

.form-submit {
  align-self: flex-start;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.form-submit:hover {
  background: var(--primary-hover);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-error {
  display: none;
  padding: 12px 14px;
  font-size: 14px;
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  border-radius: 8px;
}

.form-error.visible {
  display: block;
}

/* Thank you */

.thank-you-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.thank-you-card {
  text-align: center;
}

.thank-you-card h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

.thank-you-card p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
}

.thank-you-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.btn-outline:hover {
  border-color: var(--primary);
  text-decoration: none;
}

.btn-primary-link {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
  text-decoration: none;
}

.btn-primary-link:hover {
  background: var(--primary-hover);
  text-decoration: none;
}
