/* notes. showcase: the real app playing itself as a slideshow (public/showcase.js), beside a newsletter sign-up.
   Wide windows: the animation on the left, the sign-up on the right. Phones: the sign-up docked at the bottom.
   Everything here is prefixed sc- so nothing collides with intro.css or app.css. */

/* the welcome buttons and the "Skip to cafes" control belong to the real app, not the showcase */
.sso, .foot, .controls { display: none !important; }

/* ---------- the whole window ---------- */
body .phone {
  width: 100vw; height: 100vh; height: 100dvh; margin: 0; border-radius: 0; box-shadow: none;
  /* one unit for what the showcase draws: 1% of the width, capped at phone scale so a monitor doesn't balloon */
  --u: min(1cqw, 4.3px);
}
body .phone .wordmark { font-size: calc(18.5 * var(--u)); }
:root { --sc-w: 100vw; --sc-dock: calc(150px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { :root { --sc-w: clamp(460px, 58vw, 880px); --sc-dock: 0px; } }

/* after the intro: the app plays in the stage area; the sign-up takes the rest */
.sc-live #app { right: auto; width: var(--sc-w); bottom: var(--sc-dock); }
.sc-stage { display: none; }
.sc-live .sc-stage { display: block; position: absolute; left: 0; top: 0; width: var(--sc-w); bottom: var(--sc-dock); z-index: 60; cursor: default; overflow: hidden; }

/* home shows only the featured cafes (no list, count or Map button); Profile shows only the person and their taste */
.sc-live #app #v-discover .meta, .sc-live #app #v-discover .list, .sc-live #app .mtog { display: none !important; }
.sc-live #app #v-me .prof > :not(.me):not(.sc-inprof) { display: none !important; } /* no taste card or About tiles */
/* the carousel glides smoothly: snapping to each card fought the glide and made it judder */
.sc-live #app .best-row { scroll-snap-type: none !important; scroll-behavior: auto !important; }
/* the profile page: the person, the taste card, then the flavour profile, centred in the page */
.sc-live #app #v-me .prof { min-height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; padding-bottom: 24px; }
.sc-inprof { margin: 28px 20px 0; text-align: center; }
.sc-inprof h2 { margin: 0; font: 500 calc(7 * var(--u))/1.1 var(--display); color: var(--espresso); letter-spacing: -.02em; }
.sc-inprof .sc-ex { margin: calc(1.6 * var(--u)) 0 calc(5 * var(--u)); font: 400 calc(3.4 * var(--u)) var(--body); color: #6B5848; }
.sc-inprof.on .sc-fam, .sc-inprof.on .sc-note { animation: scPop .5s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: var(--d, 0s); }
.sc-inprof.on .sc-fact { animation: scRise .5s ease-out both; animation-delay: var(--d, 0s); }

/* the Saved page shows just its heading until the cafe pops in (no "Nothing saved yet" flash) */
.sc-live #app #v-saved .empty { visibility: hidden; }

/* ---------- the caption: a dark bar across the top of the stage (number, words, progress dots) ---------- */
:root { --sc-bar: 92px; }
.sc-live #app { top: var(--sc-bar); }
.sc-say { position: absolute; z-index: 6; left: 0; right: 0; top: 0; height: var(--sc-bar); box-sizing: border-box; display: flex; align-items: center; gap: 22px; margin: 0;
  padding: 0 28px; background: #2E1F17; color: #F6F0E7; opacity: 0; transition: opacity .4s ease; }
.sc-say.on { opacity: 1; }
.sc-say-n { flex: none; min-width: 1.6em; font: 500 38px/1 var(--display); color: #D4A06A; letter-spacing: -.02em; }
.sc-say-t { flex: 1; min-width: 0; margin: 0; font: 600 21px/1.25 var(--display); letter-spacing: -.005em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-say-n.in { animation: scNum .45s cubic-bezier(.3, 1.4, .5, 1) both; }
.sc-say-t.in { animation: scWords .45s ease both; }
@keyframes scNum { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes scWords { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sc-dots { flex: none; display: flex; align-items: center; gap: 7px; }
.sc-dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(246, 240, 231, .32); transition: width .35s ease, background .35s ease; }
.sc-dots i.done { background: rgba(246, 240, 231, .6); }
.sc-dots i.on { width: 30px; background: #D4A06A; }

/* ---------- overlays inside the stage ---------- */
.sc-ov { position: absolute; inset: var(--sc-bar) 0 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 6%; background: var(--cream); opacity: 0; transition: opacity .4s ease; }
.sc-ov.on { opacity: 1; }
.sc-logo { margin: 0; font: 600 calc(15 * var(--u))/1 var(--display); letter-spacing: -.025em; color: var(--espresso); }
.sc-logo i { font-style: normal; color: var(--nutty); }
@keyframes scPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes scRise { from { opacity: 0; transform: translateY(calc(3 * var(--u))); } to { opacity: 1; transform: none; } }

/* bubbles */
.sc-chip { display: inline-flex; align-items: center; gap: calc(2 * var(--u)); height: calc(10 * var(--u)); padding: 0 calc(4 * var(--u)); border-radius: 999px; white-space: nowrap;
  background: #FBF7F0; border: 1px solid #E3D8C7; font: 500 calc(3.7 * var(--u)) var(--body); color: var(--espresso); opacity: 0; transition: opacity .35s ease, transform .35s ease, background .3s ease, color .3s ease; }
.sc-chip i { width: calc(2.3 * var(--u)); height: calc(2.3 * var(--u)); border-radius: 50%; background: var(--c, #B9854F); }
.sc-chip.green { background: #E3EEDD; border-color: #C9DCBF; color: #2F4F2B; }
.sc-ov.on .sc-chip { animation: scPop .4s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: var(--d, 0s); }

/* the filters: every option in slow drifting rows, centred; the chosen ones light up; then the sentence takes over */
.sc-filters { padding: 0; }
.sc-rows { width: 100%; display: grid; gap: calc(3 * var(--u)); transition: opacity .5s ease, transform .6s cubic-bezier(.65, 0, .35, 1); }
.sc-row { display: flex; gap: calc(2.4 * var(--u)); width: max-content; animation: scDrift 60s linear infinite; }
.sc-row.rev { animation-direction: reverse; }
.sc-row:nth-child(2) { animation-duration: 70s; } .sc-row:nth-child(3) { animation-duration: 64s; } .sc-row:nth-child(4) { animation-duration: 76s; }
@keyframes scDrift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sc-filters .sc-chip { opacity: 1; }
.sc-filters.on .sc-row { animation: scDrift 60s linear infinite, scRowIn .9s cubic-bezier(.2, .8, .2, 1) both; }
.sc-filters.on .sc-row:nth-child(2) { animation-duration: 70s, .9s; animation-delay: 0s, .12s; }
.sc-filters.on .sc-row:nth-child(3) { animation-duration: 64s, .9s; animation-delay: 0s, .24s; }
.sc-filters.on .sc-row:nth-child(4) { animation-duration: 76s, .9s; animation-delay: 0s, .36s; }
.sc-filters.on .sc-row.rev { animation-direction: reverse, normal; }
@keyframes scRowIn { from { opacity: 0; filter: blur(6px); margin-left: -6%; } to { opacity: 1; filter: none; margin-left: 0; } }
.sc-filters.on .sc-row.rev { animation-name: scDrift, scRowInR; }
@keyframes scRowInR { from { opacity: 0; filter: blur(6px); margin-left: 6%; } to { opacity: 1; filter: none; margin-left: 0; } }
@keyframes scFade { from { opacity: 0; } to { opacity: 1; } }
.sc-chip.lit { background: var(--espresso); border-color: var(--espresso); color: var(--cream); transform: scale(1.08); }
.sc-chip.green.lit { background: #4E6B45; border-color: #4E6B45; color: #F3F7EF; }
.sc-filters.built .sc-rows { opacity: 0; transform: scale(.9) translateY(calc(-8 * var(--u))); }
.sc-sent { position: absolute; left: 50%; top: 50%; width: min(88%, calc(100 * var(--u))); box-sizing: border-box; padding: calc(5 * var(--u)) calc(5 * var(--u)) calc(4 * var(--u)); text-align: center; border-radius: calc(7 * var(--u));
  background: #FBF7F0; border: 1px solid #E3D8C7; box-shadow: 0 24px 40px -28px rgba(46, 31, 23, .55); opacity: 0; transform: translate(-50%, -40%) scale(.9); transition: opacity .45s ease .15s, transform .6s cubic-bezier(.3, 1.3, .5, 1) .15s; }
.sc-filters.built .sc-sent { opacity: 1; transform: translate(-50%, -50%); }
.sc-sent-k { margin: 0 0 calc(2.6 * var(--u)); font: 500 calc(3 * var(--u)) var(--body); color: #6B5848; }
.sc-sent-t { margin: 0; font: 500 calc(6.6 * var(--u))/1.5 var(--display); letter-spacing: -.01em; color: var(--espresso); }
.sc-sent-n { margin: calc(3 * var(--u)) 0 0; font: 400 calc(3.2 * var(--u)) var(--body); color: #6B5848; }
.sc-sent-n b { color: var(--espresso); font-weight: 600; }
.sc-tk { display: inline-block; vertical-align: baseline; line-height: 1.2; padding: calc(.5 * var(--u)) calc(2.6 * var(--u)) calc(.9 * var(--u)); border-radius: 999px; white-space: nowrap; background: color-mix(in srgb, var(--c, #8A4B22) 16%, #FBF7F0); border: 1px solid color-mix(in srgb, var(--c, #8A4B22) 30%, #FBF7F0); }
.sc-tk i { display: inline-block; width: calc(1.8 * var(--u)); height: calc(1.8 * var(--u)); margin-right: calc(1.6 * var(--u)); border-radius: 50%; background: var(--c); vertical-align: .18em; }
.sc-nw { white-space: nowrap; }
.sc-tk.green { background: #E3EEDD; border-color: #C9DCBF; }
.sc-tk.near, .sc-tk.style, .sc-tk.good { background: #EFE8DE; border-color: #DDD2C2; }
.sc-filters .sc-tk { opacity: 0; }
.sc-filters.built .sc-tk { animation: scPop .4s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: var(--d, 0s); }

.sc-rlogo { display: block; width: calc(16 * var(--u)); height: calc(16 * var(--u)); margin: 0 auto calc(3 * var(--u)); border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px #E3D8C7; }
.sc-rmono { display: grid; place-items: center; font: 600 calc(7 * var(--u)) var(--display); color: var(--cream); background: var(--roast); }
.sc-rk { margin: 0; font: 500 calc(3 * var(--u)) var(--body); color: #8A4B22; }
.sc-rname { margin: calc(1 * var(--u)) 0 0; font: 500 calc(6.4 * var(--u))/1.15 var(--display); color: var(--espresso); }
.sc-rcity { margin: calc(1 * var(--u)) 0 0; font: 400 calc(3.4 * var(--u)) var(--body); color: #6B5848; }
.sc-rabout { margin: calc(3.4 * var(--u)) 0 0; font: 400 calc(3.6 * var(--u))/1.5 var(--body); color: #43342A; }
.sc-pops { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(2.2 * var(--u)); max-width: calc(100 * var(--u)); margin-top: calc(5 * var(--u)); }
.sc-pop { display: inline-flex; align-items: center; gap: calc(1.8 * var(--u)); min-height: calc(9.4 * var(--u)); padding: calc(1.4 * var(--u)) calc(3.8 * var(--u)); border-radius: 999px; font: 500 calc(3.6 * var(--u))/1.2 var(--body); opacity: 0; }
.sc-pop i { width: calc(2.2 * var(--u)); height: calc(2.2 * var(--u)); border-radius: 50%; }
.sc-pop.note { background: #F0E6D6; color: var(--espresso); }
.sc-pop.fact { background: var(--espresso); color: var(--cream); }
.sc-pop.green { flex-direction: column; align-items: flex-start; gap: 0; border-radius: calc(4 * var(--u)); background: #E3EEDD; color: #2F4F2B; }
.sc-pop.green small { font: 400 calc(2.8 * var(--u)) var(--body); color: #3F6A3A; }
.sc-ov.on .sc-pop { animation: scPop .42s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: var(--d, 0s); }

/* the cafe: its card on the left (grown from the list), its story scrolling in a column on the right */
.sc-cafe { flex-direction: row; align-items: stretch; justify-content: center; gap: calc(5 * var(--u)); padding: 5%; }
.sc-left { flex: 0 0 44%; display: flex; align-items: center; }
.sc-cc { width: 100%; border-radius: 24px; overflow: hidden; isolation: isolate; background: #FBF7F0; border: 1px solid #E3D8C7; box-shadow: 0 18px 36px -20px rgba(46, 31, 23, .42), 0 1px 3px rgba(46, 31, 23, .06); transform-origin: 0 0; }
.sc-cc-ph { position: relative; aspect-ratio: 4 / 3.2; background: #EFE6D8; }
.sc-cc-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-mp { position: absolute; left: 14px; top: 14px; padding: 7px 13px; border-radius: 999px; background: #E3EEDD; color: #2F4F2B; font: 400 15px var(--body); box-shadow: 0 6px 16px -8px rgba(46, 31, 23, .5); animation: scPop .55s cubic-bezier(.3, 1.6, .5, 1) .85s both; }
.sc-mp b { font-weight: 700; font-size: 19px; }
.sc-bm { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(251, 247, 240, .92); }
.sc-bm svg { width: 20px; height: 20px; fill: none; stroke: var(--espresso); stroke-width: 1.7; stroke-linejoin: round; transition: fill .3s ease; }
.sc-bm.on svg { fill: var(--espresso); } .sc-bm.on { animation: scPop .5s cubic-bezier(.3, 1.8, .5, 1) both; }
.sc-cc-b { padding: 16px 18px 18px; }
.sc-cc-n { margin: 0; font: 500 24px/1.15 var(--display); color: var(--espresso); }
.sc-cc-s { margin: 4px 0 12px; font: 400 14px var(--body); color: #6B5848; }
.sc-cc-notes { display: flex; flex-wrap: wrap; gap: 6px; } .sc-cc-notes .sc-pop { opacity: 1; animation: none; }
.sc-right { position: relative; flex: 1; min-width: 0; overflow: hidden; margin: -24px -24px -24px 0; padding: 24px 24px 24px 0; }
.sc-feed { padding-top: 0; }
.sc-feed { display: grid; gap: calc(4 * var(--u)); padding-bottom: 60vh; }
.sc-item { opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .45s ease, transform .55s cubic-bezier(.3, 1.3, .5, 1); }
.sc-item.in { opacity: 1; transform: none; }
.sc-item .sc-box, .sc-item .sc-pop, .sc-item .sc-bean, .sc-item .sc-tn { opacity: 1; animation: none; }
.sc-item.in .sc-pop, .sc-item.in .sc-bean, .sc-item.in .sc-tn { animation: scPop .42s cubic-bezier(.3, 1.5, .5, 1) both; }
.sc-item.in .sc-pop:nth-child(2), .sc-item.in .sc-bean:nth-child(2), .sc-item.in .sc-tn:nth-child(2) { animation-delay: .12s; }
.sc-item.in .sc-pop:nth-child(3), .sc-item.in .sc-bean:nth-child(3), .sc-item.in .sc-tn:nth-child(3) { animation-delay: .24s; }
.sc-item.in .sc-pop:nth-child(4) { animation-delay: .36s; } .sc-item.in .sc-pop:nth-child(5) { animation-delay: .48s; }
.sc-item.in .sc-pop:nth-child(n+6) { animation-delay: .6s; }
.sc-rbox { text-align: center; } .sc-rbox .sc-pops { justify-content: center; margin-top: calc(4 * var(--u)); }
.sc-box { width: 100%; box-sizing: border-box; padding: calc(6 * var(--u)); border-radius: calc(7 * var(--u)); background: #FBF7F0; border: 1px solid #E3D8C7;
  box-shadow: 0 14px 30px -18px rgba(46, 31, 23, .38), 0 1px 3px rgba(46, 31, 23, .06); opacity: 0; }
.sc-box-k { margin: 0; font: 500 calc(3.4 * var(--u)) var(--body); color: #8A4B22; }
.sc-box-h { margin: calc(1 * var(--u)) 0 calc(4.6 * var(--u)); font: 500 calc(7.2 * var(--u))/1.1 var(--display); letter-spacing: -.02em; color: var(--espresso); }
.sc-box .sc-pops { justify-content: flex-start; margin: 0; max-width: none; }
.sc-beans { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(3 * var(--u)); }
.sc-bean { min-width: 0; opacity: 0; } .sc-ov.on .sc-bean { animation: scRise .5s ease-out both; animation-delay: var(--d, 0s); }
.sc-bean-ph { position: relative; display: block; aspect-ratio: 1; border-radius: calc(4.4 * var(--u)); background: #EFE6D8; overflow: hidden; }
.sc-bean-ph img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.sc-buy { position: absolute; right: calc(2 * var(--u)); bottom: calc(2 * var(--u)); padding: calc(1.4 * var(--u)) calc(3.4 * var(--u)); border-radius: 999px; background: var(--espresso); color: var(--cream); font: 600 calc(3.2 * var(--u)) var(--body); box-shadow: 0 6px 14px -6px rgba(46, 31, 23, .6); }
.sc-bean b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: calc(2 * var(--u)); font: 500 calc(3.5 * var(--u))/1.3 var(--body); color: var(--espresso); }
.sc-bean small { display: block; margin-top: calc(.6 * var(--u)); font: 400 calc(3.2 * var(--u)) var(--body); color: #6B5848; }
.sc-pop.good { background: #F0E6D6; color: var(--espresso); }
.sc-notes { display: grid; gap: calc(3 * var(--u)); }
.sc-tn { display: flex; gap: calc(3 * var(--u)); align-items: flex-start; padding: calc(3.4 * var(--u)); border-radius: calc(4.4 * var(--u)); background: #F3ECE1; opacity: 0; }
.sc-ov.on .sc-tn { animation: scRise .5s ease-out both; animation-delay: var(--d, 0s); }
.sc-av { flex: none; display: grid; place-items: center; width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: 50%; background: var(--roast); color: #FBF7F0; font: 600 calc(3.6 * var(--u)) var(--body); }
.sc-tn b { font: 600 calc(3.6 * var(--u)) var(--body); color: var(--espresso); }
.sc-tn p { margin: calc(.6 * var(--u)) 0 0; font: 400 calc(3.6 * var(--u))/1.45 var(--body); color: #43342A; }
.sc-ex2 { margin: calc(3.4 * var(--u)) 0 0; font: 400 calc(3 * var(--u)) var(--body); color: #6B5848; }

/* an example flavour profile */
.sc-prof { background: rgba(246, 240, 231, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sc-prof h2 { margin: 0; font: 500 calc(7.6 * var(--u))/1.1 var(--display); color: var(--espresso); letter-spacing: -.02em; text-align: center; }
.sc-prof .sc-ex { margin: calc(2 * var(--u)) 0 calc(6 * var(--u)); font: 400 calc(3.4 * var(--u)) var(--body); color: #6B5848; }
.sc-bub { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: calc(3 * var(--u)); }
.sc-fam { display: grid; place-items: center; border-radius: 50%; color: #FBF7F0; background: var(--c); text-align: center; box-shadow: 0 10px 24px -12px rgba(46, 31, 23, .5); opacity: 0; }
.sc-fam b { display: block; font: 500 calc(6 * var(--u))/1 var(--display); } .sc-fam span { display: block; margin-top: calc(1 * var(--u)); font: 500 calc(3.2 * var(--u)) var(--body); }
.sc-note { display: inline-flex; align-items: center; gap: calc(1.8 * var(--u)); height: calc(9.6 * var(--u)); padding: 0 calc(4 * var(--u)); border-radius: 999px; background: #FBF7F0; border: 1px solid #E3D8C7; font: 500 calc(3.7 * var(--u)) var(--body); color: var(--espresso); opacity: 0; }
.sc-note i { width: calc(2.2 * var(--u)); height: calc(2.2 * var(--u)); border-radius: 50%; background: var(--c); }
.sc-fact { padding: calc(3 * var(--u)) calc(4.4 * var(--u)); border-radius: calc(4 * var(--u)); background: var(--espresso); color: var(--cream); font: 400 calc(3.6 * var(--u))/1.3 var(--body); opacity: 0; }
.sc-fact b { display: block; font: 500 calc(4.6 * var(--u)) var(--display); }
.sc-ov.on .sc-fam, .sc-ov.on .sc-note { animation: scPop .5s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: var(--d, 0s); }
.sc-ov.on .sc-fact { animation: scRise .5s ease-out both; animation-delay: var(--d, 0s); }

.sc-end { padding: 0 6%; }
.sc-end .sc-logo { font-size: calc(24 * var(--u)); }
/* the end card: the logo, rising, and the launch line (it also covers the reset before the loop starts again) */
.sc-end .sc-logo { transition: transform .8s cubic-bezier(.65, 0, .35, 1); }
.sc-end.up .sc-logo { transform: translateY(calc(-6 * var(--u))) scale(.8); }
.sc-launch { margin: 0; font: 400 calc(9.6 * var(--u))/1.05 var(--display); letter-spacing: -.025em; color: var(--espresso); opacity: 0; transform: translateY(calc(2 * var(--u))); transition: opacity .6s ease .3s, transform .6s ease .3s; }
.sc-launch em { font-style: normal; color: var(--roast); }
.sc-end.up .sc-launch { opacity: 1; transform: translateY(calc(-4 * var(--u))); }

/* ---------- the sign-up: always there once the intro has played ---------- */
.sc-side { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; height: var(--sc-dock); box-sizing: border-box; display: flex; align-items: center; justify-content: center;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: #EFE6D8; border-top: 1px solid #E0D4C2; color: var(--espresso);
  opacity: 0; pointer-events: none; transition: opacity .6s ease .2s; font-family: var(--body); }
.sc-live .sc-side { opacity: 1; pointer-events: auto; }
.sc-side-in { width: 100%; max-width: 460px; }
.sc-side .sc-logo { display: none; }
.sc-when { margin: 0 0 8px; font: 500 18px/1.2 var(--display); text-align: center; }
.sc-when em { font-style: normal; color: var(--roast); }
.sc-pitch, .sc-more { display: none; }
.sc-form { display: flex; gap: 8px; }
.sc-form input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid #CDBFAC; background: #FBF7F0; font: 400 16px var(--body); color: var(--espresso); }
.sc-form button { flex: none; height: 46px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--espresso); color: var(--cream); font: 500 15px var(--body); cursor: pointer; }
.sc-form input:focus-visible, .sc-form button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sc-form button[disabled] { opacity: .6; cursor: default; }
.sc-msg { min-height: 18px; margin: 6px 0 0; font: 400 13px/1.4 var(--body); color: #6B5848; text-align: center; }
.sc-msg:empty { display: none; }
.sc-msg.bad { color: #9E1B32; } .sc-msg.ok { font-size: 15px; color: var(--espresso); }
.sc-fine { margin: 6px 0 0; font: 400 12px/1.4 var(--body); color: #6B5848; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (min-width: 900px) {
  .sc-side { top: 0; left: var(--sc-w); height: auto; padding: 48px clamp(32px, 5vw, 80px); border-top: 0; border-left: 1px solid #E0D4C2; }
  .sc-side .sc-logo { display: block; margin: 0 0 40px; font: 600 40px/1 var(--display); letter-spacing: -.025em; }
  .sc-side-in { text-align: center; margin: 0 auto; }
  .sc-when { margin: 0 0 16px; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.025em; text-align: center; }
  .sc-pitch { display: block; margin: 0 0 12px; font: 400 clamp(19px, 1.6vw, 23px)/1.35 var(--display); color: var(--espresso); }
  .sc-more { display: block; margin: 0 0 28px; font: 400 15px/1.55 var(--body); color: #43342A; }
  .sc-form { flex-direction: column; gap: 10px; }
  .sc-form input { flex: none; } /* in a column, flex: 1 would squash its height */
  .sc-form input, .sc-form button { height: 52px; font-size: 16px; }
  .sc-msg, .sc-fine { text-align: center; }
  .sc-fine { margin-top: 12px; }
}

/* phones: the stage is shorter (the sign-up sits below), so draw a touch smaller and show fewer bubbles */
@media (max-width: 899px) {
  .sc-stage { --u: calc(min(1cqw, 4.3px) * .84); }
  :root { --sc-bar: 76px; }
  .sc-live #app .tabs { display: none !important; }
  /* shorter photos, so a whole card fits above the sign-up */
  .sc-live #app .best-row .ph-card { aspect-ratio: 16 / 9; }
  .sc-live #app .best-row .card { max-height: 100%; }
  /* the flavour profile a size smaller, so it fits between the bar and the sign-up */
  .sc-inprof { --u: 3.3px; margin-top: 12px; }
  .sc-inprof .sc-fam b { font-size: calc(5.4 * var(--u)); }
  .sc-live #app #v-me .prof .me { padding-top: 14px; padding-bottom: 6px; }
  /* the cafe card: shorter, two notes at most */
  .sc-cc-ph { min-height: 104px; }
  .sc-tn p { font-size: 13px; }
  .sc-live #app .views > .view { bottom: 0 !important; }
  .sc-rbox .sc-rabout { display: none; } .sc-rbox .sc-rlogo { width: 44px; height: 44px; } .sc-rbox .sc-pop.note:nth-child(n+6) { display: none; }
  .sc-right { margin: 0 -14px -14px 0; padding: 4px 14px 14px 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16px); mask-image: linear-gradient(to bottom, transparent 0, #000 16px); }
  .sc-cc-notes .sc-pop { font-size: 12px; min-height: 0; padding: 4px 9px; }
  .sc-side { padding-top: 8px; } .sc-when { margin-bottom: 6px; } .sc-fine { margin-top: 4px; }
  .sc-say { gap: 14px; padding: 0 16px; } .sc-say-n { font-size: 28px; } .sc-say-t { font-size: 16px; } .sc-dots { gap: 5px; } .sc-dots i { width: 5px; height: 5px; } .sc-dots i.on { width: 18px; }
  .sc-ov { padding: 0 5%; }
  .sc-sent { top: 52%; }
  .sc-cafe { flex-direction: column; gap: 12px; padding: 12px 4%; }
  .sc-left { flex: none; }
  .sc-cc { display: flex; } .sc-cc-ph { flex: 0 0 42%; aspect-ratio: auto; min-height: 120px; } .sc-cc-b { padding: 10px 12px; } .sc-cc-n { font-size: 18px; } .sc-cc-s { margin: 2px 0 6px; font-size: 12px; }
  .sc-mp { left: 8px; top: 8px; padding: 4px 9px; font-size: 12px; } .sc-mp b { font-size: 14px; } .sc-bm { right: auto; left: 8px; top: auto; bottom: 8px; width: 34px; height: 34px; }
  .sc-cc-notes .sc-pop:nth-child(n+3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sc-ov, .sc-say, .sc-side, .sc-end .sc-logo, .sc-launch, .sc-sent, .sc-chip, .sc-cloud { transition: none; }
}
