/* Landing page - Myelink "technical print" language.
   Cream paper hero, numbered feature cards, inverted dark grid process. */

.landing-page .content {
    padding: 0;
}

.landing-page {
    background: var(--bg);
    color: var(--fg);
}

/* Shared section motifs */
.section-kicker {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-kicker--on-dark {
    color: var(--accent-on-dark);
}

.section-title {
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-wrap: balance;
    max-width: 22ch;
    margin: 0 0 2.5rem;
}

/* Hero */
.hero-section {
    padding: 88px clamp(20px, 4vw, 48px) 88px;
}

.hero-content {
    max-width: 1180px;
    margin: 0 auto;
    animation: hero-rise 0.7s ease both;
}

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1 {
    font-size: clamp(44px, 6vw, 76px);
    font-weight: 500;
    color: var(--fg);
    margin-bottom: 1.5rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-wrap: balance;
    max-width: 16ch;
}

.hero-description {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 55ch;
    text-wrap: pretty;
}

/* CTA buttons: square, one solid accent, one hairline outline */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    font-family: inherit;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.cta-primary {
    background-color: var(--accent);
    color: #ffffff;
    border: 0.5px solid var(--accent);
}

.cta-primary:hover {
    background-color: var(--fg);
    border-color: var(--fg);
    color: #ffffff;
    text-decoration: none;
}

.cta-secondary {
    background-color: transparent;
    color: var(--fg);
    border: 0.5px solid var(--line-strong);
}

.cta-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: transparent;
    text-decoration: none;
}

/* Features: numbered white cards on deeper paper */
.features-section {
    background-color: var(--bg-alt);
    border-top: 0.5px solid var(--line);
    border-bottom: 0.5px solid var(--line);
    padding: 88px clamp(20px, 4vw, 48px);
}

.features-container {
    max-width: 1180px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.feature-card {
    text-align: left;
    background: var(--card);
    border: 0.5px solid var(--line-strong);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 160ms ease;
}

.feature-card:hover {
    border-color: var(--accent);
}

.feature-index {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    margin: 0;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--fg);
    margin: 0;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 14.5px;
    margin: 0;
}

/* How it works: inverted dark grid section (blueprint look) */
.how-it-works-section {
    background-color: var(--dark-bg);
    color: var(--dark-fg);
    padding: 88px clamp(20px, 4vw, 48px);
}

.how-it-works-container {
    max-width: 1180px;
    margin: 0 auto;
    text-align: left;
}

.how-it-works-section .section-title {
    color: var(--dark-fg);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1px;
    background: var(--dark-line);
    border: 1px solid var(--dark-line);
}

.step {
    background-color: var(--dark-bg);
    padding: 32px 28px;
    text-align: left;
    transition: background-color 160ms ease;
}

.step:hover {
    background-color: var(--dark-bg-hover);
}

.step-number {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-on-dark);
    margin: 0 0 1rem;
}

.step h4 {
    font-size: 18px;
    font-weight: 500;
    color: var(--dark-fg);
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--dark-muted);
    line-height: 1.6;
    font-size: 14.5px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-content {
        animation: none;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section,
    .features-section,
    .how-it-works-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 320px;
    }

    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
}
