h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    text-align: center;
    width: 20em;
}

form {
    width: min(90%, 500px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

input, textarea, button {
    background: transparent;
    border: none;
    border-bottom: 1px solid #555;
    padding: 0.75rem 0.25rem;
    font-size: 1rem;
    color: #fff;
}

input:focus, textarea:focus {
    outline: none;
    border-bottom-color: #fff;
}

textarea {
    resize: none;            /* user cannot resize manually */
    overflow: hidden;        /* hide scrollbar so it feels seamless */
    min-height: 2.5rem;      /* matches single‑line height */
    line-height: 1.4;
}

::placeholder { color: #aaa; }

/* Floating‑placeholder labels that appear once you type */
.float-label {
    position: relative;
    display:block;
}
.float-label input,
.float-label textarea { width:100%; }

.float-label span {
    position: absolute;
    left: -1%;
    bottom: -15%;
    background-color: #000;
    padding-right: 3px;
    border-radius: 10%;
    font-size: 0.8rem;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.2s ease;
    /* 60 % white; tweak the last value (0 – 1) */
    color: rgba(255, 255, 255, 0.8);
}
.float-label.active span { opacity: 1; }

button {
    border: 1px solid #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}
button:hover {
    background: #fff;
    color: #000;
}

.turnstile-wrapper { margin-top: 0.5rem; }
.msg { font-size: 0.875rem; margin-top: 0.5rem; }
.error { color: #f44336; }
.success { color: #4caf50; }