/* Custom styles beyond Tailwind */
html {
    scroll-behavior: smooth;
}

/* Accessibility: reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Accessibility: visible focus indicators */
*:focus-visible {
    outline: 3px solid #5B83C9;
    outline-offset: 2px;
}

/* Markdown content rendering */
.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #1B2A3D;
}
.markdown-content h1 { font-size: 1.5rem; }
.markdown-content h2 { font-size: 1.25rem; }
.markdown-content h3 { font-size: 1.125rem; }
.markdown-content p {
    margin-bottom: 0.75rem;
}
.markdown-content ul,
.markdown-content ol {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}
.markdown-content ul {
    list-style-type: disc;
}
.markdown-content ol {
    list-style-type: decimal;
}
.markdown-content li {
    margin-bottom: 0.25rem;
}
.markdown-content strong {
    font-weight: 700;
}
.markdown-content em {
    font-style: italic;
}
.markdown-content a {
    color: #5B83C9;
    text-decoration: underline;
}
.markdown-content code {
    background: #F0F4F8;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-family: monospace;
    font-size: 0.875em;
}
.markdown-content pre code {
    display: block;
    padding: 1rem;
    overflow-x: auto;
}

/* ── Experience Badge Seals ── */
.badge-seal {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.badge-seal-sm {
    width: 32px;
    height: 32px;
}

.badge-seal-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.badge-seal-icon {
    position: relative;
    z-index: 1;
    font-size: 20px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}

.badge-seal-sm .badge-seal-icon {
    font-size: 14px;
}

.badge-seal-plus {
    position: absolute;
    top: -3px;
    right: -3px;
    z-index: 2;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    line-height: 1;
    border: 1.5px solid white;
}

.badge-seal-sm .badge-seal-plus {
    width: 12px;
    height: 12px;
    font-size: 8px;
    top: -2px;
    right: -2px;
}

/* Gold+ tier */
.badge-seal-fill-gold_plus {
    fill: #FEF3C7;
    stroke: #F59E0B;
    stroke-width: 2;
}
.badge-seal-dash-gold_plus {
    stroke: #F59E0B;
}
.badge-seal-plus-gold_plus {
    background: #F59E0B;
}

/* Gold tier */
.badge-seal-fill-gold {
    fill: #FEF9C3;
    stroke: #EAB308;
    stroke-width: 2;
}
.badge-seal-dash-gold {
    stroke: #EAB308;
}

/* Silver tier */
.badge-seal-fill-silver {
    fill: #F1F5F9;
    stroke: #94A3B8;
    stroke-width: 2;
}
.badge-seal-dash-silver {
    stroke: #94A3B8;
}

/* Bronze tier */
.badge-seal-fill-bronze {
    fill: #FFF7ED;
    stroke: #EA580C;
    stroke-width: 2;
}
.badge-seal-dash-bronze {
    stroke: #EA580C;
}
