:root { color-scheme: light; font-family: "DM Sans", sans-serif; color: #17382d; background: #f6f4ea; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(520px, 1.08fr) minmax(440px, .92fr); }

.login-intro { min-height: 100vh; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(2rem, 4.5vw, 4.5rem); color: #17382d; background: #d9ed91; isolation: isolate; }
.login-intro::before { content: ""; position: absolute; width: 650px; height: 650px; top: -350px; right: -280px; border: 1px solid #d5ed9130; border-radius: 50%; box-shadow: 0 0 0 70px #d5ed9108, 0 0 0 140px #d5ed9106; }
.brand { position: relative; z-index: 4; display: inline-flex; align-items: center; align-self: flex-start; gap: .7rem; color: #17382d; text-decoration: none; font-size: .83rem; font-weight: 800; letter-spacing: .12em; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #17382d; background: #d5ed91; }
.brand-mark svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.scene-copy { position: relative; z-index: 3; width: min(500px, 73%); margin-top: clamp(3rem, 8vh, 6rem); padding: 1.25rem 1.4rem 1.4rem; border: 1px solid #17382d20; border-radius: 12px; background: #fff9e7d9; box-shadow: 0 18px 45px #17382d1f; backdrop-filter: blur(5px); }
.eyebrow { color: #789087; font-size: .68rem; font-weight: 800; letter-spacing: .16em; }
.scene-copy .eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 .7rem; color: #6e8826; }
.scene-copy .eyebrow span { width: 24px; height: 2px; background: currentColor; }
.login-intro h1 { margin: 0; font: 700 clamp(3.15rem, 5.2vw, 5.8rem)/.82 "Newsreader", serif; letter-spacing: -.052em; }
.login-intro h1 em { color: #78932f; font-weight: 600; }

.mower-scene { position: absolute; z-index: -1; inset: 0; background: url("/assets/login-mower-scene.png") 58% center / cover no-repeat; }
.mower-scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #f8f2df42 0, transparent 50%), linear-gradient(0deg, #17382d20 0, transparent 30%); }
.route-chip, .money-chip { position: absolute; z-index: 5; border: 1px solid #ffffff25; border-radius: 9px; box-shadow: 0 18px 35px #07130e4d; backdrop-filter: blur(10px); }
.route-chip { left: 7%; bottom: 6%; display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem; color: #fff; background: #102d24e8; }
.route-chip i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #17382d; background: #d5ed91; font-style: normal; }
.route-chip small, .route-chip strong, .money-chip small, .money-chip strong { display: block; }.route-chip small, .money-chip small { color: #adbbb5; font-size: .45rem; font-weight: 800; letter-spacing: .12em; }.route-chip strong { margin-top: .2rem; font-size: .65rem; }
.money-chip { right: 6%; bottom: 7%; padding: .75rem 1rem; color: #17382d; background: #f8f6ecf2; }.money-chip small { color: #6b7e75; }.money-chip strong { margin-top: .15rem; font: 700 1.25rem "Newsreader", serif; }

.login-panel { position: relative; display: grid; place-items: center; padding: clamp(2rem, 6vw, 6rem); background: radial-gradient(circle at 100% 0, #d5ed912b, transparent 28%), #f8f6ee; }
.login-panel::after { content: ""; position: absolute; inset: 18px; pointer-events: none; border: 1px solid #17382d0d; border-radius: 14px; }
.login-panel > * { width: min(480px, 100%); }
.auth-tabs { position: absolute; z-index: 2; top: clamp(2rem, 5vh, 4rem); left: 50%; width: min(480px, calc(100% - 4rem)); display: flex; padding: .3rem; border: 1px solid #dbe3dc; border-radius: 10px; background: #e8ede7; transform: translateX(-50%); }
.auth-tabs button { flex: 1; padding: .75rem; border: 0; border-radius: 7px; color: #61746b; background: transparent; font: 700 .82rem inherit; cursor: pointer; transition: .2s ease; }
.auth-tabs button.active { color: #17382d; background: #fffdf8; box-shadow: 0 3px 14px #17382d14; }
form { margin-top: 5rem; }
.back-home { display: inline-block; margin-bottom: 2.4rem; color: #6f8179; text-decoration: none; font-size: .7rem; font-weight: 700; }
.back-home:hover { color: #17382d; }
form > .eyebrow { margin: 0 0 .65rem; }
h2 { margin: 0 0 2.3rem; font: 700 clamp(2.4rem, 4vw, 3.7rem)/.95 "Newsreader", serif; letter-spacing: -.035em; }
form label { display: grid; gap: .55rem; margin-bottom: 1rem; font-size: .76rem; font-weight: 800; }
.input-wrap { position: relative; }
.input-icon { position: absolute; z-index: 1; left: 1rem; top: 50%; transform: translateY(-50%); width: 13px; height: 13px; overflow: hidden; color: #799087; font-size: .6rem; }
.input-icon::after { content: ""; position: absolute; width: 11px; height: 6px; left: 1px; bottom: -2px; border-radius: 8px 8px 0 0; background: currentColor; }
.lock-icon { width: 12px; height: 11px; border: 2px solid #799087; border-radius: 3px; }
.lock-icon::before { content: ""; position: absolute; width: 7px; height: 7px; left: 1px; top: -7px; border: 2px solid #799087; border-bottom: 0; border-radius: 6px 6px 0 0; }
.lock-icon::after { display: none; }
input { width: 100%; padding: 1rem 1rem 1rem 2.7rem; border: 1px solid #cbd7cf; border-radius: 7px; color: #17382d; background: #fffdf9; font: inherit; outline: none; transition: .18s ease; }
input::placeholder { color: #a3aea8; }
input:focus { border-color: #79972d; box-shadow: 0 0 0 4px #d5ed9140; }
.form-error { min-height: 1.35rem; margin: .2rem 0 .7rem; color: #a43c2c; font-size: .78rem; }
.submit-button { width: 100%; display: flex; justify-content: center; padding: 1rem; border: 0; border-radius: 7px; color: #17382d; background: #d5ed91; font: 800 .9rem inherit; cursor: pointer; box-shadow: 0 8px 20px #829c3d25; transition: transform .18s ease, background .18s ease; }
.submit-button::after { content: "→"; position: absolute; margin-left: 390px; }
.submit-button:hover { background: #c9e67d; transform: translateY(-1px); }
.submit-button:disabled { cursor: wait; opacity: .65; transform: none; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: .45rem; margin-top: 1.2rem; color: #788980; font-size: .64rem; }.secure-note span { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #69821e; background: #e9f2cc; font-size: .55rem; }

@media (max-width: 980px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-intro { min-height: 610px; }
  .scene-copy { margin-top: 4rem; }
  .mower-scene { background-position: 54% center; }
  .login-panel { min-height: 760px; }
}

@media (max-width: 560px) {
  .login-intro { min-height: 540px; padding: 1.5rem; }
  .login-intro h1 { font-size: clamp(3.5rem, 18vw, 5.2rem); }
  .scene-copy { width: 92%; margin-top: 3rem; padding: 1rem; }
  .mower-scene { background-position: 54% center; }
  .route-chip { left: 1rem; bottom: 1rem; }.money-chip { right: 1rem; bottom: 1rem; }
  .login-panel { min-height: 690px; padding: 2rem 1.5rem; }
  .login-panel::after { inset: 8px; }
  .auth-tabs { top: 2rem; width: calc(100% - 3rem); }
  form { margin-top: 5.5rem; }
  .submit-button::after { position: static; margin-left: 2rem; }
}
