/* ===== Stage ===== */
body { background: var(--navy); min-height: 100vh; min-height: 100dvh; }

.stage {
  min-height: 100vh; min-height: 100dvh;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: clamp(32px, 6vw, 96px);
  max-width: 1180px; margin: 0 auto; padding: 32px clamp(20px, 4vw, 48px);
}

.pitch { color: #fff; max-width: 520px; justify-self: end; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; margin-bottom: 36px; }
.pitch h1 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.01em;
}
.pitch h1 span { color: #8fd3a8; }
.lede { color: #c6d6e8; font-size: 17px; line-height: 1.6; margin: 0 0 28px; }
.try { margin: 0 0 32px; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; }
.try li {
  counter-increment: step; position: relative; padding-left: 40px; color: #dbe7f3; font-size: 15px; line-height: 1.5;
}
.try li b { color: #fff; font-weight: 600; }
.try li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); color: #fff; font: 600 13px/26px var(--font-display); text-align: center;
}
.pitch-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-ghost {
  background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px;
  padding: 10px 18px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-ghost:focus-visible { outline: 2px solid #8fd3a8; outline-offset: 2px; }
.demo-note { color: #9db4cc; font-size: 13px; }

.device { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.restart-mobile { display: none; }

/* ===== Phone ===== */
.phone {
  width: 394px; height: min(824px, calc(100dvh - 48px)); min-height: 620px;
  background: #0f172a; border-radius: 54px; padding: 12px;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.6), inset 0 0 0 2px #1e293b;
}
.screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: #fff; isolation: isolate; }
.screen::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 118px; height: 24px;
  background: #0f172a; border-radius: 0 0 16px 16px; z-index: 20; pointer-events: none;
}

/* ===== WhatsApp chat ===== */
.wa { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--wa-bg); }
.wa-head {
  display: flex; align-items: center; gap: 10px; background: var(--wa-green); color: #fff; padding: 34px 12px 10px;
}
.ico { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wa-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; flex: none;
  display: grid; place-items: center; font: 700 15px var(--font-display);
}
.wa-who { flex: 1; min-width: 0; }
.wa-name { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 4px; }
.verified { width: 15px; height: 15px; }
.verified circle { fill: #25d366; }
.verified path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wa-sub { font-size: 12px; opacity: 0.8; }

.chat {
  flex: 1; overflow-y: auto; padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; scroll-behavior: smooth;
  overscroll-behavior: contain;
}
.day {
  align-self: center; background: rgba(255, 255, 255, 0.85); color: #54656f; font-size: 11.5px; padding: 4px 10px;
  border-radius: 8px; margin-bottom: 4px;
}
.note {
  align-self: center; background: #fff4c5; color: #54656f; font-size: 11.5px; padding: 6px 10px; border-radius: 8px;
  text-align: center; max-width: 88%; line-height: 1.4;
}
.msg {
  max-width: 84%; padding: 7px 10px 5px; border-radius: 10px; font-size: 14.5px; line-height: 1.4; color: #111b21;
  box-shadow: 0 1px 0 rgba(11, 20, 26, 0.13); white-space: pre-wrap; word-wrap: break-word; animation: pop 0.18s ease-out;
}
.msg.in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.msg.out { align-self: flex-end; background: var(--wa-bubble-out); border-top-right-radius: 2px; }
.msg time { float: right; margin: 6px 0 0 12px; font-size: 10.5px; color: #667781; }
.msg b { font-weight: 600; }
.msg.has-cta { padding-bottom: 0; min-width: 62%; }
.msg.has-cta time { margin-bottom: 6px; }
.cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: calc(100% + 20px); margin: 8px -10px 0;
  padding: 11px 10px; border: 0; border-top: 1px solid #e9edef; background: none; color: #027eb5;
  font-size: 14.5px; font-weight: 600; cursor: pointer; border-radius: 0 0 10px 10px;
}
.cta:hover { background: #f5f8f9; }
.cta:focus-visible { outline: 2px solid #027eb5; outline-offset: -2px; }
.cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.typing { align-self: flex-start; background: #fff; border-radius: 10px; border-top-left-radius: 2px; padding: 11px 13px; display: flex; gap: 4px; box-shadow: 0 1px 0 rgba(11, 20, 26, 0.13); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa7b0; animation: blink 1.1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }

.quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 10px 8px; background: var(--wa-bg); }
.quick:empty { display: none; }
.qr {
  background: #fff; border: 1px solid #d5dbe0; color: #027eb5; border-radius: 999px; padding: 8px 14px;
  font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 1px 0 rgba(11, 20, 26, 0.08);
}
.qr:hover { background: #f5f8f9; }
.qr:focus-visible { outline: 2px solid #027eb5; outline-offset: 2px; }

.wa-input { display: flex; gap: 8px; padding: 8px 10px calc(10px + env(safe-area-inset-bottom)); background: #f0f2f5; }
.wa-input input {
  flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 11px 16px; font: 16px var(--font-body); color: #111b21; background: #fff; outline: none;
}
.wa-input input:focus-visible { box-shadow: 0 0 0 2px #027eb5; }
.send {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--wa-green); cursor: pointer; display: grid; place-items: center; flex: none;
}
.send svg { width: 20px; height: 20px; fill: #fff; }
.send:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }

/* ===== In-app browser ===== */
.iab {
  position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; background: var(--ice-2);
  transform: translateY(102%); visibility: hidden; transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.38s;
}
.iab.open { transform: none; visibility: visible; transition-delay: 0s; }
.iab-top {
  display: flex; align-items: center; gap: 8px; padding: 34px 10px 10px; background: #fff; border-bottom: 1px solid var(--line);
}
.iab-x {
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; flex: none;
}
.iab-x:hover { background: #f1f5f9; }
.iab-x svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; }
.iab-x:focus-visible, .back:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.iab-title { flex: 1; min-width: 0; text-align: center; }
.iab-title b { display: block; font-size: 14px; font-weight: 600; }
.iab-title small { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 11.5px; }
.iab-title small svg { width: 11px; height: 11px; stroke: var(--muted); fill: none; stroke-width: 2; }
.iab-spacer { width: 38px; flex: none; }

.iab-body { position: relative; flex: 1; overflow: hidden; }
.view { position: absolute; inset: 0; overflow-y: auto; padding-bottom: 104px; overscroll-behavior: contain; }
.view.pad-dock { padding-bottom: 170px; }
.view.no-pad { padding-bottom: 20px; }

.hello { margin: 12px 14px 0; padding: 16px; border-radius: 18px; background: var(--navy); color: #fff; }
.hello h2 { margin: 0 0 4px; font: 700 20px var(--font-display); letter-spacing: -0.01em; }
.hello p { margin: 0; color: #b8cbe0; font-size: 13px; line-height: 1.4; }
.hello .where { display: flex; gap: 6px; align-items: center; margin-top: 8px; color: #dbe7f3; font-size: 12.5px; }
.hello .where svg { width: 14px; height: 14px; stroke: #8fd3a8; fill: none; stroke-width: 2; flex: none; }

.search { margin: 12px 14px 0; position: relative; }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--muted); fill: none; stroke-width: 2; stroke-linecap: round; }
.search input {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 14px 12px 40px; font: 16px var(--font-body); color: var(--ink); outline: none;
}
.search input:focus-visible { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 37, 69, 0.12); }

.stores { display: grid; grid-template-columns: 0.8fr 1.1fr 1.1fr; gap: 8px; padding: 8px 14px 0; }
.scard {
  display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 9px 11px; border-radius: 14px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer;
}
.scard b { display: flex; align-items: center; gap: 6px; font: 700 14px var(--font-display); }
.scard small { color: var(--muted); font-size: 11.5px; }
.scard.on { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 2px rgba(11, 37, 69, 0.1); }
.scard:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.scard .dot { display: inline-block; }
.rail { display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px 2px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-label { padding: 12px 14px 0; font-size: 12px; font-weight: 600; color: var(--muted); }
.chip {
  flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 13px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.monoprix { background: var(--leaf); }
.dot.fairground { background: var(--mango); }
.chip.on .dot.monoprix { background: #8fd3a8; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 14px 0; }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.card-hit { display: block; width: 100%; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: inherit; }
.card-hit:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; border-radius: 16px; }
.thumb { position: relative; height: 86px; display: grid; place-items: center; font-size: 44px; background: var(--ice); }
.thumb.t-produce { background: #e6f3ec; }
.thumb.t-staples { background: #fdf1dc; }
.thumb.t-meat-fish { background: #fdebe6; }
.thumb.t-dairy-eggs { background: #eaf1fb; }
.thumb.t-drinks { background: #e6f6f8; }
.thumb.t-household { background: #f1ecfa; }
.tag {
  position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: #fff;
}
.tag.monoprix { color: var(--leaf-dark); }
.tag.fairground { color: var(--mango-dark); }
.pname { font-size: 13.5px; font-weight: 600; line-height: 1.25; min-height: 44px; color: var(--ink); padding: 10px 10px 0; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding: 6px 10px 10px; }
.price { font: 700 15px var(--font-display); color: var(--navy); white-space: nowrap; }
.add {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--mango); color: var(--navy); cursor: pointer; display: grid; place-items: center; flex: none;
}
.add svg { width: 18px; height: 18px; stroke: var(--navy); fill: none; stroke-width: 2.4; stroke-linecap: round; }
.add:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.step { display: inline-flex; align-items: center; background: var(--navy); border-radius: 999px; padding: 2px; flex: none; }
.step button {
  width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
}
.step button:focus-visible { outline: 2px solid var(--mango); outline-offset: 0; }
.step span { min-width: 20px; text-align: center; color: #fff; font-size: 14px; font-weight: 600; }
.step.light { background: var(--ice); }
.step.light button { color: var(--navy); }
.step.light span { color: var(--navy); }
.empty { text-align: center; color: var(--muted); padding: 48px 28px; font-size: 14px; line-height: 1.5; }
.empty b { display: block; font: 700 18px var(--font-display); color: var(--ink); margin-bottom: 6px; }

.cartbar {
  position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 3; display: flex; align-items: center; justify-content: space-between;
  background: var(--navy); color: #fff; border: 0; border-radius: 18px; padding: 14px 16px; cursor: pointer;
  box-shadow: 0 14px 30px -10px rgba(11, 37, 69, 0.55); animation: pop 0.2s ease-out; font-size: 14px; font-weight: 600; width: calc(100% - 24px);
}
.cartbar:focus-visible { outline: 3px solid var(--mango); outline-offset: 2px; }
.cartbar .cb-l { display: flex; align-items: center; gap: 10px; }
.cartbar .cb-n { background: var(--mango); color: var(--navy); border-radius: 999px; min-width: 26px; height: 26px; padding: 0 8px; display: grid; place-items: center; font: 700 13px var(--font-display); }
.cartbar .cb-r { font: 700 16px var(--font-display); }

/* sub-page headers */
.subhead { display: flex; align-items: center; gap: 8px; padding: 12px 14px 4px; }
.subhead h2 { margin: 0; font: 700 22px var(--font-display); letter-spacing: -0.01em; }
.back { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.back svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.banner {
  margin: 10px 14px 0; padding: 12px 14px; border-radius: 14px; background: var(--leaf-soft); color: var(--leaf-dark); font-size: 13px; line-height: 1.45;
}
.banner b { font-weight: 600; }

.group { margin: 12px 14px 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.group-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--ice-2); border-bottom: 1px solid var(--line); }
.group-head b { display: flex; align-items: center; gap: 8px; font: 700 15px var(--font-display); }
.group-head small { color: var(--muted); font-size: 12px; }
.line { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #f1f5f9; }
.line .em { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: var(--ice); flex: none; }
.line .lm { flex: 1; min-width: 0; }
.line .ln { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.line .lp { font-size: 12px; color: var(--muted); margin-top: 2px; }
.line .lt { font: 700 14px var(--font-display); white-space: nowrap; color: var(--navy); min-width: 56px; text-align: right; }
.sum { padding: 10px 14px 12px; font-size: 13px; color: var(--slate); display: grid; gap: 6px; }
.sum div { display: flex; justify-content: space-between; }
.sum .tot { color: var(--ink); font-weight: 700; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 14px; }
.sum .tot span:last-child { font-family: var(--font-display); }

.dock {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; background: #fff; border-top: 1px solid var(--line); padding: 12px 14px 16px; display: grid; gap: 10px;
}
.dock .row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--slate); }
.dock .row b { font: 700 20px var(--font-display); color: var(--navy); }
.btn {
  width: 100%; border: 0; border-radius: 14px; background: var(--navy); color: #fff; padding: 15px; font-size: 15px; font-weight: 600; cursor: pointer;
}
.btn:hover { background: var(--navy-2); }
.btn:focus-visible { outline: 3px solid var(--mango); outline-offset: 2px; }
.btn.alt { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn.alt:hover { background: #f8fafc; }
.btn.leaf { background: var(--leaf-dark); }

/* form */
.form { padding: 4px 14px 0; display: grid; gap: 14px; }
.field label, .sec-title { display: block; font-size: 12.5px; font-weight: 600; color: var(--slate); margin-bottom: 6px; }
.field input {
  width: 100%; border: 1px solid #cbd5e1; border-radius: 12px; padding: 13px 14px; font: 16px var(--font-body); color: var(--ink); background: #fff; outline: none;
}
.field input:focus-visible { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 37, 69, 0.12); }
.field .err { color: var(--red); font-size: 12px; margin-top: 4px; }
.pays { display: grid; gap: 8px; }
.pay { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; }
.pay input { position: absolute; opacity: 0; pointer-events: none; }
.pay .mk { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; font: 700 13px var(--font-display); flex: none; }
.pay .pt { flex: 1; min-width: 0; }
.pay .pt b { display: block; font-size: 14px; font-weight: 600; }
.pay .pt small { color: var(--muted); font-size: 12px; }
.pay .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cbd5e1; flex: none; display: grid; place-items: center; }
.pay input:checked ~ .radio { border-color: var(--navy); }
.pay input:checked ~ .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.pay:has(input:checked) { border-color: var(--navy); background: var(--ice-2); }
.pay:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.mini { margin: 0 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 6px; font-size: 13px; color: var(--slate); }
.mini div { display: flex; justify-content: space-between; gap: 10px; }
.mini .tot { font-weight: 700; color: var(--ink); border-top: 1px dashed var(--line); padding-top: 8px; }

/* sheet + modal */
.scrim { position: absolute; inset: 0; z-index: 6; background: rgba(11, 37, 69, 0.5); animation: fade 0.2s ease-out; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 7; background: #fff; border-radius: 26px 26px 0 0; padding: 14px 18px 22px;
  max-height: 86%; overflow-y: auto; animation: rise 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.grab { width: 40px; height: 4px; border-radius: 4px; background: #d5dde6; margin: 0 auto 12px; }
.sheet .big { height: 130px; border-radius: 18px; display: grid; place-items: center; font-size: 76px; margin-bottom: 14px; }
.sheet h3 { margin: 0 0 4px; font: 700 22px var(--font-display); letter-spacing: -0.01em; }
.sheet .meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.sheet .meta .tag { position: static; background: var(--ice); }
.sheet .pr { font: 700 26px var(--font-display); color: var(--navy); margin-bottom: 14px; }
.also { background: var(--mango-soft); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; font-size: 13px; color: #6b4300; line-height: 1.45; }
.also button { margin-top: 8px; border: 0; background: #fff; border-radius: 999px; padding: 7px 12px; font-size: 12.5px; font-weight: 600; color: var(--navy); cursor: pointer; }
.sheet-row { display: flex; align-items: center; gap: 12px; }
.sheet-row .btn { flex: 1; }

.modal { position: absolute; inset: 0; z-index: 8; background: rgba(11, 37, 69, 0.62); display: grid; place-items: center; padding: 18px; animation: fade 0.2s ease-out; }
.mcard { width: 100%; background: #fff; border-radius: 24px; padding: 22px 20px 20px; text-align: center; animation: pop 0.22s ease-out; }
.mcard h3 { margin: 12px 0 6px; font: 700 19px var(--font-display); }
.mcard p { margin: 0 0 14px; color: var(--slate); font-size: 14px; line-height: 1.5; }
.spinner { width: 46px; height: 46px; margin: 4px auto 0; border-radius: 50%; border: 4px solid var(--ice); border-top-color: var(--navy); animation: spin 0.8s linear infinite; }
.okmark, .xmark { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; }
.okmark { background: var(--leaf-soft); }
.xmark { background: var(--red-soft); }
.okmark svg, .xmark svg { width: 30px; height: 30px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.okmark svg { stroke: var(--leaf-dark); }
.xmark svg { stroke: var(--red); }
.okmark svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.4s 0.1s ease-out forwards; }
.ussd { text-align: left; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 12px; }
.ussd .uh { padding: 10px 14px; color: #fff; font-weight: 600; font-size: 13px; }
.ussd .ub { padding: 12px 14px; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.ussd .ub b { font-family: var(--font-display); }
.pin { display: flex; justify-content: center; gap: 10px; margin: 4px 0 12px; }
.pin i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #94a3b8; }
.pin i.f { background: var(--navy); border-color: var(--navy); }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.keys button { height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #f8fafc; font: 600 18px var(--font-display); cursor: pointer; color: var(--ink); }
.keys button:active { background: var(--ice); }
.keys button:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.link { background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 6px; }
.stack { display: grid; gap: 8px; }

/* done */
.done-hero { text-align: center; padding: 28px 20px 8px; }
.done-hero h2 { margin: 14px 0 4px; font: 700 24px var(--font-display); letter-spacing: -0.01em; }
.done-hero p { margin: 0; color: var(--slate); font-size: 14px; line-height: 1.5; }
.ord { margin: 12px 14px 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: grid; gap: 4px; }
.ord .oh { display: flex; justify-content: space-between; align-items: center; font: 700 15px var(--font-display); }
.ord .oh span:last-child { color: var(--navy); }
.ord .os { font-size: 12.5px; color: var(--muted); }
.pill { display: inline-block; background: var(--mango-soft); color: var(--mango-dark); font: 600 11.5px var(--font-body); border-radius: 999px; padding: 3px 9px; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { transform: translateY(100%); } to { transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .stage { grid-template-columns: 1fr; justify-items: center; padding: 20px 12px; }
  .pitch { display: none; }
  .restart-mobile {
    display: inline-block; background: transparent; color: #c6d6e8; border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px; padding: 8px 16px; font-size: 13px; cursor: pointer;
  }
}
@media (max-width: 520px) {
  .stage { padding: 0; gap: 0; display: block; }
  .device { display: block; }
  .restart-mobile { display: none; }
  .phone { width: 100%; height: 100vh; height: 100dvh; min-height: 0; border-radius: 0; padding: 0; box-shadow: none; background: transparent; }
  .screen { border-radius: 0; }
  .screen::before { display: none; }
  .wa-head, .iab-top { padding-top: max(14px, env(safe-area-inset-top)); }
}
