/* Public site + guided demo. Builds on style.css tokens. */
.site { overflow-x: hidden; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.site-header nav { display: flex; align-items: center; gap: 6px; }
.site-header nav > a:not(.btn) { padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; }
.site-header nav > a:not(.btn):hover { background: var(--surface-2); }
.site-header .btn { min-height: 42px; padding: 9px 16px; margin-left: 6px; }

/* Hero */
.site-hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); }
.hero-copy h1 { font-size: clamp(44px, 7vw, 84px); line-height: 0.98; letter-spacing: -0.045em; margin: 16px 0 20px; }
.hero-copy h1 em { font-style: normal; color: var(--brand); position: relative; white-space: nowrap; }
.hero-copy h1 em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: 0.02em; height: 0.16em; background: var(--accent); border-radius: 99px; z-index: -1; }
.hero-copy > p { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); max-width: 540px; }
.hero-copy > p q { color: var(--ink); font-weight: 700; quotes: "“" "”"; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.hero-actions .btn { min-height: 52px; padding: 13px 22px; font-size: 16px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.trust .icon { color: var(--ok); }

.hero-visual { position: relative; margin: 0; }
.hero-photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.3; background: #3a3550; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block; }
.hero-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--kente); }
.hero-visual figcaption { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.hero-visual figcaption a { color: inherit; }
.float { position: absolute; background: var(--card); color: var(--ink); border-radius: 18px; box-shadow: 0 18px 40px -16px rgba(18, 17, 42, 0.45); padding: 14px 16px; border: 1px solid var(--line); }
.float.request-float { left: -22px; bottom: 74px; width: min(300px, 78%); }
.float.fare-float { right: -14px; top: 26px; display: flex; align-items: center; gap: 10px; }
.float .who { display: flex; align-items: center; gap: 10px; }
.float .avatar { width: 36px; height: 36px; font-size: 15px; }
.float strong { display: block; font-size: 15px; line-height: 1.25; }
.float small { display: block; color: var(--muted); font-size: 12.5px; }
.float .mini-actions { display: flex; gap: 6px; margin-top: 10px; }
.float .mini-actions span { flex: 1; text-align: center; padding: 7px; border-radius: 10px; font-size: 13px; font-weight: 700; background: var(--surface-2); }
.float .mini-actions span:first-child { background: var(--accent); color: #1a1840; }
.fare-float .price { font-size: 22px; margin: 0; }
.float-anim { animation: floaty 6s ease-in-out infinite; }
.fare-float.float-anim { animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

.site-disclosure { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-radius: 16px; background: var(--accent-soft); font-size: 14.5px; }
.site-disclosure .pill { background: var(--card); }

/* Sections */
.site-section { padding: clamp(56px, 8vw, 104px) 0 0; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-heading h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.035em; margin-top: 12px; max-width: 700px; }
.section-heading > p { color: var(--muted); max-width: 360px; font-size: 17px; }

.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 31px; border-top: 3px dashed var(--line); }
.steps li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); transition: transform 0.2s ease, border-color 0.2s; }
.steps li:hover { transform: translateY(-4px); border-color: var(--accent); }
.step-icon { position: relative; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--brand); color: #fff; margin-bottom: 16px; }
.step-icon .icon { width: 24px; height: 24px; }
.step-icon::after { counter-increment: step; content: counter(step); position: absolute; right: -8px; top: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #1a1840; font: 800 13px/24px var(--display); text-align: center; }
@media (prefers-color-scheme: dark) { .step-icon { background: #3b37a0; } }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Fare explainer */
.fare-section { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.fare-section h2 { font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -0.035em; margin: 12px 0 16px; }
.fare-section > div > p { color: var(--muted); font-size: 17px; }
.receipt { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); position: relative; }
.receipt::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 5px; border-radius: 0 0 6px 6px; background: var(--kente); }
.receipt-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.receipt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 13px 0; border-top: 1px dashed var(--line); }
.receipt-row small { grid-column: 1; color: var(--muted); font-size: 13px; }
.receipt-row strong:last-of-type { font-variant-numeric: tabular-nums; }
.seats { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: middle; }
.seats i { width: 10px; height: 10px; border-radius: 3px; background: var(--brand); }
.seats i.off { background: var(--line); }
.receipt-total { display: flex; justify-content: space-between; align-items: flex-end; padding-top: 14px; border-top: 2px solid var(--ink); }
.receipt-total .price { font-size: 34px; }

/* Choice band */
.choice-section { position: relative; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); margin-top: clamp(56px, 8vw, 104px); padding: clamp(32px, 5vw, 64px); border-radius: 32px; background: #1a1840; color: #fff; overflow: hidden; }
.choice-section::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--kente); }
.choice-section h2 { color: #fff; font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -0.035em; margin: 12px 0 16px; }
.choice-section .eyebrow { color: var(--accent); }
.choice-section p { color: rgba(255, 255, 255, 0.84); }
.choice-section .btn { margin-top: 24px; }
.choice-points { display: grid; gap: 14px; align-content: center; }
.choice-points article { display: flex; gap: 16px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); transition: background 0.2s; }
.choice-points article:hover { background: rgba(255, 255, 255, 0.12); }
.choice-points article > span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--accent); color: #1a1840; flex: none; }
.choice-points h3 { color: #fff; font-size: 17px; margin-bottom: 4px; }
.choice-points p { font-size: 14.5px; }

/* Ghana-ready */
.local-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.local-grid article { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; transition: transform 0.2s, border-color 0.2s; }
.local-grid article:hover { transform: translateY(-3px); border-color: var(--brand); }
.local-grid .badge { display: inline-flex; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-bottom: 10px; background: var(--ok-soft); color: var(--ok); }
.local-grid .badge.sim { background: var(--accent-soft); color: var(--ink); }
.local-grid .badge.later { background: var(--surface-2); color: var(--muted); }
.local-grid h3 { font-size: 17px; margin-bottom: 6px; }
.local-grid p { color: var(--muted); font-size: 14.5px; }

.site-finale { text-align: center; padding: clamp(64px, 9vw, 112px) 0; }
.site-finale h2 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.04em; margin: 12px auto 16px; max-width: 760px; }
.site-finale p { color: var(--muted); max-width: 540px; margin: 0 auto 26px; font-size: 17px; }
.site-finale .btn { min-height: 54px; padding: 14px 26px; font-size: 16px; }

.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.site-footer nav a { color: var(--ink); font-weight: 600; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }

/* Guided demo story bar */
.demo-guide { position: relative; margin-top: 18px; padding: 18px 20px 16px; border-radius: 22px; background: var(--card); border: 1.5px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.demo-guide::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--kente); }
.demo-guide-top { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.demo-guide-top .actions { margin: 0; }
.demo-guide-top .eyebrow { font-size: 11.5px; }
.tour-track { display: grid; grid-template-columns: repeat(var(--steps, 17), minmax(0, 1fr)); gap: 3px; margin: 12px 0 2px; }
.tour-track i { height: 6px; border-radius: 9px; background: var(--surface-2); }
.tour-track i.done { background: var(--brand); }
.tour-track i.now { background: var(--accent); }
.demo-guide-body { display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; margin-top: 12px; }
.demo-guide-body h2 { font-size: clamp(20px, 2.2vw, 26px); margin: 3px 0 4px; }
.demo-guide-body p { color: var(--muted); font-size: 15px; max-width: 640px; }
.step-label { font-size: 13px; font-weight: 700; color: var(--coral); }
.tour-next { flex: none; min-height: 52px; padding: 13px 22px; font-size: 15.5px; }
.demo-perspectives { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.demo-perspectives > span { white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.demo-perspectives .quiet { padding: 6px 12px 6px 6px; gap: 8px; font-size: 13.5px; border-radius: 999px; }
.demo-perspectives .quiet .avatar { width: 26px; height: 26px; font-size: 12px; background: var(--surface-2); color: var(--ink); }
.demo-perspectives .quiet.selected .face { box-shadow: 0 0 0 2px var(--accent); }
.demo-perspectives .quiet.selected { background: var(--brand); color: var(--brand-ink); box-shadow: none; }
.demo-perspectives .quiet.selected .avatar { background: var(--accent); color: #1a1840; }
.demo-perspectives .quiet small { font-weight: 500; opacity: 0.8; }
.demo-scenarios { margin-top: 10px; }
.demo-scenarios summary { font-size: 14.5px; color: var(--brand); width: fit-content; }
.demo-scenario-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.demo-scenario-actions .btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.demo-guide .notice[role="status"] { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; background: var(--brand-soft); font-weight: 500; }
.demo-guide .notice[role="status"] .icon { color: var(--brand); margin-top: 2px; }

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .local-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .site-hero, .fare-section, .choice-section { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 620px; }
}
@media (max-width: 700px) {
  .site-header nav > a:not(.btn):not(.sign-in) { display: none; }
  .site-header .btn { padding: 9px 13px; font-size: 14px; }
  .site-header .wrap { min-height: 64px; }
  .hero-copy h1 { font-size: 46px; }
  .float.request-float { left: 10px; bottom: 54px; width: calc(100% - 20px); max-width: 300px; }
  .float.fare-float { right: 10px; top: 10px; padding: 10px 12px; }
  .fare-float .price { font-size: 18px; }
  .steps, .local-grid { grid-template-columns: minmax(0, 1fr); }
  .choice-section { border-radius: 24px; padding: 28px 20px 36px; }
  .receipt { padding: 20px 16px; }
  .demo-guide { padding: 16px 14px 14px; border-radius: 18px; }
  .demo-guide-body { display: block; }
  .demo-guide-body p { font-size: 14px; }
  .demo-perspectives { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; }
  .demo-perspectives::-webkit-scrollbar { display: none; }
  .demo-perspectives .quiet { flex: none; }
  /* The next step stays under the thumb: a floating action at the bottom of the screen. */
  .tour-next { position: fixed; left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 40; width: auto; box-shadow: inset 0 -3px 0 rgba(26, 24, 64, 0.16), 0 14px 30px -10px rgba(18, 17, 42, 0.55); }
}
@media (prefers-reduced-motion: reduce) { .float-anim { animation: none; } }

/* Animated story player */
.story-player { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 14px; box-shadow: var(--shadow); }
.story-stage { position: relative; border-radius: 20px; overflow: hidden; background: #efe6d4; }
.story-map { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.story-pin { transition: opacity 0.4s ease, transform 0.4s ease; }
.story-pin.gone { opacity: 0; }
.tsss-bubble { opacity: 0; transition: opacity 0.25s; }
.tsss-bubble.on { opacity: 1; }
.tsss-bubble.on .tsss-waves path { animation: wave 0.8s ease-out infinite; }
.tsss-bubble.on .tsss-waves path:nth-child(2) { animation-delay: 0.2s; }
@keyframes wave { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0; } }
.story-stage { display: grid; grid-template-columns: minmax(0, 1fr); }
.story-dock { position: relative; min-height: 290px; background: var(--surface-2); }
@media (min-width: 900px) {
  .story-stage { grid-template-columns: minmax(0, 1fr) clamp(300px, 30%, 360px); }
  .story-dock { min-height: 0; }
}
.scard { position: absolute; inset: 16px 16px auto 16px; padding: 16px 18px; border-radius: 18px; background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(18, 17, 42, 0.45); opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.98); transition: none; }
.scard.on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s; }
.scard strong { display: block; font-size: 16px; line-height: 1.25; }
.scard small { display: block; color: var(--muted); font-size: 13px; }
.scard-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral); margin-bottom: 8px; }
.scard .who { display: flex; gap: 10px; align-items: center; }
.srow { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.snote { margin-top: 10px; padding: 8px 11px; border-radius: 10px; background: var(--surface-2); font-size: 13.5px; font-weight: 600; }
.snote.ok { background: var(--ok-soft); color: var(--ok); }
.sopt { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; margin-top: 7px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14.5px; }
.sopt.pick { animation: pick 0.4s ease 1.1s both; }
@keyframes pick { from { border-color: var(--line); background: transparent; } to { border-color: var(--brand); background: var(--brand-soft); } }
.sradio { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--muted); }
.sradio i { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.sbtns { display: flex; gap: 8px; margin-top: 12px; }
.sbtns span { flex: 1; text-align: center; padding: 9px; border-radius: 11px; font-weight: 700; font-size: 14px; background: var(--surface-2); }
.sbtns .press { background: var(--accent); color: #1a1840; animation: press 0.35s ease 2.4s both; }
.scard[data-scene="4"] .sbtns .press { animation-delay: 1.6s; }
@keyframes press { 0% { transform: scale(1); } 40% { transform: scale(0.92); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 35%, transparent); } 100% { transform: scale(1); } }
.scheck { display: flex; align-items: center; gap: 9px; padding: 8px 0; font-size: 14.5px; font-weight: 600; border-top: 1px dashed var(--line); }
.scheck::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); font-weight: 800; flex: none; }
.sbar { display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 10px; margin-top: 9px; font-size: 14px; font-weight: 600; }
.sbar i { height: 12px; border-radius: 9px; background: #2d2a78; width: var(--w); animation: grow 0.8s ease 0.6s both; }
.sbar.c2 i { background: #c23b22; }
.sbar.c3 i { background: #17785a; }
@media (prefers-color-scheme: dark) { .sbar i { background: #a9a4ff; } .sbar.c2 i { background: #ff9478; } .sbar.c3 i { background: #66d7ab; } }
@keyframes grow { from { width: 0; } }
.schips { display: flex; flex-wrap: wrap; gap: 6px; }
.schips span { padding: 5px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: 13px; }
.sline { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; border-top: 1px dashed var(--line); }
.sline.total { border-top: 2px solid var(--ink); font-size: 17px; font-weight: 800; margin-top: 4px; padding-top: 8px; }
.scard .btn { width: 100%; margin-top: 12px; min-height: 42px; }
.beat { animation: rise 0.4s ease both; }
.b1 { animation-delay: 0.9s; } .b2 { animation-delay: 1.9s; } .b3 { animation-delay: 2.9s; } .b4 { animation-delay: 2.7s; }
.scard[data-scene="3"] .b3 { animation-delay: 2.8s; } .scard[data-scene="4"] .b3 { animation-delay: 2s; }
.scard[data-scene="1"] .b2 { animation-delay: 3.4s; } .scard[data-scene="8"] .b2 { animation-delay: 1.8s; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.story-stage.paused .scard *, .story-stage.paused .scard, .story-stage.paused .tsss-waves path { animation-play-state: paused !important; }
.story-stage:not(.paused) .scard:not(.on) * { animation: none; }

.story-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; align-items: center; padding: 16px 8px 4px; }
.story-count { display: block; font-size: 13px; font-weight: 700; color: var(--coral); }
.story-text { font: 700 clamp(17px, 1.7vw, 21px)/1.35 var(--display); letter-spacing: -0.01em; margin-top: 4px; min-height: 2.7em; }
.story-controls { display: flex; gap: 8px; align-items: center; }
.story-play { min-width: 118px; }
.story-sound.on { background: var(--brand); color: var(--brand-ink); box-shadow: none; }
.story-sound:not(.on) .sound-wave { opacity: 0.35; }
.story-chapters { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 6px; padding: 0; margin: 4px 0 0; list-style: none; }
.story-chapters button { display: block; width: 100%; padding: 8px 0; }
.story-chapters span { position: relative; display: block; height: 6px; border-radius: 9px; background: var(--surface-2); overflow: hidden; }
.story-chapters span::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform-origin: left; transform: scaleX(var(--fill, 0)); }
.story-chapters button[aria-current] span::after { background: var(--accent); }
.story-legend { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); font-weight: 600; }
.story-legend span { display: inline-flex; align-items: center; gap: 7px; }
.story-legend i { width: 20px; height: 5px; border-radius: 4px; }
.story-transcript { margin: 10px 8px 4px; }
.story-transcript summary { font-size: 14.5px; color: var(--brand); }
.story-transcript ol { margin: 10px 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }

@media (max-width: 700px) {
  .story-player { padding: 10px; border-radius: 22px; margin: 0 -4px; }
  .story-stage { border-radius: 16px; }
  .story-dock { min-height: 470px; }
  .scard { inset: 10px 10px auto 10px; padding: 14px; }
  .story-bar { grid-template-columns: minmax(0, 1fr); padding: 12px 4px 2px; }
  .story-controls .btn, .story-controls .quiet { flex: 1; justify-content: center; min-height: 44px; }
}

/* Story v2: ordering, alerts, takeover and the workflow */
.story-drop { opacity: 0.55; transition: opacity 0.3s; }
.story-drop .drop-tag { opacity: 0; transition: opacity 0.3s; paint-order: stroke; stroke: #fffaf1; stroke-width: 4px; }
.story-drop.done { opacity: 1; }
.story-drop.done .drop-tag { opacity: 1; }
.sfield { display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin-top: 6px; border-radius: 11px; background: var(--surface-2); font-weight: 600; font-size: 14px; }
.sdot { width: 11px; height: 11px; border-radius: 50%; border: 3px solid var(--brand); flex: none; }
.sdot.end { border-radius: 3px; background: var(--accent); border-color: var(--accent); }
.salert { display: grid; gap: 1px; padding: 10px 12px 10px 40px; border-radius: 12px; background: var(--brand); color: #fff; position: relative; margin-top: 8px; }
.salert::before { content: ""; position: absolute; left: 13px; top: 13px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(246, 183, 14, 0.3); }
.salert b { font-size: 14px; }
.salert small { color: rgba(255, 255, 255, 0.82); }
@media (prefers-color-scheme: dark) { .salert { background: #3b37a0; } }
.spay { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px dashed var(--line); }
.spay .avatar { width: 34px; height: 34px; font-size: 14px; }
.spay b { display: block; font-size: 15px; }
.sflow { margin: 4px 0 0; padding-left: 22px; display: grid; gap: 5px; font-size: 14px; font-weight: 600; }
.sflow li::marker { color: var(--coral); font-weight: 800; }
.riders-key b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--surface-2); color: var(--ink); font-size: 11px; margin: 0 2px 0 8px; }
@media (max-width: 700px) {
  .story-map .map-labels { font-size: 21px; letter-spacing: 0.5px; }
  .story-map .drop-tag { font-size: 19px; }
}

/* Real Accra photos at the top of the first story cards */
.sphoto { position: relative; margin: -16px -18px 12px; border-radius: 18px 18px 0 0; overflow: hidden; }
.sphoto img { display: block; width: 100%; height: 118px; object-fit: cover; }
.sphoto figcaption { position: absolute; left: 8px; bottom: 6px; font-size: 11px; color: #fff; background: rgba(18, 17, 42, 0.62); padding: 2px 8px; border-radius: 99px; }
@media (max-width: 700px) { .sphoto { margin: -14px -14px 10px; } .sphoto img { height: 104px; } }

/* Fare example: who rode each stretch, and what each person pays */
.rider { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 800 11px/1 var(--font); margin-right: 3px; vertical-align: -5px; background: #f6b70e; color: #1a1840; }
.rider.e { background: #c23b22; color: #fff; }
.rider.n { background: #17785a; color: #fff; }
.receipt-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 14px; border-top: 2px solid var(--ink); }
.receipt-people > div { display: grid; justify-items: start; gap: 2px; padding: 12px; border-radius: 14px; background: var(--surface-2); }
.receipt-people .rider { width: 28px; height: 28px; font-size: 13px; margin-bottom: 4px; }
.receipt-people b { font-size: 14px; }
.receipt-people .price { font-size: 24px; margin: 0; }
.receipt-people small { color: var(--muted); font-size: 12px; }
@media (max-width: 420px) { .receipt-people { grid-template-columns: minmax(0, 1fr); } .receipt-people > div { grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 10px; } .receipt-people .rider { grid-row: span 2; margin: 0; } .receipt-people small { grid-column: 2 / -1; } }
