.tw-seo-audit-hero {
    position: relative;
    width: 100%;
    padding: 100px 40px;
    overflow: hidden;
    background: #f4f4f4;
    color: #171717;
}

.tw-seo-audit-hero *,
.tw-seo-audit-hero *::before,
.tw-seo-audit-hero *::after {
    box-sizing: border-box;
}

.tw-seo-audit-hero__container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 72px;
}

/* Content */

.tw-seo-audit-hero__content {
    max-width: 650px;
}

.tw-seo-audit-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: #555;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
}

.tw-seo-audit-hero__eyebrow::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 2px;
    background: #171717;
}

.tw-seo-audit-hero__title {
    max-width: 650px;
    margin: 0 0 24px;
    color: #171717;
    font-size: clamp(52px, 6.5vw, 86px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.055em;

}

.tw-seo-audit-hero__title span {
    display: block;
    color: #737373;
}

.tw-seo-audit-hero__description {
    max-width: 570px;
    margin: 0;
    color: #5b5b5b;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
}

/* Actions */

.tw-seo-audit-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 34px;
}

.tw-seo-audit-hero__button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 15px 23px;
    border: 1px solid #171717;
    border-radius: 0px;
    background: #171717;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.tw-seo-audit-hero__button span {
    font-size: 19px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.tw-seo-audit-hero__button:hover,
.tw-seo-audit-hero__button:focus {
    border-color: #383838;
    background: #383838;
    color: #fff;
}

.tw-seo-audit-hero__button:hover span {
    transform: translateX(4px);
}

.tw-seo-audit-hero__text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tw-seo-audit-hero__text-link:hover,
.tw-seo-audit-hero__text-link:focus {
    color: #777;
}

/* Highlights */

.tw-seo-audit-hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.tw-seo-audit-hero__highlights li {
    position: relative;
    padding-left: 20px;
    color: #555;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}

.tw-seo-audit-hero__highlights li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: #171717;
    font-size: 13px;
    font-weight: 700;
}

/* Audit Preview */

.tw-seo-audit-hero__visual {
    position: relative;
    width: 100%;
    max-width: 510px;
    justify-self: end;
    padding: 22px 0 36px;
}

.tw-seo-audit-hero__audit-card {
    position: relative;
    width: 100%;
    padding: 28px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.07);
}

.tw-seo-audit-hero__card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid #ededed;
}

.tw-seo-audit-hero__card-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #777;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.7px;
    line-height: 1.5;
}

.tw-seo-audit-hero__card-header h2 {
    margin: 0;
    color: #171717;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.6px;
}

.tw-seo-audit-hero__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border: 1px solid #dedede;
    border-radius: 3px;
    background: #f7f7f7;
    color: #555;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;
    white-space: nowrap;
}

/* Preview Heading */

.tw-seo-audit-hero__preview {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 24px 0;
    padding: 17px;
    border: 1px solid #ededed;
    border-radius: 4px;
    background: #fafafa;
}

.tw-seo-audit-hero__preview-icon {
    display: flex;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    border: 1px solid #dedede;
    border-radius: 4px;
    background: #fff;
}

.tw-seo-audit-hero__preview-icon span {
    display: block;
    height: 3px;
    border-radius: 2px;
    background: #171717;
}

.tw-seo-audit-hero__preview-icon span:nth-child(1) {
    width: 100%;
}

.tw-seo-audit-hero__preview-icon span:nth-child(2) {
    width: 70%;
}

.tw-seo-audit-hero__preview-icon span:nth-child(3) {
    width: 85%;
}

.tw-seo-audit-hero__preview-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.tw-seo-audit-hero__preview-copy strong {
    color: #222;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.tw-seo-audit-hero__preview-copy > span {
    color: #777;
    font-size: 12px;
    line-height: 1.5;
}

/* Audit Checks */

.tw-seo-audit-hero__checks {
    display: flex;
    flex-direction: column;
}

.tw-seo-audit-hero__check {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 19px 0;
    border-bottom: 1px solid #ededed;
}

.tw-seo-audit-hero__check:first-child {
    padding-top: 4px;
}

.tw-seo-audit-hero__check:last-child {
    padding-bottom: 4px;
    border-bottom: 0;
}

.tw-seo-audit-hero__check-number {
    display: flex;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    color: #555;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.tw-seo-audit-hero__check-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 5px;
}

.tw-seo-audit-hero__check-copy strong {
    color: #222;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.tw-seo-audit-hero__check-copy span {
    color: #777;
    font-size: 11px;
    line-height: 1.5;
}

.tw-seo-audit-hero__check-arrow {
    flex-shrink: 0;
    color: #777;
    font-size: 18px;
    line-height: 1;
}

/* Card Footer */

.tw-seo-audit-hero__card-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    padding-top: 17px;
    border-top: 1px solid #ededed;
    color: #777;
    font-size: 10px;
    line-height: 1.5;
}

.tw-seo-audit-hero__footer-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #777;
}

/* Floating Label */

.tw-seo-audit-hero__visual-label {
    position: absolute;
    right: -12px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

.tw-seo-audit-hero__label-mark {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dedede;
    border-radius: 3px;
    color: #171717;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}

/* Tablet */

@media (max-width: 1024px) {
    .tw-seo-audit-hero {
        padding: 80px 30px;
    }

    .tw-seo-audit-hero__container {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        gap: 40px;
    }

    .tw-seo-audit-hero__title {
        font-size: clamp(36px, 4.5vw, 50px);
        letter-spacing: -1.6px;
    }

    .tw-seo-audit-hero__description {
        font-size: 15px;
    }

    .tw-seo-audit-hero__audit-card {
        padding: 22px;
    }

    .tw-seo-audit-hero__visual-label {
        right: -5px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .tw-seo-audit-hero {
        padding: 62px 20px 70px;
    }

    .tw-seo-audit-hero__container {
        grid-template-columns: minmax(0, 1fr);
        gap: 42px;
    }

    .tw-seo-audit-hero__content {
        max-width: 100%;
    }

    .tw-seo-audit-hero__eyebrow {
        margin-bottom: 18px;
        font-size: 10px;
        letter-spacing: 1.6px;
    }

    .tw-seo-audit-hero__title {
        margin-bottom: 20px;
        font-size: clamp(34px, 8vw, 44px);
        line-height: 1.12;
        letter-spacing: -1.4px;
    }

    .tw-seo-audit-hero__description {
        font-size: 15px;
        line-height: 1.75;
    }

    .tw-seo-audit-hero__actions {
        align-items: flex-start;
        gap: 18px;
        margin-top: 27px;
    }

    .tw-seo-audit-hero__button {
        min-height: 52px;
        gap: 14px;
        padding: 14px 18px;
        font-size: 13px;
    }

    .tw-seo-audit-hero__text-link {
        min-height: 52px;
        font-size: 12px;
    }

    .tw-seo-audit-hero__highlights {
        gap: 10px 18px;
        margin-top: 26px;
    }

    .tw-seo-audit-hero__highlights li {
        font-size: 11px;
    }

    .tw-seo-audit-hero__visual {
        max-width: 100%;
        justify-self: stretch;
        padding: 0 0 25px;
    }

    .tw-seo-audit-hero__audit-card {
        padding: 20px;
    }

    .tw-seo-audit-hero__card-header {
        padding-bottom: 20px;
    }

    .tw-seo-audit-hero__card-header h2 {
        font-size: 22px;
    }

    .tw-seo-audit-hero__preview {
        gap: 12px;
        margin: 20px 0;
        padding: 13px;
    }

    .tw-seo-audit-hero__check {
        gap: 11px;
        padding: 16px 0;
    }

    .tw-seo-audit-hero__check-number {
        width: 32px;
        height: 32px;
    }

    .tw-seo-audit-hero__check-copy strong {
        font-size: 12px;
    }

    .tw-seo-audit-hero__check-copy span {
        font-size: 10px;
    }

    .tw-seo-audit-hero__visual-label {
        right: 8px;
        bottom: 0;
        max-width: calc(100% - 16px);
        padding: 11px 13px;
        font-size: 10px;
    }
}

/* Small Mobile */

@media (max-width: 380px) {
    .tw-seo-audit-hero__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .tw-seo-audit-hero__text-link {
        min-height: auto;
        padding: 8px 0;
    }

    .tw-seo-audit-hero__audit-card {
        padding: 16px;
    }

    .tw-seo-audit-hero__status {
        padding: 6px 7px;
        font-size: 8px;
    }

    .tw-seo-audit-hero__card-header h2 {
        font-size: 20px;
    }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    .tw-seo-audit-hero__button,
    .tw-seo-audit-hero__button span,
    .tw-seo-audit-hero__text-link {
        transition: none;
    }
}