/* Styles for featureset template.

   developer:   rmiske
   requires:    /common/framework/css/framework.en.css
   ========================================================================== */

/* ==========================================================================
   setup the environment
   ========================================================================== */
:root {
    /*measurements*/
    --border-radius: 9px;
    --wrapper-h-pad: 2rem;
    --max-page-width: 1076px;
}

main {
    color: #404040;
    font-family: 'Source Sans Pro', Arial, sans-serif;
}

.page-width {
    margin: 0 auto;
    max-width: calc(var(--max-page-width) + (2 * var(--wrapper-h-pad)));
    padding: 4rem var(--wrapper-h-pad) 3rem;
    width: 100%;
}


/*text*/
main h1 {
    font-size: 2.8125rem;
}
main h2 {
    font-size: 2rem;
    font-weight: 600;
    padding-bottom: 1.5rem;
    text-align: center;
}
main h2 + p {
    font-size: 1.375rem;
    margin: 0 auto;
    max-width: 60rem;
    padding-bottom: 3.5rem;
    text-align: center;
}
main a { 
    color: #dd1100; 
}
main a:hover {
    color: #f77700; 
}
.button {
    border: 2px solid #aaa;
    border-radius: 7px;
    color: #fff !important;
    display: inline-block;
    margin-right: 0.75rem;
    padding: 0.5rem 1rem;
}
.button.primary {
    background: #dd1100;
    border-color: #dd1100;
}
.button:hover {
    background: #f00;
    border-color: #f00;
}



/* ==========================================================================
   hero
   ========================================================================== */
#hero {
    background: #181818;
    background-image:
        url('/compute-extension/img/hero-background.png'),
        linear-gradient(0deg, #181818 0%, #424242 100%);
    background-position: right -3rem center, center, center; 
    background-repeat: no-repeat, repeat;
    background-size: 846px;
    color: #fff;
}
#hero .page-width {
    gap: 3rem;
    grid-template-columns: 1fr 33%;
}
#hero h1 span {
    background: linear-gradient(135deg, #fa4646 0%, #ff756a 55%, #f85343 100%);
    background-clip: text;
    color: transparent;
    font-weight: 600;
}
#hero p {
    font-size: 1.4375rem;
    font-weight: 300;
    padding: 1.5rem 0 2.25rem;
}
#hero .button {
    font-size: 1.25rem;
}



/* ==========================================================================
   intro
   ========================================================================== */
#intro {
    padding-bottom: 1rem;
}
#intro .display-g {
    gap: 2.5rem;
    grid-template-columns: 1fr 1fr;
}
#intro .display-g > div {
    align-items: center;
    background: #e83627;
    border-radius: var(--border-radius);
    color: #fff;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: auto 1fr;
    padding: 1.5rem;
}
#intro img {
    width: 4rem;
}
/*#intro .display-g > div:nth-child(even) img {
    width: 4.5rem;
}*/
#intro h3 {
    font-size: 1.1875rem;
    font-weight: 600;
    padding-bottom: 0.375rem;
}
#intro .display-g + p {
    font-size: 1.125rem;
    margin-top: 2rem;
    text-align: center;
}



/* ==========================================================================
   capacity
   ========================================================================== */
#capacity h2 {
    border-top: 1px solid #a6a6a6;
    padding-top: 3.5rem;
}
#capacity h3 {
    color: #909090;
    font-size: 1.5rem;
    font-weight: 600;
    padding-bottom: 1.25rem;
    text-transform: uppercase;
}
#capacity h3 span {
    color: #dd1100;
}
#capacity h3 + p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}
#capacity h4 {
    font-size: 1.25rem;
    font-weight: 600;
}
.single h4 {
    color: #dd1100;
}
.network h4 {
    color: #3f3f3f;
    margin-bottom: 0.375rem
}


#capacity .display-g {
    gap: 1rem;
    margin-bottom: 1rem;
}
#capacity .display-g.single {
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 1rem;
}
#capacity .display-g.network {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 2.5rem;
}
#capacity .display-g > div {
    background: #f9fafb; 
    border: 1px solid #e7e7e7;
    border-radius: var(--border-radius);
    padding: 1.25rem;
    position: relative;
}

.bignum {
    color: #dd1100;
    font-size: 2.5625rem;
    line-height: 1;
    position: absolute;
    right: 1rem;
    top: 0.75rem;
}

#capacity .bar {
    display:grid;
    margin: 1rem 0 0;
    gap: 1px;
    grid-template-columns: 1fr 1fr;
    height: 0.9375rem;
}
.bar > span {
    display: block;
}
.bar > span:first-child {
    background: #8f8f8f;
    border-radius: 0.25rem 0 0 0.25rem;
}
.bar > span:last-child {
    background: #dd1100;
    border-radius: 0 0.25rem 0.25rem 0;
}

#capacity .display-g > div:nth-child(1) .bar {
    width: 33%;
}
#capacity .display-g > div:nth-child(2) .bar,
#capacity .display-g > div:nth-child(2) .bar-label {
    width: 67%;
}

.bar-label {
    display: inline-grid;
    font-size: 0.8125rem;
    font-weight: 600;
    gap: 0.25rem;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 2rem;
    width: 100%;
}
.bar-label > span {
    white-space: nowrap;
}
.bar-label > span:first-child {
    color: #8f8f8f;
}
.bar-label > span:last-child {
    color: #dd1100;
    justify-self: end;
}

#capacity .display-g > div:nth-child(1) .bar-label {
    width: auto;
}
#capacity .display-g > div:nth-child(1) .bar-label > span:last-child {
    justify-self: start;
}


/*single*/
#capacity .single p {
    color: #636363;
    font-size: 0.9375rem;
    font-weight: 600;
}
#capacity .single p span {
    color: #dd1100;
}
#capacity .display-g.single + p {
    font-size: 1.0625rem;
    margin-bottom: 3.5rem;
}
#capacity .math {
    color: #dd1100;
    display: inline-block;
    font-size: 1.0625rem;
    font-weight: 600;
    margin-left: 0.25rem;
    white-space: nowrap;
}
#capacity .chiclet {
    background: #dd1100;
    border-radius: 0.25rem;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 3px 5px;
}
#capacity .chiclet.included {
    background: #8f8f8f;
}
#capacity .total {
    font-size: 1.25rem;
}


/*network*/
#capacity .network > div {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: 4.5rem 1fr;
}
#capacity .network img {
    max-width: 100%;
}
#capacity .network p {
    line-height: 1.5;
}



/* ==========================================================================
   scale
   ========================================================================== */
#scale {
    background: #d10000;
    color: #fff;
}
#scale h2 {
    font-size: 2.1875rem;
}
#scale h2 + p {
    padding-bottom: 2rem;
}
#scale h3 {
    font-size: 1.0625rem;
    font-weight: 600;
}
#scale h3 span {
    color: #dd1100;
}
#scale .display-g {
    gap: 1.25rem;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 3.5rem;
}
#scale .display-g > a {
    background: #fff;
    border-radius: var(--border-radius);
    color: #404040;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}
#scale .display-g > a:hover h3 span {
    color:#f77700;
}
#scale .display-g p {
    color: #666;
    font-size: 0.9375rem;
    padding-bottom: 1.5rem;
}

#scale .display-g + p {
    font-size: 1.3125rem;
    text-align: center;
}
#scale .button {
    border-color: #fff;
    font-size: 1rem;
    margin-left: 0.5rem;
}



/* ==========================================================================
   q and a
   ========================================================================== */
#q-and-a {
    gap: 2rem 4rem;
    grid-template-columns: 1fr 1fr;
}
#q-and-a h2 {
    color: #dd1100;
    font-size: 35px;
    grid-column-end: span 2;
}
#q-and-a details {
    border-bottom: 1px solid #dfdfdf;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
}
#q-and-a summary {
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    list-style: none;
    padding-right: 2rem;
    position: relative;
}
#q-and-a summary::-webkit-details-marker {
    display: none;
}
#q-and-a summary::after {
    background: url('/compute-extension/img/caret.svg') no-repeat;
    content: "";
    height: 0.667rem;
    position: absolute;
    right: 0;
    top: 0.5rem;
    transition: transform 0.2s;
    width: 1rem;
}
#q-and-a details[open] summary::after {
    transform: rotate(180deg);
}
.faq-answer {
    margin-top: 0.75rem;
}
.faq-answer p + p {
    margin-top: 0.75rem;
}



/* ==========================================================================
   cta
   ========================================================================== */
#cta {
    padding: 1rem  var(--wrapper-h-pad) 7rem;
}
#cta .page-width {
    align-items: center;
    background: 
        url('/compute-extension/img/cta-background.png'),
        linear-gradient(37deg, #d91313 0%, #f84242 100%);
    background-position: center;
    background-size: 1145px;
    border-radius: var(--border-radius);
    color: #fff;
    gap: 2rem;
    grid-template-columns: 1fr auto;
    padding: 3.5rem var(--wrapper-h-pad) 3.5rem;
}
#cta h2 {
    font-size: 1.75rem;
    padding-bottom: 0.5rem;
    text-align: left;
}
#cta h2 + p {
    font-size: 1.0625rem;
    margin: 0;
    max-width: none;
    padding-bottom: 0;
    text-align: left;
}
#cta .button {
    border-color: #fff;
}



/* ==========================================================================
   sticky footer -_-
   ========================================================================== */
footer#contact-us {
    background: #f86300;
    bottom: 0;
    box-sizing: border-box;
    font-size: 1.125rem;
    line-height: 1.2;
    position: fixed;
    width: 100%;
    z-index: 999999999;
}
footer#contact-us:hover { 
    background: #f77700; 
}
footer#contact-us:hover .button {
    background: #f00;
    border-color: #f00;
}

footer#contact-us a {
    color: #fff;
    display: block;
    padding: 0.875rem 3.75rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}
#contact-us .button {
    border-color: #fff;
    white-space: nowrap;
}



/* ==========================================================================
   responsive breakpoint styles
   ========================================================================== */
@media (max-width: 1200px) {
}


@media (max-width: 900px) {
    /*hero*/
    #hero {
        background-image:
            url('/compute-extension/img/hero-background-900.png'),
            linear-gradient(0deg, #181818 0%, #424242 100%);
        background-position: right -3rem center, center, center; 
        background-size: 340px;
    }
    #hero .page-width {
        grid-template-columns: 1fr;
    }
    #hero p {
        max-width: 55vw;
    }


    /*grids*/
    #intro .display-g,
    #capacity .display-g,
    #scale .display-g,
    #q-and-a {
        margin-left: auto;
        margin-right: auto;
        max-width: 468px;
    }

    #intro .display-g,
    #capacity .display-g.single,
    #capacity .display-g.network,
    #scale .display-g,
    #q-and-a {
        grid-template-columns: 1fr;
    }

    #q-and-a {
        gap: 0;
    }
    #q-and-a h2 {
        grid-column-end: span 1;
    }


    /*etc*/
    #capacity .display-g > div:nth-child(1) .bar-label {
        width: 33%;
    }
    #capacity .display-g > div:nth-child(1) .bar-label > span:last-child {
        justify-self: end;
    }
}


@media (max-width: 600px) {
    .button {
        margin: 0.5rem 0.375rem;
    }

    
    /*hero*/
    #hero {
        text-align: center;
        background-image:
            url('/compute-extension/img/hero-background-600.png'),
            linear-gradient(0deg, #181818 0%, #424242 100%);
        background-position: top 60px center, center; 
        background-size: 900px;
    }
    #hero h1 span {
        display: block;
    }
    #hero img { 
        margin-right: 25px; 
    }
    #hero p {
        margin: 0 auto;
        max-width: none;
    }


    /*and the rest*/
    #capacity .math {
        padding-top: 0.5rem;
    }
    #q-and-a h2 {
        font-size: 2rem;
    }
    #cta .page-width {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 320px) {
}