/* iMessage demo: scoped so this does not change the rest of the landing page. */
.hero{padding-top:36px;padding-bottom:76px}.hero-copy h1{margin-bottom:28px}.hero-copy .eyebrow{margin-bottom:24px}.hero-description{margin-bottom:29px}
.iphone-scene{width:100%;max-width:440px;margin:0;display:flex;align-items:center;flex-direction:column;padding:0 16px;isolation:isolate}.iphone-scene:before{inset:76px -8px 54px;background:#e8ecff;border-radius:44% 49% 45% 43%;transform:rotate(-8deg)}.iphone-scene .scribble-note{right:-22px;top:28px;font-size:15px;z-index:2}.iphone-scene .scribble-note svg{width:71px;margin-left:20px}
.iphone{position:relative;width:min(100%,340px);aspect-ratio:390/844;padding:9px;border-radius:53px;background:linear-gradient(120deg,#777979,#252627 12%,#5b5e5f 38%,#202223 65%,#6e7272);box-shadow:0 0 0 1px #999b9b,0 0 0 3px #363839,0 0 0 4px #9d9e9b,0 26px 42px -16px #30334c66,15px 10px 28px -13px #292c4233;transform:rotate(2deg);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;color:#000;-webkit-font-smoothing:antialiased}.iphone-screen{background:#fff;height:100%;border:2px solid #090909;border-radius:44px;overflow:hidden;display:flex;flex-direction:column;position:relative}.iphone-side{position:absolute;background:linear-gradient(90deg,#444,#929494,#303131);width:4px;border-radius:3px;left:-5px}.iphone-action{top:101px;height:23px}.iphone-volume-up{top:153px;height:43px}.iphone-volume-down{top:210px;height:43px}.iphone-power{left:auto;right:-5px;top:173px;height:65px}
.iphone-status{height:56px;min-height:56px;display:flex;align-items:center;justify-content:space-between;padding:3px 22px 0 24px;font-size:15px;font-weight:600;position:relative;letter-spacing:-.3px}.iphone-island{position:absolute;width:104px;height:29px;top:12px;left:50%;transform:translateX(-50%);border-radius:30px;background:#080808}.iphone-island:after{content:"";width:7px;height:7px;background:radial-gradient(circle at 40% 40%,#17283b,#090c14 75%);border-radius:50%;position:absolute;right:13px;top:11px}.iphone-status-icons{display:flex;align-items:center;gap:4px}.iphone-status-icons svg{width:15px;height:12px;fill:currentColor}.iphone-status-icons .iphone-battery{width:24px}
.imessage-header{display:flex;align-items:center;justify-content:space-between;padding:4px 16px 12px;min-height:79px;background:linear-gradient(#fff,#fffdfdf2);box-shadow:0 9px 18px 0 #ffffffd9;position:relative;z-index:3}.imessage-back,.imessage-video{width:35px;height:35px;display:grid;place-items:center;background:#ffffffef;border-radius:50%;box-shadow:0 3px 12px #0000000b,0 0 0 .5px #d9d9d955}.imessage-back svg{width:23px;height:23px;stroke:#161616;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;fill:none}.imessage-video svg{width:22px;height:22px;stroke:#161616;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;fill:none}.imessage-group{display:flex;flex-direction:column;align-items:center;gap:5px}.imessage-group-photo{position:relative;width:57px;height:40px}.imessage-contact{width:29px;height:29px;border-radius:50%;border:1.5px solid #fff;position:absolute;display:grid;place-items:center;font-weight:500;font-size:14px;overflow:hidden}.contact-jake{background:linear-gradient(#aaaeb5,#747984);color:#fff;left:1px;top:0}.contact-katie{background:linear-gradient(#dcabc2,#ad688a);color:#fff;right:0;top:0}.contact-yoyo{left:14px;bottom:0}.imessage-group-name{display:flex;align-items:center;gap:3px;font-size:12px;font-weight:600;letter-spacing:-.1px}.imessage-group-name svg{width:9px;height:9px;stroke:#919193;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
.imessage-scroll{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;overscroll-behavior:contain;padding:0 15px 12px;scroll-behavior:smooth;mask-image:linear-gradient(to bottom,transparent,black 12px,black)}.imessage-scroll::-webkit-scrollbar{display:none}.imessage-messages{display:flex;flex-direction:column;gap:12px;padding-top:5px;padding-bottom:10px}.imessage-timestamp{text-align:center;color:#8e8e93;font-size:10px;line-height:1.4;margin:0 0 5px;letter-spacing:-.1px}.imessage-timestamp strong{font-weight:600}
.imessage-row{display:flex;align-items:flex-start;flex-direction:column;position:relative;max-width:88%;padding-left:14px}.imessage-name{font-size:10px;color:#8e8e93;margin:0 0 3px 11px;line-height:1.3}.imessage-bubble{position:relative;padding:8px 12px;background:#e9e9eb;color:#000;font-size:14px;font-weight:400;line-height:1.27;letter-spacing:-.23px;border-radius:17px;isolation:isolate}.imessage-bubble:before{content:"";position:absolute;z-index:-1;bottom:0;left:-6px;width:16px;height:16px;background:#e9e9eb;border-bottom-right-radius:12px}.imessage-bubble:after{content:"";position:absolute;z-index:-1;bottom:-1px;left:-10px;width:10px;height:19px;background:#fff;border-bottom-right-radius:11px}.imessage-row.outgoing{align-self:flex-end;align-items:flex-end;padding-left:0;max-width:84%;padding-right:2px}.outgoing .imessage-bubble{background:linear-gradient(180deg,#37a9ff,#2494fa);color:#fff}.outgoing .imessage-bubble:before{left:auto;right:-6px;background:#2494fa;border-bottom-right-radius:0;border-bottom-left-radius:12px}.outgoing .imessage-bubble:after{left:auto;right:-10px;border-bottom-right-radius:0;border-bottom-left-radius:11px}.imessage-bubble strong{font-weight:600}.from-yoyo{padding-left:23px}.imessage-message-avatar{position:absolute;width:22px;height:22px;border:1px solid #fff;border-radius:50%;left:-6px;bottom:0;z-index:2}.imessage-reaction{position:absolute;top:-15px;left:1px;z-index:2;border-radius:20px;background:#e9e9eb;box-shadow:0 0 0 2px #fff;padding:3px 6px;font-size:17px;line-height:1.1;transform:rotate(-10deg)}
.imessage-composer{display:flex;align-items:center;gap:10px;padding:9px 14px 0;background:#fff;z-index:4}.imessage-plus{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#f0f0f2;flex-shrink:0}.imessage-plus svg{width:21px;height:21px;stroke:#5a5a5e;stroke-width:1.8;stroke-linecap:round}.imessage-field{height:34px;display:flex;align-items:center;justify-content:space-between;flex:1;padding:0 11px;border:1px solid #d4d4d7;border-radius:22px;font-size:14px;letter-spacing:-.2px;color:#99999e;box-shadow:0 2px 6px #00000004}.imessage-field svg{width:17px;height:20px;stroke:#8e8e93;stroke-width:1.6;stroke-linecap:round;fill:none}.iphone-home{height:28px;min-height:28px;display:flex;align-items:flex-end;justify-content:center;padding-bottom:7px;background:#fff}.iphone-home span{width:112px;height:4px;border-radius:6px;background:#151515}
.iphone-demo-caption{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px 13px;margin-top:25px;color:#787c80;font-size:10px;line-height:1.4;min-height:28px}.iphone-demo-controls{display:flex;gap:9px}.iphone-demo-controls[hidden]{display:none}.iphone-demo-controls button{font:inherit;font-size:10px;background:transparent;border:0;padding:5px 4px;color:#5d6370;display:flex;align-items:center;gap:4px;border-radius:5px;cursor:pointer}.iphone-demo-controls button:hover{background:#e8e9e6}.iphone-demo-controls button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.iphone-demo-controls svg{width:12px;height:12px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}.iphone-demo-controls .demo-play{fill:currentColor;stroke:none;display:none}.iphone-demo-controls[data-paused] .demo-play{display:block}.iphone-demo-controls[data-paused] .demo-pause{display:none}.iphone-transcript{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.iphone[data-animated] [data-message]:not([data-visible]){display:none}.iphone[data-animated] [data-reaction]:not([data-visible]){display:none}.iphone[data-animated] [data-message][data-visible]{animation:message-arrive .3s cubic-bezier(.2,.8,.2,1) both}.iphone[data-animated] [data-reaction][data-visible]{animation:reaction-arrive .3s cubic-bezier(.15,.9,.25,1.4) both}.iphone[data-paused] [data-message],.iphone[data-paused] [data-reaction]{animation-play-state:paused}@keyframes message-arrive{from{opacity:0;transform:translateY(9px) scale(.97)}to{opacity:1;transform:none}}@keyframes reaction-arrive{from{opacity:0;transform:rotate(-10deg) scale(.3)}to{opacity:1;transform:rotate(-10deg) scale(1)}}
@media(min-width:1500px){.hero{padding-top:45px;padding-bottom:90px}}@media(max-width:1000px){.iphone{width:min(100%,310px);border-radius:49px}.iphone-screen{border-radius:40px}.iphone-scene{padding:0 8px}.iphone-scene .scribble-note{right:-10px;top:9px;font-size:13px}.imessage-bubble{font-size:13px}.imessage-messages{gap:10px}.hero{padding-bottom:62px}}@media(max-width:720px){.hero{padding-top:37px;padding-bottom:47px;gap:56px}.iphone-scene{max-width:400px;padding:0 12px}.iphone{width:min(100%,330px)}.iphone-scene .scribble-note{top:-23px;right:1px;font-size:13px}.imessage-bubble{font-size:14px}.imessage-messages{gap:12px}.iphone-demo-caption{margin-top:22px}}@media(max-width:360px){.iphone{width:280px;border-radius:45px}.iphone-screen{border-radius:36px}.iphone-island{width:92px;height:27px}.iphone-status{padding-left:21px;padding-right:15px}.imessage-bubble{font-size:12px}.imessage-messages{gap:9px}.iphone-demo-caption{font-size:9px}.iphone-scene .scribble-note{right:-6px}}
@media(prefers-reduced-motion:reduce){.imessage-scroll{scroll-behavior:auto}.iphone[data-animated] [data-message],.iphone[data-animated] [data-reaction]{animation:none}}

.iphone-demo-controls button:disabled{opacity:.5;cursor:default}.iphone-demo-controls button:disabled:hover{background:transparent}
/* Definite screen bounds keep the conversation scrolling inside the hardware. */
.iphone{padding:0;max-width:100%}.iphone-screen{position:absolute;inset:9px;height:auto}
.hero{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)}.hero-copy,.iphone-scene{min-width:0}
@media(max-width:720px){.hero{grid-template-columns:minmax(0,1fr)}}
