@charset "UTF-8";

:root {
    --color-text: #ffffff;
    --color-background: #222222;
}

/* 1. Use a more-intuitive box-sizing model. */
*, *::before, *::after {
    box-sizing: border-box;
}

/* 2. Remove default margin, tweak line height */
* {
    margin: 0;
    line-height: calc(1em + 0.5rem);
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Open Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 20pt;
    line-height: 1.2em;
    background: var(--color-background);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
}

.inner {
    width: 900px;
    margin: 0 auto;
    position: relative;
}

h1 {
    font-weight: 600;
    font-size: 45pt;
    margin-top: 10px;
    margin-bottom: 10px;
    letter-spacing: 0.05ch;
    color: #fff;
}

h2 {
    font-size: 30pt;
    font-weight: 600;
    margin-top: 0px;
    margin-bottom: 40px;
    letter-spacing: 0.03ch;
    color: #fff;
}

h3 {
    font-size: 20pt;
    margin-bottom: 10px;
    color: #fff;
}

p {
    letter-spacing: 0.05ch;
    opacity: 1;
}

a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    transition-property: color, border;
    transition-duration: 0.33s;
    transition-timing-function: ease-out;
}

a:hover {
    color: #3375dd;
    border-bottom: 1px solid rgba(102,152,229,0.5);
}

.header {
    margin-top: 40px;
    display: flex;
    align-items: center;
}

.header a {
    border: none;
    transition-property: none;
}

.header .appname,
.header .icon {
    vertical-align: middle;
}

.header .appname {
    margin-left: 10px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    transition-property: color, border;
    transition-duration: 0.33s;
    transition-timing-function: ease-out;
}

.header a:hover {
    border: none;
}

.header a:hover .appname {
    border-bottom: 1px solid rgba(102,152,229,0.5);
}

.icon {
    /* SVG drop shadow */
    -webkit-filter: drop-shadow(0 0 1ch rgba(0, 0, 0, 0.5));
    -moz-filter: drop-shadow(0 0 1ch rgba(0, 0, 0, 0.5));
    -o-filter: drop-shadow(0 0 1ch rgba(0, 0, 0, 0.5));
    -ms-filter: drop-shadow(0 0 1ch rgba(0, 0, 0, 0.5));
    filter: drop-shadow(0 0 1ch rgba(0, 0, 0, 0.5));
    /* fix shadow clipping */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);

    cursor: default;
}

.appstore-link,
.appstore-link:hover {
    border: none;
}

.appstore {
    margin-top: 20px;
    user-select: none;
    -webkit-user-select: none;
}

.hand {
    position: absolute;
    right: 0;
    top: -125px;
    margin-right: -345px;
    z-index: -10;
}

.phone {
    display: none;
}

.promo {
    height: 900px;
    padding: 225px 0 150px 0;
    overflow: hidden;
    color: #aaaaaa;
}

.definition-wrapper,
.features-wrapper {
    /* background: #c4c4c4;
    color: #222222; */
    background: #111;
    color: #999;
}

.definition {
    padding: 100px 0;
}

hr {
    margin: 0;
    border: 0;
    /* border-top: 3px solid #222; */
    border-top: 3px solid #fff;
}

.features-wrapper {
    padding-top: 40px;
    padding-bottom: 40px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    grid-gap: 40px;
}

.feature {
    position: relative;
}

.feature img {
    width: 100%;
}

[class^=providers-] {
    background: url('img/Providers.png') no-repeat;
    background-size: 300%;
    border-radius: 8px;
    box-shadow: inset 0 1px 0px rgba(255,255,255,0.2),
                inset 0 -1px 0px rgba(0,0,0,0.4);
}

.providers-mtasubway-stop,
.providers-mtabus-stop,
.providers-njtransit-stop {
    aspect-ratio: 2.09;
    margin-top: 10px;
    margin-bottom: 10px;
}

.providers-mtabus-stop {
    background-position: 50% -0px;
}

.providers-njtransit-stop {
    background-position: 100% -0px;
}

.providers-mtasubway,
.providers-mtabus,
.providers-njtransit {
    margin-top: 10px;
}

.providers-mtasubway {
    aspect-ratio: 1.25;
    background-position: -0px 95%;
}

.providers-mtabus {
    aspect-ratio: 1.41;
    background-position: 50% 80%;
}

.providers-njtransit {
    aspect-ratio: 1.41;
    background-position: 100% 80%;
}

.get-now {
    padding-top: 40px;
    padding-bottom: 20px;
    text-align: center;
}

.get-now h2 {
    margin-bottom: 10px;
}

.footer {
    font-size: 10pt;
    padding-bottom: 40px;
    color: #999;
}

article {
    color: #bbb;
    margin-bottom: 40px;
}

article p {
    margin-bottom: 1rem;
}

article strong {
    color: #ddd;
}

.author {
    margin: 0 auto 20px;
    text-align: center;
}

@media screen and (max-width: 980px) { /* tablet A */
    .inner {
        width: 100%;
        padding-left: 40px;
        padding-right: 40px;
    }

    .hand {
        margin-right: -305px;
    }
}

@supports (padding-left: env(safe-area-inset-left)) {
    @media screen and (max-width: 980px) { /* tablet A */
        .inner {
            padding-left: calc(20px + env(safe-area-inset-left))
        }
    }
}

@supports (padding-right: env(safe-area-inset-right)) {
    @media screen and (max-width: 980px) { /* tablet A */
        .inner {
            padding-right: calc(20px + env(safe-area-inset-right))
        }

        .hand {
            margin-right: calc(env(safe-area-inset-right) - 325px);
        }
    }
}

@media screen and (max-width: 750px) { /* tablet B */
    .promo {
        padding: 40px 0 20px;
        height: auto;
        text-align: center;
    }

    .icon {
        margin-top: calc(40vw - 200px);
    }

    .appstore {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .hand {
        display: none;
    }

    .phone {
        margin-top: 20px;
        display: inline;
        width: calc(min(100%, 350px));
    }
}

@media screen and (max-width: 510px) { /* mobile */
    .inner {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .promo {
        padding: 40px 0 20px;
        height: auto;
        text-align: center;
    }

    .icon {
        margin-top: 0;
    }

    .hand {
        display: none;
    }

    .phone {
        margin-top: 20px;
        display: inline;
        width: calc(min(100%, 350px));
    }

    h2 {
        margin-bottom: 20px;
    }

    .features-wrapper {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .features {
        display: block;
    }

    h3 {
        margin-top: 40px;
    }

    .get-now {
        padding-top: 20px;
    }

    .header {
        margin-top: 20px;
    }

    article {
        margin-bottom: 20px;
    }
}
