/* Meeeply. Paper is white and printed; screens are black and speak iPhone; the bot is the only colour.
   Nothing here is shared with the portfolio css. */
@font-face { font-family: "Calistoga"; src: url("media/fonts/calistoga-latin.woff2?v=10212328") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("media/fonts/literata-latin-400.woff2?v=10212328") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("media/fonts/literata-latin-600.woff2?v=10212328") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Shantell"; src: url("media/fonts/shantell-sans-latin.woff2?v=10212328") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --paper: #f6f2ea;
  --ink: #111;
  --sky: #dcebff;
  --sand: #ebe3d4;
  --butter: #fdf6c9;
  --blue-text: #0060c9;
  --pencil: #5c5c61;
  --rule: #e6e6e8;
  --blue: #0a84ff;
  /* outgoing bubble, exact iMessage blue per the brief. #0066d6 would pass 4.5:1 with white text if you ever want it */
  --bubble-out: #0a84ff;
  --in: #e9e9eb;
  --receipt: #8e8e93;
  --screen: #000;
  --screen-2: #1c1c1e;
  --screen-3: #2c2c2e;
  --screen-line: #3a3a3c;
  --screen-dim: #98989d;
  --ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --text: "Literata", "Iowan Old Style", Georgia, serif;
  --display: "Calistoga", "Iowan Old Style", Georgia, serif;
  --hand: "Shantell", "Comic Sans MS", "Chalkboard SE", system-ui, sans-serif;
  --gut: clamp(20px, 4.4vw, 64px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  font: 400 19px/1.55 var(--text);
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font: inherit; -webkit-font-smoothing: antialiased; overflow-x: clip; background: var(--paper); }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
img, video, svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 99; padding: 12px 18px; background: var(--ink); color: var(--paper); border-radius: 12px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; text-wrap: balance; }
h3 { font-weight: 600; letter-spacing: -.005em; }
.fine { font-size: 15px; line-height: 1.55; color: var(--pencil); max-width: 64ch; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: var(--ink); }

/* buttons on paper */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0; font: 600 19px/1 var(--text); letter-spacing: -.005em; text-decoration: none; transition: transform .2s var(--ease), background-color .2s; }
.btn:active { transform: scale(.97); }
/* a touch deeper than the bot's blue so white text passes 4.5:1. bubbles and the bot keep #0a84ff */
.btn-blue { background: #0071e3; color: #fff; }
.btn-blue:hover { background: #0062c4; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #333; }

/* header: the name and a few words, nothing sticky */
.top { position: relative; z-index: 30; display: flex; align-items: center; gap: 28px; padding: 24px var(--gut) 10px; }
.brand { margin-right: auto; display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-name { font: 400 30px/1 var(--display); letter-spacing: -.015em; }
.brand-by { font-size: 15px; color: var(--pencil); }
.nav { position: relative; }
.nav-btn { display: none; }
.nav-list { display: flex; gap: 26px; }
.nav-list a { font-size: 17px; text-decoration: none; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.nav-list a:hover { text-decoration-line: underline; }
.nav-demo, .nav-review, .nav-back { display: none; }
.back { font-size: 17px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.back:hover { text-decoration-color: var(--ink); }

/* hero: the headline with the bot in it, and the stopwatch you can text */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 430px); grid-template-areas: "copy try" "cta try"; grid-template-rows: auto 1fr; gap: 0 clamp(32px, 5vw, 96px); padding: clamp(16px, 2.6vw, 40px) var(--gut) clamp(64px, 8vw, 120px); }
.hero-copy { grid-area: copy; padding-top: clamp(8px, 4.4vw, 76px); }
.hero-try { grid-area: try; position: relative; padding-top: 58px; }
.cta { grid-area: cta; align-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 34px; }
.hero h1 { font-size: clamp(50px, 7vw, 118px); line-height: .98; letter-spacing: -.025em; }
.h1-line { display: block; }
/* the bot stands in for the word, a little taller than the letters. padding gives the 10px hop and its squash room; negative margins keep the line spacing */
.h1-bot { display: inline-block; box-sizing: content-box; vertical-align: -.07em; width: 1.24em; height: 1.127em; padding: calc(20px + .12em) .14em .05em .06em; margin: calc(-20px - .12em - .15em) -.11em -.05em -.08em; }
.h1-bot .bot { width: 100%; height: auto; aspect-ratio: 44 / 40; }
.lede { margin-top: clamp(24px, 3vw, 40px); font-size: clamp(18px, 1.45vw, 22px); line-height: 1.55; max-width: 31em; }
.note { font-family: var(--hand); font-weight: 560; font-size: 22px; line-height: 1.15; color: var(--ink); font-synthesis: none; font-variation-settings: "BNCE" 70; }
.note span { display: block; }
.note-hero { position: absolute; left: 4px; top: 0; transform: rotate(-3deg); animation: jot .5s .55s both; }
.pen { overflow: visible; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pen-arrow { position: absolute; width: 74px; left: 214px; top: 2px; transform: rotate(6deg); }
.pen-arrow path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .55s .8s cubic-bezier(.5, 0, .3, 1) forwards; }
.pen-arrow path + path { animation-delay: 1.25s; animation-duration: .25s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes jot { from { opacity: 0; } }

/* the stopwatch: a black screen, one turn of the hand is one second */
.sw { position: relative; background: var(--screen); color: #fff; border-radius: 38px; padding: 20px 18px 14px; display: grid; gap: 8px; font-family: var(--ios); }
.sw-head { display: grid; justify-items: center; text-align: center; gap: 2px; }
.sw-title { font: 600 17px/1.25 var(--ios); letter-spacing: -.01em; }
.sw-sub { font: 13px/1.35 var(--ios); color: var(--screen-dim); }
.sw-clock { position: relative; width: min(100%, 196px); justify-self: center; margin: 6px 0 0; aspect-ratio: 1; }
.dial { width: 100%; height: 100%; overflow: visible; }
.dial circle { fill: none; transform: rotate(-90deg); }
.d-minor { stroke: var(--screen-line); stroke-width: 8; stroke-dasharray: 1.2 6.2142; stroke-dashoffset: .6; }
.d-major { stroke: var(--screen-dim); stroke-width: 12; stroke-dasharray: 2.6 70.913; stroke-dashoffset: 1.3; }
.d-track { stroke: var(--screen-2); stroke-width: 7; }
.d-gray, .d-blue { stroke-width: 7; stroke-linecap: round; stroke-dasharray: 0 647.17; transition: stroke-dasharray .45s var(--ease), opacity .2s; }
.d-gray { stroke: #48484a; }
.d-blue { stroke: var(--blue); }
.sw.idle .d-blue { opacity: .4 !important; }
.d-dots circle { fill: var(--blue); stroke: none; transform: none; }
.d-hand { transform: rotate(0deg); }
.d-hand line { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.d-hand circle { fill: #fff; transform: none; }
.sw.idle .d-hand { opacity: .5; }
.sw-read { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: calc(50% - .72em); font: 200 46px/1 var(--ios); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.sw-unit { font-size: 17px; font-weight: 400; color: var(--screen-dim); margin-left: 3px; }
.sw.running .sw-num, .sw.idle .sw-num { color: var(--screen-dim); }
.sw-label { position: absolute; left: 0; right: 0; top: 60%; text-align: center; font: 12px/1.2 var(--ios); color: var(--screen-dim); }
.sw-ring { position: absolute; left: 2%; top: 20%; width: 96%; overflow: visible; fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; }
.sw-ring.drawn { opacity: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .7s cubic-bezier(.6, .05, .3, 1); }
.sw-cap { text-align: center; font: 14px/1.4 var(--ios); color: var(--screen-dim); min-height: 2.8em; max-width: 32ch; justify-self: center; }
.sw-thread { max-height: 214px; overflow-y: auto; overscroll-behavior: contain; padding: 14px 2px 6px; scrollbar-width: none; -webkit-mask-image: linear-gradient(transparent 0, #000 22px); mask-image: linear-gradient(transparent 0, #000 22px); }
.sw-thread::-webkit-scrollbar { display: none; }
.sw-ask { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 10px 15px; border-radius: 999px; border: 1px solid var(--screen-line); background: var(--screen-2); color: #fff; font: 15px/1.2 var(--ios); text-align: left; transition: background-color .15s, transform .15s var(--ease); }
.chip:hover { background: var(--screen-3); }
.chip:active { transform: scale(.97); }
.chip[disabled] { opacity: .45; cursor: default; }
.sw-more { display: flex; justify-content: space-between; gap: 12px; margin-top: 2px; }
.sw-rush, .sw-own { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--blue); font: 600 15px/1.2 var(--ios); }
.sw-rush[disabled] { opacity: .45; cursor: default; }
.sw-rush:hover, .sw-own:hover { text-decoration: underline; text-underline-offset: 4px; }

/* iMessage pieces: colours fixed by the brief */
.thread { display: flex; flex-direction: column; font: 17px/1.29 var(--ios); }
.msg { position: relative; max-width: min(80%, 32ch); width: fit-content; padding: 7px 12px 8px; border-radius: 18px; overflow-wrap: anywhere; letter-spacing: -.01em; }
.msg.in { align-self: flex-start; margin-left: 8px; background: var(--in); color: #000; }
.msg.out { align-self: flex-end; margin-right: 8px; background: var(--bubble-out); color: #fff; }
.msg + .msg { margin-top: 2px; }
.msg.in + .msg.out, .msg.out + .msg.in, .receipt + .msg, .sys + .msg, .msg + .sys { margin-top: 10px; }
.msg.tail::before { content: ""; position: absolute; bottom: 0; width: 20px; height: 18px; background: inherit; -webkit-clip-path: path("M7 0L7 8A10 10 0 0 1 0 17.54L0 18L4 18A16 14 0 0 0 14.5 14.57L14 0Z"); clip-path: path("M7 0L7 8A10 10 0 0 1 0 17.54L0 18L4 18A16 14 0 0 0 14.5 14.57L14 0Z"); }
.msg.in.tail::before { left: -7px; }
.msg.out.tail::before { right: -7px; transform: scaleX(-1); }
.receipt { align-self: flex-start; margin: 3px 0 0 20px; font: 600 12px/1.25 system-ui, -apple-system, sans-serif; color: var(--receipt); letter-spacing: -.01em; }
.sys { align-self: center; text-align: center; font: 12px/1.3 var(--ios); color: var(--screen-dim); max-width: 30ch; }
.msg.typing { display: flex; gap: 4px; align-items: center; padding: 12px 13px 12px; }
.msg.typing i { width: 8px; height: 8px; border-radius: 50%; background: #8e8e93; animation: dots 1.1s ease-in-out infinite; }
.msg.typing i:nth-child(2) { animation-delay: .16s; }
.msg.typing i:nth-child(3) { animation-delay: .32s; }
@keyframes dots { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }
.msg.pop { animation: pop .34s cubic-bezier(.2, 1.25, .4, 1) both; transform-origin: 0 100%; }
.msg.rise { animation: rise .32s cubic-bezier(.2, 1.1, .4, 1) both; transform-origin: 100% 100%; }
@keyframes pop { from { opacity: 0; transform: scale(.86); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.96); } }

/* why it's quick, said plainly on paper */
.speed { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 112px); padding: clamp(40px, 6vw, 96px) var(--gut) clamp(72px, 9vw, 140px); border-top: 2px solid var(--ink); align-items: start; }
.speed h2 { font-size: clamp(38px, 4.6vw, 76px); line-height: 1.02; }
.speed-copy { display: grid; gap: 18px; padding-top: .4em; }
.speed-copy p { max-width: 31em; }
.facts { grid-column: 1 / -1; max-width: 26em; margin-top: clamp(8px, 2vw, 28px); font: 400 clamp(24px, 2.6vw, 40px)/1.32 var(--display); letter-spacing: -.012em; color: var(--pencil); text-wrap: pretty; }
.facts b { font-weight: 400; color: var(--ink); }
.speed-fine { grid-column: 1 / -1; }

/* the four situations, one recurring owner, the real bot doing the answering */
.why { padding: clamp(56px, 7vw, 110px) var(--gut) clamp(72px, 9vw, 140px); background: var(--sky); }
.why-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 96px); align-items: end; }
.why h2 { font-size: clamp(40px, 5.4vw, 88px); line-height: 1; }
.why-head p { font-size: clamp(18px, 1.45vw, 22px); max-width: 26em; padding-bottom: .4em; }
.scenes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(16px, 2vw, 32px); margin-top: clamp(48px, 6vw, 88px); }
.stage { position: relative; }
.doodle { width: 100%; height: auto; overflow: visible; }
.doodle path, .doodle circle, .doodle ellipse { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.doodle .ink { fill: var(--ink); stroke: none; }
.doodle .paper { fill: var(--paper); }
.scene-bot { position: absolute; left: var(--x); top: var(--y); width: 26%; box-sizing: content-box; padding: 30px 14px 6px 6px; margin: -30px 0 0 -6px; cursor: pointer; }
.scene-bot .bot { width: 100%; height: auto; aspect-ratio: 44 / 40; }
.scene h3 { margin-top: 14px; font: 400 clamp(24px, 2vw, 30px)/1.1 var(--display); letter-spacing: -.015em; }
.scene p { margin-top: 6px; font-size: 17px; max-width: 22em; }

/* what happens: the video, annotated by hand */
.how { padding: clamp(56px, 7vw, 110px) var(--gut) clamp(72px, 9vw, 140px); }
.how h2 { font-size: clamp(38px, 4.6vw, 76px); line-height: 1.02; max-width: 14em; }
.how-stage { --gap: clamp(24px, 4vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 340px) minmax(0, 1fr); grid-template-rows: auto auto; gap: 0 var(--gap); margin-top: clamp(40px, 5vw, 72px); align-items: center; }
.how-notes { display: contents; counter-reset: hn; }
.hn { counter-increment: hn; position: relative; max-width: 22em; padding: 26px 0; }
.hn::before { color: var(--blue-text); content: counter(hn); position: absolute; left: -2px; top: -18px; font: 560 30px/1 var(--hand); font-variation-settings: "BNCE" 70; }
.hn h3 { font: 400 clamp(22px, 1.9vw, 28px)/1.15 var(--display); letter-spacing: -.012em; }
.hn p { margin-top: 8px; color: var(--pencil); font-size: 18px; }
.hn1 { grid-column: 1; grid-row: 1; justify-self: end; text-align: right; }
.hn3 { grid-column: 1; grid-row: 2; justify-self: end; text-align: right; }
.hn1::before, .hn3::before { left: auto; right: -2px; }
.hn2 { grid-column: 3; grid-row: 1; }
.hn4 { grid-column: 3; grid-row: 2; }
.how-arrow { position: absolute; width: calc(var(--gap) - 14px); top: 30px; }
.hn1 .how-arrow, .hn3 .how-arrow { right: calc(6px - var(--gap)); }
.hn2 .how-arrow, .hn4 .how-arrow { left: calc(6px - var(--gap)); }
.player { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 12px; width: 100%; justify-self: center; }
.frame { position: relative; border-radius: 40px; padding: 9px; background: var(--screen); }
.frame video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 32px; background: var(--screen-2); object-fit: cover; }
.p-play { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border: 0; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; transition: transform .2s var(--ease), opacity .3s; }
.p-play:hover { transform: scale(1.06); }
.p-play svg { width: 34px; height: 34px; fill: currentColor; }
.p-play .i-pause, .playing .p-play .i-play { display: none; }
.playing .p-play .i-pause { display: inline; }
.playing .p-play { opacity: 0; }
.playing .frame:hover .p-play, .playing .p-play:focus-visible { opacity: 1; }
.p-bar { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--pencil); }
.p-mute { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: none; display: grid; place-items: center; color: var(--ink); }
.p-mute svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.p-mute .i-spk { fill: currentColor; }
.p-mute .i-x, .muted .p-mute .i-wave { display: none; }
.muted .p-mute .i-x { display: inline; }
.p-vol input { width: 110px; accent-color: var(--ink); }
@media (hover: none) and (pointer: coarse) { .p-vol { display: none; } }

/* what you get and what it costs, set like a menu, with the setup written out beside it */
.prices { padding: clamp(56px, 7vw, 110px) var(--gut) clamp(56px, 7vw, 100px); border-top: 2px solid var(--ink); }
.prices h2, .faq h2 { font-size: clamp(38px, 4.6vw, 76px); line-height: 1.02; }
.prices-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px clamp(32px, 6vw, 112px); margin-top: clamp(32px, 4vw, 56px); align-items: start; }
.item { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: baseline; column-gap: 16px; padding: 26px 0 30px; }
.item + .item { border-top: 2px solid var(--ink); }
.item:first-child { padding-top: 0; }
.item h3 { font-size: clamp(21px, 1.8vw, 26px); line-height: 1.2; }
.dots { align-self: end; margin-bottom: .5em; height: 3px; background: radial-gradient(circle, var(--ink) 1.3px, transparent 1.6px) 0 50% / 9px 3px repeat-x; }
.amt { white-space: nowrap; font-size: 17px; color: var(--pencil); }
.amt b { font: 400 clamp(52px, 5.4vw, 82px)/.9 var(--display); color: var(--blue-text); letter-spacing: -.02em; }
.amt-q { font: 600 clamp(19px, 1.6vw, 22px)/1.2 var(--text); color: var(--ink); }
.item-more { grid-column: 1 / -1; margin-top: 10px; max-width: 36em; color: var(--pencil); }
.setup { position: relative; padding: 28px 28px 30px; display: grid; gap: 14px; background: var(--butter); border-radius: 26px 32px 24px 30px / 30px 24px 32px 26px; }
.setup::before { content: ""; position: absolute; inset: 0; border: 2.5px solid var(--ink); border-radius: 26px 32px 24px 30px / 30px 24px 32px 26px; transform: rotate(.8deg); pointer-events: none; }
.setup h3 { font: 400 clamp(26px, 2.3vw, 34px)/1.1 var(--display); letter-spacing: -.015em; }
.setup p { font-size: 17px; }
.setup-me { color: var(--pencil); }
.menu-notes { margin-top: 26px; max-width: 46em; font-size: 16px; color: var(--pencil); }

/* questions: all answers showing, they're short */
.faq { padding: clamp(56px, 7vw, 110px) var(--gut) clamp(72px, 9vw, 140px); background: var(--sand); }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px clamp(32px, 6vw, 112px); margin-top: clamp(32px, 4vw, 56px); max-width: 1180px; }
.faq dt { font: 400 clamp(22px, 1.9vw, 28px)/1.15 var(--display); letter-spacing: -.012em; }
.faq dd { margin-top: 10px; max-width: 30em; }

/* contact */
.contact { padding: clamp(56px, 8vw, 130px) var(--gut) clamp(56px, 7vw, 110px); background: var(--sky); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px clamp(32px, 5vw, 96px); align-items: center; }
.contact-copy { display: grid; gap: 22px; justify-items: start; }
.contact h2 { font-size: clamp(44px, 7vw, 118px); line-height: .98; max-width: 9em; }
.contact-copy > p:not(.mail-line) { font-size: clamp(18px, 1.45vw, 22px); max-width: 30em; }
.mail-line { font-size: clamp(22px, 2.6vw, 38px); font-weight: 600; letter-spacing: -.01em; overflow-wrap: anywhere; }
.contact a.mail { text-decoration-color: var(--blue); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.contact a.mail:hover { text-decoration-color: var(--ink); }
.contact .btn { margin-top: 10px; }
.stage-mail { max-width: 380px; width: 100%; justify-self: center; }

.foot { padding: 28px var(--gut) 132px; border-top: 1px solid var(--rule); display: grid; gap: 6px; font-size: 15px; color: var(--pencil); }

/* the pinned chat: a black screen you tap, which opens into the conversation */
.chat { position: fixed; z-index: 50; right: var(--gut); bottom: max(18px, env(safe-area-inset-bottom)); font-family: var(--ios); }
.launch { display: flex; align-items: center; gap: 14px; padding: 16px 30px 16px 18px; border: 0; border-radius: 30px 30px 30px 6px; background: #262420; color: #f4f1ea; box-shadow: 0 12px 32px rgba(38, 36, 32, .22); text-align: left; transition: background-color .2s, transform .5s cubic-bezier(.2, 1.15, .3, 1), opacity .25s, visibility 0s; }
.launch:hover { background: #33302b; }
.chat.snap .launch { transition: none !important; }
.launch-text { padding-bottom: 2px; }
.launch-text b { display: block; font: 600 19px/1.2 var(--ios); letter-spacing: -.01em; }
.launch-text small { display: block; font: 15px/1.3 var(--ios); color: #a8a49c; }
.chat.open .launch { visibility: hidden; }
/* while the hero stopwatch is on screen, the launcher steps aside: one demo at a time */
.chat.away:not(.open) .launch { transform: translateY(calc(100% + 32px)); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .25s, visibility 0s .35s; }
.panel { position: fixed; right: var(--gut); bottom: max(18px, env(safe-area-inset-bottom)); width: min(400px, calc(100vw - 2 * var(--gut))); height: min(640px, calc(100svh - 36px)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; background: var(--screen); color: #fff; border-radius: 30px; overflow: hidden; outline: 1px solid rgba(255, 255, 255, .1); }
.panel-head { display: flex; align-items: center; gap: 12px; padding: 18px 12px 12px 18px; border-bottom: 1px solid var(--screen-3); }
.panel-head .bot.mini { flex: none; }
.panel-who { min-width: 0; margin-right: auto; }
.panel-who b { display: block; font: 600 16px/1.25 var(--ios); }
.panel-who small { display: block; font: 12px/1.3 var(--ios); color: var(--screen-dim); }
.panel-x { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--screen-2); color: #fff; display: grid; place-items: center; }
.panel-x:hover { background: var(--screen-3); }
.panel-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.panel-log { overflow-y: auto; overflow-x: hidden; padding: 16px 12px 12px; overscroll-behavior: contain; }
.panel-try { display: flex; gap: 8px; padding: 0 12px 10px; overflow-x: auto; scrollbar-width: none; }
.panel-try::-webkit-scrollbar { display: none; }
.panel-try .chip { flex: none; }
.panel-form { display: flex; align-items: center; gap: 6px; padding: 8px 10px 12px 12px; }
.panel-form input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border: 1px solid var(--screen-line); border-radius: 22px; background: var(--screen); color: #fff; font: 17px var(--ios); }
.panel-form input::placeholder { color: #8e8e93; }
.panel-form input:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.send { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; display: grid; place-items: center; }
.send svg { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--blue); fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.panel-form.busy .send svg { opacity: .5; }

/* tablets */
@media (max-width: 1180px) {
  .scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px clamp(24px, 4vw, 56px); }
  .how-stage { grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); grid-template-rows: none; gap: 0 48px; }
  .how-notes { display: grid; grid-column: 1; grid-row: 1; gap: 8px; counter-reset: hn; }
  .hn, .hn1, .hn2, .hn3, .hn4 { grid-column: auto; grid-row: auto; justify-self: start; text-align: left; padding: 16px 0 16px 44px; }
  .hn::before, .hn1::before, .hn3::before { left: 0; right: auto; top: 14px; }
  .how-arrow { display: none; }
  .player { grid-column: 2; grid-row: 1; }
}
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(320px, 390px); }
  .hero h1 { font-size: clamp(50px, 6.5vw, 118px); }
  .why-head, .speed { grid-template-columns: minmax(0, 1fr); }
  .prices-grid { grid-template-columns: minmax(0, 1fr); }
  .setup { max-width: 560px; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .stage-mail { max-width: 300px; justify-self: start; }
}
@media (max-width: 920px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "try" "cta"; grid-template-rows: auto; }
  .hero h1 { font-size: clamp(44px, 9vw, 84px); }
  .hero-try { max-width: 480px; width: 100%; padding-top: 86px; margin-top: 28px; }
  .note-hero { left: 6px; }
  .pen-arrow { left: 188px; top: 18px; transform: rotate(40deg); }
  .faq-list { grid-template-columns: minmax(0, 1fr); }
}

/* phones */
@media (max-width: 760px) {
  :root { font-size: 17px; }
  .top { gap: 12px; padding-top: 16px; }
  .brand-name { font-size: 27px; }
  .back { display: none; }
  .nav { position: static; }
  .nav-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); background: none; font-weight: 600; font-size: 16px; }
  .nav-btn[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
  .nav-list { position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); display: grid; gap: 0; padding: 10px; border-radius: 26px; background: var(--screen); color: #fff; font-family: var(--ios); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
  .nav.open .nav-list { opacity: 1; visibility: visible; transform: none; }
  .nav-list li, .nav-demo, .nav-review, .nav-back { display: block; }
  .nav-list a { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-radius: 16px; font-size: 20px; }
  .nav-list a:hover, .nav-list a:focus-visible { background: var(--screen-2); text-decoration: none; outline-offset: -3px; }
  .nav-back { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--screen-3); }
  .hero { padding-top: 20px; }
  .hero h1 { font-size: clamp(44px, 13.4vw, 64px); }
  .lede { font-size: 18px; }
  .hero-try { padding-top: 92px; margin-top: 20px; }
  .note-hero { left: 2px; font-size: 21px; }
  .pen-arrow { left: auto; right: 22%; top: 30px; width: 70px; transform: rotate(48deg); }
  .sw { border-radius: 34px; padding: 20px 14px 16px; }
  .cta .btn { flex: 1 1 100%; }
  .cta { justify-content: center; }
  .scenes { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .how-stage { grid-template-columns: minmax(0, 1fr); }
  .how-notes { grid-column: 1; grid-row: 2; margin-top: 28px; }
  .player { grid-column: 1; grid-row: 1; max-width: 320px; justify-self: start; }
  .item { grid-template-columns: minmax(0, 1fr); }
  .dots { display: none; }
  .amt { margin-top: 10px; }
  .setup { padding: 24px 22px; }
  .setup::before { transform: rotate(.4deg); }
  .receipt { font-size: 13px; }
  .foot { padding-bottom: 120px; }
}
@media (max-width: 560px) {
  .chat { left: 12px; right: 12px; display: flex; justify-content: flex-end; }
  .panel { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; outline: 0; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
}

/* reduced motion: everything of ours stands still. the bot keeps its own rules from bot.css (no hop, soft blink) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :where(:not(.bot, .bot *)), :where(:not(.bot, .bot *))::before, :where(:not(.bot, .bot *))::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .msg.typing i { animation: none; opacity: .7; }
}
