* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 100%;
    font: inherit;
    /* outline: solid 1px rgba(0,0,0,.2); */
}

:root {
    --blue: #0A00FF;
    --lightblue: #C6C4F7;
    --dark: #111;
}

@font-face {
	font-family: 'IBM Plex Sans';
	/* src: url('../fonts/IBM-Plex-Sans-Var.woff2') format('woff2') tech('variations'),
	     url('../fonts/IBM-Plex-Sans-Var.woff2') format('woff2-variations'); */
    src: url('../fonts/IBM-Plex-Sans-Var.woff2') format('woff2'),
    url('../fonts/IBM-Plex-Sans-Var.woff2') format('woff2-variations');
    font-weight: 100 700;
    /* font-width: 85 100; */
}

@font-face {
	font-family: 'IBM Plex Mono';
	src: url('../fonts/IBM-Plex-Mono-Medium.woff2') format('woff2');
}

@font-face {
	font-family: 'Cooper Hewitt';
	src: url('../fonts/CooperHewitt-Heavy.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
	font-family: 'Cooper Hewitt';
	src: url('../fonts/CooperHewitt-HeavyItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

html {
    font-size: 8px;
    scroll-behavior: smooth;
}

body {
    background: #F5F5F5;
    color: var(--dark);
    overflow-x: hidden;
}

.main {
    font-family: 'IBM Plex Sans';
    /* font-variation-settings: "wght" 500, "wdth" 100; */
    font-weight: 500;
    /* font-size: 20px; */
    font-size: 2.5rem;
    line-height: 1.3;
}

code {
    font-family: 'IBM Plex Mono';
    white-space: nowrap;
    color: var(--blue);
}

pre {
}

.section {
    /* width: 100%;
    max-width: 960px;
    max-width: 800px; */
    /* outline: solid 1px #ccc; */
}

.section-content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* outline: solid 4px red; */
    max-width: 1400px;
    padding: 2.5rem 5rem 16rem 5rem;
    margin: auto;
    position: relative;
}

.section-content:before {
    width: 100vw;
    background: blue;
    height: 4px;
    content: '';
    position: absolute;
    grid-column: 2 / span 2;
}

.subgrid {
    display: grid;
    grid-template-columns: repeat(8,1fr);
}

h1 {
    font-family: "Cooper Hewitt";
    /* font-variation-settings: "wght" 120; */
    /* 60-140 */
    font-size: 8rem;
    line-height: 1;
    font-style: italic;
    color: var(--blue);
}

h2 {
    font-family: "Cooper Hewitt";
    font-size: 6rem;
    line-height: 1;
    font-variation-settings: "wght" 120;
    text-transform: uppercase;

    grid-column: 2 / span 3;
}

.btn {
    box-shadow: rgba(0,0,0,.1) 0px 4px 10px;
    transition: all .2s;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: rgba(0,0,0,.2) 0px 6px 10px;
}

::selection {
    background: var(--blue);
    color: #fff;
}



/* header */

.header {
    position: fixed;
    z-index: 10;
}

.header .section-content:before {
    display: none;
}

.header .section-content {
    display: block;
}

.header a {
    height: 6rem;
    line-height: 6.3rem;
    font-size: 3rem;
    display: inline-block;
    font-family: "Cooper Hewitt";
    font-weight: bold;
    font-style: italic;
    text-decoration: none;
    padding: 0 2.5rem;
    margin-right: 1rem;
    border-radius: 8px;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    box-shadow: rgba(0,0,0,.1) 0px 4px 10px;
    position: relative;
}

.header-logo {
    border: solid 2px var(--blue);
    background: linear-gradient(90deg, #fff 0%, var(--lightblue) 100%);
    color: var(--blue);
    top: 0;

    top: -75px;
    animation: moveintop .2s forwards;
}

.header-getit {
    background: var(--dark);
    color: #fff;
    border: solid 2px var(--dark);
    top: 0;
    
    top: -75px;
    animation: moveintop .2s .2s forwards;
}

.ph {
    position: fixed;
    top: -75px;
    right: 5rem;
    z-index: 3;
    zoom: 0.8;
    animation: phmoveintop .2s .4s forwards;
}

@keyframes moveintop {
    from {
        top: -75px;
    }

    to {
        top: 0;
    }
}

@keyframes phmoveintop {
    from {
        top: -75px;
    }

    to {
        top: 20px;
    }
}



/* hero */

.hero {
    padding-bottom: 6rem;
}

.hero .section-content:before {
    display: none;
}

.hero-title {
    grid-column: 5 / span 8;
    margin-top: 14rem;
    /* margin-top: 26rem; */
    margin-top: 20rem;
}

p.tagline {
    font-weight: 500;
    font-size: 3rem;
    margin-top: 2.6rem;
}

.hero-preview {
    /* grid-column: 1 / span 12; */
    grid-column: 2 / span 10;
    /* outline: solid 2px red; */
    margin-top: 12rem;
    margin-bottom: 8rem;
    display: flex;
    justify-content: center;
}

.hero-cta {
    /* grid-column: 4 / span 9; */
    /* grid-column: 5 / span 8; */
    grid-column: 1 / span 12;
    display: flex;
    justify-content: center;;
}

.hero-cta a {
    font-weight: 700;
    background: #ccc;
    border-radius: 8px;
    height: 9rem;
    display: inline-block;
    width: 30rem;
    line-height: 8rem;
    text-align: center;
    text-decoration: none;
    font-size: 3rem;
    margin-right: 1rem;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
}

.hero-cta a.primary {
    background: var(--dark);
    color: #fff;
    border: solid .5rem var(--dark);
}

.hero-cta-demonote {
    position: absolute;
    margin-left: 24.5rem;
    margin-top: 4rem;
    left: 50%;
    transform: translate(-50%);
    pointer-events: none;
}

.hero-cta a.secondary {
    background: var(--lightblue);
    color: var(--blue);
    border: solid .5rem var(--blue);
}

.hero-quote {
    grid-column: 1 / span 12;
    margin-top: 18rem;
}

.hero-quote.subgrid {
    grid-template-columns: repeat(12,1fr);
}

.hero-quote p {
    color: var(--blue);
    display: block;
    /* outline: solid 1px red; */
    grid-column: 5 / span 8;
    font-weight: bold;
    font-size: 6rem;
    line-height: 1.1;
    text-indent: -3.2rem;
}

.hero-quote cite {
    display: block;
    /* outline: solid 1px green; */
    grid-column: 5 / span 6;
    font-size: 3rem;
    margin-top: 1.3rem;
}

.hero-quote cite a {
    color: var(--dark);
    text-decoration: none;
}


/* installation */

.installation {
    background: #eee;
}

.installation .section-content:before {
    background: var(--blue);
}

.installation h2 {
    color: var(--blue);
}

.installation h2 span {
    margin-left: -1.5ch;
}

.installation-steps {
    grid-column: 5 / span 8;
    margin-top: 16rem;
    list-style: none;
    counter-reset: item;
}

.installation-steps > li {
    counter-increment: item;
    grid-column: 1 / span 6;
    position: relative;
}

.installation-steps > li+li {
    margin-top: 12rem;
}

.installation-steps > li:not(:last-of-type):after {
    width: 100vw;
    height: 1px;
    border-top: dashed 1px #999;
    content: '';
    position: absolute;
    left: 0;
    bottom: -6rem;
}

.installation-steps > li:before {
    content: counter(item);
    position: absolute;
    margin-left: -9rem;
    display: block;
    width: 4.5rem;
    height: 4.5rem;
    background: #C6C4F7;
    text-align: center;
    line-height: 4.5rem;
    font-size: 3.5rem;
    border-radius: 8px;
    color: var(--blue);
    font-weight: 500;
}

.installation-steps li.subgrid {
    grid-column: 1 / span 8;
}

.installation-steps li.subgrid strong {
    grid-column: 1 / span 1;
    font-family: "Cooper Hewitt";
    font-size: 2rem;
    line-height: 2;
    font-variation-settings: "wght" 120;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-color: var(--blue);
    text-underline-offset: 2px;
    text-decoration-thickness: .5rem;
}

.installation-steps li.subgrid p {
    grid-column: 2 / span 6;
    /* outline: solid 1px red; */
}

.installation-steps li.subgrid p:first-of-type {
    margin-bottom: 1.3em;
}


/* faq */

.faq {
    background: #C6C4F7;
}

.faq .section-content:before {
    background: var(--dark);
}

.faq-details {
    margin-top: 6rem;
    grid-column: 5 / span 6;
}

details {
    background: #fff;
    margin-bottom: 1rem;
    /* margin-bottom: .5rem; */
    border-radius: 1rem;
    transition: all .4s;
}

summary {
    position: relative;
    padding: 1rem 4rem 1rem 2rem;
    cursor: pointer;
}

summary:after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    height: 5.2rem;
    width: 5.2rem;
    text-align: center;
    line-height: 5.2rem;
    font-size: 3rem;
}

details > p {
    /* padding: 1.3rem 2rem 2rem 2rem; */
    padding: .8rem 2rem 3rem 2rem;
    font-weight: 400;
}

details > p+p {
    margin-top: -1.5rem;
}

details > form {
    padding: 0 2rem 0 2rem;
    font-weight: 400;
}

details[open] summary:after {
    /* content: '-'; */
    transform: rotate(45deg) scale(1.2);
}

summary::-webkit-details-marker, summary::marker {
    content: '';
}

details[open] summary::-webkit-details-marker, details[open] summary::marker {
}

.result-ok {
    color: green;
}

.result-error {
    color: red;
}




/* author */
.author h2 {
    margin-bottom: 12rem;
}

.author .section-content:before {
    background: var(--dark);
}

.author-about {
    grid-column: 5 / span 6;
}

.author-about a {
    color: inherit;
}

.author-about a:hover {
    text-decoration: none;
}

.author-about ul {
    list-style-type: none;
    margin-top: 1.3rem;
    margin-left: -10px;
}

.author-about ul li {
    display: inline-block;
}

.author-about ul li a {
    display: block;
    /* outline: solid 1px blue; */
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-about ul li a svg {
    width: 20px;
    height: 20px;
    /* outline: solid 1px red; */
}


.author-portrait {
    grid-column: 2 / span 3;
    justify-content: center;
    align-content: center;
    display: flex;
}

.author-portrait img {
    max-height: calc(9.1em);
    border-radius: 100%;
    display: block;
    background: #ccc;
}


/* footer */

.footer {
    font-size: 2rem;
    line-height: 1.3;
    font-family: 'IBM Plex Sans';
    color: #666;
}

.footer .section-content:before {
    /* display: none; */
    height: 1px;
    background: #ccc;
}

.footer .section-content {
    padding-bottom: 2.5rem;
}

.footer-links {
    grid-column: 5 / span 7;
    text-align: right;
}

.footer a {
    color: inherit;
    text-decoration: underline;
}

.footer a:hover {
    text-decoration: none;
}

.footer-links a {
    margin-left: 2rem;
}

.footer-version {
    grid-column: 2 / span 3;
}




/* breakpoints */

@media(max-width: 1380px) {
    html {
        font-size: 7px;
    }

    .hero-cta-demonote {
        margin-left: 23.5rem;
        width: 190px;
    }
}

@media(max-width: 1140px) {
    html {
        font-size: 6px;
    }
}

@media(max-width: 990px) {
    /* .section-content {
        display: block;
    } */

    h2 {
        grid-column: 1 / span 12;
    }

    .section-content:before {
        grid-column: 1 / span 1;
    }

    .installation-steps {
        grid-column: 1 / span 12;
        margin-top: 8rem;
    }

    .faq-details {
        grid-column: 1 / span 12;
    }

    code {
        white-space: initial;
    }

    .subgrid {
        display: block;
    }

    .installation-steps > li:before {
        margin-left: 0;
        display: block;
        position: static;
        margin-bottom: 4rem;
    }

    .installation-steps strong {
        display: block;
        margin-bottom: 2rem;
        margin-top: 4rem;
    }

    .footer-version, .footer-links {
        grid-column: 1 / span 12;
        text-align: left;
    }

    .footer-links a:first-of-type {
        margin-left: 0;
    }

    .author-about {
        grid-column: 1 / span 12;
    }

    .author-portrait {
        grid-column: 1 / span 12;
        margin-bottom: 3.9rem;
        margin-right: 0;
    }

    .author-portrait img {
        max-width: 300px;
        max-height: initial;
    }

    h2 br {
        display: none;
    }

    .installation h2 span {
        margin-left: 0;
    }

    h2 span:before {
        content: ' ';
    }

    .hero-title {
        grid-column: 1 / span 12;
    }

    h1 {
        font-size: 6rem;
    }

    .section-content:before {
        width: calc(100vw - 5rem);
    }

    .installation-steps > li:not(:last-of-type):after {
        width: calc(100vw - 5rem);
    }

    .hero-quote p {
        font-size: 4rem;
        text-indent: -2rem;
    }
}

@media (max-width: 620px) {
    .hero-preview {
        grid-column: 1 / span 12;
    }

    p.tagline br {
        display: none;
    }

    h1, h2 {
        font-size: 4rem;
    }

    .hero-cta-demonote {
        width: 120px;
        transform: rotate(25deg) translateY(6rem);
        margin-left: 12rem;
    }
}
