/* Landing page — scoped under layout-self-directed + page-landing */

body.layout-self-directed.page-landing .main-content {
    padding-top: 0;
}

body.layout-self-directed.page-landing .landing-page {
    --landing-gap-section: clamp(2rem, 2vw + 1rem, 3rem);
    --landing-gap-block: 1.5rem;
    --landing-gap-head: clamp(1.25rem, 1.5vw + 0.5rem, 1.75rem);
    --landing-radius: 14px;
    --landing-btn-h: 2.75rem;
    --landing-surface: linear-gradient(
        165deg,
        rgba(42, 55, 74, 0.72) 0%,
        rgba(30, 41, 59, 0.48) 100%
    );
    display: flex;
    flex-direction: column;
    gap: var(--landing-gap-section);
    max-width: 68rem;
    margin: 0 auto;
    padding: 1rem 1.25rem clamp(2.5rem, 4vw + 1rem, 3.5rem);
}

@media (min-width: 768px) {
    body.layout-self-directed.page-landing .landing-page {
        padding: 1.5rem 2rem clamp(3rem, 4vw + 1.25rem, 4rem);
    }
}

/* --- Unified buttons (same box model — fixes size mismatch vs global .btn-*) --- */

body.layout-self-directed.page-landing .landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--landing-btn-h);
    height: var(--landing-btn-h);
    padding: 0 1.25rem;
    border-radius: var(--radius-lg, 8px);
    border: 2px solid transparent;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.layout-self-directed.page-landing .landing-btn--register {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    font-size: 0.8125rem;
}

@media (min-width: 380px) {
    body.layout-self-directed.page-landing .landing-btn--register {
        font-size: 0.875rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 480px) {
    body.layout-self-directed.page-landing .landing-btn--register {
        font-size: 0.9375rem;
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }
}

body.layout-self-directed.page-landing .landing-btn--primary {
    background: var(--color-primary, var(--primary-color, #3b82f6));
    border-color: var(--color-primary, var(--primary-color, #3b82f6));
    color: #fff;
}

body.layout-self-directed.page-landing .landing-btn--primary:hover {
    background: var(--color-primary-hover, var(--primary-hover, #2563eb));
    border-color: var(--color-primary-hover, var(--primary-hover, #2563eb));
}

body.layout-self-directed.page-landing .landing-btn--secondary {
    background: rgba(30, 41, 59, 0.55);
    border-color: var(--color-border, rgba(148, 163, 184, 0.28));
    color: var(--color-text, var(--text-primary, #f1f5f9));
}

body.layout-self-directed.page-landing .landing-btn--secondary:hover {
    border-color: var(--primary-color, #3b82f6);
    background: rgba(59, 130, 246, 0.12);
}

body.layout-self-directed.page-landing .landing-btn:focus-visible {
    outline: 2px solid var(--primary-color, #3b82f6);
    outline-offset: 2px;
}

body.layout-self-directed.page-landing .landing-actions__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
    max-width: 24rem;
}

@media (min-width: 420px) {
    body.layout-self-directed.page-landing .landing-actions__row {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
        max-width: 28rem;
    }

    body.layout-self-directed.page-landing .landing-btn--solo {
        grid-column: 1 / -1;
        max-width: 14rem;
    }
}

body.layout-self-directed.page-landing .landing-actions__row--compact {
    max-width: 20rem;
    margin: 0 auto;
}

body.layout-self-directed.page-landing .landing-actions__row .landing-btn {
    width: 100%;
}

body.layout-self-directed.page-landing .landing-actions--center {
    display: flex;
    justify-content: center;
}

body.layout-self-directed.page-landing .landing-actions__browse {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary, #cbd5e1);
    text-decoration: none;
}

body.layout-self-directed.page-landing .landing-actions__browse:hover {
    color: var(--primary-color, #3b82f6);
}

body.layout-self-directed.page-landing .landing-actions__browse i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

body.layout-self-directed.page-landing .landing-actions__browse:hover i {
    transform: translateX(3px);
}

body.layout-self-directed.page-landing .landing-actions__browse:focus-visible {
    outline: 2px solid var(--primary-color, #3b82f6);
    outline-offset: 2px;
    border-radius: 4px;
}

/* --- Hero --- */

body.layout-self-directed.page-landing .landing-hero {
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: 0;
    padding-top: 0.25rem;
}

body.layout-self-directed.page-landing .landing-hero__main {
    display: grid;
    gap: var(--landing-gap-block);
    align-items: center;
}

@media (min-width: 900px) {
    body.layout-self-directed.page-landing .landing-hero {
        padding-top: 0.75rem;
    }

    body.layout-self-directed.page-landing .landing-hero__main {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 3rem;
    }
}

body.layout-self-directed.page-landing .landing-hero__copy {
    max-width: 36rem;
}

@media (min-width: 900px) {
    body.layout-self-directed.page-landing .landing-hero__copy {
        text-align: left;
    }
}

body.layout-self-directed.page-landing .landing-hero__kicker {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color, #3b82f6);
}

body.layout-self-directed.page-landing .landing-hero__brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
}

body.layout-self-directed.page-landing .landing-hero__brand-link {
    text-decoration: none;
    color: inherit;
    width: fit-content;
}

body.layout-self-directed.page-landing .landing-hero__brand-link:focus-visible {
    outline: 2px solid var(--primary-color, #3b82f6);
    outline-offset: 4px;
    border-radius: 12px;
}

body.layout-self-directed.page-landing .landing-hero__logo {
    display: block;
    flex-shrink: 0;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
}

body.layout-self-directed.page-landing .landing-hero__title {
    font-size: clamp(1.85rem, 4.5vw, 2.5rem);
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--text-primary, #f1f5f9);
}

body.layout-self-directed.page-landing .landing-hero__lead {
    color: var(--text-secondary, #cbd5e1);
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.65;
    margin: 0 0 1.5rem;
    max-width: 42ch;
}

/* Hero visual — layered analytics preview */

body.layout-self-directed.page-landing .landing-hero__visual {
    position: relative;
    width: 100%;
    max-width: 26rem;
    margin: 0 auto;
}

@media (min-width: 900px) {
    body.layout-self-directed.page-landing .landing-hero__visual {
        max-width: 28rem;
        margin: 0;
        justify-self: end;
    }
}

body.layout-self-directed.page-landing .landing-viz {
    position: relative;
    min-height: 19rem;
}

body.layout-self-directed.page-landing .landing-viz__glow {
    position: absolute;
    inset: 5% 0 10%;
    background:
        radial-gradient(ellipse 70% 55% at 30% 40%, rgba(56, 189, 248, 0.2), transparent 70%),
        radial-gradient(ellipse 50% 45% at 85% 60%, rgba(167, 139, 250, 0.16), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body.layout-self-directed.page-landing .landing-viz__panel {
    position: relative;
    z-index: 1;
    border-radius: var(--landing-radius);
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(
        165deg,
        rgba(38, 50, 68, 0.88) 0%,
        rgba(15, 23, 42, 0.75) 100%
    );
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

body.layout-self-directed.page-landing .landing-viz__panel--chart {
    padding: 0.85rem 0.85rem 0.75rem;
}

body.layout-self-directed.page-landing .landing-viz__panel--flow {
    position: absolute;
    right: -0.35rem;
    bottom: 4.5rem;
    z-index: 2;
    width: min(11.5rem, 42%);
    padding: 0.75rem 0.85rem;
    border-color: rgba(59, 130, 246, 0.22);
}

@media (min-width: 900px) {
    body.layout-self-directed.page-landing .landing-viz__panel--flow {
        right: -1.25rem;
    }
}

body.layout-self-directed.page-landing .landing-viz__bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

body.layout-self-directed.page-landing .landing-viz__bar-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary, #f1f5f9);
    letter-spacing: -0.01em;
}

body.layout-self-directed.page-landing .landing-viz__bar-meta {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-muted, #94a3b8);
}

body.layout-self-directed.page-landing .landing-viz__pill {
    flex-shrink: 0;
    padding: 0.2rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #38bdf8;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.1);
}

body.layout-self-directed.page-landing .landing-viz__svg {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 400 / 168;
}

body.layout-self-directed.page-landing .landing-viz__grid line {
    stroke: rgba(148, 163, 184, 0.14);
    stroke-width: 1;
}

body.layout-self-directed.page-landing .landing-viz__line {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.layout-self-directed.page-landing .landing-viz__line--primary {
    stroke: #38bdf8;
    stroke-width: 2.25;
}

body.layout-self-directed.page-landing .landing-viz__line--bench {
    stroke: #64748b;
    stroke-width: 1.5;
    stroke-dasharray: 5 4;
    opacity: 0.85;
}

body.layout-self-directed.page-landing .landing-viz__point {
    fill: #38bdf8;
}

body.layout-self-directed.page-landing .landing-viz__point-ring {
    fill: none;
    stroke: rgba(56, 189, 248, 0.45);
    stroke-width: 1.5;
}

body.layout-self-directed.page-landing .landing-viz__axis-label {
    fill: rgba(148, 163, 184, 0.55);
    font-size: 9px;
    font-weight: 600;
    font-family: ui-sans-serif, system-ui, sans-serif;
}

body.layout-self-directed.page-landing .landing-viz__callout {
    fill: #38bdf8;
    font-size: 11px;
    font-weight: 700;
    font-family: ui-sans-serif, system-ui, sans-serif;
    letter-spacing: -0.02em;
}

body.layout-self-directed.page-landing .landing-viz__kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    margin: 0.65rem 0 0;
    padding: 0;
}

body.layout-self-directed.page-landing .landing-viz__kpi {
    padding: 0.45rem 0.35rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(15, 23, 42, 0.35);
    text-align: center;
}

body.layout-self-directed.page-landing .landing-viz__kpi dt {
    margin: 0;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted, #94a3b8);
}

body.layout-self-directed.page-landing .landing-viz__kpi dd {
    margin: 0.15rem 0 0;
    font-size: 0.8125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

body.layout-self-directed.page-landing .landing-viz__kpi-val--pos {
    color: #4ade80;
}

body.layout-self-directed.page-landing .landing-viz__kpi-val--neg {
    color: #f87171;
}

body.layout-self-directed.page-landing .landing-viz__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
    margin-top: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-muted, #94a3b8);
}

body.layout-self-directed.page-landing .landing-viz__legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

body.layout-self-directed.page-landing .landing-viz__swatch {
    display: inline-block;
    width: 0.65rem;
    height: 0.2rem;
    border-radius: 2px;
}

body.layout-self-directed.page-landing .landing-viz__swatch--primary {
    background: #38bdf8;
}

body.layout-self-directed.page-landing .landing-viz__swatch--bench {
    background: #64748b;
}

body.layout-self-directed.page-landing .landing-viz__swatch--band {
    background: rgba(167, 139, 250, 0.65);
}

body.layout-self-directed.page-landing .landing-viz__flow-title {
    margin: 0 0 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted, #94a3b8);
}

body.layout-self-directed.page-landing .landing-viz__flow {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

body.layout-self-directed.page-landing .landing-viz__flow-step {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted, #94a3b8);
}

body.layout-self-directed.page-landing .landing-viz__flow-step::before {
    content: "";
    flex-shrink: 0;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.35);
}

body.layout-self-directed.page-landing .landing-viz__flow-step--done {
    color: var(--text-secondary, #cbd5e1);
}

body.layout-self-directed.page-landing .landing-viz__flow-step--done::before {
    background: #34d399;
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.25);
}

body.layout-self-directed.page-landing .landing-viz__flow-step--active {
    color: var(--text-primary, #f1f5f9);
    font-weight: 600;
}

body.layout-self-directed.page-landing .landing-viz__flow-step--active::before {
    background: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

@media (max-width: 899px) {
    body.layout-self-directed.page-landing .landing-viz__panel--flow {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 0.75rem;
    }

    body.layout-self-directed.page-landing .landing-viz {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: no-preference) {
    body.layout-self-directed.page-landing .landing-viz__point-ring {
        animation: landing-viz-pulse 2.8s ease-in-out infinite;
    }
}

@keyframes landing-viz-pulse {
    0%,
    100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.95;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.layout-self-directed.page-landing .landing-viz__point-ring {
        animation: none;
    }
}

/* --- Section rhythm --- */

body.layout-self-directed.page-landing .landing-section {
    margin-bottom: 0;
}

body.layout-self-directed.page-landing .landing-section__head {
    text-align: center;
    max-width: 38rem;
    margin: 0 auto var(--landing-gap-head);
}

body.layout-self-directed.page-landing .landing-section__head--tight {
    margin-bottom: 1.25rem;
}

body.layout-self-directed.page-landing .landing-section__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--primary-color, #3b82f6);
}

body.layout-self-directed.page-landing .landing-section__title {
    font-size: clamp(1.35rem, 2.8vw, 1.75rem);
    font-weight: 600;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-primary, #f1f5f9);
}

body.layout-self-directed.page-landing .landing-section__dek {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary, #cbd5e1);
}

/* --- Scroll reveal --- */

body.layout-self-directed.page-landing .landing-reveal {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

body.layout-self-directed.page-landing .landing-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    body.layout-self-directed.page-landing .landing-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --- Interactive compare (with vs without account) --- */

body.layout-self-directed.page-landing .landing-compare__switch {
    display: flex;
    max-width: 22rem;
    margin: 0 auto 1.25rem;
    padding: 0.25rem;
    gap: 0.25rem;
    border-radius: 12px;
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.18));
    background: rgba(15, 23, 42, 0.45);
}

@media (min-width: 900px) {
    body.layout-self-directed.page-landing .landing-compare__switch {
        max-width: 26rem;
    }
}

body.layout-self-directed.page-landing .landing-compare__tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    padding: 0.45rem 0.65rem;
    border: none;
    border-radius: 9px;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted, #94a3b8);
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

body.layout-self-directed.page-landing .landing-compare__tab i {
    font-size: 0.75rem;
    opacity: 0.85;
}

body.layout-self-directed.page-landing .landing-compare__tab.is-active {
    color: var(--text-primary, #f1f5f9);
    background: rgba(59, 130, 246, 0.18);
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.35);
}

body.layout-self-directed.page-landing .landing-compare__tab:focus-visible {
    outline: 2px solid var(--primary-color, #3b82f6);
    outline-offset: 2px;
}

body.layout-self-directed.page-landing .landing-compare__card,
body.layout-self-directed.page-landing .landing-compare__matrix-wrap {
    border-radius: var(--landing-radius);
    border: 1px solid rgba(59, 130, 246, 0.22);
    background: var(--landing-surface);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    max-width: 36rem;
    margin: 0 auto;
}

body.layout-self-directed.page-landing .landing-compare__matrix {
    width: 100%;
}

body.layout-self-directed.page-landing .landing-compare__matrix-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 3.25rem;
    align-items: center;
    gap: 0.5rem 0.75rem;
    min-height: 2.85rem;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    transition: background 0.2s ease;
}

@media (min-width: 900px) {
    body.layout-self-directed.page-landing .landing-compare__matrix-row {
        grid-template-columns: minmax(0, 1fr) 3.5rem 3.5rem;
        padding: 0.6rem 1.15rem;
        gap: 0.5rem 1rem;
    }
}

body.layout-self-directed.page-landing .landing-compare__matrix-row:last-child {
    border-bottom: none;
}

body.layout-self-directed.page-landing .landing-compare__matrix-row:hover {
    background: rgba(59, 130, 246, 0.05);
}

body.layout-self-directed.page-landing .landing-compare__matrix-row--head {
    min-height: 2.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
    background: rgba(15, 23, 42, 0.35);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

body.layout-self-directed.page-landing .landing-compare__matrix-row--head:hover {
    background: rgba(15, 23, 42, 0.35);
}

body.layout-self-directed.page-landing .landing-compare__matrix-colhead {
    justify-self: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted, #94a3b8);
    transition: color 0.2s ease, opacity 0.2s ease;
}

body.layout-self-directed.page-landing .landing-compare__matrix-colhead--account {
    color: #93c5fd;
}

body.layout-self-directed.page-landing .landing-compare__matrix-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
    min-height: 2rem;
    min-width: 2rem;
    transition: opacity 0.2s ease;
}

@media (max-width: 899px) {
    body.layout-self-directed.page-landing [data-compare-view="guest"] .landing-compare__matrix-cell--account,
    body.layout-self-directed.page-landing [data-compare-view="guest"] .landing-compare__matrix-colhead--account {
        display: none;
    }

    body.layout-self-directed.page-landing [data-compare-view="account"] .landing-compare__matrix-cell--guest,
    body.layout-self-directed.page-landing [data-compare-view="account"] .landing-compare__matrix-colhead:not(.landing-compare__matrix-colhead--account) {
        display: none;
    }
}

@media (min-width: 900px) {
    body.layout-self-directed.page-landing .landing-compare__matrix-wrap {
        max-width: 42rem;
    }

    body.layout-self-directed.page-landing [data-compare-focus="guest"] .landing-compare__matrix-cell--account,
    body.layout-self-directed.page-landing [data-compare-focus="guest"] .landing-compare__matrix-colhead--account {
        opacity: 0.45;
    }

    body.layout-self-directed.page-landing [data-compare-focus="account"] .landing-compare__matrix-cell--guest,
    body.layout-self-directed.page-landing [data-compare-focus="account"] .landing-compare__matrix-colhead:not(.landing-compare__matrix-colhead--account) {
        opacity: 0.45;
    }

    body.layout-self-directed.page-landing [data-compare-focus="guest"] .landing-compare__matrix-colhead:not(.landing-compare__matrix-colhead--account) {
        opacity: 1;
        color: var(--text-primary, #f1f5f9);
    }

    body.layout-self-directed.page-landing [data-compare-focus="account"] .landing-compare__matrix-colhead--account {
        opacity: 1;
        color: #bfdbfe;
    }
}

body.layout-self-directed.page-landing .landing-compare__matrix-row--premium .landing-compare__matrix-cell--account {
    background: rgba(59, 130, 246, 0.06);
    border-radius: 8px;
}

body.layout-self-directed.page-landing .landing-compare__label {
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--text-secondary, #cbd5e1);
}

body.layout-self-directed.page-landing .landing-compare__label em {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.75rem;
    font-style: normal;
    color: var(--text-muted, #94a3b8);
}

body.layout-self-directed.page-landing .landing-compare__pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    padding: 0;
    border-radius: 999px;
    font-size: 0.7rem;
}

body.layout-self-directed.page-landing .landing-compare__pill--yes {
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.35);
    background: rgba(52, 211, 153, 0.1);
}

body.layout-self-directed.page-landing .landing-compare__pill--locked {
    color: var(--text-muted, #94a3b8);
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.35);
}

body.layout-self-directed.page-landing .landing-compare__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

body.layout-self-directed.page-landing .landing-compare__footer .landing-btn {
    min-width: 14rem;
}

body.layout-self-directed.page-landing .landing-compare__footer-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary, #cbd5e1);
    text-decoration: none;
}

body.layout-self-directed.page-landing .landing-compare__footer-link:hover {
    color: var(--primary-color, #3b82f6);
    text-decoration: underline;
}

/* --- Feature grid --- */

body.layout-self-directed.page-landing .landing-features__caps {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    body.layout-self-directed.page-landing .landing-features__caps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    body.layout-self-directed.page-landing .landing-features__caps {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

body.layout-self-directed.page-landing .landing-features__caps li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    padding: 0.5rem 0.55rem;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--text-secondary, #cbd5e1);
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.45);
}

@media (min-width: 480px) {
    body.layout-self-directed.page-landing .landing-features__caps li {
        font-size: 0.75rem;
        padding: 0.5rem 0.65rem;
    }
}

@media (min-width: 900px) {
    body.layout-self-directed.page-landing .landing-features__caps li {
        font-size: 0.8125rem;
    }
}

body.layout-self-directed.page-landing .landing-features__caps li span {
    min-width: 0;
}

body.layout-self-directed.page-landing .landing-features__caps i {
    flex-shrink: 0;
    color: var(--primary-color, #3b82f6);
    font-size: 0.75rem;
}

body.layout-self-directed.page-landing .landing-features__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    body.layout-self-directed.page-landing .landing-features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    body.layout-self-directed.page-landing .landing-features__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

body.layout-self-directed.page-landing .landing-feature {
    display: flex;
    flex-direction: column;
    min-height: 10.5rem;
    padding: 1.25rem 1.35rem 1.15rem;
    border-radius: var(--landing-radius);
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.16));
    background: var(--landing-surface);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body.layout-self-directed.page-landing .landing-feature.is-hovered,
body.layout-self-directed.page-landing .landing-feature:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (prefers-reduced-motion: reduce) {
    body.layout-self-directed.page-landing .landing-feature.is-hovered,
    body.layout-self-directed.page-landing .landing-feature:hover {
        transform: none;
    }
}

body.layout-self-directed.page-landing .landing-feature__tag {
    align-self: flex-start;
    margin-bottom: 0.75rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color, #3b82f6);
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.1);
}

body.layout-self-directed.page-landing .landing-feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.65rem;
    border-radius: 10px;
    font-size: 1.05rem;
    color: var(--primary-color, #3b82f6);
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.18);
}

body.layout-self-directed.page-landing .landing-feature__title {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--text-primary, #f1f5f9);
}

body.layout-self-directed.page-landing .landing-feature__text {
    margin: 0;
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-secondary, #cbd5e1);
}

body.layout-self-directed.page-landing .landing-feature__link {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-color, #3b82f6);
    text-decoration: none;
}

body.layout-self-directed.page-landing .landing-feature__link:hover {
    text-decoration: underline;
}

body.layout-self-directed.page-landing .landing-feature__link:focus-visible {
    outline: 2px solid var(--primary-color, #3b82f6);
    outline-offset: 2px;
    border-radius: 4px;
}

body.layout-self-directed.page-landing .landing-feature__link i {
    font-size: 0.7rem;
}

@media (prefers-reduced-motion: reduce) {
    body.layout-self-directed.page-landing .landing-actions__browse:hover i {
        transform: none;
    }
}
