@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700;800&display=swap');
:root { --ink:#29170c; --muted:#765d49; --gold:#c88827; --gold-light:#f6ce76; --line:#ead8bf; --cream:#fffaf2; }
* { box-sizing:border-box; }
body.auth-page { margin:0; color:var(--ink); font:15px/1.5 'Jost',sans-serif; background:var(--cream); }
.auth-layout { min-height:100vh; display:grid; grid-template-columns:minmax(0,1.08fr) minmax(440px,.92fr); }
.auth-story { min-height:100vh; position:relative; overflow:hidden; padding:42px clamp(42px,7vw,110px); color:#fffaf1; display:flex; flex-direction:column; background:linear-gradient(100deg,rgba(50,23,6,.63),rgba(78,39,7,.18)),url('../images/backgrounds/hero-background.webp') center/cover; }
.auth-story::after { content:''; position:absolute; inset:0; pointer-events:none; background:linear-gradient(0deg,rgba(31,13,4,.33),transparent 45%); }
.story-brand,.mobile-brand { position:relative; z-index:1; display:inline-flex; align-items:center; gap:10px; width:max-content; color:inherit; text-decoration:none; font:700 27px/1 'Jost',sans-serif; }
.story-brand img,.mobile-brand img { width:44px; height:44px; object-fit:contain; }
.story-brand b,.mobile-brand b { color:#edb94f; }
.story-brand small { display:block; margin-top:4px; color:#fff1d6; font:400 10px/1.2 'Jost',sans-serif; letter-spacing:.03em; }
.story-copy { position:relative; z-index:1; max-width:575px; margin:auto 0; padding:72px 0 42px; }
.story-kicker,.eyebrow { margin:0 0 10px; color:#f5ca78; font-size:11px; font-weight:700; letter-spacing:.14em; }
.story-copy h1 { margin:0 0 17px; font:700 clamp(38px,4vw,62px)/1.08 'Jost',sans-serif; letter-spacing:-.035em; }
.story-copy h1 em { color:#ffd576; font-style:normal; }
.story-copy > p:last-child { max-width:470px; margin:0; color:#fff8eb; font-size:16px; line-height:1.7; }
.story-benefits { position:relative; z-index:1; display:flex; flex-wrap:wrap; gap:16px 22px; margin-top:auto; }
.story-benefits span { display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:600; }
.story-benefits b { display:grid; place-items:center; width:28px; height:28px; border:1px solid #f1bd62; border-radius:50%; background:#2d1708; color:#f5c466; }
.auth-panel { display:grid; place-items:center; padding:42px 24px; background:radial-gradient(circle at 100% 0,#fff0cf 0,transparent 31%),#fffdf9; }
.auth-card { width:min(100%,420px); padding:20px 0; }
.mobile-brand { display:none; color:var(--ink); margin-bottom:28px; font-size:25px; }
.eyebrow { color:#bd7b1d; }
.auth-card h2 { margin:0; font:700 35px/1.17 'Jost',sans-serif; letter-spacing:-.025em; }
.intro { margin:10px 0 28px; color:var(--muted); }
.auth-form { display:grid; gap:17px; }
.auth-form label { display:grid; gap:7px; color:#4c321f; font-size:13px; font-weight:700; }
.auth-form input { width:100%; min-height:48px; padding:12px 14px; border:1px solid var(--line); border-radius:9px; outline:none; background:#fffaf3; color:var(--ink); font:400 14px 'Jost',sans-serif; transition:border-color .2s,box-shadow .2s,background .2s; }
.auth-form input::placeholder { color:#a89380; }
.auth-form input:focus { border-color:var(--gold); background:#fff; box-shadow:0 0 0 4px rgba(200,136,39,.13); }
.auth-form button { display:flex; align-items:center; justify-content:center; gap:12px; min-height:49px; margin-top:5px; border:1px solid #f7d889; border-radius:999px; color:#2d1807; background:linear-gradient(135deg,#f7d984,#d99122); box-shadow:0 7px 16px rgba(174,108,16,.22); font:700 14px 'Jost',sans-serif; cursor:pointer; transition:transform .2s,box-shadow .2s; }
.auth-form button:hover { transform:translateY(-1px); box-shadow:0 10px 20px rgba(174,108,16,.3); }
.auth-form button span { font-size:18px; line-height:1; }
.alert { margin:0 0 18px; padding:10px 12px; border:1px solid #efbbb6; border-radius:9px; background:#fff1ef; color:#9b3028; font-size:13px; }
.auth-switch,.back-link { display:block; text-align:center; color:var(--muted); font-size:13px; }
.auth-switch { margin:24px 0 13px; }
.auth-switch a,.back-link { color:#ab6e1d; font-weight:700; text-decoration:none; }
.back-link { width:max-content; margin:auto; }
.account-email { margin:24px 0 17px; padding:13px 15px; border:1px solid var(--line); border-radius:9px; background:#fff9ef; color:var(--muted); font-size:14px; }
.dashboard-card form { margin-bottom:18px; }
.dashboard-links { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:0 0 14px; }
.dashboard-links a { display:flex; align-items:center; justify-content:center; min-height:42px; border-radius:999px; color:#704615; border:1px solid #e5c995; background:#fff8e9; font-size:13px; font-weight:700; text-decoration:none; }
.dashboard-links a:hover { background:#f9e5b9; }
.dashboard-card .secondary-button { width:100%; min-height:46px; border:1px solid #cda461; border-radius:999px; background:transparent; color:#563515; font:700 14px 'Jost',sans-serif; cursor:pointer; transition:background .2s,color .2s; }
.dashboard-card .secondary-button:hover { background:#f8e8ca; color:#29170c; }
@media (max-width:860px) { .auth-layout { display:block; } .auth-story { min-height:310px; padding:26px 28px; } .story-copy { margin:auto 0 0; padding:56px 0 0; } .story-copy h1 { font-size:39px; } .story-copy > p:last-child,.story-benefits { display:none; } .auth-panel { min-height:calc(100vh - 310px); padding:36px 24px; } .mobile-brand { display:inline-flex; } }
@media (max-width:480px) { .auth-story { min-height:235px; padding:22px; } .story-brand { font-size:23px; } .story-brand img { width:37px; height:37px; } .story-copy { padding-top:40px; } .story-copy h1 { font-size:31px; } .auth-panel { padding:28px 21px; } .auth-card h2 { font-size:30px; } }
