:root {
    color-scheme: light dark;
    --text: #22121f;
    --muted: #6e5a69;
    --background: #fff7fa;
    --surface: rgba(255, 255, 255, 0.7);
    --line: #f2dde8;
    --magenta: #e23cff;
    --pink: #fd38a7;
    --orange: #ff8a3d;
    --link: #c2189a;
}

@media (prefers-color-scheme: dark) {
    :root {
        --text: #fbeaf4;
        --muted: #c2a6b8;
        --background: #140a12;
        --surface: rgba(40, 22, 36, 0.7);
        --line: #3a2234;
        --link: #ff8fd0;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a {
    color: var(--link);
}

.page {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 16px;
}

header {
    padding: 24px 0;
}

header a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
    font-size: 19px;
    text-decoration: none;
}

header img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.hero {
    padding: 40px 0 56px;
    text-align: center;
}

.hero h1 {
    margin: 0 auto 20px;
    max-width: 760px;
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--magenta), var(--pink), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    margin: 0 auto 28px;
    max-width: 620px;
    color: var(--muted);
    font-size: 20px;
}

.badge {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--magenta), var(--pink), var(--orange));
    color: #fff;
    font-weight: 600;
}

.requires {
    margin-top: 14px;
    color: var(--muted);
    font-size: 15px;
}

.screen {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 300px;
    margin-bottom: 80px;
    overflow: hidden;
    border-radius: 36px;
    background:
        radial-gradient(circle at 18% 30%, #ff94d8 0, transparent 38%),
        radial-gradient(circle at 80% 20%, #ffb36b 0, transparent 34%),
        radial-gradient(circle at 60% 85%, #ca38ff 0, transparent 40%),
        radial-gradient(circle at 30% 90%, #ff5875 0, transparent 30%),
        linear-gradient(135deg, #ffd1ec, #f3c6ff);
    background-size: 160% 160%, 160% 160%, 160% 160%, 160% 160%, 100% 100%;
    background-repeat: no-repeat;
    animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
    from {
        background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%, 0 0;
    }
    to {
        background-position: 100% 100%, 0% 100%, 0% 0%, 100% 0%, 0 0;
    }
}

.screen::before {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 10%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 88, 160, 0.85), transparent);
    animation: wander 14s ease-in-out infinite alternate;
}

@keyframes wander {
    to {
        transform: translate(min(50vw, 480px), -40px) scale(1.2);
    }
}

.dock {
    --icon: clamp(40px, 10vw, 60px);
    position: relative;
    display: flex;
    overflow: hidden;
    gap: clamp(10px, 3vw, 22px);
    margin-bottom: 40px;
    padding: clamp(12px, 2.5vw, 18px);
    border-radius: 999px;
    background: linear-gradient(rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.12));
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3), 0 20px 50px rgba(160, 30, 120, 0.25);
    -webkit-backdrop-filter: blur(12px) saturate(1.8) brightness(1.05);
    backdrop-filter: blur(12px) saturate(1.8) brightness(1.05);
    animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both;
}

.dock::before,
.dock::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.dock::before {
    background: radial-gradient(120% 100% at 20% -20%, rgba(255, 255, 255, 0.5), transparent 50%);
}

.dock::after {
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.15) 35%, rgba(255, 255, 255, 0.15) 65%, rgba(255, 255, 255, 0.75));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.dock i {
    display: grid;
    place-items: center;
    width: var(--icon);
    height: var(--icon);
    border-radius: 50%;
    background: #ffd8ec;
}

.dock svg {
    width: 50%;
    height: 50%;
    fill: #7b2958;
}

@media (prefers-color-scheme: dark) {
    .dock i {
        background: #3b2f35;
    }

    .dock svg {
        fill: #ffd8ec;
    }
}


@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-bottom: 80px;
}

.feature {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
}

.feature h2 {
    margin: 0 0 8px;
    font-size: 21px;
}

.feature p {
    margin: 0;
    color: var(--muted);
}

footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 28px 0 48px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 15px;
}

footer a {
    color: var(--muted);
}

footer .by {
    margin-left: auto;
}

.doc {
    max-width: 720px;
    padding-bottom: 64px;
}

.doc h1 {
    margin: 16px 0 4px;
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.doc h2 {
    margin-top: 2em;
    font-size: 21px;
}

.doc .updated {
    color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
    .screen,
    .screen::before,
    .dock {
        animation: none;
    }
}

@media (max-width: 760px) {
    .screen {
        height: 220px;
        border-radius: 28px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    footer .by {
        margin-left: 0;
    }
}
