.welcome-page {
    --w-ink-strong: rgba(0, 0, 0, 0.85);
    --w-ink-outline: rgba(0, 0, 0, 0.65);
    --w-shadow: 7px 7px 0 rgba(0, 0, 0, 0.22);
    --w-shadow-hover: 10px 10px 0 rgba(0, 0, 0, 0.22);
    --w-grad-top: color-mix(in srgb, var(--text-section-bg) 65%, #ffb376);
    --w-grad-bot: color-mix(in srgb, var(--text-section-bg) 68%, #f7d794);
    background:
        radial-gradient(900px 520px at 85% 10%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 70%),
        radial-gradient(780px 520px at 10% 92%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 65%),
        linear-gradient(to bottom, var(--w-grad-top), var(--w-grad-bot));
}

.welcome-page .welcome-gradient {
    background: linear-gradient(to bottom, var(--w-grad-top), var(--w-grad-bot));
}

/* Improve separation for dark title bands. */
.welcome-page .hero.is-dark {
    background: rgba(31, 31, 31, 0.98);
    border-top: 2px solid rgba(0, 0, 0, 0.22);
    border-bottom: 2px solid rgba(0, 0, 0, 0.22);
}

.welcome-page .hero.is-dark .title {
    letter-spacing: -0.02em;
}

#welcome-hero-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    margin-bottom: 1rem;
    padding: 0.45rem 0.85rem;
    border: 2px solid rgba(0, 0, 0, 0.75);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 244, 222, 0.95) 0%, rgba(255, 225, 185, 0.95) 100%);
    color: #1f1300;
    font-weight: 900;
    font-size: 0.9rem;
    line-height: 1.2;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.14);
}

#welcome-hero-title {
    margin-bottom: 1rem;
    color: #1f1300;
    font-size: clamp(2.2rem, 4vw, 3.45rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

#welcome-hero-actions-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-start-link.button.is-dark {
    min-width: 240px;
    min-height: 3.4rem;
    padding: 0.85rem 1.5rem;
    border: 2px solid #000000;
    border-radius: 14px;
    box-shadow: 5px 5px 0 #000000;
    font-weight: 900;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.welcome-start-link.button.is-dark:hover {
    transform: translateY(-3px);
    box-shadow: 8px 8px 0 #000000;
}

.welcome-start-link.button.is-dark:active {
    transform: translateY(0);
    box-shadow: 3px 3px 0 #000000;
}

.welcome-start-link.button.is-dark:focus-visible {
    outline: 3px solid var(--w-ink-outline);
    outline-offset: 3px;
}

.welcome-page .card {
    height: 100%;
    overflow: hidden;
    border: 2px solid rgba(0, 0, 0, 0.75);
    border-radius: 18px;
    box-shadow: var(--w-shadow);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 100%);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.welcome-page .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--w-shadow-hover);
}

.welcome-page .card-header {
    background: linear-gradient(180deg, rgba(255, 241, 219, 0.92) 0%, rgba(255, 232, 200, 0.92) 100%);
    border-bottom: 2px solid rgba(0, 0, 0, 0.75);
}

.welcome-page .card-header-title {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 4.55rem;
    padding: 1rem 1.15rem;
    color: #1f1300;
    font-weight: 900;
    font-size: 1.02rem;
    line-height: 1.35;
}

.welcome-page .card-content {
    padding: 1.15rem 1.2rem 1.25rem;
}

.welcome-page .card-content p {
    margin: 0;
    color: rgba(31, 19, 0, 0.78);
    line-height: 1.75;
}

.welcome-page .card-content strong,
.welcome-page .card-content b {
    color: #1f1300;
    font-weight: 900;
}

@media screen and (max-width: 768px) {
    .welcome-start-link.button.is-dark {
        min-width: 100%;
    }
}

.fa-hand-pointer { color: #d76600; }
.fa-book-open { color: #2868b1; }
.fa-tasks, .fa-trophy, .fa-briefcase { color: #309215; }
.fa-clock { color: #c0392b; }
.fa-laptop { color: #2980b9; }
.fa-list-alt { color: #d9a300; }
.task-star { color: #efb810; }

.section-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .welcome-start-link.button.is-dark,
    .welcome-page .card,
    .section-animate {
        transition: none !important;
    }

    .welcome-page .card:hover,
    .welcome-start-link.button.is-dark:hover {
        transform: none !important;
        box-shadow: inherit;
    }
}
