@font-face {
    font-family: Anybody;
    src: url('/fonts/anybody-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    color-scheme: light;
    --background: #fff1f5;
    --halo: #f6abc5;
    --ink: #402037;
}
:root[data-theme='dark'] {
    color-scheme: dark;
    --background: #21131f;
    --halo: #99345f;
    --ink: #ffe8f1;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: var(--background);
    transition: background-color 1s;
}
.brand {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 24px 0;
    color: var(--ink);
}
.brand-mark {
    width: 64px;
    height: 64px;
}
.wordmark {
    font-family: Anybody, Arial, sans-serif;
    font-size: 22px;
    font-weight: 850;
    letter-spacing: 0.16em;
    padding-left: 0.16em;
}
.field {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.heart-stage {
    position: relative;
    display: grid;
    place-items: center;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    isolation: isolate;
}
.painted-heart {
    width: min(68vw, 65svh, 680px);
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 24px #ac396523);
    transform: rotate(-9deg);
    animation: heart-float 9s ease-in-out infinite;
    will-change: transform;
}
.heart-halo {
    position: absolute;
    width: min(85vw, 85svh, 800px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, var(--halo), transparent 69%);
    opacity: 0.4;
    z-index: -1;
}
@keyframes heart-float {
    0%,
    100% {
        transform: translateY(0) rotate(-9deg);
    }
    50% {
        transform: translateY(-12px) rotate(-6deg);
    }
}
@media (max-width: 650px) {
    .painted-heart {
        width: min(78vw, 65svh);
    }
}
@media (prefers-reduced-motion: reduce) {
    body {
        transition: none;
    }
    .painted-heart {
        animation: none;
        will-change: auto;
    }
}
html[data-paused] .painted-heart {
    animation-play-state: paused;
}
