html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

[x-cloak] {
    display: none !important;
}

#app {
    min-height: 100vh;
    background: #fff;
}

main#main {
    background: #fff;
}

.termly-display-preferences {
    cursor: pointer;
}

.cookie-consent-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 2147483646;
    width: auto;
    max-width: 46rem;
    margin: 0 auto;
    background: #2f312f;
    color: #fff;
    border-radius: 0.9rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
    .cookie-consent-banner {
        padding: 1.25rem 1.5rem;
    }
}

.block-form .form-shell {
    display: grid;
    gap: 1rem;
}

.block-form .form-shell--inline {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.block-form .form-shell--stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.block-form .field--full {
    grid-column: 1 / -1;
}

.block-form .form-shell input,
.block-form .form-shell textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: #fff;
    color: #2f312f;
    border-radius: 999px;
    padding: 0.95rem 1.25rem;
    font-family: 'Albert Sans', sans-serif;
    font-size: 1rem;
}

.block-form .form-shell textarea {
    min-height: 10rem;
    border-radius: 1.5rem;
    resize: vertical;
}

.block-form .form-shell input::placeholder,
.block-form .form-shell textarea::placeholder {
    color: #637266;
}

.block-form .form-shell button {
    white-space: nowrap;
    border: 0;
    cursor: pointer;
}

@media (max-width: 767px) {
    .block-form .form-shell--inline,
    .block-form .form-shell--stack {
        grid-template-columns: 1fr;
    }
}
