* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(ellipse at top, #e4efff, #f5f8fc 65%);
    color: #14233c;
    font: 1rem/1.5 Inter, system-ui, sans-serif;
}

a {
    color: #345172;
    text-underline-offset: 0.25em;
}

a:hover {
    color: #174bb5;
}

:focus-visible {
    outline: 3px solid #3468cf;
    outline-offset: 3px;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #dbe4f1;
}

.site-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    max-width: 72rem;
    margin: auto;
    padding: 1rem clamp(1rem, 4vw, 2.5rem);
    font-size: 0.875rem;
}

.brand {
    color: #14233c;
    font-size: 1.125rem;
    font-weight: 750;
    text-decoration: none;
}

.contact-card {
    width: min(36rem, calc(100% - 2rem));
    margin: clamp(1.5rem, 6vh, 4rem) auto 0;
    padding: clamp(1.25rem, 5vw, 2.5rem);
    background: #fff;
    border: 1px solid #dbe4f1;
    border-radius: 1.25rem;
    box-shadow: 0 14px 45px rgba(26, 57, 104, 0.09);
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.intro {
    margin: 0.75rem 0 1.75rem;
    color: #4c5e77;
}

form,
.form-group {
    display: grid;
}

form {
    gap: 1.125rem;
}

.form-group {
    gap: 0.375rem;
}

label {
    font-size: 0.9375rem;
    font-weight: 650;
}

.form-group input,
.form-group textarea {
    width: 100%;
    min-height: 2.875rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid #a8b7cc;
    border-radius: 0.625rem;
    background: #fbfcfe;
    color: inherit;
    font: inherit;
}

.form-group textarea {
    resize: vertical;
}

button {
    min-height: 3rem;
    padding: 0.65rem 1.25rem;
    border: 0;
    border-radius: 0.625rem;
    background: #2155bd;
    color: #fff;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

button:hover {
    background: #174599;
}

.account-note,
.notice {
    padding: 0.75rem 1rem;
    border-radius: 0.625rem;
    font-size: 0.875rem;
}

.account-note {
    margin: 0;
    background: #edf4ff;
    color: #244879;
}

.notice-success {
    background: #e9f8ef;
    color: #175633;
}

.notice-error {
    background: #fff0ef;
    color: #8a2520;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    padding: 1.5rem 1rem 2rem;
    font-size: 0.875rem;
}
