/* Contact section added to the static landing. Colours come from the app's own tokens. */
.contact {
  border-top: 1px solid var(--border);
  background: color-mix(in oklch, var(--muted) 30%, transparent);
  scroll-margin-top: 4rem;
}
.contact-inner {
  max-width: 40rem;
  margin: 0 auto;
  padding: 5rem 1.25rem;
}
.contact-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  text-align: center;
}
.contact-title {
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--foreground);
}
.contact-subtitle {
  margin-top: 0.75rem;
  text-align: center;
  color: var(--muted-foreground);
}
.contact-form {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}
.contact-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 640px) {
  .contact-row { grid-template-columns: 1fr; }
  .contact-inner { padding: 3.5rem 1rem; }
  .contact-form { padding: 1.25rem; }
}
.contact-form label {
  display: grid;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-weight: 400;
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.625rem 0.75rem;
  outline: none;
}
.contact-form textarea { resize: vertical; min-height: 7rem; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--ring) 35%, transparent);
}
.contact-submit {
  justify-self: start;
  font: inherit;
  font-weight: 500;
  color: var(--primary-foreground);
  background: var(--primary);
  border: 0;
  border-radius: var(--radius);
  padding: 0.7rem 1.4rem;
  cursor: pointer;
}
.contact-submit:disabled { opacity: 0.6; cursor: default; }
.contact-status { font-size: 0.875rem; min-height: 1.25rem; }
.contact-status.ok { color: oklch(52% 0.13 155); }
.contact-status.err { color: var(--destructive); }
.contact-status a { text-decoration: underline; }
