* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; font-family: var(--font); color: var(--ink); font-size: 14px; background: radial-gradient(ellipse at 10% 55%, #e1e9d6 0, transparent 55%), linear-gradient(135deg, #f7f9f2, #eef2e8); }
button, input { font: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.auth-header { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 40px; border-bottom: 1px solid #dce3d3; background: #fafbf7a8; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-symbol { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #b6cec0; border-radius: 7px; background: #edf2e9; color: var(--accent); }
.brand strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: 1.2px; }
.brand strong span { font-weight: 400; }
.brand small { display: block; color: var(--muted); font-size: 8px; letter-spacing: 2.7px; margin-top: 3px; }
.header-label { color: #8e9a84; font-size: 9px; letter-spacing: 1.4px; }
.auth-shell { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 90px; align-items: center; width: min(1080px, calc(100% - 100px)); margin: 50px auto; }
.auth-intro { position: relative; }
.eyebrow { color: #83976e; font-size: 9px; letter-spacing: 1.7px; font-weight: 500; }
.auth-intro h1 { font-size: clamp(48px, 5vw, 68px); font-weight: 400; line-height: 1.07; letter-spacing: -3px; margin: 24px 0 20px; color: #38583e; }
.auth-intro > p { font-size: 15px; line-height: 1.8; color: #85917a; max-width: 340px; margin: 0; }
.network-art { margin: 6px -30px -12px; max-width: 540px; }
.network-art svg { display: block; width: 100%; }
.intro-caption { font-size: 8px; letter-spacing: 2px; color: #8a9b79; display: flex; align-items: center; gap: 10px; }
.intro-caption > span { height: 1px; width: 30px; background: #bccbad; }
.auth-card { background: #fffffff2; border: 1px solid #dce4d2; border-radius: 7px; box-shadow: 0 18px 65px #4b683d0a, 0 3px 9px #4b683d04; overflow: hidden; }
.card-heading { padding: 32px 32px 0; }
.card-heading .eyebrow { color: #9ba68e; font-size: 8px; }
.auth-card h2 { font-size: 25px; font-weight: 500; letter-spacing: -.7px; margin: 12px 0 25px; }
.auth-steps { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid #e7ecdf; padding-bottom: 21px; }
.auth-steps > a, .auth-steps > span:not(.step-line) { display: inline-flex; align-items: center; gap: 7px; color: #9ba78f; font-size: 11px; }
.auth-steps > a > span, .auth-steps > span > span { width: 21px; height: 21px; border: 1px solid #dce5d1; border-radius: 50%; display: grid; place-items: center; font-size: 10px; }
.auth-steps > .active { color: var(--accent) !important; }
.auth-steps > .active > span { background: #edf4e9; border-color: #aac4a2; }
.step-line { height: 1px; flex: 1; background: #e1e9d8; }
.auth-content { padding: 20px 32px 26px; }
.auth-content p { font-size: 12px; line-height: 1.8; color: #8b977f; margin: 0 0 23px; }
.field-label { display: block; font-weight: 500; font-size: 11px; margin: 0 0 8px; color: #576f4c; }
.auth-content input:not([type=hidden]) { width: 100%; min-width: 0; height: 44px; padding: 10px 12px; border: 1px solid #d5dfc9; background: #fcfdf9; border-radius: 4px; color: var(--ink); font-size: 13px; margin: 0 0 18px; }
.auth-content input::placeholder { color: #adb7a3; }
.auth-content input:focus { border-color: #6d9d77; outline: 2px solid #6d9d7720; outline-offset: 0; }
.auth-content input#code { font-family: var(--mono); letter-spacing: 5px; font-size: 18px; }
.auth-content input#code::placeholder { font-family: var(--font); letter-spacing: 0; font-size: 13px; }
.auth-content button { display: flex; width: 100%; gap: 10px; align-items: center; justify-content: center; border: 1px solid var(--accent); border-radius: 4px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 500; min-height: 44px; padding: 10px; cursor: pointer; }
.auth-content button:hover { background: var(--accent-dark); }
.auth-content button span { margin-left: auto; margin-right: 5px; }
.auth-content button:has(span) { padding-left: 17px; }
.auth-content button.secondary { background: #f7f9f2; border-color: #d8e3cc; color: #6f885f; }
.auth-content button.secondary:hover { background: #edf3e5; }
.auth-content form + form { margin-top: 10px; }
.auth-content form + p { margin-top: 15px; margin-bottom: 0; font-size: 10px; }
.auth-content p.form-note { text-align: center; color: #a1ad95; font-size: 10px; line-height: 1.7; margin: 17px 0 0; }
.auth-content .auth-message { border: 1px solid #e8cdb1; border-radius: 4px; padding: 11px; font-size: 11px; background: #fff8ee; color: #a66d38; margin-bottom: 16px; }
.card-footer { border-top: 1px solid #e5ecdd; padding: 14px 24px; display: flex; align-items: center; justify-content: center; gap: 8px; background: #f8faf4; color: #9ba98d; font-size: 9px; }
.card-footer svg { flex-shrink: 0; color: #88a37b; }
.auth-footer { padding: 20px 40px; display: flex; justify-content: space-between; gap: 15px; align-items: center; font-size: 9px; color: #a1ad96; border-top: 1px solid #dfe6d5; }
.auth-footer a { color: #859c75; }
@media (max-width: 1050px) { .auth-shell { gap: 40px; grid-template-columns: minmax(0, 1fr) 400px; width: calc(100% - 70px); } .auth-intro h1 { font-size: 55px; } }
@media (max-width: 780px) {
  .auth-header { padding: 19px 23px; }
  .header-label { display: none; }
  .auth-shell { display: block; width: min(440px, calc(100% - 36px)); margin: 35px auto; }
  .auth-intro { display: none; }
  .auth-footer { flex-wrap: wrap; padding: 18px 23px; font-size: 9px; }
  .auth-footer > span:nth-child(2) { display: none; }
}
@media (max-width: 380px) { .card-heading { padding: 25px 22px 0; } .auth-content { padding: 20px 22px 24px; } .auth-card h2 { font-size: 23px; } .auth-steps { gap: 8px; } .auth-steps > a, .auth-steps > span:not(.step-line) { font-size: 10px; } .brand strong { font-size: 12px; } .brand small { font-size: 7px; letter-spacing: 2.3px; } .card-footer { padding-inline: 16px; font-size: 8px; } }
.auth-content p, .auth-intro > p { color: #6a7c5e; }
.auth-content p.form-note, .card-footer { color: #7c8c70; }
@media (max-width: 780px) { .auth-content input:not([type=hidden]) { font-size: 16px; } }
