/* Scoped to the homepage SMS illustration; existing copy and sections stay intact. */
/* Keep the legacy fallback from flashing before the demo replaces it. */
@media (scripting: enabled) {#sms-product .sms-visual {visibility:hidden}}
.sms-demo {width:min(593px,100%);flex:1 1 593px;min-width:0;aspect-ratio:auto;color:#101b42;font-family:inherit;isolation:isolate;}
.sms-demo *, .sms-demo *::before, .sms-demo *::after {box-sizing:border-box;}
.sms-demo svg {width:20px;height:20px;flex-shrink:0;}
.sms-demo__toolbar {display:flex;align-items:center;justify-content:space-between;margin:0 0 14px;}
.sms-demo__demo {display:flex;align-items:center;gap:8px;color:#4e6186;font-size:12px;}
.sms-demo__demo i {width:6px;height:6px;background:#2f6ee9;border-radius:50%;}
.sms-demo__controls {display:flex;gap:6px;}
.sms-demo__controls button {width:32px;height:32px;display:grid;place-items:center;border:1px solid #c6d5f1;border-radius:50%;background:#f6f9ff;color:#405b88;cursor:pointer;transition:background .18s,color .18s;}
.sms-demo__controls svg {width:15px;height:15px;}
.sms-demo button:focus-visible {outline:3px solid #245de0;outline-offset:4px;}
.sms-demo__controls button:hover {background:#e3ecff;color:#174ec6;}
.sms-demo__stage {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:18px;align-items:center;}
.sms-demo__console {position:relative;padding:25px 22px;background:#fff;border-radius:20px;box-shadow:0 22px 48px rgb(36 69 130 / .12);}
.sms-demo__console-head {display:flex;gap:10px;align-items:center;margin-bottom:26px;}
.sms-demo__symbol {width:36px;height:36px;display:grid;place-items:center;background:#e8f0ff;border-radius:10px;color:#2866e2;flex-shrink:0;}
.sms-demo__console h3 {font-size:17px;line-height:1.35;letter-spacing:-.02em;margin:0;font-weight:650;}
.sms-demo__console-head p {margin:4px 0 0;font-size:11px;color:#586b8e;line-height:1.4;}
.sms-demo__field {margin-bottom:20px;}
.sms-demo__label {display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12px;line-height:1.4;font-weight:600;margin-bottom:8px;}
.sms-demo__coverage {font-size:9px;font-weight:500;color:#275ebd;white-space:nowrap;}
.sms-demo__input {display:flex;align-items:center;gap:10px;min-height:45px;border-radius:9px;background:#f0f5ff;border:1px solid #d5e1f7;padding:10px;font-size:12px;white-space:nowrap;}
.sms-demo__country {font-size:10px;color:#536888;padding-right:9px;border-right:1px solid #c6d5ed;}
.sms-demo__input [data-sms-number] {font-variant-numeric:tabular-nums;}
.sms-demo__message {padding:13px 12px;background:#f0f5ff;border:1px solid #d5e1f7;border-radius:9px;color:#4b6185;font-size:12px;line-height:1.8;min-height:86px;}
.sms-demo__message strong {color:#1f56bb;font-weight:700;}
.sms-demo__send {border:0;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:44px;border-radius:9px;background:#2f6ee9;color:white;font-family:inherit;font-weight:600;font-size:13px;line-height:1.4;cursor:pointer;transition:background .18s;}
.sms-demo__send:hover {background:#215bd1;}
.sms-demo__send:active {background:#174ab5;}
.sms-demo__send svg {width:16px;height:16px;}
.sms-demo__route {margin-top:26px;}
.sms-demo__route-label {display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;color:#576b8c;}
.sms-demo__route-label>span:first-child {font-weight:600;color:#284a83;}
.sms-demo__track {height:3px;background:#dfE8f9;position:relative;margin:15px 3px 10px;display:flex;justify-content:space-between;align-items:center;}
.sms-demo__track>div {position:absolute;inset:0;background:#2f6ee9;transform-origin:left;}
.sms-demo__track i {z-index:1;width:7px;height:7px;border-radius:50%;background:#c0d2f2;}
.sms-demo.is-delivered .sms-demo__track i {background:#2f6ee9;}
.sms-demo.is-delivered [data-sms-status] {color:#167957;}
.sms-demo__route-points {display:flex;justify-content:space-between;color:#617292;font-size:9px;}
.sms-demo__phone-wrap {min-width:0;text-align:center;}
.sms-demo__preview-label {display:block;color:#586b8e;font-size:11px;margin-bottom:12px;}
.sms-demo__phone {position:relative;min-height:369px;padding:14px 10px 24px;border:5px solid #dce5f4;border-radius:30px;background:#f9fbff;box-shadow:0 17px 28px rgb(59 90 154 / .13);overflow:hidden;}
.sms-demo__phone-top {display:flex;justify-content:space-between;align-items:center;font-size:9px;position:relative;padding:0 2px;margin-bottom:25px;}
.sms-demo__island {position:absolute;width:48px;height:12px;border-radius:8px;background:#152445;left:50%;transform:translateX(-50%);}
.sms-demo__phone-app {display:flex;align-items:center;gap:5px;text-align:left;font-size:11px;font-weight:650;padding-bottom:15px;border-bottom:1px solid #e2eaf7;}
.sms-demo__phone-app svg {width:14px;height:14px;color:#2866df;}
.sms-demo__today {display:block;color:#6b7b97;font-size:9px;margin:18px 0;}
.sms-demo__notification {position:relative;text-align:left;padding:12px 10px;background:#e6eeff;border-radius:12px 12px 12px 3px;color:#243b67;}
.sms-demo__notification>span {display:flex;justify-content:space-between;gap:4px;color:#4a628d;font-size:8px;font-weight:600;}
.sms-demo__notification small {font-size:8px;white-space:nowrap;font-weight:400;}
.sms-demo__notification p {margin:8px 0 0;font-size:12px;line-height:1.65;overflow-wrap:anywhere;}
.sms-demo__notification strong {color:#205bc8;}
.sms-demo__received {display:flex;justify-content:flex-end;gap:3px;align-items:center;color:#167957;font-size:9px;margin:12px 0;}
.sms-demo__received svg {width:12px;height:12px;}
.sms-demo__waiting {position:absolute;inset:130px 10px auto;display:flex;align-items:center;flex-direction:column;gap:10px;color:#637697;font-size:11px;}
.sms-demo__waiting svg {width:30px;height:30px;color:#7c98c6;}
.sms-demo__homebar {position:absolute;bottom:9px;left:32%;right:32%;height:3px;border-radius:3px;background:#b6c6e2;}
.sms-demo__note {margin:15px 0 0;text-align:center;font-size:10px;line-height:1.5;color:#647695;}
@media (max-width:1150px) and (min-width:921px) {.sms-demo__stage{gap:10px}.sms-demo__console{padding:20px 15px}.sms-demo__coverage{font-size:8px}.sms-demo__console h3{font-size:15px}.sms-demo__phone-app{font-size:10px}}
@media (max-width:920px) {.sms-demo{width:min(593px,100%);flex:none;aspect-ratio:auto;margin-inline:auto}.sms-demo__stage{gap:20px}}
@media (max-width:480px) {.sms-demo__stage{gap:10px;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.sms-demo__console{padding:18px 12px;border-radius:16px}.sms-demo__console-head{gap:7px;margin-bottom:20px}.sms-demo__symbol{width:28px;height:28px}.sms-demo__console h3{font-size:13px}.sms-demo__console-head p{font-size:9px}.sms-demo__label{font-size:10px}.sms-demo__coverage{font-size:8px}.sms-demo__input{gap:6px;padding:8px 6px;font-size:10px}.sms-demo__country{font-size:9px;padding-right:6px}.sms-demo__message{font-size:11px;padding:10px 8px}.sms-demo__route-label{font-size:8px;gap:4px}.sms-demo__phone{min-height:342px;border-width:4px;border-radius:23px;padding:12px 7px 24px}.sms-demo__phone-app{font-size:9px;gap:3px}.sms-demo__phone-app svg{width:12px;height:12px}.sms-demo__notification{padding:10px 8px}.sms-demo__notification p{font-size:11px}.sms-demo__notification>span{font-size:7px}.sms-demo__notification small{display:none}.sms-demo__received{font-size:8px}.sms-demo__waiting{font-size:10px}.sms-demo__preview-label{font-size:10px}.sms-demo__field{margin-bottom:16px}}
@media (prefers-reduced-motion:reduce) {.sms-demo *{transition:none!important}}
.sms-demo select{font-family:inherit;cursor:pointer;color:#244674;max-width:100%}
.sms-demo select:focus-visible{outline:2px solid #245de0;outline-offset:3px}
.sms-demo__input[data-sms-recipient]{display:block;width:100%;padding-right:5px}
.sms-demo__label select{border:1px solid #d5e1f7;background:#f0f5ff;border-radius:6px;padding:5px;font-size:10px;font-weight:400;min-width:0}
.sms-demo__message{min-height:110px}
.sms-demo__caret{display:none;width:1px;height:12px;background:#2f6ee9;vertical-align:middle;margin-left:2px}
.sms-demo.is-typing .sms-demo__caret{display:inline-block;animation:sms-caret .7s step-end infinite}
@keyframes sms-caret{50%{opacity:0}}
.sms-demo__select-wrap{position:relative;min-width:0}
.sms-demo__select-wrap select{appearance:none;-webkit-appearance:none;padding-right:29px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23244674' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat}
.sms-demo__label .sms-demo__select-wrap{max-width:70%}
.sms-demo__options{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:8;padding:4px;background:#fff;border:1px solid #d5e1f7;border-radius:9px;box-shadow:0 8px 22px rgb(36 69 130/.14);opacity:0;visibility:hidden;transform:translateY(-5px);transition:opacity .2s,transform .2s,visibility .2s;pointer-events:none;font-size:11px;font-weight:400;color:#244674}
.sms-demo__options.is-open{opacity:1;visibility:visible;transform:translateY(0)}
.sms-demo__options>div{padding:8px 6px;border-radius:5px;transition:background .25s,color .25s}
.sms-demo__options>.is-selected{background:#2f6ee9;color:#fff;font-weight:600;padding-right:23px;position:relative}
.sms-demo__options>.is-selected::after{content:'';position:absolute;right:9px;top:50%;width:9px;height:5px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-65%) rotate(-45deg)}
.sms-demo__select-wrap.is-previewing select{border-color:#6491ee;box-shadow:0 0 0 2px rgb(47 110 233/.1)}
.sms-demo__select-wrap select{transition:background-color .25s,border-color .25s,color .25s}
.sms-demo__select-wrap.is-chosen select{background-color:#e2ecff;border-color:#76a0ef;color:#16499e;font-weight:600}
.sms-demo__preview-label{width:fit-content;max-width:100%;margin:0 auto 12px;padding:6px 9px;border-radius:7px;font-size:12px;line-height:1.4;color:#365681;transition:background-color .25s,color .25s}
.sms-demo__preview-label.is-chosen{background:#e2ecff;color:#16499e;font-weight:600}
.sms-demo__label select{font-size:11px;padding:6px 8px}
@media(max-width:480px){.sms-demo__options{font-size:9px}.sms-demo__options>div{padding:8px 3px}.sms-demo__label .sms-demo__options{left:auto;min-width:112px;white-space:nowrap}.sms-demo__select-wrap select{padding-right:22px!important;background-position:right 6px center}.sms-demo__label select{font-size:9px}.sms-demo__preview-label{font-size:10px}}
@media(prefers-reduced-motion:reduce){.sms-demo__caret{animation:none!important}}
