* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #f5f5f5;
  margin: 0;
  padding: 2rem;
  color: #333;
}

.form-container {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

h1 {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
}

p.subtitle {
  margin: 0 0 1.5rem;
  color: #666;
  font-size: 0.9rem;
}

.field {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

button {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

button:hover {
  background: #1d4ed8;
}

@media (max-width: 480px) {
  .row {
    grid-template-columns: 1fr;
  }
}

.page-nav {
  max-width: 480px;
  margin: 0 auto 1rem;
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
}

.page-nav a {
  color: #2563eb;
  text-decoration: none;
}

.page-nav a[aria-current="page"] {
  font-weight: 600;
  text-decoration: underline;
}

.form-iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: none;
}
