/* This form belongs to the Wyoming site. Its header, type, palette, privacy
   controls and footer come from the existing shared layout. Scope all rules. */
.wyoming-request { max-width: 1040px; margin: 0 auto; padding: 36px clamp(18px, 4vw, 40px) 48px; scroll-margin-top: 110px; }
#wy-intake { color: var(--ink); font: inherit; }
#wy-intake * { box-sizing: border-box; }
#wy-intake [hidden] { display: none !important; }
#wy-intake .wy-content { max-width: 820px; margin: 0 auto; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
#wy-intake .wy-eyebrow { color: var(--muted); font-size: .8125rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin: 0 0 20px; }
#wy-intake .wy-steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; color: var(--muted); font-size: .875rem; }
#wy-intake .wy-steps li { display: grid; grid-template-rows: 26px 1fr; gap: 8px; border-bottom: 3px solid var(--line); padding-bottom: 12px; }
#wy-intake .wy-step-number { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-weight: 700; }
#wy-intake .wy-steps [aria-current="step"] { color: var(--navy); border-color: var(--gold); font-weight: 800; }
#wy-intake .wy-steps [aria-current="step"] .wy-step-number { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.site-presentation #main-content #wy-intake h1, .site-presentation #main-content #wy-intake h2 { color: var(--ink); font-family: inherit; font-size: clamp(28px, 3vw, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; margin: 0 0 14px; scroll-margin-top: 120px; }
.site-presentation #main-content #wy-intake h3 { font-family: inherit; font-size: 20px; font-weight: 750; line-height: 1.3; margin: 0 0 10px; }
#wy-intake p { margin: 0 0 18px; }
#wy-intake .wy-lead { color: var(--muted); max-width: 65ch; }
#wy-intake .wy-small { color: var(--muted); font-size: .875rem; line-height: 1.5; }
#wy-intake .wy-label { display: block; font-weight: 700; margin-bottom: 8px; }
#wy-intake input:not([type="checkbox"]), #wy-intake textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid #a7b7c5; border-radius: 8px; padding: 12px; width: 100%; min-width: 0; }
#wy-intake input::placeholder, #wy-intake textarea::placeholder { color: var(--muted); opacity: 1; }
#wy-intake textarea { min-height: 108px; resize: vertical; }
#wy-intake .wy-field { margin-bottom: 22px; }
#wy-intake .wy-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
#wy-intake #search-help { margin: 8px 0 0; }
#wy-intake button { font: inherit; font-weight: 700; cursor: pointer; min-height: 48px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); background: var(--white); }
#wy-intake button.wy-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
#wy-intake button.wy-primary:hover { filter: brightness(.96); }
#wy-intake button.wy-link { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--navy); text-decoration: underline; text-underline-offset: .2em; text-align: left; }
#wy-intake :is(a, button, input, textarea, summary):focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
#wy-intake h1:focus, #wy-intake h2:focus { outline: none; }
#wy-intake button:disabled { opacity: .65; cursor: wait; }
#wy-intake .wy-result { margin: 22px 0; padding: 22px; border: 1px solid var(--line); border-radius: 10px; overflow-wrap: anywhere; }
#wy-intake .wy-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
#wy-intake .wy-facts dt { color: var(--muted); font-size: .8125rem; }
#wy-intake .wy-facts dd { margin: 4px 0 0; font-size: .875rem; }
#wy-intake .wy-banner { padding: 14px 16px; background: var(--paper); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; font-size: .9375rem; margin-bottom: 24px; overflow-wrap: anywhere; }
#wy-intake .wy-choice { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 8px; margin: 12px 0; cursor: pointer; }
#wy-intake .wy-choice:has(input:checked) { border-color: var(--navy); background: var(--paper); }
#wy-intake .wy-choice input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--navy); margin: 3px 0 0; }
#wy-intake .wy-choice span { display: block; }
#wy-intake .wy-choice strong { font-weight: 750; }
#wy-intake .wy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
#wy-intake .wy-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
#wy-intake .wy-review { padding: 20px; border: 1px solid var(--line); border-radius: 8px; margin: 14px 0; overflow-wrap: anywhere; }
#wy-intake .wy-review-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
#wy-intake .wy-review-title h3 { margin: 0; min-width: 0; }
#wy-intake .wy-review-title button { flex: 0 0 auto; white-space: nowrap; }
#wy-intake .wy-review p { margin: 8px 0 0; white-space: pre-wrap; }
#wy-intake summary { cursor: pointer; font-weight: 700; }
#wy-intake .wy-error { color: #a13131; font-size: .9375rem; margin: 12px 0; }
#wy-intake [data-search-status] { overflow-wrap: anywhere; margin: 12px 0; }
#wy-intake [data-search-status]:empty, #wy-intake [data-announce]:empty { display: none; }
#wy-intake [data-manual-fields] .wy-field input + .wy-label { margin-top: 18px; }
.wyoming-request noscript p { max-width: 65ch; padding: 20px; margin: 16px auto 0; background: var(--white); border: 1px solid var(--line); }
@media (max-width: 600px) {
  .wyoming-request { padding: 20px 14px 32px; scroll-margin-top: 130px; }
  #wy-intake .wy-content { padding: 22px 18px; }
  #wy-intake .wy-eyebrow { font-size: .75rem; margin-bottom: 18px; }
  #wy-intake .wy-steps { font-size: .75rem; gap: 6px; margin-bottom: 24px; }
  #wy-intake .wy-steps li { line-height: 1.4; }
  #wy-intake .wy-search, #wy-intake .wy-grid, #wy-intake .wy-facts { grid-template-columns: 1fr; }
  #wy-intake .wy-grid { gap: 0; }
  #wy-intake .wy-facts { gap: 10px; }
  #wy-intake .wy-review, #wy-intake .wy-result { padding: 16px; }
  #wy-intake .wy-actions { align-items: stretch; }
  #wy-intake .wy-actions .wy-primary { flex: 1; }
  .site-presentation #main-content #wy-intake :is(h1, h2) { scroll-margin-top: 140px; }
}
