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

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: #faf8f5;
  color: #2c2c2c;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

main {
  width: 100%;
  max-width: 440px;
}

header {
  text-align: center;
  margin-bottom: 2.5rem;
}

h1 {
  font-size: 2.2rem;
  font-weight: normal;
  letter-spacing: 0.05em;
  color: #1a1a1a;
}

.wedding-date {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #999;
  margin-top: 0.4rem;
  margin-bottom: 0;
}

section {
  background: #fff;
  border-radius: 4px;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

p {
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.field {
  margin-bottom: 1.2rem;
}

.field-label {
  font-weight: bold;
  margin-bottom: 0.6rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  cursor: pointer;
  font-size: 1rem;
}

input[type="text"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 1rem;
  font-family: inherit;
  margin-top: 0.4rem;
  color: inherit;
  background: #fff;
}

input[type="text"] {
  text-align: center;
  font-size: 1.8rem;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}

textarea {
  resize: vertical;
}

button {
  width: 100%;
  padding: 0.8rem;
  background: #2c2c2c;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
  transition: background 0.15s;
}

button:hover {
  background: #444;
}

.error {
  color: #c0392b;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.hint {
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.quadrate-teaser {
  text-align: center;
  margin: 1.5rem 0 1rem;
  color: #bbb;
}

.quadrate-icon {
  width: 280px;
  height: auto;
  display: block;
  margin: 0 auto 0.5rem;
  fill: currentColor;
}

.teaser-text {
  font-size: 0.9rem;
  margin: 0;
  color: #bbb;
}
