.fn-funnel {
  --fn-border: #353535;
  max-width: 900px;
  margin: 3rem auto 0;
  padding: clamp(1.2rem, 4vw, 2.5rem);
  border: 1px solid var(--fn-border);
  border-radius: 1.5rem;
  background: #101010;
  box-shadow: 0 30px 90px rgb(0 0 0 / 38%);
}
.fn-funnel__header { margin-bottom: 2rem; }
.fn-funnel__eyebrow { margin-bottom: .3rem; color: #fff; font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.fn-funnel__progress { margin-bottom: .75rem; color: #aaa; font-size: .88rem; }
.fn-funnel__bar { height: 3px; overflow: hidden; background: #292929; border-radius: 999px; }
.fn-funnel__bar span { display: block; width: 25%; height: 100%; background: #fff; border-radius: inherit; transition: width 200ms ease; }
.fn-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.fn-step[hidden] { display: none; }
.fn-step legend { max-width: 760px; margin-bottom: .7rem; padding: 0; color: #fff; font-size: clamp(1.65rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.12; letter-spacing: -.035em; }
.fn-step__help { margin-bottom: 1.7rem; }
.fn-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.fn-option { position: relative; cursor: pointer; }
.fn-option input { position: absolute; opacity: 0; pointer-events: none; }
.fn-option span {
  min-height: 68px; display: flex; align-items: center; padding: 1rem 1.1rem;
  border: 1px solid var(--fn-border); border-radius: .9rem; color: #ddd; background: #171717;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}
.fn-option:hover span { border-color: #777; transform: translateY(-1px); }
.fn-option input:checked + span { color: #000; background: #fff; border-color: #fff; font-weight: 700; }
.fn-option input:focus-visible + span { outline: 3px solid #fff; outline-offset: 3px; }
.fn-actions { display: flex; justify-content: space-between; gap: .75rem; margin-top: 2rem; }
.fn-actions--end { justify-content: flex-end; }
.fn-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.fn-fields label { display: grid; gap: .4rem; color: #eee; font-size: .9rem; font-weight: 650; }
.fn-field--wide { grid-column: 1 / -1; }
.fn-fields input {
  width: 100%; min-height: 52px; padding: .75rem .9rem; border: 1px solid var(--fn-border);
  border-radius: .75rem; color: #fff; background: #080808; font: inherit;
}
.fn-fields input:focus { border-color: #fff; }
.fn-consent { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; margin-top: 1.25rem; color: #c8c8c8; font-size: .88rem; line-height: 1.5; }
.fn-consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: #fff; }
.fn-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.fn-status { min-height: 1.5em; margin: 1rem 0 0; color: #f3d991; }
.fn-result { padding: clamp(1rem, 4vw, 2.5rem); text-align: center; }
.fn-result:focus { outline: none; }
.fn-result__kicker { color: #fff; font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.fn-result h2 { margin-bottom: 1rem; font-size: clamp(2rem, 5vw, 3.4rem); }
.fn-result > p:not(.fn-result__kicker) { max-width: 670px; margin-inline: auto; }
.fn-result__intro { font-size: 1.08rem; line-height: 1.65; }
.fn-result__details { max-width: 720px; margin: 2.5rem auto 0; text-align: left; }
.fn-result__details h3 { margin: 2.25rem 0 1rem; font-size: 1.25rem; }
.fn-result__insights { display: grid; gap: 0; margin: 0; }
.fn-result__insights dt { padding: 1.15rem 0 .35rem; border-top: 1px solid var(--fn-border); color: #fff; font-weight: 750; }
.fn-result__insights dd { margin: 0; padding: 0 0 1.15rem; color: #b8b8b8; line-height: 1.6; }
.fn-result__details > p { line-height: 1.65; }
.fn-result__recommendations { display: grid; gap: .85rem; margin: 0; padding-left: 1.4rem; color: #d4d4d4; }
.fn-result__recommendations li { padding-left: .35rem; line-height: 1.55; }
.fn-result__note { color: #8e8e8e; font-size: .86rem; }
.fn-result .button { margin-top: 1rem; }
.fn-funnel button[disabled] { cursor: wait; opacity: .6; }
@media (max-width: 650px) {
  .fn-options, .fn-fields { grid-template-columns: 1fr; }
  .fn-field--wide { grid-column: auto; }
  .fn-actions { align-items: stretch; flex-direction: column-reverse; }
  .fn-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .fn-funnel__bar span, .fn-option span { transition: none; }
}


.analysis-form-panel .fn-funnel { max-width: none; margin-top: 2rem; }
