html {
    scroll-behavior: smooth;
}

body {
    background: #020202;
}

/* ── Reusable component classes ── */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: #daa520;
    color: #020202;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(218, 165, 32, 0.15);
}
.btn-primary:hover {
    background: #e6b422;
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.25);
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}
.btn-outline:hover {
    border-color: #daa520;
    color: #daa520;
}

.card-dark {
    padding: 2rem;
    border-radius: 0.75rem;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}
.card-dark:hover {
    border-color: rgba(218, 165, 32, 0.2);
}

.card-light {
    padding: 2rem;
    border-radius: 0.75rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.card-light:hover {
    border-color: rgba(218, 165, 32, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    background: rgba(218, 165, 32, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tier cards */
.tier-card {
    position: relative;
    padding: 1.75rem;
    border-radius: 0.75rem;
    background: #020202;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}
.tier-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}
.tier-card--featured {
    border: 2px solid #daa520;
}
.tier-card--featured:hover {
    box-shadow: 0 8px 30px rgba(218, 165, 32, 0.1);
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}
.tier-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
    padding: 0.375rem 0;
}
.tier-features li::before {
    content: '';
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23daa520'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.tier-link {
    color: #daa520;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s ease;
}
.tier-link:hover {
    color: #e6b422;
}

/* ── Legal / prose pages ── */

.prose-custom {
    color: #9ca3af;
    line-height: 1.75;
}
.prose-custom h2 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}
.prose-custom p {
    margin-bottom: 1rem;
}
.prose-custom strong {
    color: #fff;
}
.prose-custom ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.prose-custom li {
    margin-bottom: 0.375rem;
}
.prose-custom a {
    color: #daa520;
    transition: color 0.2s ease;
}
.prose-custom a:hover {
    color: #e6b422;
}

/* ── Sticky header background on scroll ── */

#site-header {
    background: transparent;
    overflow: visible;
}

/* Header “Get Support Now” dropdown chevron */
details.support-dropdown[open] .support-menu-chevron {
    transform: rotate(180deg);
}
#site-header.scrolled {
    background: rgba(2, 2, 2, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ── Scroll reveal animations ── */

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children for grid items */
[data-reveal]:nth-child(2) { transition-delay: 0.1s; }
[data-reveal]:nth-child(3) { transition-delay: 0.2s; }
[data-reveal]:nth-child(4) { transition-delay: 0.3s; }
[data-reveal]:nth-child(5) { transition-delay: 0.15s; }
[data-reveal]:nth-child(6) { transition-delay: 0.25s; }

/* ── Selection ── */
::selection {
    background: rgba(218, 165, 32, 0.3);
    color: #fff;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #020202;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
