/* Quote form. White, big type, visible fields, hairlines, one black button. */
.quote [hidden] { display: none; }

/* What the URL carries, under the h1: the model and the home as hairline rows, label over value on a phone and beside
   it from 768px. quote.js fills and shows them; a page with nothing carried has none (card #162). */
.quote-rows { margin: 20px 0 0; border-bottom: 1px solid var(--line); }
.quote-row { padding: 12px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.quote-row dt { color: var(--muted); font-size: 15px; }
.quote-row dd { margin: 2px 0 0; }

.quote-action { margin-top: 32px; }
.quote-say { font-size: 24px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.quote-mail { margin-top: 8px; }
/* The one action: the visitor's own mail app, everything already written. Full width under the thumb on a phone. */
.quote-send { width: 100%; text-align: center; }
/* For a visitor with no mail app: the address as plain text to copy, not a second link to the same app. */
.quote-address { margin-top: 12px; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.quote-address-mail { color: var(--ink); -webkit-user-select: all; user-select: all; }
.quote-mail a, .quote-fail a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; overflow-wrap: anywhere; }

.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.field label .muted { font-weight: 400; }
.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #86868b;
  border-radius: 6px;
  background: var(--paper);
  font-size: 17px;
}
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error, .quote-fail { color: #b3261e; font-size: 15px; }
.field-error { margin-top: 6px; }

/* The honeypot: out of sight for people, still a normal field for bots. */
.quote-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.cf-turnstile { margin-bottom: 16px; max-width: 100%; }

.quote-form button {
  width: 100%;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.quote-form button:disabled { opacity: 0.6; cursor: default; }

/* quote.js scrolls this into view; the margin keeps it off the screen's very edge. */
.quote-fail { margin-top: 12px; scroll-margin: 16px; }
.quote-fail-retrying { visibility: hidden; }
.quote-privacy { margin-top: 16px; font-size: 14px; }
.quote-done:focus { outline: none; }

@media (min-width: 768px) {
  .wrap.quote { margin: 0 auto; max-width: 980px; }
  .quote-rows, .quote-action { max-width: 560px; }
  .quote-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: baseline; }
  .quote-row dd { margin: 0; }
  .quote-send { width: auto; min-width: 280px; }
  .quote-form button { width: 280px; min-height: 48px; font-size: 17px; }
}
