/*
 * Homepage Redesign (COL-2787)
 * BEM prefix: hr- (homepage redesign)
 * All colors/spacing/typography via DS tokens.
 */

.hr-page {
    background: var(--color-bg-primary);
    color: var(--color-text-default);
    font-family: var(--font-family-base);
    width: 100%;
}

/* Escape #content's 1600px max-width cap so .hr-hero respects viewport with 16px gutters on all screen sizes (Young feedback #1).
   Also clip any horizontal overflow from descendants so page never scrolls sideways (mobile fix). */
#content:has(.hr-page) {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-width: 0;
}

body:has(.hr-page) .ds-pre-expiry-root {
    margin-top: 0;
}

@media only screen and (min-width: 800px) {
    body:has(.header-row--marketplace) {
        margin-top: var(--marketplace-header-height);
    }
}

.hr-container {
    width: 100%;
    max-width: 1130px;
    margin: 0 auto;
    padding: 0 var(--space-8);
    min-width: 0;
    box-sizing: border-box;
}

.hr-section-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    text-align: center;
    margin: 0 0 var(--space-3);
}

.hr-section-subtitle {
    font-size: var(--font-size-md);
    color: var(--color-text-subtle);
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-8);
    line-height: var(--line-height-normal);
}

/* ============================================================
   1. HERO
   ============================================================ */
.hr-hero {
    background: var(--color-bg-inverse);
    color: var(--color-text-inverse);
    margin: 0 16px 16px;
    padding: 24px;
    border-radius: 24px;
    min-height: calc(100vh - 90px);
    min-height: calc(100svh - 90px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
}

.hr-hero h1,
.hr-hero h2,
.hr-hero a {
    color: var(--color-text-inverse);
}

.hr-hero p.hr-hero__subtitle {
    color: var(--color-text-inverse);
}

.hr-hero__title {
    color: var(--color-text-inverse);
    font-size: var(--font-size-6xl);
    font-weight: 900;
    line-height: 64px;
    text-align: center;
    margin: 0 auto var(--space-5);
    max-width: 920px;
    animation: hr-scale-in-up 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hr-scale-in-up {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hr-hero__accent {
    color: var(--color-brand-500);
}

.hr-hero__em {
    color: var(--color-text-inverse);
    font-style: italic;
}

.hr-hero__subtitle {
    font-size: var(--font-size-md);
    text-align: center;
    color: var(--color-text-inverse);
    opacity: 0.8;
    max-width: 720px;
    margin: 0 auto var(--space-20);
    animation: hr-fade-in-up-subtitle 600ms cubic-bezier(0.16, 1, 0.3, 1) 800ms both;
}

@keyframes hr-fade-in-up-subtitle {
    from {
        transform: scale(0.95) translateY(20px);
    }
    to {
        transform: scale(1) translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hr-hero__title,
    .hr-hero__subtitle {
        animation: none;
    }
}

/* Hero composite search bar (white pill on dark bg) */
.hr-hero__search {
    position: relative;
    display: flex;
    align-items: stretch;
    background: var(--color-bg-primary);
    border-radius: var(--radius-md);
    margin: 0 0 var(--space-5);
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    overflow: visible;
    height: 56px;
}

/* Custom platform dropdown trigger */
.hr-hero-search__platform {
    display: flex;
    align-items: center;
    padding: 0 var(--space-4);
    flex-shrink: 0;
    cursor: pointer;
    gap: var(--space-2);
    user-select: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.hr-hero-search__platform-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--color-text-subtle);
}

.hr-hero-search__platform-label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    color: var(--color-text-default);
    white-space: nowrap;
}

/* Dropdown panel — positioned relative to the search form */
.hr-platform-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + var(--space-2));
    left: 0;
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    list-style: none;
    margin: 0;
    padding: var(--space-1) 0;
    min-width: 200px;
    z-index: 200;
}

.hr-platform-dropdown.is-open {
    display: block;
}

.hr-platform-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
    color: var(--color-text-default);
    cursor: pointer;
    transition: background var(--duration-fast) var(--ease-out);
    white-space: nowrap;
}

.hr-platform-option:hover {
    background: var(--color-bg-secondary);
}

.hr-platform-option--active {
    font-weight: var(--font-weight-semibold);
    color: var(--color-brand-500);
}

.hr-hero-search__chev {
    pointer-events: none;
    color: var(--color-text-subtle);
    flex-shrink: 0;
}

.hr-hero-search__divider {
    width: 1px;
    align-self: stretch;
    background: var(--color-border-default);
    flex-shrink: 0;
    margin: var(--space-3) 0;
}

.hr-hero-search__input-wrap {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}

.hr-hero-search__input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    color: var(--color-text-default);
    font-size: var(--font-size-md);
    padding: 0 var(--space-4);
    outline: none;
    font-family: var(--font-family-base);
    min-width: 0;
    position: relative;
    z-index: 1;
}

.hr-hero-search__typed {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-subtle);
    font-size: var(--font-size-md);
    font-family: var(--font-family-base);
    pointer-events: none;
    white-space: nowrap;
    z-index: 2;
}

.hr-hero-search__typed::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 1em;
    background: var(--color-text-subtle);
    margin-left: 2px;
    vertical-align: middle;
    animation: hr-cursor-blink 1s steps(2, start) infinite;
}

@keyframes hr-cursor-blink {
    to { visibility: hidden; }
}

.hr-hero-search__input-wrap.is-typing .hr-hero-search__input::placeholder {
    color: transparent;
}

/* Niches popup (search dropdown) — sized to match the search form width */
.hr-niches-popup {
    display: none;
    position: absolute;
    top: calc(100% + var(--space-2));
    left: 0;
    width: 100%;
    background: var(--color-bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: var(--space-6);
    box-sizing: border-box;
    z-index: 150;
}

.hr-niches-popup.is-open {
    display: block;
}

.hr-niches-popup__label {
    font-size: var(--font-size-md);
    color: var(--gray-700);
    margin-bottom: var(--space-3);
}

.hr-niches-popup__suggested {
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border-default);
}

.hr-niches-popup__suggested[hidden] {
    display: none;
}

.hr-niches-popup__suggested-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hr-niches-popup__suggested-item {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: var(--font-size-md);
    color: var(--gray-800);
    cursor: pointer;
    font-family: inherit;
    transition: background 0.1s ease;
}

.hr-niches-popup__suggested-item:hover {
    background: var(--color-bg-secondary);
}

.hr-niches-popup__chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.hr-niches-popup .hr-niche-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 9px 16px 9px 14px;
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-md);
    background: var(--color-bg-primary);
    color: rgba(37, 43, 55, 0.8);
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-regular);
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    flex: 0 0 auto;
    width: auto;
}

.hr-niches-popup .hr-niche-chip:hover {
    background: var(--color-bg-secondary);
    border-color: #b8babe;
    color: var(--gray-800);
}

.hr-niches-popup .hr-niche-chip.is-selected {
    background: var(--gray-800);
    border-color: var(--gray-800);
    color: var(--color-text-inverse);
}

.hr-niches-popup .hr-niche-chip.is-selected img {
    filter: brightness(0) invert(1);
}

.hr-niches-popup .hr-niche-chip.is-selected:hover {
    background: #0e1117;
    border-color: #0e1117;
    color: var(--color-text-inverse);
}

.hr-niche-chip img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hr-hero-search__input::placeholder {
    color: var(--color-text-subtle);
}

.hr-hero-search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    background: var(--color-brand-500);
    color: var(--color-text-inverse);
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 0 var(--space-6);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: background var(--duration-fast) var(--ease-out);
    font-family: var(--font-family-base);
    flex-shrink: 0;
    white-space: nowrap;
}

.hr-hero-search__submit:hover {
    background: var(--color-brand-600);
}

.hr-hero__pills {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: var(--space-2);
    margin: 0 0 var(--space-8);
    width: 100%;
    overflow: hidden;
}

.hr-hero .hr-pill,
.hr-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 10px;
    border-radius: var(--radius-full);
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    line-height: 20px;
    text-decoration: none;
    border: 1px solid var(--gray-600);
    transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
    white-space: nowrap;
}

.hr-pill svg {
    width: 16px;
    height: 16px;
    color: currentColor;
    flex-shrink: 0;
    stroke-width: 1.5;
}

.hr-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-inverse);
}

.hr-pill:hover svg {
    color: var(--color-text-inverse);
}

.hr-hero__creators {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
}

/* Hero creator cards (dark-themed, photo bg) */
.hr-hero__creator {
    position: relative;
    width: 100%;
    /* Scale with viewport so hero+cards fit inside 100vh on shorter screens (laptops). */
    height: clamp(220px, 38vh, 282px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: block;
    background: var(--gray-800);
    color: var(--color-text-inverse);
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.hr-hero__creator-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

.hr-hero__creator-top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-3) var(--space-8);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.25) 60%, transparent);
}

.hr-hero__creator-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.hr-hero__creator-name {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    overflow-wrap: anywhere;
    min-width: 0;
}

.hr-hero__creator-tags {
    font-size: 10px;
    opacity: 0.85;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hr-hero__creator-platform {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--color-bg-primary);
    border-radius: var(--radius-full);
    padding: 3px 6px;
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    color: #222222;
    margin-top: 4px;
    align-self: flex-start;
}

.hr-hero__creator-price {
    position: relative;
    z-index: 2;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-inverse);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    flex-shrink: 0;
    white-space: nowrap;
}

.hr-hero__review-rotator {}

.hr-hero__creator-bottom {
    position: absolute;
    left: var(--space-3);
    bottom: var(--space-3);
    right: var(--space-3);
    z-index: 2;
    background: rgba(0, 0, 0, 0.35);
    color: var(--color-text-inverse);
    border-radius: 10px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    max-width: calc(100% - var(--space-6));
    overflow: hidden;
    min-height: 28px;
}

.hr-hero__creator-review {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.hr-hero__creator-review--hidden {
    transform: translateY(50%) scale(0.92);
    opacity: 0;
}

.hr-hero__creator-review--exiting {
    transform: translateY(-30%) scale(0.92);
    opacity: 0;
}

.hr-hero__creator-reviewer {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.hr-hero__creator-avatar {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.hr-hero__creator-reviewer-name {
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-inverse);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.hr-hero__creator-desc {
    font-size: 11px;
    font-weight: var(--font-weight-regular);
    color: rgba(255, 255, 255, 0.85);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-style: italic;
    padding-right: 0.2em;
}

/* ============================================================
   1b. TRUSTED BRANDS STRIP
   ============================================================ */
.hr-brands {
    background: var(--color-bg-primary);
    padding: var(--space-4) 0;
    margin-top: 12px;
}

.hr-brands__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    width: 100%;
    flex-wrap: wrap;
}

.hr-brands__label {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    line-height: 24px;
    color: var(--color-text-default);
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0;
}

.hr-brands__marquee {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.hr-brands__logos {
    display: flex;
    align-items: center;
    gap: var(--space-10);
    animation: hr-brands-marquee 25s linear infinite;
    width: max-content;
}

.hr-brands__logos img {
    height: 48px;
    max-height: 48px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

@keyframes hr-brands-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================================
   2. WORKFLOW TABS
   ============================================================ */
.hr-workflow {
    padding: var(--space-12) 0;
}

.hr-workflow__tabs {
    width: 100%;
}

/* Numbered pill tabs (Figma) */
.hr-tabpills {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1);
    background: var(--color-bg-inverse);
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-8);
    overflow-x: auto;
    scrollbar-width: none;
    max-width: 100%;
}

.hr-tabpills::-webkit-scrollbar { display: none; }

.hr-workflow .hr-tabpills-wrap {
    display: flex;
    justify-content: center;
}

.hr-workflow {
    text-align: center;
}

.hr-workflow > .hr-container > .hr-workflow__tabs .hr-workflow__panel {
    text-align: left;
}

.hr-tabpill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: var(--space-2) 10px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-full);
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.hr-tabpill:not(.hr-tabpill--active):hover {
    color: var(--color-text-inverse);
}

.hr-tabpill--active {
    background: var(--color-bg-primary);
    color: #0e1117;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.hr-tabpill__label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hr-tabpill__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
}

.hr-tabpill--active .hr-tabpill__num {
    background: var(--color-brand-500);
    color: var(--color-text-inverse);
}

.hr-workflow__panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    min-height: 420px;
    background: #d9d6fe;
    border-radius: 32px;
    padding: 48px;
}

.hr-workflow__panel--active {
    display: grid;
}

.hr-workflow__copy h3 {
    font-size: 38px;
    font-weight: var(--font-weight-bold);
    line-height: 43.7px;
    letter-spacing: -0.95px;
    color: #0e1117;
    margin: 0 0 var(--space-4);
}

.hr-workflow > .hr-container > .hr-section-title {
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    line-height: 60px;
    letter-spacing: -0.96px;
    color: #0e1117;
    max-width: 880px;
    margin: 0 auto var(--space-3);
}

.hr-workflow > .hr-container > .hr-section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 880px;
    margin: 0 auto var(--space-10);
}

.hr-workflow__copy p {
    font-size: 16.5px;
    color: var(--gray-600);
    line-height: var(--line-height-normal);
    margin: 0 0 var(--space-6);
}

.hr-feature-pills {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.hr-feature-pills li {
    background: #fff0f3;
    border-radius: var(--radius-full);
    padding: 6px 12px 6px 24px;
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-default);
    position: relative;
}

.hr-feature-pills li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-brand-500);
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.hr-link {
    display: none;
}

.hr-workflow__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hr-workflow__visual img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.hr-mockup {
    background: var(--color-bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    width: 100%;
    box-shadow: var(--shadow-md);
    color: var(--color-text-default);
    text-align: left;
}

/* 01 FIND mockup */
.hr-mockup--find {
    padding: var(--space-3);
}

.hr-mockup-find__bar {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--color-bg-secondary);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    color: var(--color-text-subtle);
    margin-bottom: var(--space-3);
}

.hr-mockup-find__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-2);
}

.hr-mockup-find__tile {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.hr-mockup-find__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hr-mockup-find__handle {
    position: absolute;
    left: var(--space-2);
    bottom: var(--space-2);
    color: var(--color-text-inverse);
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

/* 02 CAMPAIGN mockup */
.hr-mockup--campaign {
    padding: var(--space-5);
}

.hr-mockup-campaign__head {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.hr-mockup-campaign__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-brand-500);
    color: var(--color-text-inverse);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hr-mockup-campaign__eyebrow {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.5px;
}

.hr-mockup-campaign__title {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    background: var(--color-bg-secondary);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2);
}

.hr-mockup-campaign__tags {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.hr-mockup-campaign__tags span {
    font-size: var(--font-size-xs);
    color: var(--color-text-subtle);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    background: var(--color-bg-secondary);
}

.hr-mockup-campaign__applicants {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
}

.hr-mockup-campaign__label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

.hr-mockup-campaign__new {
    background: var(--color-brand-500);
    color: var(--color-text-inverse);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
}

.hr-mockup-campaign__avatars {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.hr-mockup-campaign__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: -8px;
    border: 2px solid var(--color-bg-primary);
}

.hr-mockup-campaign__avatar:first-child { margin-left: 0; }

.hr-mockup-campaign__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hr-mockup-campaign__more {
    font-size: var(--font-size-xs);
    color: var(--color-text-subtle);
    margin-left: var(--space-2);
}

/* 03 CHAT mockup */
.hr-mockup--chat {
    padding: var(--space-4);
}

.hr-mockup-chat__head {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-bottom: var(--space-3);
    border-bottom: var(--border-width-1) solid var(--color-border-default);
    margin-bottom: var(--space-3);
}

.hr-mockup-chat__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--orange-300);
}

.hr-mockup-chat__head strong {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

.hr-mockup-chat__head small {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--font-size-xs);
    color: var(--color-text-subtle);
}

.hr-mockup-chat__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-success-500);
    display: inline-block;
}

.hr-mockup-chat__bubble {
    max-width: 80%;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-xs);
    margin-bottom: var(--space-2);
    line-height: var(--line-height-normal);
}

.hr-mockup-chat__bubble--in {
    background: var(--color-bg-secondary);
    color: var(--color-text-default);
    border-bottom-left-radius: var(--radius-sm);
}

.hr-mockup-chat__bubble--out {
    background: var(--color-bg-inverse);
    color: var(--color-text-inverse);
    margin-left: auto;
    border-bottom-right-radius: var(--radius-sm);
}

.hr-mockup-chat__accepted {
    display: inline-block;
    margin-top: var(--space-2);
    background: var(--color-brand-100);
    color: var(--color-brand-500);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
}

/* 04 ORDER mockup */
.hr-mockup--order {
    padding: var(--space-5);
}

.hr-mockup-order__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.hr-mockup-order__id {
    font-size: var(--font-size-xs);
    color: var(--color-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hr-mockup-order__creator {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    margin-top: var(--space-1);
}

.hr-mockup-order__price {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--font-size-sm);
    color: var(--color-text-default);
    margin-top: var(--space-1);
}

.hr-mockup-order__pills {
    display: flex;
    gap: var(--space-2);
}

.hr-mockup-order__pill {
    font-size: 10px;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-semibold);
}

.hr-mockup-order__pill--escrow {
    background: var(--color-success-100);
    color: var(--color-text-success);
}

.hr-mockup-order__pill--progress {
    background: var(--color-info-200);
    color: var(--blue-700, #1849A9);
}

.hr-mockup-order__warn {
    background: var(--color-bg-secondary);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
    font-size: var(--font-size-sm);
}

.hr-mockup-order__warn a {
    color: var(--color-text-default);
    text-decoration: underline;
    font-size: var(--font-size-sm);
}

.hr-mockup-order__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.hr-mockup-order__btn {
    padding: var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    border: var(--border-width-1) solid var(--color-border-default);
    text-align: center;
}

.hr-mockup-order__btn--primary {
    background: var(--color-bg-inverse);
    color: var(--color-text-inverse);
    border-color: var(--color-bg-inverse);
}

.hr-mockup-order__btn--secondary {
    background: var(--color-bg-primary);
    color: var(--color-text-default);
}

/* 05 ANALYTICS mockup */
.hr-mockup--analytics {
    padding: var(--space-5);
}

.hr-mockup-analytics__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-4);
}

.hr-mockup-analytics__label {
    font-size: var(--font-size-xs);
    color: var(--color-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hr-mockup-analytics__value {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-top: var(--space-1);
}

.hr-mockup-analytics__delta {
    background: var(--color-success-100);
    color: var(--color-text-success);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
}

.hr-mockup-analytics__spark {
    width: 100%;
    height: 80px;
    display: block;
    margin-bottom: var(--space-4);
}

.hr-mockup-analytics__metrics {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-2);
}

.hr-mockup-analytics__metrics > div {
    background: var(--color-bg-secondary);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    text-align: center;
}

.hr-mockup-analytics__metrics strong {
    display: block;
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
}

.hr-mockup-analytics__metrics small {
    font-size: var(--font-size-xs);
    color: var(--color-text-subtle);
}

/* 06 TEAM mockup */
.hr-mockup--team {
    padding: var(--space-4);
}

.hr-mockup-team__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-3);
    border-bottom: var(--border-width-1) solid var(--color-border-default);
    margin-bottom: var(--space-2);
}

.hr-mockup-team__head strong {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

.hr-mockup-team__head small {
    font-size: var(--font-size-xs);
    color: var(--color-text-subtle);
}

.hr-mockup-team__row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
}

.hr-mockup-team__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--color-text-inverse);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
    flex-shrink: 0;
}

.hr-mockup-team__avatar--m { background: var(--color-brand-500); }
.hr-mockup-team__avatar--d { background: var(--brand-purple-500); }
.hr-mockup-team__avatar--j { background: #4d6bff; }
.hr-mockup-team__avatar--p { background: var(--orange-400); }

.hr-mockup-team__row > div {
    flex: 1;
}

.hr-mockup-team__row strong {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

.hr-mockup-team__row small {
    font-size: var(--font-size-xs);
    color: var(--color-text-subtle);
}

.hr-mockup-team__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-success-500);
}

.hr-mockup-team__invite {
    width: 100%;
    margin-top: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    background: var(--color-brand-100);
    color: var(--color-brand-500);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    border: none;
    cursor: pointer;
}

/* 07 ROSTER mockup */
.hr-mockup--roster {
    padding: var(--space-4);
}

.hr-mockup-roster__head {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-3);
}

.hr-mockup-roster__filters {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.hr-mockup-roster__filter {
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    background: var(--color-bg-secondary);
    color: var(--color-text-subtle);
}

.hr-mockup-roster__filter--active {
    background: var(--color-bg-inverse);
    color: var(--color-text-inverse);
}

.hr-mockup-roster__row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: var(--space-3);
    align-items: center;
    padding: var(--space-2) 0;
    font-size: var(--font-size-sm);
    border-bottom: var(--border-width-1) solid var(--color-border-default);
}

.hr-mockup-roster__row:last-child {
    border-bottom: none;
}

.hr-mockup-roster__tag {
    font-size: 10px;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-semibold);
}

.hr-mockup-roster__tag--mp {
    background: var(--color-info-200);
    color: var(--blue-700, #1849A9);
}

.hr-mockup-roster__tag--off {
    background: var(--color-brand-100);
    color: var(--color-brand-500);
}

/* ============================================================
   3. TRUST + STATS
   ============================================================ */
.hr-trust {
    padding: var(--space-12) 0;
    background: var(--color-bg-primary);
}

.hr-trust > .hr-container > .hr-section-title {
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    line-height: 60px;
    letter-spacing: -0.96px;
    color: #0e1117;
    max-width: 880px;
    margin: 0 auto var(--space-3);
}

.hr-trust > .hr-container > .hr-section-subtitle {
    font-size: 18px;
    line-height: 28px;
    color: var(--gray-600);
    max-width: 880px;
    margin: 0 auto var(--space-10);
}

/* Asymmetric 2-row grid per Figma 887:4664. Row 1 = wide+narrow, Row 2 = narrow+wide. */
.hr-stats {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
}

.hr-stat {
    background: var(--color-bg-secondary);
    border-radius: 40px;
    height: 245px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.hr-stat--wide { grid-column: span 8; }
.hr-stat--narrow { grid-column: span 4; }

/* Big cards with right-side decoration: copy left, deco right (Figma 887:4628 spec) */
.hr-stat--with-deco { justify-content: space-between; }

.hr-stat__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 36px 24px;
    flex: 0 1 auto;
    text-align: center;
    min-width: 0;
}

.hr-stat--with-deco .hr-stat__copy {
    flex: 0 1 395px;
    max-width: 50%;
}

.hr-stat__num {
    font-size: 46px;
    font-weight: var(--font-weight-bold);
    line-height: 46px;
    letter-spacing: -1.38px;
    color: #0e1117;
    white-space: nowrap;
}

.hr-stat__label {
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    line-height: 20.93px;
    color: var(--gray-600);
    text-align: center;
    margin: 0;
}

.hr-stat__deco {
    display: flex;
    align-items: flex-end;
    flex: 0 0 auto;
}

/* Row 1 right: 4 pink-bordered profile pics, 2×2 asymmetric grid per Figma 887:4634.
   Sizes / radii follow Figma exactly: TL 110×106 r29, TR 78×77 r29, BL 110×77 r29, BR 87×103 r18. */
.hr-stat__deco--avatars {
    display: grid;
    grid-template-columns: 110px 87px;
    grid-template-rows: 106px 103px;
    gap: 10px;
    flex: 0 0 auto;
}

.hr-stat__avatar {
    border: 1px solid #eb279d;
    object-fit: cover;
    box-sizing: border-box;
}

.hr-stat__avatar--a { grid-area: 1 / 1; width: 110px; height: 106px; border-radius: 29px; }
.hr-stat__avatar--b { grid-area: 1 / 2; width: 78px;  height: 77px;  border-radius: 29px; align-self: center; justify-self: end; }
.hr-stat__avatar--c { grid-area: 2 / 1; width: 110px; height: 77px;  border-radius: 29px; align-self: end; }
.hr-stat__avatar--d { grid-area: 2 / 2; width: 87px;  height: 103px; border-radius: 18px; align-self: end; justify-self: end; }

/* Row 2 right: 4 tilted review screenshots overlapping diagonally, clipped by card overflow (Figma 887:4652).
   Anchored to RIGHT edge so cluster hugs right side at any card width. Widths are % of card. Tops are raw px
   (card height locked at ~245px = Figma). Right offsets derived from Figma 945w card so they scale relatively. */
.hr-stat__deco--reviews {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hr-stat__review {
    position: absolute;
    height: auto;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    transform-origin: center;
}

/* Reviews scaled UP from Figma % so rotated bboxes reach above card top + past card bottom (Figma image's
   relative w/card_h ratio preserved since card height locked 245px). Right offsets keep cluster mostly out
   of copy zone; Michelle's left edge intentionally overlaps copy area per Figma intent. */
.hr-stat__review--1 { right: 33%; top: -5px;  width: 25%; transform: rotate(-15deg);    z-index: 1; }
.hr-stat__review--2 { right: 24%; top: 30px;  width: 30%; transform: rotate(-15.58deg); z-index: 2; }
.hr-stat__review--3 { right: 13%; top: 75px;  width: 35%; transform: rotate(-15deg);    z-index: 3; }
.hr-stat__review--4 { right: 6%;  top: 115px; width: 36%; transform: rotate(-14.24deg); z-index: 4; }

/* ============================================================
   4. CONTRAST
   ============================================================ */
.hr-contrast {
    padding: var(--space-10) 0;
}

.hr-contrast__card {
    background: var(--color-bg-secondary);
    border-radius: 32px;
    padding: 24px 32px;
    display: grid;
    grid-template-columns: 417fr 784fr;
    gap: 47px;
    align-items: center;
}

.hr-contrast__copy {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hr-contrast__copy h2 {
    font-size: 40px;
    font-weight: var(--font-weight-bold);
    line-height: 46px;
    letter-spacing: -1px;
    color: var(--gray-900);
    margin: 0;
}

.hr-contrast__copy p {
    font-size: 15px;
    line-height: 23.25px;
    color: var(--gray-600);
    margin: 0;
}

.hr-contrast__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-inverse);
    color: var(--color-text-inverse);
    border-radius: 8px;
    padding: 0 32px;
    height: 52px;
    width: fit-content;
    min-width: 180px;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: 20px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.hr-contrast__cta:hover {
    background: #555555;
    color: var(--color-text-inverse);
}

.hr-contrast__visual {
    width: 100%;
    height: 492px;
    border-radius: 32px;
    overflow: hidden;
    background: #ffc0cb;
}

.hr-contrast__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hr-contrast__cluster {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
    align-items: center;
}

.hr-tool-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--color-bg-primary);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
}

/* ============================================================
   5. DARK STAT BLOCK
   ============================================================ */
.hr-stat-dark {
    padding: var(--space-10) 0;
}

.hr-stat-dark__card {
    background: var(--color-bg-inverse);
    color: var(--color-text-inverse);
    border-radius: 24px;
    padding: 24px 32px;
    display: grid;
    grid-template-columns: 784fr 405fr;
    gap: 47px;
    align-items: center;
}

.hr-stat-dark__visual {
    width: 100%;
    height: 492px;
    background: var(--color-bg-primary);
    border-radius: 32px;
    overflow: hidden;
    padding: 32px 120px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hr-stat-dark__video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.hr-stat-dark__copy {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hr-stat-dark__card h2 {
    font-size: 40px;
    font-weight: 900;
    line-height: 46px;
    letter-spacing: -1px;
    color: var(--color-text-inverse);
    margin: 0;
}

.hr-stat-dark__was {
    color: rgba(255, 255, 255, 0.4);
    text-decoration-thickness: 2px;
}

.hr-stat-dark__card p {
    font-size: 15px;
    line-height: 23.25px;
    color: var(--color-text-inverse);
    margin: 0;
}

.hr-stat-dark__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-primary);
    color: var(--color-text-default);
    border-radius: 8px;
    padding: 0 32px;
    height: 52px;
    width: fit-content;
    min-width: 180px;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: 20px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.hr-stat-dark__cta:hover {
    background: var(--color-bg-secondary);
    color: var(--color-text-default);
}

/* ============================================================
   6. TESTIMONIALS
   ============================================================ */
.hr-testimonials {
    padding: var(--space-12) 0;
}

.hr-testimonials > .hr-container > .hr-section-title {
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    line-height: 60px;
    letter-spacing: -0.96px;
    color: #0e1117;
    margin: 0 auto var(--space-10);
}

.hr-testimonial-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

/* Testimonial carousel */
.hr-testimonial-carousel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.hr-testimonial-carousel__viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.hr-testimonial-carousel__controls {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
}

.hr-testimonial-carousel__track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.hr-testimonial-carousel__track > .ds-testimonial {
    flex: 0 0 100%;
    min-width: 100%;
}

.hr-testimonial-carousel__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border-default);
    background: var(--color-bg-primary);
    color: var(--color-text-default);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.hr-testimonial-carousel__nav:hover:not(:disabled) {
    background: var(--color-bg-inverse);
    color: var(--color-text-inverse);
    border-color: var(--color-text-default);
}

.hr-testimonial-carousel__nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.hr-testimonial-carousel__nav--prev {}

.hr-testimonial-carousel__nav--next {}

/* ============================================================
   7. PERSONAS
   ============================================================ */
.hr-personas {
    padding: var(--space-12) 0;
}

.hr-personas > .hr-container > .hr-section-title {
    font-size: 40px;
    font-weight: var(--font-weight-bold);
    line-height: 37.5px;
    letter-spacing: -0.75px;
    color: var(--color-text-default);
    margin: 0 auto 32px;
}

.hr-personas__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.hr-persona {
    border-radius: 32px;
    padding: 36px 24px;
    color: #222222;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hr-persona__title {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: #222222;
    margin: 0;
    line-height: 1.2;
}

.hr-persona__desc {
    font-size: 12px;
    color: var(--gray-700);
    margin: 0;
    line-height: 1.5;
}

.hr-persona__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    border: 1px solid var(--gray-700);
    border-radius: 41px;
    background: transparent;
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-default);
    text-decoration: none;
    align-self: flex-start;
    margin-top: auto;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.hr-persona__cta:hover {
    background: var(--color-bg-inverse);
    color: var(--color-text-inverse);
}

.hr-persona--marketing { background: rgba(251, 102, 157, 0.8); }
.hr-persona--agencies { background: #a4bcfd; }
.hr-persona--founders { background: #bdb4fe; }
.hr-persona--enterprise { background: rgba(253, 133, 58, 0.8); }

.hr-persona__mockup {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 2;
    width: 100%;
    overflow: hidden;
}

.hr-persona__mockup img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

/* Mockup: search list */
.hr-mockup-search__bar {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--color-bg-secondary);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    color: var(--color-text-subtle);
    margin-bottom: var(--space-3);
}

.hr-mockup-search__row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    font-size: var(--font-size-xs);
}

.hr-mockup-search__avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hr-mockup-search__avatar--1 { background: var(--orange-300); }
.hr-mockup-search__avatar--2 { background: var(--blue-200); }
.hr-mockup-search__avatar--3 { background: #d4cfff; }

.hr-mockup-search__info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hr-mockup-search__info strong {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
}

.hr-mockup-search__info small {
    font-size: 10px;
    color: var(--color-text-subtle);
}

.hr-mockup-search__price {
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xs);
}

/* Mockup: brief card */
.hr-mockup-brief__top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-2);
    align-items: start;
    margin-bottom: var(--space-3);
}

.hr-mockup-brief__icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--orange-300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-inverse);
}

.hr-mockup-brief__title {
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xs);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-1);
}

.hr-mockup-brief__meta {
    font-size: 10px;
    color: var(--color-text-subtle);
}

.hr-mockup-brief__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    background: var(--color-success-100);
    color: var(--color-text-success);
    border-radius: var(--radius-full);
    padding: var(--space-1) var(--space-2);
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

.hr-mockup-brief__skeleton {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.hr-mockup-brief__skeleton span {
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--color-bg-secondary);
}

.hr-mockup-brief__skeleton span:nth-child(1) { width: 90%; }
.hr-mockup-brief__skeleton span:nth-child(2) { width: 75%; }
.hr-mockup-brief__skeleton span:nth-child(3) { width: 85%; }
.hr-mockup-brief__skeleton span:nth-child(4) { width: 60%; }

/* Mockup: chart */
.hr-mockup-chart {
    background: var(--color-bg-inverse);
    color: var(--color-text-inverse);
    border-radius: var(--radius-md);
    padding: var(--space-3);
}

.hr-mockup-chart__head {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-xs);
    margin-bottom: var(--space-3);
}

.hr-mockup-chart__up {
    color: var(--color-success-500);
}

.hr-mockup-chart__bars {
    display: flex;
    align-items: flex-end;
    gap: var(--space-1);
    height: 80px;
    margin-bottom: var(--space-3);
}

.hr-mockup-chart__bars span {
    flex: 1;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.hr-mockup-chart__bars span.hr-mockup-chart__bar--accent {
    background: var(--orange-400);
}

.hr-mockup-chart__regions {
    display: flex;
    gap: var(--space-1);
    font-size: var(--font-size-xs);
}

.hr-mockup-chart__regions span {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
}

/* Mockup: brands list */
.hr-mockup-brands__row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2);
}

.hr-mockup-brands__row--active {
    background: var(--color-bg-inverse);
    color: var(--color-text-inverse);
}

.hr-mockup-brands__chip {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
    color: var(--color-text-inverse);
    flex-shrink: 0;
}

.hr-mockup-brands__chip--a { background: var(--orange-400); }
.hr-mockup-brands__chip--b { background: var(--brand-purple-500); }
.hr-mockup-brands__chip--c { background: #6f8af0; }

.hr-mockup-brands__info {
    flex: 1;
}

.hr-mockup-brands__info strong {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

.hr-mockup-brands__info small {
    font-size: var(--font-size-xs);
    opacity: 0.7;
}

.hr-mockup-brands__chevron {
    color: var(--color-text-subtle);
    font-size: var(--font-size-lg);
    opacity: 0.6;
}

.hr-mockup-brands__row--active .hr-mockup-brands__chevron {
    color: var(--color-text-inverse);
}

/* ============================================================
   8. FINAL CTA
   ============================================================ */
.hr-final-cta {
    padding: var(--space-12) 0 var(--space-16);
}

.hr-final-cta__card {
    background: var(--color-bg-inverse);
    color: var(--color-text-inverse);
    border-radius: 24px;
    padding: 64px 40px;
    text-align: center;
}

.hr-final-cta__card h2 {
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    line-height: 60px;
    letter-spacing: -1.2px;
    color: var(--color-text-inverse);
    margin: 0 0 var(--space-5);
}

.hr-final-cta__card h2 em {
    color: var(--color-brand-500);
    font-style: italic;
}

.hr-final-cta__card p {
    font-size: 16px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 644px;
    margin: 0 auto var(--space-8);
}

.hr-final-cta__actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    margin-bottom: var(--space-6);
}

.hr-final-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 32px;
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.hr-final-cta__btn--primary {
    background: var(--color-bg-primary);
    color: #111111;
    font-weight: var(--font-weight-semibold);
    min-width: 216px;
}

.hr-final-cta__btn--primary:hover {
    background: var(--color-bg-secondary);
    color: #111111;
}

.hr-final-cta__btn--secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.8);
    font-weight: var(--font-weight-medium);
}

.hr-final-cta__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-inverse);
    border-color: rgba(255, 255, 255, 0.4);
}

.hr-final-cta__footnotes {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
    justify-content: center;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.66);
}

/* ============================================================
   RESPONSIVE - MOBILE
   ============================================================ */
@media (max-width: 768px) {
    .hr-container {
        padding: 0 var(--space-4);
    }

    .hr-hero {
        margin: 0 16px 16px;
        padding: var(--space-10) 0 var(--space-8);
    }

    /* Tighter section padding on mobile (was 48-64px → 24px each side) */
    .hr-workflow,
    .hr-trust,
    .hr-contrast,
    .hr-stat-dark,
    .hr-testimonials,
    .hr-personas {
        padding: 24px 0;
    }

    .hr-final-cta {
        padding: 16px 0 32px;
    }

    .hr-hero__title {
        font-size: 40px;
        font-weight: 900;
        line-height: 45px;
        letter-spacing: -0.8px;
    }

    .hr-hero__subtitle {
        font-size: 14px;
        line-height: 19px;
        margin-bottom: var(--space-10);
    }

    /* Search bar: single row, icon-only submit */
    .hr-hero__search {
        flex-wrap: nowrap;
        border-radius: var(--radius-md);
        height: 56px;
        padding: 0;
        gap: 0;
    }

    .hr-hero-search__divider {
        display: block;
    }

    .hr-hero-search__platform {
        width: auto;
        border-radius: var(--radius-md) 0 0 var(--radius-md);
        padding: 0 12px;
        border-bottom: none;
        gap: 4px;
    }

    .hr-hero-search__platform-label {
        font-size: 13px;
    }

    .hr-hero-search__input-wrap {
        flex: 1;
        min-width: 0;
    }

    /* Popover spans full search bar width on mobile.
       Popup lives inside .hr-hero-search__input-wrap, which sits right of the platform selector.
       Pull it left by approximately the platform-selector width and stretch to form width. */
    .hr-niches-popup {
        left: -110px;
        right: -53px;
        width: auto;
        max-width: none;
        transform: none;
        padding: 12px;
        border-radius: 12px;
    }

    .hr-niches-popup__label {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .hr-niches-popup__chips {
        gap: 6px;
    }

    .hr-niches-popup .hr-niche-chip {
        padding: 6px 10px;
        font-size: 12px;
        gap: 6px;
        border-radius: 8px;
    }

    .hr-niche-chip img {
        width: 16px;
        height: 16px;
    }

    .hr-hero-search__input {
        width: 100%;
        padding: 0 12px;
        font-size: 14px;
    }

    .hr-hero-search__submit {
        width: 53px;
        justify-content: center;
        border-radius: 0 var(--radius-md) var(--radius-md) 0;
        padding: 0;
        flex-shrink: 0;
    }

    .hr-hero-search__submit span {
        display: none;
    }

    /* Pills: horizontal scroll */
    .hr-hero__pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .hr-hero__pills::-webkit-scrollbar {
        display: none;
    }

    .hr-pill {
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    /* Creator cards: horizontal scroll. width: 100% ensures it does not expand beyond hero width. */
    .hr-hero__creators {
        display: flex;
        gap: 12px;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding: 0 var(--space-4);
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .hr-hero__creators::-webkit-scrollbar {
        display: none;
    }

    .hr-hero__creator {
        flex-shrink: 0;
        width: 276px;
        height: 282px;
        scroll-snap-align: start;
    }

    .hr-hero__creator:nth-child(n+2) {
        display: block;
    }

    .hr-section-title {
        font-size: var(--font-size-2xl);
    }

    .hr-workflow__tablist {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .hr-workflow__panel--active {
        grid-template-columns: 1fr;
        padding: var(--space-6);
    }

    .hr-stats,
    .hr-contrast__card,
    .hr-personas__grid {
        grid-template-columns: 1fr;
    }

    .hr-testimonial {
        grid-template-columns: 1fr;
    }

    .hr-stat-dark__card h2,
    .hr-final-cta__card h2 {
        font-size: var(--font-size-3xl);
    }

    .hr-final-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hr-final-cta__footnotes {
        flex-direction: column;
        gap: var(--space-2);
    }

    /* ─── Brands strip ─── */
    .hr-brands {
        padding: 14px 0 24px;
    }

    .hr-brands__inner {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .hr-brands__label {
        text-align: center;
    }

    .hr-brands__marquee {
        width: 100%;
        overflow: hidden;
        mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    }

    .hr-brands__logos {
        width: max-content;
        flex-wrap: nowrap;
        animation: hr-brands-marquee 20s linear infinite;
        gap: var(--space-8);
    }

    /* ─── Workflow section ─── */
    .hr-workflow > .hr-container > .hr-section-title {
        font-size: 24px;
        line-height: 32px;
        letter-spacing: 0;
    }

    .hr-workflow > .hr-container > .hr-section-subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .hr-workflow__panel {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 24px;
        border-radius: 32px;
        min-height: 0;
    }

    /* Image first, text below on mobile */
    .hr-workflow__visual {
        order: -1;
    }

    .hr-workflow__copy h3 {
        font-size: 24px;
        line-height: 32px;
        letter-spacing: -0.3px;
    }

    .hr-workflow__copy p {
        font-size: 16.5px;
        line-height: 26.4px;
    }

    .hr-feature-pills li {
        font-size: 12.5px;
        padding: 6px 12px 6px 24px;
    }

    .hr-tabpills {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .hr-tabpills::-webkit-scrollbar {
        display: none;
    }

    .hr-tabpill {
        flex-shrink: 0;
        scroll-snap-align: start;
        color: #b5b5b5;
    }

    /* ─── Trust stats ─── */
    .hr-trust > .hr-container > .hr-section-title {
        font-size: 24px;
        line-height: 32px;
        letter-spacing: 0;
    }

    .hr-trust > .hr-container > .hr-section-subtitle {
        font-size: 18px;
        line-height: 28px;
    }

    .hr-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hr-stat {
        padding: 32px 24px;
        gap: 16px;
        border-radius: 24px;
        height: auto;
        min-height: 0;
        flex-direction: column;
        justify-content: center;
    }

    .hr-stat--wide,
    .hr-stat--narrow {
        grid-column: span 1;
    }

    .hr-stat--with-deco {
        justify-content: center;
    }

    .hr-stat__copy {
        padding: 8px 0;
        width: 100%;
    }

    .hr-stat--with-deco .hr-stat__copy {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .hr-stat__num {
        font-size: 36px;
        line-height: 40px;
    }

    .hr-stat__deco--avatars {
        grid-template-columns: 80px 66px;
        grid-template-rows: 78px 78px;
        gap: 8px;
        justify-content: center;
        align-content: center;
    }

    .hr-stat__avatar--a { width: 80px; height: 78px; border-radius: 20px; }
    .hr-stat__avatar--b { width: 60px; height: 60px; border-radius: 20px; align-self: center; justify-self: end; }
    .hr-stat__avatar--c { width: 80px; height: 60px; border-radius: 20px; align-self: end; }
    .hr-stat__avatar--d { width: 66px; height: 78px; border-radius: 14px; align-self: end; justify-self: end; }

    /* Mobile: review-card decoration becomes own block (not absolute over card). Diagonal cascade centered. */
    .hr-stat__deco--reviews {
        position: relative;
        inset: auto;
        width: 100%;
        height: 170px;
    }

    .hr-stat__review--1 { right: 53%; top: 0;    width: 34%; }
    .hr-stat__review--2 { right: 36%; top: 24px; width: 40%; }
    .hr-stat__review--3 { right: 14%; top: 52px; width: 46%; }
    .hr-stat__review--4 { right: 1%;  top: 82px; width: 46%; }

    .hr-persona__mockup img {
        width: 100%;
    }

    /* ─── Contrast section ─── */
    .hr-contrast__card {
        grid-template-columns: 1fr;
        padding: 24px 16px;
        gap: 47px;
        border-radius: 32px;
    }

    .hr-contrast__copy {
        gap: 16px;
    }

    .hr-contrast__copy h2 {
        font-size: 24px;
        line-height: 32px;
        letter-spacing: 0;
    }

    .hr-contrast__cta {
        width: 202px;
        max-width: 100%;
    }

    .hr-contrast__visual {
        height: auto;
        aspect-ratio: 352 / 217;
    }

    /* ─── 40hr dark stat ─── */
    .hr-stat-dark__card {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
        border-radius: 20px;
    }

    .hr-stat-dark__visual {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .hr-stat-dark__copy {
        gap: 16px;
    }

    .hr-stat-dark__card h2 {
        font-size: 28px;
        line-height: 34px;
        letter-spacing: -0.5px;
    }

    .hr-stat-dark__cta {
        width: 100%;
        max-width: 280px;
    }

    /* ─── Testimonials carousel ─── */
    .hr-testimonials > .hr-container > .hr-section-title {
        font-size: 24px;
        line-height: 32px;
        letter-spacing: 0;
        color: #0e1117;
        margin-bottom: var(--space-6);
    }

    /* ─── Personas ─── */
    .hr-personas > .hr-container > .hr-section-title {
        font-size: 28px;
        line-height: 34px;
        letter-spacing: -0.5px;
        margin-bottom: var(--space-6);
    }

    .hr-personas__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hr-persona {
        min-height: auto;
        padding: 32px 24px;
        gap: 20px;
        border-radius: 24px;
    }

    .hr-persona__title {
        font-size: 22px;
    }

    /* ─── Final CTA ─── */
    .hr-final-cta__card {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .hr-final-cta__card h2 {
        font-size: 48px;
        line-height: 60px;
        letter-spacing: -1.2px;
    }

    .hr-final-cta__card p {
        font-size: 16px;
        line-height: 26px;
    }

    .hr-final-cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .hr-final-cta__btn,
    .hr-final-cta__btn--primary,
    .hr-final-cta__btn--secondary {
        width: 217px;
        height: 47px;
        min-width: 0;
        max-width: 100%;
    }
}

/* ── Feature tour: sliding tab indicator + panel slide-in ── */
.hr-tabpills {
    position: relative;
}

.hr-tabpills__indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background: var(--color-bg-primary);
    border-radius: var(--radius-full);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s cubic-bezier(0.4, 0, 0.2, 1), height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
}

.hr-tabpill {
    position: relative;
    z-index: 1;
}

.hr-tabpill--active {
    background: transparent;
    box-shadow: none;
    color: #0e1117;
}

.hr-workflow__panel--active {
    animation: hr-tour-panel-in 0.4s ease;
}

@keyframes hr-tour-panel-in {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
