/* ==========================================================================
   penny.rent — static rebuild
   Colours and type are taken from the original Elementor global settings.
   ========================================================================== */

:root {
  --blue: #3eb8f9;
  --green: #93ff75;
  --text: #444444;
  --dark: #242424;
  --white: #ffffff;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Nunito", "Inter", system-ui, sans-serif;
  --font-button: "Archivo Black", "Inter", system-ui, sans-serif;
  --font-footer: "Roboto Slab", Georgia, serif;

  --container: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 20px);
  margin-inline: auto;
  padding-inline: 10px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Header ------------------------------------------------------------------ */

.site-header {
  position: relative;
  z-index: 20;
  height: 144px;
  background: var(--white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 86.526%;
  margin-inline: auto;
  padding-inline: 40px;
}

.site-header__logo img {
  width: 174px;
}

.site-nav {
  padding-top: 18px;
}

.site-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: color 0.3s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #000;
}

.nav-toggle svg {
  width: 25px;
  height: 25px;
  margin: auto;
  fill: currentColor;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  height: 100vh;
  min-height: 560px;
  background: #223 url("/assets/img/hero-poster.jpg") center / cover no-repeat;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 120px 95px 0 10px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: 77px;
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  text-align: right;
  text-shadow: 2px 3px 2px rgba(0, 0, 0, 0.3);
}

.hero__stores {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 300px;
  margin-top: 20px;
}

.hero__stores img {
  width: 135px;
}

.hero__circle {
  position: absolute;
  left: -296px;
  bottom: -76px;
  z-index: 2;
  width: 376px;
  max-width: none;
  opacity: 0.29;
  pointer-events: none;
}

.hero__wave {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  transform: translateY(56%);
  pointer-events: none;
}

/* Sections ---------------------------------------------------------------- */

.section {
  padding-inline: 10px;
}

.section--first {
  padding-top: 132px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 35px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.wave {
  width: min(1940px, calc(100% - 20px));
  margin: 50px auto 70px;
  pointer-events: none;
}

.wave--flip {
  transform: scaleY(-1);
}

.wave--after-steps {
  width: 100%;
  margin: 144px 0 120px;
}

.wave--after-slider {
  margin-top: 25px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 24px;
  border: 3px solid var(--blue);
  border-radius: 53px;
  font-family: var(--font-button);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: var(--blue);
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-outline--white {
  padding: 10px 70px;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline--white:hover {
  background: var(--white);
  color: var(--blue);
}

/* Getting started: tabs on desktop, accordion on mobile --------------------- */

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 925px;
  margin: 20px auto 0;
}

.steps__tab {
  order: 2;
  margin-top: 10px;
  padding: 15px 35px;
  border: 0;
  background: var(--white);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--blue);
  transition: background-color 0.3s, color 0.3s;
}

.steps__tab:hover,
.steps__tab[aria-expanded="true"] {
  background: var(--blue);
  color: var(--white);
}

.steps__panel {
  order: 1;
  display: none;
  width: 100%;
  min-height: 400px;
}

.steps__panel.is-active {
  display: grid;
}

.steps__text {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.steps__panel--app,
.steps__panel--register {
  grid-template-columns: 1fr 1fr;
}

.steps__stores {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 10px;
}

.steps__stores img {
  width: 246px;
}

.steps__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 10px;
}

.steps__panel--app .steps__text {
  max-width: 442px;
}

.steps__panel--register .steps__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps__panel--register .steps__media img {
  width: 300px;
}

.steps__panel--register .steps__copy {
  justify-content: space-between;
  gap: 30px;
  padding: 55px 20px;
}

.steps__panel--ride {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
}

.steps__phones {
  display: contents;
}

/* Carousel ---------------------------------------------------------------- */

.slider {
  position: relative;
  max-width: 703px;
  margin-inline: auto;
}

.slider__viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.slider__track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.slider__track.is-jumping {
  transition: none;
}

.slider__slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
}

.slider__slide img {
  width: 500px;
  user-select: none;
  -webkit-user-drag: none;
}

.slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  transform: translateY(-50%);
  transition: opacity 0.3s;
}

.slider__arrow:hover {
  opacity: 0.7;
}

.slider__arrow svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.slider__arrow--prev {
  left: 10px;
}

.slider__arrow--next {
  right: 10px;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 12px 0 6px;
}

.slider__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.2;
}

.slider__dot[aria-current="true"] {
  opacity: 1;
}

.how-to-ride .slider {
  margin-top: 20px;
}

.phones {
  display: none;
}

/* Pricing ----------------------------------------------------------------- */

.pricing {
  display: grid;
  gap: 60px;
  max-width: 510px;
  margin: 50px auto 0;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 30px;
}

.price-row--reverse {
  flex-direction: row-reverse;
}

.price-card {
  flex: 0 0 245px;
  padding: 20px 0 28px;
  border: 2px solid rgba(62, 184, 249, 0.43);
  border-radius: 38px;
  box-shadow: 0 0 10px 0 rgba(0, 209, 255, 0.5);
}

.price-card img {
  width: 150px;
  margin-inline: auto;
  border-radius: 32px;
}

.price-text {
  flex: 1;
  font-family: var(--font-display);
  line-height: 1;
  text-align: center;
}

.price-text h3 {
  font-size: 25px;
  font-weight: 700;
  text-transform: uppercase;
}

.price-text p {
  margin-top: 20px;
  font-size: 23px;
}

/* For business / partners / advertise -------------------------------------- */

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

.feature img {
  width: 286px;
}

.feature__title {
  margin: 20px 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.partners__intro {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 22px;
  text-align: center;
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(2, 274px);
  justify-content: center;
  gap: 40px;
  margin-top: 55px;
}

.partners__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partners__item img {
  width: 274px;
}

.partners__item .btn-outline {
  margin-top: auto;
}

.advertise__logo {
  width: min(599px, calc((100% - 60px) / 3));
  margin: 30px auto 0;
}

/* Contact ----------------------------------------------------------------- */

.photo {
  position: relative;
  min-height: 74vh;
  margin-top: 45px;
  background: var(--blue) url("/assets/img/contact-photo.jpg") 0 -258px / cover no-repeat;
}

/* Blue backing just under the photo, so the page never shows white through
   the transparent part of the wave if the wave dips below the photo's edge. */
.photo::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: min(20vw, 300px);
  background: var(--blue);
}

.contact {
  --wave-solid: 239px; /* where the content starts; the wave is solid from here down */
  position: relative;
  min-height: 539px;
  margin-top: -13%; /* % of page width, so the overlap grows with the wave */
  padding: 239px 40px 33px;
  /* The blue layer sits under the wave and keeps the white text readable
     if the wave image fails to load. */
  background:
    url("/assets/img/footer-wave.png") 0 0 / cover no-repeat,
    linear-gradient(transparent var(--wave-solid), var(--blue) var(--wave-solid));
  color: var(--white);
  scroll-margin-top: -200px;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  align-items: start;
}

.contact__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact__logo {
  width: 300px;
  margin-top: 14px;
}

.contact__col .btn-outline {
  margin-top: 30px;
}

.social {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  width: 100%;
  margin-top: 29px;
  padding: 0;
  list-style: none;
}

.social a {
  display: block;
  color: #0f0f0f;
  transition: opacity 0.3s;
}

.social a:hover {
  opacity: 0.6;
}

.social svg {
  width: 50px;
  height: 50px;
  fill: currentColor;
}

.contact__funding {
  width: min(300px, 100%);
  margin-top: 34px;
}

.contact__funding--link {
  margin-top: 20px;
}

.contact__funding--link img {
  width: 100%;
}

.contact__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.contact__address {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 21px;
  font-style: normal;
  line-height: 1;
}

.contact__line {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.contact__line a {
  text-decoration: none;
}

.contact__line a:hover {
  text-decoration: underline;
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  padding: 16px 0;
  background: var(--blue);
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 0;
  list-style: none;
}

.site-footer a {
  display: block;
  padding: 5px 15px;
  font-family: var(--font-footer);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Scroll to top ----------------------------------------------------------- */

.scroll-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #4d4d4d;
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.scroll-top.is-visible {
  opacity: 0.8;
  visibility: visible;
}

.scroll-top:hover {
  opacity: 1;
}

.scroll-top svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* Inner pages ------------------------------------------------------------- */

.page {
  padding: 16px 0 24px;
  text-align: center;
}

.page h1,
.page h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.page h2 {
  margin-top: 34px;
}

.page h1 + p,
.page h2 + p {
  margin-top: 20px;
}

.page--pdf .pdf-frame {
  width: 100%;
  height: 842px;
  margin-top: 24px;
  border: 1px solid #ddd;
}

.page--pdf .btn-outline {
  margin-top: 24px;
}

/* FAQ --------------------------------------------------------------------- */

.faq {
  padding: 31px 0 42px;
}

.faq__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.faq__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 41px;
}

.faq__tab {
  padding: 15px 35px;
  border: 0;
  border-bottom: 2px solid rgba(62, 184, 249, 0.15);
  background: var(--white);
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.5;
  transition: color 0.3s, border-color 0.3s;
}

.faq__tab:hover {
  color: var(--blue);
}

.faq__tab[aria-selected="true"] {
  padding-bottom: 13px;
  border-bottom: 4px solid var(--blue);
  color: var(--blue);
}

.faq__panel {
  max-width: 504px;
  margin: 20px auto 0;
}

.faq__panel[hidden] {
  display: none;
}

.faq__item {
  margin-bottom: 22px;
}

.faq__question {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 23px 23px 23px 33px;
  border: 0;
  background: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  text-align: left;
  transition: color 0.3s;
}

.faq__question::before {
  content: "";
  flex: 0 0 16px;
  height: 16px;
  background: rgba(62, 184, 249, 0.17);
  clip-path: polygon(0 40%, 40% 40%, 40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%);
  transition: background-color 0.3s;
}

.faq__question:hover,
.faq__question[aria-expanded="true"] {
  color: var(--blue);
}

.faq__question[aria-expanded="true"]::before {
  background: var(--blue);
  clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%);
}

.faq__answer {
  padding: 15px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
}

.faq__answer[hidden] {
  display: none;
}

.faq__answer ul {
  padding-left: 22px;
}

.faq__answer p + p {
  margin-top: 12px;
}

.faq__answer a {
  color: var(--blue);
}

/* Tablet ------------------------------------------------------------------ */

@media (max-width: 1024px) {
  .hero__circle {
    display: none;
  }

  .hero__inner {
    padding: 0 40px 0 10px;
  }

  .hero__title {
    text-align: left;
  }

  .photo {
    min-height: 66vh;
    background-position: 0 -99px;
    background-size: max(957px, 100%) auto;
  }

  .contact {
    margin-top: -18%;
    padding-inline: 20px;
  }

  .contact__grid {
    gap: 20px;
  }

  .contact__logo {
    width: min(300px, 100%);
  }

  .steps__tab {
    padding-inline: 22px;
    font-size: 26px;
  }
}

/* Mobile ------------------------------------------------------------------ */

@media (max-width: 767px) {
  .site-header {
    height: 130px;
  }

  .site-header__inner {
    max-width: none;
    padding-inline: 47px 86px;
  }

  .site-header__logo img {
    width: 122px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 96px;
    padding-top: 0;
    right: 0;
    display: none;
    min-width: 132px;
    background: var(--white);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .site-nav li + li {
    border-top: 1px solid #e6e6e6;
  }

  .site-nav a {
    padding: 16px 20px;
  }

  .hero__inner {
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px max(40px, calc(25vh - 71px));
  }

  .hero__title {
    font-size: 60px;
    text-align: center;
  }

  .hero__stores {
    width: auto;
  }

  .hero__wave {
    bottom: 28px;
    transform: none;
  }

  .section--first {
    padding-top: 132px;
  }

  .steps {
    display: block;
    padding-inline: 10px;
  }

  .steps__tab {
    display: block;
    width: 100%;
    margin-top: 0;
    padding-inline: 10px;
    font-size: 31px;
  }

  .steps__panel {
    min-height: 0;
  }

  .steps__panel.is-active {
    display: block;
    padding: 10px 10px 10px;
  }

  .steps__stores {
    gap: 120px;
    padding: 19px 0 20px;
  }

  .steps__stores img {
    width: 270px;
  }

  .steps__copy,
  .steps__panel--register .steps__copy {
    gap: 30px;
    padding: 10px 0 0;
  }

  .steps__panel--register .steps__media {
    padding: 20px 0;
  }

  .steps__panel--ride .steps__phones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px 0;
  }

  .phones {
    display: block;
    margin-top: 137px;
    padding-inline: 10px;
  }

  .phones .slider__slide img {
    width: 350px;
  }

  .phones .slider__arrow {
    color: rgba(237, 237, 237, 0.9);
  }

  .phones .slider__dot {
    background: #000;
  }

  .slider__arrow {
    width: 38px;
    height: 38px;
  }

  .slider__slide img {
    width: 100%;
    max-width: 500px;
  }

  .wave--after-steps {
    margin: 50px 0 120px;
  }

  .pricing {
    gap: 70px;
    max-width: 310px;
  }

  .price-row,
  .price-row--reverse {
    flex-direction: column;
  }

  .price-card {
    flex: none;
    width: 100%;
  }

  .partners__intro {
    font-size: 18px;
  }

  .partners__grid {
    grid-template-columns: minmax(0, 330px);
    gap: 40px;
  }

  .partners__item img {
    width: 286px;
  }

  .partners__item .btn-outline {
    margin-top: 20px;
  }

  .partners__item:last-child .btn-outline {
    margin-top: 68px;
  }

  .advertise__logo {
    width: min(350px, 100%);
  }

  .photo {
    min-height: 53vh;
    margin-top: 20px;
    background-position: -148px -50px;
    background-size: max(593px, 140%) auto;
  }

  .contact {
    --wave-solid: 154px;
    margin-top: -30%;
    padding: 154px 30px 40px;
    scroll-margin-top: -120px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__logo {
    margin-top: 0;
  }

  .contact__funding {
    margin-top: 16px;
  }

  .social {
    max-width: 310px;
    margin-top: 62px;
  }

  .contact__address {
    font-size: 17px;
  }

  .site-footer ul {
    justify-content: center;
  }

  .scroll-top {
    width: 48px;
    height: 48px;
  }

  .faq__tab {
    padding-inline: 20px;
    font-size: 20px;
  }

  .page--pdf .pdf-frame {
    height: 70vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .slider__track {
    transition: none;
  }
}
