:root {
    --astro-flow-shell-width: 440px;
    --astro-flow-shell-height: 956px;
    --astro-flow-stage-bg: #444444;
    --astro-flow-soft-text: #5b5663;
    --astro-flow-muted-text: #9e9e9e;
}

@font-face {
    font-family: "Oblata Display";
    src:
        local("Oblata Display"),
        local("OblataDisplay"),
        url("../fonts/oblata-display/Oblata-Display-Regular.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    background: #18296c;
}

body.astro-flow-page {
    margin: 0;
    background: var(--astro-flow-stage-bg);
    font-family: "Inter", sans-serif;
}

.astro-flow {
    min-height: 100svh;
    display: grid;
    justify-items: center;
    padding: 0;
}

.astro-flow__shell {
    position: relative;
    width: min(100%, var(--astro-flow-shell-width));
    margin: 0 auto;
    overflow: hidden;
}

.astro-flow__header-art {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

.astro-flow__back {
    position: absolute;
    top: max(62px, calc(env(safe-area-inset-top) + 40px));
    left: 25px;
    z-index: 2;
    display: inline-flex;
}

.astro-flow__back img,
.astro-flow__legal-icon,
.astro-flow__next-icon {
    display: block;
}

.astro-flow__panel {
    position: relative;
    z-index: 1;
}

.astro-flow__legal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    color: var(--astro-flow-muted-text);
    font-size: 12px;
    line-height: 16px;
    text-align: center;
}

.astro-flow__legal a {
    color: inherit;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.astro-flow__icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

@media (min-width: 441px) {
    .astro-flow {
        padding: 0;
    }
}
