@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/assets/dm-sans-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("/assets/bricolage-grotesque-latin.woff2") format("woff2");
}

:root { color-scheme: dark; background: #1a1a1a; color: #fff; font-family: "DM Sans", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.brand-bar { width: min(100% - 2rem, 82.5rem); margin: 0 auto; padding-block: 1.25rem; }
.brand-bar a { display: inline-flex; align-items: center; min-height: 44px; vertical-align: top; }
.brand-bar img { display: block; width: 8.75rem; height: auto; }
.account-shell { width: min(100% - 2.5rem, 27rem); margin: clamp(1.75rem, 6vh, 5.25rem) auto 3rem; }
h1 { margin: 1.15rem 0 1.5rem; font: 800 clamp(2.5rem, 6vw, 3.45rem)/1.03 "Bricolage Grotesque", sans-serif; letter-spacing: -.055em; }
p { margin: .9rem 0; line-height: 1.5; overflow-wrap: anywhere; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .22em; }
a:hover { color: #55d7c2; }
.back { display: inline-flex; align-items: center; gap: .4rem; color: #d1d1d1; font-size: .94rem; }
form { display: grid; gap: 1.05rem; margin-block: 1rem 1.3rem; }
.field { display: grid; gap: .4rem; }
label { font-weight: 700; }
input { width: 100%; min-height: 3.25rem; border: 0; border-radius: .7rem; background: #f1f1f1; color: #1a1a1a; color-scheme: light; padding: .65rem .85rem; font: inherit; }
:focus-visible { outline: 3px solid #55d7c2; outline-offset: 3px; }
small, .hint, footer { color: #bebebe; font-size: .89rem; line-height: 1.45; }
.hint, form p { margin: 0; }
.primary { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 3.2rem; padding: .75rem 1rem; border: none; border-radius: .75rem; background: #51d4bf; color: #131313; text-decoration: none; font: 750 1.03rem/1.25 "DM Sans", sans-serif; cursor: pointer; }
.primary:hover { background: #75e2d0; color: #131313; }
.message { padding: .8rem 1rem; border-inline-start: 3px solid #51d4bf; background: #282828; }
.error { border-inline-start-color: #ffa994; }
footer { margin-top: 1.6rem; }
