:root {
    color-scheme: light;
    font: 100%/1.6 system-ui, sans-serif;
    color: #172633;
    background: #f0f4f5;
}

body {
    margin: 0;
}

.site-header {
    padding: 1rem max(1rem, calc((100vw - 42rem) / 2));
    background: #163a40;
}

.site-header a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

main {
    box-sizing: border-box;
    max-width: 42rem;
    margin: 2rem auto;
    padding: clamp(1rem, 5vw, 2.5rem);
    border: 1px solid #ccd9dc;
    border-radius: 0.75rem;
    background: #fff;
}

h1 {
    margin: 0 0 1rem;
    line-height: 1.2;
}

form {
    display: grid;
    gap: 0.5rem;
    max-width: 24rem;
}

label {
    font-weight: 600;
}

input, button {
    box-sizing: border-box;
    padding: 0.55rem 0.75rem;
    border: 1px solid #6a8187;
    border-radius: 0.35rem;
    font: inherit;
}

input {
    margin-bottom: 0.65rem;
    color: inherit;
}

button {
    justify-self: start;
    color: #fff;
    background: #19585c;
    cursor: pointer;
}

.secondary {
    color: #19585c;
    background: #fff;
}

:focus-visible {
    outline: 3px solid #087c83;
    outline-offset: 3px;
}

.account {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    overflow-wrap: anywhere;
}

.error {
    color: #981c2c;
}
