.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(22rem, .9fr);
    gap: var(--space-12);
    align-items: center;
    min-height: 32rem;
    padding: var(--space-12) 0 var(--space-16);
}

.home-eyebrow {
    margin-bottom: var(--space-3);
    color: var(--color-primary-700);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    letter-spacing: .14em;
    line-height: var(--line-normal);
}

.home-hero h1 {
    max-width: 40rem;
    margin-bottom: var(--space-5);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -.045em;
}

.home-hero__lead {
    max-width: 38rem;
    margin-bottom: var(--space-8);
    color: var(--color-text-muted);
    font-size: var(--text-lg);
}

.home-hero__actions,
.home-final-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.home-risk-note {
    margin: var(--space-5) 0 0;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.home-hero__visual {
    position: relative;
    min-height: 26rem;
    padding: var(--space-6);
}

.home-visual__glow {
    position: absolute;
    top: 2rem;
    right: 0;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    background: rgba(37, 99, 235, .14);
    filter: blur(42px);
}

.home-visual__panel {
    position: relative;
    z-index: 1;
    padding: var(--space-6);
    border: 1px solid rgba(147, 197, 253, .28);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--color-navy-800), var(--color-navy-950));
    box-shadow: 0 1.25rem 3rem rgba(7, 17, 31, .2);
    color: var(--color-surface);
    transform: rotate(1.5deg);
}

.home-visual__header,
.home-visual__status {
    display: flex;
    align-items: center;
}

.home-visual__header {
    justify-content: space-between;
    gap: var(--space-3);
    color: #d9e5f5;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
}

.home-visual__status {
    gap: var(--space-2);
    color: #9fe1b2;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-medium);
}

.home-visual__status span {
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 .2rem rgba(74, 222, 128, .15);
}

.home-visual__chart {
    position: relative;
    height: 10rem;
    margin: var(--space-8) 0;
    overflow: hidden;
    border-top: 1px solid rgba(219, 227, 238, .12);
    border-bottom: 1px solid rgba(219, 227, 238, .12);
}

.home-visual__grid-line {
    display: block;
    height: 33.333%;
    border-bottom: 1px dashed rgba(219, 227, 238, .1);
}

.home-visual__chart svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-visual__chart path {
    fill: none;
    stroke: #60a5fa;
    stroke-linecap: round;
    stroke-width: 4;
    vector-effect: non-scaling-stroke;
}

.home-visual__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

.home-visual__cards > div {
    min-width: 0;
    padding: var(--space-3);
    border: 1px solid rgba(219, 227, 238, .12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .06);
}

.home-visual__card-icon {
    display: block;
    margin-bottom: var(--space-2);
    color: #93c5fd;
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
}

.home-visual__cards strong,
.home-visual__cards small {
    display: block;
}

.home-visual__cards strong {
    color: var(--color-surface);
    font-size: var(--text-xs);
    line-height: var(--line-normal);
}

.home-visual__cards small {
    margin-top: var(--space-1);
    color: #aebfd5;
    font-size: .68rem;
}

.home-value-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: var(--space-16);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.home-value-item {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-5);
}

.home-value-item + .home-value-item {
    border-left: 1px solid var(--color-border);
}

.home-value-item__icon {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dbeafe;
    color: var(--color-primary-700);
    font-weight: var(--font-weight-bold);
}

.home-value-item h2 {
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}

.home-value-item p {
    margin-bottom: 0;
    color: var(--color-text-muted);
    font-size: var(--text-xs);
    line-height: var(--line-relaxed);
}

.home-section {
    margin-bottom: var(--space-16);
}

.home-section__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.home-section__heading h2,
.home-benefits__intro h2,
.home-guide-preview h2,
.home-final-cta h2 {
    margin-bottom: var(--space-3);
    letter-spacing: -.03em;
}

.home-section__heading p:last-child,
.home-guide-preview > div:first-child > p:last-of-type,
.home-final-cta > div:first-child > p:last-child {
    margin-bottom: 0;
    color: var(--color-text-muted);
}

.home-section__heading--centered {
    display: block;
    text-align: center;
}

.home-text-link {
    flex: 0 0 auto;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
}

.home-product-grid,
.home-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
}

.home-product-card,
.home-step-card {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.home-product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.home-product-card:hover {
    border-color: #b8c9df;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.home-product-card__image-link {
    display: block;
    padding: var(--space-5) var(--space-5) 0;
}

.home-product-card__image,
.home-product-card__placeholder {
    display: flex;
    width: 4.5rem;
    height: 4.5rem;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.home-product-card__placeholder {
    background: #dbeafe;
    color: var(--color-primary-700);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
}

.home-product-card__body {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    padding: var(--space-5);
}

.home-product-card__type {
    margin-bottom: var(--space-2);
    color: var(--color-text-muted);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    letter-spacing: .1em;
}

.home-product-card h3 {
    margin-bottom: var(--space-3);
    font-size: var(--text-xl);
}

.home-product-card h3 a {
    color: var(--color-navy-900);
    text-decoration: none;
}

.home-product-card h3 a:hover,
.home-product-card h3 a:focus-visible {
    color: var(--color-primary-700);
}

.home-product-card__description {
    min-height: 3.6rem;
    margin-bottom: var(--space-5);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.home-product-card__meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
}

.home-product-card__meta span {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.home-product-card__meta strong {
    color: var(--color-navy-900);
    font-size: var(--text-lg);
}

.home-product-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: auto;
}

.home-product-card__actions form {
    max-width: none;
}

.home-product-card__actions .btn {
    font-size: var(--text-sm);
}

.home-empty-state {
    padding: var(--space-10);
    border: 1px dashed var(--color-border-strong);
    border-radius: var(--radius-md);
    background: var(--color-surface-muted);
    color: var(--color-text-muted);
    text-align: center;
}

.home-how-it-works {
    padding: var(--space-12) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.home-step-card {
    padding: var(--space-6);
    box-shadow: none;
}

.home-step-card__number {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    border-radius: 50%;
    background: var(--color-navy-900);
    color: var(--color-surface);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
}

.home-step-card h3 {
    margin-bottom: var(--space-3);
    font-size: var(--text-lg);
}

.home-step-card p {
    margin-bottom: 0;
    color: var(--color-text-muted);
}

.home-benefits {
    display: grid;
    grid-template-columns: minmax(14rem, .8fr) minmax(0, 1.2fr);
    gap: var(--space-12);
    align-items: start;
}

.home-benefits__list {
    display: grid;
    gap: var(--space-6);
}

.home-benefits__list article {
    padding-left: var(--space-5);
    border-left: 3px solid #93c5fd;
}

.home-benefits__list h3 {
    margin-bottom: var(--space-2);
    font-size: var(--text-lg);
}

.home-benefits__list p {
    margin-bottom: 0;
    color: var(--color-text-muted);
}

.home-guide-preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, .7fr);
    gap: var(--space-10);
    align-items: center;
    padding: var(--space-10);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-lg);
    background: #eff6ff;
}

.home-guide-preview .btn {
    margin-top: var(--space-6);
}

.home-guide-links {
    display: grid;
    gap: var(--space-2);
}

.home-guide-links a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .75);
    color: var(--color-navy-800);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
}

.home-guide-links .link-elevated {
    justify-content: flex-start;
    text-align: left;
}

.home-guide-links a:hover,
.home-guide-links a:focus-visible {
    border-color: var(--color-primary-600);
    background: var(--color-surface);
    color: var(--color-primary-700);
}

.home-guide-links span {
    color: var(--color-primary-600);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
}

.home-final-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-8);
    align-items: center;
    padding: var(--space-10);
    border-radius: var(--radius-lg);
    background: var(--color-navy-900);
    box-shadow: var(--shadow-md);
}

.home-final-cta h2 {
    color: var(--color-surface);
}

.home-final-cta .home-eyebrow {
    color: #93c5fd;
}

.home-final-cta > div:first-child > p:last-child {
    color: #c5d2e4;
}

.home-final-cta__actions {
    justify-content: flex-end;
}

.home-final-cta__disclaimer {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: var(--space-5);
    border-top: 1px solid rgba(219, 227, 238, .18);
    color: #aebfd5;
    font-size: var(--text-sm);
}

@media (max-width: 1000px) {
    .home-hero {
        gap: var(--space-8);
    }

    .home-value-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-value-item:nth-child(odd) {
        border-left: 0;
    }

    .home-value-item:nth-child(n + 3) {
        border-top: 1px solid var(--color-border);
    }
}

@media (max-width: 767px) {
    .home-hero {
        display: block;
        min-height: auto;
        padding-top: var(--space-6);
    }

    .home-hero__visual {
        min-height: 0;
        margin-top: var(--space-10);
        padding: 0;
    }

    .home-visual__panel {
        transform: none;
    }

    .home-value-strip,
    .home-product-grid,
    .home-steps,
    .home-benefits,
    .home-guide-preview,
    .home-final-cta {
        grid-template-columns: 1fr;
    }

    .home-value-item,
    .home-value-item:nth-child(n + 3) {
        border-top: 1px solid var(--color-border);
        border-left: 0;
    }

    .home-value-item:first-child {
        border-top: 0;
    }

    .home-section__heading {
        display: block;
    }

    .home-section__heading .home-text-link {
        display: inline-block;
        margin-top: var(--space-4);
    }

    .home-product-card__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-product-card__actions .btn,
    .home-product-card__actions form {
        width: 100%;
    }

    .home-guide-preview,
    .home-final-cta {
        padding: var(--space-6);
    }

    .home-final-cta__actions {
        justify-content: flex-start;
    }

    .home-final-cta__disclaimer {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-product-card,
    .home-product-card:hover {
        transition: none;
        transform: none;
    }
}
