/* ------------------------------------------------------------------
   page-vendor-forms.css — /get-listed/ and /claim/.
   Both pages sit on the guide shell (.wrap > .article-head > .article-grid
   with .prose and a .rail), so type and column widths come from aurora.css.
   This file only dresses the form card, its fields and the rail search.
   Fields follow the unsubscribe page: --field / --field-border tokens,
   sans 12.5px muted labels, 52px controls.
   ------------------------------------------------------------------ */

.vf-card { border-radius: 22px; padding: 28px; margin: 28px 0 8px; }
.vf-card h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: -0.01em;
  line-height: 1.2; margin: 0 0 6px; color: var(--ink); }
.vf-card > p { font-family: var(--sans); font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0 0 20px; }

.vf-form { display: flex; flex-direction: column; gap: 18px; }
.vf-form[hidden], .vf-fld[hidden], .vf-done[hidden] { display: none; }
.vf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vf-fld { display: flex; flex-direction: column; gap: 8px; }
.vf-fld label, .vf-label { font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.vf-fld .req { color: var(--accent-text); }
.vf-ship { border: 0; margin: 0; padding: 0; min-width: 0; }
.vf-ship legend { padding: 0; margin-bottom: 8px; font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.vf-hint { font-family: var(--sans); font-size: 12.5px; line-height: 1.5; color: var(--faint); margin: 0; }
.vf-ship > .vf-row { margin-top: 10px; }
.vf-row--one { grid-template-columns: 1fr; }
/* Small pill after a label: green for Recommended, gray for Optional. */
.vf-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 99px; vertical-align: 1px;
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
  color: var(--muted); background: color-mix(in oklch, var(--muted) 14%, transparent); }
.vf-tag--rec { color: var(--good); background: var(--good-bg); }
/* Optional extras that sit below the submit button. */
.vf-extra { padding-top: 18px; border-top: 1px solid var(--field-border, rgba(0,0,0,.08)); }
.vf-check { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer;
  font-family: var(--sans); font-size: 14px; color: var(--ink); }
.vf-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex: 0 0 auto; }

.vf-fld input, .vf-fld select, .vf-search input {
  width: 100%; height: 52px; min-height: 52px; padding: 0 18px; box-sizing: border-box;
  border-radius: 14px; font-size: 15px; font-family: var(--sans);
  background: var(--field); border: 1px solid var(--field-border); color: var(--ink);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.vf-fld select { appearance: auto; padding-right: 12px; }
.vf-fld input::placeholder, .vf-search input::placeholder { color: var(--muted); }
.vf-fld input:focus, .vf-fld select:focus, .vf-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 18%, transparent);
}
.vf-code { letter-spacing: .4em; text-align: center; font-size: 22px !important; font-weight: 600; font-variant-numeric: tabular-nums; }

.vf-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.vf-actions .btn { height: 52px; padding: 0 26px; justify-content: center; }
.vf-actions .btn[disabled] { opacity: .7; cursor: default; transform: none; }
.vf-actions .vf-hint { color: var(--muted); }
.vf-linkbtn { background: none; border: 0; padding: 0; font: 600 13px var(--sans); color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.vf-msg { margin: 18px 0 0; padding: 12px 16px; border-radius: 14px; font-family: var(--sans);
  font-size: 14px; line-height: 1.55; }
.vf-msg[hidden] { display: none; }
.vf-msg--err { background: color-mix(in oklch, var(--warn) 10%, transparent); color: var(--warn); }
.vf-msg--ok { background: var(--good-bg); color: var(--ink); }
.vf-msg a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

.vf-done { text-align: center; padding: 8px 0; }
.vf-done .tick { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center; background: var(--good-bg); color: var(--good); }
.vf-done .tick svg { width: 24px; height: 24px; }
.vf-done h3 { outline: none; }
.vf-done p { font-family: var(--serif); font-size: 17px; line-height: 1.6; color: var(--ink); margin: 6px auto 0; max-width: 30em; }

/* Honeypot: off-screen, not display:none (some bots skip hidden fields). */
.vf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Rail: "Already listed?" search, same shell as .rail-signup. */
.vf-rail { padding: 22px; }
.vf-rail h4 { font-family: var(--serif); font-size: 18px; font-weight: 500; margin: 0 0 4px; letter-spacing: -0.01em; }
.vf-rail p { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0 0 14px; font-family: var(--sans); }
.vf-rail p a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.vf-search input { height: 46px; min-height: 46px; border-radius: 99px; }
.vf-results { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.vf-results:empty { display: none; }
.vf-results a { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; min-height: 44px;
  justify-content: center; border-radius: 14px; border: 1px solid var(--hairline); text-decoration: none;
  font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink); background: var(--field); }
.vf-results a:hover, .vf-results a:focus-visible { border-color: var(--accent); }
.vf-results small { font-weight: 500; font-size: 12px; color: var(--muted); }

@media (max-width: 600px) {
  .vf-card { padding: 22px 18px; }
  .vf-row { grid-template-columns: 1fr; }
  .vf-actions .btn { width: 100%; }
}

/* No drop cap: the site-wide article opener (page-dispatch.css) reads oddly
   above a form. */
.article-grid > .prose.vf-prose > p:first-of-type::first-letter {
  font-size: inherit; float: none; line-height: inherit; padding: 0; margin: 0;
  font-family: inherit; font-weight: inherit; color: inherit;
}

/* The claim page's success heading is an h2 (heading order); size it like the card h3. */
.prose .vf-done h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: -0.01em;
  line-height: 1.2; margin: 0 0 6px; padding: 0; border: 0; }

.prose > p.vf-jump { font-family: var(--sans); font-size: 14.5px; color: var(--muted); margin: 0 0 8px; }
.vf-jump a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.vf-rail:target { box-shadow: 0 0 0 2px var(--accent); }
