.site-ending {
  --ending-ink: #172735;
  --ending-muted: #4e5d6a;
  --ending-line: #cbd3d8;
  --ending-paper: #f7f8f9;
  --ending-blue: #143c7c;
  position: relative;
  z-index: 2;
  color: var(--ending-ink);
  background: var(--ending-paper);
  color-scheme: light;
}
.site-ending,
.site-ending * { box-sizing: border-box; }
.site-ending [hidden] { display: none; }
.site-ending :where(h2,h3,p,ul) { margin: 0; }
.site-ending :where(a,button,input,textarea):focus-visible {
  outline: 3px solid #296cc2;
  outline-offset: 4px;
}
.ending-inner {
  width: min(90.4%, 1470px);
  margin-inline: auto;
}
.ending-section { padding-block: clamp(58px, 7vw, 120px); }
.ending-title, .ending-subtitle, .ending-form-wrap h3 {
  font-weight: 480;
  line-height: 1.015;
  letter-spacing: -.059em;
  text-wrap: balance;
}
.ending-title { font-size: clamp(2.85rem, 5.9vw, 6.8rem); }
.ending-subtitle { font-size: clamp(2.4rem, 4.8vw, 4.9rem); }
.ending-contact { background: #f7f8f9; }
.ending-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(52px, 7.7vw, 148px);
  align-items: start;
}
.ending-contact .ending-title { max-width: 9.3em; }
.ending-address {
  display: grid;
  justify-items: start;
  gap: .3em;
  margin-top: clamp(34px, 4.2vw, 72px);
  font-size: clamp(.95rem, 1.28vw, 1.28rem);
  line-height: 1.52;
  font-style: normal;
}
.ending-address p:first-child { margin-bottom: .78em; }
.ending-address :is(strong,span) { display: block; }
.ending-address strong { font-weight: 580; }
.ending-address :is(span,.ending-street) { color: var(--ending-muted); font-size: .9em; }
.ending-address .ending-street { margin-top: .95em; }
.ending-address a, .ending-sms a {
  color: var(--ending-blue);
  text-decoration: underline;
  text-decoration-color: #9caebd;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}
.ending-form-wrap {
  padding: clamp(22px, 2.9vw, 52px);
  border: 1px solid #d7dfe4;
  border-radius: clamp(18px, 2vw, 30px);
  background: #fff;
}
.ending-form-wrap h3 { font-size: clamp(1.75rem, 2.6vw, 3rem); }
.ending-form-wrap > [data-quote-email] { margin-top: 1.1rem; line-height: 1.5; }
.ending-form-wrap > [data-quote-email] a { margin-top: 1rem; }
.ending-form { display: grid; gap: 1.02rem; margin-top: 1.65rem; font-size: .94rem; }
.ending-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ending-form label:not([data-quote-verification] *) { min-width: 0; font-weight: 540; }
.ending-required { color: var(--ending-muted); font-weight: 400; }
.ending-form :is(input,textarea):not([data-quote-verification] *) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin-top: .32rem;
  padding: .62rem .7rem;
  border: 1px solid #b5c1ca;
  border-radius: .4rem;
  background: #fff;
  color: var(--ending-ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
}
.ending-form textarea { resize: vertical; min-height: 6rem; }
.ending-form textarea::placeholder { color: #62717d; }
.ending-form-hint { color: var(--ending-muted); font-size: .9rem; line-height: 1.48; }
.ending-attachments input[type=file] { padding: .35rem; font-size: .9rem; }
.ending-attachments input::file-selector-button {
  padding: .48rem .7rem;
  margin-inline-end: .6rem;
  border: 0;
  border-radius: .24rem;
  background: #e6edf2;
  color: var(--ending-ink);
  font: inherit;
  font-weight: 540;
  cursor: pointer;
}
.ending-attachments .ending-form-hint { margin-top: .4rem; }
.ending-file-names { padding-inline-start: 1.1rem; color: var(--ending-muted); overflow-wrap: anywhere; font-size: .86rem; }
.ending-file-names:not(:empty) { margin-top: .45rem; }
.ending-form [data-quote-verification]:empty { display: none; }
.ending-form [data-quote-verification] .altcha-checkbox > svg { pointer-events: none; }
.ending-action {
  display: inline-flex;
  justify-self: start;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  min-height: 46px;
  padding: .72rem 1.25rem .76rem;
  border: 1px solid transparent;
  border-radius: 2rem;
  background: #152d48;
  color: #fff;
  font: inherit;
  font-weight: 550;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}
.ending-action:hover { background: #23476a; }
.ending-arrow { display: inline-block; line-height: 1; font-size: 1.22em; }
.ending-sms { max-width: 52ch; margin-top: 1.5rem; color: var(--ending-muted); font-size: .88rem; line-height: 1.55; }
.ending-sms summary { width: fit-content; padding-block: .4rem; cursor: pointer; color: var(--ending-blue); }
.ending-sms p { margin-block: .65rem; }
.ending-careers {
  color: #fff;
  background: #142b41;
}
.ending-careers-grid { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.ending-careers .ending-title { font-size: clamp(2.7rem, 5.45vw, 6rem); }
.ending-careers p { max-width: 52ch; margin-top: 1.1em; color: #dae5ef; line-height: 1.55; }
.ending-careers .ending-action { background: #fff; color: #132d48; flex: none; }
.ending-careers .ending-action:hover { background: #e0edf5; }
.ending-footer { background: #fff; font-size: .92rem; }
.ending-footer-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.75fr);
  gap: clamp(28px, 5.5vw, 110px);
  padding-block: clamp(38px, 5.5vw, 88px);
}
.ending-footer-brand img { display: block; width: clamp(76px, 6vw, 107px); height: auto; }
.ending-footer-brand p { max-width: 31ch; margin-top: 1rem; color: var(--ending-muted); line-height: 1.55; }
.ending-footer nav h2 { margin-bottom: .7rem; font-size: 1.02rem; font-weight: 600; }
.ending-footer ul { list-style: none; padding: 0; }
.ending-page-nav ul { display: grid; grid-template-rows: repeat(3,auto); grid-auto-flow: column; grid-auto-columns: 1fr; column-gap: clamp(20px, 4vw, 68px); }
.ending-footer nav a { display: inline-block; padding-block: .34em; color: var(--ending-muted); text-decoration: none; }
.ending-footer nav a:hover { color: var(--ending-blue); text-decoration: underline; text-underline-offset: .2em; }
.ending-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .7rem 1.5rem;
  border-top: 1px solid var(--ending-line);
  padding-block: 1.15rem max(1.2rem, env(safe-area-inset-bottom));
}
.ending-footer-bottom small { color: var(--ending-muted); font-size: .82rem; }
.ending-footer-bottom nav { display: flex; flex-wrap: wrap; gap: .25rem 1.3rem; font-size: .82rem; }
@media (max-width: 760px) {
  .ending-inner { width: min(88%, 570px); }
  .ending-contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ending-contact .ending-title { max-width: 10em; }
  .ending-careers-grid { align-items: flex-start; flex-direction: column; gap: 1.4rem; }
  .ending-footer-grid { grid-template-columns: 1fr; row-gap: 1.8rem; }
  .ending-page-nav ul { display: block; }
  .ending-footer nav a { min-height: 32px; padding-block: .48em; }
}
@media (max-width: 460px) {
  .ending-form-row { grid-template-columns: 1fr; gap: 1.02rem; }
  .ending-form-wrap { padding: 20px 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ending-arrow { transition: transform 190ms ease-out; }
  .site-ending .ending-action:hover .ending-arrow { transform: translate(2px,-2px); }
  @supports (animation-timeline: view()) {
    .site-ending :is(.ending-title,.ending-subtitle) {
      animation: ending-heading-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
    @keyframes ending-heading-in {
      from { transform: translateY(.16em); opacity: .76; }
      to { transform: translateY(0); opacity: 1; }
    }
  }
}
