html,
.page-web-apps { overflow-x: clip; }

.page-web-apps .service-hero { padding-bottom: clamp(84px, 9vw, 126px); }
.page-web-apps .service-hero h1 { max-width: 1080px; }
.page-web-apps .service-hero__lead { max-width: 520px; }

.process-story {
  padding-top: clamp(76px, 7vw, 108px);
  background-image: radial-gradient(ellipse 74% 62% at 88% 18%, rgba(111, 92, 255, .055), transparent 72%);
}
.process-story__title {
  max-width: 1000px;
  margin: 0;
  font: 400 clamp(34px, 3.8vw, 52px)/1.16 var(--font-display);
  letter-spacing: 0;
}
.process-layout {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  gap: clamp(48px, 6vw, 84px);
  align-items: stretch;
  margin-top: 58px;
}
.process-notes { min-width: 0; display: grid; align-content: space-between; padding: 34px 0 44px; }
.process-notes section { max-width: 280px; }
.process-notes h3 { margin: 0; font: 600 21px/1.35 var(--font-body); }
.process-notes p { margin: 15px 0 0; color: var(--muted); font-size: 16px; line-height: var(--body-leading); }

.work-document {
  width: 100%;
  min-width: 0;
  padding: clamp(40px, 4.8vw, 66px);
  color: #0a0910;
  background: #f0eee8;
  box-shadow: 0 38px 100px rgba(0,0,0,.24);
}
.work-document .document-label { color: rgba(10, 9, 16, .58); }
.document-stage { padding: 34px 0 38px; border-bottom: 1px solid rgba(10,9,16,.2); }
.document-stage__line { display: flex; align-items: center; gap: 18px; margin-bottom: 25px; font: 400 17px/1.2 var(--font-display); }
.document-stage__line::after { content: ""; height: 1px; flex: 1; background: rgba(10,9,16,.34); }
.document-stage h3 { margin: 0; font: 400 clamp(30px, 3vw, 43px)/1.2 var(--font-display); letter-spacing: 0; }
.document-stage > p { max-width: 520px; margin: 14px 0 0; color: rgba(10,9,16,.72); font-size: 16px; line-height: 1.6; }
.document-fields { display: grid; gap: 12px; margin: 30px 0 0; }
.document-fields div { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 24px; }
.document-fields dt, .document-fields dd { margin: 0; font-size: 15px; line-height: 1.45; }
.document-fields dd { color: rgba(10,9,16,.74); }
.history-entry { padding: 16px 0; border-bottom: 1px solid rgba(10,9,16,.18); }
.history-entry:last-child { border-bottom: 0; }
.history-entry strong { font: 600 16px/1.45 var(--font-body); }
.history-entry p { max-width: 580px; margin: 7px 0 0; color: rgba(10,9,16,.64); font-size: 14px; line-height: 1.55; }
.document-result { margin: 30px 0 0; font: 400 clamp(23px, 2vw, 30px)/1.25 var(--font-display); }

.app-directions { border-top-color: var(--hairline); }
.direction-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 54px; }
.direction-columns section { min-width: 0; padding: 0 24px; border-left: 1px solid var(--hairline); }
.direction-columns section:first-child { padding-left: 0; border-left: 0; }
.direction-columns h3 { margin: 0; font: 600 21px/1.35 var(--font-body); }
.direction-columns p { margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: var(--body-leading); }
.direction-disclosures { display: none; }

@media (min-width: 901px) and (max-width: 1120px) {
  .process-layout { gap: 42px; }
  .work-document { padding: 44px; }
}

@media (max-width: 900px) {
  .page-web-apps .service-hero { padding-bottom: 68px; }
  .page-web-apps .service-hero h1 { font-size: clamp(40px, 10.9vw, 47px); }
  .page-web-apps .service-hero__offer { max-width: 360px; }
  .process-story { padding-top: 64px; }
  .process-story__title { max-width: 370px; font-size: clamp(28px, 7.8vw, 36px); line-height: 1.18; }
  .process-layout { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
  .process-notes { display: contents; }
  .process-notes section { max-width: none; padding: 0 0 26px; }
  .process-notes section:nth-child(2), .process-notes section:nth-child(3) { display: none; }
  .process-notes h3 { font-size: 20px; }
  .work-document { padding: clamp(25px, 7vw, 36px); box-shadow: none; }
  .document-stage { padding: 27px 0 30px; }
  .document-stage__line { gap: 12px; margin-bottom: 19px; font-size: 15px; }
  .document-stage h3 { font-size: clamp(25px, 7vw, 31px); }
  .document-stage > p { font-size: 15px; }
  .document-fields { gap: 10px; margin-top: 24px; }
  .document-fields div { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
  .document-fields dt, .document-fields dd { font-size: 13px; }
  .history-entry strong { font-size: 15px; }
  .history-entry p { font-size: 13px; }
  .document-result { font-size: 22px; }
  .direction-columns { display: none; }
  .direction-disclosures { display: block; margin-top: 42px; border-top: 1px solid var(--hairline); }
  .direction-disclosures details { border-bottom: 1px solid var(--hairline); }
  .direction-disclosures summary { position: relative; min-height: 64px; display: flex; align-items: center; padding: 13px 40px 13px 0; cursor: pointer; font: 600 19px/1.4 var(--font-body); list-style: none; }
  .direction-disclosures summary::-webkit-details-marker { display: none; }
  .direction-disclosures summary::after { content: "+"; position: absolute; right: 4px; color: var(--muted); font: 300 22px/1 var(--font-body); }
  .direction-disclosures details[open] summary::after { content: "−"; }
  .direction-disclosures p { max-width: 60ch; margin: 0 0 18px; color: var(--muted); font-size: 16px; line-height: var(--body-leading); }
}

@media (max-width: 375px) {
  .page-web-apps .service-hero h1 { font-size: 39px; }
  .document-fields div { grid-template-columns: 94px minmax(0, 1fr); gap: 10px; }
  .work-document { padding-inline: 22px; }
}
