/* ---------- Basic page ---------- */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 32px 20px 60px;
    background: #f5f5f7;
    color: #1d1d1f;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 17px;
    line-height: 1.45;
}

.page {
    max-width: 760px;
    margin: 0 auto;
}


/* ---------- Headings ---------- */

h1 {
    margin: 0 0 28px;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

h2 {
    margin: 38px 0 14px;
    font-size: 22px;
    line-height: 1.2;
}


/* ---------- Sections ---------- */

.section {
    background: white;
    border: 1px solid #dedee3;
    border-radius: 14px;
    padding: 10px;
    margin-bottom: 22px;
}

.section-title {
    margin: 4px 8px 8px;
    padding: 0 2px 8px;
    color: #6e6e73;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


/* ---------- Link rows ---------- */

.link-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.link-list li {
    margin: 0;
}

.link-list a {
    display: block;
    padding: 11px 12px;
    border-radius: 9px;

    color: #075fc7;
    text-decoration: none;
    font-weight: 500;
}

.link-list a:visited {
    color: #075fc7;
}

.link-list a:hover {
    background: #f1f1f4;
    color: #004ea8;
}

.link-list a:active {
    background: #e5e5ea;
}


/* ---------- More sensitive / logged-in section ---------- */

.private-section {
    border-color: #d2d2d7;
}

.private-section .section-title::after {
    content: "  •  Logged in";
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}


/* ---------- Images / badges ---------- */

.logo-link {
    display: inline-block;
    margin: 6px 8px 16px;
}

.logo-link img {
    display: block;
    max-width: 100%;
    height: auto;
}

.tracker-badge {
    display: block;
    max-width: 475px;
    width: 100%;
    height: auto;
    margin: 8px 0 20px;
}


/* ---------- Small screens ---------- */

@media (max-width: 600px) {
    body {
        padding: 22px 12px 40px;
        font-size: 16px;
    }

    h1 {
        font-size: 32px;
        margin-bottom: 22px;
    }

    .section {
        border-radius: 12px;
        padding: 7px;
    }

    .link-list a {
        padding: 12px 10px;
    }
}
