/* Contact (plan.md, "Contact"): how to reach a real person beside a phone that gets our reply; the three-step form
   and what happens next; the chat for anyone who would rather not wait. */

/* the header: the words, the phone number and the email at the left; the phone on its desk at the right, closer in so
   its message reads (the figure is scaled around the phone; core.js lays the reply on its glass before the scale) */
.clines { display: grid; gap: 0.6rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.clines a { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 44px; color: #fff; font: 650 clamp(1.15rem, 1rem + 0.6vw, 1.45rem)/1.2 var(--font-display); text-decoration: none; }
.clines a:hover { color: var(--c-azure); }
.clines__icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: color-mix(in srgb, var(--c-azure) 18%, transparent); color: var(--c-azure); }
.chero__more { margin-top: 1.25rem; }
.chero__stage { aspect-ratio: 8 / 7; }
.chero__photo { position: absolute; inset: 0; margin: 0; transform: scale(1.7); transform-origin: 50% 56.6%; }
.chero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 87% 50%; }
.chero__stop { left: 76%; top: 24%; }
@media (max-width: 900px) {
  .chero__stage { aspect-ratio: 4 / 5; }
  .chero__photo { transform: scale(1.6); }
  .chero__photo img { object-position: 69% 50%; }
  .chero__stop { left: auto; top: 48%; right: 0.85rem; } /* beside the phone's right edge, clear of its glass */
}

/* the message app on the phone's glass, drawn at 180 x 355 */
.cscreen { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 9px; padding: 30px 11px 12px; background: linear-gradient(180deg, #f5f9ff, #e4f0ff); font-family: var(--font-ui); color: var(--c-ink); }
.cscreen__top { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; padding-bottom: 9px; border-bottom: 1px solid rgba(3, 15, 43, 0.12); font-size: 15px; line-height: 1.2; }
.cscreen__av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-night); color: var(--c-azure); }
.cscreen__av svg { width: 16px; height: 16px; }
.cscreen__msg { max-width: 90%; margin: 0; padding: 8px 10px; border-radius: 14px 14px 14px 4px; background: #fff; font-size: 14px; line-height: 1.3; box-shadow: 0 2px 6px rgba(3, 15, 43, 0.08); opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 10px)); }
.cscreen__msg--me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--c-azure); }

/* the form on its white card, what happens next beside it */
.cform__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.cform__card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-l); background: var(--c-paper); box-shadow: var(--shadow-lift); }
.cform__card h2 { font-size: var(--fs-h2); line-height: var(--lh-head); }
.cform__card .lead { margin-top: 0.5rem; }
.cform { margin-top: 1.5rem; }
.cform__marks { display: flex; gap: 0.5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.cform__marks li { flex: 1; display: flex; align-items: center; gap: 0.5rem; padding-top: 0.6rem; border-top: 4px solid color-mix(in srgb, var(--c-ink) 12%, transparent); font: 600 0.9rem/1.2 var(--font-ui); color: var(--c-ink-soft); }
.cform__marks li span { flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: color-mix(in srgb, var(--c-ink) 8%, transparent); font-size: 0.8rem; }
.cform__marks li[aria-current="step"] { border-top-color: var(--c-azure); color: var(--c-ink); }
.cform__marks li[aria-current="step"] span { background: var(--c-night); color: #fff; }
.cform__marks li[data-kit-past] { border-top-color: var(--c-go); color: var(--c-ink); }
.cform__marks li[data-kit-past] span { background: var(--c-go); color: var(--c-ink); }
.cform__step { display: grid; gap: 1rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.cform__step legend { margin-bottom: 1rem; padding: 0; font: 650 1.25rem/1.25 var(--font-display); color: var(--c-ink); }
.cchoices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.cchoices .cfield__error { grid-column: 1 / -1; }
.cchoice { position: relative; display: flex; align-items: center; gap: 0.85rem; min-height: 4.5rem; padding: 0.85rem 1rem; border: 1.5px solid color-mix(in srgb, var(--c-ink) 16%, transparent); border-radius: var(--radius-m); background: var(--c-paper); cursor: pointer; transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); }
.cchoice:hover { border-color: var(--c-azure); }
.cchoice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cchoice:has(input:focus-visible) { outline: 3px solid var(--c-azure); outline-offset: 2px; }
.cchoice[data-kit-on] { border-color: var(--c-night); background: color-mix(in srgb, var(--c-azure) 12%, var(--c-paper)); box-shadow: 0 0 0 1px var(--c-night); }
.cchoice__icon { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--c-ground); color: var(--c-ink); }
.cchoice[data-kit-on] .cchoice__icon { background: var(--c-night); color: var(--c-azure); }
.cchoice__text { display: grid; gap: 0.15rem; }
.cchoice__text b { font: 650 1.05rem/1.2 var(--font-display); color: var(--c-ink); }
.cchoice__text span { font-size: 0.925rem; line-height: 1.3; color: var(--c-ink-soft); }
.cfield { display: grid; gap: 0.4rem; }
.cfield label { font: 600 1rem/1.3 var(--font-ui); color: var(--c-ink); }
.cfield__hint { font-weight: 400; color: var(--c-ink-soft); }
.cfield input { width: 100%; height: 3.25rem; padding: 0 1rem; border: 1.5px solid color-mix(in srgb, var(--c-ink) 24%, transparent); border-radius: var(--radius-m); background: #fff; color: var(--c-ink); font: 500 1.05rem/1.2 var(--font-ui); }
.cfield input:focus-visible { outline: 3px solid var(--c-azure); outline-offset: 1px; border-color: var(--c-night); }
.cfield input[aria-invalid="true"] { border-color: #b3261e; }
.cfield__error { margin: 0; font-size: 0.925rem; color: #b3261e; }
.cform__nav { display: flex; justify-content: flex-end; gap: 0.75rem; margin-top: 0.5rem; }
.cbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.5rem; border: 1.5px solid transparent; border-radius: var(--radius-m); background: var(--c-night); color: #fff; font: 700 1rem/1 var(--font-ui); cursor: pointer; transition: background-color var(--dur-fast) var(--ease-out); }
.cbtn:hover { background: #12245a; }
.cbtn:focus-visible { outline: 3px solid var(--c-azure); outline-offset: 2px; }
.cbtn--back { background: transparent; border-color: color-mix(in srgb, var(--c-ink) 24%, transparent); color: var(--c-ink); }
.cbtn--back:hover { background: color-mix(in srgb, var(--c-ink) 6%, transparent); }
.cbtn--send { background: var(--c-go); color: var(--c-ink); }
.cbtn--send:hover { background: color-mix(in srgb, var(--c-go) 88%, #000); }
.cform[data-kit-sending] .cbtn--send { opacity: 0.7; }
.cnext { display: grid; gap: 1.25rem; padding-top: 0.5rem; }
.cnext h3 { font-size: var(--fs-h3); line-height: 1.2; }
.cnext__list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.cnext__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.85rem; align-items: start; color: var(--c-ink-soft); }
.cnext__list b { color: var(--c-ink); }
.cnext__mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 12px; background: var(--c-night); color: var(--c-azure); }
@media (max-width: 900px) { .cform__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .cchoices { grid-template-columns: 1fr; }
  .cchoice { min-height: 4rem; }
  .cform__marks li { font-size: 0.8rem; }
}

/* skip the wait: the joiner at the left of his photo, the chat over the drill press at the right */
.cskip__grid { align-items: center; }
.cskip__pic { aspect-ratio: 4 / 3.4; --strip: 16rem; }
.cskip__photo { object-position: 30% 40%; }
.cskip__chat { right: 1rem; bottom: 1rem; width: 320px; }
.cskip__stop { right: 1rem; bottom: calc(1rem + 330px + 0.5rem); }
@media (max-width: 900px) {
  .cskip__photo { object-position: 40% 25%; }
  .cskip__stop { bottom: auto; }
}
