/* 1588 local foundation: no remote imports, fonts, or stylesheet dependencies. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--1588-bg-page);
    color: var(--1588-text);
    font-family: var(--1588-font-body);
    font-size: var(--1588-font-size-md);
    line-height: var(--1588-line-height-body);
    text-size-adjust: 100%;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background: var(--1588-bg-page);
    color: var(--1588-text);
    -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
[role="button"] {
    cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    cursor: not-allowed;
}

a {
    color: var(--1588-info);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

:focus-visible {
    outline: 3px solid var(--1588-focus-ring);
    outline-offset: 2px;
}

::selection {
    background: var(--1588-color-brand-blue);
    color: var(--1588-text-inverse);
}

.c1588-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.c1588-container {
    width: min(100% - (2 * var(--1588-page-gutter)), var(--1588-content-max-width));
    margin-inline: auto;
}

.c1588-page {
    min-height: calc(100vh - var(--1588-header-height));
    padding-block: var(--1588-space-6);
}

.c1588-stack {
    display: flex;
    flex-direction: column;
    gap: var(--1588-space-4);
}

.c1588-grid {
    display: grid;
    gap: var(--1588-space-4);
}

.c1588-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 767px) {
    .c1588-container {
        width: min(100% - (2 * var(--1588-page-gutter)), var(--1588-content-max-width));
    }

    .c1588-page {
        padding-block: var(--1588-space-4);
    }

    .c1588-grid--2 {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
