*{box-sizing:border-box}

:root{
  --bg:#f7f5ff;
  --surface:#fff;
  --text:#171625;
  --muted:#6d697a;
  --line:#e6e1f0;
  --purple:#6f39f4;
  --soft:#f0eaff;
  --shadow:0 4px 12px rgba(50,35,100,.07)
}

html{
  scroll-behavior:smooth;
  background:var(--bg)
}

body{
  margin:0;
  min-width:320px;
  background:#fff;
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.3;
  overflow-x:hidden
}

a{color:inherit}

button,
input,
select,
textarea{
  font:inherit
}

.hidden{
  display:none!important
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}


/* =========================================================
   HEADER
========================================================= */

.site-header{
  height:50px;
  padding:0 16px;
  display:flex;
  align-items:center;
  background:#fff;
  border-bottom:1px solid var(--line);
  position:relative;
  z-index:20
}

.brand{
  display:inline-flex;
  text-decoration:none;
  font-size:25px;
  line-height:1;
  font-weight:900;
  letter-spacing:-1.5px;
  color:var(--text)
}

.brand::after{
  content:".";
  color:var(--purple)
}

#legacyNavHooks,
.header-auth-compat{
  display:none!important
}


/* =========================================================
   LANDING
========================================================= */

.landing{
  min-height:0;
  background:#f7f5ff;
  overflow:hidden
}

body.landing-active .site-header{
  display:none!important
}


/* =========================================================
   HERO
========================================================= */

.hero-background{
  position:relative;
  width:100%;
  height:420px;
  min-height:420px;
  padding:0;
  overflow:hidden;
  text-align:center;
  background:#f7f5ff
}


/* =========================================================
   INDIA BACKGROUND
========================================================= */

.flag-scene{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:420px;
  margin:0;
  display:block;
  z-index:1;
  overflow:hidden
}

.flag-scene img{
  width:100%;
  height:420px;
  margin:0;
  display:block;
  object-fit:cover;
  object-position:center top;
  filter:none
}


/* Fade image into clean page background */
.flag-scene::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:185px;
  background:linear-gradient(
    to bottom,
    rgba(247,245,255,0) 0%,
    rgba(247,245,255,.18) 25%,
    rgba(247,245,255,.68) 65%,
    #f7f5ff 100%
  );
  pointer-events:none;
  z-index:2
}


/* =========================================================
   HERO COPY
========================================================= */

.hero-copy{
  position:absolute!important;
  top:245px!important;
  left:0;
  right:0;
  width:100%;
  max-width:620px;
  margin:0 auto!important;
  padding:0 8px!important;
  z-index:5!important;
  text-align:center
}

.hero-copy h1{
  margin:0 0 8px;
  color:var(--text);
  font-size:46px;
  line-height:.88;
  font-weight:900;
  letter-spacing:-3px;
  text-shadow:0 1px 3px rgba(255,255,255,.95)
}

.hero-copy h1 span{
  color:var(--purple)
}

.eyebrow{
  margin:0;
  color:var(--text);
  font-size:15px;
  line-height:1.05;
  font-weight:900;
  letter-spacing:1px;
  text-shadow:0 1px 3px rgba(255,255,255,.95)
}

.hero-text{
  margin:4px 0 0;
  color:var(--muted);
  font-size:11.5px;
  line-height:1.15;
  text-shadow:0 1px 3px rgba(255,255,255,.95)
}


/* =========================================================
   HERO WAVE
========================================================= */

.hero-background::after{
  content:"";
  position:absolute;
  left:-5%;
  right:-5%;
  bottom:-1px;
  height:28px;
  background:#e9e2ff;
  clip-path:polygon(
    0 50%,
    18% 68%,
    36% 43%,
    54% 67%,
    72% 45%,
    88% 62%,
    100% 48%,
    100% 100%,
    0 100%
  );
  opacity:.45;
  pointer-events:none;
  z-index:6
}


/* =========================================================
   VEHICLES
========================================================= */

.vehicle-grid{
  position:relative;
  z-index:10;
  width:94%;
  margin:6px auto 0;
  display:grid;
  gap:5px
}

.vehicle-card{
  position:relative;
  height:68px;
  min-height:68px;

  display:grid;

  grid-template-columns:
    29%
    minmax(0,1fr)
    34px;

  grid-template-rows:auto 1fr;

  align-items:center;

  column-gap:5px;

  padding:3px 5px;

  background:#fff;

  border:1px solid #e7e2ef;

  border-radius:12px;

  box-shadow:var(--shadow);

  overflow:hidden
}

.vehicle-image-wrap{
  grid-column:1;
  grid-row:1 / span 2;

  height:60px;

  border-radius:8px;

  background:#fbfaff;

  display:flex;
  align-items:center;
  justify-content:center;

  overflow:hidden
}

.vehicle-image-wrap img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block
}

.vehicle-card h2{
  grid-column:2;
  grid-row:1;

  align-self:end;

  margin:0 0 1px;

  font-size:18px;
  line-height:1.05;
  letter-spacing:-.4px
}

.vehicle-card p{
  grid-column:2;
  grid-row:2;

  align-self:start;

  margin:0;

  color:#666274;

  font-size:9px;
  line-height:1.1;

  padding-right:1px
}

.vehicle-arrow-btn{
  grid-column:3;
  grid-row:1 / span 2;

  width:31px;
  height:31px;

  border-radius:50%;

  display:grid;
  place-items:center;

  text-decoration:none;

  background:var(--soft);
  color:var(--purple);

  font-size:26px;
  font-weight:300;
  line-height:1;

  justify-self:center;

  cursor:pointer
}


/* =========================================================
   LOGIN / SIGN UP
========================================================= */

.landing-auth-actions{
  position:relative;
  z-index:20;

  width:94%;

  margin:6px auto 5px;

  display:grid;

  grid-template-columns:1fr 1fr;

  gap:6px
}

.landing-login-btn,
.landing-signup-btn{
  height:41px;
  min-height:41px;

  border-radius:11px;

  display:flex;
  align-items:center;
  justify-content:center;

  gap:6px;

  text-decoration:none;

  font-size:14px;
  font-weight:800;

  cursor:pointer
}

.landing-login-btn{
  background:var(--purple);
  color:#fff;

  box-shadow:
    0 5px 12px rgba(80,38,220,.12)
}

.landing-signup-btn{
  background:#fff;
  color:var(--purple);
  border:2px solid var(--purple)
}

.landing-auth-icon{
  font-size:16px;
  line-height:1
}


/* =========================================================
   BENEFITS
========================================================= */

.benefits-grid{
  position:relative;
  z-index:20;

  width:100%;

  padding:8px 2px 9px;

  display:grid;

  grid-template-columns:repeat(4,1fr);

  background:#fff;

  border-top:1px solid #e9e4f1
}

.benefit-item{
  text-align:center;
  padding:0 2px
}

.benefit-item+.benefit-item{
  border-left:1px solid #e3deed
}

.benefit-icon{
  width:25px;
  height:25px;

  margin:0 auto 3px;

  border:1.5px solid var(--purple);

  border-radius:50%;

  display:grid;
  place-items:center;

  color:var(--purple);

  font-size:12px;
  font-weight:800
}

.benefit-item h3{
  margin:0 0 1px;
  font-size:8px
}

.benefit-item p{
  margin:0;
  color:#6b6877;
  font-size:6.5px;
  line-height:1.15
}


/* =========================================================
   REMOVE UNUSED LANDING COMPATIBILITY TEXT
========================================================= */

#homeBookBtn,
#homeRideMessage{
  display:none!important
}


/* =========================================================
   OTHER APP SECTIONS
========================================================= */

.content-section{
  width:min(900px,92%);
  margin:28px auto;
  padding-bottom:35px
}

.heading{
  text-align:center;
  margin-bottom:20px
}

.heading h2{
  margin:0 0 5px;
  font-size:32px
}

.heading p{
  margin:0;
  color:var(--muted)
}

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:20px;
  box-shadow:var(--shadow);
  margin-bottom:15px
}

.form{
  max-width:600px;
  margin-left:auto;
  margin-right:auto
}

.form label{
  display:block;
  margin-bottom:13px;
  font-weight:700
}

.form input,
.form select{
  width:100%;
  margin-top:6px;
  padding:11px 12px;
  border:1px solid #dcd7e8;
  border-radius:10px;
  background:#fff;
  outline:none
}

.form input:focus,
.form select:focus{
  border-color:var(--purple);
  box-shadow:0 0 0 3px rgba(111,57,244,.1)
}

.btn{
  border:0;
  border-radius:10px;
  background:var(--purple);
  color:#fff;
  padding:11px 16px;
  font-weight:800;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center
}

.secondary-btn{
  background:#eee9fc;
  color:var(--purple)
}

.password-wrapper{
  position:relative
}

.password-wrapper input{
  padding-right:50px
}

.password-toggle{
  position:absolute;
  right:6px;
  top:50%;
  transform:translateY(-50%);
  border:0;
  background:transparent;
  cursor:pointer
}

.link-btn{
  border:0;
  background:transparent;
  color:var(--purple);
  font-weight:700;
  cursor:pointer;
  padding:4px 0 9px
}

output{
  display:block;
  margin-top:11px
}

#map{
  width:100%;
  min-height:240px;
  margin-top:16px;
  border-radius:15px;
  overflow:hidden
}

.account-section,
#book,
#rides,
#admin,
#driver,
#rider{
  scroll-margin-top:60px
}

footer{
  text-align:center;
  padding:15px;
  color:#777;
  background:#fff;
  border-top:1px solid var(--line)
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:600px){

  .site-header{
    height:46px;
    padding:0 14px
  }

  .brand{
    font-size:24px
  }


  /* HERO */
  .hero-background{
    height:420px!important;
    min-height:420px!important;
    max-height:420px!important;
    padding:0!important
  }


  /* BACKGROUND */
  .flag-scene{
    height:420px!important
  }

  .flag-scene img{
    width:100%!important;
    height:420px!important;
    object-fit:cover!important;
    object-position:center top!important
  }

  .flag-scene::after{
    height:185px
  }


  /* TEXT */
  .hero-copy{
    top:245px!important;
    padding:0 5px!important
  }

  .hero-copy h1{
    font-size:44px;
    letter-spacing:-2.5px;
    margin-bottom:8px
  }

  .eyebrow{
    font-size:14px
  }

  .hero-text{
    font-size:11px
  }


  /* VEHICLES */
  .vehicle-grid{
    width:94%;
    margin:6px auto 0;
    gap:5px
  }

  .vehicle-card{
    height:68px;
    min-height:68px;
    padding:3px 5px
  }

  .vehicle-image-wrap{
    height:60px
  }

  .vehicle-card h2{
    font-size:17px
  }

  .vehicle-card p{
    font-size:8.5px
  }

  .vehicle-arrow-btn{
    width:31px;
    height:31px;
    font-size:26px
  }


  /* AUTH */
  .landing-auth-actions{
    width:94%;
    margin:6px auto 5px;
    gap:6px
  }

  .landing-login-btn,
  .landing-signup-btn{
    height:41px;
    min-height:41px;
    font-size:14px
  }


  /* BENEFITS */
  .benefits-grid{
    padding:8px 2px 9px
  }

  .benefit-icon{
    width:25px;
    height:25px;
    font-size:12px
  }

  .benefit-item h3{
    font-size:8px
  }

  .benefit-item p{
    font-size:6.5px
  }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media(max-width:380px){

  .hero-background{
    height:395px!important;
    min-height:395px!important;
    max-height:395px!important
  }

  .flag-scene{
    height:395px!important
  }

  .flag-scene img{
    height:395px!important
  }

  .hero-copy{
    top:228px!important
  }

  .hero-copy h1{
    font-size:40px
  }

  .eyebrow{
    font-size:13px
  }

  .hero-text{
    font-size:10.5px
  }

  .vehicle-card{
    height:64px;
    min-height:64px
  }

  .vehicle-image-wrap{
    height:56px
  }

  .vehicle-card h2{
    font-size:16px
  }

  .vehicle-card p{
    font-size:8px
  }

  .vehicle-arrow-btn{
    width:29px;
    height:29px;
    font-size:24px
  }

  .landing-login-btn,
  .landing-signup-btn{
    height:39px;
    min-height:39px;
    font-size:13.5px
  }
}