:root {
    --bg: #ffffff;
    --primary: #030213;
    --secondary: #6f6f6f;
    --teal: #2cbaa1;
    --blue: #0e4970;
    --blue-dark: #0d446d;
    --soft-surface: #f8f8f8;
    --line: #e5e7eb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--primary);
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.page-shell {
    padding-left: 100px;
    padding-right: 100px;
}

.content-shell {
    padding-left: 120px;
    padding-right: 120px;
}

.site-header {
    padding: 24px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #43cdb6 0%, #0e4970 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 21px;
    letter-spacing: -0.6px;
}

.brand-text {
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #125177;
    font-size: 20px;
}

.nav-list {
    gap: 30px;
}

.nav-list .nav-link {
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.1504px;
    line-height: 20px;
    padding: 0;
}

.nav-list .nav-link.active,
.nav-list .nav-link:hover {
    color: var(--teal);
}

.nav-cta {
    width: 120px;
    height: 48px;
    border-radius: 999px;
    background: var(--teal);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.1504px;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-cta:hover {
    background: #25a891;
    color: #ffffff;
}

.hero {
    padding-top: 56px;
    padding-bottom: 56px;
}

.case-layout {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-media-wrap {
    position: relative;
}

.hero-media {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 4px solid #ffffff;
    border-radius: 24px;
    display: block;
}

.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    height: 36px;
    min-width: 79px;
    padding: 8px 20px;
    border-radius: 32px;
    background: var(--blue-dark);
    border: 1px solid var(--blue-dark);
    color: #f4f5f5;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
}

.back-btn:hover {
    background: #0a3a5d;
    color: #f4f5f5;
}

.media-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 28.286px;
    padding: 10px;
    background: var(--blue);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.media-arrow i {
    font-size: 15px;
    line-height: 1;
}

.media-arrow:hover {
    background: #0a3d5f;
    color: #ffffff;
}

.meta-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
    padding: 16px 32px;
    border-radius: 16px;
    background: var(--soft-surface);
}

.meta-item {
    min-height: 64px;
}

.meta-label {
    margin: 0;
    color: var(--secondary);
    font-size: 1.125rem;
    line-height: 32px;
    letter-spacing: -0.18px;
    font-weight: 400;
}

.meta-value {
    margin: 0;
    color: var(--primary);
    font-size: 1.25rem;
    line-height: 28px;
    letter-spacing: -0.2px;
    font-weight: 500;
}

.detail-block {
    width: 100%;
}

.detail-block .row {
    --bs-gutter-x: 64px;
}

.detail-title {
    /* width: 300px;
    max-width: 300px; */
    margin: 0;
    color: var(--primary);
    font-size: 1.75rem;
    line-height: 32px;
    letter-spacing: -0.56px;
    font-weight: 600;
}

.detail-content {
    color: var(--secondary);
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.2px;
    font-weight: 400;
}

.detail-content p {
    margin: 0 0 24px;
}

.detail-content p:last-child {
    margin-bottom: 0;
}

.detail-content ul {
    margin: 0 0 24px;
    padding-left: 30px;
}

.detail-content li {
    margin-bottom: 2px;
}

.detail-content strong {
    color: var(--secondary);
    font-weight: 700;
}

.detail-divider {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 0;
    opacity: 1;
}

.results-panel {
    width: 100%;
    background: var(--soft-surface);
    border: 1px solid #d4d4d4;
    border-radius: 24px;
    padding: 8px;
    min-height: 197px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.result-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 8px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.result-value {
    margin: 0;
    min-height: 80px;
    display: flex;
    align-items: center;
    color: var(--primary);
    font-size: 2.125rem;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.72px;
}

.result-value.value-large {
    font-size: 2.5rem;
    letter-spacing: -0.88px;
}

.result-label {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: 1.375rem;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.24px;
}

.result-card p {
    margin: 0;
    color: var(--secondary);
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0;
}

.detail-block-last {
    padding-bottom: 0;
}

.cta-section {
    padding: 30px 0;
}
@media (max-width: 1199px) {
    .page-shell,
    .content-shell {
        padding-left: 32px;
        padding-right: 32px;
    }
    .detail-title,
    .detail-content {
        width: 100%;
        max-width: 100%;
    }

    .detail-title {
        margin-bottom: 20px;
    }

    .detail-block .row {
        --bs-gutter-x: 0;
    }

    .results-panel {
        grid-template-columns: 1fr;
        height: auto;
    }
}

@media (max-width: 767px) {
    .page-shell,
    .content-shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-header {
        padding: 16px 0;
    }

    .hero {
        padding-top: 20px;
    }

    .hero-media {
        height: 240px;
        border-radius: 16px;
    }

    .back-btn,
    .media-arrow {
        top: 12px;
    }

    .back-btn {
        left: 12px;
    }

    .media-arrow {
        right: 12px;
    }

    .meta-panel {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 18px;
    }

    .meta-item,
    .meta-item.text-center,
    .meta-item.text-end {
        text-align: left !important;
    }

    .detail-title {
        font-size: 24px;
        line-height: 30px;
        letter-spacing: -0.4px;
    }

    .detail-content {
        font-size: 18px;
        line-height: 27px;
        letter-spacing: -0.1px;
    }

    .detail-content p {
        margin-bottom: 18px;
    }

    .result-value,
    .result-value.value-large {
        font-size: 34px;
        letter-spacing: -0.7px;
    }

    .result-label {
        font-size: 22px;
    }
    .cta-badge {
        font-size: 16px;
        line-height: 24px;
        padding: 8px 18px;
    }
}
