:root { --navy: #1c2554; --navy-2: #252f63; --cyan: #3fb5d3; --ink: #151515; --mut: #5d6470; --line: #dcdfe6; --bg: #f4f5f8; --pan: #fff; --ok: #2e7d32; --no: #b94b28; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-text-size-adjust: 100%; }
header { background: var(--navy); color: #fff; padding: 14px 18px 18px; }
header .wrap { max-width: 520px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
header img { height: 22px; width: auto; display: block; }
header .kicker { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
main { max-width: 520px; margin: 0 auto; padding: 18px 18px 64px; }
.signal { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mut); background: var(--pan); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 8px; }
.signal::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #c7ccd6; }
.signal.listening::before, .signal.lost::before { background: var(--cyan); animation: pulse 1.6s ease-in-out infinite; }
.signal.hearing::before { background: #e0a83a; }
.signal.heard::before { background: var(--ok); animation: none; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.topbar { display: flex; justify-content: space-between; align-items: center; margin: 0 0 18px; }
#exp-kind { font: 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42%; }
h1 { font-size: 28px; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; margin: 6px 0 10px; }
.lede { color: var(--mut); margin: 0 0 22px; }
.btn { display: inline-block; font: 800 16px/1 system-ui, sans-serif; padding: 15px 18px; border-radius: 999px; border: 0; background: #eef2f7; color: var(--navy); text-decoration: none; text-align: center; cursor: pointer; }
.btn.primary { background: var(--cyan); color: #0e1437; }
.btn:disabled { opacity: .45; }
#listen { width: 100%; font-size: 19px; padding: 19px; }
.mic-note, .note, .consent { font-size: 13px; color: var(--mut); margin: 12px 0 0; }
.card { background: var(--pan); border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: 0 2px 12px rgba(28,37,84,.08); }
.person-head { display: flex; gap: 16px; align-items: center; }
.avatar { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: none; background: var(--navy-2); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 28px system-ui, sans-serif; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.name { font-size: 24px; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
.title { margin: 4px 0 0; color: var(--mut); font-size: 15px; }
.about { margin: 16px 0 0; }
.actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
@media (min-width: 400px) { .actions { grid-template-columns: 1fr 1fr; } .actions .primary { grid-column: 1 / -1; } }
.lead { display: grid; gap: 10px; margin-top: 14px; }
.lead input { font: inherit; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.lead .hp { position: absolute; left: -9999px; }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin: 0 0 6px; }
.pump-number { font: 800 96px/1 system-ui, sans-serif; letter-spacing: -.04em; color: var(--navy-2); }
#hint { background: #fff7e6; border: 1px solid #f0d9a8; border-radius: 10px; padding: 12px 14px; font-size: 14px; margin: 16px 0 0; }
#error { background: #fdf1ed; border: 1px solid #efc4b6; border-radius: 10px; padding: 12px 14px; font-size: 14px; margin: 16px 0 0; }
#restart { margin-top: 12px; }
#sim-badge { display: inline-block; font: 700 11px/1 system-ui; letter-spacing: .12em; background: #e0a83a; color: #1c1c1c; padding: 5px 8px; border-radius: 6px; }
footer { max-width: 520px; margin: 0 auto; padding: 0 18px 40px; font-size: 13px; color: var(--mut); }
footer a { color: var(--navy-2); }
.offer { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.offer .about { margin: 0 0 8px; }
.btn.big { width: 100%; font-size: 18px; padding: 16px; margin-top: 14px; }
.grades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.grades .btn { padding: 12px 6px; font-size: 14px; }
.meter { margin: 14px 0 6px; padding: 14px 16px; background: #0f1538; color: #fff; border-radius: 12px; }
.meter-row { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; }
.meter-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.meter-value { font: 700 34px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.receipt { margin: 12px 0 4px; border-top: 1px dashed var(--line); }
.receipt-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.receipt-row:last-child { font-weight: 700; }
.phase-authorizing .pump-number { opacity: .5; }

/* Pump, direction A */
.pump-a { background: #0e1437; color: #eef1f8; border-color: #0e1437; padding: 18px 18px 22px; }
.pump-a .mono { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }
.pump-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pump-station { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #8d97bd; }
.pump-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.pump-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pump-badge.live { color: #3fb5d3; } .pump-badge.warm { color: #e0a83a; }
.pump-stage { position: relative; width: 300px; max-width: 100%; aspect-ratio: 1; margin: 10px auto 0; display: flex; align-items: center; justify-content: center; }
.pump-stage.dim .pump-big { opacity: .5; }
.rings { position: absolute; inset: 0; } .rings svg { width: 100%; height: 100%; display: block; }
.pump-big { position: relative; font-size: 180px; line-height: 1; font-weight: 700; letter-spacing: -.06em; color: #fff; }
.pump-title { font-size: 22px; font-weight: 600; margin: 8px 0 0; text-align: center; color: #eef1f8; }
.pump-sub { font-size: 15px; line-height: 1.45; color: #a9b2d2; text-align: center; margin: 6px auto 0; max-width: 290px; }
.btn.pump-cta { display: block; width: 100%; margin-top: 18px; padding: 18px; font-size: 17px; font-weight: 700; background: #3fb5d3; border-color: #3fb5d3; color: #0e1437; border-radius: 6px; }
.btn.pump-ghost { display: block; width: 100%; margin-top: 14px; padding: 18px; font-size: 17px; font-weight: 700; background: transparent; border: 2px solid #eef1f8; color: #eef1f8; border-radius: 6px; }
.pump-meter { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; }
.pump-label { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #8d97bd; }
.pump-value { font-size: 72px; line-height: 1; font-weight: 700; letter-spacing: -.04em; color: #fff; margin-top: 4px; }
.pump-value.cyan { color: #3fb5d3; }
.pump-line { font-size: 13px; color: #a9b2d2; margin: 18px 0 0; }
.pump-line + .pump-sub { text-align: left; max-width: none; margin-top: 14px; font-size: 13px; color: #8d97bd; }
.pump-total { font-size: 60px; line-height: 1; font-weight: 700; letter-spacing: -.04em; color: #fff; margin-top: 26px; }
.pump-receipt { margin-top: 18px; border-top: 1px solid #2c3a72; }
.pump-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #2c3a72; font-size: 15px; }
.pump-k { color: #8d97bd; } .pump-v { color: #eef1f8; }
.pump-fine { font-size: 12px; text-align: center; color: #5f6a93; margin: 10px 0 0; }

/* Contact card: the mark (heard in person versus received by link) */
.mark { display: inline-block; margin: 8px 0 0; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.mark.heard { background: #e3f4f8; color: #1f8fab; border: 1px solid #b9e2ec; }
.mark.link { background: #f1f2f5; color: #6b7280; border: 1px solid var(--line); }

/* Contact card: arrival, presence */
.person-head { position: relative; }
.arrive { position: absolute; left: 42px; top: 42px; width: 0; height: 0; pointer-events: none; }
.arrive svg { position: absolute; left: -100px; top: -100px; width: 200px; height: 200px; opacity: 0; transform: scale(.4); }
.arriving .arrive svg { animation: ring-out 900ms cubic-bezier(.2,.7,.2,1) 1 both; }
@keyframes ring-out { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }
.arriving { animation: card-in 500ms cubic-bezier(.2,.7,.2,1) 1 both; }
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.presence { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13px; color: var(--mut); }
.presence::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #c7ccd6; }
.presence.live::before { background: var(--ok); animation: pulse 1.6s ease-in-out infinite; }
.presence.met::before { background: #c7ccd6; animation: none; }
@media (prefers-reduced-motion: reduce) { .arriving, .arriving .arrive svg { animation: none; } .arrive { display: none; } }

/* Landing C */
.landing { text-align: center; }
.landing .lede { max-width: 320px; margin-left: auto; margin-right: auto; }
.badge-art { width: 300px; max-width: 100%; margin: 8px auto 6px; }
.badge-art svg { width: 100%; height: auto; display: block; }
.is-listening .arc { animation: arc-pulse 1.8s ease-in-out infinite; }
.is-listening .a2 { animation-delay: .25s; } .is-listening .a3 { animation-delay: .5s; }
@keyframes arc-pulse { 0%, 100% { stroke-opacity: .15; } 50% { stroke-opacity: .95; } }
@media (prefers-reduced-motion: reduce) { .is-listening .arc { animation: none; } }
.landing .mic-note { max-width: 320px; margin: 14px auto 0; }
.actions .btn { padding: 15px 12px; }
.avatar { background: var(--navy-2); }

/* Proof of presence */
.proof { display: inline-flex; align-items: center; gap: 8px; margin: 14px auto 0; padding: 8px 12px; border-radius: 999px; font-size: 12px; letter-spacing: .04em; border: 1px solid #2c3a72; color: #a9b2d2; }
.pump-a .proof { display: flex; justify-content: center; }
.proof::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5f6a93; }
.proof.verified { border-color: #3fb5d3; color: #3fb5d3; } .proof.verified::before { background: #3fb5d3; }
.proof.pending::before { background: #e0a83a; animation: pulse 1.2s ease-in-out infinite; }
.proof.rejected, .proof.expired { border-color: #b94b28; color: #e0a083; } .proof.rejected::before, .proof.expired::before { background: #b94b28; }
.pump-verify { display: block; text-align: center; margin-top: 12px; color: #3fb5d3; font-size: 14px; }


/* Shared bits for the step-three screens */
.ico { display: inline-flex; width: 16px; height: 16px; flex: none; } .ico svg { width: 100%; height: 100%; }
.ico.cyan { color: #3fb5d3; } .ico.lg { width: 40px; height: 40px; }
.center { text-align: center; } .right { text-align: right; }
.eyebrow.cyan { color: #1f8fab; font-weight: 700; }
.hintbox { background: #fff7e6; border: 1px solid #f0d9a8; border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.45; margin: 14px 0 0; }
.btn.dim { opacity: .45; }

/* Offer during fueling */
.pump-a.with-offer .pump-meter { flex-direction: row; gap: 18px; margin-top: 22px; }
.pump-a.with-offer .pump-metric { flex: 1; }
.pump-a.with-offer .pump-value { font-size: 40px; letter-spacing: -.03em; }
.pump-a.with-offer .pump-metric { min-width: 0; }
.offer-panel { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 0; padding: 18px; border: 1px solid #3fb5d3; border-radius: 10px; background: #121a48; }
.offer-head { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #3fb5d3; }
.offer-title { font-size: 22px; line-height: 1.2; font-weight: 700; color: #fff; }
.offer-detail { font-size: 14px; line-height: 1.45; color: #a9b2d2; }
.offer-actions { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.offer-actions .btn.offer-add { flex: 1; margin-top: 0; padding: 14px; font-size: 15px; }
.offer-no { background: none; border: 0; padding: 14px 16px; font: 600 14px system-ui, sans-serif; color: #8d97bd; cursor: pointer; }
.offer-claimed { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; padding: 12px 14px; border: 1px solid #2c3a72; border-radius: 8px; font-size: 14px; line-height: 1.4; color: #eef1f8; }
.offer-claimed.cyanline { border-color: #3fb5d3; }
.offer-receipt { display: flex; flex-direction: column; gap: 6px; margin: 16px 0 0; padding: 16px; border: 1px solid #3fb5d3; border-radius: 10px; }
.offer-receipt .offer-head { color: #3fb5d3; }
.offer-receipt-title { font-size: 18px; font-weight: 700; color: #fff; }
.offer-code-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: #a9b2d2; }
.offer-code { font-size: 20px; font-weight: 700; color: #eef1f8; letter-spacing: .08em; }
.offer-alone .offer-panel { margin-top: 18px; }

/* Loyalty */
.loyalty .loy-stage { position: relative; width: 220px; height: 220px; margin: 14px auto 0; display: flex; align-items: center; justify-content: center; }
.loyalty .loy-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.medal { border-radius: 50%; background: var(--navy-2); border: 5px solid var(--cyan); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; letter-spacing: -.02em; position: relative; flex: none; }
.medal.off { width: 64px; height: 64px; background: #eef2f7; border: 3px solid var(--line); color: #b3b8c4; } .medal.off svg { width: 22px; height: 22px; }
.loy-title { font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; text-align: center; margin: 6px 0 0; }
.loy-points { font-size: 22px; font-weight: 800; text-align: center; margin: 8px 0 0; font-variant-numeric: tabular-nums; }
.loyalty .presence.center { display: flex; justify-content: center; }
.loy-strip { display: flex; justify-content: space-between; align-items: center; margin: 22px 0 0; padding: 16px 18px; background: #eef2f7; border-radius: 14px; }
.loy-strip .eyebrow { margin: 0 0 2px; font-size: 11px; }
.loy-name { font-size: 15px; font-weight: 700; }
.loy-balance { font-size: 30px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .loy-balance .unit { font-size: 13px; font-weight: 700; color: var(--mut); }
.loy-balance.big { font-size: 44px; line-height: 1; letter-spacing: -.03em; } .loy-balance.big .unit { font-size: 15px; color: #a9b2d2; }
.loy-card { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--navy); color: #fff; border-radius: 16px; }
.loy-card.muted { background: #eef2f7; color: var(--navy); border: 1px solid var(--line); } .loy-card.muted .loy-balance.big, .loy-card.muted .loy-count, .loy-card.muted .loy-card-name { color: #8a8f99; } .loy-card.muted .accent { color: #8a8f99; }
.loy-card-head { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #a9b2d2; } .loy-card-head .accent { color: var(--cyan); }
.loy-card-name { font-size: 20px; font-weight: 800; }
.loy-card-bottom { display: flex; justify-content: space-between; align-items: baseline; }
.loy-count { font-size: 13px; font-weight: 700; color: #a9b2d2; }
.loyalty .eyebrow { margin: 18px 0 10px; }
.loy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.loy-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.loy-tile.off { border-style: dashed; background: #f8f9fb; }
.loy-tile .medal { width: 64px; height: 64px; border-width: 3px; font-size: 20px; }
.loy-tile-name { font-size: 15px; font-weight: 800; text-align: center; } .loy-tile.off .loy-tile-name { color: #8a8f99; }
.loy-tile-sub { font-size: 12px; font-weight: 700; color: #1f8fab; } .loy-tile.off .loy-tile-sub { color: #b3b8c4; }
.loyalty .note.center { margin-top: 16px; }

/* Ticket */
.tix .eyebrow { margin-bottom: 10px; }
.tix-body { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 2px 12px rgba(28,37,84,.08); }
.tix-stub { display: flex; flex-direction: column; gap: 14px; padding: 20px 20px 22px; background: var(--navy); color: #fff; }
.tix.muted .tix-stub { background: #eef2f7; color: var(--navy); } .tix.muted .tix-name, .tix.muted .tix-v, .tix.muted .tix-kind, .tix.muted .tix-k, .tix.muted .tix-op { color: #8a8f99; }
.tix-row { display: flex; justify-content: space-between; align-items: baseline; }
.tix-op, .tix-kind, .tix-k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #a9b2d2; } .tix-kind { color: var(--cyan); }
.tix-name { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.tix-v { font-size: 17px; font-weight: 700; margin-top: 2px; }
.tix-tear { height: 0; border-top: 2px dashed var(--line); margin: 0 14px; position: relative; }
.tix-tear::before, .tix-tear::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.tix-tear::before { left: -25px; } .tix-tear::after { right: -25px; }
.tix-half { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 20px 24px; }
.tix-half .presence { margin: 0; font-weight: 700; }
.tix-line { font-size: 15px; line-height: 1.45; text-align: center; } .tix.muted .tix-line { color: #8a8f99; }
.tix-stage { position: relative; width: 150px; height: 150px; display: flex; align-items: center; justify-content: center; }
.tix-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tix-ok { width: 84px; height: 84px; border-radius: 50%; background: var(--ok); display: flex; align-items: center; justify-content: center; position: relative; } .tix-ok svg { width: 42px; height: 42px; }
.tix-state { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.tix-when { font-size: 14px; font-weight: 700; color: var(--mut); }
.tix .note { margin-top: 14px; font-size: 13px; line-height: 1.5; }
.tix .btn.big { margin-top: 14px; }
.loyalty .btn.big { margin-top: 14px; }

/* Register */
.reg .pump-label { margin-top: 26px; }
.reg .pump-total { margin-top: 6px; }
.reg .pump-receipt { margin-top: 18px; }
.reg-who { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; padding: 12px 14px; border: 1px solid #2c3a72; border-radius: 8px; }
.avatar.small { width: 36px; height: 36px; font-size: 13px; background: var(--navy-2); }
.reg-name { font-size: 15px; font-weight: 600; color: #eef1f8; margin-top: 2px; }
.reg .pump-sub { text-align: left; max-width: none; margin-top: 16px; font-size: 13px; color: #8d97bd; }
.reg-amount { font-size: 72px; opacity: .6; }
.reg-paid { display: flex; align-items: center; gap: 14px; margin-top: 30px; } .reg-paid .pump-total { margin-top: 0; }

/* Offer confirmation */
.offer-panel.confirm { border-color: #3fb5d3; background: #0f1a4a; }
.offer-panel.confirm .offer-head { color: #3fb5d3; }
.offer-panel .offer-code-row { margin-top: 2px; }
.btn.pump-ghost.offer-back { margin-top: 6px; padding: 14px; font-size: 15px; }
