/* Supporting contact route. The shared palette, typography, header, buttons,
   and footer live in styles.css; this sheet only owns the page composition. */

.contact-main {
  padding-top: 79px;
}

.contact-hero {
  padding: clamp(68px, 9vw, 118px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid #cdddea;
  background: linear-gradient(135deg, var(--blue-soft) 0%, #f7fbff 62%, var(--teal-soft) 100%);
}

.contact-hero > div,
.contact-shell > div {
  width: min(900px, 100%);
  margin-inline: auto;
}

.contact-hero h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6vw, 5.7rem);
}

.contact-hero .blend-lede {
  max-width: 760px;
  margin-bottom: 14px;
}

.contact-hero .blend-note {
  max-width: 760px;
}

.contact-hero a,
.contact-alt a {
  color: var(--blue-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-shell {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.contact-card {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 10px 10px 0 rgba(79, 163, 216, .12);
  padding: clamp(24px, 4vw, 40px);
}

.contact-card > h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-card > p {
  max-width: 680px;
  margin-bottom: 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contact-field.full {
  grid-column: 1 / -1;
}

.contact-field label,
.contact-field .group-label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: .93rem;
  font-weight: 820;
  line-height: 1.38;
}

.contact-field input:not([type="checkbox"]),
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  border: 1px solid #aebfd0;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
  padding: 11px 12px;
}

.contact-field textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-field input:not([type="checkbox"]):focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(37, 99, 235, .16);
  outline-offset: 1px;
}

.contact-help {
  margin: -2px 0 9px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
}

.contact-safety {
  display: block;
  margin-top: 4px;
  border-left: 4px solid var(--teal-deep);
  background: var(--teal-soft);
  padding: 18px;
}

.contact-safety label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  color: #385673;
  font-size: .9rem;
  font-weight: 680;
}

.contact-safety input {
  box-sizing: border-box;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--blue);
}

.contact-verification {
  margin-top: 22px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
}

.contact-actions .button {
  cursor: pointer;
}

.contact-actions .button:disabled {
  cursor: wait;
  opacity: .62;
}

.contact-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}

.contact-status[data-state="error"] {
  color: #9f2d2d;
}

.contact-success {
  border: 1px solid var(--teal-deep);
  background: var(--teal-soft);
  padding: clamp(26px, 5vw, 42px);
}

.contact-success:focus {
  outline: 3px solid rgba(75, 163, 160, .28);
  outline-offset: 3px;
}

.contact-success h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.contact-success p:last-child {
  margin-bottom: 0;
}

.contact-alt {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.contact-alt p {
  margin-bottom: 0;
}

.contact-alt strong {
  color: var(--ink);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
}

@media (max-width: 720px) {
  .contact-hero {
    padding-top: 56px;
    padding-bottom: 60px;
  }

  .contact-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-field.full {
    grid-column: auto;
  }

  .contact-actions {
    align-items: stretch;
  }

  .contact-actions .button {
    width: 100%;
  }
}
