@charset "UTF-8";

:root {
    color-scheme: dark;
    --ink: #08292d;
    --ink-deep: #051d21;
    --cream: #faefd8;
    --muted: #ccd6cf;
    --gold: #edbd69;
    --line: rgba(228, 182, 104, .45);
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Avenir Next", "Trebuchet MS", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; color: var(--cream); background: var(--ink-deep); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--serif); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #ffe7ad; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; z-index: 10; top: -100px; left: 12px; padding: 12px 20px; background: var(--cream); color: var(--ink-deep); }
.skip-link:focus { top: 12px; }
.auth-header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: var(--ink-deep); }
.auth-header__inner { width: min(1460px, calc(100% - 80px)); margin-inline: auto; min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { width: 55px; height: 55px; object-fit: contain; }
.brand__name { display: block; padding-left: 19px; border-left: 1px solid var(--gold); font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1.05; letter-spacing: .025em; text-transform: uppercase; }
.brand__name small { display: block; margin-top: 7px; font-family: var(--sans); font-size: 8px; font-weight: 500; letter-spacing: .2em; white-space: nowrap; }
.header-links { display: flex; align-items: center; gap: 30px; }
.header-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; white-space: nowrap; }
.header-links a + a { position: relative; }
.header-links a + a::before { content: ""; position: absolute; top: 15px; bottom: 15px; left: -15px; border-left: 1px solid var(--line); }
.home-link > span:first-child { color: var(--gold); font-size: 23px; }
.header-links a:hover, .auth-footer a:hover { color: var(--gold); }

.page { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100svh - 154px); background: var(--ink); }
.auth-art, .auth-shade { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.auth-art img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.auth-shade { background: linear-gradient(90deg, rgba(4, 26, 29, .35), transparent 55%), linear-gradient(180deg, rgba(4, 26, 29, .15), transparent 40%); }
.shell { width: min(1460px, calc(100% - 80px)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 68px); padding-block: 30px; }
.signup-panel { position: relative; padding: 22px 30px 16px; border: 1px solid #c7984f; border-radius: 10px; background: linear-gradient(145deg, #0a3033, #052225 70%, #061e23); box-shadow: inset 0 0 0 3px rgba(18, 23, 18, .65), inset 0 0 0 4px rgba(201, 152, 79, .22), 0 18px 55px rgba(0, 0, 0, .38); }
.signup-panel::before, .signup-panel::after { content: ""; position: absolute; top: 10px; width: 8px; height: 8px; border: 1px solid #f2c276; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe0a4, #b17b30 45%, #4c2c12 80%); pointer-events: none; }
.signup-panel::before { left: 10px; }
.signup-panel::after { right: 10px; }
.panel-header { margin-bottom: 20px; text-align: center; }
.panel-mark { width: 48px; height: 48px; margin: 0 auto 8px; object-fit: contain; }
.panel-header h1 { font-size: clamp(29px, 2.65vw, 41px); line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.panel-header p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.form-stack { display: grid; gap: 17px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.section-title { width: 100%; margin-bottom: 9px; padding: 0 0 4px; border-bottom: 1px solid var(--line); color: var(--gold); font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.2; }
.section-copy { margin: -2px 0 10px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.field-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 18px; }
.field { display: grid; align-content: start; gap: 5px; }
.field > label, .pin-preference > legend { color: var(--cream); font-family: var(--serif); font-size: 15px; font-weight: 700; line-height: 1.3; }
.field input, .field select { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid #a6b6ad; border-radius: 6px; color: #f8f1df; background: #08292d; font-size: 16px; line-height: 1.4; }
.field input::placeholder { color: #b1c0b8; opacity: 1; font-size: 13px; }
.field input:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(237, 189, 105, .12); }
.field select { padding-right: 25px; cursor: pointer; }
.hint { color: var(--muted); font-family: var(--sans); font-size: 11px; font-weight: 400; line-height: 1.45; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 61px; }
.password-toggle { position: absolute; inset: 1px 1px 1px auto; min-width: 56px; padding-inline: 8px; border: 0; border-radius: 5px; color: var(--gold); background: transparent; font-size: 12px; cursor: pointer; }
.password-toggle:hover { background: rgba(237, 189, 105, .08); }
.is-wide { grid-column: 1 / -1; }
.pin-preference > legend { padding: 0; }
.radio-grid { display: flex; gap: 24px; }
.radio-grid label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-size: 14px; }
.radio-grid input { margin: 0; width: 20px; height: 20px; accent-color: var(--gold); cursor: pointer; }
.pin-preference .hint { margin-top: -2px; }
.actions { display: grid; gap: 9px; }
.submit-btn { width: 100%; min-height: 51px; padding: 11px 20px; border: 1px solid #f7d997; border-radius: 6px; background: linear-gradient(180deg, #f9d98e, #ebba60 48%, #d39739); box-shadow: inset 0 0 0 3px rgba(109, 65, 14, .34), 0 4px 20px rgba(0, 0, 0, .18); color: #281807; font-family: var(--serif); font-size: 23px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.submit-btn:hover:not(:disabled) { filter: brightness(1.1); }
.submit-btn:disabled { opacity: .65; cursor: wait; }
.fine-print { color: var(--muted); font-size: 11px; line-height: 1.5; text-align: center; }
.signin-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 8px; margin-top: 15px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; }
.signin-note a { display: inline-flex; align-items: center; min-height: 38px; color: var(--gold); font-family: var(--serif); font-size: 16px; font-weight: 700; }
.status { display: none; margin-bottom: 17px; padding: 12px 14px; border: 1px solid transparent; border-radius: 6px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.status.is-visible { display: block; }
.status.is-error { color: #ffe4df; background: #522f2d; border-color: #ca8f83; }
.status.is-success { color: #dfffe8; background: #21473c; border-color: #91bda6; }
.intro { padding-top: 36px; text-align: center; text-shadow: 0 3px 18px #051d21; }
.intro h2 { font-size: clamp(34px, 3.4vw, 55px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
.intro p { margin-top: 16px; color: #f2f1e7; font-size: clamp(14px, 1.4vw, 20px); }
.auth-footer { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 45px; padding: 10px 30px; border-top: 1px solid var(--line); background: var(--ink-deep); }
.auth-footer nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 26px; }
.auth-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
.auth-footer p { color: var(--muted); font-size: 11px; text-align: center; }

@media (min-width: 1700px) {
    .shell { padding-block: 45px; }
    .signup-panel { padding: 28px 36px 20px; }
    .form-stack { gap: 22px; }
    .intro { padding-top: 55px; }
}
@media (max-width: 1120px) {
    .auth-header__inner, .shell { width: calc(100% - 48px); }
    .shell { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px; }
    .signup-panel { padding-inline: 22px; }
    .panel-header h1 { font-size: 32px; }
    .field-grid { gap: 12px; }
    .intro h2 { font-size: 37px; }
    .intro p { font-size: 14px; }
    .auth-art img { object-position: 58% bottom; }
}
@media (max-width: 900px) {
    .page { min-height: 0; }
    .shell { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; padding-block: 0 30px; }
    .intro { order: -1; justify-self: stretch; min-height: 300px; padding: 40px 45% 35px 0; text-align: left; }
    .intro h2 { font-size: clamp(30px, 4.8vw, 42px); }
    .intro p { max-width: 290px; line-height: 1.5; }
    .auth-art { width: 100%; left: 0; height: 440px; }
    .auth-art img { object-position: right bottom; }
    .auth-shade { background: linear-gradient(180deg, rgba(4, 26, 29, .12), transparent 180px, #08292d 435px), linear-gradient(90deg, rgba(4, 26, 29, .85), transparent 75%); }
    .signup-panel { width: min(620px, 100%); padding: 25px 30px 18px; }
    .panel-header h1 { font-size: 37px; }
}
@media (max-width: 620px) {
    .auth-header__inner, .shell { width: calc(100% - 32px); }
    .auth-header__inner { min-height: 75px; gap: 12px; }
    .brand { gap: 9px; }
    .brand img { width: 40px; height: 40px; }
    .brand__name { padding-left: 10px; font-size: 21px; }
    .brand__name small { font-size: 6px; margin-top: 5px; letter-spacing: .16em; }
    .header-links { gap: 16px; }
    .header-links a { font-size: 11px; }
    .header-links a + a::before { left: -8px; }
    .home-link > span:first-child { display: none; }
    .home-label { white-space: nowrap; }
    .home-prefix { display: none; }
    .intro { min-height: 235px; padding-top: 28px; padding-right: 43%; }
    .intro h2 { font-size: clamp(28px, 6.8vw, 36px); }
    .intro h2 br { display: none; }
    .intro p { font-size: 12px; margin-top: 12px; }
    .auth-art { height: 325px; width: 160%; left: -60%; }
    .auth-shade { background: linear-gradient(180deg, transparent, transparent 150px, #08292d 325px), linear-gradient(90deg, rgba(4, 26, 29, .75), transparent 75%); }
    .signup-panel { padding: 24px 20px 15px; }
    .panel-mark { display: none; }
    .panel-header h1 { font-size: 31px; }
    .panel-header p { max-width: 270px; margin-inline: auto; font-size: 13px; }
    .field-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
    .form-stack { gap: 23px; }
    .field input, .field select { min-height: 48px; }
    .field > label, .pin-preference > legend { font-size: 16px; }
    .section-copy { font-size: 12px; }
    .hint, .fine-print { font-size: 12px; }
    .section-title { font-size: 22px; margin-bottom: 12px; }
    .submit-btn { font-size: 22px; }
    .auth-footer { gap: 5px; padding: 12px 18px 18px; }
    .auth-footer nav { gap: 0 22px; }
    .auth-footer p { width: 100%; }
}
@media (max-width: 360px) {
    .auth-header__inner, .shell { width: calc(100% - 24px); }
    .brand img { width: 32px; height: 32px; }
    .brand { gap: 6px; }
    .brand__name { font-size: 18px; padding-left: 8px; }
    .brand__name small { font-size: 5px; }
    .header-links { gap: 12px; }
    .header-links a + a::before { left: -6px; }
    .signup-panel { padding-inline: 17px; }
    .panel-header h1 { font-size: 28px; }
    .intro h2 { font-size: 28px; }
}
