/* ATS Chrome extension product page (/product-ats-extension); the MCP page (/product-mcp) reuses these .hb-ext blocks.
   Builds on homepage-dark.css (.hb-home sections, cards, FAQ, final CTA); only page-specific blocks live here. */

/* In-page anchors (#install, #claude…) land below the fixed header and the announcement bar. */
.hb-ext [id] {
    scroll-margin-top: calc(110px + var(--hb-announcement-h, 0px));
}

.hb-ext a:not(.home-test-button) {
    color: var(--hd-coral-text);
}

.hb-ext strong {
    color: var(--hd-text);
    font-weight: 600;
}

.hb-ext .ext-section-sub {
    max-width: 680px;
    margin: -12px auto 32px;
    color: var(--hd-muted);
    font: 400 17px/1.55 var(--hd-font);
}

.hb-ext .btn_coral.home-test-button {
    margin: 0;
}

.hb-ext .ext-section-note {
    margin: 28px 0 0;
    color: var(--hd-muted);
    font: 400 15px/1.5 var(--hd-font);
}

.hb-ext .ext-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--hd-coral-surface);
    color: var(--hd-coral-text);
}

/* Hero */
.hb-ext .ext-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: 56px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 24px 32px;
}

.hb-ext .ext-hero::before {
    content: "";
    position: absolute;
    inset: -60px 40% auto 0;
    height: 300px;
    background: radial-gradient(closest-side, rgba(255, 130, 119, .14), transparent);
    pointer-events: none;
}

.hb-ext .ext-hero > * {
    position: relative;
}

.hb-ext .ext-eyebrow {
    margin: 0 0 14px;
    color: var(--hd-muted);
    font: 500 12px/1.4 var(--hd-font);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hb-ext .ext-hero h1 {
    margin: 0 0 18px;
    font: 700 clamp(32px, 3.6vw, 48px)/1.08 var(--hd-font-bold);
    letter-spacing: -0.02em;
}

.hb-ext .ext-hero h1 span {
    display: block;
    color: var(--hd-coral-text);
}

.hb-ext .ext-hero-sub {
    margin: 0 0 28px;
    color: var(--hd-muted);
    font: 400 18px/1.55 var(--hd-font);
}

.hb-ext .ext-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

.hb-ext .ext-link {
    font: 600 15px/1.4 var(--hd-font);
    text-decoration: none;
}

.hb-ext .ext-link:hover {
    text-decoration: underline;
}

.hb-ext .ext-hero-note {
    margin: 14px 0 0;
    color: var(--hd-muted);
    font: 400 13px/1.4 var(--hd-font);
}

.hb-ext .ext-hero-shot {
    margin: 0;
}

.hb-ext .ext-hero-shot img,
.hb-ext .ext-shot img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--hd-border);
    border-radius: 12px;
    background: #fff;
}

.hb-ext .ext-hero-shot img {
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

/* "What it shows you" cards: 3 + 2 on desktop */
.hb-ext .ext-shows-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hb-ext .ext-shows-grid li {
    grid-column: span 2;
}

.hb-ext .ext-shows-grid li:nth-child(4) {
    grid-column: 2 / span 2;
}

/* Supported ATS chips */
.hb-ext .ext-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hb-ext .ext-chips li {
    padding: 10px 18px;
    border: 1px solid var(--hd-coral);
    border-radius: 999px;
    background: var(--hd-coral-surface);
    font: 600 15px/1.3 var(--hd-font);
}

.hb-ext .ext-chips--soon li {
    padding: 6px 14px;
    border-color: var(--hd-border);
    background: transparent;
    color: var(--hd-muted);
    font: 500 13px/1.3 var(--hd-font);
}

.hb-ext .ext-chips-label {
    margin: 28px 0 12px;
    color: var(--hd-muted);
    font: 500 12px/1.4 var(--hd-font);
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* Installation guide */
.hb-ext .ext-guide {
    text-align: left;
}

.hb-ext .ext-guide > h2, .hb-ext .ext-guide > .ext-section-sub {
    text-align: center;
}

.hb-ext .ext-needs {
    max-width: 760px;
    margin: 0 auto 56px;
    padding: 24px 28px;
    border: 1px solid var(--hd-border);
    border-radius: 12px;
    background: var(--hd-surface);
}

.hb-ext .ext-needs h3, .hb-ext .ext-phase {
    margin: 0 0 14px;
    font: 600 20px/1.3 var(--hd-font);
}

.hb-ext .ext-needs ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hb-ext .ext-needs li {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    color: var(--hd-muted);
    font: 400 16px/1.5 var(--hd-font);
}

.hb-ext .ext-needs svg {
    flex: none;
    margin-top: 2px;
    color: var(--hd-positive);
}

.hb-ext .ext-phase {
    margin: 0 0 8px;
    color: var(--hd-coral-text);
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hb-ext .ext-steps {
    margin: 0 0 56px;
    padding: 0;
    list-style: none;
}

.hb-ext .ext-steps:last-child {
    margin-bottom: 0;
}

.hb-ext .ext-step {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: 48px;
    padding: 32px 0;
    border-bottom: 1px solid var(--hd-border);
}

.hb-ext .ext-step:last-child {
    border-bottom: 0;
}

.hb-ext .ext-step--text {
    grid-template-columns: minmax(0, 1fr);
}

.hb-ext .ext-step-num {
    color: var(--hd-coral-text);
    font: 600 13px/1 var(--hd-font);
}

.hb-ext .ext-step h3, .hb-ext .ext-step h4 {
    margin: 10px 0 10px;
    color: var(--hd-text);
    font: 600 22px/1.3 var(--hd-font);
}

.hb-ext .ext-step p {
    margin: 0;
    color: var(--hd-muted);
    font: 400 16px/1.6 var(--hd-font);
}

/* Screenshots and videos */
.hb-ext .ext-shot, .hb-ext .ext-video {
    margin: 0;
    min-width: 0;
}

.hb-ext .ext-shot a {
    display: block;
}

.hb-ext .ext-shot--narrow img {
    width: auto;
    max-width: 100%;
    max-height: 480px;
    margin: 0 auto;
}

.hb-ext .ext-shot figcaption, .hb-ext .ext-video figcaption {
    margin-top: 10px;
    color: var(--hd-muted);
    font: 400 13px/1.45 var(--hd-font);
    text-align: center;
}

.hb-ext .ext-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--hd-border);
    border-radius: 12px;
    background: var(--hd-surface);
}

.hb-ext .ext-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Other sites */
.hb-ext .ext-methods {
    margin-bottom: 40px;
}

.hb-ext .ext-other-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    align-items: start;
    gap: 24px;
    margin-bottom: 40px;
}

.hb-ext .ext-other > .ext-video {
    max-width: 860px;
    margin: 0 auto;
}

/* Settings */
.hb-ext .ext-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: 56px;
    text-align: left;
}

.hb-ext .ext-split h2 {
    margin: 0 0 24px;
    font: 700 clamp(26px, 3vw, 36px)/1.2 var(--hd-font-bold);
    letter-spacing: -0.01em;
}

.hb-ext .ext-split .ext-section-sub {
    margin: -12px 0 20px;
}

.hb-ext .ext-settings-list {
    margin: 0;
}

.hb-ext .ext-settings-list div {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--hd-border);
}

.hb-ext .ext-settings-list dt {
    color: var(--hd-text);
    font: 600 15px/1.5 var(--hd-font);
}

.hb-ext .ext-settings-list dd {
    margin: 0;
    color: var(--hd-muted);
    font: 400 15px/1.5 var(--hd-font);
}

/* Your data */
.hb-ext .ext-data-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: left;
}

.hb-ext .ext-data-grid p {
    margin-top: 14px;
    color: var(--hd-text);
    font-size: 16px;
}

/* Final CTA sits on coral, so its inline link uses the dark CTA text colour. */
.hb-ext .home-final .home-final-small a {
    color: var(--hd-cta-text);
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .hb-ext .ext-hero, .hb-ext .ext-step, .hb-ext .ext-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .hb-ext .ext-hero {
        padding-top: 32px;
    }

    .hb-ext .ext-shows-grid, .hb-ext .ext-data-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hb-ext .ext-shows-grid li, .hb-ext .ext-shows-grid li:nth-child(4) {
        grid-column: auto;
    }

    .hb-ext .ext-other-media {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .hb-ext .ext-shows-grid, .hb-ext .ext-data-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hb-ext .ext-needs {
        padding: 20px;
    }

    .hb-ext .ext-settings-list div {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    .hb-ext .ext-hero-actions .home-test-button {
        width: 100%;
        white-space: normal;
    }
}
