.tw-cpc-hero {
    position: relative;
    width: 100%;
    padding: 90px 40px;
    overflow: hidden;
    background: #f5f5f5;
    color: #202124;
}

.tw-cpc-hero,
.tw-cpc-hero * {
    box-sizing: border-box;
}

.tw-cpc-hero__container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 72px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Content */

.tw-cpc-hero__content {
    min-width: 0;
}

.tw-cpc-hero__eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: #62666b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    line-height: 1.5;
    text-transform: uppercase;
}

.tw-cpc-hero__title {
    max-width: 650px;
    margin: 0 0 24px;
    color: #171717;
    font-size: clamp(54px, 6.5vw, 86px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.tw-cpc-hero__description {
    max-width: 600px;
    margin: 0;
    color: #62666b;
    font-size: 17px;
    line-height: 1.85;
}

/* Hero Actions */

.tw-cpc-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 32px;
}

.tw-cpc-hero__button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 22px;
    background: #202124;
    border: 1px solid #202124;
    border-radius: 0px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.tw-cpc-hero__button span {
    font-size: 19px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.tw-cpc-hero__button:hover {
    background: #3a3a3a;
    border-color: #3a3a3a;
    color: #ffffff;
}

.tw-cpc-hero__button:hover span {
    transform: translateX(3px);
}

.tw-cpc-hero__text-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: #303030;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.6;
    text-decoration: underline;
    text-decoration-color: #b6b6b6;
    text-underline-offset: 5px;
    transition: color 0.2s ease;
}

.tw-cpc-hero__text-link:hover {
    color: #686868;
}

/* Hero Highlights */

.tw-cpc-hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 42px;
    padding-top: 26px;
    border-top: 1px solid #dedede;
}

.tw-cpc-hero__highlight {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.tw-cpc-hero__highlight-value {
    color: #202124;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.tw-cpc-hero__highlight-label {
    color: #777b80;
    font-size: 12px;
    line-height: 1.6;
}

/* Hero Visual */

.tw-cpc-hero__visual {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
}

.tw-cpc-hero__visual-card {
    width: 100%;
    max-width: 440px;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.06);
}

/* Visual Header */

.tw-cpc-hero__visual-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.tw-cpc-hero__visual-label {
    color: #777b80;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    line-height: 1.6;
}

.tw-cpc-hero__visual-badge {
    display: inline-flex;
    min-width: 42px;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    background: #f0f0f0;
    border-radius: 5px;
    color: #292929;
    font-size: 12px;
    font-weight: 700;
}

/* Visual Result */

.tw-cpc-hero__visual-value {
    margin-top: 22px;
    color: #171717;
    font-size: clamp(42px, 4vw, 54px);
    font-weight: 750;
    letter-spacing: -2px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.tw-cpc-hero__visual-caption {
    margin: 10px 0 0;
    color: #777b80;
    font-size: 13px;
    line-height: 1.7;
}

.tw-cpc-hero__visual-divider {
    width: 100%;
    height: 1px;
    margin: 28px 0;
    background: #e9e9e9;
}

/* Visual Metrics */

.tw-cpc-hero__visual-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.tw-cpc-hero__visual-metric {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.tw-cpc-hero__metric-label {
    color: #777b80;
    font-size: 12px;
    line-height: 1.5;
}

.tw-cpc-hero__metric-value {
    color: #202124;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.4px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

/* Visual Formula */

.tw-cpc-hero__visual-formula {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 28px;
    padding: 15px 12px;
    background: #f6f6f6;
    border: 1px solid #ededed;
    border-radius: 6px;
    color: #62666b;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

.tw-cpc-hero__visual-formula strong {
    color: #202124;
    font-weight: 700;
}

/* Floating Note */

.tw-cpc-hero__visual-note {
    position: absolute;
    right: -12px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 16px);
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 7px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    color: #393939;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.6;
}

.tw-cpc-hero__visual-note-mark {
    display: inline-flex;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    align-items: center;
    justify-content: center;
    background: #eeeeee;
    border-radius: 50%;
    color: #202124;
    font-size: 13px;
    font-weight: 700;
}

/* Focus States */

.tw-cpc-hero__button:focus-visible,
.tw-cpc-hero__text-link:focus-visible {
    outline: 2px solid #202124;
    outline-offset: 4px;
}

/* Tablet */

@media (max-width: 1024px) {

    .tw-cpc-hero {
        padding: 72px 30px;
    }

    .tw-cpc-hero__container {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
        gap: 40px;
    }

    .tw-cpc-hero__title {
        font-size: clamp(38px, 5vw, 52px);
        letter-spacing: -1.8px;
    }

    .tw-cpc-hero__description {
        font-size: 16px;
    }

    .tw-cpc-hero__highlights {
        gap: 22px;
    }

    .tw-cpc-hero__visual-card {
        padding: 26px;
    }

    .tw-cpc-hero__visual-note {
        right: -4px;
    }
}

/* Mobile */

@media (max-width: 767px) {

    .tw-cpc-hero {
        padding: 54px 20px 64px;
    }

    .tw-cpc-hero__container {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }

    .tw-cpc-hero__eyebrow {
        margin-bottom: 16px;
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .tw-cpc-hero__title {
        margin-bottom: 18px;
        font-size: clamp(36px, 9vw, 46px);
        letter-spacing: -1.5px;
        line-height: 1.12;
    }

    .tw-cpc-hero__description {
        font-size: 15px;
        line-height: 1.8;
    }

    .tw-cpc-hero__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-top: 26px;
    }

    .tw-cpc-hero__button {
        width: 100%;
        min-height: 50px;
    }

    .tw-cpc-hero__text-link {
        min-height: 40px;
    }

    .tw-cpc-hero__highlights {
        gap: 20px;
        margin-top: 30px;
        padding-top: 22px;
    }

    .tw-cpc-hero__highlight {
        flex: 1 1 calc(33.333% - 20px);
    }

    .tw-cpc-hero__highlight-value {
        font-size: 14px;
    }

    .tw-cpc-hero__highlight-label {
        font-size: 11px;
    }

    .tw-cpc-hero__visual {
        padding: 10px 0 24px;
    }

    .tw-cpc-hero__visual-card {
        max-width: 480px;
        padding: 25px 22px;
    }

    .tw-cpc-hero__visual-value {
        margin-top: 18px;
        font-size: 46px;
    }

    .tw-cpc-hero__visual-divider {
        margin: 23px 0;
    }

    .tw-cpc-hero__visual-note {
        right: 0;
        bottom: 0;
        font-size: 11px;
    }
}

/* Small Mobile */

@media (max-width: 380px) {

    .tw-cpc-hero {
        padding-right: 20px;
        padding-left: 20px;
    }

    .tw-cpc-hero__title {
        font-size: 34px;
    }

    .tw-cpc-hero__highlights {
        gap: 14px;
    }

    .tw-cpc-hero__highlight {
        flex-basis: calc(33.333% - 14px);
    }

    .tw-cpc-hero__highlight-value {
        font-size: 13px;
    }

    .tw-cpc-hero__visual-card {
        padding: 22px 18px;
    }

    .tw-cpc-hero__visual-formula {
        gap: 5px;
        padding: 13px 8px;
        font-size: 10px;
    }

    .tw-cpc-hero__visual-note {
        gap: 7px;
        padding: 11px 12px;
    }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {

    .tw-cpc-hero__button,
    .tw-cpc-hero__button span,
    .tw-cpc-hero__text-link {
        transition: none;
    }
}