.one-system {
  color: var(--gallery-ink);
  scroll-margin-top: 0;
}
.system-layout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-block-size: 100svh;
  padding-block: clamp(16px, 3.3svh, 40px);
}
.system-layout > h2 {
  margin: 0;
  font: 600 clamp(35px, 3.75vw, 56px)/1.06 var(--site-font);
  letter-spacing: -.05em;
  text-wrap: balance;
}
.system-layout > h2 span { white-space: nowrap; }
.system-layout > .system-descriptor {
  margin: 9px 0 clamp(15px, 2.8svh, 28px);
  color: #465765;
  font: 400 clamp(16px, 1.32vw, 19px)/1.5 var(--site-font);
  letter-spacing: -.018em;
  text-wrap: balance;
}
.system-art {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: stretch;
  margin: 0;
  padding: 0 clamp(12px, 1.8vw, 28px);
}
.system-half {
  min-width: 0;
}
.system-half-title {
  margin: 0 0 clamp(10px, 1.7svh, 18px);
  font: 600 clamp(16px, 1.25vw, 19px)/1.2 var(--site-font);
  letter-spacing: -.025em;
  color: var(--gallery-ink);
}
.print-evidence { min-width: 0; width: min(100%, max(260px, calc(100svh - 218px))); }
.print-still {
  position: relative;
  aspect-ratio: 1000 / 735;
}
.document-pouches, .guide-leader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.document-pouches { overflow: visible; }
.document-pouches use {
  filter: drop-shadow(0 2px 2px rgb(24 37 48 / 28%)) drop-shadow(2px 5px 5px rgb(31 43 58 / 19%));
}
.paper-view {
  /* A 669.5-unit envelope is 33 cm wide against a 438-unit, 21.59 cm Letter sheet. */
  position: absolute;
  left: 53%;
  top: 20.5%;
  width: 43.8%;
  display: block;
  transform: rotate(2deg);
  cursor: zoom-in;
}
.paper-view img, .guide-detail img {
  display: block;
  width: 100%;
  height: auto;
}
.guide-source-row {
  position: absolute;
  left: 7.5%;
  top: 61.65%;
  width: 84.1%;
  height: 2.7%;
  border: 1px solid #40566c;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 50%);
  pointer-events: none;
}
.paper-stack {
  isolation: isolate;
  --original-offset: translate(-24%, -5%) rotate(-8deg);
  --insert-offset: translate(-9%, -13%) rotate(-3deg);
}
.paper-view.paper-stack {
  background: transparent;
  box-shadow: none;
}
.paper-stack::before, .paper-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-position: center;
  background-size: 100% 100%;
  transform-origin: 50% 62%;
}
.paper-stack::before {
  z-index: -2;
  background-color: #e8eced;
  background-image: linear-gradient(115deg, rgb(223 229 233 / 7%), rgb(53 69 77 / 12%)), url(guide-original.webp);
  transform: var(--original-offset);
  box-shadow: 0 1px 1px rgb(40 51 59 / 24%), 2px 6px 9px -4px rgb(41 56 66 / 23%);
}
.paper-stack::after {
  z-index: -1;
  background-color: #f6f7f6;
  background-image: linear-gradient(110deg, rgb(245 245 243 / 2%), rgb(82 94 102 / 8%)), url(guide-start.webp);
  transform: var(--insert-offset);
  box-shadow: 0 1px 1px rgb(40 51 59 / 24%), 1px 3px 5px -2px rgb(41 56 66 / 20%);
}
.paper-stack img {
  position: relative;
  background: white;
  box-shadow: 0 1px 1px rgb(40 51 59 / 19%), 1px 4px 7px -3px rgb(41 56 66 / 21%);
}
.guide-leader path {
  fill: none;
  stroke: #40566c;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 .9px #fff);
}
.guide-explainer {
  position: relative;
  width: min(88%, 430px);
  margin: -5% auto 0;
  text-align: center;
}
.guide-detail {
  display: block;
  padding: 1px;
  background: white;
  border: 1px solid rgb(66 83 99 / 24%);
  box-shadow: 0 1px 2px rgb(36 52 66 / 10%), 0 5px 10px -7px rgb(32 47 62 / 26%);
  cursor: zoom-in;
}
.guide-detail-label {
  display: block;
  margin: 8px 4% -2px;
  text-align: left;
  color: #40556a;
  font: 550 clamp(12px, .9vw, 14px)/1.15 var(--site-font);
}
.guide-explainer p {
  margin: 10px 0 0;
  color: #34495a;
  font: 450 clamp(13px, .96vw, 15px)/1.45 var(--site-font);
}
.policy-evidence {
  position: relative;
  display: grid;
  grid-template-columns: min(52%, 230px, max(136px, calc(40svh - 42px))) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(14px, 1.7vw, 28px);
  width: 100%;
  container-type: inline-size;
}
.policy-phone {
  display: block;
  width: 100%;
  cursor: zoom-in;
}
.policy-phone img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(1px 2px 1px rgb(29 43 58 / 20%)) drop-shadow(3px 9px 8px rgb(32 49 65 / 16%));
}
.system-features {
  display: grid;
  gap: clamp(14px, 2.6svh, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
  color: #263d51;
  font: 500 clamp(14px, 1.12vw, 17px)/1.32 var(--site-font);
  letter-spacing: -.015em;
}
.system-features li {
  display: flex;
  align-items: center;
  gap: .7em;
}
.system-features svg {
  flex: none;
  width: 1.35em;
  height: 1.35em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.paper-view:focus-visible, .guide-detail:focus-visible, .policy-phone:focus-visible {
  outline: 3px solid #234e79;
  outline-offset: 4px;
}
@media (min-width: 561px) and (max-height: 520px) and (orientation: landscape) {
  .system-layout { padding-block: 7px; }
  .system-layout > h2 { font-size: 32px; }
  .system-layout > .system-descriptor { margin: 4px 0 8px; font-size: 15px; line-height: 1.35; }
  .system-half-title { font-size: 15px; margin-bottom: 7px; }
  .system-art { column-gap: 26px; padding-inline: 0; }
  .print-evidence { width: min(100%, max(140px, calc(100svh - 181px))); }
  .policy-evidence { grid-template-columns: min(47%, max(82px, calc(39svh - 51px))) minmax(0, 1fr); }
  .guide-explainer p { margin: 4px -20px 0; }
}
@media (min-width: 561px) and (max-height: 340px) and (orientation: landscape) {
  .system-layout { padding-block: 3px; }
  .system-layout > h2 { font-size: 28px; }
}
@media (max-width: 690px) and (orientation: portrait), (max-width: 560px) {
  .system-layout { width: min(100% - 32px, 505px); padding-block: clamp(12px, 2.4svh, 22px); }
  .system-layout > h2 { font-size: clamp(28px, 7.7vw, 40px); }
  .system-layout > .system-descriptor { margin: 8px 0 15px; font-size: clamp(14px, 3.7vw, 16px); line-height: 1.36; text-wrap: pretty; }
  .system-art {
    grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
    grid-template-areas: "paper-title app-title" "paper-art phone" "detail phone" "features features";
    gap: 7px clamp(8px, 2.5vw, 15px);
    align-items: start;
    padding: 0;
  }
  .system-half, .print-evidence, .policy-evidence { display: contents; }
  .system-half-title { margin: 0; font-size: 14px; }
  #system-paper-title { grid-area: paper-title; }
  #system-app-title { grid-area: app-title; text-align: center; }
  .print-still { grid-area: paper-art; align-self: end; }
  .policy-phone { grid-area: phone; place-self: center; width: min(100%, 168px, 21.5svh); }
  .guide-explainer { grid-area: detail; width: 100%; margin: -6% 0 0; }
  .guide-explainer p { margin: 5px 0 0; font-size: 13px; line-height: 1.32; text-wrap: balance; }
  .guide-detail-label { margin-top: 5px; }
  .system-features {
    grid-area: features;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-self: start;
    align-items: start;
    width: 100%;
    max-width: none;
    padding: 0;
    margin: clamp(10px, 2.2svh, 22px) 0 0;
    gap: 5px;
    font-size: clamp(13px, 3.4vw, 15px);
  }
  .system-features li { flex-direction: column; align-items: center; gap: 6px; text-align: center; line-height: 1.24; }
  .system-features li span { text-wrap: balance; }
}
#policy-viewer {
  padding: clamp(12px, 2vw, 24px);
  width: fit-content;
  max-width: calc(100% - 22px);
  max-height: calc(100dvh - 28px);
  border: 1px solid #c4c9cc;
  border-radius: 12px;
  background: #faf9f7;
  color: #152738;
  box-shadow: 0 22px 70px rgb(12 27 40 / 24%);
}
#policy-viewer::backdrop { background: rgb(12 25 38 / 62%); }
.policy-view-head {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.policy-view-head h2 { font: 600 clamp(18px, 2vw, 23px)/1.2 var(--site-font); letter-spacing: -.035em; }
.policy-view-image img { display: block; width: auto; max-width: min(100%, 700px); height: auto; max-height: 73dvh; margin-inline: auto; border: 1px solid #d4d8db; border-radius: 5px; }
.policy-view-image.paper-stack {
  position: relative;
  width: min(calc(100vw - 78px), 55dvh, 700px);
  margin: clamp(37px, 6dvh, 54px) 7px 12px 22px;
  --original-offset: translate(-5%, -.8%) rotate(-3.7deg);
  --insert-offset: translate(-2%, -6%) rotate(-1.4deg);
}
#policy-viewer:has(.paper-stack) { background: #e9edef; }
.policy-view-image.paper-stack img {
  width: 100%;
  border-radius: 0;
}
