/* Design Tools Dashboard — home / landing page styling */

.home-hero {
    background: #000000;
    color: #ffffff;
    border-radius: 18px;
    padding: 2.5rem 2.75rem;
    margin: 1.25rem 0 2rem 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.home-hero-content {
    flex: 1 1 auto;
    min-width: 0;
}

.home-hero h1 {
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.4rem;
}

.home-hero p {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 720px;
    margin-bottom: 0;
}

/* White panel so the black Magic Leap SVG stays visible on the black hero. */
.home-hero-logo {
    flex: 0 0 auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero-logo img {
    height: 54px;
    width: auto;
    display: block;
}

/* Sub-banner: source link + feedback button under the hero text. */
.home-hero-subbanner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.4rem;
}

.home-hero-subbanner a.home-source-link {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 1px;
    transition: border-color 0.15s ease;
}

.home-hero-subbanner a.home-source-link:hover {
    border-bottom-color: #ffffff;
}

@media (max-width: 640px) {
    .home-hero {
        flex-direction: column;
        align-items: flex-start;
    }
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.4rem;
    margin-bottom: 2.5rem;
}

.home-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 2px solid #b9c4d6;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
    height: 100%;
}

.home-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(20, 40, 80, 0.18);
    border-color: #6b7a94;
}

.home-card:focus-visible {
    outline: 3px solid #2684ff;
    outline-offset: 2px;
}

.home-card-thumb {
    width: 100%;
    aspect-ratio: 400 / 260;
    object-fit: cover;
    background: #f4f6fa;
    border-bottom: 1px solid #eef1f6;
    display: block;
}

.home-card-body {
    padding: 1rem 1.15rem 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex-grow: 1;
}

.home-card-title {
    font-size: 1.06rem;
    font-weight: 650;
    color: #14213a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.home-card-accent {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex: 0 0 auto;
}

.home-card-desc {
    font-size: 0.88rem;
    line-height: 1.45;
    color: #56617a;
    margin: 0;
}

.home-card-cta {
    margin-top: auto;
    padding-top: 0.6rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #2684ff;
}
