.landing-hero {
    background: linear-gradient(120deg, #4f46e5, #7c3aed);
    color: #fff;
    padding: 4rem 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.landing-wrap {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.landing-kicker {
    opacity: .9;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .8rem;
}

.landing-hero h1 {
    max-width: 720px;
    font-size: clamp(2.15rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.landing-lead {
    font-size: 1.1rem;
    opacity: .95;
    max-width: 650px;
}

.landing-text-xs { font-size: .75em; }
.landing-text-sm { font-size: .875em; }
.landing-text-lg { font-size: 1.125em; }
.landing-text-xl { font-size: 1.25em; }
.landing-text-2xl { font-size: 1.5em; }

.landing-actions {
    display: flex;
    gap: .75rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.landing-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1rem;
    padding: 0;
    margin: 1.25rem 0 0;
    list-style: none;
    font-size: .92rem;
}

.landing-hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.landing-hero-trust i {
    color: #c4b5fd;
}

.landing-preview {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

.landing-hero-visual {
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 20px 50px rgba(30, 27, 75, .28);
}

.landing-hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}

.landing-hero-visual figcaption {
    padding: 1rem 1.15rem;
}

.landing-hero-visual figcaption ul {
    display: grid;
    gap: .25rem;
    padding-left: 1.15rem;
    margin: .55rem 0 0;
    font-size: .88rem;
}

.landing-section {
    max-width: 1120px;
    margin: 0 auto 2rem;
}

.landing-section-heading {
    max-width: 720px;
    margin-bottom: 1.75rem;
}

.landing-section-heading h2,
.landing-tools-heading h2 {
    margin-bottom: .55rem;
}

.landing-section-heading > p:last-child,
.landing-tools-heading > p:last-child {
    color: var(--app-text-muted, #6c757d);
}

.landing-eyebrow {
    color: #6d28d9;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    margin-bottom: .45rem;
    text-transform: uppercase;
}

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

.landing-card {
    color: var(--app-text);
    border: 1px solid var(--app-border);
    border-radius: .9rem;
    padding: 1.35rem;
    background-color: var(--app-surface);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.landing-step-number {
    display: block;
    color: #7c3aed;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: .8rem;
}

.landing-feature-icon {
    display: inline-block;
    font-size: 1.35rem;
    line-height: 1;
}

.landing-card h3 {
    font-size: 1.05rem;
    margin-top: .6rem;
}

.landing-cta {
    color: var(--app-text);
    background-color: var(--app-surface-muted);
    border: 1px solid var(--app-border);
    border-radius: 1rem;
    padding: 3rem 2rem;
    margin: 0 auto 2rem;
    max-width: 1120px;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.landing-cta .btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
}

.landing-cta .btn-primary:hover,
.landing-cta .btn-primary:focus {
    background-color: #004494;
    border-color: #003b80;
}

.memory-story-showcase {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr);
    gap: 2.5rem;
    align-items: center;
    padding: 2.5rem;
    border-radius: 1.25rem;
    background: linear-gradient(145deg, var(--app-surface-muted), var(--app-surface));
    border: 1px solid var(--app-border);
}

.memory-paths {
    padding: 2.75rem;
    border: 1px solid var(--app-border);
    border-radius: 1.25rem;
    background: var(--app-surface);
}

.memory-paths-heading {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
}

.memory-paths-heading h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: .8rem;
}

.memory-paths-heading > p:last-child {
    color: var(--app-text-muted, #6c757d);
    margin-bottom: 0;
}

.memory-paths-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 920px;
    margin: 0 auto;
}

.memory-paths-grid::before {
    content: '';
    position: absolute;
    top: -.9rem;
    left: 25%;
    right: 25%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #a78bfa 20%, #a78bfa 80%, transparent);
}

.memory-path-card {
    position: relative;
    padding: 1.75rem;
    border: 1px solid var(--app-border);
    border-radius: 1rem;
    background: linear-gradient(145deg, var(--app-surface), var(--app-surface-muted));
}

.memory-path-card::before {
    content: '';
    position: absolute;
    top: -.9rem;
    left: 50%;
    width: 1px;
    height: .9rem;
    background: #a78bfa;
}

.memory-path-icon {
    display: inline-grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    color: #6d28d9;
    font-size: 1.3rem;
    border-radius: .8rem;
    background: rgba(124, 58, 237, .1);
}

.memory-path-card h3 {
    margin: 1rem 0 .65rem;
}

.memory-path-card p {
    color: var(--app-text-muted, #6c757d);
    margin-bottom: 0;
}

.memory-paths-note {
    display: flex;
    justify-content: center;
    gap: .5rem;
    align-items: center;
    margin: 1.5rem 0 0;
    color: var(--app-text-muted, #6c757d);
    font-size: .92rem;
    text-align: center;
}

.memory-paths-note i {
    color: #7c3aed;
}

.memory-story-copy h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.memory-story-copy p:last-child {
    color: var(--app-text-muted, #6c757d);
    margin-bottom: 0;
}

.memory-video-card {
    overflow: hidden;
    padding: .55rem;
    border: 1px solid var(--app-border);
    border-radius: 1rem;
    background: #111827;
    box-shadow: 0 18px 45px rgba(31, 41, 55, .18);
}

.memory-video-card video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: .65rem;
    background: #0f172a;
}

.memory-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.memory-trust-item {
    padding: 1.25rem;
    border-left: 3px solid #7c3aed;
}

.memory-trust-item i {
    color: #7c3aed;
    font-size: 1.25rem;
}

.memory-trust-item strong,
.memory-trust-item span {
    display: block;
}

.memory-trust-item strong {
    margin: .65rem 0 .35rem;
}

.memory-trust-item span {
    color: var(--app-text-muted, #6c757d);
    font-size: .94rem;
}

.landing-tools {
    border: 1px solid var(--app-border);
    border-radius: 1rem;
    padding: 2rem;
    background: linear-gradient(145deg, var(--app-surface), var(--app-surface-muted));
}

.landing-tools-heading p {
    color: var(--app-text-muted, #6c757d);
    margin-bottom: 1rem;
}

.landing-tool-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.landing-tool-choice {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .85rem;
    align-items: center;
    padding: 1rem;
    color: var(--app-text);
    text-align: left;
    border: 1px solid var(--app-border);
    border-radius: .85rem;
    background: var(--app-surface);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.landing-tool-choice:hover,
.landing-tool-choice:focus-visible,
.landing-tool-choice[aria-pressed="true"] {
    border-color: #7c3aed;
    box-shadow: 0 10px 25px rgba(124, 58, 237, .12);
    transform: translateY(-2px);
}

.landing-tool-choice > i:first-child {
    color: #7c3aed;
    font-size: 1.4rem;
}

.landing-tool-choice strong,
.landing-tool-choice small {
    display: block;
}

.landing-tool-choice small {
    color: var(--app-text-muted, #6c757d);
    margin-top: .15rem;
}

.landing-tool-explanations {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 1rem;
    margin-top: 1rem;
}

.landing-tool-explanation {
    display: grid;
    grid-template-columns: auto 1fr;
    align-content: start;
    gap: .85rem;
    padding: 1.1rem;
    border: 1px solid var(--app-border);
    border-radius: .85rem;
    background: var(--app-surface);
}

.landing-tool-explanation-icon {
    display: inline-grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    color: #6d28d9;
    border-radius: .7rem;
    background: rgba(124, 58, 237, .1);
    font-size: 1.15rem;
}

.landing-tool-explanation h3 {
    margin: .1rem 0 .45rem;
    font-size: 1.05rem;
}

.landing-tool-explanation p,
.landing-tool-explanation ol {
    color: var(--app-text-muted, #6c757d);
    font-size: .92rem;
}

.landing-tool-explanation p {
    margin-bottom: .7rem;
}

.landing-tool-explanation ol {
    margin: 0 0 .75rem;
    padding-left: 1.2rem;
}

.landing-tool-explanation li + li {
    margin-top: .35rem;
}

.landing-tool-explanation .landing-tool-local-note {
    margin: 0;
    padding-top: .7rem;
    border-top: 1px solid var(--app-border);
    color: var(--app-text);
}

.landing-tool-local-note i {
    margin-right: .35rem;
    color: #6d28d9;
}

.landing-tool-shell {
    margin-top: 1rem;
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: .75rem;
    background: var(--app-surface-muted);
}

.landing-tool-toolbar {
    min-height: 3rem;
    padding: .65rem .75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border-bottom: 1px solid var(--app-border);
}

.landing-tool-frame {
    display: block;
    width: 100%;
    height: min(80vh, 900px);
    min-height: 560px;
    border: 0;
    background: #fff;
}

@media (max-width: 768px) {
    .landing-hero {
        padding: 2.25rem 1rem;
    }

    .landing-wrap {
        gap: 1.25rem;
    }

    .landing-lead {
        font-size: 1rem;
    }

    .landing-tools {
        padding: .75rem;
    }

    .memory-story-showcase,
    .memory-paths-grid,
    .memory-trust-grid,
    .landing-tool-explanations,
    .landing-tool-actions {
        grid-template-columns: 1fr;
    }

    .memory-story-showcase {
        gap: 1.5rem;
        padding: 1.25rem;
    }

    .memory-paths {
        padding: 1.25rem;
    }

    .memory-paths-grid::before,
    .memory-path-card::before {
        display: none;
    }

    .landing-tool-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-tool-frame {
        height: 78vh;
        min-height: 480px;
    }
}
