/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: center; 
    min-height: 100vh; /* Ensure it takes full screen height */
    background-color: #D4EBC0;
    color: #333;
    text-align: center;
    padding: 20px;
}

.hero {
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers the group vertically */
    align-items: center;
    
    /* ADD THIS: Space between logo, text, and button */
    gap: 20px; 
    
    /* ADD THIS: Prevents content from hitting the top/bottom on small screens */
    padding: 40px 0; 
}

.hero p {
    font-size: 1.2rem;
    max-width: 500px; /* Prevents text from stretching too wide on desktop */
    line-height: 1.6; /* Improves readability */
    margin: 0; /* Let the 'gap' above handle the spacing */
}

.legal {
    font-size: 0.75rem; /* Make it smaller */
    color: #666;
    margin-top: 40px;
    line-height: 1.4;
}

/* Style for your logo */
.logo {
    /* Use a percentage so it scales down on small screens */
    width: 80%; 
    
    /* Set a hard limit so it doesn't get "giant" on desktops */
    max-width: 400px; 
    
    /* Maintains the image's original proportions */
    height: auto; 
    
    /* Adds space between the logo and the text below it */
    margin-bottom: 24px;

    /* ... previous styles ... */
    animation: fadeIn 0.5s ease-in;
}

.btn {
    display: inline-block;
    padding: 15px 30px; /* Increased internal padding for a better look */
    background-color: #FFCE91; 
    color: #333;
    text-decoration: none;
    border-radius: 50px; /* Rounded pill shape looks more modern */
    font-weight: bold;
    transition: transform 0.2s ease;
}

.btn:hover {
    opacity: 0.8;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ensure the legal page scrolls properly if the text is long */
body:has(.legal-content) {
    display: block; /* Override flex for the legal page */
    height: auto;
    overflow-y: auto;
}