Files
ridebus-pwa/src/styles.scss
2026-10-07 01:48:32 +03:00

261 lines
23 KiB
SCSS

@use './tokens';
@use './motion';
@use './features';
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Manrope Variable', 'Manrope', sans-serif; color: var(--ink); background: var(--page); font-size: 16px; line-height: 1.5; font-weight: 500; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #638ce1; outline-offset: 4px; }
button { color: inherit; }
h1, h2, h3, p { margin: 0; }
svg, .vkuiIcon { flex-shrink: 0; }
.app { max-width: 1240px; margin: auto; padding: 0 48px; }
.header { display: flex; align-items: center; justify-content: space-between; height: 112px; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand > span:first-of-type { font-size: 28px; letter-spacing: -.5px; font-weight: 800; }
.brandDot { color: var(--blue); }
.webTag { font-size: 14px; letter-spacing: .5px; background: var(--lavender); color: var(--blue); padding: 5px 8px; border-radius: 7px; font-weight: 750; }
.desktopNav { display: flex; gap: 6px; background: #eeeee9; border-radius: 40px; padding: 5px; }
.desktopNav a { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 750; padding: 11px 17px; border-radius: 30px; color: var(--muted); }
.desktopNav a.active { background: white; color: var(--blue); box-shadow: 0 2px 6px #172d6010; }
.navCount { background: var(--lavender); border-radius: 20px; padding: 1px 7px; font-size: 13px; font-weight: 750; }
.headerActions { display: flex; gap: 19px; align-items: center; }
.noteDot { width: 6px; height: 6px; border-radius: 50%; background: #6e955f; }
.installButton { display: flex; align-items: center; gap: 8px; border: 0; border-radius: 30px; padding: 11px 17px; color: var(--blue); background: var(--blue-soft); font-size: 15px; font-weight: 750; }
.hero { display: flex; gap: 45px; align-items: center; justify-content: space-between; padding: 56px 0 42px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--blue); font-size: 14px; letter-spacing: .2px; font-weight: 800; }
.tinyStar { font-size: 19px; line-height: 1; }
.hero h1, .favoritesHero h1 { font-size: clamp(36px, 4.6vw, 58px); letter-spacing: -.5px; line-height: 1.13; font-weight: 780; margin: 18px 0; }
.hero h1 span, .favoritesHero h1 span { color: var(--blue); }
.heroCopy > p, .favoritesHero > p { font-size: 16px; line-height: 1.8; color: var(--muted); font-weight: 500; }
.heroNote { position: relative; isolation: isolate; flex-shrink: 0; width: 280px; min-height: 252px; padding: 25px 26px; border-radius: 30px; background: var(--green); color: var(--green-ink); transform: rotate(3deg); overflow: hidden; }
.noteTop { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 750; margin-bottom: 24px; }
.heroNote > .vkuiIcon { position: absolute; top: 44px; right: 26px; transform: rotate(-12deg); }
.heroNote strong { font-size: 25px; line-height: 1.2; letter-spacing: -.5px; }
.noteBottom { display: flex; align-items: center; justify-content: space-between; margin-top: 23px; font-size: 14px; font-weight: 650; }
.heroStar { position: absolute; z-index: -1; opacity: .16; width: 145px; height: 145px; right: -36px; bottom: -34px; filter: sepia(1) saturate(.4); }
.workspace { display: grid; grid-template-columns: 340px minmax(0, 1fr); align-items: start; gap: 24px; }
.stopsCard { background: var(--lavender); border-radius: var(--card-radius); padding: 26px 22px 0; overflow: hidden; color: var(--blue); }
.sectionHeading { display: flex; align-items: center; justify-content: space-between; }
.sectionHeading h2 { font-size: 25px; font-weight: 800; letter-spacing: -.5px; }
.sectionDescription { margin: 6px 0 25px; font-size: 14px; color: var(--blue-muted); }
.fieldLabel { display: block; font-size: 14px; font-weight: 750; margin: 16px 0 8px; }
.citySelect, .searchField { display: flex; align-items: center; gap: 9px; border-radius: 14px; padding: 0 14px; height: 49px; background: white; }
.citySelect select { appearance: none; width: 100%; border: 0; background: transparent; font-size: 16px; color: var(--blue); font-weight: 700; cursor: pointer; padding: 8px 0; }
.searchField input { min-width: 0; width: 100%; border: 0; background: transparent; font-size: 16px; height: 100%; color: var(--blue); }
.searchField input::placeholder { color: #69758e; font-size: 16px; }
.citySelect:focus-within, .searchField:focus-within { box-shadow: 0 0 0 2px #aec6ff; }
.citySelect select:focus-visible, .searchField input:focus-visible { outline: 0; }
.stopsList { margin: 18px -8px 8px; padding: 0 8px; max-height: 398px; overflow-y: auto; }
.stopItem { width: 100%; min-height: 54px; text-align: left; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid transparent; border-radius: 15px; background: transparent; margin-bottom: 4px; transition: background .18s; }
.stopItem:hover { background: #ffffff90; }
.stopItem.activeStop { background: white; border-color: #c3d3f5; box-shadow: 0 3px 8px #2c467809; }
.stopCopy { flex: 1; min-width: 0; }
.stopCopy strong { font-size: 16px; line-height: 1.4; font-weight: 750; overflow-wrap: anywhere; }
.stopEnd { margin-left: auto; opacity: .6; }
.stopsFooter { border-top: 1px solid #dce0ee; display: flex; justify-content: space-between; font-size: 13px; color: var(--blue-muted); padding: 14px 0 18px; }
.stopsFooter span { display: flex; align-items: center; gap: 4px; }
.boardCard { background: white; border: 1px solid #eeeee9; border-radius: var(--card-radius); min-height: 590px; padding: 29px 30px 20px; min-width: 0; }
.boardHeading { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 10px; }
.boardHeading .eyebrow { font-size: 15px; letter-spacing: 0; font-weight: 650; }
.iconButton { background: transparent; border: 0; min-width: 44px; min-height: 44px; padding: 10px; border-radius: 50%; display: grid; place-items: center; }
.iconButton:hover { background: var(--lavender); }
.favoriteToggle { color: #8390a9; background: var(--lavender); }
.favoriteToggle.isFavorite { color: var(--blue); background: var(--blue-soft); }
.boardCard h2 { font-size: 28px; line-height: 1.25; letter-spacing: -.5px; margin: 11px 0 7px; overflow-wrap: anywhere; }
.boardDirection { font-size: 15px; color: var(--muted); line-height: 1.6; }
.directionFilters { margin: 20px 0 8px; }
.directionLabel { display: block; color: var(--blue-muted); font-size: 14px; font-weight: 650; margin-bottom: 10px; }
.directionChips { display: flex; flex-wrap: wrap; gap: 8px; }
.directionChips button { min-height: 44px; padding: 10px 16px; border: 0; border-radius: 24px; color: var(--blue); background: var(--blue-soft); font-size: 15px; font-weight: 650; line-height: 1.5; text-align: left; overflow-wrap: anywhere; }
.directionChips button.selected { background: var(--blue); color: white; }
.directionChips button:hover { background: #aec6ff; }
.directionChips button.selected:hover { background: var(--blue-muted); }
.navIcon { position: relative; display: inline-flex; width: 28px; height: 28px; }
.mobileBadge { position: absolute; top: -8px; right: -13px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border: 2px solid white; border-radius: 20px; color: white; background: var(--blue); font-size: 12px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.boardMeta { margin: 19px 0 21px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.scheduleBadge { display: flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 30px; background: var(--green); color: var(--green-ink); font-size: 13px; font-weight: 750; }
.savedBadge { background: #fff1d8; color: #876022; }
.routeFilters { display: flex; flex-wrap: wrap; gap: 7px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.routeFilters button { border: 0; border-radius: 20px; min-height: 40px; min-width: 40px; background: var(--lavender); color: var(--blue); padding: 9px 13px; font-size: 15px; font-weight: 750; }
.routeFilters button.selected { background: var(--blue); color: white; }
.scheduleControls { margin-top: 22px; }
.scheduleViews { display: inline-flex; gap: 4px; padding: 4px; background: var(--lavender); border-radius: 16px; }
.scheduleViews button { border: 0; background: transparent; padding: 10px 16px; min-height: 44px; border-radius: 12px; font-size: 15px; font-weight: 750; color: var(--blue-muted); }
.scheduleViews button.selected { background: white; color: var(--blue); box-shadow: 0 2px 6px #172d6010; }
.scheduleDate { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 16px; }
.scheduleDate label { width: 100%; font-size: 14px; font-weight: 700; color: var(--muted); }
.scheduleDate input { border: 1px solid #c3d3f5; border-radius: 12px; padding: 10px 12px; min-width: 0; max-width: 100%; min-height: 44px; color: var(--blue); background: var(--lavender); font-size: 16px; }
.timetableSummary { margin: -5px 0 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.departureList { list-style: none; margin: 0; padding: 0; }
.departureRow { display: flex; gap: 15px; align-items: center; min-height: 94px; padding: 17px 0; }
.departureRow + .departureRow { border-top: 1px solid var(--line); }
.routeNumber { display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); min-width: 50px; height: 50px; padding: 6px; border-radius: 14px; font-size: 18px; letter-spacing: -.5px; font-weight: 800; }
.departureName { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.transportLabel { font-size: 14px; color: var(--muted); }
.departureName strong { font-size: 16px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.tripNote { font-size: 14px; color: var(--muted); line-height: 1.6; }
.pastDeparture .departureTime { color: var(--muted); }
.departureTime { display: flex; align-items: flex-end; flex-direction: column; gap: 4px; margin-left: auto; flex-shrink: 0; padding-left: 5px; }
.departureTime strong { font-size: 26px; letter-spacing: -.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.departureTime span { font-size: 14px; color: var(--muted); white-space: nowrap; }
.departureTime .soon { color: var(--green-ink); background: var(--green); padding: 3px 7px; border-radius: 20px; }
.boardFooter { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 17px; }
.boardFooter > span { font-size: 13px; color: var(--muted); }
.refreshButton { display: flex; align-items: center; gap: 5px; background: none; border: 0; font-size: 14px; font-weight: 750; color: var(--blue); padding: 8px 0 8px 8px; }
.boardEmpty { min-height: 340px; padding: 50px 12px; display: flex; align-items: center; flex-direction: column; justify-content: center; text-align: center; }
.emptyIcon { display: grid; place-items: center; width: 76px; height: 76px; background: var(--lavender); color: var(--blue); border-radius: 24px; transform: rotate(-6deg); margin-bottom: 22px; }
.boardEmpty h3 { font-size: 18px; letter-spacing: -.5px; }
.boardEmpty p { font-size: 15px; color: var(--muted); line-height: 1.7; max-width: 340px; margin: 10px auto 20px; }
.listMessage { display: flex; align-items: center; flex-direction: column; gap: 12px; text-align: center; padding: 28px 8px; font-size: 15px; line-height: 1.6; }
.listMessage h3 { font-size: 16px; }
.listMessage p { color: var(--blue-muted); }
.primaryButton, .secondaryButton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 30px; padding: 13px 20px; font-size: 15px; font-weight: 750; background: var(--blue); color: white; }
.secondaryButton { background: var(--blue-soft); color: var(--blue); }
.textButton { border: 0; background: transparent; color: var(--blue); display: flex; align-items: center; gap: 5px; padding: 8px; font-size: 14px; font-weight: 750; }
.showMore { background: var(--lavender); border: 0; border-radius: 13px; padding: 11px; width: 100%; font-weight: 750; font-size: 14px; color: var(--blue); }
.savedNotice, .partialNotice { margin-top: 12px; padding: 12px 14px; border-radius: 13px; background: #fff7e9; color: #866529; font-size: 14px; line-height: 1.6; }
.benefitStrip { display: flex; align-items: center; gap: 18px; padding: 22px 26px; background: #eeede6; border-radius: 22px; margin: 24px 0 42px; }
.benefitIcon { width: 43px; height: 43px; border-radius: 15px; display: grid; place-items: center; background: #faf9f6; color: var(--blue); }
.benefitStrip strong { font-size: 15px; font-weight: 800; }
.benefitStrip p { margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.benefitStrip > a { display: flex; align-items: center; gap: 9px; margin-left: auto; font-size: 14px; white-space: nowrap; font-weight: 750; color: var(--blue); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0 34px; border-top: 1px solid var(--line); }
.footer > span { font-weight: 800; font-size: 20px; letter-spacing: -.5px; }
.footer > span small { display: block; font-weight: 500; font-size: 13px; letter-spacing: 0; color: var(--muted); margin-top: 3px; }
.footer > div { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--muted); }
.footer a { display: flex; gap: 4px; align-items: center; }
.footer button { border: 0; background: transparent; font-size: inherit; color: inherit; padding: 7px 0; }
.footer > small { font-size: 13px; color: var(--muted); }
.mobileNav { display: none; }
.demoBanner, .offlineBanner { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff1d8; color: #75561f; font-size: 14px; line-height: 1.5; border-radius: 15px; padding: 13px 18px; margin-top: 20px; }
.demoBanner button { display: flex; align-items: center; gap: 5px; background: transparent; border: 0; font-size: 14px; font-weight: 750; color: inherit; }
.offlineBanner { justify-content: flex-start; background: var(--lavender); color: var(--blue); }
.favoritesHero { padding: 55px 0 40px; }
.favoritesEmpty { border-radius: 32px; padding: 70px 20px; text-align: center; background: white; border: 1px solid var(--line); margin-bottom: 50px; }
.favoritesEmpty .emptyIcon { margin: 0 auto 25px; }
.favoritesEmpty h2 { font-size: 23px; }
.favoritesEmpty p { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 13px 0 24px; }
.favoritesGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 50px; }
.favoriteCard { background: var(--lavender); border-radius: 28px; padding: 22px; }
.favoriteCity { display: flex; align-items: center; gap: 5px; font-size: 14px; color: var(--blue-muted); }
.favoriteCity button { margin-left: auto; }
.favoriteCard h2 { font-size: 23px; letter-spacing: -.5px; line-height: 1.3; margin: 15px 0 8px; color: var(--blue); }
.favoriteCard > p { font-size: 15px; line-height: 1.6; color: var(--blue-muted); }
.favoriteDepartures { margin-top: 20px; padding-top: 12px; border-top: 1px solid #dce0ee; min-height: 156px; }
.favoriteDepartures ul { list-style: none; margin: 0; padding: 0; }
.favoriteDepartures li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 14px; }
.favoriteDepartures li > strong { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--blue); }
.favoriteDepartures li > span:last-child { margin-left: auto; color: var(--blue-muted); text-align: right; }
.favoriteDepartures p { color: var(--blue-muted); font-size: 15px; padding: 18px 0; line-height: 1.7; }
.favoriteRoute { display: grid; place-items: center; min-width: 42px; min-height: 36px; padding: 4px 8px; font-weight: 800; border-radius: 10px; color: var(--blue); background: white; }
.favoriteStatus { display: flex; align-items: flex-start; gap: 7px; font-size: 13px; color: var(--blue-muted); margin-top: 12px; line-height: 1.7; }
.favoriteStatus > .vkuiIcon { margin-top: 3px; }
.favoriteLink { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 750; color: var(--blue); padding-top: 20px; border-top: 1px solid #dce0ee; margin-top: 22px; }
.aboutPage { padding: 55px 0 50px; }
.aboutIntro h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.2; letter-spacing: -.5px; margin: 16px 0; }
.aboutIntro h1 span { color: var(--blue); }
.aboutIntro > p { color: var(--muted); line-height: 1.8; }
.aboutGrid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-top: 36px; align-items: start; }
.aboutGrid article { padding: 32px; border-radius: var(--card-radius); }
.aboutStory { background: white; border: 1px solid var(--line); }
.aboutGrid h2 { font-size: 25px; line-height: 1.35; letter-spacing: -.3px; margin: 20px 0 16px; }
.aboutGrid p { font-size: 16px; line-height: 1.9; margin: 16px 0; }
.aboutStory p { color: var(--muted); }
.aboutStory .primaryButton { margin-top: 14px; }
.aboutSupport { background: var(--green); color: var(--green-ink); }
.aboutSupport > img { transform: rotate(12deg); opacity: .3; }
.supportNote { font-size: 14px; line-height: 1.8; padding-top: 20px; margin-top: 24px; border-top: 1px solid #bdd4b6; }
.toast, .updateToast { position: fixed; z-index: 50; left: 50%; bottom: 30px; transform: translateX(-50%); max-width: calc(100vw - 32px); background: var(--blue); color: white; border-radius: 18px; padding: 16px 20px; display: flex; align-items: center; gap: 15px; box-shadow: 0 10px 30px #2c467830; font-size: 15px; }
.toast button, .updateToast button { border: 0; background: transparent; color: inherit; display: flex; padding: 4px; }
.updateToast { bottom: 90px; }
.updateToast button { font-weight: 750; font-size: 15px; }
.modalBackdrop { position: fixed; inset: 0; z-index: 100; background: #14274b70; backdrop-filter: blur(5px); display: grid; place-items: center; padding: 20px; }
.installDialog { position: relative; padding: 34px; border-radius: 30px; max-width: 430px; background: white; }
.closeDialog { position: absolute; top: 14px; right: 14px; }
.installDialog h2 { font-size: 25px; letter-spacing: -.5px; margin: 20px 0 15px; }
.installDialog p { font-size: 16px; line-height: 1.8; margin: 10px 0; }
.installDialog .muted { color: var(--muted); font-size: 14px; }
.installDialog .primaryButton { margin-top: 14px; }
.skipLink { position: fixed; left: 20px; top: 20px; z-index: 200; padding: 15px; border-radius: 10px; background: white; clip-path: inset(100%); }
.skipLink:focus { clip-path: none; }
.skeletonRows { padding-top: 15px; }
.skeletonRow { display: flex; gap: 15px; align-items: center; height: 84px; }
.skeletonRow i { width: 46px; height: 46px; border-radius: 14px; background: var(--lavender); }
.skeletonRow span { height: 18px; flex: 1; background: var(--lavender); border-radius: 10px; }
@media (min-width: 1400px) { .hero h1 { font-size: 62px; } }
@media (max-width: 1050px) { .app { padding: 0 30px; } .workspace { grid-template-columns: 300px minmax(0, 1fr); gap: 18px; } .boardCard { padding: 24px; } .heroNote { width: 250px; } .heroNote strong { font-size: 23px; } .header { gap: 12px; } .desktopNav a { padding: 10px 12px; font-size: 15px; } .webTag { display: none; } }
@media (max-width: 760px) {
.app { padding: 0 20px; padding-bottom: 105px; }
.header { height: 83px; }
.brand img { width: 38px; height: 38px; }
.brand > span:first-of-type { font-size: 25px; }
.desktopNav { display: none; }
.installButton { padding: 10px 14px; font-size: 14px; }
.hero { padding: 36px 0 29px; }
.hero .eyebrow { font-size: 13px; letter-spacing: 1px; }
.hero h1 { font-size: clamp(32px, 6.7vw, 48px); letter-spacing: -.3px; line-height: 1.2; margin: 0 0 16px; }
.heroCopy > p { font-size: 15px; line-height: 1.8; }
.heroNote { display: none; }
.desktopBreak { display: none; }
.workspace { grid-template-columns: 1fr; gap: 18px; }
.stopsCard { padding: 22px 18px 0; border-radius: 26px; }
.sectionHeading h2 { font-size: 24px; }
.sectionDescription { margin-bottom: 18px; }
.stopsList { max-height: 244px; }
.stopCopy strong { font-size: 16px; }
.stopsFooter { font-size: 14px; }
.boardCard { border-radius: 26px; padding: 22px 20px; min-height: 400px; }
.boardCard h2 { font-size: 27px; }
.boardHeading .eyebrow { font-size: 14px; letter-spacing: 0; }
.boardDirection { font-size: 15px; }
.boardMeta { font-size: 14px; gap: 8px; }
.routeFilters button { font-size: 14px; min-height: 40px; }
.departureRow { gap: 12px; min-height: 88px; }
.departureName strong { font-size: 15px; }
.transportLabel, .departureTime span { font-size: 14px; }
.departureTime strong { font-size: 26px; }
.routeNumber { min-width: 48px; height: 48px; }
.boardFooter { align-items: flex-start; }
.boardFooter > span { font-size: 13px; line-height: 1.6; max-width: 210px; }
.boardEmpty { min-height: 265px; }
.benefitStrip { margin: 18px 0 30px; padding: 20px; gap: 13px; align-items: flex-start; flex-wrap: wrap; }
.benefitStrip > div { flex: 1; flex-basis: calc(100% - 56px); }
.benefitStrip > a { margin-left: 56px; font-size: 14px; }
.benefitStrip strong { font-size: 15px; }
.benefitStrip p { font-size: 14px; }
.footer { flex-wrap: wrap; padding: 24px 0 20px; }
.footer > small { display: none; }
.footer > div { gap: 18px; flex-wrap: wrap; }
.mobileNav { position: fixed; z-index: 30; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-evenly; gap: 16px; border-top: 1px solid #e0e3ed; background: #fffffff0; backdrop-filter: blur(14px); padding: 11px 20px max(11px, env(safe-area-inset-bottom)); }
.mobileNav a { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; color: var(--muted); padding: 0 12px; }
.mobileNav a.active { color: var(--blue); }
.toast { bottom: 110px; font-size: 14px; width: max-content; padding: 14px 16px; }
.updateToast { bottom: 145px; flex-wrap: wrap; font-size: 14px; width: max-content; }
.favoritesHero { padding: 38px 0 30px; }
.favoritesHero h1 { font-size: 37px; letter-spacing: -.5px; }
.favoritesGrid { grid-template-columns: 1fr; gap: 14px; }
.favoritesEmpty { padding: 45px 20px; }
.favoritesEmpty h2 { font-size: 21px; }
.aboutPage { padding: 38px 0 32px; }
.aboutGrid { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
.aboutGrid article { padding: 24px; border-radius: 26px; }
.aboutGrid h2 { font-size: 23px; }
.demoBanner { flex-wrap: wrap; font-size: 14px; }
.offlineBanner { font-size: 14px; }
}
@media (max-width: 480px) {
.departureRow { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 7px 12px; padding: 18px 0; }
.departureRow .routeNumber { grid-column: 1; grid-row: 1 / 3; align-self: start; margin-top: 4px; }
.departureName { grid-column: 2; }
.departureTime { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; margin-left: 0; padding-left: 0; }
}
@media (max-width: 360px) { .app { padding: 0 14px 105px; } .hero h1 { font-size: 31px; } .boardCard { padding: 20px 16px; } .departureRow { gap: 9px; } .departureName strong { font-size: 14px; } .departureTime strong { font-size: 24px; } .brand { gap: 5px; } .footer > div { gap: 12px; } }
@include features.components;
@include motion.components;