﻿/* CallAdapt contact/demo visual upgrade — isolated scoped CSS, 2026-11-20 */

body:has(.demo-layout){background:radial-gradient(ellipse 78% 37% at 52% 0%,rgba(88,224,197,.20),transparent 72%),#0d2732}
body:has(.demo-layout) .top .nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;min-height:78px}
body:has(.demo-layout) .top .nav .logo{justify-self:start;grid-column:1;grid-row:1}
body:has(.demo-layout) .top .nav>a:not(.logo):not(.btn){justify-self:center;grid-column:2;grid-row:1}
body:has(.demo-layout) .top .nav>.btn{justify-self:end;grid-column:3;grid-row:1}
body:has(.demo-layout) main.shell{padding-top:50px;padding-bottom:68px}
body:has(.demo-layout) main.shell>.eyebrow,body:has(.demo-layout) main.shell>h1,body:has(.demo-layout) main.shell>.lead{text-align:center;margin-inline:auto}
body:has(.demo-layout) main.shell>h1{max-width:900px;font-size:clamp(2.15rem,5vw,4rem);line-height:1.15;letter-spacing:-.035em;margin-block:15px 16px;text-wrap:balance}
body:has(.demo-layout) main.shell>.lead{max-width:770px;font-size:clamp(.98rem,1.6vw,1.16rem);line-height:1.9;color:#bfe0e6}
.demo-layout{display:grid;grid-template-columns:minmax(0,1.13fr) minmax(0,.87fr);gap:22px;align-items:start;margin:36px 0 42px}
.demo-form{color-scheme:light;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:5px;box-sizing:border-box;min-width:0;border:1px solid #cbdde9;background:linear-gradient(160deg,#fff,#f2f8fc);color:#152a39;padding:clamp(20px,3vw,32px);border-radius:24px;box-shadow:0 24px 68px rgba(1,13,25,.20)}
.demo-form>h2,.demo-form>.demo-honeypot,.demo-form>.demo-consent,.demo-form>button,.demo-form>.demo-note,.demo-form>.demo-field:has(select),.demo-form>.demo-field:has(textarea){grid-column:1/-1}
.demo-form h2{font-size:clamp(1.35rem,2vw,1.8rem);line-height:1.35;margin:0 0 6px;color:#142e3d}
.demo-field{display:block;margin:9px 0 2px;font-weight:700;font-size:.9rem;line-height:1.5;min-width:0}
.demo-field input,.demo-field select,.demo-field textarea{display:block;box-sizing:border-box;width:100%;min-width:0;border:1px solid #bfd0df;border-radius:12px;padding:12px 14px;margin-top:9px;min-height:49px;font:inherit;font-weight:500;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;background:white;color:#132c3e}
.demo-field textarea{min-height:96px;resize:vertical}
.demo-field input:hover,.demo-field select:hover,.demo-field textarea:hover{border-color:#6e9eaa}
.demo-field input:focus-visible,.demo-field select:focus-visible,.demo-field textarea:focus-visible{outline:0;border-color:#079d9a;box-shadow:0 0 0 4px rgba(27,183,176,.18)}
.demo-field input[dir=ltr]{text-align:left}
.demo-consent{display:flex;gap:12px;align-items:flex-start;line-height:1.75;font-size:.86rem;margin:15px 0 8px;color:#2f4654}
.demo-consent input{width:20px;height:20px;flex:none;margin:3px 0 0;accent-color:#0d938f;cursor:pointer}
.demo-form button{border:none;cursor:pointer;font:inherit}
.demo-form button[type=submit]{display:flex;justify-content:center;align-items:center;min-height:52px;width:100%;border-radius:12px;font-size:1rem;font-weight:800;background:#70dbc9;color:#0c2730;box-shadow:0 12px 24px rgba(12,132,124,.14);transition:background .15s ease,transform .15s ease}
.demo-form button[type=submit]:hover{background:#92ebdc;transform:translateY(-1px)}
.demo-form button[type=submit]:focus-visible{outline:3px solid #0b958f;outline-offset:3px}
.demo-note{font-size:.82rem;color:#4a6172;line-height:1.75;margin:7px 0 0}
.demo-aside{min-width:0;display:grid;gap:13px}
.demo-aside .tile{margin:0;padding:22px;border:1px solid rgba(129,213,211,.17);border-radius:18px;background:linear-gradient(135deg,rgba(41,102,105,.45),rgba(24,65,75,.68))}
.demo-aside .tile h2{font-size:1.12rem;line-height:1.5;margin:0 0 6px}
.demo-aside .tile p{margin:0;line-height:1.8;color:#c7e0e6}
.demo-aside>p{margin:5px 0 0;line-height:1.85}
.demo-aside>p:last-child{margin-top:0}
.demo-success{border:1px solid #8fc2aa;color:#1b5e41;background:#eaf6ef;padding:16px 20px;border-radius:14px;margin:22px auto;max-width:740px}
.demo-honeypot{position:absolute;inset-inline-start:0;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:790px){
 body:has(.demo-layout) .top .nav{grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:8px;min-height:auto;padding-block:12px}
 body:has(.demo-layout) .top .nav .logo{grid-column:1;grid-row:1}
 body:has(.demo-layout) .top .nav>a:not(.logo):not(.btn){grid-column:2;grid-row:1;justify-self:start}
 body:has(.demo-layout) .top .nav>.btn{grid-column:1/-1;grid-row:2;justify-self:stretch;text-align:center}
 body:has(.demo-layout) main.shell{padding-top:32px;padding-bottom:44px}
 body:has(.demo-layout) main.shell>h1{font-size:clamp(2rem,8.2vw,2.55rem);margin-block:12px;letter-spacing:-.02em}
 body:has(.demo-layout) main.shell>.lead{font-size:.95rem;line-height:1.8}
 .demo-layout{grid-template-columns:1fr;gap:18px;margin:25px 0 35px}
 .demo-form{grid-template-columns:1fr;gap:4px;padding:20px 17px;border-radius:20px}
 .demo-form>*{grid-column:1/-1}
 .demo-form h2{margin-bottom:4px}
 .demo-field{margin:8px 0 2px}
 .demo-field input,.demo-field select,.demo-field textarea{min-height:48px}
 .demo-aside .tile{padding:17px 18px}
}
@media(prefers-reduced-motion:reduce){.demo-form *{transition:none!important}}

