html {
    scroll-behavior: smooth;
}

body {
    background: #0f172a;
    color: white;
}

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.required-marker {
    color: #22d3ee;
    margin-left: 0.25rem;
}

.form-field {
    display: grid;
    gap: 0.5rem;
}

.form-input {
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.form-input[aria-invalid="true"] {
    border-color: rgba(244, 63, 94, 0.9);
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.14);
    background-color: rgba(15, 23, 42, 0.96);
}

.field-error {
    display: none;
    border: 1px solid rgba(244, 63, 94, 0.22);
    background: rgba(244, 63, 94, 0.1);
    color: #fecdd3;
    border-radius: 0.875rem;
    padding: 0.75rem 0.9rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.field-error.is-visible {
    display: block;
}

.required-note {
    color: #94a3b8;
    font-size: 0.875rem;
}

.consent-field {
    gap: 0.75rem;
}

.consent-field__label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.consent-field__checkbox {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.15rem;
    flex: 0 0 auto;
    accent-color: #22d3ee;
}

.consent-field__link {
    color: #67e8f9;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.consent-field__link:hover {
    color: #a5f3fc;
}

.consent-field__checkbox[aria-invalid="true"] {
    outline: 2px solid rgba(244, 63, 94, 0.65);
    outline-offset: 3px;
    border-radius: 0.25rem;
}

.site-header {
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header__inner {
    transition: padding 180ms ease;
}

.site-header__logo-image {
    width: clamp(9rem, 15vw, 13rem);
    height: auto;
    transition: width 180ms ease, transform 180ms ease;
    transform-origin: left center;
}

.site-header.is-compact {
    background: rgba(2, 6, 23, 0.94);
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.24);
}

.site-header.is-compact .site-header__inner {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.site-header.is-compact .site-header__logo-image {
    width: clamp(7rem, 12vw, 10rem);
}