/* Lead capture form.

   Shared by the homepage contact section and /contact so the two forms cannot
   drift apart. Both pages define the same tokens (--brand, --surface, --line,
   the shadows), so this renders identically from either stylesheet.

   The behaviour lives in scripts/lead-form.js. Do not copy either file. */

.waitlist-card { background: var(--surface); border-radius: 16px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5); }
.waitlist-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
@media (max-width: 480px) { .waitlist-form { grid-template-columns: 1fr; } }
.waitlist-form .full { grid-column: 1 / -1; }
.waitlist-form label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.waitlist-form input, .waitlist-form textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg);
  color: var(--ink); font-family: var(--sans); font-weight: 500; font-size: 17px; outline: none;
  transition: border-color 140ms var(--ease-out), box-shadow 140ms var(--ease-out), background 140ms var(--ease-out);
}
.waitlist-form input::placeholder, .waitlist-form textarea::placeholder { color: var(--ink-faint); font-weight: 400; font-style: normal; letter-spacing: 0; }
.waitlist-form input:focus, .waitlist-form textarea:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(14,124,102,0.12); }
.waitlist-form textarea { min-height: 72px; resize: vertical; }
@media (max-width: 480px) { .waitlist-form textarea { min-height: 92px; } }
.waitlist-form button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 0;
  background: var(--brand); color: #fff; font-family: inherit; font-weight: 700; font-size: 17px;
  cursor: pointer; transition: background 140ms var(--ease-out), transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.waitlist-form button:hover { background: var(--brand-deep); box-shadow: var(--shadow-md); }
.waitlist-form button:active { transform: scale(0.985); }
.waitlist-form button:disabled { opacity: 0.6; cursor: progress; }
/* Optional fields fold away behind one disclosure: the headline promises
   "send your number", so at rest the form asks only for what the server
   requires (name, phone, email). City, shop and message live inside. */
.wl-more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  font-size: var(--fs-small); font-weight: 600; color: var(--brand-deep); padding: 4px 0; }
.wl-more summary::-webkit-details-marker { display: none; }
.wl-more summary::before { content: ''; width: 7px; height: 7px; margin: 0 4px 2px 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); transition: transform 140ms var(--ease-out); }
.wl-more[open] summary::before { transform: rotate(45deg); margin-bottom: 4px; }
.wl-more summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.wl-more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 480px) { .wl-more-grid { grid-template-columns: 1fr; } }
.wl-more-grid .full { grid-column: 1 / -1; }
.form-message { grid-column: 1 / -1; font-size: 15px; min-height: 0; }
.form-message.error { color: #C93C3C; }
.form-message.success { color: var(--brand-deep); font-weight: 600; }
.form-foot { grid-column: 1 / -1; font-size: 13px; color: var(--ink-faint); margin: 4px 0 0; }
.form-foot a { color: var(--ink-soft); text-decoration: underline; }
