#capture { scroll-margin-top: 0; }
.one-document {
  color: #172f4a;
  background: #fafbfc;
  padding-block: clamp(40px, 5.3vw, 82px);
}
.document-intro {
  display: grid;
  grid-template-areas: "visual copy";
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(32px, 5.5vw, 94px);
}
.document-copy { grid-area: copy; }
.document-copy h2 {
  margin: 0;
  max-width: 13ch;
  font: 600 clamp(40px, 4.7vw, 68px)/1.01 var(--site-display);
  letter-spacing: -.048em;
  text-wrap: balance;
}
.document-copy p {
  max-width: 37ch;
  margin: 21px 0 16px;
  font: 430 clamp(16px, 1.25vw, 19px)/1.52 var(--site-font);
  color: #435467;
}
.document-stage {
  grid-area: visual;
  position: relative;
  margin: 0;
  aspect-ratio: 5/4;
  overflow: hidden;
  isolation: isolate;
  border-radius: 14px;
  background: radial-gradient(ellipse at 18% 18%, #f3f6fa, transparent 70%), linear-gradient(142deg, #e8edf3 15%, #d2dce6 68%, #c2ceda);
}
.original-sheet {
  display: block;
  position: absolute;
  width: 49%;
  height: auto;
  top: 14%;
  left: 5%;
  transform: rotate(-4deg);
  background: white;
  box-shadow: 3px 7px 14px #263b4b21, 6px 17px 36px #253b501c;
}
.review-phone {
  position: absolute;
  width: 40%;
  left: 53%;
  top: 2%;
  aspect-ratio: 800/1667;
  filter: drop-shadow(3px 8px 8px #1c314c44);
}
.review-phone::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../../../assets/flow/digital-frame.webp') center/100% 100% no-repeat;
}
.review-glass { position: absolute; inset: 1.77% 3.92% 1.88%; border-radius: 13%/6%; overflow: hidden; background: #102e51; }
.review-glass img { position: absolute; width: 100%; left: 0; display: block; }
.review-screen { top: 6.29%; height: auto; }
.review-status { top: 0; height: 6.29%; }
.capture-motion {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #203850;
  cursor: pointer;
}
.capture-motion[hidden] { display: none; }
.capture-motion svg {
  box-sizing: border-box;
  width: 31px;
  height: 31px;
  padding: 7px;
  border-radius: 50%;
  background: #f9fbfdee;
  box-shadow: 0 1px 5px #18345225;
}
.capture-motion:hover svg { background: white; }
.capture-motion:focus-visible { outline: 2px solid #203850; border-radius: 50%; }
.capture-motion .motion-icon, .capture-motion.is-still .still-icon { display: none; }
.capture-motion.is-still .motion-icon { display: block; }
.saved-policy h2 { margin: 0 0 18px; font: 600 clamp(22px, 2vw, 31px)/1.15 var(--site-display); letter-spacing: -.035em; }
.policy-tools { margin: 0; padding-top: 22px; border-top: 1px solid #cbd4dd; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 48px); }
.policy-tools dt { font: 600 17px/1.28 var(--site-font); letter-spacing: -.02em; }
.policy-tools dd { margin: 7px 0 0; font: 420 15px/1.52 var(--site-font); color: #435467; }
@media (max-width: 950px) {
  .document-intro { grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); gap: 26px; }

}
@media (max-width: 689px) {
  .document-intro { grid-template-areas: "copy" "visual"; grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .document-copy h2 { max-width: none; font-size: clamp(34px, 8.1vw, 46px); }
  .document-copy p { max-width: 42ch; margin: 12px 0 6px; }
  .document-stage { border-radius: 10px; }
  .saved-policy h2 { margin-bottom: 14px; }
}
@media (max-width: 689px) {
  .policy-tools { grid-template-columns: 1fr; gap: 16px; padding-top: 18px; }
  .policy-tools dd { margin-top: 3px; max-width: 43ch; }
}

/* Keep the three suggested values legible when the illustration is narrow. */
@media (max-width: 480px), (min-width: 690px) and (max-width: 850px) {
  .document-stage { aspect-ratio: 1.12; }
  .document-stage .review-phone { left: 48%; width: 48%; }
  .document-stage .original-sheet { left: 4%; }
}
