@font-face {
    font-family: 'Virgil';
    src: url('https://excalidraw.com/Virgil.woff2') format('woff2');
    font-display: swap;
}

.home-page-main {
    padding: 0;
}

/* ── Hero ── */
.home-hero {
    background: linear-gradient(160deg, #e6f7f5 0%, var(--bg-body) 60%);
    padding: 2.5rem 2rem 2rem;
}

.home-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.home-hero-text {
    flex: 1 1 400px;
    min-width: 0;
}

.home-hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.home-hero-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a2e;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.home-hero-subhead {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 480px;
}

.home-hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1rem;
}

.btn-hero {
    padding: 0.75rem 1.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 0.375rem;
}

.home-no-account {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

.home-hero-visual {
    flex: 0 0 auto;
    width: 460px;
    max-width: 100%;
}

/* ── Canvas illustration ── */
.canvas-mockup {
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.canvas-mockup-toolbar {
    background: #2d2d3a;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toolbar-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #555;
}

.toolbar-title {
    color: #aaa;
    font-size: 0.75rem;
    margin-left: auto;
    font-family: monospace;
}

.canvas-mockup svg {
    display: block;
    width: 100%;
}

/* ── Social proof ── */
.home-social {
    background: white;
    border-bottom: 1px solid #e9ecef;
    padding: 0.9rem 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
}

/* ── Features ── */
.home-features {
    padding: 2.5rem 2rem;
    background: white;
}

.home-features-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.home-features h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1.75rem;
}

.home-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.home-feature-card {
    padding: 1.25rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background: #f5faf9;
}

.home-feature-icon {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    line-height: 1;
}

.home-feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.home-feature-card p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ── Pricing ── */
.home-pricing {
    padding: 2.5rem 2rem;
    background: var(--bg-body);
}

.home-pricing-inner {
    max-width: 960px;
    margin: 0 auto;
}

.home-pricing h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.home-pricing-intro {
    text-align: center;
    color: #6c757d;
    margin-bottom: 1.75rem;
}

.home-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.pricing-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.pricing-card-featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.15);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

.pricing-amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.pricing-amount span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #6c757d;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.pricing-card ul li {
    font-size: 0.9rem;
    color: #4a5568;
    padding: 0.3rem 0;
    padding-left: 1.4rem;
    position: relative;
    margin: 0;
}

.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 700;
}

.pricing-card .btn {
    text-align: center;
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .home-hero-inner {
        flex-direction: column;
        gap: 1.5rem;
    }

    .home-hero-visual {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .home-hero-text h1 {
        font-size: 2rem;
    }

    .home-features-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 600px) {
    .home-hero {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .home-hero-text {
        flex: none;
        width: 100%;
    }

    .home-hero-text h1 {
        font-size: 1.75rem;
    }

    .home-hero-subhead {
        font-size: 1rem;
    }

    .home-features,
    .home-pricing {
        padding: 1.75rem 1.25rem;
    }

    .home-pricing-grid {
        grid-template-columns: 1fr;
    }
}
