:root { --ink:#202321; --forest:#103c36; --teal:#177f73; --gold:#f4c84a; --line:#d9ddd9; --soft:#f3f4f1; --font:"DM Sans",sans-serif; --mono:"IBM Plex Mono",monospace; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; }
body { margin: 0; color: var(--ink); background: var(--soft); font-family: var(--font); }
button, input { font: inherit; }
.brand { position: fixed; z-index: 2; top: 24px; left: 32px; display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; font-size: 18px; font-weight: 700; }
.brand > span { width: 34px; height: 34px; display: grid; place-items: center; overflow: hidden; background: var(--gold); transform: rotate(-3deg); }
.brand img { width: 30px; height: 30px; object-fit: contain; }
main { min-height: 100vh; display: grid; grid-template-columns: minmax(390px, .9fr) minmax(480px, 1.1fr); }
.account-intro { padding: 120px clamp(42px, 6vw, 90px) 70px; display: flex; flex-direction: column; justify-content: center; color: white; background: var(--forest) url("/static/folio-studio.png") center / cover no-repeat; background-blend-mode: multiply; }
.account-intro > p, .auth-copy > p { margin: 0; color: var(--gold); font-family: var(--mono); font-size: 9px; }
.account-intro h1 { max-width: 590px; margin: 16px 0 55px; font-size: clamp(43px, 5vw, 72px); line-height: .98; }
.account-points { display: grid; gap: 23px; }
.account-points > span { display: grid; grid-template-columns: 28px 1fr; gap: 2px 11px; }
.account-points svg { width: 20px; grid-row: 1 / span 2; color: var(--gold); }
.account-points strong { font-size: 13px; }
.account-points small { color: #c0d0cb; font-size: 11px; }
.auth-panel { width: min(520px, calc(100% - 48px)); margin: auto; padding: 42px; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 15px 45px rgba(30, 40, 36, .08); }
.auth-tabs { margin-bottom: 34px; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.auth-tabs button { height: 42px; color: #7b817d; background: transparent; border: 0; border-bottom: 2px solid transparent; font-size: 13px; font-weight: 600; cursor: pointer; }
.auth-tabs button.is-active { color: var(--forest); border-bottom-color: var(--teal); }
.auth-copy > p { color: var(--teal); }
.auth-copy h2 { margin: 8px 0 6px; font-size: 28px; }
.auth-copy > span { color: #747b77; font-size: 12px; }
form { margin-top: 27px; display: grid; gap: 17px; }
label { display: grid; gap: 7px; }
label > span { font-size: 12px; font-weight: 600; }
input { width: 100%; height: 45px; padding: 0 12px; color: var(--ink); background: white; border: 1px solid #bcc3be; border-radius: 5px; outline: 0; font-size: 14px; }
input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,127,115,.1); }
.password-field { position: relative; }
.password-field input { padding-right: 45px; }
.password-field button { position: absolute; top: 0; right: 0; width: 43px; height: 45px; display: grid; place-items: center; color: #727974; background: transparent; border: 0; cursor: pointer; }
.password-field svg { width: 16px; }
.form-status { min-height: 17px; margin: -4px 0; color: #a53227; font-size: 11px; }
.form-status.success { color: #087157; }
.submit-button { height: 48px; padding: 0 17px 0 20px; display: flex; align-items: center; justify-content: space-between; color: white; background: var(--forest); border: 0; border-radius: 5px; font-size: 13px; font-weight: 700; cursor: pointer; }
.submit-button:hover { background: var(--teal); }
.submit-button:disabled { cursor: wait; opacity: .65; }
.submit-button svg { width: 17px; }
.terms { margin: 17px 0 0; color: #929793; font-size: 9px; text-align: center; }

@media (max-width: 850px) {
    .brand { position: absolute; top: 18px; left: 20px; }
    main { grid-template-columns: 1fr; }
    .account-intro { min-height: 430px; padding: 100px 24px 55px; }
    .account-intro h1 { margin-bottom: 35px; font-size: 45px; }
    .account-points { grid-template-columns: 1fr 1fr 1fr; gap: 15px; }
    .account-points > span { grid-template-columns: 24px 1fr; }
    .account-points small { display: none; }
    .auth-panel { margin: 38px auto; }
}

@media (max-width: 540px) {
    .account-intro { min-height: 345px; }
    .account-intro h1 { font-size: 38px; }
    .account-points { grid-template-columns: 1fr; gap: 12px; }
    .auth-panel { width: calc(100% - 24px); padding: 27px 20px; }
}