/* The buyer inquiry box (card 272, components/InquiryBox.jsx), linked by the box itself, so only a page that
   draws it loads this file. Fields match the site's other forms (globals.css form.stack): a var(--edge) border that
   reads against the well, square corners, 16px text (so a phone does not zoom on focus) and the purple focus
   ring. The section is a formband: the rule above it, its own band spacing. */
.inq-box {
  max-width: 720px;
}
/* The same size and weight as a .prose h2 (globals.css h2) on both pages, whatever the page's own rules. */
.inq-box > h2 {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
/* The page's last band: the same bottom space as the media kit's last section (.ad-after). The second
   selector outranks advertise.css's 40px between-sections rule (.advertise-page > section.band:not(.prose)). */
.advertise-page > .inq-box,
.method-page > .inq-box,
.advertise-page > section.band.inq-box:not(.prose) {
  padding-bottom: 64px;
}
@media (max-width: 680px) {
  .advertise-page > .inq-box,
  .method-page > .inq-box,
  .advertise-page > section.band.inq-box:not(.prose) {
    padding-bottom: 48px;
  }
}
.inq-form {
  display: grid;
  gap: 14px;
  max-width: 40rem;
}
.inq-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}
.inq-form input[type='email'],
.inq-form input[type='text'],
.inq-form select,
.inq-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--well);
  color: var(--slate-lt);
  border: 1px solid var(--edge);
  border-radius: 0;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px;
}
/* The site chevron, not the browser's own, like the other selects (globals.css form.stack select). */
.inq-form select {
  padding-right: 34px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--well) url('/icons/chevron-down.svg') right 12px center / 12px 12px no-repeat;
  cursor: pointer;
}
.inq-form input:focus-visible,
.inq-form select:focus-visible,
.inq-form textarea:focus-visible {
  border-color: var(--acc);
  outline: 2px solid var(--acc);
  outline-offset: 1px;
}
/* Only after the person has touched a field, never on a fresh form. */
.inq-form :user-invalid {
  border-color: var(--red);
}
.inq-form textarea {
  min-height: 7rem;
  resize: vertical;
}
.inq-box a {
  color: var(--acc);
}
.inq-box a:not(.btn) {
  text-decoration-color: color-mix(in srgb, var(--acc) 50%, transparent);
}
.inq-box a:hover {
  color: var(--acc-lt);
}
.inq-lead {
  margin: 0 0 16px;
}
.inq-hint {
  color: var(--slate);
  font-size: 0.9rem;
  margin: 12px 0 0;
}
@media (max-width: 680px) {
  .inq-hint a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
