/* Base Styles */
body {
    font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: #111;
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 420px;
    padding: 32px 24px;
    box-sizing: border-box;
    margin: auto;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    width: min(140px, 40vw);
    height: auto;
}

/* Font Headings */
.font-label {
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #555;
    margin: 20px 0 4px;
    text-align: center;
}

h1.playfair {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(24px, 5vw, 32px);
    text-align: center;
    margin-bottom: 8px;
}

/* Paragraph stays DM Sans */
p {
    font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    margin-bottom: 18px;
    color: #555;
    text-align: center; /* optional for consistency */
}


h1 {
    margin-bottom: 10px;
    font-size: 28px;
}

p {
    margin-bottom: 30px;
    color: #555;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    font-size: 15px;
    border-radius: 4px;
    box-sizing: border-box;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #005B4F;
}

button {
    width: 100%;
    padding: 14px;
    background: #005B4F;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: opacity 0.2s ease; /* transition on opacity only */
}

button:hover {
    opacity: 0.85; /* slightly dim on hover */
}


.success {
    padding: 16px;
    background: #e6f5f2;
    color: #004a43;
    border-radius: 4px;
}

/* Responsive / Mobile */
@media (max-width: 480px) {
    .container {
        max-width: 100%;      /* full width on mobile */
        padding: 10% 5%;      /* top/bottom 10%, left/right 5% */
        margin: 40px auto;
    }
    h1 {
        font-size: 24px;
    }
    p {
        font-size: 14px;
    }
    input,
    textarea {
        font-size: 14px;
        padding: 10px;
    }
    button {
        padding: 12px;
        font-size: 14px;
    }
}

/* Optional: fluid headline scaling */
h1 {
    font-size: clamp(24px, 5vw, 28px);
}
