/* Live experience: embedded section (default) or dialog. Uses the V5 warm white, charcoal and copper palette. */
.x-lock,.x-lock body{overflow:hidden}
.r-intro .r-button+.x-try{margin-left:12px}
.x-try.r-button{background:transparent;color:var(--ink);border-color:var(--ink)}
.x-try.r-button:hover{background:var(--ink);color:#faf9f6}
.r-closing .x-try.r-button{color:#f3f0e9;border-color:#f3f0e9;margin-left:12px}
.r-closing .x-try.r-button:hover{background:#f3f0e9;color:#22221e}
.r-closing .r-wrap>.x-closing-actions{display:flex;flex-wrap:wrap;gap:12px}
.r-closing .x-closing-actions .x-try.r-button{margin-left:0}
.r-nav-try{border:0;background:none;color:inherit;padding:27px 0;font-size:13px;transition:color .25s;display:inline-flex;align-items:center;gap:8px}
.r-nav-try::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent)}
.r-nav-try:hover{color:var(--accent)}
.r-product-story-copy .x-try-link{margin-left:28px;border:0;background:none;padding:0;color:var(--accent);cursor:pointer}

.x-backdrop{--surface:#faf9f6;--ink:#22221e;--muted:#70716a;--line:#dad8d0;--accent:#9b5138;--stone:#eceae4;--serif:Georgia,'Times New Roman',serif;position:fixed;inset:0;z-index:100;background:#22221e8c;display:flex;align-items:center;justify-content:center;padding:24px;font-family:Inter,Arial,sans-serif;color:var(--ink);animation:x-fade .2s ease-out}
.x-dialog{position:relative;width:min(640px,100%);max-height:min(860px,calc(100vh - 48px));overflow:auto;background:var(--surface);border-radius:4px;box-shadow:0 30px 60px #22221e30;padding:34px 36px 30px;animation:x-rise .28s cubic-bezier(.22,.61,.36,1)}
.x-dialog:focus{outline:none}
.x-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:26px}
.x-eyebrow{display:block;font-size:12px;color:var(--muted);margin-bottom:12px}
.x-head h2{font:400 clamp(28px,3.4vw,36px)/1.1 var(--serif);letter-spacing:-.045em}
.x-head p{font-size:14px;color:var(--muted);margin-top:10px;max-width:420px}
.x-close{flex:none;width:44px;height:44px;border:1px solid var(--line);border-radius:3px;background:none;display:grid;place-items:center;color:var(--ink)}
.x-close svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.6;fill:none}
.x-close:hover{border-color:var(--ink)}
.x-close:hover svg{transform:none}
.x-cards{display:grid;gap:10px}
.x-card{position:relative;display:grid;gap:6px;text-align:left;background:var(--stone);border:1px solid transparent;border-radius:4px;padding:20px 52px 20px 22px;color:var(--ink);transition:background .25s,border-color .25s}
.x-card:hover{background:#e4e0d7}
.x-card:focus-visible{border-color:var(--accent)}
.x-card-title{font:400 22px/1.2 var(--serif);letter-spacing:-.03em}
.x-card-text{font-size:13px;color:var(--muted)}
.x-card-go{position:absolute;right:22px;top:50%;transform:translateY(-50%);font-size:18px;transition:transform .25s}
.x-card:hover .x-card-go{transform:translate(4px,-50%)}
.x-step{font:400 24px/1.2 var(--serif);letter-spacing:-.03em;margin-bottom:20px}
.x-step:focus{outline:none}
.x-field{border:0;padding:0;margin:0 0 18px}
.x-field legend,.x-field>label{display:block;font-size:12px;font-weight:600;margin-bottom:10px;padding:0}
.x-choices{display:flex;flex-wrap:wrap;gap:8px}
.x-choice{position:relative}
.x-choice input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.x-choice span{display:inline-flex;align-items:center;min-height:40px;padding:8px 16px;border:1px solid var(--line);border-radius:3px;font-size:13px;background:#fff}
.x-choice input:checked+span{border-color:var(--ink);background:var(--ink);color:#faf9f6}
.x-choice input:focus-visible+span{outline:3px solid var(--accent);outline-offset:3px}
.x-field input[type=tel]{width:100%;min-height:48px;border:1px solid #caccc5;border-radius:0;padding:12px 14px;font-size:15px;background:#fff;color:var(--ink)}
.x-hint{font-size:11px;color:var(--muted);margin-top:6px}
/* T070: callback number as country code + local number; stacks on narrow screens. */
.x-phone-row{display:grid;grid-template-columns:minmax(0,max-content) minmax(0,1fr);gap:10px}
.x-phone-row>div{min-width:0}
.x-phone-row label{display:block;font-size:12px;font-weight:600;margin-bottom:10px}
.x-field select{width:100%;min-height:48px;border:1px solid #caccc5;border-radius:0;padding:12px 36px 12px 14px;font-size:15px;color:var(--ink);background:#fff 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='%2322221e' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;appearance:none;-webkit-appearance:none;font-family:inherit}
.x-field select:focus-visible{outline:3px solid var(--accent);outline-offset:5px}
.x-phone-confirm{font-size:13px;color:var(--ink);margin-top:8px;font-variant-numeric:tabular-nums}
/* T072: post-call SMS checkbox (callback countries with an SMS line) and the browser-call sample SMS */
.x-field>.x-sms-consent{display:flex;gap:12px;align-items:center;margin:14px 0 0;font-size:13px;font-weight:400;color:var(--ink);cursor:pointer}
.x-field>.x-sms-consent[hidden]{display:none}
.x-sms-consent input{width:18px;height:18px;margin:0;flex:none;accent-color:var(--accent)}
.x-report .x-sms-preview{margin-top:16px;border-top:1px solid var(--line);padding-top:14px}
.x-sms-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.x-sms-badge{font-size:11px;letter-spacing:.04em;text-transform:uppercase;border:1px dashed #8d8b82;border-radius:999px;padding:1px 8px;color:#5c5b54}
.x-sms-phone{margin-top:10px;max-width:340px;background:#f2f2f7;border-radius:18px;padding:12px 12px 14px}
.x-report .x-sms-sender{margin:0 0 8px;text-align:center;font-size:11px;font-weight:600;color:#6b6b73}
.x-report .x-sms-bubble{margin:0;max-width:92%;background:#e5e5ea;color:#1c1c1e;border-radius:16px 16px 16px 4px;padding:9px 12px;font-size:13px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.x-consent{background:var(--stone);padding:14px 16px;border-radius:3px;margin-bottom:16px}
.x-consent label{display:flex;gap:12px;align-items:flex-start;font-size:12px;line-height:1.6;color:#45463f;cursor:pointer}
.x-consent input{width:18px;height:18px;margin:2px 0 0;flex:none;accent-color:var(--accent)}
.x-turnstile{min-height:65px;margin-bottom:6px}
.x-error{font-size:13px;color:#a12f1c;background:#fbf0ec;border:1px solid #e8c3b6;padding:10px 12px;margin:10px 0 0;border-radius:3px}
.x-actions{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:20px}
.x-primary{gap:18px}
.x-primary[disabled]{background:#b9b7ae;cursor:not-allowed}
.x-primary[disabled]:hover{background:#b9b7ae}
.x-secondary{min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:3px;background:none;color:var(--ink);font-size:13px}
.x-secondary:hover:not([disabled]){border-color:var(--ink)}
.x-secondary[disabled]{opacity:.45;cursor:not-allowed}
.x-end{min-height:44px;padding:10px 20px;border:0;border-radius:3px;background:#a12f1c;color:#fff;font-size:13px}
.x-end:hover{background:#82261a}
.x-call-state{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:16px 18px;background:var(--stone);border-radius:3px}
.x-call-state strong{font-weight:500;font-size:15px;flex:1;min-width:180px}
.x-call-state strong:focus{outline:none}
.x-dot{width:10px;height:10px;border-radius:50%;background:#b9b7ae;flex:none}
.x-dot.is-pending{background:#c79a52;animation:x-pulse 1.2s ease-in-out infinite}
.x-dot.is-live{background:#3f7d4e}
.x-dot.is-error{background:#a12f1c}
.x-clock{font-variant-numeric:tabular-nums;font-size:13px;color:var(--muted)}
.x-captions{margin-top:14px;min-height:150px;max-height:260px;overflow:auto;border:1px solid var(--line);border-radius:3px;padding:14px 16px;background:#fff;font-size:14px}
.x-caption{display:grid;grid-template-columns:52px 1fr;gap:10px;margin-bottom:8px;line-height:1.5}
.x-caption>span:first-child{font-size:11px;color:var(--accent);padding-top:2px}
.x-caption.is-partial{color:var(--muted)}
.x-muted{color:var(--muted);font-size:13px}
.x-after{margin-top:18px}
.x-report{border-top:1px solid var(--line);padding-top:18px}
.x-report strong{font-weight:500;font-size:15px}
.x-report p{font-size:13px;color:var(--muted);margin:6px 0 14px}
.x-report code{display:block;margin-top:4px;font-size:12px;overflow-wrap:anywhere;word-break:break-all;user-select:all}
.x-claim{display:flex;flex-wrap:wrap;align-items:flex-start;gap:18px 28px}
.x-claim-main{flex:1 1 220px;min-width:0}
.x-claim-main p{margin-bottom:0}
.x-qr{flex:none}
.x-qr summary{cursor:pointer;font-size:12px;color:var(--muted);min-height:24px;list-style-position:inside}
.x-qr-slot{margin-top:8px;width:152px;height:152px;border:1px solid var(--line);border-radius:3px;background:#fff}
.x-qr-code{display:block;width:100%;height:100%}
.x-messages{min-height:220px;max-height:min(380px,48vh);overflow:auto;border:1px solid var(--line);border-radius:3px;padding:16px;background:#fff;display:flex;flex-direction:column;gap:12px}
.x-msg{max-width:86%}
.x-msg>span{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}
.x-msg p{font-size:14px;line-height:1.55;padding:10px 13px;border-radius:3px;white-space:pre-wrap;overflow-wrap:anywhere}
.x-msg-agent p{background:var(--stone)}
.x-msg-visitor{align-self:flex-end}
.x-msg-visitor>span{text-align:right}
.x-msg-visitor p{background:var(--ink);color:#faf9f6}
.x-msg-pending p{color:var(--muted)}
.x-msg-error p{background:#fbf0ec;color:#a12f1c}
.x-chat-form{display:flex;gap:8px;margin-top:12px}
.x-chat-form input{flex:1;min-width:0;min-height:48px;border:1px solid #caccc5;padding:12px 14px;font-size:15px;background:#fff;color:var(--ink);border-radius:0}
.x-chat-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:16px}
.x-whatsapp{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:13px;border-bottom:1px solid currentColor}
.x-whatsapp.is-suggested{color:var(--accent);font-weight:600}
.x-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Embedded section (#try): intro on the left, the live panel on the right; stacks below 900px. */
.x-section{border-top:1px solid var(--line);background:var(--surface);color:var(--ink)}
.x-embed{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:8%;align-items:start;padding-block:104px 107px}
.x-embed-intro h2{font-size:clamp(37px,3.7vw,55px);line-height:1.09}
.x-embed-intro>p{font-size:16px;line-height:1.75;color:var(--muted);margin-top:28px;max-width:460px}
.x-embed-intro>.x-embed-note{font-size:12px;line-height:1.6;margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}
.x-panel{position:relative;min-width:0;background:#fff;border:1px solid var(--line);border-radius:4px;padding:30px 32px 28px}
.x-panel:focus{outline:none}
.x-panel .x-cards .x-card{background:var(--stone)}
.x-panel .x-captions,.x-panel .x-messages{background:var(--surface)}
.x-panel .x-choice span{background:var(--surface)}
.x-panel .x-field input[type=tel],.x-panel .x-chat-form input,.x-panel .x-field select{background-color:var(--surface)}
@keyframes x-fade{from{opacity:0}}
@keyframes x-rise{from{opacity:0;transform:translateY(14px)}}
@keyframes x-pulse{50%{opacity:.35}}
@media(max-width:800px){.r-nav-try{padding:10px 0}}
@media(max-width:900px){
  .x-embed{grid-template-columns:1fr;row-gap:36px;padding-block:75px}
  .x-embed-intro>p{font-size:14px;margin-top:22px}
}
@media(max-width:560px){
  .x-embed{padding-block:64px 70px;row-gap:28px}
  .x-embed-intro h2{font-size:37px}
  .x-panel{padding:20px 16px 22px}
  .x-panel .x-messages{min-height:200px;max-height:55vh}
  .x-backdrop{padding:0;align-items:stretch}
  .x-dialog{width:100%;max-height:none;height:100%;border-radius:0;padding:22px 18px 24px}
  .x-head{margin-bottom:20px}
  .x-head p{font-size:13px}
  .r-intro .r-button+.x-try{margin-left:0;margin-top:10px}
  .x-phone-row{grid-template-columns:1fr}
  .x-card{padding:18px 46px 18px 18px}
  .x-card-title{font-size:20px}
  .x-dialog .x-messages{max-height:none;min-height:0;flex:1}
  .x-dialog[data-view=chat]{display:flex;flex-direction:column}
  .x-dialog[data-view=chat] .x-chat{flex:1;display:flex;flex-direction:column;min-height:0}
  .x-actions .x-primary{flex:1}
  .x-claim{gap:14px}
  .x-qr{flex-basis:100%}
  .x-qr-slot{width:132px;height:132px}
}
@media(prefers-reduced-motion:reduce){.x-backdrop,.x-dialog,.x-dot.is-pending{animation:none}.x-card,.x-card-go{transition:none}}
