/* ======================================================
   Home page (loaded directly from views/home/index.php)
====================================================== */

.home-page {
    background:
        radial-gradient(circle at 12% 0%, rgba(91, 76, 240, .12), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(37, 99, 235, .08), transparent 28%),
        var(--bg);
}

.home-hero {
    padding: 4.5rem 0 3rem;
    text-align: center;
}

.home-hero h1 {
    margin: 0 0 .65rem;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
}

.home-hero-lead {
    margin: 0 0 1.75rem;
    font-size: 1.2rem;
    color: var(--muted);
}

.home-page .actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .65rem .35rem;
}

.home-page .actions-sep {
    color: var(--muted);
    font-weight: 700;
}

.home-page .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .7rem 1.35rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(91, 76, 240, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-page .button:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(91, 76, 240, .28);
}

.home-page .button-secondary {
    background: #fff;
    color: var(--primary);
    border: 1px solid rgba(91, 76, 240, .22);
    box-shadow: 0 8px 20px rgba(35, 43, 72, .06);
}

.home-page .button-secondary:hover {
    color: var(--primary-dark);
    background: var(--primary-soft);
}

.home-about {
    padding: 0 0 4.5rem;
}

.home-about-inner {
    max-width: 860px;
    margin-inline: auto;
    padding: 2.25rem 1.5rem 2.75rem;
    border: 1px solid rgba(231, 234, 240, .95);
    border-radius: 28px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 50px rgba(35, 43, 72, .07);
    line-height: 1.8;
}

.home-about-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}

.home-about-header h2,
.home-about-section h3 {
    margin: 0 0 .85rem;
    font-weight: 800;
    color: var(--ink);
}

.home-about-header h2 {
    font-size: clamp(1.55rem, 2.4vw, 2rem);
}

.home-about-section h3 {
    font-size: 1.25rem;
}

.home-about-header p,
.home-about-section p,
.home-about-section li {
    color: #3d475a;
}

.home-about-section {
    margin-bottom: 2rem;
}

.home-about-section:last-child {
    margin-bottom: 0;
}

.home-about-section ul,
.home-about-section ol {
    margin: 0;
    padding-inline-start: 1.25rem;
}

.home-about-section li + li {
    margin-top: .7rem;
}

.home-steps {
    list-style: none;
    padding: 0;
    counter-reset: home-step;
}

.home-steps li {
    position: relative;
    margin-top: .85rem;
    padding: 1rem 1.1rem;
    padding-inline-start: 3.4rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fafbfe;
}

.home-steps li:first-child {
    margin-top: 0;
}

.home-steps li::before {
    counter-increment: home-step;
    content: counter(home-step);
    position: absolute;
    top: 1rem;
    inset-inline-start: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: .9rem;
    font-weight: 800;
}

.home-about-closing {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
    text-align: center;
}

.home-about-closing .actions {
    margin-top: 1.25rem;
}

@media (max-width: 767.98px) {
    .home-hero {
        padding: 3rem 0 2rem;
    }

    .home-about-inner {
        padding: 1.5rem 1.1rem 2rem;
        border-radius: 22px;
    }

    .home-page .actions {
        flex-direction: column;
    }

    .home-page .actions-sep {
        display: none;
    }

    .home-page .button {
        width: min(100%, 280px);
    }
}
