/* Contact & demo-request form — follows the cd-* design system in site-refresh.css. */
.cd-contact { padding-block: 96px; background: #fff; }
.cd-contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.cd-contact-title { font-size: clamp(30px, 3.2vw, 44px); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; margin: 0 0 16px; }
.cd-contact-intro { font-size: 17px; line-height: 1.8; color: #4a4450; margin-bottom: 36px; max-width: 640px; }

.cd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.cd-field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cd-field-half { grid-column: span 1; }
.cd-field > label { font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--home-ink, #1b252e); }
.cd-required { color: #7828aa; }
.cd-form .cd-input { width: 100%; font: inherit; font-size: 16px; line-height: 1.5; color: var(--home-ink, #1b252e);
  background: #fff; border: 1px solid #d6d1dc; border-radius: 14px; padding: 15px 18px; margin: 0;
  transition: border-color .15s, box-shadow .15s; box-shadow: none; height: auto; }
.cd-form textarea.cd-input { min-height: 170px; resize: vertical; }
.cd-form select.cd-input { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233c0063' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; }
.cd-form .cd-input:hover { border-color: #b9b1c2; }
.cd-form .cd-input:focus { outline: none; border-color: #7828aa; box-shadow: 0 0 0 4px rgba(120, 40, 170, .14); }
.cd-field.has-error .cd-input { border-color: #b3261e; }
.cd-error { font-size: 13px; color: #b3261e; }
.cd-error ul { list-style: none; margin: 0; padding: 0; }
.cd-help { font-size: 12px; color: #625a68; }
.cd-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 400; }
.cd-form-alert { border: 1px solid #b3261e; background: #fdf0ef; color: #7a1c16; border-radius: 14px; padding: 14px 18px; margin-bottom: 22px; font-size: 14px; }
.cd-form-footer { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.cd-form-footer .cd-button { cursor: pointer; }
.cd-captcha { margin-top: 24px; min-height: 65px; min-width: 0; }
.cd-form-note { font-size: 12px; color: #625a68; margin: 0; max-width: 340px; line-height: 1.7; }

.cd-contact-card { background: var(--home-purple, #3c0063); color: #f3f0f6; border-radius: 22px; padding: 38px 34px; position: sticky; top: 110px; }
.cd-contact-card .cd-eyebrow { color: var(--home-lime, #d8ff36); }
.cd-steps { list-style: none; counter-reset: step; margin: 0 0 30px; padding: 0; }
.cd-steps li { counter-increment: step; position: relative; padding: 0 0 22px 46px; font-size: 15px; line-height: 1.7; color: #ddd3e6; }
.cd-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(216, 255, 54, .14); color: var(--home-lime, #d8ff36); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.cd-steps strong { color: #fff; display: block; font-weight: 600; }
.cd-contact-details { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 22px; }
.cd-contact-details p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; }
.cd-contact-details span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #b9a8c8; margin-bottom: 4px; }
.cd-contact-details a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.cd-contact-social { display: flex; gap: 16px; margin-top: 8px; }
.cd-contact-social a { color: #fff; font-size: 20px; }

.cd-thanks { max-width: 720px; margin: 0 auto; text-align: center; padding: 56px 32px; border: 1px solid #dedbe3; border-radius: 22px; background: #f8f6fa; }
.cd-thanks h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.04em; margin: 18px 0 14px; }
.cd-thanks .cd-lead { margin: 0 auto; }
.cd-thanks .cd-actions { justify-content: center; }
.cd-thanks-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--home-lime, #d8ff36); color: #111; font-size: 28px; font-weight: 700; display: inline-grid; place-items: center; }

@media (max-width: 991px) { .cd-contact-grid { grid-template-columns: 1fr; gap: 44px; } .cd-contact-card { position: static; } }
@media (max-width: 600px) { .cd-contact { padding-block: 64px; } .cd-form-grid { grid-template-columns: 1fr; } .cd-field-half { grid-column: 1 / -1; } .cd-contact-card { padding: 30px 24px; } }
/* Theme overrides: the base theme spaces labels and paints buttons black. */
.cd-form .cd-field > label { margin: 0; padding: 0; }
.cd-form button.cd-button { background: var(--home-lime, #d8ff36); border-color: var(--home-lime, #d8ff36); color: #111; }
.cd-form button.cd-button:hover { background: #fff; border-color: var(--home-purple, #3c0063); color: var(--home-purple, #3c0063); }
