/* Rasheed Rides page content only (rd- prefix). The bar, theme toggle, style picker and Powered-by footer are the engine's.
   Source file: assets-src/rd.css, copied by build.py. Never hand-edit site/. */

/* ---- Footer floor: the footer's bottom edge is max(window height, content height) on every page, every style. ---- */
html { min-height: 100%; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > .rd-page { flex: 1 0 auto; }
body > .site-shell-footer { flex: 0 0 auto; }

main.rd-page { width: 100%; max-width: var(--skin-max, 1120px); margin: 0 auto; padding: 8px 16px 0; box-sizing: border-box; overflow-wrap: anywhere; }
.rd-page h1, .rd-page h2, .rd-page h3 { color: var(--rr-theme-ink-strong); }
.rd-page h1 { margin: 0; font-size: clamp(2rem, 7vw, 3.25rem); line-height: 1.08; }
.rd-page h2 { margin: 0 0 14px; }
.rd-page h3 { margin: 0 0 6px; font-size: 1.125rem; }
:where(.rd-page) p { margin: 0 0 12px; }
.rd-page a { color: var(--rr-theme-accent-ink); }
.rd-small { font-size: .875rem; color: var(--rr-theme-ink-soft); }
.rd-lede { font-size: 1.125rem; line-height: 1.55; color: var(--rr-theme-ink-soft); margin-top: 12px !important; max-width: 44rem; }
.rd-crumb { font-size: .875rem; color: var(--rr-theme-ink-soft); margin: 4px 0 14px !important; }
.rd-gap { margin-top: 22px !important; }
[data-skin-slot] { margin-bottom: 22px; }

/* ---- Buttons and chips ---- */
.rd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0 !important; }
.rd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 22px; box-sizing: border-box; text-align: center;
  border: 2px solid var(--rr-theme-accent-base); border-radius: var(--skin-radius-chip, 8px); background: var(--rr-theme-accent-base);
  color: var(--rr-theme-on-accent) !important; font: inherit; font-weight: 700; text-decoration: none; }
.rd-btn:hover { filter: brightness(1.08); }
.rd-btn-quiet { background: transparent; color: var(--rr-theme-ink-strong) !important; border-color: var(--rr-theme-line-strong); }
.rd-btn:focus-visible, .rd-foot-link:focus-visible, .rd-page a:focus-visible { outline: 3px solid var(--rr-theme-accent-ink); outline-offset: 2px; }
.rd-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px !important; padding: 0; list-style: none; }
.rd-chip { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 700; line-height: 1.6; border: 1px solid var(--rr-theme-line-strong); color: var(--rr-theme-ink); }
.rd-chip-solid { background: var(--rr-theme-accent-base); color: var(--rr-theme-on-accent); border-color: transparent; }
.rd-status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px !important; padding: 5px 12px; border-radius: 999px; font-size: .875rem; font-weight: 700;
  background: var(--rd-note); color: var(--rd-noteInk); }
.rd-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.rd-note { padding: 12px 14px; border-radius: 8px; background: var(--rd-note); color: var(--rd-noteInk); font-weight: 600; margin-bottom: 18px !important; }

/* ---- Welcome (home) ---- */
.rd-welcome { display: grid; gap: 22px 40px; grid-template-columns: 1fr; grid-template-areas: "copy" "art"; padding-top: 8px; }
.rd-welcome-copy { grid-area: copy; }
.rd-welcome-art { grid-area: art; margin: 0; }
.rd-welcome h1 { font-size: clamp(2.25rem, 8.5vw, 4rem); line-height: 1.04; letter-spacing: -.01em; }
.rd-tagline { margin: 12px 0 0 !important; font-size: clamp(1.125rem, 3.6vw, 1.5rem); font-weight: 700; color: var(--rr-theme-accent-ink); }
.rd-welcome-sub { margin-top: 10px !important; font-size: 1.0625rem; color: var(--rr-theme-ink); max-width: 36rem; }
.rd-welcome .rd-chip-row { margin-top: 16px !important; }
@media (min-width: 960px) {
  .rd-welcome { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); grid-template-areas: "copy art"; align-items: center; padding-top: 24px; }
}

/* ---- Illustrations (inline SVG; every colour is a theme variable so light and dark are both designed) ---- */
.rd-art { margin: 0; border-radius: var(--skin-card-radius, 14px); overflow: hidden; border: 1px solid var(--rr-theme-line); background: var(--rd-art-bg); }
.rd-art svg { display: block; width: 100%; height: auto; }
.rd-art .a-grid { fill: none; stroke: var(--rd-art-road); stroke-width: 1.5; }
.rd-art .a-road { fill: none; stroke: var(--rd-art-road); stroke-width: 10; stroke-linecap: round; }
.rd-art .a-base { fill: none; stroke: var(--rd-art-base); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 14; }
.rd-art .a-route { fill: none; stroke: var(--rr-theme-accent-base); stroke-width: 8; stroke-linecap: round; }
.rd-art .a-start { fill: var(--rd-art-start); stroke: var(--rd-art-bg); stroke-width: 5; }
.rd-art .a-stop { fill: var(--rd-art-stop); stroke: var(--rd-art-bg); stroke-width: 5; }
.rd-art .a-pin { fill: var(--rr-theme-accent-base); }
.rd-art .a-pin-hole { fill: var(--rd-art-bg); }
.rd-art .a-car { fill: var(--rr-theme-ink-strong); stroke: var(--rd-art-bg); stroke-width: 3; }
.rd-art .a-label { fill: var(--rr-theme-ink-strong); font: 700 22px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; paint-order: stroke; stroke: var(--rd-art-bg); stroke-width: 6px; stroke-linejoin: round; }
.rd-art .a-label-soft { fill: var(--rr-theme-ink-soft); font-weight: 600; font-size: 20px; }
.rd-art .a-ring { fill: var(--rd-art-ring); stroke: var(--rr-theme-accent-base); stroke-width: 3; stroke-dasharray: 10 8; }
.rd-art .a-ring-pulse { fill: none; stroke: var(--rr-theme-accent-base); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.rd-art .a-radius { stroke: var(--rr-theme-ink-strong); stroke-width: 3; stroke-linecap: round; }
.rd-art .a-city { fill: var(--rd-art-stop); stroke: var(--rd-art-bg); stroke-width: 5; }
.rd-art .a-city-home { fill: var(--rr-theme-accent-base); }
.rd-art .a-center { fill: none; stroke: var(--rr-theme-ink-strong); stroke-width: 3; }
@media (prefers-reduced-motion: no-preference) {
  .rd-art .a-route { stroke-dasharray: 1; stroke-dashoffset: 1; animation: rd-draw 2.4s .3s cubic-bezier(.4, .1, .2, 1) forwards; }
  .rd-art .a-pin-wrap { animation: rd-drop .6s 2.4s cubic-bezier(.2, .9, .3, 1.4) both; }
  .rd-art .a-ring-pulse { animation: rd-pulse 3.2s 1s ease-out infinite; }
  .rd-art .a-city, .rd-art .a-center { animation: rd-pop .5s ease-out both; }
}
@media (prefers-reduced-motion: reduce) { .rd-art .a-car { display: none; } }
@keyframes rd-draw { to { stroke-dashoffset: 0; } }
@keyframes rd-drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes rd-pulse { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.04); } }
@keyframes rd-pop { from { opacity: 0; } to { opacity: 1; } }

/* ---- Tab cards (home: ONE row) ---- */
.rd-tabs-sec { margin-top: 36px; }
.rd-tab-cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .rd-tab-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .rd-tab-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rd-tab-card { display: flex; flex-direction: column; margin: 0; }
.rd-tab-card h3 { font-size: 1.1875rem; }
.rd-tab-card p { color: var(--rr-theme-ink); }
.rd-tab-go { margin: auto 0 0 !important; padding-top: 8px; }
.rd-tab-go .rd-btn { width: 100%; }
.rd-icon { display: block; width: 44px; height: 44px; margin: 0 0 10px; color: var(--rr-theme-accent-base); }
.rd-icon svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Generic grids ---- */
.rd-two, .rd-three { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .rd-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .rd-three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rd-big { margin: 0; }
.rd-big h2, .rd-big h3 { font-size: 1.375rem; }
.rd-list { margin: 8px 0 12px; padding-left: 1.25rem; }
.rd-list li { margin-bottom: 4px; }

/* ---- How it works ---- */
.rd-how { display: grid; gap: 24px 36px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .rd-how { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .rd-how .rd-art { position: sticky; top: 88px; } }
.rd-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: rdstep; }
.rd-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 14px; margin: 0; counter-increment: rdstep; }
.rd-step::before { content: counter(rdstep); grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--rr-theme-accent-base); color: var(--rr-theme-on-accent); font-weight: 800; font-size: 1.125rem; }
.rd-step h3 { margin: 4px 0 0; }
.rd-step p { margin: 0; color: var(--rr-theme-ink); }
.rd-stages { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0 !important; padding: 0; list-style: none; }

/* ---- Rewards ---- */
.rd-tiers { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .rd-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .rd-tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rd-tier { display: flex; flex-direction: column; margin: 0; border-top: 6px solid var(--rd-medal-edge, var(--rr-theme-line-strong)); }
.rd-tier h3 { font-size: 1.375rem; }
.rd-medal { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 0 12px; border-radius: 50%; font-weight: 800; font-size: 1.5rem; color: #10151d;
  background: radial-gradient(circle at 32% 28%, var(--rd-medal-hi), var(--rd-medal-lo)); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .55), inset 0 0 0 3px rgba(255, 255, 255, .35); }
.rd-tier-bronze { --rd-medal-hi: #f0c89e; --rd-medal-lo: #c68b52; --rd-medal-edge: #c68b52; }
.rd-tier-silver { --rd-medal-hi: #f2f6fa; --rd-medal-lo: #aeb8c4; --rd-medal-edge: #aeb8c4; }
.rd-tier-gold { --rd-medal-hi: #fff0bd; --rd-medal-lo: #e0a82e; --rd-medal-edge: #e0a82e; }
.rd-tier-platinum { --rd-medal-hi: #ffffff; --rd-medal-lo: #8ec9ee; --rd-medal-edge: #8ec9ee; }
.rd-tier-at { margin: 0 0 8px !important; }
.rd-tier-perk { color: var(--rr-theme-ink); min-height: 3em; }
.rd-tier-ex { margin: auto 0 0 !important; padding-top: 10px; border-top: 1px solid var(--rr-theme-line); font-size: .9375rem; }
.rd-tier-ex strong { color: var(--rr-theme-ink-strong); }

/* ---- Coverage ---- */
.rd-cover { display: grid; gap: 24px 36px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .rd-cover { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.rd-zones { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rd-zone { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--rr-theme-line); font-weight: 700; color: var(--rr-theme-ink-strong); }
.rd-zone:last-child { border-bottom: 0; }

/* ---- Body footer area (not the engine's footer) ---- */
.rd-foot { margin: 28px 0 0; padding: 20px 0 8px; border-top: 1px solid var(--rr-theme-line); display: grid; gap: 14px; font-size: .9375rem; }
.rd-foot-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .rd-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rd-foot-h { font-size: 1.0625rem !important; margin: 0 0 6px !important; }
.rd-foot-nav { display: flex; flex-wrap: wrap; gap: 0 6px; }
.rd-foot-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
.rd-foot-note { margin: 0; font-size: .8125rem; color: var(--rr-theme-ink-soft); }
.rd-foot-logo { margin: 0 0 8px; display: flex; align-items: center; gap: 12px; }
.rd-foot-logo img { display: block; width: 44px; height: 44px; }
.rd-foot-logo .rd-logo-dark { display: none; }
:root[data-rr-theme="dark"] .rd-foot-logo .rd-logo-light { display: none; }
:root[data-rr-theme="dark"] .rd-foot-logo .rd-logo-dark { display: block; }
.rd-foot-name { font-size: 1.25rem; font-weight: 800; color: var(--rr-theme-ink-strong); }

/* ---- Legal and credits ---- */
.rd-prose { max-width: 46rem; }
.rd-prose h2 { margin-top: 26px; font-size: 1.25rem; }
.rd-credits { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rd-credit { margin: 0; }
.rd-credit h3 { margin: 0 0 2px; font-size: 1rem; }
.rd-credit img { display: block; width: 56px; height: 56px; border-radius: 12px; }
.rd-credit-row { display: flex; gap: 14px; align-items: center; }

/* ---- Card rows: tops equal, heights equal, same heading size ---- */
.rd-two, .rd-three, .rd-tab-cards, .rd-tiers { align-items: stretch; }
.rd-two > .skin-card, .rd-two > .skin-panel, .rd-three > .skin-card, .rd-three > .skin-panel, .rd-tiers > .skin-card { margin-top: 0 !important; margin-bottom: 0; box-sizing: border-box; height: 100%; }

/* ---- Skin fit: this site has one main slot and no side rail, so MODERN's 340px left rail must not leave an empty column,
        and its centred hero must not squeeze the welcome grid (same idea as Melpharm's POP fix). ---- */
@media (min-width: 1100px) {
  :root[data-site-skin="modern"] main.rd-page [data-skin-slot="main"] { grid-area: 2 / 1 / 6 / -1; }
}
:root[data-site-skin] [data-skin-slot="hero"].rd-welcome { text-align: start; max-width: none; }
:root[data-site-skin] [data-skin-slot="hero"].rd-welcome > * { margin-inline: 0; max-width: none; }
:root[data-site-skin] .rd-welcome-copy > * { max-width: 40rem; }
:root[data-site-skin] [data-skin-slot="hero"]:not(.rd-welcome) > * { margin-inline: 0; }
:root[data-site-skin="modern"] [data-skin-slot="hero"]:not(.rd-welcome) { text-align: start; }
@media (min-width: 1024px) {
  :root[data-site-skin="pop"] main.rd-page:not(:has([data-skin-slot="asks"])) [data-skin-slot="hero"] { grid-column: 1 / -1; }
}
.rd-foot-link { color: var(--rr-theme-ink) !important; text-decoration: none; }
.rd-foot-link:hover { text-decoration: underline; }
.rd-tier-at { min-height: 3.4em; display: flex; align-items: flex-start; }
.rd-tier-at .rd-chip { border-radius: 14px; line-height: 1.4; padding-block: 3px; }
[data-site-bar-account-menu] { display: none !important; }
.rd-art-cap { margin: 0; padding: 8px 12px 10px; }
