:root {
    --navy: #0F172A;
    --magenta: #D946EF;
    --pink: #E11D48;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(217, 70, 239, .22);
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: -5rem;
    z-index: 100;
    border: 2px solid var(--navy);
    border-radius: .8rem;
    background: white;
    padding: .8rem 1rem;
    font-weight: 800;
    box-shadow: 3px 3px 0 var(--navy);
    transition: top .2s ease;
}

.skip-link:focus {
    top: 1rem;
}

.nav-link,
.mobile-nav-link,
button,
a {
    -webkit-tap-highlight-color: transparent;
}

.grid-pattern {
    background-image:
        linear-gradient(rgba(15, 23, 42, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .055) 1px, transparent 1px);
    background-size: 28px 28px;
}

.neo-card {
    border: 2px solid var(--navy);
    box-shadow: 5px 5px 0 var(--navy);
}

.neo-card-sm {
    border: 2px solid var(--navy);
    box-shadow: 3px 3px 0 var(--navy);
}

.blob {
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
}

.floaty {
    animation: floaty 5s ease-in-out infinite;
}

.floaty-slow {
    animation: floaty 7s ease-in-out infinite -1s;
}

.wiggle {
    animation: wiggle 2.4s ease-in-out infinite;
}

@keyframes floaty {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

.sticker {
    transition: transform .2s ease, box-shadow .2s ease;
}

.sticker:hover {
    transform: rotate(0deg) scale(1.04);
}

.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}

.accordion-content > div {
    overflow: hidden;
}

.accordion-item.is-open .accordion-content {
    grid-template-rows: 1fr;
}

.accordion-item.is-open .accordion-chevron {
    transform: rotate(180deg);
}

.theme-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.theme-card:hover,
.theme-card.is-active {
    transform: translateY(-5px) rotate(-1deg);
    box-shadow: 6px 6px 0 var(--navy);
}

.form-input {
    width: 100%;
    border: 2px solid var(--navy);
    border-radius: 1rem;
    background: #f8fafc;
    padding: .9rem 1rem;
    outline: none;
    transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.form-input:focus {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(217, 70, 239, .16);
}

.form-input.input-error {
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(225, 29, 72, .1);
}

.flash-message {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border: 2px solid var(--navy);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    box-shadow: 4px 4px 0 var(--navy);
}

.flash-success {
    background: #ecfdf5;
}

.flash-error {
    background: #fff1f2;
}

.flash-close {
    flex: 0 0 auto;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 700;
}

.honeypot {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.marquee-track {
    display: flex;
    min-width: max-content;
    animation: marquee 22s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
