* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #f3f4f6;
}

body {
    display: grid;
    min-height: 100vh;
    margin: 0;
    padding: 1rem;
    place-items: center;
    color: #374151;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home-card {
    width: min(100%, 42rem);
    padding: 2rem;
    overflow: hidden;
    border-radius: .5rem;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
    text-align: center;
}

h1 {
    margin: 0;
    color: #2563eb;
    font-size: 2.25rem;
    line-height: 1.1;
}

h2 {
    margin: 1rem 0 0;
    color: #1f2937;
    font-size: 1.125rem;
}

p {
    margin: .5rem 0 0;
    line-height: 1.55;
}

section {
    margin-top: 1.5rem;
}

a {
    color: #3b82f6;
}

a:hover {
    text-decoration: underline;
}

code,
pre {
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.api-title {
    font-weight: 700;
}

.api-description {
    margin-bottom: 1rem;
    color: #4b5563;
    font-size: .875rem;
}

.api-card {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    background: #f3f4f6;
}

.api-card__header {
    padding: .5rem 1rem;
    background: #e5e7eb;
    color: #4b5563;
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.api-card__body {
    padding: 1rem;
}

pre {
    margin: 0;
    color: #1f2937;
    font-size: .75rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
}

@media (min-width: 640px) {
    pre {
        font-size: .875rem;
    }
}
