/* ==========================================================================
   VBA - Terms & Conditions Styles (css/terms.css)
   Matching code.html, DESIGN.md, screen.png & home page font family
   ========================================================================== */

/* Font Family Fallbacks matching Home Page (Outfit for Headings, Inter for Body) */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #fff8f5;
    color: #1e1b18;
}

h1, h2, h3, h4, h5, h6, .font-display, .font-headline-lg, .font-headline-md, .font-headline-sm {
    font-family: 'Outfit', sans-serif;
}

/* Material Symbols Icon Configuration */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* Custom Bullet List Styling for Terms Content */
.prose-custom ul {
    list-style: none;
    padding-left: 0;
}

.prose-custom ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.prose-custom ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #BD6026; /* Burnt Ochre */
}

/* Scroll Offset for Navigation Target Sections */
section[id^="section-"] {
    scroll-margin-top: 110px;
}

/* TOC Sidebar Active Link Styling */
.toc-link {
    transition: all 0.25s ease-in-out;
}

.toc-link.active {
    color: #bd6026 !important;
    font-weight: 700 !important;
    padding-left: 0.5rem;
    border-left: 3px solid #bd6026;
}

/* Container & Card Hover Effects */
.terms-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.terms-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(68, 42, 16, 0.08);
    border-color: rgba(189, 96, 38, 0.3);
}

/* Scroll Reveal Animation */
.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.reveal-active {
    opacity: 1;
    transform: translateY(0);
}
