/* Decorative quote-form and inbox illustration. Measurements follow the artwork width. */
.up-quote-art {
  container-type: inline-size;
  width: 100%;
  min-width: 0;
  color: #20355a;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.25;
  user-select: none;
  pointer-events: none;
}
.up-quote-art *,
.up-quote-art *::before,
.up-quote-art *::after { box-sizing: border-box; }
.up-quote-art__canvas {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1.46;
  overflow: hidden;
  border: 1px solid #dae3e9;
  border-radius: clamp(12px, 2.5cqi, 20px);
  background: white;
}
.up-quote-art__corner {
  position: absolute;
  width: 2.3cqi;
  height: 2.3cqi;
  border: solid #7e989e;
  opacity: .63;
}
.up-quote-art__corner--tl { top: 2.4cqi; left: 2.4cqi; border-width: 1px 0 0 1px; }
.up-quote-art__corner--br { right: 2.4cqi; bottom: 2.4cqi; border-width: 0 1px 1px 0; }
.up-quote-art__window,
.up-quote-art__inbox {
  position: absolute;
  border: 1px solid #c6d4dd;
  overflow: hidden;
  background: white;
  text-align: left;
}
.up-quote-art__window {
  top: 7cqi;
  left: 6cqi;
  width: 74%;
  border-radius: 1.9cqi;
  transform: rotate(-2deg);
  box-shadow: 0 1.5cqi 3.6cqi -.7cqi #20355a21, 0 .45cqi .8cqi -.55cqi #20355a25;
}
.up-quote-art__chrome {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 4.8cqi;
  padding-inline: 2.4cqi;
  border-bottom: 1px solid #dae3e9;
  background: white;
}
.up-quote-art__lights { display: flex; gap: .55cqi; }
.up-quote-art__lights i { width: .66cqi; height: .66cqi; background: #aabac6; border-radius: 50%; }
.up-quote-art__address { color: #586c7f; font: 500 1.65cqi/1.3 Inter, Arial, sans-serif; }
.up-quote-art__expand { justify-self: end; width: 1cqi; height: 1cqi; border-top: 1px solid #91a2b2; border-right: 1px solid #91a2b2; }
.up-quote-art__form { padding: 3.5cqi 4.4cqi 3.9cqi; }
.up-quote-art__title { display: block; font-family: inherit; font-size: 5cqi; font-weight: 580; line-height: 1.12; letter-spacing: -.055em; }
.up-quote-art__fields { margin-top: 2.7cqi; display: grid; grid-template-columns: 1fr 1fr; gap: 1.9cqi 1.5cqi; }
.up-quote-art__field { display: grid; gap: .65cqi; font-size: 1.8cqi; font-weight: 550; color: #455a70; }
.up-quote-art__field > span {
  display: grid;
  gap: .95cqi;
  align-content: center;
  padding-inline: 1.6cqi;
  height: 4.9cqi;
  border: 1px solid #d3dfe6;
  border-radius: .65cqi;
  background: white;
}
.up-quote-art__field i { width: 52%; height: .35cqi; min-height: 1px; border-radius: 2px; background: #d3dfe6; }
.up-quote-art__field:nth-child(2) i { width: 80%; }
.up-quote-art__field--wide { grid-column: 1 / -1; }
.up-quote-art__field--wide > span { height: 7cqi; }
.up-quote-art__field--wide i { width: 76%; }
.up-quote-art__field--wide i + i { width: 44%; }
.up-quote-art__submit {
  display: inline-flex; align-items: center; gap: 2.5cqi;
  padding: 1.4cqi 1.8cqi; margin-top: 2.5cqi; border-radius: .85cqi;
  background: #13e8dc; color: #123b50; font-size: 1.9cqi; font-weight: 630;
}
.up-quote-art__submit i { position: relative; display: block; width: 2.5cqi; height: 1px; background: currentColor; }
.up-quote-art__submit i::after { content: ""; position: absolute; right: 0; top: 50%; width: 1.1cqi; height: 1.1cqi; border: solid currentColor; border-width: 1px 1px 0 0; transform: translateY(-50%) rotate(45deg); }
.up-quote-art__route { position: absolute; right: 9.6%; top: 34%; bottom: 30%; width: 14%; border: solid #3f9a9b; border-width: 1.5px 1.5px 0 0; border-top-right-radius: 1.2cqi; }
.up-quote-art__inbox {
  width: 40%; right: 5.4%; bottom: 7.2%;
  padding: 2.25cqi 2.6cqi 2.5cqi;
  border-radius: 1.75cqi;
  transform: rotate(2deg);
  box-shadow: 0 1.9cqi 3.3cqi -.85cqi #233e5730, 0 .4cqi 1cqi -.4cqi #233e571c;
}
.up-quote-art__inbox-head { display: flex; gap: 1.15cqi; align-items: center; padding-bottom: 1.6cqi; border-bottom: 1px solid #dce6ea; font-size: 2.1cqi; font-weight: 570; color: #536779; }
.up-quote-art__envelope { position: relative; width: 2.7cqi; height: 2cqi; border: 1.3px solid currentColor; border-radius: .33cqi; overflow: hidden; }
.up-quote-art__envelope::after { content: ""; position: absolute; width: 72%; height: 100%; left: 14%; top: -55%; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.up-quote-art__message { display: flex; align-items: center; gap: .9cqi; margin-top: 1.9cqi; font-size: 2.8cqi; font-weight: 610; letter-spacing: -.035em; }
.up-quote-art__unread { width: .85cqi; height: .85cqi; border-radius: 50%; background: #087f7b; }
.up-quote-art__receipt { display: flex; align-items: center; gap: .8cqi; margin-top: 1.1cqi; margin-left: 1.75cqi; font-size: 1.95cqi; font-weight: 540; color: #126965; }
.up-quote-art__receipt i { display: grid; place-items: center; width: 2cqi; height: 2cqi; border-radius: 50%; background: white; }
.up-quote-art__receipt i::after { content: ""; width: .95cqi; height: .65cqi; margin-top: -.2cqi; border: solid currentColor; border-width: 0 0 1px 1px; transform: rotate(-45deg); }
@container (max-width: 400px) {
  .up-quote-art__address { font-size: 2.2cqi; }
  .up-quote-art__field { font-size: 2.35cqi; }
  .up-quote-art__submit { font-size: 2.5cqi; }
  .up-quote-art__inbox-head, .up-quote-art__receipt { font-size: 2.55cqi; }
  .up-quote-art__message { font-size: 3cqi; }
}

/* The hero traces one request to the inbox the first time it enters view. */
@media (prefers-reduced-motion: no-preference) {
  .up-quote-art.is-delivering .up-quote-art__submit {
    animation: pd-submit 350ms 240ms ease-out;
  }
  .up-quote-art.is-delivering .up-quote-art__route::after {
    content: "";
    position: absolute;
    inset: -3px auto auto 0;
    width: .95cqi;
    min-width: 4px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #007d79;
    box-shadow: 0 0 0 3px #bde9e5;
    opacity: 0;
    animation: pd-packet 1.1s .47s ease-in-out;
  }
  .up-quote-art.is-delivering .up-quote-art__inbox {
    animation: pd-receipt 2.3s ease-out;
  }
}
@keyframes pd-submit {
  45% { transform: translateY(1px) scale(.965); background: #05c9bf; }
}
@keyframes pd-packet {
  0% { opacity: 0; }
  10% { opacity: 1; }
  38% { transform: translateX(13.8cqi); opacity: 1; }
  93% { transform: translate(13.8cqi, 23.3cqi); opacity: 1; }
  100% { transform: translate(13.8cqi, 23.5cqi); opacity: 0; }
}
@keyframes pd-receipt {
  0%, 57% { opacity: .23; transform: translateY(.95cqi) rotate(2deg); }
  75% { opacity: 1; transform: translateY(-.5cqi) rotate(1.5deg); }
  100% { opacity: 1; transform: rotate(2deg); }
}
