:root {
    --hero-display: "Literata", serif;
    --hero-ink: #1f1b18;
    --hero-accent: #c35a32;
}

/* Hero headlines — Literata display */
h1.hero-headline,
.hero-headline,
.index2-headline {
    margin-left: auto;
    margin-right: auto;
    font-family: var(--hero-display);
    font-size: clamp(2rem, 4.15vw, 3.5rem);
    font-weight: 500;
    font-style: normal;
    line-height: 1.02;
    letter-spacing: -0.022em;
    color: #1f1b18;
    text-align: center;
    max-width: 980px;
}

.hero-headline em,
.hero-headline-accent,
.index2-headline-accent {
    font-family: inherit;
    font-style: normal;
    color: var(--hero-accent, #c35a32);
}

body.index2-hero-color--a .hero-headline em,
body.index2-hero-color--a .hero-headline-accent,
body.index2-hero-color--a .index2-headline-accent {
    color: #1f1b18;
}

@media (min-width: 768px) and (max-width: 1080px) {
    h1.hero-headline,
    .hero-headline,
    .index2-headline {
        font-size: clamp(48px, 7vw, 72px);
    }
}

@media (max-width: 767px) {
    h1.hero-headline,
    .hero-headline,
    .index2-headline {
        font-size: clamp(38px, 10vw, 52px);
        line-height: 1.02;
    }
}


.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.status-pill--new {
    background: #f1f3f6;
    color: #66707d;
    border-color: #e3e7ec;
}

.status-pill--contacted {
    background: #edf4ff;
    color: #2f67d8;
    border-color: #d7e6ff;
}

.status-pill--matched {
    background: #ebf8ef;
    color: #1f8b4c;
    border-color: #ccefd8;
}

.status-pill--closed {
    background: #ececec;
    color: #3f3f3f;
    border-color: #dddddd;
}

.status-pill--rejected {
    background: #fff0f0;
    color: #cc4343;
    border-color: #f6d3d3;
}

.status-pill--imported {
    background: #f3edff;
    color: #6b46c1;
    border-color: #e3d6ff;
}


.profile-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(145deg, #f7f3ee, #efe7dc);
    border: 1px solid rgba(36, 25, 22, 0.08);
    color: #8a817b;
    font-weight: 800;
    letter-spacing: -0.02em;
    box-shadow: 0 2px 8px rgba(36, 25, 22, 0.06);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-avatar-initials {
    line-height: 1;
    user-select: none;
}

.profile-avatar--sm {
    width: 60px;
    height: 60px;
    font-size: 12px;
}

.profile-avatar--md {
    width: 56px;
    height: 56px;
    font-size: 14px;
}

.profile-avatar--lg {
    width: 88px;
    height: 88px;
    font-size: 20px;
}

.profile-avatar--xl {
    width: 120px;
    height: 120px;
    font-size: 28px;
}


.availability-grid {
    margin-top: 10px;
    padding: 14px;
    border-radius: 16px;
    background: #faf8f5;
    border: 1px solid rgba(36, 25, 22, 0.05);
}

.availability-grid-head,
.availability-grid-row {
    display: grid;
    grid-template-columns: 84px repeat(7, 1fr);
    gap: 6px;
    align-items: center;
    margin: 8px 0;
}

.availability-grid-head span {
    font-size: 10px;
    font-weight: 800;
    color: #8a817b;
    text-transform: uppercase;
    text-align: center;
}

.availability-grid-label {
    font-size: 12px;
    font-weight: 700;
    color: #6f6762;
}

.availability-cell {
    display: block;
    height: 18px;
    border-radius: 6px;
    background: #ece7e1;
}

.availability-cell--parent {
    background: #fdeee4;
    box-shadow: inset 0 0 0 1px rgba(214, 109, 69, 0.18);
}

.availability-cell--sitter {
    background: #ece8ff;
    box-shadow: inset 0 0 0 1px rgba(124, 77, 255, 0.16);
}

.availability-cell--overlap {
    background: linear-gradient(135deg, #d8f3e2, #efe9ff);
    box-shadow: inset 0 0 0 1px rgba(31, 139, 76, 0.18);
}

.availability-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    color: #8a817b;
    font-size: 11px;
    font-weight: 700;
}

.availability-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.availability-dot {
    width: 10px;
    height: 10px;
    border-radius: 4px;
    display: inline-block;
}

.availability-dot--parent {
    background: #fdeee4;
}

.availability-dot--sitter {
    background: #ece8ff;
}

.availability-dot--overlap {
    background: linear-gradient(135deg, #d8f3e2, #efe9ff);
}


.reputation-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    border: 1px solid transparent;
}

.reputation-badge--large {
    font-size: 13px;
    padding: 8px 14px;
}

.reputation-badge--excellent {
    background: #ebf8ef;
    color: #1f8b4c;
    border-color: #ccefd8;
}

.reputation-badge--reliable {
    background: #edf4ff;
    color: #2f67d8;
    border-color: #d7e6ff;
}

.reputation-badge--neutral {
    background: #f1f3f6;
    color: #66707d;
    border-color: #e3e7ec;
}

.reputation-badge--needs_review {
    background: #fff6ea;
    color: #a05f1d;
    border-color: #f2dfc4;
}

.reputation-badge--risky {
    background: #fff0f0;
    color: #cc4343;
    border-color: #f6d3d3;
}
