/* Explain: Reusable pill, card, form, and CTA components */
.site-header {
    background: rgba(253, 251, 247, 0.92);
    backdrop-filter: blur(18px);
}

.brand-lockup {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.nav-link {
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    padding: 0.65rem 0.9rem;
    text-transform: uppercase;
    transition: all 220ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    background: rgba(168, 139, 92, 0.13);
    color: var(--primary-color);
}

.section-kicker {
    color: var(--secondary-color);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.btn-burgundy,
.btn-brass {
    align-items: center;
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: inline-flex;
    font-weight: 800;
    gap: 0.55rem;
    justify-content: center;
    min-height: 3rem;
    padding: 0.85rem 1.35rem;
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.btn-burgundy {
    background: var(--primary-color);
    box-shadow: 0 16px 32px rgba(74, 14, 46, 0.22);
    color: var(--cream-color);
}

.btn-burgundy:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-brass {
    background: rgba(168, 139, 92, 0.16);
    color: var(--primary-color);
}

.btn-brass:hover {
    background: rgba(168, 139, 92, 0.25);
    transform: translateY(-2px);
}

.pill-frame {
    border: 1px solid rgba(168, 139, 92, 0.38);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    padding: 0.42rem;
}

.pill-frame img {
    border-radius: var(--radius-pill);
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.soft-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    box-shadow: var(--shadow-card);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.soft-card:hover {
    border-color: var(--brass-soft);
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}

.icon-pill {
    align-items: center;
    background: rgba(74, 14, 46, 0.08);
    border: 1px solid rgba(168, 139, 92, 0.34);
    border-radius: var(--radius-pill);
    color: var(--primary-color);
    display: inline-flex;
    height: 3rem;
    justify-content: center;
    width: 3rem;
}

.result-card {
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 2.5rem;
    color: var(--cream-color);
    min-height: 12rem;
    overflow-wrap: anywhere;
    padding: 2rem;
}

.form-shell {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--border-color);
    border-radius: 2.25rem;
    box-shadow: var(--shadow-soft);
}

.law-input,
.law-select {
    background: var(--cream-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    color: var(--text-color);
    min-height: 3.15rem;
}

.law-input::placeholder {
    color: rgba(109, 94, 101, 0.72);
}

.form-status {
    border-radius: var(--radius-pill);
    display: none;
    font-size: 0.92rem;
    padding: 0.85rem 1.15rem;
}

.form-status.is-visible {
    display: block;
}

.form-status.is-success {
    background: rgba(168, 139, 92, 0.14);
    border: 1px solid var(--brass-soft);
    color: var(--primary-color);
}

.form-status.is-error {
    background: rgba(74, 14, 46, 0.08);
    border: 1px solid rgba(74, 14, 46, 0.28);
    color: var(--primary-hover);
}

