.tw-free-audits-hero {
    --audit-ink: #171717;
    --audit-muted: #686868;
    --audit-line: #deded9;
    --audit-paper: #f5f5f2;
    --audit-white: #ffffff;

    position: relative;
    width: 100%;
    margin: 0;
    padding: 76px 40px 0;
    overflow: hidden;
    background: var(--audit-paper);
    color: var(--audit-ink);
    box-sizing: border-box;
}

.tw-free-audits-hero *,
.tw-free-audits-hero *::before,
.tw-free-audits-hero *::after {
    box-sizing: border-box;
}

/* MAIN LAYOUT */

.tw-free-audits-hero__container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    align-items: center;
    gap: clamp(40px, 6vw, 90px);

    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding-bottom: 70px;
}

/* LEFT CONTENT */

.tw-free-audits-hero__content {
    width: 100%;
    max-width: 800px;
    min-width: 0;
}

.tw-free-audits-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 0 0 26px;
    color: var(--audit-muted);

    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.tw-free-audits-hero__eyebrow::before {
    content: "";
    display: inline-block;
    flex: 0 0 24px;
    width: 24px;
    height: 1px;
    background: #777;
}

/* HEADING */

.tw-free-audits-hero__content h1 {
    max-width: 720px;
    margin: 0 0 24px;
    padding: 0;

    color: var(--audit-ink);
    font-size: clamp(52px, 6.5vw, 86px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.055em;

    overflow-wrap: break-word;
}

.tw-free-audits-hero__content h1 span {
    display: block;
    color: #737373;
}

/* DESCRIPTION */

.tw-free-audits-hero__description {
    max-width: 570px;
    margin: 0;

    color: var(--audit-muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
}

/* ACTION */

.tw-free-audits-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 32px;
}

.tw-free-audits-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    min-height: 50px;
    padding: 0 20px;

    border: 1px solid var(--audit-ink);
    border-radius: 0;

    background: var(--audit-ink);
    color: var(--audit-white);

    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.tw-free-audits-btn:hover {
    background: transparent;
    color: var(--audit-ink);
    border-color: var(--audit-ink);
}

.tw-free-audits-btn:focus-visible {
    outline: 2px solid var(--audit-ink);
    outline-offset: 4px;
}

.tw-free-audits-btn span {
    font-size: 18px;
    line-height: 1;
}

/* TRUST POINTS */

.tw-free-audits-hero__trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 28px;
}

.tw-free-audits-hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #666;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.5px;
}

.tw-free-audits-hero__trust span::before {
    content: "✓";
    color: var(--audit-ink);
    font-size: 12px;
}

/* RIGHT VISUAL */

.tw-free-audits-hero__visual {
    position: relative;
    width: 100%;
    max-width: 470px;
    min-width: 0;
    justify-self: end;
}

/* VISUAL BACKGROUND */

.tw-free-audits-hero__visual-glow {
    display: none;
}

/* AUDIT PANEL */

.tw-free-audits-hero__dashboard {
    position: relative;
    width: 100%;
    padding: 26px;

    border: 1px solid #e2e2dd;
    background: var(--audit-white);
}

/* PANEL HEADER */

.tw-free-audits-hero__dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding-bottom: 20px;
    border-bottom: 1px solid var(--audit-line);

    color: #555;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.tw-free-audits-hero__dashboard-dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tw-free-audits-hero__dashboard-dots span {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b8b8b2;
}

/* SCORE PANEL */

.tw-free-audits-hero__score-panel {
    display: flex;
    align-items: center;
    gap: 22px;

    margin-top: 24px;
    padding: 22px;

    background: #f5f5f2;
    border: 1px solid #ebebe7;
}

/* SIMPLE SCORE RING */

.tw-free-audits-hero__score-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 100px;

    width: 100px;
    height: 100px;

    border: 7px solid #deded9;
    border-top-color: #777;
    border-right-color: #777;
    border-radius: 50%;
}

.tw-free-audits-hero__score-inner {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 3px;
}

.tw-free-audits-hero__score-inner strong {
    color: var(--audit-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.tw-free-audits-hero__score-inner span {
    color: #777;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* SCORE DETAILS */

.tw-free-audits-hero__score-details {
    flex: 1;
    min-width: 0;
}

.tw-free-audits-hero__score-details > strong {
    display: block;
    margin-bottom: 7px;

    color: var(--audit-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.tw-free-audits-hero__score-details > span {
    display: block;
    color: #777;
    font-size: 11px;
    line-height: 1.7;
}

.tw-free-audits-hero__progress {
    width: 100%;
    height: 3px;
    margin-top: 15px;
    background: #deded9;
}

.tw-free-audits-hero__progress span {
    display: block;
    width: 72%;
    height: 100%;
    background: #777;
}

/* AUDIT ITEMS */

.tw-free-audits-hero__audit-items {
    display: flex;
    flex-direction: column;
    margin-top: 18px;
}

.tw-free-audits-hero__audit-item {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 17px 0;
    border-bottom: 1px solid var(--audit-line);
}

.tw-free-audits-hero__audit-item:last-child {
    border-bottom: 0;
}

.tw-free-audits-hero__audit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;

    width: 36px;
    height: 36px;

    border: 1px solid #deded9;
    background: #f5f5f2;
    color: #333;

    font-size: 15px;
}

.tw-free-audits-hero__audit-item > div {
    flex: 1;
    min-width: 0;
}

.tw-free-audits-hero__audit-item > div strong {
    display: block;
    margin-bottom: 4px;

    color: var(--audit-ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.tw-free-audits-hero__audit-item > div span {
    display: block;
    color: #777;
    font-size: 10px;
    line-height: 1.6;
}

.tw-free-audits-hero__audit-arrow {
    color: #777;
    font-size: 16px;
}

/* FLOATING CARD */

.tw-free-audits-hero__floating-card {
    position: absolute;
    right: -18px;
    bottom: 25px;

    display: flex;
    align-items: center;
    gap: 12px;

    max-width: 255px;
    padding: 15px 18px;

    border: 1px solid #e2e2dd;
    background: var(--audit-white);
}

.tw-free-audits-hero__floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    background: #f5f5f2;
    color: #333;
    font-size: 14px;
}

.tw-free-audits-hero__floating-card strong {
    display: block;
    margin-bottom: 3px;

    color: var(--audit-ink);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
}

.tw-free-audits-hero__floating-card div span {
    display: block;
    color: #777;
    font-size: 9px;
    line-height: 1.6;
}

/* TABLET */

@media (max-width: 1024px) {
    .tw-free-audits-hero {
        padding-top: 62px;
    }

    .tw-free-audits-hero__container {
        grid-template-columns: minmax(0, 1fr) minmax(290px, 0.85fr);
        gap: 35px;
        padding-bottom: 55px;
    }

    .tw-free-audits-hero__content h1 {
        font-size: clamp(40px, 5vw, 58px);
        letter-spacing: -2px;
    }

    .tw-free-audits-hero__dashboard {
        padding: 20px;
    }

    .tw-free-audits-hero__score-panel {
        gap: 15px;
        padding: 17px;
    }

    .tw-free-audits-hero__score-ring {
        flex-basis: 82px;
        width: 82px;
        height: 82px;
        border-width: 6px;
    }

    .tw-free-audits-hero__floating-card {
        right: -8px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .tw-free-audits-hero {
        padding: 48px 20px 0;
    }

    .tw-free-audits-hero__container {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
        padding-bottom: 42px;
    }

    .tw-free-audits-hero__content {
        max-width: none;
    }

    .tw-free-audits-hero__eyebrow {
        margin-bottom: 20px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .tw-free-audits-hero__content h1 {
        margin-bottom: 19px;
        font-size: clamp(38px, 9.5vw, 52px);
        line-height: 1.1;
        letter-spacing: -1.8px;
    }

    .tw-free-audits-hero__description {
        font-size: 15px;
        line-height: 1.8;
    }

    .tw-free-audits-hero__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-top: 25px;
    }

    .tw-free-audits-btn {
        min-height: 48px;
    }

    .tw-free-audits-hero__trust {
        gap: 9px 16px;
        margin-top: 23px;
    }

    .tw-free-audits-hero__trust span {
        font-size: 9px;
    }

    .tw-free-audits-hero__visual {
        max-width: none;
        justify-self: stretch;
        padding-bottom: 25px;
    }

    .tw-free-audits-hero__dashboard {
        padding: 20px;
    }

    .tw-free-audits-hero__score-panel {
        gap: 15px;
        padding: 17px;
    }

    .tw-free-audits-hero__floating-card {
        right: 0;
        bottom: 0;
        max-width: 235px;
    }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
    .tw-free-audits-hero {
        padding-right: 20px;
        padding-left: 20px;
    }

    .tw-free-audits-hero__content h1 {
        font-size: 36px;
        letter-spacing: -1.3px;
    }

    .tw-free-audits-hero__dashboard {
        padding: 15px;
    }

    .tw-free-audits-hero__score-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .tw-free-audits-hero__score-ring {
        flex-basis: 76px;
        width: 76px;
        height: 76px;
    }

    .tw-free-audits-hero__floating-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 12px 0 0 auto;
    }

    .tw-free-audits-hero__dashboard-header {
        font-size: 9px;
        letter-spacing: 0.7px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .tw-free-audits-btn {
        transition: none;
    }
}