

.page { --grey-band: #171518; --col: min(760px, 100% - 2 * var(--mx)); }
.page ::selection { background: var(--red); color: var(--bone); }
.nw { white-space: nowrap; }   
.r2-in { position: relative; z-index: 1; width: var(--col); margin-inline: auto; }


.r2-head { width: var(--col); margin-inline: auto; padding-block: var(--s4) var(--s3); }
.r2-line { margin: var(--s2) auto 0; max-width: 52ch; text-wrap: pretty; }
.r2-req { margin-top: var(--s1); }


.r2-step { display: grid; grid-template-columns: 1fr var(--col) 1fr; align-items: center; overflow: clip; padding-block: var(--s4);
  background: var(--grey-band); border-top: 1px solid var(--hair); }
.r2-step:nth-of-type(even) { background: var(--ink); }
.r2-step:nth-of-type(odd) .fld input, .r2-step:nth-of-type(odd) .fld textarea { background: var(--ink); }   
.r2-step > .r2-in { grid-area: 1 / 2; width: auto; margin-inline: 0; }   
.r2-step::before, .r2-step::after { content: attr(data-n); content: attr(data-n) / ""; grid-area: 1 / 1; justify-self: center;
  font: 700 360px/0.8 var(--f-head); letter-spacing: 0; pointer-events: none; }   
.r2-step:nth-of-type(even)::before, .r2-step:nth-of-type(even)::after { grid-column: 3; }
.r2-step::before { color: transparent; -webkit-text-stroke: 1.5px var(--bone); }
.r2-step::after { color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: 2px var(--red); opacity: 0; }   
.r2-step:focus-within::after { opacity: 1; }
.r2-step .h2 { max-width: 22ch; }


.r2-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s1); margin-top: var(--s2); }
.r2-step > .r2-in > .fld { margin-top: var(--s2); }
.fld { display: grid; row-gap: 8px; align-content: start; }
.fld label { font-weight: 500; line-height: 1.3; }
.fld .hint { color: var(--ash); font-weight: 400; }
.fld input, .fld textarea { width: 100%; min-height: 52px; padding: 12px 16px; background: var(--panel); color: var(--bone); caret-color: var(--bone);
  border: 1px solid var(--edge); border-radius: var(--r-btn); font: 400 17px/1.4 var(--f-body); }
.fld textarea { min-height: 176px; resize: vertical; }
.fld input:focus-visible, .fld textarea:focus-visible { outline: 2px solid var(--bone); outline-offset: 2px; border-color: var(--bone); }
.err { display: none; font-size: var(--sm); line-height: 1.4; }
.err::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--red); vertical-align: 1px; }
.fld :user-invalid { border-color: var(--bone); }
.fld :user-invalid ~ .err, .fld [aria-invalid="true"] ~ .err { display: block; }
.fld [aria-invalid="true"] { border-color: var(--bone); }
.fld-tick { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-top: var(--s1); }
.fld-tick input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--bone); }
.fld-tick { cursor: pointer; width: fit-content; padding-block: 10px; }   

.r2-send { margin-top: var(--s2); }
.r2-status { margin-top: 16px; font-size: var(--h3); line-height: 1.35; }   
.btn:disabled { opacity: 0.6; cursor: progress; }   
.btn.sent:disabled { opacity: 1; cursor: default; }


.r2-close { padding-block: var(--s3) var(--s4); border-top: 1px solid var(--hair); }
.r2-mark { width: 64px; margin-inline: auto; }
.r2-close .h3 { max-width: 30ch; margin: var(--s1) auto 0; text-wrap: balance; }
.r2-alt { margin-top: var(--s1); }
.r2-alt .link { display: inline-block; padding-block: 11px; }


@container site (max-width: 1399px) {
  .r2-step { grid-template-columns: var(--col); justify-content: center; align-items: start; }
  .r2-step > .r2-in { grid-area: 2 / 1; }
  .r2-step::before, .r2-step::after, .r2-step:nth-of-type(even)::before, .r2-step:nth-of-type(even)::after {
    grid-area: 1 / 1; justify-self: start; margin-bottom: var(--s1); font-size: 200px; }
  .r2-step .h2 { max-width: none; }
}
@container site (max-width: 720px) {
  .r2-step::before, .r2-step::after, .r2-step:nth-of-type(even)::before, .r2-step:nth-of-type(even)::after { font-size: 140px; }
  .r2-head .d1 { font-size: 56px; }
  .r2-pair { grid-template-columns: 1fr; }
  .r2-send .btn { width: 100%; justify-content: center; }
}


.fld-tick input { appearance: none; -webkit-appearance: none; display: grid; place-content: center; width: 24px; height: 24px; margin: 0; flex: none;
  background: var(--ink); border: 1px solid var(--bone); border-radius: var(--r); cursor: pointer; }
.fld-tick input::before { content: ""; width: 14px; height: 14px; background: var(--ink); opacity: 0;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%); }
.fld-tick input:checked { background: var(--bone); }
.fld-tick input:checked::before { opacity: 1; }
.fld-tick input:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
.fld textarea::-webkit-resizer { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M11 3 L3 11 M11 7 L7 11' stroke='%23ECE6DA' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat 100% 100% / 12px 12px; }
@media (forced-colors: active) { .fld-tick input { appearance: auto; -webkit-appearance: auto; } }

@media (prefers-reduced-motion: no-preference) {
  html:not(.no-motion) .r2-step::after { transition: opacity 320ms var(--ease); }
}
.r2-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   
