/* forms.css — get-started / contact / partner-apply modal + inline form styles */
.linklike {
  background: none; border: 0; padding: 0;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-modal {
  position: fixed; inset: 0;
  display: none;
  place-items: center;
  z-index: 300;
  padding: 1.25rem;
}
.form-modal.is-open { display: grid; }
.form-modal__backdrop {
  position: absolute; inset: 0;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(6px);
}
.form-modal__panel {
  position: relative;
  width: min(480px, 100%);
  max-height: 90svh;
  overflow-y: auto;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  padding: clamp(1.5rem, 4vw, 2.2rem);
  display: grid;
  gap: 1rem;
}
.form-modal__close {
  position: absolute;
  top: .9rem; right: .9rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: grid; place-items: center;
}
.form-modal__close:hover { color: var(--ink); border-color: var(--accent); }

.form-field { display: grid; gap: .35rem; }
.form-field label { font-size: .82rem; color: var(--muted); }
.form-field input, .form-field textarea {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: .7rem .9rem;
  color: var(--ink);
  font-size: .95rem;
  width: 100%;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); }
.form-field textarea { min-height: 96px; resize: vertical; }

/* honeypot: visually gone, still in DOM for bots */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error { color: var(--miss); font-size: .85rem; min-height: 1.2em; }
.form-success { display: grid; gap: .8rem; text-align: center; padding: 1.5rem 0; }
.form-success .t-h3 { color: var(--good); }
