:root {
    scrollbar-gutter: stable;
    --brand-light: #0099ab;
    --brand-medium: #006792;
    --brand-dark: #044E68;
    --text-main: #212529;
    --border-subtle: #e5e7eb;
    --bg-soft: rgba(255, 255, 255, .85);
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
}

/* Landing mode pushes header down */
body.landing .search-header {
    padding-top: 5vh;
    /* ~top third of screen */
    padding-bottom: 5vh;
}

body.landing .search-header .logo {
    margin-bottom: 8rem;
    /* more space before search bar */
}

/* Shrink header + logo when results are visible */
body.has-results .search-header {
    padding: 1rem;
}

body.has-results .search-header .logo {
    width: 60px;
    height: 60px;
}

header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1030;
}

main {
    flex: 1;
    padding: 1rem;
    opacity: var(--state-results);
    transition: opacity .3s ease;
}

footer {
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    padding: .75rem;
    font-size: .875rem;
    color: #6b7280;
}



.btn-primary,
.btn-outline-primary {
    --btn: var(--brand-light);
    border-color: var(--btn);
}

.btn-primary {
    background: var(--btn);
    color: #fff;
}

.btn-primary:hover {
    background: #044e68;
    border-color: #044e68;
}

.btn-outline-primary {
    color: var(--btn);
}

.btn-outline-primary:hover {
    background: var(--btn);
    color: #fff;
}

.btn-icon {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    padding: 0;
}


.icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -0.125em;
}

.icon-2x {
    width: 1.25em;
    height: 1.25em;
}

.icon-3x {
    width: 1.5em;
    height: 1.5em;
}

.icon-4x {
    width: 1.75em;
    height: 1.75em;
}

.icon-5x {
    width: 2em;
    height: 2em;
}

.icon-6x {
    width: 2.5em;
    height: 2.5em;
}

.icon-blue {
    color: rgba(13, 110, 253, 0.85);
}


.record-footer-btn {
    color: #D1D5DB;
}

.record-footer-btn.active {
    border: none;
}

.record-footer-btn.active i {
    color: var(--brand-light);
}


@media (min-width: 768px) {
    main {
        padding: 2rem;
    }
}