:root {
    color-scheme: dark;
}

html {
    scroll-behavior: smooth;
    background: #0a192f;
}

body {
    min-width: 320px;
    margin: 0;
}

[hidden] {
    display: none !important;
}

::selection {
    background: #64ffda;
    color: #0a192f;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: #64ffda;
    color: #0a192f;
    font-weight: 700;
    transform: translateY(-150%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.hero-section::before {
    position: absolute;
    inset: 0;
    content: '';
    background:
        radial-gradient(circle at 20% 10%, rgb(100 255 218 / 12%), transparent 34%),
        radial-gradient(circle at 80% 35%, rgb(72 202 228 / 10%), transparent 30%),
        linear-gradient(to bottom, rgb(17 34 64 / 76%), transparent 85%);
    border-radius: 0 0 3rem 3rem;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgb(100 255 218 / 18%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(100 255 218 / 18%) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.surface-card {
    border: 1px solid #233554;
    background: #112240;
}

.product-card {
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.product-card:hover {
    border-color: rgb(100 255 218 / 42%);
    box-shadow: 0 24px 60px -24px rgb(2 12 27 / 95%);
    transform: translateY(-0.35rem);
}

.text-gradient {
    color: #64ffda;
    background: linear-gradient(90deg, #64ffda, #41e4c0 48%, #58d6f1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.filter-chip {
    padding: 0.625rem 1.125rem;
    border: 1px solid #495670;
    border-radius: 9999px;
    background: #233554;
    color: #e4e2e4;
    font-size: 0.875rem;
    font-weight: 600;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.filter-chip:hover,
.filter-chip:focus-visible {
    border-color: #64ffda;
    color: #64ffda;
    outline: none;
}

.filter-chip[aria-pressed='true'] {
    border-color: #64ffda;
    background: rgb(100 255 218 / 12%);
    color: #64ffda;
}

.product-primary-button,
.product-secondary-button {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.product-primary-button {
    border: 1px solid #64ffda;
    background: #64ffda;
    color: #0a192f;
}

.product-primary-button:hover {
    border-color: #41e4c0;
    background: #41e4c0;
}

.product-secondary-button {
    border: 1px solid #41e4c0;
    background: transparent;
    color: #41e4c0;
}

.product-secondary-button:hover {
    background: rgb(65 228 192 / 10%);
}

.product-primary-button:focus-visible,
.product-secondary-button:focus-visible {
    outline: 3px solid rgb(100 255 218 / 30%);
    outline-offset: 2px;
}

.planner-cover {
    background:
        linear-gradient(135deg, rgb(100 255 218 / 8%), transparent 55%),
        repeating-linear-gradient(135deg, #233554 0, #233554 12px, #1b2d4b 12px, #1b2d4b 24px);
}

.filled-icon {
    font-variation-settings: 'FILL' 1;
}

.benefit-icon {
    display: inline-flex;
    width: 4rem;
    height: 4rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(100 255 218 / 22%);
    border-radius: 9999px;
    background: rgb(100 255 218 / 10%);
    color: #64ffda;
    font-size: 1.875rem;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
