:root {
    --ink: #071d1b;
    --ink-2: #0d2a26;
    --paper: #f5f6f1;
    --line: #dfe6df;
    --muted: #7b8a83;
    --acid: #d9f56a;
    --coral: #f58d79;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Manrope, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr); }
.auth-story { position: relative; display: flex; flex-direction: column; padding: 46px 8vw 32px; overflow: hidden; color: #eef5eb; background: var(--ink); }
.auth-story::before { content: ""; position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(#2b5b50 1px, transparent 1px), linear-gradient(90deg, #2b5b50 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(135deg, black, transparent 75%); }
.auth-story::after { content: ""; position: absolute; width: 620px; height: 330px; right: -230px; bottom: 16%; border: 1px solid rgba(217,245,106,.28); border-radius: 50%; transform: rotate(-22deg); box-shadow: 0 0 0 42px rgba(217,245,106,.025), 0 0 0 84px rgba(217,245,106,.025); }
.auth-brand, .story-copy, .story-footer { position: relative; z-index: 1; }
.auth-brand { display: flex; align-items: center; gap: 12px; }
.auth-brand > span:last-child { display: grid; gap: 4px; }
.auth-brand strong { font-size: 14px; letter-spacing: .13em; }
.auth-brand small { color: #78978a; font: 9px "DM Mono", monospace; letter-spacing: .13em; }
.auth-mark { width: 37px; height: 37px; display: grid; place-content: center; gap: 3px; border: 1px solid #52766a; border-radius: 11px; background: #153b35; transform: rotate(-8deg); }
.auth-mark i { display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--acid); }
.auth-mark i:nth-child(2) { width: 12px; margin-left: 5px; }
.auth-mark i:nth-child(3) { width: 7px; margin-left: 10px; }
.story-copy { margin: auto 0; max-width: 570px; }
.auth-kicker { display: flex; align-items: center; gap: 9px; color: #7f9f92; font: 500 9px "DM Mono", monospace; letter-spacing: .14em; text-transform: uppercase; }
.auth-kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(217,245,106,.1); }
.story-copy h1 { margin: 24px 0 22px; font-size: clamp(52px, 6.5vw, 92px); line-height: .9; letter-spacing: -.09em; }
.story-copy h1 em { color: var(--acid); font-style: normal; }
.story-copy p { max-width: 390px; color: #a2b9ad; font-size: 14px; line-height: 1.75; }
.story-footer { display: flex; justify-content: space-between; gap: 20px; color: #6d8b7f; font: 9px "DM Mono", monospace; letter-spacing: .05em; }
.auth-card-wrap { display: grid; place-items: center; padding: 35px; background: var(--paper); }
.auth-card { width: min(100%, 430px); padding: 43px 42px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 24px 70px rgba(7,29,27,.08); }
.auth-card > .auth-kicker { color: #9aae9f; }
.auth-card h2 { margin: 15px 0 9px; font-size: 31px; letter-spacing: -.08em; }
.auth-intro { margin: 0 0 28px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.auth-card form { display: grid; gap: 9px; }
.auth-card label { margin-top: 9px; color: var(--muted); font: 9px "DM Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.auth-input { display: flex; align-items: center; gap: 9px; height: 48px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcf8; transition: border-color .2s, box-shadow .2s; }
.auth-input:focus-within { border-color: #a1b99e; box-shadow: 0 0 0 3px rgba(161,185,158,.15); }
.auth-input > span { color: #a5bd5e; font: 17px "DM Mono", monospace; }
.auth-input input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; font-weight: 700; }
.auth-input input::placeholder { color: #a9b4ad; font-weight: 500; }
.auth-button { display: flex; justify-content: space-between; align-items: center; min-height: 47px; margin-top: 17px; padding: 0 16px; border: 1px solid var(--acid); border-radius: 8px; color: var(--ink); background: var(--acid); font-size: 11px; font-weight: 800; transition: background .2s, transform .2s, box-shadow .2s; }
.auth-button b { font: 17px "DM Mono", monospace; }
.auth-button:hover { background: #e5fb87; box-shadow: 0 9px 24px rgba(168,200,63,.18); transform: translateY(-2px); }
.auth-error { display: flex; gap: 9px; align-items: flex-start; margin: 0 0 18px; padding: 11px 12px; border: 1px solid #f2c0b6; border-radius: 7px; color: #9d5147; background: #fff1ed; font-size: 10px; line-height: 1.45; }
.auth-error span { width: 16px; height: 16px; display: grid; place-items: center; flex: 0 0 16px; border-radius: 50%; color: #fff; background: var(--coral); font-weight: 800; }
.auth-note { display: flex; gap: 8px; margin-top: 26px; padding-top: 17px; border-top: 1px solid var(--line); }
.auth-note > span { color: #6eaf75; font-size: 13px; }
.auth-note p { margin: 0; color: #93a29a; font: 9px/1.55 "DM Mono", monospace; }
@media (max-width: 820px) { .auth-shell { grid-template-columns: 1fr; } .auth-story { min-height: 310px; padding: 28px 24px; } .story-copy { margin: 62px 0 30px; } .story-copy h1 { margin: 16px 0 12px; font-size: 54px; } .story-copy p { font-size: 12px; } .story-footer { font-size: 8px; } .auth-card-wrap { padding: 25px 16px 45px; } }
@media (max-width: 440px) { .auth-story { min-height: 275px; } .story-copy { margin-top: 42px; } .story-copy h1 { font-size: 47px; } .story-footer span:last-child { display: none; } .auth-card { padding: 34px 24px; } }
