:root {
	--ink: #10242d;
	--muted: #68777e;
	--panel: #f5f3ed;
	--lime: #e8f347;
	--yellow: #f4c84a;
	--line: #dce2df;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
	margin: 0;
	background: #e8ece9;
	color: var(--ink);
	font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}
body > main.container {
	width: 100%;
	max-width: none;
	min-height: 100vh;
	margin: 0;
	padding: 0;
}

.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(420px, .65fr); }
.login-story { position: relative; min-height: 100vh; overflow: hidden; padding: 54px 64px 36px; color: #eef5f1; background: #10242d; display: flex; flex-direction: column; }
.login-story::before { content: ""; position: absolute; width: 640px; height: 640px; right: -300px; top: -310px; border: 1px solid rgba(232,243,71,.18); border-radius: 50%; box-shadow: 0 0 0 85px rgba(232,243,71,.025), 0 0 0 170px rgba(232,243,71,.02); }
.story-grid { position: absolute; inset: 0; opacity: .06; background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 80%, transparent); }
.brand-lockup, .mobile-brand { position: relative; display: flex; align-items: center; gap: 13px; z-index: 2; }
.brand-lockup strong, .mobile-brand strong { display: block; font-size: 19px; letter-spacing: .19em; line-height: 1; }
.brand-lockup small { display: block; margin-top: 7px; color: #90a5ad; font-size: 9px; letter-spacing: .32em; }
.brand-mark { width: 35px; height: 35px; display: grid; place-content: center; gap: 3px; border: 1px solid rgba(232,243,71,.55); transform: rotate(45deg); }
.brand-mark span { width: 15px; height: 2px; display: block; background: var(--lime); }
.brand-mark span:nth-child(2) { width: 11px; }

.story-content { position: relative; z-index: 1; width: min(850px, 100%); margin: auto 0; padding-top: 65px; }
.eyebrow { margin: 0 0 24px; color: #b5c4c7; font-size: 11px; font-weight: 700; letter-spacing: .22em; }
.eyebrow span { display: inline-block; width: 34px; height: 2px; margin: 0 10px 3px 0; background: var(--lime); }
.story-content h1 { max-width: 820px; margin: 0; font-size: clamp(42px, 4.35vw, 72px); line-height: 1.03; letter-spacing: -.055em; font-weight: 660; }
.story-content h1 em { color: var(--lime); font-style: normal; font-weight: 430; }
.story-copy { max-width: 580px; margin: 25px 0 0; color: #a8b9bd; font-size: 17px; line-height: 1.65; }

.route-visual { position: relative; width: min(790px, 100%); height: 270px; margin-top: 22px; }
.route-visual > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-shadow, .route-line { fill: none; stroke-linecap: round; }
.route-shadow { stroke: rgba(255,255,255,.08); stroke-width: 14; }
.route-line { stroke: url(#routeGlow); stroke-width: 2.5; stroke-dasharray: 6 10; }
.route-node { fill: #10242d; stroke: #f4c84a; stroke-width: 3; }
.route-node.active { fill: var(--yellow); stroke: rgba(244,200,74,.22); stroke-width: 10; }
.location-card { position: absolute; min-width: 145px; padding: 10px 14px 11px 34px; border: 1px solid rgba(255,255,255,.12); background: rgba(15,36,45,.84); box-shadow: 0 14px 35px rgba(0,0,0,.16); backdrop-filter: blur(6px); }
.location-card i { position: absolute; left: 13px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(244,200,74,.1); }
.location-card span, .location-card b { display: block; }
.location-card span { color: #7f969e; font-size: 9px; text-transform: uppercase; letter-spacing: .15em; }
.location-card b { margin-top: 3px; font-size: 13px; font-weight: 600; }
.location-card.origin { left: 0; bottom: 7px; }
.location-card.transit { left: 44%; top: 36%; }
.location-card.destination { right: 0; top: 6%; }
.location-card.transit i { background: #81a8b3; box-shadow: 0 0 0 5px rgba(129,168,179,.1); }
.tire-wheel { position: absolute; right: 17%; bottom: -24px; width: 104px; height: 104px; border: 17px solid #0a171d; border-radius: 50%; box-shadow: inset 0 0 0 3px #263b43, 0 16px 28px rgba(0,0,0,.25); opacity: .92; }
.tire-wheel::before { content: ""; position: absolute; inset: -12px; border: 2px dashed #32484f; border-radius: 50%; }
.tire-wheel span { position: absolute; inset: 17px; border: 5px solid #839398; border-radius: 50%; }
.tire-wheel span::before, .tire-wheel span::after { content: ""; position: absolute; background: #839398; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.tire-wheel span::before { width: 40px; height: 5px; }
.tire-wheel span::after { width: 5px; height: 40px; }

.story-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; color: #70878f; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(232,243,71,.09); }

.login-access { min-height: 100vh; padding: 54px clamp(34px, 4vw, 76px) 30px; background: var(--panel); display: flex; flex-direction: column; }
.mobile-brand { display: none; }
.login-panel { width: 100%; max-width: 440px; margin: auto; }
.login-heading { margin-bottom: 34px; }
.login-icon { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 30px; border: 1px solid #d6ddd8; background: #ecece5; }
.login-icon svg { width: 21px; fill: none; stroke: var(--ink); stroke-width: 1.7; }
.login-heading p { margin: 0 0 10px; color: #93a028; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.login-heading h2 { margin: 0 0 12px; font-size: 39px; line-height: 1; letter-spacing: -.04em; font-weight: 650; }
.login-heading > span:last-child { color: var(--muted); font-size: 14px; }
.alert { border: 0; border-radius: 0; font-size: 13px; }
.field-group { margin-bottom: 21px; }
.field-group label { display: block; margin-bottom: 8px; color: #394b52; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.field-control { position: relative; }
.field-control > svg { position: absolute; left: 17px; top: 50%; z-index: 2; width: 19px; transform: translateY(-50%); fill: none; stroke: #7a898e; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.field-control .form-control { height: 55px; padding: 0 48px; border: 1px solid #d5dcda; border-radius: 0; color: var(--ink); background: #fbfaf6; font-size: 14px; box-shadow: none; transition: border-color .2s, box-shadow .2s; }
.field-control .form-control:focus { border-color: #8b9b4c; box-shadow: 0 0 0 3px rgba(232,243,71,.2); }
.field-control .form-control.is-invalid { border-color: #ba5d57; background-image: none; }
.field-error { margin-top: 6px; color: #a4443f; font-size: 12px; }
.password-toggle { position: absolute; right: 14px; top: 50%; width: 34px; height: 34px; padding: 7px; transform: translateY(-50%); border: 0; color: #718187; background: transparent; cursor: pointer; }
.password-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
.form-options { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 29px; font-size: 12px; }
.form-options a { color: #50616a; font-weight: 600; text-decoration: none; border-bottom: 1px solid #b9c1be; }
.remember-check { display: flex; align-items: center; gap: 9px; color: #56676e; cursor: pointer; }
.remember-check input { position: absolute; opacity: 0; }
.remember-check span { width: 17px; height: 17px; border: 1px solid #aab5b1; background: #fff; }
.remember-check input:checked + span { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px #fff; }
.login-button { width: 100%; height: 56px; padding: 0 19px 0 24px; border: 0; display: flex; align-items: center; justify-content: space-between; color: #10242d; background: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; transition: transform .18s, background .18s; }
.login-button:hover { background: #f2fb66; transform: translateY(-1px); }
.login-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.secure-note { display: flex; align-items: center; gap: 11px; margin-top: 29px; padding-top: 22px; border-top: 1px solid #dde1dd; color: #53656b; font-size: 11px; line-height: 1.35; }
.secure-note svg { width: 25px; fill: none; stroke: #87982f; stroke-width: 1.5; }
.secure-note small { color: #899498; font-size: 10px; }
.access-footer { margin: 0; color: #9aa5a2; font-size: 10px; text-align: center; letter-spacing: .06em; }

@media (max-width: 1050px) {
	.login-shell { grid-template-columns: minmax(0, 1fr) 430px; }
	.login-story { padding-left: 42px; padding-right: 42px; }
	.story-content h1 { font-size: 46px; }
}
@media (max-width: 820px) {
	.login-shell { display: block; min-height: 100vh; background: var(--panel); }
	.login-story { min-height: 280px; padding: 30px 28px; }
	.brand-lockup, .story-copy, .route-visual, .story-footer { display: none; }
	.story-content { margin: auto 0 0; padding: 60px 0 14px; }
	.story-content h1 { font-size: clamp(34px, 9vw, 50px); }
	.eyebrow { margin-bottom: 15px; }
	.login-access { min-height: auto; padding: 28px 24px 26px; }
	.mobile-brand { display: flex; margin-bottom: 50px; }
	.mobile-brand strong { font-size: 15px; }
	.mobile-brand .brand-mark { width: 29px; height: 29px; }
	.login-panel { margin-bottom: 58px; }
	.login-icon { display: none; }
}
@media (max-width: 430px) {
	.login-story { min-height: 250px; }
	.login-heading h2 { font-size: 34px; }
	.form-options { align-items: flex-start; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; }
}
