/* CoffeeNow website. Palette and type follow the app: deep navy, azure, warm cream; Plus Jakarta Sans for titles,
   DM Sans for text. No framework, no build step. */
:root {
  --ink: #082D5A; --ink-2: #0E4079; --azure: #2F6CB0; --azure-d: #1D5A9E;
  --cream: #F7F2E8; --cream-2: #EFE8DC; --surface: #FFFDF9; --muted: #5F6F86; --line: rgba(8, 45, 90, .12);
  --green: #1B9A68; --green-d: #117350; --amber: #E8A317; --terra: #C4693F; --danger: #D64545;
  --r: 28px; --r-sm: 18px; --shadow: 0 18px 50px -18px rgba(8, 45, 90, .35); --shadow-s: 0 8px 24px -12px rgba(8, 45, 90, .3);
  --title: 'Plus Jakarta Sans', system-ui, sans-serif; --text: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --fill: #082D5A; --fill-2: #0E4079; --deep: #082D5A; color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--title); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fill); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 28px; border-radius: 999px; font: 700 16px/1 var(--text); text-decoration: none; border: 2px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg, var(--fill-2), var(--fill)); color: #fff; box-shadow: 0 10px 26px -10px rgba(8, 45, 90, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(8, 45, 90, .75); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--fill); border-color: var(--fill); color: #fff; transform: translateY(-2px); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn:active { transform: scale(.97); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--azure-d); box-shadow: var(--shadow-s); }

/* ---------- nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(247, 242, 232, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.stuck { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(8, 45, 90, .4); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 21px var(--title); letter-spacing: -.02em; }
.brand img { border-radius: 11px; }
.nav-links { display: flex; gap: 6px; margin-left: 12px; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; color: var(--muted); transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(8, 45, 90, .07); color: var(--ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; background: rgba(8, 45, 90, .07); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: transparent; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 12.5px; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--fill); color: #fff; }

/* ---------- hero */
.hero { position: relative; padding: 36px 0 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: 0; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; background: #9cc3ee; top: -160px; right: -120px; }
.b2 { width: 460px; height: 460px; background: #f1c98f; bottom: 40px; left: -180px; animation-delay: -6s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-bottom: 56px; }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5.2rem); line-height: 1; margin: 22px 0 22px; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--azure), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; padding: 0 .04em .18em; margin-bottom: -.18em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 33em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 34px; }
.trio { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.trio li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.ico { width: 38px; height: 38px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow-s); }
.ico svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- stage: phone + floating things */
.stage { position: relative; display: grid; justify-items: center; min-height: 760px; }
@keyframes bob { 50% { translate: 0 -12px; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 11px rgba(27, 154, 104, 0); } 100% { box-shadow: 0 0 0 0 rgba(27, 154, 104, 0); } }

.phone { position: relative; z-index: 2; width: 330px; height: 676px; border-radius: 54px; padding: 11px; background: linear-gradient(160deg, #1b2b44, #070f1c); box-shadow: 0 50px 90px -30px rgba(8, 45, 90, .65), inset 0 0 0 2px #2c3d57; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 43px; overflow: hidden; background: var(--cream); isolation: isolate; }
.statusbar { position: absolute; z-index: 6; inset: 0 0 auto 0; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 6px 26px 0; font: 700 14px var(--text); color: var(--ink); pointer-events: none; }
.statusbar.dark { color: #fff; }
.sb-r { display: flex; gap: 6px; align-items: center; }
.notch { position: absolute; left: 50%; top: 11px; translate: -50% 0; width: 92px; height: 26px; border-radius: 999px; background: #05090f; }
.homebar { position: absolute; z-index: 6; left: 50%; bottom: 7px; translate: -50% 0; width: 118px; height: 5px; border-radius: 3px; background: rgba(8, 45, 90, .55); pointer-events: none; }
.homebar.light { background: rgba(255, 255, 255, .7); }
.toast { position: absolute; z-index: 8; left: 12px; right: 12px; top: 50px; translate: 0 -140%; opacity: 0; transition: translate .5s var(--ease), opacity .4s; background: rgba(255, 253, 249, .96); border-radius: 20px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); font-size: 12.5px; line-height: 1.3; }
.toast.show { translate: 0 0; opacity: 1; }
.toast img { width: 34px; height: 34px; border-radius: 9px; }
.toast b { display: block; font: 800 13px var(--title); }
.toast small { color: var(--muted); font-size: 12px; }
.screens { position: absolute; inset: 0; }
.scr { position: absolute; inset: 0; padding: 52px 14px 22px; overflow: hidden auto; scrollbar-width: none; transform: translateX(40%); opacity: 0; pointer-events: none; transition: transform .5s var(--ease), opacity .4s; }
.scr::-webkit-scrollbar { display: none; }
.scr.on { transform: none; opacity: 1; pointer-events: auto; }
.scr.out { transform: translateX(-24%); opacity: 0; }
.scr h5 { margin: 6px 4px 12px; font: 800 24px/1.1 var(--title); letter-spacing: -.02em; }
.a-search { display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 16px; padding: 11px 14px; color: #8a97ab; font-size: 13px; box-shadow: var(--shadow-s); }
.a-chips { display: flex; gap: 7px; margin: 10px 0; overflow: hidden; }
.a-chips span { white-space: nowrap; background: var(--surface); border-radius: 999px; padding: 7px 13px; font-size: 12px; font-weight: 700; box-shadow: 0 3px 10px -6px rgba(8, 45, 90, .4); }
.a-chips span.on { background: var(--fill); color: #fff; }
.a-map { position: relative; height: 150px; border-radius: 22px; overflow: hidden; background: #efe9dc; box-shadow: var(--shadow-s); }
.a-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.a-osm { position: absolute; right: 6px; bottom: 3px; font: 500 8px var(--text); color: rgba(8, 45, 90, .55); }
.a-pin { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--fill); color: #fff; font: 800 12px/30px var(--title); text-align: center; border: 3px solid rgba(255, 255, 255, .85); box-shadow: 0 6px 14px -4px rgba(8, 45, 90, .6); animation: pinpop .6s var(--ease) both; }
@keyframes pinpop { from { scale: 0; } }
.a-label { margin: 12px 4px 6px; font: 700 10.5px var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.a-cafe { position: relative; display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; background: var(--surface); border: 0; border-radius: 20px; padding: 11px; margin-bottom: 9px; box-shadow: var(--shadow-s); transition: transform .25s var(--ease), background-color .25s, box-shadow .25s; }
.a-cafe:hover { transform: translateY(-2px); background: #eef4fb; box-shadow: 0 10px 22px -12px rgba(47, 108, 176, .45); }
.a-cafe .tile, .a-cafe .tile:hover { transform: none; transition: none; }
.a-cafe .tile { padding: 0; border: 0; box-shadow: none; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: #fff; font: 800 20px var(--title); flex: none; }
.a-cafe b { display: block; font: 800 14.5px var(--title); }
.a-cafe small { color: var(--muted); font-size: 12px; }
.a-open { display: inline-block; margin-top: 3px; background: #dff3e9; color: var(--green-d); border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 700; }
.tap { position: relative; }
.tap::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid var(--azure); opacity: 0; animation: ring 2.2s var(--ease) infinite; pointer-events: none; }
@keyframes ring { 0% { opacity: .9; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.08); } }
.a-top { display: flex; align-items: center; gap: 10px; margin: 2px 2px 12px; }
.a-back { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: var(--shadow-s); display: grid; place-items: center; font-size: 17px; }
.a-top h5 { margin: 0; font-size: 20px; }
.a-top small { display: block; color: var(--muted); font-size: 12px; }
.a-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.a-drink { position: relative; background: var(--surface); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-s); text-align: left; border: 0; padding: 0; }
.a-drink img { width: 100%; height: 92px; object-fit: cover; }
.a-drink div { padding: 8px 10px 11px; }
.a-drink b { font: 800 13px var(--title); display: block; }
.a-drink small { color: var(--muted); font-size: 12px; }
.a-add { position: absolute; right: 8px; top: 62px; width: 32px; height: 32px; border-radius: 50%; background: var(--fill); color: #fff; display: grid; place-items: center; font-size: 19px; box-shadow: 0 6px 12px -4px rgba(8, 45, 90, .7); transition: transform .25s var(--ease), background .25s; }
.a-drink.added .a-add { background: var(--green); transform: scale(1.12) rotate(360deg); }
.a-cartbar { position: absolute; left: 14px; right: 14px; bottom: 26px; border: 0; border-radius: 22px; padding: 15px 18px; background: linear-gradient(135deg, var(--fill-2), var(--fill)); color: #fff; display: flex; justify-content: space-between; align-items: center; font: 700 14px var(--text); translate: 0 130%; transition: translate .5s var(--ease); box-shadow: 0 14px 28px -10px rgba(8, 45, 90, .8); }
.a-cartbar.show { translate: 0 0; }
.a-cartbar small { display: block; font-weight: 500; opacity: .8; font-size: 12px; }
.a-card { background: var(--surface); border-radius: 20px; padding: 14px; box-shadow: var(--shadow-s); margin-bottom: 10px; }
.a-line { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; padding: 3px 0; }
.a-line.tot { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 9px; font: 800 15px var(--title); }
.a-times { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.a-time { border: 2px solid var(--line); background: transparent; border-radius: 14px; padding: 9px 12px; font: 700 13px var(--text); transition: all .2s; }
.a-time.on { background: var(--fill); border-color: var(--fill); color: #fff; }
.a-pay { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.a-btn { width: 100%; border: 0; border-radius: 999px; padding: 15px; background: linear-gradient(135deg, var(--fill-2), var(--fill)); color: #fff; font: 700 15px var(--text); box-shadow: 0 12px 24px -10px rgba(8, 45, 90, .8); transition: transform .2s; }
.a-btn:active { transform: scale(.97); }
.a-btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); box-shadow: none; }
.a-hero { border-radius: 26px; padding: 52px 18px 14px; margin: -52px -14px 8px; color: #fff; background: linear-gradient(135deg, #1B9A68, #117350); transition: background .6s; }
.a-hero.done { background: linear-gradient(135deg, #0E4079, #082D5A); }
.a-hero small { opacity: .85; font-size: 12.5px; }
.a-hero b { display: block; font: 800 20px var(--title); margin: 2px 0; }
.a-stat { font: 800 25px/1.1 var(--title); letter-spacing: -.02em; margin-top: 6px; }
.a-time-left { margin-top: 12px; }
.a-time-left span { display: flex; justify-content: space-between; font-size: 12px; opacity: .9; }
.a-bar { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .25); overflow: hidden; margin-top: 6px; }
.a-bar i { display: block; height: 100%; width: 100%; background: #fff; border-radius: 6px; transform-origin: left; transition: width 1s linear, background .5s; }
.a-bar i.warn { background: var(--amber); } .a-bar i.low { background: #ff7d7d; }
.a-tl { display: flex; justify-content: space-between; position: relative; margin: 12px 6px 8px; }
.a-tl::before { content: ""; position: absolute; left: 14px; right: 14px; top: 13px; height: 3px; background: var(--line); }
.a-tl i.prog { position: absolute; left: 14px; top: 13px; height: 3px; background: var(--fill); width: 0; transition: width .7s var(--ease); }
.a-tl span { position: relative; text-align: center; font-size: 10.5px; font-weight: 700; color: var(--muted); width: 62px; }
.a-tl span::before { content: ""; display: block; width: 28px; height: 28px; margin: 0 auto 5px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line); transition: all .4s; }
.a-tl span.on { color: var(--ink); } .a-tl span.on::before { background: var(--fill); border-color: var(--ink); box-shadow: 0 0 0 5px rgba(8, 45, 90, .12); }
.a-qr { display: grid; place-items: center; background: var(--surface); border-radius: 22px; padding: 10px; box-shadow: var(--shadow-s); margin-bottom: 8px; }
.a-qr svg { width: 112px; height: 112px; }
.a-qr small { color: var(--muted); margin-top: 6px; font-size: 12px; text-align: center; }
.a-stars { display: flex; justify-content: center; gap: 4px; font-size: 26px; color: var(--amber); margin: 6px 0 12px; }
.a-ghost { display: block; margin: 8px auto 0; background: transparent; border: 0; color: var(--azure-d); font: 700 12.5px var(--text); text-decoration: underline; }
.confetti { position: absolute; inset: 0; pointer-events: none; z-index: 7; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(740px) rotate(720deg); opacity: .9; } }

.steps { display: flex; gap: 8px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }
.steps li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 253, 249, .8); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); transition: all .3s; }
.steps li span { width: 22px; height: 22px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-size: 12px; color: var(--ink); }
.steps li.on { background: var(--fill); color: #fff; border-color: var(--ink); }
.steps li.on span { background: #fff; color: var(--ink); }
.steps li.done span { background: var(--green); color: #fff; }
.hint { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; min-height: 22px; }

.marquee { position: relative; z-index: 1; border-block: 1px solid var(--line); background: rgba(255, 253, 249, .6); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; gap: 14px; animation: slide 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq { display: flex; align-items: center; gap: 12px; padding: 6px 20px 6px 6px; background: var(--surface); border-radius: 999px; border: 1px solid var(--line); font: 800 15px var(--title); white-space: nowrap; }
.mq img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections */
.sec { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.sec-alt { background: var(--cream-2); }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 14px 0 16px; letter-spacing: -.03em; }
.sec-head p { color: var(--muted); font-size: 1.12rem; }
.sec-head.light h2, .sec-head.light p { color: #fff; } .sec-head.light p { opacity: .8; }
.eyebrow { display: inline-block; font: 700 12px var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--azure-d); background: rgba(47, 108, 176, .1); padding: 6px 14px; border-radius: 999px; }
.light .eyebrow { color: #fff; background: rgba(255, 255, 255, .14); }

.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.how-card { position: relative; background: var(--surface); border-radius: var(--r); padding: 34px 26px 30px; box-shadow: var(--shadow-s); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; overflow: hidden; }
.how-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.how-card .num { position: absolute; right: 18px; top: 8px; font: 800 84px/1 var(--title); color: rgba(8, 45, 90, .06); }
.how-ico { width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(135deg, var(--fill-2), var(--fill)); display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 12px 22px -10px rgba(8, 45, 90, .7); transition: transform .4s var(--ease); }
.how-card:hover .how-ico { transform: rotate(-8deg) scale(1.08); }
.how-ico svg { width: 27px; height: 27px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.how-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.how-card p { color: var(--muted); font-size: 15.5px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { position: relative; background: var(--surface); border-radius: var(--r); padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow-s); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tile h3 { font-size: 1.32rem; margin-bottom: 8px; }
.tile > p, .tile-txt p { color: var(--muted); font-size: 15.5px; max-width: 30em; }
.t-route { grid-column: span 4; display: grid; grid-template-columns: .85fr 1.15fr; gap: 10px; align-items: center; background: linear-gradient(135deg, #fff, #eaf2fb); }
.route-svg { width: 100%; height: auto; overflow: visible; }
.route-bg { fill: none; stroke: rgba(8, 45, 90, .12); stroke-width: 7; stroke-linecap: round; }
.route-fg { fill: none; stroke: url(#rg); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pin { opacity: 0; transform-box: fill-box; transform-origin: center bottom; }
.t-route.in .route-fg { animation: draw 2.2s var(--ease) .2s forwards; }
.t-route.in .pin { animation: pinin .6s var(--ease) forwards; }
.t-route.in .p-a { animation-delay: .2s; } .t-route.in .p-b { animation-delay: .9s; } .t-route.in .p-c { animation-delay: 1.5s; } .t-route.in .p-d { animation-delay: 2.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } } @keyframes pinin { from { opacity: 0; transform: translateY(-14px) scale(.5); } to { opacity: 1; transform: none; } }
.t-time { grid-column: span 2; }
.time-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.time-pick button { border: 2px solid var(--line); background: transparent; border-radius: 14px; padding: 12px 0; font: 800 15px var(--title); transition: all .25s var(--ease); }
.time-pick button:hover { border-color: var(--azure); }
.time-pick button.on { background: var(--fill); border-color: var(--fill); color: #fff; transform: scale(1.06); box-shadow: var(--shadow-s); }
.t-qr { grid-column: span 2; text-align: center; background: linear-gradient(160deg, #fff, #f3ede0); }
.qr-box { position: relative; width: 138px; height: 138px; margin: 0 auto 18px; padding: 10px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-s); overflow: hidden; }
.qr-box svg { width: 100%; height: 100%; }
.scan { position: absolute; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--green), transparent); box-shadow: 0 0 14px 2px rgba(27, 154, 104, .6); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 8%; } 50% { top: 90%; } }
.t-qr p { margin-inline: auto; }
.t-loy { grid-column: span 2; background: linear-gradient(160deg, #0E4079, #082D5A); color: #fff; border-color: transparent; }
.t-loy p { color: rgba(255, 255, 255, .78); }
.tiers { display: flex; gap: 8px; margin: 18px 0 12px; }
.tier { color: inherit; flex: 1; text-align: center; padding: 10px 4px; border-radius: 14px; background: rgba(255, 255, 255, .1); font: 700 12px var(--text); transition: all .3s; }
.tier i { display: block; width: 26px; height: 26px; border-radius: 50%; margin: 0 auto 5px; }
.tier.on { background: #fff; color: var(--ink); transform: translateY(-3px); }
.loy-bar { height: 9px; border-radius: 6px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.loy-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #E8A317, #f6d27a); transition: width 1.4s var(--ease); }
.loy-txt { display: block; margin-top: 8px; color: rgba(255, 255, 255, .8); font-size: 13px; }
.t-chat { grid-column: span 4; }
.t-push { grid-column: span 4; background: linear-gradient(160deg, #fff, #eaf2fb); }
.chat-demo { display: grid; gap: 8px; margin-top: 18px; }
.bub { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.4; opacity: 0; translate: 0 10px; transition: all .5s var(--ease); }
.bub.show { opacity: 1; translate: 0 0; }
.bub.me { justify-self: end; background: var(--fill); color: #fff; border-bottom-right-radius: 5px; }
.bub.bot { background: var(--cream); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.push-stack { display: grid; gap: 10px; margin-top: 18px; }
.push { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 11px 14px; box-shadow: var(--shadow-s); transition: transform .35s var(--ease); }
.push:nth-child(2) { margin-left: 18px; } .push:nth-child(3) { margin-left: 36px; }
.push:hover { transform: translateX(6px); }
.push img { border-radius: 9px; flex: none; }
.push div { flex: 1; min-width: 0; } .push b { display: block; font: 800 14px var(--title); } .push small { color: var(--muted); font-size: 12.5px; display: block; line-height: 1.35; }
.push em { font-style: normal; color: var(--muted); font-size: 12px; }

/* calculator */
.calc { background: var(--deep); color: #fff; overflow: hidden; }
.calc-bg { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 45, 90, .86), rgba(8, 45, 90, .95)), url('https://images.unsplash.com/photo-1498804103079-a6351b050096?auto=format&fit=crop&w=1600&q=60') center/cover; }
.calc-in { position: relative; }
.calc-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; max-width: 900px; margin: 0 auto; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 36px; padding: clamp(24px, 4vw, 48px); }
.calc-ctl label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; margin: 6px 0 12px; }
.calc-ctl label b { font: 800 30px var(--title); color: #f6d27a; }
.calc-ctl label:not(:first-child) { margin-top: 28px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .2); outline-offset: 6px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 5px solid var(--azure); box-shadow: 0 6px 14px rgba(0, 0, 0, .35); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--azure); cursor: grab; }
.calc-out { position: relative; text-align: center; }
.ring { width: 220px; height: 220px; margin: 0 auto; display: block; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; } .ring-bg { stroke: rgba(255, 255, 255, .14); }
.ring-fg { stroke: #f6d27a; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1s var(--ease); }
.ring-txt { position: absolute; left: 0; right: 0; top: 62px; } .ring-txt b { display: block; font: 800 62px/1 var(--title); letter-spacing: -.03em; } .ring-txt span { opacity: .8; font-size: 14px; }
#calcNote { margin-top: 14px; color: rgba(255, 255, 255, .85); font-size: 15px; }

/* menu */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tabs button { border: 2px solid var(--line); background: var(--surface); border-radius: 999px; padding: 10px 22px; font-weight: 700; font-size: 15px; transition: all .25s var(--ease); }
.tabs button:hover { border-color: var(--azure); }
.tabs button[aria-selected="true"] { background: var(--fill); border-color: var(--fill); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-s); }
.drinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.drink { position: relative; background: var(--surface); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-s); transition: transform .35s var(--ease), box-shadow .35s; animation: rise .5s var(--ease) both; transform-style: preserve-3d; }
.drink:hover { box-shadow: var(--shadow); }
.drink .ph { aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream-2); }
.drink img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.drink:hover img { transform: scale(1.1); }
.drink div.tx { padding: 16px 18px 20px; }
.drink h3 { font-size: 1.1rem; } .drink p { color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.45; }
.drink .tag { position: absolute; left: 12px; top: 12px; background: rgba(255, 253, 249, .92); border-radius: 999px; padding: 4px 11px; font: 700 11.5px var(--text); color: var(--ink); backdrop-filter: blur(6px); }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.97); } }

/* cafés (dark) */
.cafes { background: var(--deep); color: #fff; overflow: hidden; }
.cafes-photo { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 45, 90, .93), rgba(8, 45, 90, .97)), url('https://images.unsplash.com/photo-1453614512568-c4024d13c247?auto=format&fit=crop&w=1600&q=60') center/cover; }
.cafes .wrap { position: relative; }
.cafes-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.perks { display: grid; gap: 16px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; }
.perks b { display: block; font: 800 1.08rem var(--title); } .perks small { display: block; color: rgba(255, 255, 255, .7); font-size: 14.5px; margin-top: 2px; }
.tick { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin-top: 2px; }
.tick svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.board { background: #101a28; border: 1px solid rgba(255, 255, 255, .1); border-radius: 30px; padding: 20px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); }
.board-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.board-top b { font: 800 1.2rem var(--title); }
.pause { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: #fff; border-radius: 999px; padding: 8px 16px 8px 10px; font-weight: 700; font-size: 13.5px; transition: all .3s; }
.pause i { width: 36px; height: 20px; border-radius: 12px; background: rgba(255, 255, 255, .2); position: relative; transition: background .3s; }
.pause i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: translate .3s var(--ease); }
.pause[aria-pressed="true"] { background: rgba(214, 69, 69, .18); border-color: var(--danger); }
.pause[aria-pressed="true"] i { background: var(--danger); } .pause[aria-pressed="true"] i::after { translate: 16px 0; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cols h4 { display: flex; justify-content: space-between; align-items: center; font: 700 12px var(--text); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 10px; }
.cols h4 em { font-style: normal; background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 1px 9px; color: #fff; }
.col { display: grid; align-content: start; gap: 10px; min-height: 250px; background: rgba(255, 255, 255, .03); border-radius: 18px; padding: 8px; }
.ord { text-align: left; width: 100%; border: 0; border-radius: 16px; padding: 12px; background: #1b2738; color: #fff; display: grid; gap: 3px; animation: ordin .5s var(--ease) both; transition: transform .25s var(--ease), background .25s; }
.ord:hover { transform: translateY(-2px); background: #243349; }
.ord b { font: 800 13px var(--title); display: flex; justify-content: space-between; } .ord small { color: rgba(255, 255, 255, .65); font-size: 12px; line-height: 1.35; }
.ord .when { color: #f6d27a; font-weight: 700; }
.ord.fly { animation: fly .35s var(--ease) forwards; }
@keyframes ordin { from { opacity: 0; transform: translateY(-16px) scale(.94); } } @keyframes fly { to { opacity: 0; transform: translateX(40px) scale(.9); } }
.board-hint { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .55); text-align: center; }
.board.paused::after { content: attr(data-paused); position: absolute; }
.join { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.join li { display: flex; gap: 14px; align-items: center; padding: 18px 22px; border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.join li > span { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); font: 800 18px/40px var(--title); text-align: center; }
.join b { display: block; font: 800 1.05rem var(--title); } .join small { color: rgba(255, 255, 255, .7); font-size: 14px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-s); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font: 800 1.08rem var(--title); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font: 700 22px/1 var(--text); transition: transform .35s var(--ease), background .25s; }
.faq details[open] summary::after { transform: rotate(135deg); background: var(--fill); color: #fff; }
.faq .ans { padding: 0 24px 22px; color: var(--muted); }

/* contact */
.contact { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact-copy h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin: 14px 0 16px; letter-spacing: -.03em; }
.contact-copy > p { color: var(--muted); font-size: 1.1rem; max-width: 30em; }
.contact-photo { margin: 28px 0 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); max-width: 460px; }
.contact-photo img { width: 100%; height: auto; }
.form { position: relative; background: var(--surface); border-radius: 34px; padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 16px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); border-radius: 999px; padding: 5px; }
.seg button { border: 0; background: transparent; padding: 12px; border-radius: 999px; font-weight: 700; transition: all .3s var(--ease); }
.seg button[aria-selected="true"] { background: var(--fill); color: #fff; box-shadow: var(--shadow-s); }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.form input:not(.hp), .form textarea { width: 100%; border: 2px solid var(--line); background: var(--cream); border-radius: 16px; padding: 14px 16px; font: 400 16px var(--text); color: var(--ink); transition: border-color .2s, background .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--azure); background: #fff; }
.form textarea { resize: vertical; min-height: 92px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-err { color: var(--danger); font-weight: 700; font-size: 14px; }
.fine { font-size: 13px; color: var(--muted); } .fine a { color: var(--azure-d); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.sent { position: absolute; inset: 0; background: var(--surface); border-radius: inherit; display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding: 30px; }
.sent[hidden] { display: none; }
.sent svg { width: 92px; height: 92px; } .sent svg circle { stroke: var(--green); stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw2 .7s .1s var(--ease) forwards; }
.sent svg path { stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw2 .5s .6s var(--ease) forwards; }
@keyframes draw2 { to { stroke-dashoffset: 0; } }
.sent h3 { font-size: 1.7rem; } .sent p { color: var(--muted); max-width: 22em; }

/* footer */
.foot { background: var(--deep); color: #fff; padding: 48px 0 40px; }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.foot-brand { display: flex; gap: 14px; align-items: center; } .foot-brand img { border-radius: 13px; } .foot-brand b { display: block; font: 800 1.2rem var(--title); } .foot-brand small { color: rgba(255, 255, 255, .65); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; } .foot-links a { text-decoration: none; color: rgba(255, 255, 255, .8); font-size: 15px; } .foot-links a:hover { color: #fff; text-decoration: underline; }
.copy { grid-column: 1 / -1; color: rgba(255, 255, 255, .5); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive */
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; text-align: center; } .lead { margin-inline: auto; } .cta-row, .trio { justify-content: center; }
  .stage { min-height: 0; padding-top: 10px; }
  .how { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); } .t-route, .t-chat, .t-push, .t-loy { grid-column: span 2; } .t-qr, .t-time { grid-column: span 1; } .t-route { grid-template-columns: 1fr; }
  .drinks { grid-template-columns: repeat(3, 1fr); } .cafes-grid, .contact-in { grid-template-columns: 1fr; } .join { grid-template-columns: 1fr; }
  .nav-links { display: none; } .calc-card { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; } .wrap { width: calc(100% - 32px); }
  .nav-in { height: 64px; gap: 10px; } .brand span { display: none; } .nav-end .btn { padding: 0 14px; }
  .phone { width: 300px; height: 620px; border-radius: 50px; } .how { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; } .t-route, .t-time, .t-qr, .t-loy, .t-chat, .t-push { grid-column: auto; }
  .drinks { grid-template-columns: repeat(2, 1fr); gap: 12px; } .drink div.tx { padding: 12px 12px 16px; } .drink p { display: none; }
  .cols { grid-template-columns: 1fr; } .col { min-height: 0; } .push:nth-child(n) { margin-left: 0; }
  .calc-card { padding: 22px; } .ring { width: 190px; height: 190px; } .ring-txt { top: 52px; } .ring-txt b { font-size: 52px; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* the order-status screen shows different parts in each stage */
.scr[data-st="prep"] .st-ready, .scr[data-st="prep"] .st-done { display: none; }
.scr[data-st="ready"] .st-done { display: none; }
.scr[data-st="done"] .st-ready { display: none; }
.board-banner { margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; background: rgba(214, 69, 69, .16); border: 1px solid rgba(214, 69, 69, .6); color: #ffb4b4; font-weight: 700; font-size: 13.5px; text-align: center; }
.board.paused .col { opacity: .55; }

/* ---------- legal pages (terms, privacy): same look as the site */
.legal-doc { padding: 48px 0 80px; }
.legal-doc h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal-upd { color: var(--muted); font-size: 14px; margin-top: 10px; }
.legal-intro { font-size: 18px; margin-top: 22px; }
.legal-doc section { margin-top: 34px; }
.legal-doc h2 { font-size: 1.35rem; margin-bottom: 10px; }
.legal-doc p { margin-top: 10px; color: #23406a; }
.legal-doc ul { margin-top: 10px; display: grid; gap: 8px; }
.legal-doc li { position: relative; padding-left: 22px; color: #23406a; }
.legal-doc li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--azure); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal-nav a, .legal-back { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--azure-d); padding: 8px 16px; border-radius: 999px; background: rgba(47, 108, 176, .1); }
.legal-nav a:hover, .legal-back:hover { background: rgba(47, 108, 176, .18); }
[hidden] { display: none !important; }
@media (max-width: 680px) { .legal-back { display: none; } }

/* ---------- "coming soon" store badges */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 14px; background: var(--fill); color: #fff; opacity: .92; cursor: default; }
.st-ico svg { width: 24px; height: 24px; display: block; }
.st-txt { display: grid; line-height: 1.15; text-align: left; }
.st-txt small { font-size: 11px; opacity: .75; letter-spacing: .02em; }
.st-txt b { font: 700 16px var(--text); }
.stores.on-dark { margin-top: 0; } .stores.on-dark .store { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); }
.foot-in .stores { grid-column: 1 / -1; }
@media (max-width: 1020px) { .stores { justify-content: center; } }
.nav-links a { white-space: nowrap; }
@media (max-width: 1080px) { .nav-links { display: none; } }
/* hero spacing: buttons, store badges and the three highlights each get their own room */
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.hero .cta-row { margin: 28px 0 0; }
.hero .stores { margin: 18px 0 32px; }
.stores .store { padding: 8px 16px 8px 12px; }
.stores .st-txt b { font-size: 15px; }

/* route tile: labels travel with their pin */
.rt-n { font: 800 13.5px var(--title); fill: var(--ink); }
.rt-t { font: 500 12.5px var(--text); fill: var(--muted); }

/* footer: brand | links | stores on one row, copyright under a thin line */
.foot { padding: 56px 0 28px; }
.foot-in { grid-template-columns: 1.2fr 1fr auto; grid-template-areas: "brand links stores" "copy copy copy"; align-items: start; gap: 32px 48px; }
.foot-brand { grid-area: brand; }
.foot-brand img { background: #fff; padding: 5px; border-radius: 15px; width: 52px; height: 52px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5); }
.foot-links { grid-area: links; flex-direction: column; gap: 12px; padding-top: 4px; }
.foot .stores { grid-area: stores; grid-column: auto; flex-direction: column; align-items: stretch; margin: 0; gap: 10px; }
.foot .stores .store { min-width: 190px; }
.foot .copy { grid-area: copy; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .55); }
@media (max-width: 860px) {
  .foot-in { grid-template-columns: 1fr; grid-template-areas: "brand" "links" "stores" "copy"; gap: 26px; }
  .foot-links { flex-direction: row; flex-wrap: wrap; gap: 10px 22px; }
  .foot .stores { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
}

/* footer, compact: one slim row, copyright right under it */
.foot { padding: 28px 0 18px; }
.foot-in { grid-template-columns: auto 1fr auto; gap: 18px 32px; align-items: center; }
.foot-brand img { width: 44px; height: 44px; padding: 4px; border-radius: 13px; }
.foot-links { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 0; }
.foot .stores { flex-direction: row; gap: 10px; }
.foot .stores .store { min-width: 0; padding: 6px 14px 6px 10px; }
.foot .stores .st-txt b { font-size: 14px; }
.foot .copy { padding-top: 14px; font-size: 13px; }
@media (max-width: 980px) {
  .foot-in { grid-template-columns: 1fr; grid-template-areas: "brand" "links" "stores" "copy"; gap: 18px; }
  .foot-links { justify-content: flex-start; }
}

/* hero breathing room: buttons, then store badges (lighter, so they don't compete), then the highlights */
.hero .cta-row { margin: 36px 0 0; gap: 16px; }
.hero .stores { margin: 34px 0 44px; gap: 16px; }
.hero .store { background: rgba(255, 255, 255, .72); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 6px 18px -12px rgba(8, 45, 90, .35); opacity: 1; }
.hero .store .st-txt small { opacity: .65; }
.hero .trio { gap: 16px 32px; }

/* ---------- dark mode: [data-theme="dark"] on <html> (set by the toggle; first visit follows the system) */
:root[data-theme="dark"] {
  --ink: #E8EFF9; --ink-2: #C9D8EC; --azure: #5B9BE0; --azure-d: #8DBBF0;
  --cream: #0B1322; --cream-2: #0F1A2E; --surface: #15223A; --muted: #A3B3CA; --line: rgba(255, 255, 255, .13);
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, .7); --shadow-s: 0 8px 24px -12px rgba(0, 0, 0, .6);
  --fill: #2F6CB0; --fill-2: #3F80C9; --deep: #0A1F3D; color-scheme: dark;
}
/* the phone shows the app: it keeps its light look inside a dark page */
:root[data-theme="dark"] .phone {
  --ink: #082D5A; --ink-2: #0E4079; --azure: #2F6CB0; --azure-d: #1D5A9E;
  --cream: #F7F2E8; --cream-2: #EFE8DC; --surface: #FFFDF9; --muted: #5F6F86; --line: rgba(8, 45, 90, .12);
  --shadow-s: 0 8px 24px -12px rgba(8, 45, 90, .3); --fill: #082D5A; --fill-2: #0E4079; color: #082D5A;
}
:root[data-theme="dark"] .nav { background: rgba(11, 19, 34, .82); }
:root[data-theme="dark"] .nav-links a:hover, :root[data-theme="dark"] .lang { background: rgba(255, 255, 255, .08); }
:root[data-theme="dark"] .lang button[aria-pressed="true"] { background: var(--fill); }
:root[data-theme="dark"] .b1 { opacity: .35; } :root[data-theme="dark"] .b2 { opacity: .22; } :root[data-theme="dark"] .b3 { opacity: .3; }
:root[data-theme="dark"] .t-route, :root[data-theme="dark"] .t-push { background: linear-gradient(135deg, #16243E, #101C33); }
:root[data-theme="dark"] .t-qr { background: linear-gradient(160deg, #16243E, #121D31); }
:root[data-theme="dark"] .push { background: #1B2A46; }
:root[data-theme="dark"] .route-bg { stroke: rgba(255, 255, 255, .14); }
:root[data-theme="dark"] .how-card .num { color: rgba(255, 255, 255, .06); }
:root[data-theme="dark"] .form input:focus, :root[data-theme="dark"] .form textarea:focus { background: #1B2A46; }
:root[data-theme="dark"] .drink .tag { background: rgba(21, 34, 58, .92); color: var(--ink); }
:root[data-theme="dark"] .hero .store { background: rgba(255, 255, 255, .08); border-color: var(--line); }
:root[data-theme="dark"] .btn-ghost:hover { color: #fff; }
:root[data-theme="dark"] .tier.on { color: #082D5A; }
:root[data-theme="dark"] .join li > span, :root[data-theme="dark"] .steps li.on span { color: #082D5A; }
:root[data-theme="dark"] .skip { color: #082D5A; background: #fff; }
:root[data-theme="dark"] .foot { background: #070F1D; }
:root[data-theme="dark"] .legal-doc p, :root[data-theme="dark"] .legal-doc li { color: #C3D0E3; }
:root[data-theme="dark"] .legal-nav a, :root[data-theme="dark"] .legal-back { background: rgba(255, 255, 255, .08); color: var(--azure-d); }

/* theme toggle */
.theme-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(8, 45, 90, .07); display: grid; place-items: center; transition: background .2s, transform .25s var(--ease); }
.theme-btn:hover { transform: rotate(18deg); }
.theme-btn svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-sun { display: none; } :root[data-theme="dark"] .theme-btn .i-sun { display: block; } :root[data-theme="dark"] .theme-btn .i-moon { display: none; }
:root[data-theme="dark"] .theme-btn { background: rgba(255, 255, 255, .1); }
body, .nav, .tile, .how-card, .form, .faq details, .drink { transition: background-color .35s, color .35s, border-color .35s; }

/* map pins: smaller and spread over the city so the map stays readable */
.a-map .a-pin { width: 26px; height: 26px; font: 800 11px/26px var(--title); border-width: 2.5px; box-shadow: 0 4px 10px -3px rgba(8, 45, 90, .55); }

/* guide / article pages */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; } .crumbs a { color: var(--azure-d); text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.faq-mini { display: grid; gap: 10px; margin-top: 12px; }
.faq-mini details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.faq-mini summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.faq-mini details p { margin-top: 10px; }
.cta-box { margin-top: 40px; padding: 26px 28px; border-radius: 24px; background: linear-gradient(135deg, var(--fill-2), var(--fill)); color: #fff; display: grid; gap: 8px; justify-items: start; }
.cta-box b { font: 800 1.3rem var(--title); } .cta-box p { margin: 0; color: rgba(255, 255, 255, .85) !important; }
.cta-box .btn { margin-top: 10px; background: #fff; color: #082D5A; box-shadow: none; }
.related { margin-top: 28px; } .related a { color: var(--azure-d); font-weight: 700; }

/* header: the logo alone (it already says CoffeeNow), bigger; the name stays for screen readers */
.brand img { width: 58px; height: 58px; max-width: none; flex: none; border-radius: 15px; }
.brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 680px) { .brand img { width: 52px; height: 52px; border-radius: 14px; } }

/* big logo in the header (like a brand-first site); it shrinks a little once the page is scrolled */
.nav-in { height: 100px; transition: height .3s var(--ease); }
.brand img { width: 84px; height: 84px; border-radius: 20px; transition: width .3s var(--ease), height .3s var(--ease); }
.nav.stuck .nav-in { height: 76px; }
.nav.stuck .brand img { width: 60px; height: 60px; border-radius: 16px; }
.legal .nav-in { height: 100px; } .legal .brand img { width: 84px; height: 84px; border-radius: 20px; }
@media (max-width: 680px) {
  .nav-in { height: 80px; } .brand img { width: 62px; height: 62px; border-radius: 16px; }
  .nav.stuck .nav-in { height: 66px; } .nav.stuck .brand img { width: 52px; height: 52px; border-radius: 14px; }
  .legal .nav-in { height: 80px; } .legal .brand img { width: 62px; height: 62px; }
}

/* round logo: a circle like the profile picture; thin white ring on the dark theme */
.brand img, .nav.stuck .brand img, .legal .brand img { border-radius: 50%; box-shadow: 0 6px 16px -8px rgba(8, 45, 90, .55); }
:root[data-theme="dark"] .brand img { box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.foot-brand img { border-radius: 50%; padding: 3px; }

/* header logo a bit bigger */
.nav-in { height: 116px; }
.brand img, .legal .brand img { width: 100px; height: 100px; }
.nav.stuck .nav-in { height: 84px; }
.nav.stuck .brand img { width: 68px; height: 68px; }
.legal .nav-in { height: 116px; }
@media (max-width: 680px) {
  .nav-in, .legal .nav-in { height: 88px; } .brand img, .legal .brand img { width: 72px; height: 72px; }
  .nav.stuck .nav-in { height: 70px; } .nav.stuck .brand img { width: 56px; height: 56px; }
}

/* footer logo bigger */
.foot-brand img { width: 92px; height: 92px; padding: 4px; }
.foot-brand { gap: 18px; }
@media (max-width: 680px) { .foot-brand img { width: 76px; height: 76px; } }
