:root {
    --main-color: rgb(111, 7, 47);
    --text: #2a2a2a;
    --muted: #5d5d5d;
    --line: #dcd6d9;
    --code-bg: #f3f0f1;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.55;
    color: var(--text);
    background: #fff;
}

header {
    background: var(--main-color);
    color: white;
}

.bar {
    max-width: 52rem;
    margin: 0 auto;
    padding: 0.9rem 1.25rem;
}

.bar a {
    color: white;
    font-weight: 600;
    text-decoration: none;
}

.bar a:hover {
    text-decoration: underline;
}

.bar .sep {
    margin: 0 0.35em;
    opacity: 0.7;
}

main {
    max-width: 52rem;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 2rem;
}

h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin: 0 0 0.3rem;
}

h2 {
    font-size: 1.4rem;
    margin: 2rem 0 0.5rem;
}

h3 {
    font-size: 1.1rem;
    margin: 1.4rem 0 0.3rem;
}

a {
    color: var(--main-color);
}

.lead {
    font-size: 1.1rem;
    color: var(--muted);
}

.meta {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.ext-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.ext-header img {
    flex: none;
    border-radius: 12px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0 1.5rem;
}

.button {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--main-color);
    border-radius: 4px;
    background: var(--main-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.button.secondary {
    background: white;
    color: var(--main-color);
}

.button:hover {
    text-decoration: underline;
}

.shot {
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.shot.small {
    max-width: 24rem;
}

code,
kbd {
    background: var(--code-bg);
    border-radius: 3px;
    padding: 0.05em 0.3em;
    font-size: 0.92em;
}

pre {
    background: var(--code-bg);
    border-radius: 6px;
    padding: 0.8rem 1rem;
    overflow-x: auto;
    font-size: 0.9rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5rem 0 1rem;
    font-size: 0.95rem;
}

th,
td {
    text-align: left;
    vertical-align: top;
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid var(--line);
}

th {
    border-bottom-width: 2px;
}

.ext-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.ext-card img {
    flex: none;
    border-radius: 10px;
}

.ext-card h2 {
    margin: 0 0 0.2rem;
    font-size: 1.25rem;
}

.ext-card p {
    margin: 0 0 0.4rem;
}

footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
}

footer p {
    max-width: 52rem;
    margin: 0 auto;
    padding: 1rem 1.25rem;
}
