:root {
    color-scheme: light;
    --navy: #0b1f3a;
    --midnight: #07162b;
    --gold: #c5a059;
    --gold-light: #ead4a6;
    --bronze: #805d24;
    --cream: #f7f4ed;
    --muted: #526078;
    --line: #ded8cd;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--navy); background: var(--cream); }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #987333; outline-offset: 3px; }
.fc-login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }

.fc-brand-panel {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between; gap: clamp(2.5rem, 8vh, 6rem);
    padding: clamp(2rem, 5vw, 5rem); color: #fff;
    background: radial-gradient(ellipse at 75% 30%, #1a3655, var(--midnight) 73%);
}
.fc-brand-panel::before, .fc-brand-panel::after {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    width: 32rem; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgb(197 160 89 / 30%);
    right: -17rem; bottom: -11rem;
}
.fc-brand-panel::after { width: 39rem; right: -20.5rem; bottom: -14.5rem; opacity: .55; }
.fc-brand { display: inline-flex; gap: .85rem; align-items: center; align-self: flex-start; text-decoration: none; font: 1.65rem Georgia, serif; }
.fc-brand b { color: var(--gold-light); font-weight: normal; }
.fc-brand small { display: block; margin-top: .25rem; color: #c5cbd6; font: 600 .65rem system-ui, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.fc-mark { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; flex: none; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); }
.fc-brand-copy { max-width: 29rem; }
.fc-eyebrow { margin: 0; color: var(--bronze); font-size: .73rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.fc-brand-copy .fc-eyebrow { color: var(--gold-light); }
.fc-brand-title { margin: 1.2rem 0 1.35rem; font: normal clamp(2.9rem, 6vw, 6.1rem)/.99 Georgia, serif; letter-spacing: -.05em; }
.fc-brand-title em { color: var(--gold-light); font-weight: normal; }
.fc-brand-desc { margin: 0; max-width: 24rem; color: #d3dae4; line-height: 1.65; }
.fc-home { display: inline-flex; align-items: center; gap: .65rem; align-self: flex-start; color: #e2e7ee; font-size: .84rem; text-decoration: none; }
.fc-home:hover { text-decoration: underline; }
.fc-home span { color: var(--gold-light); }

.fc-login-main { display: grid; place-items: center; padding: clamp(1.25rem, 5vw, 5rem); }
.fc-login-card {
    position: relative; width: min(100%, 30rem); padding: clamp(1.5rem, 4vw, 2.75rem);
    background: #fffdf9; border: 1px solid #e6e0d4; border-radius: 1.4rem; box-shadow: 0 22px 65px rgb(11 31 58 / 8%);
}
.fc-login-card h1 { margin: .7rem 0 .65rem; font: normal clamp(2.1rem, 4.1vw, 3.25rem)/1.04 Georgia, serif; letter-spacing: -.04em; }
.fc-intro { margin: 0; color: var(--muted); line-height: 1.5; font-size: .91rem; }
.fc-form { display: grid; gap: 1rem; margin-top: 1.65rem; }
.fc-field label { display: block; margin-bottom: .4rem; font-size: .86rem; font-weight: 680; }
.fc-field input { width: 100%; min-height: 3rem; padding: .65rem .85rem; color: var(--navy); background: #fff; border: 1px solid #aaa293; border-radius: .65rem; font: inherit; }
.fc-field input[aria-invalid="true"] { border-color: #9e3434; }
.fc-form-options { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .55rem 1rem; font-size: .81rem; }
.fc-form-options a, .fc-access-link a { color: #67501e; text-underline-offset: .2em; }
.fc-remember { display: inline-flex; align-items: center; gap: .45rem; line-height: 1.5; cursor: pointer; }
.fc-remember input { margin: 0; accent-color: var(--navy); height: 1rem; width: 1rem; }
.fc-submit { min-height: 3rem; display: flex; justify-content: space-between; align-items: center; padding: .65rem .95rem; border: 0; border-radius: .65rem; background: var(--navy); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.fc-submit:hover { background: #193757; }
.fc-submit span { color: var(--gold-light); font-size: 1.25rem; }
.fc-access-link { margin: 1.25rem 0 0; color: var(--muted); text-align: center; font-size: .82rem; }
.fc-social { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); text-align: center; }
.fc-social p { margin: 0 0 .5rem; color: var(--muted); font-size: .79rem; }
.fc-social .btn { display: block; padding: .6rem; border: 1px solid var(--line); border-radius: .65rem; text-decoration: none; font-weight: 650; font-size: .84rem; }
.fc-social button.btn { width: 100%; background: #fffdf9; color: var(--navy); font-family: inherit; cursor: pointer; }
.fc-social .btn + .btn { margin-top: .4rem; }
.fc-social .btn:hover { background: var(--cream); }
.fc-errors { padding: .65rem .8rem; border-left: 3px solid #9e3434; background: #fbefec; color: #822828; font-size: .84rem; }
.fc-field .fc-errors { margin-top: .45rem; }
.fc-field-help { margin-top: .5rem; color: var(--muted); font-size: .79rem; line-height: 1.45; }
.fc-field-help summary { cursor: pointer; color: #67501e; }
.fc-field-help ul { margin: .4rem 0 0; padding-left: 1.15rem; }
.fc-signup-note { margin: 1rem 0 0; color: var(--muted); font-size: .75rem; text-align: center; line-height: 1.45; }
.fc-signup-code { margin: 1.5rem 0; padding: 1.1rem; text-align: center; border: 1px solid #d8c39c; border-radius: .75rem; background: var(--cream); }
.fc-signup-code dt { color: var(--bronze); font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.fc-signup-code dd { margin: .4rem 0 0; font: normal 2.4rem Georgia, serif; }
.fc-errors ul, .fc-messages { list-style: none; margin: 0; padding: 0; }
.fc-messages { margin-top: 1rem; padding: .65rem .8rem; border-left: 3px solid var(--gold); background: var(--cream); font-size: .84rem; }

@media (max-width: 740px) {
    .fc-login { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .fc-brand-panel { padding: 1.25rem 1.4rem; gap: .85rem; }
    .fc-brand-copy { display: none; }
    .fc-brand { font-size: 1.4rem; }
    .fc-mark { width: 2.2rem; height: 2.2rem; }
    .fc-login-main { align-items: start; padding: 1.25rem 1rem 2rem; }
}
