@charset "UTF-8";

/* Standalone styles for guide and comparison pages. Mirrors the homepage look
   without depending on home.css. */

:root {
    --button-color: #9C27B0;
    --button-color-dark: #7B1FA2;
    --button-color-light: #E1BEE7;
    --bg-color-dark: #f9f9fa;
    --text: #222;
    --muted: #666;
    --rule: #e6e6ea;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/source-serif-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html {
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif;
    color: var(--text);
}

body {
    margin: 0;
}

.topbar {
    box-sizing: border-box;
    display: flex;
    padding: 15px 60px;
    background-color: #fff;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #060318;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 30px;
    line-height: 41px;
}

.logo > a {
    color: inherit;
    text-decoration: none;
}

.topbar-buttons > a {
    color: var(--button-color);
    font-weight: 500;
    display: inline-block;
    text-decoration: none;
    margin-left: 30px;
}

.button {
    border-radius: 22px;
    border: 2px solid var(--button-color);
    box-sizing: border-box;
    color: var(--button-color);
    display: inline-block;
    height: 44px;
    line-height: 40px;
    padding: 0 22px;
    text-align: center;
}

a:hover .button {
    background-color: var(--button-color);
    color: #fff;
}

.button.button-dark {
    background-color: var(--button-color);
    color: #fff;
}

a:hover .button-dark {
    background-color: var(--button-color-dark);
    border-color: var(--button-color-dark);
}

.hero {
    background-color: var(--bg-color-dark);
    padding: 64px 20px 56px;
    text-align: center;
}

.hero h1 {
    color: #060318;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 46px;
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin: 0 auto;
    max-width: 820px;
}

.hero p {
    font-size: 18px;
    line-height: 30px;
    margin: 18px auto 0;
    max-width: 620px;
}

.article {
    box-sizing: border-box;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 760px;
    padding: 48px 20px 24px;
}

.article h2 {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.3;
    margin: 48px 0 12px;
}

.article h3 {
    font-size: 18px;
    margin: 28px 0 6px;
}

.article a {
    color: var(--button-color-dark);
}

.article li {
    margin: 6px 0;
}

.article code {
    background: var(--bg-color-dark);
    border: 1px solid var(--rule);
    border-radius: 4px;
    font-size: 0.92em;
    padding: 1px 5px;
}

.note {
    background: var(--bg-color-dark);
    border-left: 4px solid var(--button-color-light);
    margin: 24px 0;
    padding: 12px 18px;
}

.muted {
    color: var(--muted);
    font-size: 14px;
}

.table-scroll {
    margin: 24px -20px;
    overflow-x: auto;
    padding: 0 20px;
}

.compare {
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.45;
    min-width: 720px;
    width: 100%;
}

.compare th,
.compare td {
    border-bottom: 1px solid var(--rule);
    padding: 12px 10px;
    text-align: left;
    vertical-align: top;
}

.compare thead th {
    border-bottom: 2px solid #ccc;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--muted);
}

.compare tbody th {
    font-weight: 600;
    white-space: nowrap;
}

.compare .num {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.compare tr.us {
    background: #faf3fb;
}

.steps {
    counter-reset: step;
    list-style: none;
    padding-left: 0;
}

.steps > li {
    counter-increment: step;
    padding-left: 44px;
    position: relative;
    margin: 18px 0;
}

.steps > li::before {
    background: var(--button-color);
    border-radius: 50%;
    color: #fff;
    content: counter(step);
    font-size: 14px;
    font-weight: 600;
    height: 28px;
    left: 0;
    line-height: 28px;
    position: absolute;
    text-align: center;
    top: 1px;
    width: 28px;
}

.cta {
    background-color: var(--bg-color-dark);
    margin-top: 56px;
    padding: 56px 20px;
    text-align: center;
}

.cta h2 {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    margin: 0 0 10px;
}

.cta p {
    margin: 0 auto 22px;
    max-width: 520px;
}

.related {
    list-style: none;
    padding: 0;
}

.related li {
    margin: 8px 0;
}

.legal {
    color: #737373;
    font-size: 13px;
    line-height: 22px;
    margin: 0 auto;
    max-width: 760px;
    padding: 36px 20px 48px;
    text-align: center;
}

.legal a {
    color: inherit;
    margin: 0 8px;
}

@media all and (max-width: 509px) {
    .topbar {
        padding: 15px 20px;
    }

    .topbar-buttons > a {
        display: none;
    }

    .topbar-buttons > .topbar-login {
        display: inline-block;
    }

    .hero h1 {
        font-size: 34px;
    }

    .article {
        font-size: 16px;
    }
}
