/* contract-review-fixed-fee (build_contract_review_fixed_fee.py). Every rule starts with .dl-crf.
   Centrepiece: a contract drawn as a sheet with the four clauses the review flags and a comment on each. */
.dl-crf .crf-in{max-width:1220px;margin:0 auto;padding:0 28px}
.dl-crf section[class^="crf-"] h2{font-size:clamp(1.7rem,2.6vw,2.3rem);font-weight:700;letter-spacing:-.03em;line-height:1.12;margin:0}

/* why: one paragraph in large type beside the photograph */
.dl-crf .crf-why{padding:76px 0}
.dl-crf .crf-why .crf-in{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:64px;align-items:center}
.dl-crf .crf-why-tx p{margin-top:20px;font-size:1.3rem;line-height:1.55;color:var(--ink);max-width:34ch;font-family:var(--head);font-weight:500;letter-spacing:-.012em}
.dl-crf .crf-why-img{margin:0}
.dl-crf .crf-why-img img{display:block;width:100%;height:340px;object-fit:cover;object-position:50% 22%;border-radius:var(--r)}

/* the sheet */
.dl-crf .crf-sheet{background:var(--ink);color:#fff;padding:84px 0 92px}
.dl-crf .crf-sheet h2{max-width:22ch}
.dl-crf .crf-desk{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:64px;align-items:start;margin-top:40px}
.dl-crf .crf-paper{--mg:300px;position:relative;color:var(--ink);border-radius:3px;
  background:linear-gradient(to left,#fff0f4 var(--mg),#fff var(--mg));box-shadow:14px 14px 0 var(--cfield);padding-bottom:26px}
.dl-crf .crf-paper:before{content:"";position:absolute;top:0;bottom:0;right:var(--mg);border-left:1px solid #ffc9d6}
.dl-crf .crf-ptop{padding:34px 40px 22px;margin-right:var(--mg)}
.dl-crf .crf-ptitle{font-family:var(--head);font-weight:700;font-size:1.3rem;letter-spacing:-.02em}
.dl-crf .crf-pmeta{font-size:.84rem;color:var(--mute);margin:2px 0 16px}
.dl-crf .crf-ln{display:block;height:8px;border-radius:2px;background:var(--line);margin-top:9px}
.dl-crf .crf-ln.w30{width:30%}.dl-crf .crf-ln.w40{width:40%}.dl-crf .crf-ln.w55{width:55%}.dl-crf .crf-ln.w60{width:60%}
.dl-crf .crf-ln.w65{width:65%}.dl-crf .crf-ln.w75{width:75%}.dl-crf .crf-ln.w80{width:80%}.dl-crf .crf-ln.w85{width:85%}.dl-crf .crf-ln.w90{width:90%}
.dl-crf .crf-cl{display:grid;grid-template-columns:minmax(0,1fr) var(--mg);align-items:start}
.dl-crf .crf-cl-tx{padding:16px 40px 18px}
.dl-crf .crf-cn{font-family:var(--head);font-weight:700;font-size:.95rem;margin-bottom:6px}
.dl-crf .crf-ct{font-size:1rem;line-height:1.75;color:#2a2629}
.dl-crf .crf-ct mark{background:#ffd3e0;color:var(--ink);padding:2px 0;border-bottom:2px solid var(--cfield);-webkit-box-decoration-break:clone;box-decoration-break:clone}
.dl-crf .crf-note{position:relative;margin:14px 18px 10px 18px;background:#fff;border:1.5px solid var(--cfield);border-radius:10px;padding:13px 15px 14px}
.dl-crf .crf-note:before{content:"";position:absolute;top:38px;right:100%;width:44px;border-top:1.5px solid var(--cfield)}
.dl-crf .crf-note:after{content:"";position:absolute;top:34px;right:calc(100% + 40px);width:9px;height:9px;border-radius:50%;background:var(--cfield)}
.dl-crf .crf-note h3{font-size:.98rem;font-weight:700;letter-spacing:-.012em;color:var(--cd);margin-bottom:4px}
.dl-crf .crf-note p{font-size:.9rem;line-height:1.5;color:var(--ink)}
.dl-crf .crf-eg{margin-top:30px;font-size:.84rem;color:#cfc6ca}

.dl-crf .crf-back h3{font-size:1.3rem;font-weight:700;letter-spacing:-.02em;padding-bottom:14px;border-bottom:2px solid var(--cfield)}
.dl-crf .crf-got>div{display:grid;grid-template-columns:46px minmax(0,1fr);column-gap:18px;padding:22px 0;border-bottom:1px solid rgba(255,255,255,.2)}
.dl-crf .crf-got>div:last-child{border-bottom:0}
.dl-crf .crf-got h4{font-size:1.02rem;font-weight:700;letter-spacing:-.012em;line-height:1.3;grid-column:2}
.dl-crf .crf-got p{grid-column:2;font-size:.93rem;line-height:1.55;color:#e4dce0;margin-top:5px}
.dl-crf .crf-g{grid-column:1;grid-row:1/span 2;display:block;width:46px;height:58px;border-radius:3px;background-color:#fff;background-repeat:no-repeat}
.dl-crf .crf-g.g1{background-image:linear-gradient(var(--cfield),var(--cfield)),linear-gradient(var(--cfield),var(--cfield)),linear-gradient(#cfc6ca,#cfc6ca),linear-gradient(#cfc6ca,#cfc6ca),linear-gradient(#cfc6ca,#cfc6ca),linear-gradient(#cfc6ca,#cfc6ca);
  background-size:16px 6px,7px 7px,30px 4px,30px 4px,8px 4px,22px 4px;background-position:7px 25px,32px 24px,7px 9px,7px 17px,7px 36px,7px 45px}
.dl-crf .crf-g.g2{background-image:linear-gradient(#cfc6ca,#cfc6ca),linear-gradient(#cfc6ca,#cfc6ca),linear-gradient(var(--ink),var(--ink)),linear-gradient(var(--cfield),var(--cfield)),linear-gradient(var(--cfield),var(--cfield));
  background-size:32px 4px,24px 4px,32px 1.5px,32px 4px,20px 4px;background-position:7px 10px,7px 18px,7px 29px,7px 38px,7px 46px}
.dl-crf .crf-g.g3{background-image:linear-gradient(var(--cfield),var(--cfield)),linear-gradient(var(--ink),var(--ink)),linear-gradient(#cfc6ca,#cfc6ca);
  background-size:32px 9px,22px 9px,12px 9px;background-position:7px 10px,7px 25px,7px 40px}
.dl-crf .crf-g.g4{border-left:6px solid var(--cfield);background-image:linear-gradient(var(--ink),var(--ink)),linear-gradient(var(--ink),var(--ink)),linear-gradient(var(--ink),var(--ink));
  background-size:26px 4px,26px 4px,16px 4px;background-position:7px 18px,7px 27px,7px 36px}

/* five working days */
.dl-crf .crf-days{background:#fff0f4;padding:80px 0 84px}
.dl-crf .crf-days h2{max-width:24ch}
.dl-crf .crf-line{list-style:none;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,2.1fr);margin-top:44px}
.dl-crf .crf-line>li{position:relative;padding:0 32px 0 0}
.dl-crf .crf-line>li:before{content:"";position:absolute;left:0;right:0;top:21px;border-top:2px solid var(--ink)}
.dl-crf .crf-dot{position:relative;display:block;width:20px;height:20px;border-radius:50%;background:var(--ink);margin:12px 0 22px}
.dl-crf .crf-line>li.crf-span{padding-right:0}
.dl-crf .crf-line>li.crf-span:before{display:none}
.dl-crf .crf-week{position:relative;display:grid;grid-template-columns:repeat(5,1fr);height:44px;margin-bottom:10px;border:2px solid var(--ink);border-radius:8px;overflow:hidden;background:#fff;font-style:normal}
.dl-crf .crf-week b{display:flex;align-items:center;justify-content:center;font-family:var(--head);font-size:.95rem;border-left:2px solid var(--ink)}
.dl-crf .crf-week b:first-child{border-left:0}
.dl-crf .crf-week b:last-child{background:var(--cfield)}
.dl-crf .crf-when{display:block;font-family:var(--head);font-weight:700;font-size:.9rem;color:var(--cd)}
.dl-crf .crf-line h3{font-size:1.3rem;font-weight:700;letter-spacing:-.02em;margin:4px 0 8px}
.dl-crf .crf-line p{font-size:1rem;line-height:1.6;color:#2a2629;max-width:44ch}

/* three ways: a ledger */
.dl-crf .crf-ways{padding:84px 0 40px}
.dl-crf .crf-ledger{margin-top:30px;border-top:2px solid var(--ink)}
.dl-crf .crf-way{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr);column-gap:36px;align-items:baseline;padding:24px 28px;border-bottom:1px solid var(--line)}
.dl-crf .crf-way h3{font-size:1.16rem;font-weight:700;letter-spacing:-.014em}
.dl-crf .crf-amt{font-family:var(--head);font-weight:700;font-size:1.7rem;letter-spacing:-.03em;line-height:1.1}
.dl-crf .crf-amt small{font-size:.86rem;font-weight:700;letter-spacing:0;color:var(--mute)}
.dl-crf .crf-way p{font-size:1rem;line-height:1.6;color:#3f3c42}
.dl-crf .crf-us{background:var(--cfield);border-bottom:0;border-radius:0 0 var(--r) var(--r);padding-block:30px}
.dl-crf .crf-us .crf-amt{font-size:2.3rem}
.dl-crf .crf-us .crf-amt small,.dl-crf .crf-us p{color:var(--ink)}
.dl-crf .crf-go{grid-column:3;justify-self:start;margin-top:14px;background:var(--ink);color:#fff;font-family:var(--head);font-weight:700;font-size:.95rem;padding:13px 22px;border-radius:8px}
.dl-crf .crf-go:hover{background:#000}

/* price: what it covers beside what moves a job out of it */
.dl-crf .crf-price{padding:56px 0 84px}
.dl-crf .crf-price .crf-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px}
.dl-crf section.crf-price h2{font-size:1.62rem;margin-bottom:14px}
.dl-crf .crf-price p{font-size:1.02rem;line-height:1.72;color:#3d3b41;margin-bottom:14px}
.dl-crf .crf-price a,.dl-crf .crf-faq .fqa a{color:var(--c);font-weight:600}
.dl-crf .crf-stacks{display:flex;gap:44px;align-items:flex-end;margin-top:30px}
.dl-crf .crf-stacks>div{width:190px}
.dl-crf .crf-stack{display:block;width:100%;border-bottom:2px solid var(--ink);background:repeating-linear-gradient(to bottom,transparent 0 2px,var(--ink) 2px 3px)}
.dl-crf .crf-stack.s10{height:30px}
.dl-crf .crf-stack.s60{height:180px;background-image:repeating-linear-gradient(to bottom,transparent 0 2px,var(--c) 2px 3px)}
.dl-crf .crf-stacks span{display:block;margin-top:10px;font-size:.9rem;font-weight:700;line-height:1.35;color:var(--ink)}
.dl-crf .crf-non{border-left:2px solid var(--ink);padding-left:44px}
.dl-crf .crf-non ul{list-style:none;margin:0 0 20px;border-top:1px solid var(--line)}
.dl-crf .crf-non li{position:relative;padding:13px 0 13px 30px;border-bottom:1px solid var(--line);font-size:1.02rem;line-height:1.5;color:var(--ink);font-weight:700}
.dl-crf .crf-non li:before{content:"";position:absolute;left:0;top:1.3em;width:16px;height:2px;background:var(--c)}
.dl-crf .crf-non li:after{content:"";position:absolute;left:7px;top:calc(1.3em - 7px);width:2px;height:16px;background:var(--c)}

/* who does the work */
.dl-crf .crf-who{background:var(--plum);color:#fff;padding:80px 0}
.dl-crf .crf-who .crf-in{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:72px;align-items:start}
.dl-crf section.crf-who h2{margin-bottom:18px}
.dl-crf .crf-who-tx p{font-size:1.06rem;line-height:1.72;color:#f6e9ee}
.dl-crf .crf-who-tx strong{color:#fff}
.dl-crf .crf-who a{color:#fff;font-weight:700;text-decoration:underline;text-decoration-color:var(--cfield);text-decoration-thickness:2px;text-underline-offset:3px}
.dl-crf .crf-who-tx .crf-small{font-size:.9rem;line-height:1.62;color:#e7cfd8;border-top:1px solid rgba(255,255,255,.25);padding-top:18px;margin-top:26px}
.dl-crf .crf-also>div{padding:0 0 22px;margin-bottom:22px;border-bottom:1px solid rgba(255,255,255,.25)}
.dl-crf .crf-also>div:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.dl-crf .crf-also h3{font-size:1.1rem;font-weight:700;letter-spacing:-.014em;margin-bottom:6px}
.dl-crf .crf-also p{font-size:.96rem;line-height:1.62;color:#f6e9ee}

/* questions */
.dl-crf .crf-faq{padding:80px 0 56px}
.dl-crf .crf-faq .crf-in{display:grid;grid-template-columns:300px minmax(0,1fr);gap:56px;align-items:start}
.dl-crf .crf-qs{border-top:2px solid var(--ink)}
.dl-crf .crf-faq .fqa{padding:0 2px 20px;max-width:74ch}
.dl-crf .crf-faq .fqa p{font-size:1rem;line-height:1.7;color:#3d3b41}
.dl-crf>section.g{padding-bottom:64px}

@media(max-width:1100px){
  .dl-crf .crf-desk{grid-template-columns:1fr;gap:56px}
  .dl-crf .crf-got{display:grid;grid-template-columns:1fr 1fr;column-gap:40px}
  .dl-crf .crf-got>div:nth-last-child(2){border-bottom:0}
  .dl-crf .crf-why .crf-in,.dl-crf .crf-who .crf-in,.dl-crf .crf-price .crf-in{gap:44px}
  .dl-crf .crf-non{padding-left:32px}
  .dl-crf .crf-faq .crf-in{grid-template-columns:1fr;gap:24px}
}
@media(max-width:820px){
  .dl-crf .crf-in{padding:0 16px}
  .dl-crf .crf-why{padding:48px 0}
  .dl-crf .crf-why .crf-in,.dl-crf .crf-who .crf-in,.dl-crf .crf-price .crf-in{grid-template-columns:1fr}
  .dl-crf .crf-why-tx p{font-size:1.12rem;max-width:none}
  .dl-crf .crf-why-img img{height:240px}
  .dl-crf .crf-sheet,.dl-crf .crf-days,.dl-crf .crf-who{padding:56px 0}
  .dl-crf .crf-paper{--mg:0px;background:#fff;box-shadow:8px 8px 0 var(--cfield);margin-right:8px}
  .dl-crf .crf-paper:before{display:none}
  .dl-crf .crf-ptop{padding:24px 20px 10px}
  .dl-crf .crf-cl{grid-template-columns:1fr}
  .dl-crf .crf-cl-tx{padding:14px 20px 4px}
  .dl-crf .crf-note{margin:12px 20px 14px 34px;background:#fff0f4}
  .dl-crf .crf-note:before{top:-14px;right:auto;left:16px;width:0;height:14px;border-top:0;border-left:1.5px solid var(--cfield)}
  .dl-crf .crf-note:after{display:none}
  .dl-crf .crf-line{grid-template-columns:1fr;margin-top:30px}
  .dl-crf .crf-line>li{padding:0 0 28px 38px}
  .dl-crf .crf-line>li:before{left:9px;right:auto;top:6px;bottom:0;border-top:0;border-left:2px solid var(--ink)}
  .dl-crf .crf-dot{position:absolute;left:0;top:2px;margin:0}
  .dl-crf .crf-line>li.crf-span{padding:0}
  .dl-crf .crf-ways{padding:56px 0 24px}
  .dl-crf .crf-way{grid-template-columns:1fr;row-gap:6px;padding:20px 0}
  .dl-crf .crf-us{padding:24px 20px}
  .dl-crf .crf-go{grid-column:1}
  .dl-crf .crf-price{padding:40px 0 56px}
  .dl-crf .crf-non{border-left:0;padding-left:0;border-top:2px solid var(--ink);padding-top:32px}
  .dl-crf .crf-faq{padding:56px 0 40px}
}
@media(max-width:560px){
  .dl-crf .crf-got{grid-template-columns:1fr}
  .dl-crf .crf-got>div:nth-last-child(2){border-bottom:1px solid rgba(255,255,255,.2)}
  .dl-crf .crf-stacks{gap:20px}
  .dl-crf .crf-stacks>div{width:auto;flex:1}
}
