/* ==========================================================================
   SHARED CORE PARTS
   ========================================================================== */
:root {
    /* Colors */
    --maroon: #860404;
    --accent-maroon: #860404;
    --maroon-low: rgba(134, 4, 4, 0.08);
    --dark: #111;
    --light: #fff;
    --bg-soft: #f1eeed;
    --glass: rgba(255, 255, 255, 0.4);
}

/* Base Resets */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', sans-serif;
    background: var(--bg-soft);
    color: var(--dark);
    overflow-x: hidden;
}

/* Global Main Wrapper (The rounded bottom container) */
main {
    position: relative;
    z-index: 2;
    background-color: var(--bg-soft);
    width: 100%;
    min-height: 100vh;
    max-width: none;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04);
}

/* --- REVEAL TEXT UTILITIES (GSAP PRESETS) --- */
.hero-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 0.3em;
    overflow: hidden;
}

.word-map {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.1em;
}

.word-inner {
    display: inline-block;
    transform: translateY(130%);
    will-change: transform;
    transition: color 0.4s ease;
}

.tm {
    color: var(--maroon) !important;
    font-family: "playfair-display", serif;
    font-style: italic !important;
}

.tw {
    color: #000000 !important;
    font-family: "neue-haas-grotesk-display" !important;
    font-style: normal !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-family: "neue-haas-grotesk-display";
    font-weight: 400;
    font-size: clamp(2.5rem, 7.5vw, 9rem);
    line-height: 1;
    text-transform: uppercase;
    margin-top: 5rem;
    margin-bottom: 5rem;
    text-align: center;

}

.hero-title span {
    color: var(--maroon);
    font-style: italic;
    font-family: "playfair-display";
    align-items: baseline !important;
}

/* --- AMBIENT VIDEO OVERLAY --- */
/* .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.99);
    pointer-events: none;
    z-index: 3;
} */
.overlay-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(./global-images/5.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(15px);
    z-index: 3;
    pointer-events: none;
    opacity: 0.085;
}

/* video {
    object-fit: cover;
    height: 100vh;
    width: 100vw;
    opacity: 0.2;
} */









/* ==========================================================================
   FONT FACES
   ========================================================================== */
@font-face {
    font-family: "playfair-display";
    src: url("https://use.typekit.net/af/889857/00000000000000007735a126/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff2"), url("https://use.typekit.net/af/889857/00000000000000007735a126/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff"), url("https://use.typekit.net/af/889857/00000000000000007735a126/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("opentype");
    font-display: auto;
    font-style: italic;
    font-weight: 400;
    font-stretch: normal;
}

@font-face {
    font-family: "neue-haas-grotesk-display";
    src: url("https://use.typekit.net/af/2807c7/00000000000000007735bb48/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"), url("https://use.typekit.net/af/2807c7/00000000000000007735bb48/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"), url("https://use.typekit.net/af/2807c7/00000000000000007735bb48/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
}










/* ==========================================================================
   CURSOR FOLLOW MARQUEE
   ========================================================================== */

.explore-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 120px;
    height: 25px;
    background-color: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    overflow: hidden;
    pointer-events: none;
    z-index: 9999;
    border-radius: 2px;
    opacity: 0;
    /* removed the old CSS transform string to let GSAP handle it perfectly */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.marquee-wrapper {
    display: flex;
    width: max-content;
    animation: cursor-marquee 10s linear infinite;
}

.marquee-text {
    font-family: "Manrope", sans-serif;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Infinite marquee horizontal movement */
@keyframes cursor-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}










/* ==========================================================================
   CUSTOM SCROLLBAR
   ========================================================================== */

::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scroll-track {
    position: fixed;
    right: 30px;
    top: 45%;
    transform: translateY(-50%);
    width: 6px;
    /* Slim track */
    height: 160px;
    /* Total length of the track */
    background: rgba(202, 202, 202, 0.308);
    /* Low opacity track */
    border-radius: 20px;
    z-index: 10000;
    opacity: 0;
    /* Hidden until scroll */
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.scroll-pill {
    width: 100%;
    height: 40px;
    /* Fixed size of the moving indicator */
    background: maroon;
    border-radius: 20px;
    will-change: transform;
}

/* Visibility class */
.scroll-track.visible {
    opacity: 1;
}


@media (max-width: 768px) {
    .scroll-track {
        right: 20px !important;
    }
}

@media (max-width: 425px) {
    .scroll-track {
        right: 12px !important;
    }
}





/* ==========================================================================
   NAVBAR CORE STYLES
   ========================================================================== */

.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: auto;
    display: flex;
    justify-content: center;
    opacity: 0;
    white-space: nowrap;
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    gap: 2.5rem;
    padding: 0.4rem 2.5rem;

    background: rgba(73, 73, 73, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .02);

    white-space: nowrap;
}

/* ==========================================================================
   NAV GROUPS
   ========================================================================== */

.nav-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}

.nav-group:first-child {
    justify-content: flex-end;
}

.nav-group:last-child {
    justify-content: flex-start;
}

/* ==========================================================================
   NAV LINKS
   ========================================================================== */

.nav-container a.nav-link {
    font-family: "Manrope", sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;

    color: #000;
    text-decoration: none;
    text-transform: uppercase;

    padding: 0.5rem .5rem;
    border-radius: 15px;

    position: relative;
    transition: all .3s ease;

    white-space: nowrap;
}

.nav-container a.nav-link:hover {
    background: rgba(0, 0, 0, .05);
    transform: translateY(-1px);
}

/* ==========================================================================
   LOGO
   ========================================================================== */

.nav-logo {
    display: flex;
    justify-content: center;
    align-items: center;

    /* padding: 0 .5rem; */
}

.nav-logo a {
    font-family: "Agdasima", sans-serif !important;

    /* Responsive logo size */
    font-size: clamp(1.5rem, 3vw, 2.5rem) !important;

    font-weight: 700 !important;
    letter-spacing: 1px !important;
    line-height: 1;

    color: #000;
    text-decoration: none;
    text-transform: uppercase;

    display: inline-block;
    transition: transform .3s ease;
}

.nav-logo a:hover {
    transform: scale(1.04);
}

/* ==========================================================================
   ACTIVE LINK
   ========================================================================== */

.nav-container a.nav-link.active {
    background: rgba(0, 0, 0, 0.04);
}

.nav-container a.nav-link.active::after {
    content: "";
    position: absolute;

    left: 50%;
    bottom: 0.1rem;

    transform: translateX(-50%);

    width: 20%;
    height: 2px;

    border-radius: 10px;
    background: #860404;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

.navbar,
.nav-container,
.nav-group,
.nav-logo {
    white-space: nowrap;
}

/* Tablets */

@media (max-width:1024px) {

    .nav-container {
        gap: 1.5rem;
        padding: .4rem 1.5rem;
    }

    .nav-group {
        gap: 1rem;
    }

    .nav-container a.nav-link {
        font-size: .9rem !important;
    }

}

/* Mobile */

@media (max-width:768px) {

    /* .navbar{
        width:95vw;
    } */

    .nav-container {

        width: 100%;

        grid-template-columns: 1fr auto 1fr;

        gap: .8rem;

        padding: .45rem .9rem;
    }

    .nav-group {
        gap: .4rem;
    }

    .nav-container a.nav-link {

        font-size: .7rem !important;
        padding: .4rem .45rem;
        letter-spacing: .02em;
    }

}

/* Small Mobile */

@media (max-width:480px) {

    .nav-container {
        padding: .35rem .55rem;
        gap: .4rem;
    }

    .nav-group {
        gap: .15rem;
    }

    .nav-container a.nav-link {

        font-size: .585rem !important;
        padding: .35rem .5rem;
        letter-spacing: 0;
    }

}

/* Very Small Devices */

@media (max-width:360px) {

    .nav-container a.nav-link {

        font-size: .55rem !important;
        padding: .3rem .3rem;
    }

}







/* ==========================================================================
   FOOTER CORE STYLES & INTERACTION LAYERS
   ========================================================================== */
.footer-revealer {
    position: relative;
    width: 100%;
    height: 100svh;
    pointer-events: none;
}

footer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    background-color: #e9e9e9;
    overflow: hidden;
    z-index: 1;
    pointer-events: auto;
}

.footer-logo {
    position: relative;
    width: 15%;
    min-width: 100px;
    opacity: 0;
    z-index: 2;
    will-change: transform;
    pointer-events: none;
}

.footer-logo img {
    display: block;
    width: 100%;
    opacity: 0;
}

.footer-logo canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.footer-images {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    pointer-events: none;
}

.footer-hand-img {
    position: relative;
    width: 40%;
    min-width: 200px;
    will-change: transform;
    pointer-events: none;
}

.footer-hand-img img {
    display: block;
    width: 100%;
    opacity: 0;
}

.footer-hand-img canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.footer-content {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 3rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 10;
    pointer-events: auto;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-info p {
    font-size: 1rem;
    font-weight: 500;
    color: #0000008e;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer-info a {
    color: #0000008e;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: var(--maroon, #860404);
}

/* CHANGED: Subtle Left Legal Links Styling */
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    /* margin-top: 0.4rem; */
}

.footer-legal-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--maroon, #860404);
}

.footer-nav-wrapper {
    display: flex;
    gap: 6rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #000000;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--maroon, #860404);
}

.footer-header {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    color: #000000;
    z-index: 3;
    pointer-events: none;
    box-sizing: border-box;
    flex-wrap: nowrap !important;
}

.footer-header h1 {
    font-size: clamp(2.5rem, 12vw, 8rem);
    padding-bottom: 0.15em;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -2%;
    overflow: hidden;
    white-space: nowrap !important;
}

/* ENHANCED RESPONSIVE BREAKPOINTS */

/* Tablets & Small Laptops (1024px and down) */
@media (max-width: 1024px) {
    .footer-nav-wrapper {
        gap: 4rem;
    }

    .footer-logo {
        width: 18%;
    }

    .footer-header {
        padding: 1.5rem 6%;
        flex-direction: row !important;
        justify-content: space-between !important;
    }

    .footer-header h1 {
        /* Scaled down dynamically to guarantee side-by-side fit */
        font-size: clamp(2rem, 5.5vw, 4.5rem);
    }
}

/* Mobile Landscapes & Portrait Tablets (768px and down) */
@media (max-width: 768px) {
    .footer-logo {
        width: 18%;
    }

    .footer-header {
        padding: 1.5rem 6%;
        flex-direction: row !important;
        justify-content: space-between !important;
        gap: 1rem;
    }

    .footer-header h1 {
        /* Bringing the font size down so "Culture" and "Reimagined" don't collide */
        font-size: clamp(1.4rem, 5vw, 2.8rem);
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        padding: 2.5rem 6%;
    }

    .footer-nav-wrapper {
        width: 100%;
        justify-content: space-between;
        gap: 2rem;
    }
}

/* Standard Smartphone Displays (480px and down) */
@media (max-width: 480px) {
    .footer-images {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        position: absolute !important;
        inset: 0 !important;
        height: auto !important;
        width: 100% !important;
        pointer-events: none !important;
        top: 10% !important;
    }

    .footer-hand-img {
        width: 32% !important;
        max-width: 110px !important;
    }

    .footer-logo {
        width: 20% !important;
        max-width: 70px !important;
        margin: 0 3% !important;
    }

    .footer-content {
        padding: 2rem 5%;
        gap: 1.5rem;
    }

    .footer-info p {
        font-size: 0.9rem;
    }

    .footer-nav-wrapper {
        flex-direction: row;
        gap: 1rem;
    }

    .footer-links a {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

    .footer-header {
        padding: 1rem 5%;
        flex-direction: row !important;
        justify-content: space-between !important;
    }

    .footer-header h1 {
        /* Tiny screens mean tighter text. This prevents physical screen clipping */
        font-size: clamp(1.1rem, 4.8vw, 1.8rem);
    }
}

/* Extremely Small or Narrow Devices (360px and down) */
@media (max-width: 360px) {
    .footer-hand-img {
        max-width: 95px !important;
    }

    .footer-logo {
        max-width: 60px !important;
    }

    .footer-content {
        padding: 1.5rem 5%;
        gap: 1.25rem;
    }

    .footer-nav-wrapper {
        flex-direction: row;
        gap: 1rem;
    }

    .footer-info p,
    .footer-links a {
        font-size: 0.8rem;
        letter-spacing: 0.1px;
    }

    .footer-header h1 {
        font-size: clamp(0.95rem, 4.5vw, 1.4rem);
    }
}

/* Landscape Viewport Safeguard */
@media (max-height: 620px) {
    .footer-images {
        top: 38% !important;
    }

    .footer-content {
        padding: 1rem 5%;
        gap: 1rem;
    }

    .footer-nav-wrapper {
        gap: 2rem;
    }

    .footer-header {
        padding: 0.5rem 5%;
        flex-direction: row !important;
        justify-content: space-between !important;
    }

    .footer-header h1 {
        font-size: clamp(1.2rem, 5vw, 2.2rem);
    }
}



/* --- RCC MODAL POPUP STYLES --- */
.rcc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.rcc-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.rcc-modal-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.rcc-modal-overlay.active .rcc-modal-card {
    transform: translateY(0);
}

.rcc-modal-icon {
    width: 60px;
    height: 60px;
    background: rgba(134, 4, 4, 0.1);
    color: var(--maroon);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.rcc-modal-card h3 {
    font-family: 'neue-haas-grotesk-display', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.rcc-modal-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.rcc-modal-btn {
    display: block;
    width: 100%;
    background: rgb(161, 14, 14);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.45rem 0.95rem;
    font-size: 0.7rem;
    color: #f8f7f7;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-family: "Manrope", sans-serif;
    transition: 0.3s ease;
    align-self: center;
    text-align: center;
    transition: background 0.2s ease;
}


.rcc-modal-btn:hover {
    background: rgb(231, 39, 39);
}


/* --- FORM SPACING & WRAPPER FIXES (Resolving empty space) --- */
.form-section-box {
    background: rgba(0, 0, 0, 0.02);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    max-width: 700px;
}


/*/////////*/


/* --- FOOTER LEGAL LINKS (Tightened) --- */
.footer-legal-links {
    display: flex;
    gap: 1rem;
}

.footer-legal-links a {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.55);
    text-decoration: none;
    letter-spacing: 0.2px;
    /* Removed text-transform to keep Title Case */
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--maroon);
}



@media (max-width: 480px) {

    .footer-legal-links a {
        font-size: 0.915rem;
    }

}



@media (max-width: 360px) {

    .footer-legal-links a {
        font-size: 0.775rem;
    }

}


/* ==========================================================================
   LEGAL MODAL & ISOLATED SCROLL STYLES
   ========================================================================== */
.legal-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.legal-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* CHANGED: Added overscroll-behavior and touch scrolling isolation */
.legal-modal-box {
    background: var(--bg-soft, #f7f7f7);
    width: 100%;
    max-width: 750px;
    max-height: 85vh;
    border-radius: 24px;
    padding: 3rem 4rem;
    overflow-y: auto;
    
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;

    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: scale(0.95) translateY(15px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.legal-modal-overlay.active .legal-modal-box {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: var(--dark, #111);
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, color 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
    background: rgba(0, 0, 0, 0.05);
}

.legal-content {
    display: none;
}

.legal-content.active {
    display: block;
}

.legal-title {
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.legal-intro {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: var(--maroon);
    font-weight: 600;
}

.legal-heading {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 2rem 0 0.5rem 0;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.8);
    margin-bottom: 1rem;
}

.legal-list {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.8);
}

.legal-list li {
    margin-bottom: 0.5rem;
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
    .legal-modal-box {
        padding: 3rem 2rem;
        border-radius: 16px;
    }

    .legal-title {
        font-size: 2.2rem;
    }

    .legal-intro {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .legal-modal-box { 
        padding: 2.5rem 1.5rem 2rem; 
        border-radius: 20px 20px 8px 8px; 
    }
    
    .legal-title { 
        font-size: 1.7rem; 
        margin-bottom: 1rem;
    }
    
    .legal-intro { 
        font-size: 0.95rem; 
        margin-bottom: 1.5rem;
    }
    
    .legal-heading { 
        font-size: 0.85rem; 
        margin: 1.5rem 0 0.5rem 0;
    }
    
    .legal-text, .legal-list { 
        font-size: 0.85rem; 
        line-height: 1.5;
    }
    
    .footer-legal-links {
        gap: 0.5rem 0.8rem;
    }
}