:root {
    color-scheme: dark;
    font-family: system-ui, sans-serif;
    background: #141318;
    color: #fff7e9;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 20px;
    background: radial-gradient(ellipse at top, #352920, #141318 65%);
}

.account {
    width: min(100%, 440px);
    background: #201e25;
    border: 1px solid #4d4448;
    border-radius: 18px;
    padding: clamp(22px, 6vw, 34px);
}

.brand { font-size: 15px; font-weight: 750; text-decoration: none; }
h1 { margin: 15px 0 24px; font-size: clamp(27px, 6vw, 35px); }
a { color: #ffd390; }
a:hover { text-decoration-thickness: 2px; }
label { display: block; margin: 16px 0 6px; font-weight: 600; }
input {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    color: inherit;
    font: inherit;
    background: #17151c;
    border: 1px solid #6b6067;
    border-radius: 8px;
}
small { display: block; margin-top: 6px; color: #d0c4cb; }
:focus-visible { outline: 3px solid #ffce89; outline-offset: 3px; }

.primary, .secondary {
    display: block;
    width: 100%;
    min-height: 46px;
    margin-top: 20px;
    padding: 11px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.primary { color: #20160a; background: #ffd390; }
.primary:hover { background: #ffe1b2; }
.secondary { color: #fff7e9; background: none; border-color: #6b6067; }
.switch { margin: 20px 0 0; font-size: 14px; }
.error { background: #46252c; color: #ffedf0; border-radius: 8px; padding: 10px 12px; }
nav { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 24px; border-top: 1px solid #4d4448; padding-top: 15px; font-size: 13px; }

.account-details {
    margin: 0;
    border-top: 1px solid #4d4448;
}
.account-details > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    padding: 12px 0;
    border-bottom: 1px solid #4d4448;
}
.account-details dt { color: #d0c4cb; }
.account-details dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
