/*
 * CSS styles for the Start Menu for Mac product home page
 */

.hero {
    /* Source: https://cssgradient.io/gradient-backgrounds/ */
    background: linear-gradient(15deg, #3a2dff 0.000%, #3c34ff 3.030%, #3f3bff 6.061%, #4143ff 9.091%, #444cff 12.121%, #4756ff 15.152%, #4a60ff 18.182%, #4c6aff 21.212%, #4e74ff 24.242%, #4f7eff 27.273%, #5087ff 30.303%, #5191ff 33.333%, #5199ff 36.364%, #50a1ff 39.394%, #4fa8ff 42.424%, #4eafff 45.455%, #4cb4ff 48.485%, #4ab8ff 51.515%, #47bbff 54.545%, #45bdff 57.576%, #42beff 60.606%, #3fbdff 63.636%, #3cbbff 66.667%, #3ab8ff 69.697%, #38b4ff 72.727%, #36aeff 75.758%, #35a8ff 78.788%, #34a1ff 81.818%, #3499ff 84.848%, #3490ff 87.879%, #3587ff 90.909%, #367dff 93.939%, #3873ff 96.970%, #3a69ff 100.000%);;
}

.hero h1,
.hero .app-slogan {
    color: #fff;
    /* !! BUG !! */
    /* Safari corrupts the text shadow on first load; the user must reload the
     * page to make it appear correctly. */
    text-shadow: #4b4b9a 1px 0 10px;
}

.hero h1 {
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

.hero .beta {
    border: 2px solid #e0f0fd;
}

.hero .app-slogan {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.hero-icon {
    display: inline-block;
    width: 128px;
    height: 128px;

    background-image: url("../img/icon-hero.png");
    background-size: 128px 128px;
    background-repeat: no-repeat;
}

@media only screen and (min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi) {
    .hero-icon {
        background-image: url("../img/icon-hero@2x.png");
    }
}

h2 {
    font-size: 36px;
    letter-spacing: -0.5px;
}

#try-buy {
    font-size: 14px;
    color: #fff;
    text-align: center;
}

#product-intro-img {
    margin-top: 48px;
}

#product-intro {
    padding: 72px;
}

#product-intro > h2,
#feature-compare > h2 {
    padding-bottom: 24px;
}

.menubar-extra-ico {
    display: inline-block;
    width: 24px;
    height: 24px;

    background-image: url("../img/systray.svg");
    background-size: 24px 24px;
    background-repeat: no-repeat;
    vertical-align: text-bottom;
}

#feature-list-cards .row {
    margin-bottom: 24px;
}

#feature-list-cards .card,
#download-cta {
    box-shadow: var(--color-card-shadow);
}

.card {
    border-color: var(--color-card-border);
}

.card-img-top, .card-body {
    padding-left: 30px;
    padding-right: 30px;
}

.card-img-top {
    margin-top: 28px;
}

.card-body {
    margin-top: 12px;
    margin-bottom: 8px;
}

.card-body h5 {
    color: #015488;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.25px;
}

.card-body p,
.card-body li {
    color: var(--color-default-text);
}

#other-features {
    border-color: #ddf;
    background-color: #e7e7f8;
}

#other-features h5 {
    font-size: 28px;
}

#other-features ul {
    padding-top: 18px;
    padding-left: 20%;
}

#other-features ul > li {
    line-height: 1.75;
}

#feature-cmp-matrix {
    margin-top: 32px;
}

#feature-cmp-matrix > tbody th {
    font-weight: 500;
}

#feature-cmp-matrix tbody img {
    /* Checkmark */
    width: 24px;
    height: 24px;
}

#download-cta {
    border: 1px solid #cbe1f4;
    border-radius: 10px;
    background-color: #D7EAFF;
}

#download-cta h3 {
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #002337;
}

#download-cta p.h4 {
    letter-spacing: -0.15px;
}

.download-cta-btn, .download-hero-cta-btn, .buy-cta-btn {
    margin-right: 12px;
    padding-left: 48px;
    width: 11rem;
    font-size: 1.25rem;
    font-weight: 500;
    text-align: left;
    letter-spacing: -0.12px;
}

.download-cta-btn, .download-hero-cta-btn {
    background-image: url("../../img/download.svg");
    background-size: 24px 24px;
    background-position: 14px;
    background-repeat: no-repeat;
}

.download-hero-cta-btn {
    background-color: #005E99;
    color: #fff;
}

.download-hero-cta-btn:hover {
    background-color: #00436c;
    color: #fff;
}

.download-hero-cta-btn:active {
    border: 1px solid #003c60 !important;
    background-color: #00436c !important;
    color: #f7ce6e !important;
}

.buy-cta-btn {
    background-image: url("../../img/buy.svg");
    background-size: 24px 24px;
    background-position: 14px;
    background-repeat: no-repeat;
}

.download-cta-icon {
    display: inline-block;
    width: 96px;
    height: 96px;

    margin-top: 8px;
    margin-bottom: 24px;

    background-image: url("../img/icon-cta.png");
    background-size: 96px 96px;
    background-repeat: no-repeat;
}

@media only screen and (min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi) {
    .download-cta-icon {
        background-image: url("../img/icon-cta@2x.png");
    }
}

footer {
    margin-top: 0;
}
