* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}


body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.55;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    margin: 0;
    font-family: var(--serif);
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible, button:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 4px;
    border-radius: 10px;
}

.container {
    display: flex;
    flex-direction: column;
    width: min(100%, calc(var(--max) + (var(--pad) * 2)));
    margin: 0 auto;
    padding: 0 var(--pad);
}

.horizontal {
    display: flex;
    flex-direction: row !important;
}

.adaptive {
    display: flex;
    flex-direction: row !important;
    align-items: stretch;
}

.column {
    display: flex;
    flex-direction: column !important;
}

.column.visual {
    flex: 1;
    align-self: stretch;

}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.gap-8 {
    gap: 8px;
}

.gap-12 {
    gap: 12px;
}

.gap-16 {
    gap: 16px;
}

.gap-24 {
    gap: 24px;
}

.gap-32 {
    gap: 32px;
}

.gap-48 {
    gap: 48px;
}

.aspect-ratio-2-3 {
    aspect-ratio: 2 / 3;
}

