/* Import a highly legible geometric font */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

/* Basic CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: #fafafa;
    color: #1f2937;
    /* Use dvh (dynamic viewport height) to account for mobile browser UI bars */
    min-height: 100dvh; 
    display: flex;
    justify-content: center;
}

/* Master layout container */
.responsive-layout {
    width: 100%;
    max-width: 1200px;
    padding: 0 5%; /* Fluid padding that scales with screen width */
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

/* Header styling */
.header {
    padding: clamp(1.5rem, 4vw, 3rem) 0; /* Scales padding based on screen size */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
}

/* Main Content Area */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.status-pill {
    background-color: #f3f4f6;
    color: #4b5563;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid #e5e7eb;
}

/* Fluid Typography: Text automatically scales between the minimum and maximum values */
.fluid-title {
    /* minimum 2.5rem, prefers 5vw + 1rem, maximum 4.5rem */
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
    color: #111827;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    letter-spacing: -0.03em;
}

.fluid-text {
    /* minimum 1rem, prefers 2vw, maximum 1.25rem */
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    max-width: 600px;
}

/* Responsive Form Layout */
.responsive-form {
    display: flex;
    width: 100%;
    max-width: 500px;
    gap: 0.75rem;
}

.form-input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-button {
    padding: 1rem 2rem;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap; /* Prevents text wrapping on small screens */
}

.form-button:hover {
    background-color: #1d4ed8;
}

/* Footer styling */
.footer {
    padding: clamp(1.5rem, 4vw, 3rem) 0;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Header styling */
.header {
    padding: clamp(1.5rem, 4vw, 3rem) 0;
    display: flex;
    justify-content: center; /* This centers the logo horizontally */
    align-items: center;
    width: 100%;
}

/* Updated Logo styling for an image */
.logo {
    display: inline-block;
    /* Increased size: 50px on mobile, growing up to 90px on desktop */
    height: clamp(50px, 8vw, 90px); 
    text-decoration: none;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Media Queries for Mobile Screens */
@media (max-width: 600px) {
    /* Stack the form vertically on small screens */
    .responsive-form {
        flex-direction: column;
    }
    
    .form-button {
        width: 100%;
    }
}