/* Entry form styles. Each landing page sets --navy, --red, --ink, --line, --paper, --head. */
.ef, .ef-thanks { font-size: 16px; color: var(--ink); }
.ef-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.ef-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--head); text-transform: uppercase; letter-spacing: .04em; font-size: 15px; color: #8a909a; }
.ef-steps li { display: flex; align-items: center; gap: 6px; }
.ef-steps li span { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid currentColor; font-size: 12px; }
.ef-steps li.on { color: var(--navy); font-weight: 700; }
.ef-steps li.on span { background: var(--navy); border-color: var(--navy); color: #fff; }
.ef-steps li.done { color: var(--red); }
.ef-demo { background: none; border: 1px dashed #9aa1ab; color: #5b6270; font: inherit; font-size: 12px; padding: 4px 8px; cursor: pointer; }
.ef fieldset { border: 0; padding: 0; margin: 0; }
.ef legend { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 30px; line-height: 1; color: var(--navy); margin-bottom: 18px; padding: 0; }
.ef label, .ef-field { display: block; margin-bottom: 16px; font-weight: 600; font-size: 14px; }
.ef label em { font-weight: 400; font-style: normal; color: #6b7280; }
.ef-lbl { display: block; margin-bottom: 6px; }
.ef input:not([type=radio]):not([type=checkbox]):not([type=file]), .ef select, .ef textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid #c3c8d0; border-radius: 2px; box-sizing: border-box; }
.ef input:focus, .ef select:focus, .ef textarea:focus, .ef-drop:focus, .ef-waiver:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.ef-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.ef-radios { display: flex; gap: 24px; flex-wrap: wrap; }
.ef-radios label { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 16px; margin: 0; }
.ef-radios input, .ef-check input { width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.ef-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 15px !important; line-height: 1.45; }
.ef-check input { margin-top: 2px; }
.ef .bad input, .ef .bad select, .ef input.bad, .ef select.bad { border-color: var(--red); background: #fff6f7; }
.ef .ef-check.bad, .ef-field.bad .ef-lbl { color: var(--red); }
.ef-drop { position: relative; border: 2px dashed #b6bcc6; background: #fafbfc; padding: 28px 20px; text-align: center; display: grid; gap: 4px; margin-bottom: 12px; cursor: pointer; }
.ef-drop.over { border-color: var(--red); background: #fff6f7; }
.ef-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ef-drop strong { font-family: var(--head); text-transform: uppercase; font-size: 22px; color: var(--navy); }
.ef-drop span { font-size: 14px; color: #5b6270; }
.ef-files { display: grid; gap: 8px; margin-bottom: 16px; }
.ef-file { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); padding: 8px; font-size: 14px; background: #fff; }
.ef-file img { width: 120px; aspect-ratio: 48/14; object-fit: cover; display: block; }
.ef-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ef-pdf { display: grid !important; place-items: center; height: 35px; background: var(--navy); color: #fff; font-weight: 700; }
.ef-file button { background: none; border: 0; color: var(--red); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; }
.ef-note { margin: -6px 0 18px; color: #4b5260; line-height: 1.5; }
.ef-waiver { max-height: 150px; overflow: auto; border: 1px solid #c3c8d0; background: #f6f7f9; padding: 14px 16px; margin-bottom: 18px; font-size: 14px; line-height: 1.5; }
.ef-waiver p { margin: 8px 0 0; color: #4b5260; }
.ef-sig { font-family: 'Caveat Brush', cursive !important; font-size: 24px !important; padding: 6px 12px !important; }
.ef-err { color: var(--red); font-weight: 600; margin: 4px 0 12px; }
.ef-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 20px; }
.ef-next, .ef-again { margin-left: auto; background: var(--red); color: #fff; border: 0; border-radius: 2px; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 20px; padding: 14px 28px; cursor: pointer; }
.ef-next:hover, .ef-again:hover { background: #820223; }
.ef-back { background: none; border: 1px solid #9aa1ab; color: var(--ink); font-family: var(--head); text-transform: uppercase; font-size: 18px; padding: 12px 22px; cursor: pointer; border-radius: 2px; }
.ef-thanks:focus { outline: none; }
.ef-kicker { font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--red); font-weight: 700; margin: 0 0 6px; }
.ef-thanks h3 { font-family: var(--head); text-transform: uppercase; font-size: 44px; line-height: 1; color: var(--navy); margin: 0 0 14px; }
.ef-thanks > p { line-height: 1.55; margin: 0 0 20px; }
.ef-next-list { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: n; border-top: 1px solid var(--line); }
.ef-next-list li { counter-increment: n; border-bottom: 1px solid var(--line); padding: 14px 0 14px 44px; position: relative; line-height: 1.5; }
.ef-next-list li::before { content: counter(n); position: absolute; left: 0; top: 12px; font-family: var(--head); font-weight: 700; font-size: 26px; color: var(--red); }
.ef-thanks-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.ef-thanks-actions .ef-again { margin-left: 0; }
.ef-home { color: var(--navy); font-weight: 600; }
@media (max-width: 640px) {
  .ef-row { grid-template-columns: 1fr; }
  .ef-steps { gap: 10px; font-size: 13px; }
  .ef-steps li:not(.on) { font-size: 0; gap: 0; }
  .ef-steps li:not(.on) span { font-size: 12px; }
  .ef legend { font-size: 26px; }
  .ef-file { grid-template-columns: 90px 1fr; }
  .ef-file img { width: 90px; }
  .ef-file button { grid-column: 2; justify-self: start; padding: 0; }
  .ef-next { flex: 1; }
  .ef-thanks h3 { font-size: 36px; }
}
