/* The registration form in the hero of the Supplier Finder industry pages. */
.hero.hero-with-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:64px;padding-bottom:36px}
.hero-with-form .hero-copy{padding-top:14px}
.hero-with-form .hero-copy>.text-link{display:inline-block;margin-top:22px}

.hero-form{padding:26px 28px 22px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow_md);scroll-margin-top:1.25rem}
.hero-form [hidden]{display:none!important}
.hero-form h2{font-size:1.45rem;line-height:1.2;letter-spacing:-.03em}
.hero-form-lede{margin-top:6px;font-size:.86rem;line-height:1.5;color:var(--body)}
.hero-form form{margin-top:14px}
.hero-form fieldset{border:0;margin:0;padding:0;min-width:0}
.hero-form label{display:block;margin-top:12px;font-size:.8rem;font-weight:600;line-height:1.3;color:var(--ink)}
.hero-form .optional{margin-left:4px;font-weight:400;color:var(--muted)}
.hero-form input,.hero-form select{display:block;width:100%;min-height:44px;margin-top:5px;padding:9px 12px;border:1px solid var(--slate_400);border-radius:6px;background:var(--surface);color:var(--ink);font:inherit;font-size:16px;font-weight:400;line-height:1.3}
.hero-form select{padding-right:32px;text-overflow:ellipsis}
.hero-form input::placeholder{color:var(--muted);opacity:1}
.hero-form input:focus-visible,.hero-form select:focus-visible{outline:3px solid var(--focus);outline-offset:1px}
.hero-form fieldset:disabled input,.hero-form fieldset:disabled select{background:var(--surface_subtle);color:var(--muted)}
.hero-form-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.hero-form .button{display:flex;justify-content:center;width:100%;margin-top:16px;border:0;cursor:pointer}
.hero-form .button:disabled{opacity:.72;cursor:progress;transform:none}
.hero-form-note{margin-top:10px;font-size:.76rem;line-height:1.45;color:var(--muted);text-align:center}
.hero-form-message{margin-top:12px;padding:10px 12px;border-radius:6px;font-size:.84rem;line-height:1.45}
.hero-form-error{background:var(--danger_surface);color:var(--ink)}
.hero-form-status{background:var(--surface_soft);color:var(--ink)}
.hero-form-refused{background:var(--warning_surface);color:var(--ink)}
.hero-form-refused button{display:block;margin-top:8px;padding:0;border:0;background:none;color:var(--accent_strong);font-weight:650;text-decoration:underline;cursor:pointer}
.hero-form-noscript{margin-top:12px;font-size:.86rem;line-height:1.5}
.hero-form-noscript a{color:var(--accent_strong);font-weight:650}
.hero-form-resume{margin-top:14px;font-size:.92rem;line-height:1.55}
.hero-form-resume .button{display:flex;justify-content:center;width:100%;margin-top:14px}

/* The picture and the buying questions stay on the page, just below the form. */
.hero-support{width:min(1184px,calc(100% - 64px));margin-inline:auto;padding-bottom:52px}
.hero-support .hero-visual{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:64px;max-width:none;align-items:start}
.hero-support .image-wrap,.hero-support .hero-requirement{grid-column:1}
.hero-support .flow-connector{display:none}
.hero-support .hero-decision{grid-column:2;grid-row:1 / span 2}

@media(max-width:1000px){
  .hero.hero-with-form{gap:32px}
  .hero-support{width:calc(100% - 48px)}
  .hero-support .hero-visual{column-gap:32px}
}
@media(max-width:860px){
  .hero.hero-with-form{grid-template-columns:minmax(0,1fr);gap:24px}
  .hero-with-form .hero-copy{padding-top:0}
  .hero-support .hero-visual{grid-template-columns:minmax(0,1fr);row-gap:0}
  .hero-support .hero-decision{grid-column:1;grid-row:auto;margin-top:20px}
}
@media(max-width:720px){
  .hero.hero-with-form{padding-bottom:24px}
  /* The form comes first on a phone. The same demo link sits in the buying questions just below it. */
  .hero-with-form .hero-copy>.text-link{display:none}
  .hero-form{padding:20px 18px 18px}
  .hero-form h2{font-size:1.28rem}
  .hero-support{width:calc(100% - 40px);padding-bottom:36px}
}
@media(max-width:340px){.hero-form-row{grid-template-columns:minmax(0,1fr);gap:0}}

/* The questionnaire arm (ZINT-2251). Its markup exists only on a page with an active experiment, and
   everything below is hidden unless the inline arm script put this browser in the quiz arm, so the
   one-card form and a visitor without JavaScript see the page exactly as before. */
.hero-form [data-quiz-only],.hero-form [data-quiz-nav],.hero-form [data-quiz-choices]{display:none}
html[data-landing-arm="quiz"] .hero-form [data-quiz-step]{display:none}
html[data-landing-arm="quiz"] .hero-form form:not([data-quiz-current]) [data-quiz-step="1"],
html[data-landing-arm="quiz"] .hero-form form[data-quiz-current="1"] [data-quiz-step="1"],
html[data-landing-arm="quiz"] .hero-form form[data-quiz-current="2"] [data-quiz-step="2"],
html[data-landing-arm="quiz"] .hero-form form[data-quiz-current="3"] [data-quiz-step="3"],
html[data-landing-arm="quiz"] .hero-form form[data-quiz-current="4"] [data-quiz-step="4"],
html[data-landing-arm="quiz"] .hero-form form[data-quiz-current="5"] [data-quiz-step="5"]{display:block}
html[data-landing-arm="quiz"] .hero-form form[data-quiz-current="5"] .hero-form-row[data-quiz-step="5"]{display:grid}
html[data-landing-arm="quiz"] .hero-form [data-quiz-select]{display:none}
html[data-landing-arm="quiz"] .hero-form [data-quiz-nav]{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:24px}
html[data-landing-arm="quiz"] .hero-form form:not([data-quiz-current]) [data-quiz-next],
html[data-landing-arm="quiz"] .hero-form form[data-quiz-current="1"] [data-quiz-next]{display:flex}
html[data-landing-arm="quiz"] .hero-form form:not([data-quiz-current="5"]) [data-form-submit],
html[data-landing-arm="quiz"] .hero-form form:not([data-quiz-current="5"]) .hero-form-note{display:none}
html[data-landing-arm="quiz"] .hero-form form[aria-busy="true"] [data-quiz-nav]{visibility:hidden}
.hero-quiz-progress{margin-left:auto;font-size:.76rem;font-weight:600;letter-spacing:.02em;color:var(--muted)}
.hero-quiz-back{padding:0;border:0;background:none;color:var(--accent_strong);font:inherit;font-size:.84rem;font-weight:650;cursor:pointer}
.hero-quiz-back:focus-visible,.hero-quiz-choice:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
html[data-landing-arm="quiz"] .hero-form fieldset>label[data-quiz-step]{font-size:1rem;line-height:1.35}
html[data-landing-arm="quiz"] .hero-form .hero-form-row label,html[data-landing-arm="quiz"] .hero-form fieldset>label[data-quiz-step="5"]{font-size:.8rem}
.hero-quiz-choices{gap:8px;margin-top:10px}
html[data-landing-arm="quiz"] .hero-form .hero-quiz-choices[data-quiz-step]{flex-direction:column}
html[data-landing-arm="quiz"] .hero-form form[data-quiz-current="2"] .hero-quiz-choices[data-quiz-step="2"],
html[data-landing-arm="quiz"] .hero-form form[data-quiz-current="3"] .hero-quiz-choices[data-quiz-step="3"],
html[data-landing-arm="quiz"] .hero-form form[data-quiz-current="4"] .hero-quiz-choices[data-quiz-step="4"]{display:flex}
.hero-quiz-choice{display:block;width:100%;min-height:44px;padding:10px 14px;border:1px solid var(--slate_400);border-radius:6px;background:var(--surface);color:var(--ink);font:inherit;font-size:.92rem;font-weight:500;line-height:1.3;text-align:left;cursor:pointer}
.hero-quiz-choice:hover{border-color:var(--ink)}
.hero-quiz-choice[aria-pressed="true"]{border-color:var(--ink);background:var(--surface_soft);font-weight:650}

/* Food & Beverage on a phone (ZINT-2251, operator 2026-11-12 "Fix now"): the headline, then the form,
   then the rest of the hero copy, so the form's first step clears the cookie notice even on a
   667px-tall phone. Layout only: every word stays, in the same reading order for assistive
   technology, and both arms move together. Other industry pages and wider screens are unchanged. */
@media(max-width:720px){
  body[data-industry="food-beverage"] .hero.hero-with-form{gap:0;padding-top:18px}
  body[data-industry="food-beverage"] .hero-with-form .hero-copy{display:contents}
  body[data-industry="food-beverage"] .hero-with-form #page-title{order:1;font-size:1.62rem;line-height:1.15;max-width:none}
  body[data-industry="food-beverage"] .hero-with-form .hero-form{order:2;margin-top:14px}
  body[data-industry="food-beverage"] .hero-with-form .hero-copy>.eyebrow{order:3;margin:26px 0 12px}
  body[data-industry="food-beverage"] .hero-with-form .hero-copy>.pain-line{order:4;margin-bottom:0}
  body[data-industry="food-beverage"] .hero-with-form .hero-copy>.hero-description{order:5;margin-top:12px}
  body[data-industry="food-beverage"] .hero-with-form .hero-copy>.text-link{order:6}
}
