@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root{--navy:#061426;--panel:#081b2c;--panel2:#102940;--line:#183b57;--yellow:#ffd21c;--blue:#1689ef;--muted:#a7b6c8;--white:#f7f9fc}*{box-sizing:border-box}body{margin:0;background:#020812;color:var(--white);font-family:'DM Sans',Arial,sans-serif}.app-shell{width:min(100%,520px);min-height:100vh;margin:auto;background:#030d19;padding-bottom:88px;position:relative;overflow:hidden;box-shadow:0 0 50px #0008}.hero{height:310px;position:relative;overflow:hidden;background:#102c45}.hero-photo{position:absolute;inset:0;background-image:url('assets/lagos-hero.jpg');background-size:cover;background-position:center 48%;transform:scale(1.02)}.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,#03102035 0%,#03102005 35%,#031020a8 72%,#031020 100%)}.status{position:absolute;top:10px;left:18px;right:18px;display:flex;justify-content:space-between;font-size:11px;font-weight:800}.hero-brand{position:absolute;top:34px;left:16px;right:14px;display:flex;align-items:flex-start;justify-content:flex-start;min-height:0}.main-brand-logo{display:block;width:190px;height:auto;max-height:96px;object-fit:contain;border-radius:0;background:transparent}.hero-brand .install-app{position:absolute;right:48px;top:4px}.hero-brand .notify{position:absolute;right:0;top:0;left:auto;margin:0}.notify{margin-left:auto;position:absolute;left:calc(100vw - 94px);top:-4px;width:38px;height:38px;border-radius:50%;border:1px solid #ffffff40;background:#061426b8;color:white;font-size:20px}.hero-heading{position:absolute;left:17px;right:17px;bottom:42px}.hero-heading>div{display:flex;align-items:center;gap:9px}.brand-chip{background:var(--yellow);color:#071426;padding:6px 10px;border-radius:7px;font-size:15px;font-weight:800}.hero h1{font-size:19px;margin:0;font-weight:800;letter-spacing:-.3px}.hero-heading p{font-size:11px;margin:7px 0 0;color:#f0f3f8}.hero-heading b{color:var(--yellow)}.content{padding:0 14px}.card{border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#0c2237,#061626);box-shadow:0 8px 24px #0003}.traffic{margin-top:13px;padding:13px;display:flex;align-items:center;gap:11px}.traffic-icon{font-size:23px;color:#38d66b}.traffic strong{font-size:11px;line-height:1.5}.traffic i{font-style:normal;color:#38d66b}.traffic p{font-size:10px;color:var(--muted);margin:5px 0 0}.ai{width:100%;margin-top:11px;padding:13px;display:flex;align-items:center;gap:10px;text-align:left;color:white;background:linear-gradient(100deg,#352500,#171b15);border-color:#654900;cursor:pointer}.spark{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:var(--yellow);color:#1a1600;font-size:21px;flex:none}.ai-text{display:grid;gap:4px;flex:1}.ai-text strong{font-size:11px}.ai-text small{font-size:9px;color:#c8d0da}.arrow{font-size:23px;color:var(--yellow)}.route-panel{margin-top:11px;padding:13px}.route-inputs{display:grid;grid-template-columns:22px 1fr 38px;gap:8px;align-items:center}.route-line{height:125px;display:flex;flex-direction:column;align-items:center;justify-content:center}.start-dot{width:12px;height:12px;background:var(--yellow);border-radius:50%;box-shadow:0 0 0 4px #ffd21c20}.line{height:40px;border-left:2px dashed #59748c}.end-pin{color:var(--blue);font-size:12px}.fields{display:grid;gap:7px}.fields label{font-size:8px;font-weight:800;letter-spacing:.5px;color:#a8bbcf;background:#10283f;border-radius:9px;padding:9px 11px}.fields input{width:100%;display:block;background:transparent;border:0;outline:0;color:white;font:700 13px 'DM Sans';padding:5px 0 0}.fields input::placeholder{color:#8296ac;font-weight:500}.swap{border:0;border-radius:50%;width:36px;height:36px;background:#674500;color:var(--yellow);font-size:22px}.popular{margin-top:10px}.popular>span{font-size:9px;color:#c4d0df}.chips{display:flex;gap:6px;overflow-x:auto;padding:7px 0 2px}.chips button{white-space:nowrap;background:#142c44;border:1px solid #25435e;color:#dce5ee;border-radius:20px;padding:6px 9px;font-size:9px}.find{width:100%;margin-top:11px;padding:12px 14px;border:0;border-radius:9px;background:var(--yellow);color:#101725;font-size:12px;font-weight:800;cursor:pointer}.find b{float:right;font-size:16px}.rush{margin-top:11px;padding:12px;display:flex;align-items:center;gap:9px}.bolt{font-size:23px;color:var(--yellow)}.rush>div{flex:1;display:grid;gap:4px}.rush strong{font-size:11px}.rush small{font-size:9px;color:var(--muted)}.toggle{position:relative;width:40px;height:22px}.toggle input{opacity:0;width:0;height:0}.toggle span{position:absolute;inset:0;border-radius:20px;background:#526173}.toggle span:before{content:'';position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:white;transition:.2s}.toggle input:checked+span{background:#9c7300}.toggle input:checked+span:before{transform:translateX(18px);background:var(--yellow)}.filters{display:flex;gap:7px;overflow-x:auto;padding:12px 0 4px}.filter{white-space:nowrap;background:transparent;color:#d7e1ed;border:1px solid #34506a;border-radius:8px;padding:8px 11px;font-size:10px}.filter.active{background:#0756c9;border-color:#0756c9;color:white}.community{margin-top:12px;padding:12px;display:flex;align-items:center;gap:9px}.community-symbol{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#302709;color:var(--yellow)}.community>div{flex:1}.community strong{font-size:11px}.community p{font-size:9px;color:var(--muted);margin:4px 0 0;line-height:1.4}.community button{border:0;background:transparent;color:var(--yellow);font-size:10px;font-weight:800}.bottom-nav{position:fixed;z-index:5;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,520px);height:76px;padding:8px 8px calc(8px + env(safe-area-inset-bottom));display:flex;justify-content:space-around;background:#061525f5;border-top:1px solid #1b3348;backdrop-filter:blur(12px)}.nav{border:0;background:transparent;color:#aab8c9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:54px;font-size:9px;text-decoration:none}.nav span{font-size:20px;line-height:23px}.nav.active{color:var(--yellow);font-weight:800}.nav.active span{background:var(--yellow);color:#071426;border-radius:20px;padding:1px 15px}.results{margin-top:14px}.results-heading{display:flex;justify-content:space-between;align-items:center;margin:5px 2px 10px}.results-heading small{font-size:9px;letter-spacing:1px;color:var(--yellow)}.results-heading h2{font-size:18px;margin:3px 0}.results-heading>span{font-size:9px;color:var(--yellow);border:1px solid #80620b;padding:4px 7px;border-radius:15px}.route-option{padding:12px;border:1px solid #1c3c57;border-radius:13px;background:linear-gradient(110deg,#0d2338,#061626);margin-bottom:9px}.mode{display:inline-block;border-radius:20px;padding:4px 9px;font-size:9px;font-weight:800;background:#075a9f}.mode.danfo{background:#e5b400;color:#171300}.mode.rail{background:#4930c9}.route-option h3{font-size:13px;margin:7px 0 4px}.route-meta{color:#c3d0df;font-size:11px}.route-meta strong{color:white;margin-left:9px}.route-option p,.disclaimer,.note{color:#9eafc2;font-size:9px;line-height:1.5}.recommend{display:inline-block;color:#75e995;background:#07391e;border-radius:20px;padding:4px 8px;font-size:9px;margin-top:7px}.contribution{margin-top:12px;padding:14px}.close{border:0;background:transparent;color:white;font-size:22px}.contribution label{display:block;font-size:10px;color:#c4d0dd;margin-top:10px}.contribution input,.contribution textarea{display:block;width:100%;margin-top:5px;background:#10263b;border:1px solid #244158;border-radius:8px;padding:10px;color:white;font:11px 'DM Sans'}.hidden{display:none!important}.toast{position:fixed;z-index:10;bottom:88px;left:50%;transform:translate(-50%,12px);opacity:0;background:var(--yellow);color:#101725;border-radius:9px;padding:10px 14px;font-size:11px;font-weight:700;transition:.2s;max-width:90%;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}@media(min-width:700px){body{padding:20px 0}.app-shell{border:1px solid #23384d;border-radius:25px;min-height:900px}.bottom-nav{position:absolute;border-radius:0 0 25px 25px}}

/* Custom Journey */
.custom-journey-cta{width:100%;margin-top:11px;padding:13px;display:flex;align-items:center;gap:10px;text-align:left;color:#fff;background:linear-gradient(105deg,#102f4b,#092036);border-color:#24618b;cursor:pointer}
.custom-journey-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:var(--yellow);color:#101725;font-size:22px;font-weight:800;flex:none}
.journey-builder,.shared-journey{margin-top:13px;padding:14px}
.journey-intro,.journey-hint{font-size:10px;line-height:1.55;color:var(--muted)}
.journey-builder label{display:block;font-size:10px;color:#c4d0dd;margin-top:10px}
.journey-builder input,.journey-builder textarea,.journey-builder select{display:block;width:100%;margin-top:5px;background:#10263b;border:1px solid #244158;border-radius:8px;padding:11px;color:white;font:11px 'DM Sans',Arial,sans-serif;outline:none}
.journey-builder input:focus,.journey-builder textarea:focus,.journey-builder select:focus{border-color:var(--yellow)}
.journey-builder select option{background:#10263b;color:white}
.journey-two{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.journey-section-title{display:flex;flex-direction:column;gap:2px;margin-top:17px;padding-bottom:7px;border-bottom:1px solid var(--line)}
.journey-section-title strong{font-size:12px}.journey-section-title span{font-size:9px;color:var(--muted)}
.stage-card{position:relative;margin-top:10px;padding:11px;border:1px solid #244158;border-radius:11px;background:#0a1d30}
.stage-card-head{display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:800;color:var(--yellow)}
.stage-card label{margin-top:8px}
.stage-card .remove-stage{border:0;background:transparent;color:#ff9c9c;font-size:10px}
.add-stage{margin-top:10px;width:100%;padding:10px;border:1px dashed #55718b;border-radius:9px;background:#0c2135;color:var(--yellow);font-size:10px;font-weight:800}
.journey-created{margin-top:13px;padding:12px;border-radius:10px;background:#0c2b20;border:1px solid #216341}
.journey-created strong{font-size:12px;color:#8df0ae}.journey-created p{font-size:10px;color:#d2e8dc;overflow-wrap:anywhere}
.journey-created a{color:#ffe16b;font-size:11px;overflow-wrap:anywhere}
.journey-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.journey-actions button,.journey-actions a{border:1px solid #55718b;border-radius:8px;background:#102940;color:white;padding:9px 11px;font-size:10px;text-decoration:none}
.shared-brand{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.shared-brand img{width:44px;height:44px;object-fit:contain;border-radius:9px;background:#fff}
.shared-brand strong{font-size:13px}.shared-brand small{display:block;color:var(--muted);font-size:9px}
.shared-journey h2{font-size:19px;margin:8px 0}
.shared-journey .share-intro{font-size:10px;color:var(--muted)}
.shared-stage{padding:12px;margin-top:9px;border:1px solid #244158;border-radius:11px;background:#0b2033}
.shared-stage .stage-number{font-size:9px;color:var(--yellow);font-weight:800;text-transform:uppercase}
.shared-stage h3{font-size:12px;margin:5px 0}
.shared-stage p{font-size:10px;color:#c1cfdd;white-space:pre-wrap;line-height:1.55;margin:5px 0}
.shared-stage .stage-mode{font-size:9px;color:#ffe16b}
.shared-note{margin-top:12px;padding:12px;background:#102940;border-radius:10px;font-size:10px;white-space:pre-wrap}
.powered-by{text-align:center;color:#c2cfdf;font-size:10px;margin-top:16px}
.powered-by b{color:var(--yellow);letter-spacing:.5px}
.map-link{display:inline-block;margin-top:6px;color:#ffe16b;font-size:10px}
.route-leg{display:grid;gap:3px;margin-top:9px;padding:9px;border-left:2px solid #49627c;background:#071827;border-radius:0 9px 9px 0}
.route-leg>strong{font-size:11px;color:#f5f7fb}
.route-leg p,.route-leg small{margin:0;color:#a7b6c8;font-size:9px;line-height:1.5}
@media(max-width:380px){.journey-two{grid-template-columns:1fr}}

/* Basic account access */
.auth-panel{margin:18px 0;padding:20px}
.auth-tabs{display:flex;gap:8px;margin:14px 0 18px}
.auth-tab{flex:1;border:1px solid var(--line,#26384d);background:transparent;color:inherit;padding:11px;border-radius:12px;font-weight:700;cursor:pointer}
.auth-tab.active{background:#f4c542;color:#08182b;border-color:#f4c542}
.auth-panel form{display:grid;gap:13px}
.auth-panel label{display:grid;gap:6px;font-size:.9rem;font-weight:650}
.auth-panel input{width:100%;padding:13px;border:1px solid var(--line,#26384d);border-radius:12px;background:rgba(255,255,255,.05);color:inherit;font:inherit}
.auth-panel input::placeholder{color:#9aa8b8}
.account-summary{padding:14px;border-radius:14px;background:rgba(244,197,66,.09);margin:14px 0}
.plan-chip{display:inline-block;padding:5px 10px;border-radius:20px;background:#f4c542;color:#08182b;font-size:.78rem;font-weight:800}
.secondary-action{display:block;margin-top:12px;padding:9px 14px;border:1px solid currentColor;border-radius:10px;background:transparent;color:inherit;cursor:pointer}


/* PWA install control; only shown when the browser supports installation. */
.install-app{margin-left:8px;padding:7px 10px;border:1px solid #ffd21c;border-radius:20px;background:#061426d9;color:#ffd21c;font-size:10px;font-weight:800;white-space:nowrap;cursor:pointer}
.install-app[hidden]{display:none}

/* Compact home-screen spacing: bring the brand and heading closer and fit more of the main route finder in the first viewport. */
.hero{height:245px}
.hero-brand{top:18px}
.hero-heading{bottom:24px}
.traffic{margin-top:8px;padding:9px}
.custom-journey-cta{margin-top:7px;padding:9px}
.ai{margin-top:7px;padding:9px}
.route-panel{margin-top:7px;padding:9px}
.route-line{height:82px}
.fields{gap:5px}
.fields label{padding:7px 9px}
.popular{margin-top:6px}
.chips{gap:5px;padding:5px 0 1px}
.chips button{padding:5px 8px}
.find{margin-top:7px;padding:9px 12px}
.rush{margin-top:7px;padding:8px}
.filters{gap:6px;padding:8px 0 3px}
@media(max-height:760px){
  .hero{height:215px}
  .hero-heading{bottom:18px}
  .main-brand-logo{width:165px;max-height:82px}
  .traffic,.custom-journey-cta,.ai,.route-panel,.rush{padding:7px}
  .route-line{height:70px}
}

/* Dedicated registration, login and subscription pages. Homepage styling remains unchanged. */
.auth-page-heading{margin:4px 0 18px}
.auth-page-heading h1{font-size:24px;margin:10px 0 6px}
.auth-page-heading p{color:var(--muted);font-size:13px}
.auth-page-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px;font-size:12px}
.auth-page-links a{color:var(--yellow);text-decoration:none;font-weight:700}
.subscription-page{padding:18px 0 28px}
.subscription-page .page-heading h1{font-size:24px;margin:10px 0 6px}
.subscription-page .page-heading p{color:var(--muted);font-size:13px}
.plan-list{display:grid;gap:12px;margin-top:20px}
.plan-card{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:17px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,#0c2237,#061626)}
.plan-card div{display:grid;gap:5px}.plan-card strong{font-size:14px}.plan-card small{font-size:11px;color:var(--muted)}.plan-card>b{font-size:17px;color:var(--yellow);white-space:nowrap}
.featured-plan{border-color:#987300;box-shadow:0 0 0 1px #98730033}
.plan-card.selected-plan{border-color:var(--yellow)}
.plan-select{width:100%;padding:8px 12px;border:1px solid var(--yellow);border-radius:9px;background:transparent;color:var(--yellow);font:inherit;cursor:pointer}
.plan-card{flex-wrap:wrap}
@media(min-width:700px){.auth-panel,.subscription-page{padding:24px}}
/* Personalized user greeting */
#userGreeting {
    margin: 0 0 10px !important;
    color: var(--yellow) !important;
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.1px;
}
.account-section{margin-top:22px}
.account-section h2{font-size:18px;margin-bottom:10px}
.saved-journey{display:grid;gap:4px;padding:12px;margin-top:8px;border:1px solid var(--line);border-radius:12px;background:#0a1d30}
.saved-journey p,.saved-journey small{margin:0;color:var(--muted);font-size:11px}
.saved-journey a{color:var(--yellow);font-size:11px}