* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #f7f4ec 0%, #e8dfce 45%, #d7c7aa 100%);
  color: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

main {
  width: min(820px, 100%);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 26px;
  padding: 56px 36px 32px;
  text-align: center;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.12);
}

.label {
  display: inline-block;
  margin-bottom: 22px;
  padding: 7px 15px;
  border-radius: 999px;
  background: #f0eadc;
  color: #6b5730;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 7vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

h2 {
  margin: 34px 0 12px;
  font-size: 1.25rem;
  color: #222;
}

h2:first-of-type {
  margin-top: 0;
}

.lead {
  margin: 0 auto 14px;
  max-width: 560px;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.5;
  color: #333;
}

.sub {
  margin: 0 auto 32px;
  max-width: 610px;
  font-size: 1rem;
  line-height: 1.65;
  color: #5b5b5b;
}

.contact-form {
  margin: 34px auto 0;
  max-width: 560px;
  text-align: left;
}

.form-row {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  color: #333;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  color: #1e1e1e;
  background: #fffdf8;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(107, 87, 48, 0.18);
  border-color: #6b5730;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

button,
.button {
  display: inline-block;
  border: 0;
  cursor: pointer;
  padding: 14px 26px;
  border-radius: 999px;
  background: #1e1e1e;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font: inherit;
  transition: background 0.2s ease, transform 0.2s ease;
}

button:hover,
.button:hover {
  background: #000000;
  transform: translateY(-1px);
}

.notice {
  margin: 24px auto 0;
  max-width: 610px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f0eadc;
  color: #4f4125;
  line-height: 1.55;
  text-align: left;
}

.content {
  text-align: left;
  color: #555;
  font-size: 0.98rem;
  line-height: 1.68;
}

.content p {
  margin: 0 0 13px;
}

.content a,
.footer-links a {
  color: #333;
  text-decoration: underline;
}

.footer-links {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  color: #666;
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  body {
    padding: 18px;
  }

  main {
    padding: 40px 22px 26px;
    border-radius: 20px;
  }

  .contact-form,
  .content {
    font-size: 0.95rem;
  }

  .footer-links {
    font-size: 0.84rem;
  }
}
