:root {
  --brand: #015461;
  --brand-hover: #013e48;
  --brand-soft: #e7f2f3;
  --brand-softer: #f8fafb;
  --brand-border: #d6e3e5;
  --ink: #0f1f23;
  --ink-muted: #5a6b73;
  --line: #e5e7eb;
  --white: #ffffff;
  --danger: #dc2626;
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--brand-softer);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.page__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.page__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--white);
  flex-shrink: 0;
}

.page__icon svg { width: 22px; height: 22px; }

.page__brand {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.02em;
}

.page__title {
  margin: 2px 0 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.card h2 {
  margin: 28px 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

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

.card p,
.card li {
  margin: 0 0 12px;
  color: var(--ink-muted);
}

.card ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.card a {
  color: var(--brand);
  text-decoration: none;
}

.card a:hover { text-decoration: underline; }

.meta {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-muted);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(1, 84, 97, 0.12);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #dc2626;
  font-size: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn svg { width: 16px; height: 16px; }

.btn--primary {
  background: var(--brand);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

.btn--outline {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--outline:hover {
  border-color: var(--brand-border);
  background: var(--brand-softer);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.thankyou {
  text-align: center;
  padding: 16px 0;
}

.thankyou__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
}

.thankyou__icon svg { width: 32px; height: 32px; }

.thankyou h2 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--ink);
}

.thankyou p {
  margin: 0 auto;
  max-width: 400px;
  color: var(--ink-muted);
}

.page__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.page__nav a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

.page__nav a:hover { text-decoration: underline; }
