@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

:root { color-scheme: light; --forest:#0d372b; --forest-deep:#08291f; --pine:#1e5a45; --paper:#f7f5ef; --card:#fffefb; --ink:#173c2f; --muted:#64736c; --line:#d9ddd4; --clay:#b96749; }
* { box-sizing:border-box; }
body { min-width:320px; min-height:100vh; margin:0; background:var(--paper); color:var(--ink); font-family:"DM Sans",Arial,sans-serif; }
.login-shell { display:grid; grid-template-columns:minmax(360px,43%) 1fr; min-height:100vh; }
.brand-panel { position:relative; display:flex; min-height:100%; flex-direction:column; overflow:hidden; padding:42px clamp(36px,6vw,92px); background:radial-gradient(circle at 100% 8%,rgba(92,154,123,.22),transparent 25rem),linear-gradient(145deg,var(--forest-deep),var(--forest)); color:#edf4ed; }
.brand-panel::after { position:absolute; right:-180px; bottom:-205px; width:510px; height:510px; border:1px solid rgba(219,239,222,.15); border-radius:50%; box-shadow:0 0 0 55px rgba(219,239,222,.045),0 0 0 111px rgba(219,239,222,.025); content:""; }
.wordmark { width:max-content; color:#fffdf7; font-family:"Libre Baskerville",Georgia,serif; font-size:25px; letter-spacing:-1.3px; text-decoration:none; }
.wordmark span { color:#b3d0bb; font-size:16px; letter-spacing:-.7px; }
.brand-copy { position:relative; z-index:1; max-width:460px; margin:auto 0; padding:80px 0; }
.eyebrow { margin:0 0 18px; color:#8fc0a0; font-size:11px; font-weight:700; letter-spacing:1.8px; text-transform:uppercase; }
.brand-copy h1 { max-width:445px; margin:0; color:#fffdf8; font-family:"Libre Baskerville",Georgia,serif; font-size:clamp(38px,4.1vw,63px); font-weight:400; letter-spacing:-3px; line-height:1.12; }
.brand-copy>p:last-child { max-width:375px; margin:27px 0 0; color:#c4d4c8; font-size:15px; line-height:1.65; }
.brand-footer { position:relative; z-index:1; margin:0; color:#8eb3a0; font-size:12px; }
.login-panel { display:grid; place-items:center; padding:48px 32px; }
.login-card { width:min(100%,430px); }
.login-card .eyebrow { margin-bottom:17px; color:#35634f; }
.login-card h2 { margin:0; font-family:"Libre Baskerville",Georgia,serif; font-size:clamp(31px,3vw,42px); font-weight:400; letter-spacing:-2px; line-height:1.15; }
.intro { max-width:365px; margin:15px 0 34px; color:var(--muted); font-size:15px; line-height:1.6; }
form { display:grid; gap:8px; }
label { margin-top:9px; color:#426354; font-size:11px; font-weight:700; letter-spacing:1px; text-transform:uppercase; }
.input-value, input { width:100%; min-height:52px; border:1px solid var(--line); border-radius:4px; background:var(--card); color:var(--ink); font:15px "DM Sans",Arial,sans-serif; }
.input-value { display:flex; align-items:center; padding:0 16px; color:#597066; }
input { outline:none; padding:0 16px; transition:border-color .16s ease, box-shadow .16s ease; }
input:focus { border-color:#4d8970; box-shadow:0 0 0 4px rgba(55,112,87,.12); }
button { display:flex; min-height:54px; align-items:center; justify-content:center; gap:12px; margin-top:18px; border:0; border-radius:4px; background:var(--forest); color:#fff; cursor:pointer; font:600 15px "DM Sans",Arial,sans-serif; transition:background .16s ease,transform .16s ease; }
button:hover { background:#1c5b45; transform:translateY(-1px); }
button span { font-size:21px; font-weight:400; line-height:1; }
.error-message, .success-message { margin:0 0 21px; padding:12px 14px; font-size:13px; line-height:1.45; }
.error-message { border-left:3px solid var(--clay); background:#f8eae4; color:#81402c; }
.success-message { border-left:3px solid #4c8a67; background:#e7f1e9; color:#265c3f; }
.help { margin:27px 0 0; border-top:1px solid var(--line); padding-top:20px; color:#748078; font-size:12px; line-height:1.55; }
@media (max-width:780px) { .login-shell { grid-template-columns:1fr; }.brand-panel { min-height:275px; padding:28px 27px; }.brand-copy { margin:auto 0 8px; padding:38px 0 0; }.brand-copy h1 { font-size:37px; letter-spacing:-2px; }.brand-copy>p:last-child, .brand-footer { display:none; }.login-panel { place-items:start center; padding:42px 27px 55px; } }
