/* Global */
html {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -webkit-overscroll-behavior-x: none;
}

body {
    background-color: white;
    height: auto;
    min-height: auto;
    overflow-x: hidden;
    margin: 0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
}

ul, ol, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
    margin: 0;
}

ul, ol {
    list-style: none;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

/* Colors */
.text-gray-900 {
    color: rgba(19, 18, 21, 1);
}

.text-gray-700 {
    color: rgba(83, 82, 94, 1);
}

/* Spacing and alignment */
.mt-16 {
    margin-top: 16px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-12 {
    margin-bottom: 12px;
}

.mb-8 {
    margin-bottom: 8px;
}

.text-center {
    text-align: center;
}

/* Typography */
@font-face {
    font-family: 'Snagajob Nib Pro';
    src: url('../assets/fonts/snagajob-nib/snagajob-nib-bold.woff2') format('woff2'),
    url('../assets/fonts/snagajob-nib/snagajob-nib-bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: block;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Basis Grotesque Pro';
    src: url('../assets/fonts/basis-grotesque/basis-grotesque-bold.woff2') format('woff2'),
    url('../assets/fonts/basis-grotesque/basis-grotesque-bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: block;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Basis Grotesque Pro';
    src: url('../assets/fonts/basis-grotesque/basis-grotesque-regular.woff2') format('woff2'),
    url('../assets/fonts/basis-grotesque/basis-grotesque-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: block;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.heading-100 {
    font-family: "Basis Grotesque Pro", -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
    font-weight: Bold;
    line-height: 26px;
    font-size: 18px;
    letter-spacing: -0.02rem;
}

.heading-500 {
    font-family: "Snagajob Nib Pro", Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
    font-weight: Bold;
    line-height: 52px;
    font-size: 40px;
    letter-spacing: -0.03rem;
}

.body-strong-md {
    font-family: "Basis Grotesque Pro", -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
    font-weight: Bold;
    line-height: 24px;
    font-size: 16px;
    letter-spacing: -0.01rem;
}

.body-md {
    font-family: "Basis Grotesque Pro", -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
    font-weight: Normal;
    line-height: 24px;
    font-size: 16px;
    letter-spacing: -0.01rem;
}

.body-sm {
    font-family: "Basis Grotesque Pro", -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
    font-weight: Normal;
    line-height: 20px;
    font-size: 14px;
    letter-spacing: -0.01rem;
}


/* Application */

/* Header */
header {
    background: white;
    padding: 24px 32px;
    position: sticky;
    top: 0;
    border-bottom: 1px solid rgb(223 223 225);
}

header .snagajob-logo {
    display: block;
    vertical-align: middle;
}

/* Footer */
footer {
    padding: 64px 16px 16px;
    background: rgba(244, 244, 245, 1);
}

footer .footer-links {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 56px;
    margin-bottom: 56px;
}

footer .footer-links > div {
    max-width: 160px;
}

footer .footer-links li:not(:last-child) {
    margin-bottom: 16px;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 24px;
}

.socials a {
    display: inline-flex;
    width: 18px;
}

.app-stores {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.app-stores a {
    display: inline-flex;
}

@media (max-width: 960px) {
    footer .footer-links {
        flex-direction: column;
        padding-left: 24px;
        gap: 40px;
        margin-bottom: 40px;
    }

    .socials,
    .app-stores {
        justify-content: flex-start;
        padding-left: 24px;
    }

    .app-stores {
        flex-direction: column;
        gap: 12px;
    }

    footer .copyright {
        text-align: left;
        padding-left: 24px;
    }
}

/* Main */
main {
    padding: 55px 32px 32px;
}

.page-subtitle {
    text-align: justify;
    max-width: 45rem;
}

@media (max-width: 960px) {
    main {
        margin: auto;
        max-width: 624px;
    }
}

.container {
    padding-top: 64px;
    display: grid;
    grid-template-columns: 30% 60%;
}

@media (max-width: 960px) {
    .container {
        padding-top: 56px;
        grid-template-columns: 1fr;
    }
}

/* Navigation */
nav a.active {
    color: rgb(75 59 255);
}

/* Articles */
.articles {
    display: none;
}

article {
    overflow-x: auto;
    text-align: justify;
}

@media (max-width: 960px) {
    article {
        padding-top: 56px;
    }
}

article h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}

article h3 {
    margin-top: 40px;
    margin-bottom: 16px;
}

article p,
article blockquote {
    margin-bottom: 16px;
}

article a {
    color: rgba(75, 59, 255, 1);
}

article ul {
    list-style-type: disc;
}

article ul,
article ol {
    margin-bottom: 16px;
}

article ul,
article ol,
article blockquote {
    padding-left: 24px;
}

article li:not(:last-child) {
    margin-bottom: 16px;
}

article li p {
    margin-bottom: 0;
}

article ol.lower-alpha {
    list-style-type: lower-alpha;
}

article ol.roman-numbers {
    list-style-type: lower-roman;
}

article ol.decimal {
    list-style-type: decimal;
}

article .table-container {
    overflow-x: auto;
}

article table {
    text-align: left;
    margin-bottom: 24px;
}

article table tr {
    vertical-align: top;
}

article table td {
    width: 33.3%;
    padding: 8px;
    border: 1px solid rgba(223, 223, 225, 1);
}

article table ul,
article table ol {
    padding-left: 16px;
    margin-bottom: 0;
}
