:root {
    color-scheme: light;
    font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
    color: #102943;
    background: #fffcf8;
    line-height: 1.6;
}

* { box-sizing: border-box; }

body { margin: 0; }

a { color: #007e80; }

a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid #9a6a35;
    outline-offset: 3px;
}

.site-header, footer, .content {
    width: min(100% - 2rem, 72rem);
    margin-inline: auto;
}

.site-header, footer {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-block: 1.25rem;
}

.site-header { justify-content: flex-end; }
.brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-right: auto;
    color: #102943;
    font-size: 1.25rem;
    font-weight: 750;
    text-decoration: none;
}
.brand img { width: 2.15rem; height: 2.15rem; }
.site-header > a:not(.brand) { color: #526172; font-size: .95rem; font-weight: 650; text-decoration: none; }
.site-header > a:not(.brand):hover { color: #007e80; text-decoration: underline; }

.hero, .panel, .legal {
    background: #fff;
    border: 1px solid #dfe8eb;
    border-radius: 1.75rem;
    box-shadow: 0 .5rem 1.5rem #1029430d;
}

.hero {
    position: relative;
    overflow: hidden;
    margin-block: 2.25rem 1.5rem;
    padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1.5rem, 7vw, 7rem);
    text-align: center;
    background: linear-gradient(180deg, #fff, #f4fcfb);
}
.hero::after {
    position: absolute;
    right: 12%;
    bottom: 0;
    left: 12%;
    height: .35rem;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #d8f4f100, #007e8040, #dcecfb00);
    content: "";
}
.hero > * { position: relative; z-index: 1; }
.hero h1, .panel h1, .legal h1, .panel h2, .legal h2 {
    font-family: inherit;
    font-weight: 700;
}
.hero h1 { max-width: 18ch; margin: .75rem auto 0; font-size: clamp(2.7rem, 7vw, 5.25rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { color: #007e80; }
.hero p { max-width: 43rem; margin-inline: auto; font-size: 1.12rem; }
.beta-chip {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: .4rem;
    margin: 0 auto 1.2em;
    padding: .38rem .72rem;
    border-radius: 999px;
    background: #dcecfb;
    color: #103a58;
    font-size: .84rem;
    font-weight: 600;
}
.beta-chip::before { width: .5rem; height: .5rem; border-radius: 50%; background: #286c9b; content: ""; }
.panel, .legal { padding: clamp(1.5rem, 4vw, 2.5rem); margin-block: 1.5rem; }
.panel { border-radius: 1.25rem; }
.panel h2, .legal h2 { margin-top: 1.8rem; color: #102943; }
.panel h2:first-child, .legal h1:first-child { margin-top: 0; }
.legal h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.035em; }
.legal h2 { font-size: 1.45rem; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    margin-top: .5rem;
    padding: .75rem 1rem;
    border: 0;
    border-radius: 999px;
    background: #102943;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
}
.button[disabled] { background: #dcecfb; border: 1px solid #286c9b; color: #102943; cursor: default; opacity: 1; }
.button[aria-disabled="true"] { cursor: default; }
.button:not([disabled]):not([aria-disabled="true"]):hover { background: #007e80; }
.button-play { min-width: min(100%, 18rem); margin-top: 1.1rem; padding-inline: 1.35rem; }

label { display: block; color: #102943; font-weight: 750; }
input { width: 100%; margin-top: .35rem; padding: .85rem 1rem; border: 1px solid #72818f; border-radius: .9rem; background: #fff; color: #102943; font: inherit; }
.hint, .status { margin-top: 1rem; color: #526172; }
.status[hidden] { display: none; }
footer { padding-bottom: 2rem; color: #526172; font-size: .9rem; }
footer a { color: inherit; }
code { overflow-wrap: anywhere; }

@media (max-width: 32rem) {
    .site-header { flex-wrap: wrap; }
    .brand { width: 100%; }
    .site-header, footer { gap: .8rem; }
    .hero { margin-top: 1.25rem; }
}
