﻿/* Hero */

.landing-hero {
    position: relative;
    overflow: hidden;
    padding: 2.25rem 0 4.5rem;
    background: radial-gradient(circle at 15% 10%, rgba(37, 99, 235, 0.10), transparent 28%), radial-gradient(circle at 90% 5%, rgba(20, 184, 166, 0.11), transparent 24%), linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-shell {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(219, 227, 238, 0.95);
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94)), radial-gradient(circle at 75% 20%, rgba(56, 189, 248, 0.18), transparent 30%);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
}

.hero-title {
    max-width: 720px;
    margin-bottom: 1.35rem;
    color: var(--ink);
    font-size: clamp(2.65rem, 5vw, 4.7rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.075em;
}

.hero-subtitle {
    max-width: 640px;
    margin-bottom: 2rem;
    color: #475569;
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-supporting {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

    .hero-supporting span {
        display: inline-flex;
        align-items: center;
        padding: 0.45rem 0.7rem;
        border: 1px solid rgba(148, 163, 184, 0.28);
        border-radius: 999px;
        color: #475569;
        background: #ffffff;
        font-size: 0.82rem;
        font-weight: 700;
    }

.hero-bottom-note {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(219, 227, 238, 0.95);
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.7;
}

/* Product Preview */

.product-preview {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 28px;
    background: #0b1727;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.preview-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.pulse-dot {
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    margin-right: 0.5rem;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.15);
}

.preview-pill {
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    color: #7dd3fc;
    background: rgba(56, 189, 248, 0.12);
    font-size: 0.76rem;
    font-weight: 850;
}

.preview-map {
    position: relative;
    min-height: 360px;
    margin: 0 1rem;
    overflow: hidden;
    border-radius: 22px;
    background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.22), transparent 30%), linear-gradient(135deg, #0f2a3a, #0a1422 58%);
}

.map-grid {
    position: absolute;
    inset: 0;
    opacity: 0.26;
    background-image: linear-gradient(rgba(226, 232, 240, 0.32) 1px, transparent 1px), linear-gradient(90deg, rgba(226, 232, 240, 0.32) 1px, transparent 1px);
    background-size: 34px 34px;
}

.map-route {
    position: absolute;
    height: 8px;
    border-radius: 999px;
    opacity: 0.9;
    filter: blur(0.2px);
}

.route-one {
    width: 48%;
    left: 9%;
    top: 61%;
    transform: rotate(-18deg);
    background: linear-gradient(90deg, rgba(56, 189, 248, 0), rgba(56, 189, 248, 0.85));
}

.route-two {
    width: 38%;
    right: 12%;
    top: 34%;
    transform: rotate(22deg);
    background: linear-gradient(90deg, rgba(20, 184, 166, 0), rgba(20, 184, 166, 0.85));
}

.priority-panel {
    position: absolute;
    z-index: 2;
    width: min(80%, 320px);
    padding: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.16);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.86);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(12px);
}

.priority-one {
    top: 2.2rem;
    left: 2rem;
}

.priority-two {
    right: 2rem;
    bottom: 2.4rem;
}

.priority-panel strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #ffffff;
    font-size: 0.98rem;
}

.priority-panel small {
    color: #cbd5e1;
    line-height: 1.6;
}

.preview-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 1rem;
}

    .preview-metrics div {
        padding: 1rem;
        border-radius: 16px;
        background: rgba(15, 23, 42, 0.86);
    }

    .preview-metrics span {
        display: block;
        margin-bottom: 0.35rem;
        color: #94a3b8;
        font-size: 0.76rem;
    }

    .preview-metrics strong {
        color: #ffffff;
        font-size: 1.35rem;
    }

/* Sections */

.problem-section,
.workflow-section {
    background: #ffffff;
}

.platform-section {
    color: #ffffff;
    background: radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.18), transparent 28%), linear-gradient(135deg, #07111f, #0e1f33);
}

    .platform-section h2,
    .memory-card h2,
    .final-cta h2 {
        margin-bottom: 1rem;
        font-size: clamp(2rem, 4vw, 3.35rem);
        line-height: 1.08;
        font-weight: 900;
        letter-spacing: -0.065em;
    }

    .platform-section p,
    .memory-card p,
    .final-cta p {
        color: #64748b;
        font-size: 1.08rem;
        line-height: 1.8;
    }

    .platform-section p {
        color: #cbd5e1;
    }

.info-card {
    height: 100%;
    padding: 1.75rem;
    border: 1px solid rgba(219, 227, 238, 0.95);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.055);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

    .info-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.09);
    }

.card-number {
    display: inline-flex;
    width: 2.8rem;
    height: 2.8rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
    border-radius: 14px;
    color: var(--blue);
    background: var(--blue-soft);
    font-weight: 900;
}

.info-card h3,
.capability-card h3,
.workflow-card h3 {
    margin-bottom: 0.7rem;
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 850;
    letter-spacing: -0.035em;
}

.info-card p,
.capability-card p,
.workflow-card p {
    margin-bottom: 0;
    color: #64748b;
    line-height: 1.7;
}

/* Capabilities */

.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.capability-card {
    min-height: 180px;
    padding: 1.6rem;
    border: 1px solid rgba(226, 232, 240, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.065);
}

    .capability-card h3 {
        color: #ffffff;
    }

    .capability-card p {
        color: #cbd5e1;
    }

/* Workflow */

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.workflow-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 1.75rem;
    border: 1px solid rgba(219, 227, 238, 0.95);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.055);
}

    .workflow-card::after {
        content: "";
        position: absolute;
        right: -3rem;
        bottom: -3rem;
        width: 9rem;
        height: 9rem;
        border-radius: 999px;
        background: rgba(37, 99, 235, 0.07);
    }

    .workflow-card span {
        display: inline-flex;
        width: 2.8rem;
        height: 2.8rem;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.15rem;
        border-radius: 999px;
        color: #ffffff;
        background: var(--navy);
        font-weight: 900;
    }

/* Memory */

.memory-section {
    background: #f8fafc;
}

.memory-card {
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 32px;
    color: #ffffff;
    background: radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.22), transparent 30%), linear-gradient(135deg, #07111f, #10243a);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.16);
}

    .memory-card p {
        color: #cbd5e1;
    }

.memory-list {
    display: grid;
    gap: 0.85rem;
}

    .memory-list div {
        padding: 1rem;
        border: 1px solid rgba(226, 232, 240, 0.14);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.07);
    }

    .memory-list strong {
        display: block;
        margin-bottom: 0.25rem;
        color: #ffffff;
    }

    .memory-list span {
        color: #cbd5e1;
    }

/* CTA */

.final-cta {
    padding: 5rem 0;
    color: #ffffff;
    background: var(--navy);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 5vw, 3rem);
    border: 1px solid rgba(226, 232, 240, 0.13);
    border-radius: 30px;
    background: radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.23), transparent 28%), linear-gradient(135deg, #0e1f33, #07111f);
}

.final-cta p {
    max-width: 720px;
    margin-bottom: 0;
    color: #cbd5e1;
}

.cta-actions {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* Responsive */

@media (max-width: 991px) {
    .hero-shell {
        border-radius: 24px;
    }

    .preview-metrics {
        grid-template-columns: 1fr;
    }

    .capability-grid,
    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .landing-hero {
        padding-top: 1rem;
    }

    .hero-shell {
        padding: 1.35rem;
    }

    .hero-title {
        font-size: 2.45rem;
    }

    .preview-map {
        min-height: 430px;
    }

    .priority-one,
    .priority-two {
        left: 1rem;
        right: 1rem;
        width: auto;
    }

    .priority-two {
        bottom: 1rem;
    }
}


/* Product preview now uses a mock spiderweb figure instead of the older abstract risk map. */
.spider-preview {
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
}

    .spider-preview .preview-topbar {
        color: #334155;
        border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    }

    .spider-preview .preview-pill {
        color: var(--blue);
        background: #eff6ff;
    }

        .spider-preview .preview-pill.light {
            color: #047857;
            background: #d1fae5;
        }

.homepage-spider-card {
    display: grid;
    grid-template-columns: minmax(250px, 0.9fr) minmax(280px, 1fr);
    align-items: start;
    gap: 1rem;
    padding: 1rem;
}

.homepage-spider-visual {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    padding: 0.9rem;
    border-radius: 22px;
    background: radial-gradient(circle at 50% 50%, #ffffff, #f8fafc 70%);
}

.homepage-spider-svg {
    display: block;
    width: min(100%, 340px);
    height: auto;
    min-height: 0;
    aspect-ratio: 390 / 330;
}

    .homepage-spider-svg text {
        fill: #334155;
        font-size: 13px;
        font-weight: 900;
        letter-spacing: -0.01em;
    }

.home-spider-ring {
    fill: none;
    stroke: rgba(148, 163, 184, 0.34);
    stroke-width: 1.25;
}

    .home-spider-ring.outer {
        stroke: rgba(148, 163, 184, 0.48);
    }

.home-spider-axis {
    stroke: rgba(148, 163, 184, 0.28);
    stroke-width: 1;
}

.home-spider-data {
    fill: rgba(37, 99, 235, 0.16);
    stroke: rgba(37, 99, 235, 0.88);
    stroke-width: 4;
}

.home-spider-dot {
    fill: var(--blue);
}

.homepage-score-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.05rem;
    border-radius: 22px;
    background: #f8fafc;
}

    .homepage-score-panel h3 {
        margin: 0 0 0.45rem;
        color: var(--ink);
        font-size: 1.35rem;
        font-weight: 950;
        letter-spacing: -0.045em;
    }

    .homepage-score-panel p {
        margin: 0;
        color: #64748b;
        line-height: 1.6;
    }

.homepage-score-stack {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

    .homepage-score-stack div {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.7rem;
        min-height: 64px;
        padding: 0.8rem 0.9rem;
        border: 1px solid rgba(226, 232, 240, 0.95);
        border-radius: 16px;
        background: #ffffff;
    }

    .homepage-score-stack span {
        color: #64748b;
        font-size: 0.76rem;
        font-weight: 900;
        letter-spacing: 0.02em;
        text-transform: uppercase;
    }

    .homepage-score-stack strong {
        color: var(--ink);
        font-size: 1.25rem;
        font-weight: 950;
        line-height: 1.15;
        text-align: right;
    }

.spider-preview .preview-metrics div {
    background: #f8fafc;
}

.spider-preview .preview-metrics span {
    color: #64748b;
}

.spider-preview .preview-metrics strong {
    color: var(--ink);
    font-size: 1.05rem;
}

.score-recommendation {
    grid-template-columns: 1fr;
    align-items: start;
}

    .score-recommendation strong {
        display: block;
        margin-top: 0.2rem;
        font-size: 1.08rem;
        line-height: 1.2;
        text-align: left;
    }


.contact-strip-section {
    padding: 4rem 0;
    background: #ffffff;
}

.contact-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    border: 1px solid rgba(219, 227, 238, 0.95);
    border-radius: 28px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.055);
}

    .contact-strip h2 {
        margin-bottom: 0.6rem;
        color: var(--ink);
        font-size: clamp(1.8rem, 3vw, 2.7rem);
        font-weight: 950;
        letter-spacing: -0.06em;
    }

    .contact-strip p {
        margin: 0;
        color: #64748b;
        line-height: 1.7;
    }

.contact-email {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.1rem;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), #0ea5e9);
    font-weight: 950;
    text-decoration: none;
}

    .contact-email:hover {
        color: #ffffff;
    }

@media (max-width: 991px) {
    .homepage-spider-card,
    .contact-strip {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Combined contact + CTA */

.combined-cta-section {
    padding: 4rem 0 5rem;
    color: #ffffff;
    background: var(--navy);
}

.cta-combined {
    align-items: center;
    gap: 2.5rem;
}

.cta-content {
    flex: 1 1 auto;
    min-width: 0;
}

.cta-contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.14);
}

.cta-contact-copy {
    max-width: 780px;
    margin: 0;
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.7;
}

.cta-email {
    background: linear-gradient(135deg, var(--blue), #0ea5e9);
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.24);
}

.contact-strip-section {
    display: none;
}

@media (max-width: 991px) {
    .cta-contact-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .homepage-spider-card {
        grid-template-columns: 1fr;
    }

    .homepage-spider-svg {
        min-height: 320px;
    }
}


/* Homepage CTA/button refinements for the public landing page. */
.hero-actions .btn,
.cta-actions .btn {
    white-space: nowrap;
}

/* Keeps the preview figure proportional rather than stretching to match the score panel. */
.homepage-spider-card > * {
    align-self: start;
}

@media (max-width: 1200px) {
    .homepage-spider-card {
        grid-template-columns: 1fr;
    }

    .homepage-spider-svg {
        max-width: 430px;
    }
}


/* Request-access page */
.request-access-page {
    padding: clamp(2rem, 6vw, 4rem) 0 5rem;
    background: radial-gradient(circle at 8% 8%, rgba(37, 99, 235, 0.08), transparent 28%), #f8fafc;
}

.request-access-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 1.5rem;
    max-width: 1180px;
    margin: 0 auto;
}

.access-intro-card,
.access-form-card,
.access-confirm-card {
    border: 1px solid rgba(219, 227, 238, 0.95);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.access-intro-card {
    padding: clamp(1.5rem, 4vw, 2.4rem);
}

    .access-intro-card h1 {
        margin: 0 0 1rem;
        color: var(--ink);
        font-size: clamp(2.4rem, 5vw, 4rem);
        line-height: 0.98;
        font-weight: 950;
        letter-spacing: -0.075em;
    }

    .access-intro-card p,
    .access-form-note {
        color: #64748b;
        font-size: 1rem;
        line-height: 1.75;
    }

.access-checklist {
    display: grid;
    gap: 0.75rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

    .access-checklist li {
        padding: 0.9rem 1rem;
        border-radius: 16px;
        color: #334155;
        background: #f8fafc;
        font-weight: 800;
    }

.access-form-card {
    padding: clamp(1.3rem, 3vw, 2rem);
}

.access-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.access-form-group.full {
    grid-column: 1 / -1;
}

.access-form-group label {
    display: block;
    margin-bottom: 0.45rem;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.access-form-card .form-control,
.access-form-card .form-select {
    min-height: 48px;
    border-color: #dbe7f5;
    border-radius: 14px;
    color: #0f172a;
    font-weight: 700;
}

.access-form-card textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.access-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.access-confirm-card {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-color: rgba(34, 197, 94, 0.28);
    background: #f0fdf4;
    color: #166534;
    font-weight: 850;
}

.access-config-note {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(250, 204, 21, 0.28);
    border-radius: 16px;
    background: #fffbeb;
    color: #854d0e;
    font-size: 0.92rem;
    line-height: 1.6;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.48);
    color: #ffffff;
}

    .btn-outline-light:hover {
        border-color: #ffffff;
        color: var(--ink);
        background: #ffffff;
    }

@media (max-width: 991px) {
    .request-access-shell {
        grid-template-columns: 1fr;
    }

    .access-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Homepage product preview readability refinements */
.spider-preview {
    container-type: inline-size;
    color: var(--ink);
}

    .spider-preview .preview-topbar {
        flex-wrap: wrap;
        padding: 0.95rem 1rem;
        font-weight: 800;
    }

        .spider-preview .preview-topbar > div:first-child {
            display: inline-flex;
            min-width: 0;
            align-items: center;
        }

    .spider-preview .preview-pill {
        flex-shrink: 0;
        white-space: nowrap;
    }

.homepage-spider-card {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 0.9rem;
}

.homepage-spider-visual {
    min-height: 280px;
    padding: clamp(0.85rem, 2vw, 1.25rem);
    border: 1px solid rgba(226, 232, 240, 0.85);
    background: radial-gradient(circle at 50% 42%, #ffffff 0%, #ffffff 45%, #f8fafc 100%);
}

.homepage-spider-svg {
    width: min(100%, 380px);
    max-height: 300px;
}

    .homepage-spider-svg text {
        fill: #1e293b;
        font-size: 16px;
        font-weight: 900;
        letter-spacing: 0;
    }

.home-spider-data {
    fill: rgba(37, 99, 235, 0.14);
    stroke: rgba(37, 99, 235, 0.92);
    stroke-width: 5;
}

.home-spider-dot {
    fill: var(--blue);
    stroke: #ffffff;
    stroke-width: 3;
}

.homepage-score-panel {
    padding: clamp(1rem, 2vw, 1.25rem);
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

    .homepage-score-panel h3 {
        margin-bottom: 0.45rem;
        font-size: clamp(1.25rem, 2.4vw, 1.75rem);
        line-height: 1.05;
        letter-spacing: -0.055em;
    }

    .homepage-score-panel p {
        max-width: 56ch;
        font-size: 0.98rem;
        line-height: 1.55;
    }

.homepage-score-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

    .homepage-score-stack .score-metric {
        display: flex;
        min-height: 82px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.45rem;
        padding: 0.85rem 0.9rem;
        border-radius: 16px;
    }

        .homepage-score-stack .score-metric span {
            font-size: 0.68rem;
            line-height: 1.25;
        }

        .homepage-score-stack .score-metric strong {
            font-size: clamp(1.15rem, 2vw, 1.5rem);
            line-height: 1;
            text-align: left;
        }

    .homepage-score-stack .score-recommendation {
        grid-template-columns: none;
    }

        .homepage-score-stack .score-recommendation strong {
            max-width: 100%;
            margin-top: 0;
            white-space: normal;
            font-size: 1.06rem;
            line-height: 1.15;
        }

.spider-preview .preview-metrics {
    gap: 0.7rem;
    padding: 0.9rem;
}

    .spider-preview .preview-metrics div {
        min-width: 0;
        padding: 0.9rem;
        border: 1px solid rgba(226, 232, 240, 0.72);
        background: #f8fafc;
    }

    .spider-preview .preview-metrics strong {
        display: block;
        overflow-wrap: anywhere;
        line-height: 1.2;
    }

@container (min-width: 720px) {
    .homepage-spider-card {
        grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 1fr);
        align-items: stretch;
        gap: 1rem;
    }

    .homepage-score-panel {
        min-height: 100%;
    }

    .homepage-score-stack {
        grid-template-columns: 1fr;
    }

        .homepage-score-stack .score-metric {
            min-height: 64px;
            flex-direction: row;
            align-items: center;
        }

        .homepage-score-stack .score-recommendation {
            min-height: 76px;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
        }
}

@media (max-width: 767px) {
    .homepage-spider-visual {
        min-height: 245px;
    }

    .homepage-spider-svg {
        min-height: 0;
        max-height: 285px;
    }

    .homepage-score-stack,
    .preview-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .spider-preview .preview-topbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

.homepage-spider-card > * {
    align-self: stretch;
}
