*{margin:0;padding:0;box-sizing:border-box}:root{--primary-color: #2563eb;--secondary-color: #64748b;--success-color: #10b981;--danger-color: #ef4444;--background: #ffffff;--surface: #f8fafc;--text-primary: #0f172a;--text-secondary: #64748b;--border: #e2e8f0;--shadow: 0 1px 3px 0 rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1)}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.6;color:var(--text-primary);background:var(--background)}.navbar{background:var(--surface);border-bottom:1px solid var(--border);padding:1rem 0;position:sticky;top:0;z-index:1000}.navbar .container{display:flex;justify-content:space-between;align-items:center}.logo{font-size:1.5rem;font-weight:700;color:var(--primary-color)}.nav-links{display:flex;list-style:none;gap:2rem}.nav-links a{text-decoration:none;color:var(--text-primary);font-weight:500;transition:color .2s}.nav-links a:hover,.nav-links a.active{color:var(--primary-color)}.container{max-width:1200px;margin:0 auto;padding:0 2rem}.hero{text-align:center;padding:4rem 0}.hero h1{font-size:3rem;font-weight:800;margin-bottom:1rem}.subtitle{font-size:1.25rem;color:var(--text-secondary);margin-bottom:2rem}.hero-buttons{display:flex;gap:1rem;justify-content:center}.button{display:inline-block;padding:.75rem 1.5rem;border-radius:.5rem;text-decoration:none;font-weight:600;transition:all .2s}.button-primary{background:var(--primary-color);color:#fff}.button-primary:hover{background:#1d4ed8;transform:translateY(-2px);box-shadow:var(--shadow-lg)}.button-secondary{background:var(--surface);color:var(--text-primary);border:2px solid var(--border)}.button-secondary:hover{border-color:var(--primary-color);color:var(--primary-color)}section{padding:3rem 0}h2{font-size:2rem;margin-bottom:1.5rem}h3{font-size:1.5rem;margin:2rem 0 1rem}.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:2rem}.feature-card{background:var(--surface);padding:2rem;border-radius:.5rem;border:1px solid var(--border)}.feature-card h3{margin-top:0;font-size:1.25rem}pre{background:#1e293b;color:#e2e8f0;padding:1.5rem;border-radius:.5rem;overflow-x:auto;margin:1rem 0}code{font-family:Courier New,monospace;font-size:.9rem}ul{list-style-position:inside;margin-left:1rem}li{margin:.5rem 0}li code{background:var(--surface);padding:.25rem .5rem;border-radius:.25rem;color:var(--primary-color)}footer{background:var(--surface);border-top:1px solid var(--border);padding:2rem 0;margin-top:4rem;text-align:center;color:var(--text-secondary)}.demo-header{text-align:center;margin-bottom:2rem}.url-input-section{margin-top:1.5rem;display:flex;flex-direction:column;gap:.75rem;max-width:700px;margin-left:auto;margin-right:auto}.url-input-section label{font-weight:500;color:var(--text-primary);text-align:left}.url-input-section input[type=url]{padding:.75rem 1rem;border:2px solid var(--border);border-radius:.5rem;font-size:1rem;font-family:inherit;width:100%;transition:border-color .2s}.url-input-section input[type=url]:focus{outline:none;border-color:var(--primary-color)}.url-input-section button{align-self:flex-start}.agencies-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.agency-card{background:#fff;padding:1.5rem;border-radius:.5rem;border:1px solid var(--border);box-shadow:var(--shadow)}.agency-card h3{font-size:1.25rem;margin:0 0 1rem;color:var(--primary-color)}.agency-card p{margin:.5rem 0;font-size:.95rem;color:var(--text-primary)}.agency-card a{color:var(--primary-color);text-decoration:none;word-break:break-all}.agency-card a:hover{text-decoration:underline}.loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px}.spinner{border:4px solid var(--border);border-top:4px solid var(--primary-color);border-radius:50%;width:50px;height:50px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error{background:#fee2e2;color:var(--danger-color);padding:1rem;border-radius:.5rem;text-align:center;margin:2rem 0}.demo-section{margin:2rem 0;padding:2rem;background:var(--surface);border-radius:.5rem;border:1px solid var(--border)}.date-section{padding:1.25rem 2rem}.date-section h2{font-size:1.25rem;margin-bottom:1rem}.help-text{color:var(--text-secondary);font-style:italic;margin-bottom:1rem}.date-selector{margin-bottom:1rem}.date-selector input[type=date]{padding:.6rem .875rem;border:2px solid var(--border);border-radius:.5rem;font-size:.95rem;font-family:inherit;width:100%;max-width:250px;transition:border-color .2s}.date-selector input[type=date]:focus{outline:none;border-color:var(--primary-color)}.active-calendars{margin-top:.75rem}.info-text{color:var(--text-secondary);font-size:.95rem;line-height:1.6}.download-section{text-align:center;padding:1.5rem 2rem}.download-section .button{margin-bottom:.5rem}.download-section .help-text{margin-top:.5rem;margin-bottom:0;font-size:.875rem}.calendar-info{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}.calendar-card{background:#fff;padding:1rem;border-radius:.5rem;border:1px solid var(--border)}.calendar-card h3{font-size:1rem;margin:0 0 .5rem;color:var(--primary-color)}.calendar-days{display:flex;gap:.25rem;margin:.5rem 0}.day{width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:.25rem;font-size:.75rem;font-weight:600}.day.active{background:var(--success-color);color:#fff}.day.inactive{background:var(--border);color:var(--text-secondary)}.routes-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}.route-card{padding:1rem;border-radius:.5rem;cursor:pointer;transition:all .2s;border:2px solid transparent;text-align:center}.route-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);border-color:var(--primary-color)}.route-number{font-size:1.5rem;font-weight:700;margin-bottom:.5rem}.route-name{font-size:.9rem}.trips-list{display:grid;gap:1.5rem}.trip-group{background:#fff;border-radius:.5rem;border:1px solid var(--border);overflow:hidden}.trip-group-header{background:var(--surface);padding:1rem;border-bottom:1px solid var(--border)}.trip-headsign{font-weight:600;font-size:1.1rem;margin-bottom:.25rem}.trip-meta{font-size:.875rem;color:var(--text-secondary)}.trip-items{display:grid;gap:0}.trip-card{background:#fff;padding:1rem;border-bottom:1px solid var(--border);cursor:pointer;transition:all .2s;display:flex;justify-content:space-between;align-items:center}.trip-card:last-child{border-bottom:none}.trip-card:hover{background:var(--surface)}.trip-info{flex:1}.trip-name{font-size:1rem;font-weight:600;margin-bottom:.25rem}.trip-id-secondary{font-size:.8rem;color:var(--text-secondary);margin-bottom:.25rem}.trip-id{font-size:.95rem;margin-bottom:.25rem}.trip-service{font-size:.875rem;color:var(--text-secondary)}.stop-times-list{background:#fff;border-radius:.5rem;overflow:hidden}.stop-time-item{display:grid;grid-template-columns:80px 80px 1fr;gap:1rem;padding:1rem;border-bottom:1px solid var(--border);align-items:center}.stop-time-item:last-child{border-bottom:none}.stop-time-item:hover{background:var(--surface)}.time{font-weight:600;color:var(--primary-color);font-family:monospace}.sequence{background:var(--surface);color:var(--text-secondary);padding:.25rem .5rem;border-radius:.25rem;font-size:.875rem;text-align:center}.stop-name{font-weight:500}@media (max-width: 768px){.hero h1{font-size:2rem}.hero-buttons{flex-direction:column}.nav-links{gap:1rem}.stop-time-item{grid-template-columns:70px 1fr;gap:.5rem}.sequence{grid-column:1}.time{grid-column:2}.stop-name{grid-column:1 / -1}}.button-active{background:#ef4444;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.8}}.alert-card{background:#fef2f2;border-left:4px solid #ef4444;padding:1rem;margin-bottom:1rem;border-radius:.5rem}.alert-card h4{color:#991b1b;margin-top:0;margin-bottom:.5rem}.alert-card p{color:#7f1d1d;margin:.5rem 0}.alert-routes{margin-top:.75rem;display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.route-badge{display:inline-block;padding:.25rem .5rem;border-radius:.25rem;font-size:.875rem;font-weight:600}.route-badge-more{font-size:.875rem;color:var(--text-secondary)}.vehicle-count-display{text-align:center;padding:2rem}.vehicle-count-number{font-size:3rem;font-weight:700;color:var(--primary-color)}.vehicle-count-label{font-size:1.125rem;color:var(--text-secondary);margin-top:.5rem}.no-data{color:var(--text-secondary);font-style:italic;text-align:center;padding:1rem}.rt-indicator{display:inline-block;background:#10b981;color:#fff;padding:.125rem .375rem;border-radius:.25rem;font-size:.75rem;font-weight:600;margin-left:.5rem}.delay-indicator{display:inline-block;padding:.125rem .375rem;border-radius:.25rem;font-size:.75rem;font-weight:600;margin-left:.5rem}.delay-low{background:#d1fae5;color:#065f46}.delay-medium{background:#fed7aa;color:#92400e}.delay-high{background:#fecaca;color:#991b1b}.trip-has-rt{border-left:3px solid #10b981}.has-realtime{background:#f0fdf4}.rt-time{font-weight:700;font-size:1.125rem}.scheduled-time{font-size:.875rem;color:var(--text-secondary);text-decoration:line-through}.url-input-section{margin-bottom:1.5rem}.url-input-section label{display:block;margin-bottom:.5rem;font-weight:500}.url-input-section input[type=url]{width:100%;padding:.75rem;border:2px solid var(--border);border-radius:.5rem;font-size:1rem;margin-bottom:.75rem}.url-input-section button{margin-right:.5rem}
