@font-face {
    font-family: 'Inter';
    src: url('Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-display: swap;
    font-weight: 400 900;
}

:root {
    --purple-primary: #5B2ECC;
    --purple-deep: #3E1A8C;
    --purple-soft: #8B6CF0;
    --purple-lavender: #E6DEFF;

    --white: #FFFFFF;
    --grey-light: #F5F6FA;
    --grey-soft: #D1D5DB;
    --grey-mid: #7A818D;
    --charcoal: #1F2937;

    --accent-mint: #4FE3C1;
    --accent-coral: #FF6B6B;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: var(--grey-light);
    color: var(--charcoal);
    font-family: system-ui, -apple-system, 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    overflow-y: scroll;
}

hr {
    border: none;
    height: 1px;
    background-color: var(--grey-soft);
    margin: 2rem 0;
}

span.em {
    font-weight: bold;
}

a {
    color: var(--grey-mid);
}

header {
    background: linear-gradient(135deg, var(--purple-deep), var(--purple-primary), var(--purple-soft));
    color: var(--white);
}

.container {
    max-width: 1100px;
    padding: 1.5rem;
    margin: 0 auto;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    gap: 0.75rem;
    height: 40px;
}

.hero {
    padding: 4rem 0 3rem;
    text-align: center;
}

.hero p {
    max-width: 650px;
    margin: 0 auto 2rem;
    color: #F0ECFF;
    font-size: 1.1rem;
}

.hero p.hero__heading {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta {
    display: inline-block;
    background-color: var(--white);
    color: var(--purple-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
}

main {
    padding: 3rem 0;
}

section {
    margin-bottom: 3rem;
}

section h1 {
    font-size: 1.75rem;
    margin: 1rem 0 1.5rem 0;
}

section h2 {
    font-size: 1.5rem;
    margin: 1rem 0 1.5rem 0;
}

section h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 1rem 0;
}

section h4 {
    font-size: 1rem;
    font-weight: bold;
    margin: 1rem 0;
}

section p,
section ul {
    margin: 1rem 0 1.25rem 0;
}

section ul {
    padding-left: 2rem;
}

section ul li {
    margin: 0.25rem 0;
}

section.features h1 {
    text-align: center;
}

.features__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.features__card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.features__card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--purple-primary);
}

.features__card p {
    margin: 0;
    color: var(--grey-mid);
}

footer {
    background-color: var(--purple-deep);
    color: var(--purple-lavender);
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.9rem;

    a {
        color: inherit;
    }
}

@media (max-width: 650px) {
    .hero {
        padding: 3rem 0 2.5rem;
    }

    .hero p {
        padding: 0 1rem;
    }

    nav {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/** Cookie consent **/
#cookie-consent {
    position: fixed;
    bottom: 16px;
    right: 16px;
    max-width: 60%;
    padding: 14px 16px;
    background: var(--white);
    color: var(--charcoal);
    font-size: 14px;
    line-height: 1.4;
    border-radius: 6px;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
    align-items: center;
    gap: 12px;
}

#cookie-consent span {
    flex: 1;
    margin-right: 10px;
}

#cookie-consent .cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#cookie-consent button {
    padding: 12px 24px;
    border: none;
    background: var(--purple-deep);
    color: var(--white);
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
}

#cookie-consent button#cookie-reject {
    background: var(--purple-deep);
}

#cookie-consent button:focus {
    outline: 2px solid var(--white);
}

@media (max-width: 600px) {
    #cookie-consent {
        left: 0;
        right: 0;
        bottom: 0;
        max-width: none;
        border-radius: 0;

        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #cookie-consent span {
        margin-bottom: 10px;
        margin-right: 0;
    }
}