/* Bisserv website. Mobile first, brand red from the logo. */
:root {
  --red: #E0161E; --red-logo: #FF0100; --red-dark: #B80F16; --red-soft: #FDECEC;
  --ink: #1C1C1E; --ink-2: #4A4A4F; --ink-3: #75757B; --line: #ECECEF; --bg: #F7F7F9; --card: #fff;
  --green: #1E8E4E; --green-soft: #E7F5EC; --amber: #B36B00; --amber-soft: #FFF4E0;
  --radius: 20px; --max: 1120px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.55 var(--font); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #2563EB; outline-offset: 2px; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo img { height: 28px; width: auto; }
.nav { display: flex; gap: 4px; margin-inline-start: 12px; }
.nav a { text-decoration: none; font-weight: 600; color: var(--ink-2); padding: 8px 12px; border-radius: 10px; }
.nav a:hover { background: var(--bg); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--red); }
.head-row .sp { flex: 1; }
.signin { position: relative; }
/* Sign in is red, so people find it first */
.signin > button { border: 1px solid var(--red); background: var(--red); color: #fff; border-radius: 12px; padding: 9px 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.signin > button:hover, .signin > button[aria-expanded="true"] { background: var(--red-dark); border-color: var(--red-dark); }
.signin-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 290px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.12); padding: 8px; }
.signin-menu a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; text-decoration: none; }
.signin-menu a:hover { background: var(--bg); }
.signin-menu b { display: block; font-size: 14.5px; }
.signin-menu small { color: var(--ink-3); font-size: 12.5px; }
.signin-menu .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex: none; }
.menu-btn { display: none; border: 0; background: var(--bg); border-radius: 12px; width: 44px; height: 44px; place-items: center; cursor: pointer; }
@media (max-width: 900px) { .nav, .head-row .btn-join, .signin { display: none; } .menu-btn { display: grid; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 14px 22px; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap; min-height: 50px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-sm { padding: 9px 16px; min-height: 42px; font-size: 14.5px; border-radius: 12px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.alt { background: var(--bg); }
.dark { background: var(--ink); color: #fff; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin: 0 0 10px; }
.dark .eyebrow { color: #FF6B6B; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(36px, 6vw, 62px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 800; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 620px; margin: 18px 0 0; }
.dark .lead { color: rgba(255,255,255,.75); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.center .cta-row { justify-content: center; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } section { padding: 52px 0; } }
.head-block { margin-bottom: 36px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; background: radial-gradient(1200px 500px at 85% -10%, var(--red-soft), transparent 60%), #fff; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 40px; } }
.hero h1 span { color: var(--red); }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg.i { width: 18px; height: 18px; color: var(--green); }

/* Phone mock-up made with HTML (shows the real store look) */
.phone { width: min(330px, 100%); margin: 0 auto; border-radius: 40px; background: #111; padding: 12px; box-shadow: 0 30px 80px rgba(224,22,30,.18), 0 10px 30px rgba(0,0,0,.2); }
.screen { border-radius: 30px; overflow: hidden; background: var(--bg); }
.scr-top { background: #fff; display: flex; align-items: center; gap: 8px; padding: 12px; }
.scr-top img { height: 16px; }
.scr-top span { font-size: 11px; color: var(--ink-3); margin-inline-start: auto; }
.scr-hero { height: 110px; background: url(/assets/hero.png) center/cover; }
.scr-card { margin: -26px 10px 0; position: relative; background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.scr-card b { display: block; font-size: 15px; }
.scr-card small { font-size: 11px; color: var(--ink-3); }
.scr-badge { margin-top: 8px; background: var(--red-soft); color: var(--red-dark); font-size: 11px; font-weight: 700; padding: 6px 8px; border-radius: 8px; }
.scr-item { display: flex; gap: 10px; align-items: center; background: #fff; margin: 8px 10px; padding: 10px; border-radius: 14px; }
.scr-item i { width: 44px; height: 44px; border-radius: 10px; background: #F5C26B center/cover; flex: none; }
.scr-item div { flex: 1; font-size: 12px; }
.scr-item b { display: block; font-size: 13px; }
.scr-add { background: var(--red); color: #fff; font-size: 11px; font-weight: 800; padding: 6px 10px; border-radius: 8px; }
.scr-cart { margin: 12px 10px 12px; background: var(--red); color: #fff; border-radius: 14px; padding: 12px; font-weight: 800; font-size: 13px; display: flex; justify-content: space-between; }

/* ---------- Cards ---------- */
.card { background: var(--card); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.alt .card { border-color: transparent; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-2); }
.ic-box { width: 48px; height: 48px; border-radius: 14px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin-bottom: 16px; }
.step-no { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.who-card { display: flex; flex-direction: column; gap: 10px; }
.who-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Pricing ---------- */
.price-card { background: var(--ink); color: #fff; border-radius: 28px; padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .price-card { grid-template-columns: 1fr; padding: 26px; } }
.price-card h3 { font-size: 28px; }
.price-big { font-size: 40px; font-weight: 800; letter-spacing: -.02em; margin: 12px 0 4px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: none; margin-top: 1px; }
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; }
.compare th, .compare td { padding: 14px 16px; text-align: start; border-bottom: 1px solid var(--line); }
.compare th { font-size: 13px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.compare td:nth-child(2) { font-weight: 700; color: var(--green); }
.compare tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .compare th, .compare td { padding: 10px; font-size: 14px; } }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 30px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--ink-3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; background: #fff; width: 100%; outline: none; min-height: 50px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink-3); }
.checks { display: flex; gap: 8px; flex-wrap: wrap; }
.checks label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px; font-weight: 600; cursor: pointer; font-size: 14.5px; }
.checks input { accent-color: var(--red); width: 18px; height: 18px; margin: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; accent-color: var(--red); margin: 2px 0 0; flex: none; }
.hp { position: absolute; left: -5000px; }
.form-err { color: var(--red); font-weight: 700; min-height: 22px; }
.done { text-align: center; padding: 30px 10px; }
.done .ic-box { margin: 0 auto 14px; background: var(--green-soft); color: var(--green); }

/* ---------- Directory ---------- */
.dir-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.dir-tools input { flex: 1 1 260px; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px; min-height: 50px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 700; cursor: pointer; min-height: 44px; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cafe-card { text-decoration: none; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: box-shadow .15s, transform .15s; }
.cafe-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); transform: translateY(-2px); }
.cafe-cover { height: 120px; background: linear-gradient(135deg, var(--red), #FF6B4A); display: grid; place-items: center; color: #fff; font-size: 40px; font-weight: 800; }
.cafe-cover img { width: 76px; height: 76px; border-radius: 18px; object-fit: cover; background: #fff; }
.cafe-body { padding: 16px; display: grid; gap: 6px; }
.cafe-body b { font-size: 18px; }
.cafe-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 8px; background: var(--bg); }
.tag.green { background: var(--green-soft); color: var(--green); }
.tag.red { background: var(--red-soft); color: var(--red-dark); }
.region-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.meter { grid-column: 1 / -1; height: 8px; border-radius: 6px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--red); border-radius: 6px; }

/* ---------- Legal ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 24px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.draft { background: var(--amber-soft); color: #6B4100; border-radius: 14px; padding: 14px 16px; font-weight: 600; margin: 20px 0; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: rgba(255,255,255,.75); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.site-foot h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
.site-foot a { display: block; text-decoration: none; padding: 5px 0; color: rgba(255,255,255,.75); }
.site-foot a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; font-size: 13.5px; }
.demo-note { background: var(--ink); color: #fff; text-align: center; font-size: 12.5px; padding: 6px 10px; }
section[id], h2[id] { scroll-margin-top: 84px; }

/* ---------- Cafe cards (Zomato-style) ---------- */
.zgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 960px) { .zgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .zgrid { grid-template-columns: 1fr; gap: 18px; } }
.zcard { display: block; text-decoration: none; border-radius: 22px; padding: 10px; background: #fff; transition: box-shadow .15s, transform .15s; border: 1px solid transparent; }
.zcard:hover { box-shadow: 0 14px 34px rgba(0,0,0,.10); border-color: var(--line); }
.zimg { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; background: linear-gradient(135deg, var(--red), #FF6B4A) center/cover; overflow: hidden; display: grid; place-items: center; }
.zimg-letter { font-size: 54px; font-weight: 800; color: rgba(255,255,255,.9); }
.zcard.closed .zimg { filter: grayscale(.7); }
.z-offer { position: absolute; left: 0; bottom: 14px; background: linear-gradient(90deg, #2563EB, #2563EB 70%, rgba(37,99,235,0)); color: #fff; font-weight: 800; font-size: 13px; padding: 5px 34px 5px 12px; }
.z-closed, .z-busy { position: absolute; right: 10px; top: 10px; background: rgba(28,28,30,.85); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.z-busy { background: rgba(179,107,0,.92); }
.z-logo { position: absolute; left: 10px; top: 10px; width: 42px; height: 42px; border-radius: 12px; object-fit: cover; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.zbody { padding: 12px 4px 4px; display: grid; gap: 4px; }
.zrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.zrow.muted { color: var(--ink-3); }
.zrow > span:last-child { white-space: nowrap; flex: none; }
.zname { font-size: 18px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zcut { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.zrate { background: var(--green); color: #fff; font-weight: 800; font-size: 12.5px; padding: 3px 8px; border-radius: 8px; flex: none; }
.zrate.new { background: var(--bg); color: var(--ink-2); }
.zfoot { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.z-free { color: var(--green); }
.z-out { color: var(--red); }
.z-price { color: var(--red); font-size: 12px; }
.see-all { display: flex; justify-content: center; margin-top: 28px; }
@media (max-width: 600px) { .zgrid { grid-template-columns: minmax(0, 1fr); } }
.zcard { min-width: 0; }
.zfoot { flex-wrap: wrap; row-gap: 2px; }
@media (max-width: 360px) { .zrow { font-size: 13px; } .zname { font-size: 16.5px; } }
/* Card logo square (tap → cafe info) */
.zhead { display: flex; gap: 12px; align-items: flex-end; }
.zhead-txt { flex: 1; min-width: 0; display: grid; gap: 4px; }
.zlogo { position: relative; flex: none; width: 58px; height: 58px; margin-top: -34px; border-radius: 16px; border: 3px solid #fff; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.18); cursor: zoom-in; z-index: 1; }
.zlogo:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.zlogo-img { width: 100%; height: 100%; border-radius: 13px; object-fit: cover; display: block; }
.zlogo-img.letter { display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 800; font-size: 24px; }
.zlogo i { position: absolute; right: -6px; bottom: -6px; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--ink); font: italic 800 12px/20px Georgia, serif; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.zlogo:hover { transform: scale(1.04); }
/* Cafe info pop-up */
.ci-back { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 60; }
.ci { position: fixed; z-index: 61; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100% - 24px)); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.3); display: flex; flex-direction: column; }
@media (max-width: 600px) { .ci { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; } }
.ci-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.ci-top { position: relative; margin-bottom: 50px; flex: none; }
.ci-banner { aspect-ratio: 16 / 7; background: linear-gradient(135deg, var(--red), #FF6B4A) center/cover; }
.ci-logo { position: absolute; left: 20px; bottom: -44px; width: 100px; height: 100px; border-radius: 24px; object-fit: cover; border: 4px solid #fff; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.ci-logo.letter { display: grid; place-items: center; background: var(--red); color: #fff; font-size: 40px; font-weight: 800; }
.ci-body { padding: 0 20px 8px; }
.ci-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ci-title h3 { margin: 0; font-size: 22px; }
.ci-pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; }
.ci-pills > span { font-size: 12.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.ci-st.open { background: #E7F6EC; color: var(--green); } .ci-st.busy { background: #FFF3DC; color: #9A5B00; } .ci-st.closed { background: var(--bg); color: var(--ink-2); }
.ci-offer { background: #2563EB; color: #fff; } .ci-shop { background: var(--red-soft); color: var(--red-dark); }
.ci-pills > span.muted { font-weight: 600; padding: 0 4px; }
.ci-about { margin: 14px 0 0; line-height: 1.6; color: var(--ink-2); }
.ci-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.ci-facts > div { background: var(--bg); border-radius: 14px; padding: 10px; text-align: center; }
.ci-facts b { display: block; font-size: 15px; } .ci-facts small { color: var(--ink-3); font-size: 12px; }
.ci-list { margin-top: 12px; }
.ci-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ci-row > b { width: 100%; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.ci-row > span { flex: 1; min-width: 0; }
.ci-row.col { display: block; }
.ci-act { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 13px; text-decoration: none; color: var(--ink); }
.ci-hours { list-style: none; margin: 6px 0 4px; padding: 0; display: grid; gap: 4px; }
.ci-hours li { display: flex; justify-content: space-between; gap: 10px; }
.ci-hours li.today { font-weight: 800; color: var(--red); }
.ci-foot { position: sticky; bottom: 0; background: #fff; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); margin-top: auto; }
.ci-foot .btn { width: 100%; }
.zbody > * { min-width: 0; }
.zhead-txt > * { min-width: 0; }
/* "Coming soon" placeholder cards (fill the list to rows of 3) */
.zcard.soon .zimg { background: repeating-linear-gradient(135deg, #F3F3F6 0 14px, #ECECF0 14px 28px); }
.zcard.soon .zimg-letter { color: #C9C9D0; font-weight: 500; }
.zcard.soon .zname { color: var(--ink-2); }
.soon-logo { background: #fff !important; color: var(--ink-3) !important; border: 2px dashed var(--line); font-weight: 500 !important; }
.z-soon { position: absolute; left: 12px; top: 12px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.zcard.soon { border: 1px dashed var(--line); }
/* Phones: number / icon sits beside the card heading, text lines up under the heading */
@media (max-width: 600px) {
  .card:has(> .step-no:first-child), .card:has(> .ic-box:first-child):not(.done) {
    display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 6px; align-items: center; padding: 20px;
  }
  .card:has(> .step-no:first-child) > .step-no, .card:has(> .ic-box:first-child):not(.done) > .ic-box { margin: 0; grid-row: 1; }
  .card:has(> .step-no:first-child) > h3, .card:has(> .ic-box:first-child):not(.done) > h3 { margin: 0; font-size: clamp(15.5px, 4.8vw, 18px); text-wrap: balance; }
  .card:has(> .step-no:first-child) > :not(.step-no, h3), .card:has(> .ic-box:first-child):not(.done) > :not(.ic-box, h3) { grid-column: 2; }
  .card:has(> .ic-box:first-child) > .ic-box { width: 44px; height: 44px; }
}
@media (max-width: 360px) {
  .card:has(> .step-no:first-child), .card:has(> .ic-box:first-child):not(.done) { padding: 16px; column-gap: 12px; }
  .card:has(> .ic-box:first-child) > .ic-box, .card:has(> .step-no:first-child) > .step-no { width: 38px; height: 38px; }
  .card:has(> .step-no:first-child) > :not(.step-no, h3), .card:has(> .ic-box:first-child):not(.done) > :not(.ic-box, h3) { grid-column: 1 / -1; }
}
/* Phone menu drawer */
.mnav-back { position: fixed; inset: 0; z-index: 70; background: rgba(20,20,22,.45); animation: mnav-fade .2s ease; }
.mnav { position: fixed; z-index: 71; top: 0; bottom: 0; right: 0; width: min(360px, 88vw); background: #fff; display: flex; flex-direction: column; box-shadow: -18px 0 40px rgba(0,0,0,.18); animation: mnav-in .26s cubic-bezier(.2,.8,.2,1); padding-top: env(safe-area-inset-top); }
.mnav[hidden], .mnav-back[hidden] { display: none; }
@keyframes mnav-in { from { translate: 100% 0; } to { translate: 0 0; } }
@keyframes mnav-fade { from { opacity: 0; } }
.mnav-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.mnav-head img { height: 26px; width: auto; }
.mnav-x { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--bg); display: grid; place-items: center; cursor: pointer; }
.mnav-body { flex: 1; overflow-y: auto; padding: 6px 12px 16px; }
.mnav-group { font-size: 11.5px; font-weight: 800; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; margin: 16px 8px 6px; }
.mnav-link, .mnav-signin a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.mnav-link:hover, .mnav-signin a:hover { background: var(--bg); }
.mnav-link.on { background: var(--red-soft); }
.mnav-link.on b { color: var(--red); }
.mnav-link > svg.i:last-child { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.mnav-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.mnav-ic svg.i { width: 20px; height: 20px; }
.mnav-ic.soft { background: var(--red-soft); color: var(--red); }
.mnav-t { flex: 1; min-width: 0; display: grid; gap: 1px; }
.mnav-t b { font-size: 15.5px; }
.mnav-t small { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mnav-signin { border: 1px solid var(--line); border-radius: 16px; padding: 4px; }
.mnav-signin a + a { border-top: 1px solid var(--line); border-radius: 0; }
.mnav-signin a:last-child { border-radius: 0 0 12px 12px; }
.mnav-signin a:first-child { border-radius: 12px 12px 0 0; }
.mnav-foot { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 8px; text-align: center; }
.mnav-foot .btn { width: 100%; }
.mnav-foot small { color: var(--ink-3); font-size: 12px; }
.menu-btn svg.i { width: 22px; height: 22px; }
@media (min-width: 901px) { .mnav, .mnav-back { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mnav, .mnav-back { animation: none; } }
