:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-soft: #eef2f3;
  --text: #172126;
  --text-soft: #5f6d73;
  --primary: #173f46;
  --primary-hover: #0f3036;
  --accent: #b68a4c;
  --border: #d8e0e2;
  --shadow: 0 18px 50px rgba(23, 63, 70, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

header {
  min-height: 72px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
}

header strong {
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 0.18em;
}

header div:last-child {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

main {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
  padding: 80px 0;
}

section {
  margin-bottom: 32px;
  padding: 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

section:first-child {
  padding: 64px 48px;
  background: var(--primary);
  color: #ffffff;
}

section:first-child > p:first-child {
  margin: 0 0 16px;
  color: #d7c29d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 700px;
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

section:first-child > p:last-child {
  max-width: 650px;
  margin: 0;
  color: #dbe6e8;
  font-size: 1.1rem;
}

h2 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-soft);
}

label {
  display: block;
  margin: 28px 0 10px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

textarea {
  width: 100%;
  min-height: 320px;
  padding: 20px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fafcfc;
  color: var(--text);
  font: inherit;
  line-height: 1.6;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(23, 63, 70, 0.1);
}

button {
  margin-top: 18px;
  padding: 14px 24px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

button:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

ul {
  margin: 24px 0 0;
  padding-left: 22px;
}

li {
  margin-bottom: 10px;
  color: var(--text-soft);
}

footer {
  padding: 30px 20px 50px;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  header {
    padding: 0 20px;
  }

  main {
    width: min(100% - 24px, 980px);
    padding: 32px 0;
  }

  section,
  section:first-child {
    padding: 28px 22px;
  }

  h1 {
    font-size: 2.5rem;
  }

  textarea {
    min-height: 260px;
  }
}
