/* GENERATED FILE - do not edit. Source: src/styles/. Rebuild: npm run build */
/* Contact page - form card and success state. Shares all tokens with site.css. */

.contact { padding: 16px 0 112px; }

.contact-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
}

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.field input,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 13px 16px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.field input.invalid,
.field textarea.invalid { border-color: #dc2626; }

/* Honeypot - moved out of view, not display:none, so bots still fill it */
.field.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.form-status { margin: 0; font-size: 14px; color: var(--muted); }
.form-status.error { color: #dc2626; }

.contact-success { text-align: center; padding: 24px 0; }
.success-mark {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.success-mark svg { width: 26px; height: 26px; }
.contact-success h2 {
  font-size: 28px; font-weight: 800; letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.contact-success p { margin: 0; color: var(--ink-2); }

.contact-alt {
  text-align: center;
  margin: 28px 0 0;
  font-size: 15px;
  color: var(--muted);
}
.contact-alt a { color: var(--blue); font-weight: 600; }
.contact-alt a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .contact-card { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
