/* United Trust Life - the one quote form.
   Self-contained ON PURPOSE. Every value here is literal rather than a
   var(), because the four page systems on this site define different
   custom properties: the homepage has --ink/--blue/--line, the article
   pages have --navy/--rule/--muted, and the utlp.css pages have their
   own again. A form styled with var(--blue) renders unstyled on two of
   the four. Nothing below depends on the page it lands in.
   The button is scoped as .utl-qform .utl-qbtn rather than reusing .btn
   for the same reason: .btn is 15px/0 radius on the homepage and
   18px/12px radius on the article pages. */

.utl-qform {
  background: #fff;
  color: #0B1220;
  border-top: 5px solid #BF0A30;
  padding: 28px 26px 26px;
  font-family: 'Libre Franklin', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-align: left;
  box-sizing: border-box;
}
.utl-qform *, .utl-qform *::before, .utl-qform *::after { box-sizing: border-box; }
.utl-qform h3 {
  font-size: 1.35rem; font-weight: 800; margin: 0 0 5px;
  color: #0B1220; letter-spacing: -0.01em; line-height: 1.2; text-transform: none;
}
.utl-qform-sub { font-size: 14px; color: #44506A; margin: 0 0 20px; line-height: 1.5; }
.utl-qform label {
  display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em;
  color: #0B1220; margin: 15px 0 6px; text-transform: uppercase;
}
.utl-qform .utl-qform-opt { font-weight: 400; text-transform: none; letter-spacing: normal; color: #5E6B86; }
.utl-qform input, .utl-qform select {
  width: 100%; padding: 13px 14px; border: 1px solid #C9D3E2; border-radius: 0;
  background: #fff; font-family: inherit; font-size: 16px; color: #0B1220;
  -webkit-appearance: none; appearance: none;
}
.utl-qform input:hover, .utl-qform select:hover { border-color: #5E6B86; }
.utl-qform input:focus, .utl-qform select:focus {
  border-color: #002868; box-shadow: inset 0 0 0 1px #002868; outline: none;
}
.utl-qform select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%235E6B86' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.utl-qform input::placeholder { color: #5E6B86; opacity: 1; }

/* The honeypot. Hidden from people, left reachable for bots. */
.utl-qform .utl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* SMS consent. Carried over from the occupation pages, which had it when
   the homepage did not. Never remove it to make a page match another. */
.utl-qform .sms-optin {
  display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0;
  padding: 12px 14px; border: 1px solid #C9D3E2; border-radius: 8px;
  background: #F1F4F9; font-size: 13px; line-height: 1.5; color: #12407F;
  cursor: pointer; text-transform: none; letter-spacing: normal; font-weight: 400;
}
.utl-qform .sms-optin input[type="checkbox"] {
  margin: 2px 0 0; width: 16px; height: 16px; flex: 0 0 auto;
  accent-color: #BF0A30; padding: 0;
}
.utl-qform .sms-optin a { color: #12407F; text-decoration: underline; }

.utl-qform .utl-qbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: 22px; padding: 15px 26px;
  font-family: inherit; font-size: 15px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  background: #BF0A30; color: #fff; border: none; border-radius: 0;
  cursor: pointer; transition: background 120ms, transform 120ms;
}
.utl-qform .utl-qbtn:hover { background: #9A0826; transform: translateY(-2px); }
.utl-qform .utl-qbtn:active { transform: translateY(0); }
.utl-qform .utl-qbtn:focus-visible,
.utl-qform input:focus-visible, .utl-qform select:focus-visible {
  outline: 3px solid #12407F; outline-offset: 2px;
}
.utl-qform-footnote { font-size: 11.5px; color: #5E6B86; margin: 14px 0 0; line-height: 1.5; }
.utl-qform-footnote a { color: #002868; text-decoration: underline; }

@media (max-width: 430px) {
  .utl-qform { padding: 22px 18px 20px; }
  .utl-qform h3 { font-size: 1.2rem; }
}
