/* codex42.io/contact and the free mock-up landing pages (A, B, C): page layout only. The form controls
   (.field, .seg, .btn, .form-status) come from ui-v4.css, which every page shares. v2 adds the booking button. */
.cx-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:clamp(40px,6vw,96px);align-items:start}
.cx-form{display:grid;gap:24px}
.cx-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.cx-form .field textarea{min-height:150px}
.cx-send{display:flex;align-items:center;flex-wrap:wrap;gap:14px 22px;margin-top:2px}
.cx-send .btn{min-width:210px}
.cx-fine{margin:0;font-size:14px;line-height:1.5;color:var(--c42-faint)}
.cx-fine a{color:var(--c42-text-2)}

.cx-side{padding-left:clamp(28px,4vw,56px);border-left:1px solid var(--c42-line)}
.cx-h{font:600 20px/1.25 var(--c42-display);color:var(--c42-text);margin:0 0 14px}
.cx-ways{list-style:none;margin:0;padding:0;border-top:1px solid var(--c42-line)}
.cx-ways li{border-bottom:1px solid var(--c42-line)}
.cx-way{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 16px;width:100%;padding:18px 0;
  background:none;border:0;font:inherit;text-align:left;text-decoration:none;color:inherit;cursor:pointer}
.cx-way b{font:600 17px/1.3 var(--c42-display);color:var(--c42-text);transition:color .2s}
.cx-way span{grid-column:1;font-size:14.5px;line-height:1.5;color:var(--c42-text-2)}
.cx-way svg{grid-column:2;grid-row:1 / span 2;width:18px;height:18px;fill:none;stroke:var(--c42-faint);stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;transition:transform .2s,stroke .2s}
.cx-way:hover,.cx-way:focus-visible{color:inherit}
.cx-way:hover b,.cx-way:focus-visible b{color:var(--c42-accent)}
.cx-way:hover svg,.cx-way:focus-visible svg{stroke:var(--c42-accent);transform:translateX(3px)}

.cx-h--next{margin-top:40px}
.cx-steps{list-style:none;margin:0;padding:0;display:grid;gap:14px;counter-reset:cx}
.cx-steps li{position:relative;padding-left:36px;font-size:15.5px;line-height:1.55;color:var(--c42-text-2);counter-increment:cx}
.cx-steps li::before{content:counter(cx);position:absolute;left:0;top:1px;width:24px;height:24px;border-radius:50%;
  display:grid;place-items:center;font:500 12px/1 var(--c42-mono);color:var(--c42-accent);border:1px solid rgba(67,224,138,.35)}

@media (max-width:900px){
  .cx-grid{grid-template-columns:minmax(0,1fr)}
  .cx-side{padding:36px 0 0;border-left:0;border-top:1px solid var(--c42-line)}
}
@media (max-width:640px){
  .phead .actions .btn{flex:1 1 100%}
  .cx-row{grid-template-columns:minmax(0,1fr)}
  .cx-send .btn{width:100%}
}

/* "Pick a time to talk": visible next to the main button, never louder than it */
.btn-book{background:rgba(67,224,138,.1);border-color:rgba(67,224,138,.6);color:var(--c42-accent)}
.btn-book:hover,.btn-book:focus-visible{background:rgba(67,224,138,.18);border-color:var(--c42-accent);color:var(--c42-accent-hover)}
.btn-book svg{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hero-alt,.cta-alt{margin-top:16px;font-size:15px;color:var(--c42-text-2)}
.cta .cta-alt{margin:20px auto 0}
.hero-alt a,.cta-alt a{color:var(--c42-text);text-decoration:underline;text-underline-offset:3px}
.hero-alt a:hover,.cta-alt a:hover{color:var(--c42-accent)}

/* the booking panel at the top of the side column */
.cx-talk{padding:22px 22px 24px;margin-bottom:32px;border-radius:18px;border:1px solid rgba(67,224,138,.35);
  background:linear-gradient(180deg,rgba(67,224,138,.09),rgba(67,224,138,.02))}
.cx-talk .cx-h{margin-bottom:8px}
.cx-talk p{margin:0 0 18px;font-size:15px;line-height:1.55;color:var(--c42-text-2)}
.cx-talk .btn{width:100%}
.cx-side .ticks{margin:0}
.cx-side .ticks li{font-size:15.5px}

/* v3: the contact page fits one screen. Short header, the message form on the left, and on the right the free
   mock-up card (the main way in, to the /brief wizard) above a compact list of other ways to reach us. */
.cxp{padding:calc(var(--c42-nav-h) + clamp(24px,4.5vh,48px)) 0 clamp(36px,6vh,64px)}
.cxp-head{margin-bottom:clamp(20px,3.6vh,36px)}
.cxp-head .eyebrow{margin-bottom:12px}
.cxp-head h1{font-size:clamp(32px,3.6vw,48px);letter-spacing:-.03em;margin-bottom:10px}
.cxp-head .lede{max-width:none;font-size:clamp(16px,1.3vw,18px)}
.cxp-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(32px,4.5vw,64px);align-items:start}
.cxp-form{gap:16px}
.cxp-form .cx-h{margin:0}
.cxp-form .field{gap:6px}
.cxp-form .field input,.cxp-form .field select,.cxp-form .field textarea{padding-top:12px;padding-bottom:12px}
.cxp-form .field textarea{min-height:96px}
.cxp-form .seg{margin-top:4px}
.cxp-form .seg span{min-height:44px}
.cxp-mock{padding:22px 24px 24px;margin-bottom:24px;border-radius:18px;border:1px solid rgba(67,224,138,.5);
  background:radial-gradient(120% 140% at 100% 0%,rgba(67,224,138,.17),rgba(67,224,138,.03) 62%),#06100a;
  box-shadow:0 26px 60px -32px rgba(67,224,138,.55)}
.cxp-tag{margin:0 0 10px;font:500 12px/1 var(--c42-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--c42-accent)}
.cxp-mock h2{font-size:clamp(22px,2vw,26px);letter-spacing:-.02em;margin:0 0 8px}
.cxp-mock p:not(.cxp-tag){margin:0 0 18px;font-size:15px;line-height:1.55;color:var(--c42-text-2)}
.cxp-mock .btn{width:100%}
.cxp-mock .btn svg{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cxp-side .cx-h{margin-bottom:12px;font-size:18px}
.cxp-ways{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border-top:0}
.cxp-ways li{border:0;display:flex}
.cxp-ways .cx-way{align-content:start;padding:12px 14px;border:1px solid var(--c42-line);border-radius:14px;
  background:rgba(255,255,255,.02);transition:border-color .2s,background .2s}
.cxp-ways .cx-way:hover,.cxp-ways .cx-way:focus-visible{border-color:rgba(67,224,138,.5);background:rgba(67,224,138,.05)}
.cxp-ways .cx-way b{font-size:15.5px}
.cxp-ways .cx-way span{grid-column:1 / -1;font-size:13.5px;line-height:1.45}
.cxp-ways .cx-way svg{grid-row:1;width:16px;height:16px}
@media (max-width:900px){
  .cxp-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .cxp-side{display:contents}
  .cxp-mock{order:-1;margin:0}
  .cxp-side > .cx-h{margin:8px 0 -16px}
}
@media (max-width:520px){.cxp-ways{grid-template-columns:minmax(0,1fr)}}
